From 5eafb5ac13fabc8117afee64b8c93e1186d52813 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sun, 5 Dec 2021 14:43:05 +0100 Subject: [PATCH] WIP: cleanup plus added missing files. --- .../QtCore/gsiDeclQApplicationPermission.cc | 99 - .../gsiDeclQAssociativeConstIterator.cc | 123 - .../qt6/QtCore/gsiDeclQAssociativeIterable.cc | 268 - .../qt6/QtCore/gsiDeclQAssociativeIterator.cc | 122 - .../QtCore/gsiDeclQBigEndianStorageType.cc | 112 - .../qt6/QtCore/gsiDeclQBindingStorage.cc | 172 - src/gsiqt/qt6/QtCore/gsiDeclQByteArrayView.cc | 891 --- src/gsiqt/qt6/QtCore/gsiDeclQCborArray.cc | 1096 --- .../QtCore/gsiDeclQCborArray_ConstIterator.cc | 578 -- .../qt6/QtCore/gsiDeclQCborArray_Iterator.cc | 578 -- src/gsiqt/qt6/QtCore/gsiDeclQCborError.cc | 88 - src/gsiqt/qt6/QtCore/gsiDeclQCborMap.cc | 1465 ---- .../QtCore/gsiDeclQCborMap_ConstIterator.cc | 591 -- .../qt6/QtCore/gsiDeclQCborMap_Iterator.cc | 591 -- .../qt6/QtCore/gsiDeclQCborParserError.cc | 88 - .../qt6/QtCore/gsiDeclQCborStreamReader.cc | 1125 --- .../qt6/QtCore/gsiDeclQCborStreamWriter.cc | 725 -- src/gsiqt/qt6/QtCore/gsiDeclQCborValue.cc | 1752 ----- src/gsiqt/qt6/QtCore/gsiDeclQCborValueRef.cc | 1052 --- src/gsiqt/qt6/QtCore/gsiDeclQContainerInfo.cc | 47 - src/gsiqt/qt6/QtCore/gsiDeclQHashPrivate.cc | 47 - src/gsiqt/qt6/QtCore/gsiDeclQHashSeed.cc | 142 - .../QtCore/gsiDeclQLittleEndianStorageType.cc | 112 - .../qt6/QtCore/gsiDeclQNativeInterface.cc | 47 - src/gsiqt/qt6/QtCore/gsiDeclQPromise.cc | 346 - .../gsiDeclQPropertyBindingPrivatePtr.cc | 338 - .../QtCore/gsiDeclQSequentialConstIterator.cc | 91 - .../qt6/QtCore/gsiDeclQSequentialIterable.cc | 318 - .../qt6/QtCore/gsiDeclQSequentialIterator.cc | 90 - .../qt6/QtCore/gsiDeclQSpecialInteger.cc | 456 -- .../QtCore/gsiDeclQStaticByteArrayMatcher.cc | 74 - .../gsiDeclQStaticByteArrayMatcherBase.cc | 72 - src/gsiqt/qt6/QtCore/gsiDeclQStaticPlugin.cc | 98 - src/gsiqt/qt6/QtCore/gsiDeclQStringView.cc | 1819 ----- src/gsiqt/qt6/QtCore/gsiDeclQTypeTraits.cc | 47 - .../qt6/QtCore/gsiDeclQUntypedBindable.cc | 247 - .../QtCore/gsiDeclQUntypedPropertyBinding.cc | 213 - .../qt6/QtCore/gsiDeclQUntypedPropertyData.cc | 71 - .../qt6/QtCore/gsiDeclQVariantConstPointer.cc | 108 - .../qt6/QtCore/gsiDeclQtCoreTypeTraits.h | 30 - src/gsiqt/qt6/QtCore/gsiDeclQtFuture.cc | 66 - .../QtCore/gsiDeclQtMetaContainerPrivate.cc | 91 - .../qt6/QtCore/gsiDeclQtStringBuilder.cc | 47 - .../gsiDeclQtCore5CompatTypeTraits.h | 30 - .../QtGui/gsiDeclQBrushDataPointerDeleter.cc | 92 - src/gsiqt/qt6/QtGui/gsiDeclQColorConstants.cc | 47 - .../qt6/QtGui/gsiDeclQOpenGLExtraFunctions.cc | 6330 ----------------- .../gsiDeclQOpenGLExtraFunctionsPrivate.cc | 78 - ...lQOpenGLExtraFunctionsPrivate_Functions.cc | 73 - .../QtGui/gsiDeclQVulkanDeviceFunctions.cc | 4404 ------------ .../qt6/QtGui/gsiDeclQVulkanExtension.cc | 84 - .../qt6/QtGui/gsiDeclQVulkanFunctions.cc | 749 -- .../qt6/QtGui/gsiDeclQVulkanInfoVector.cc | 117 - src/gsiqt/qt6/QtGui/gsiDeclQVulkanInstance.cc | 652 -- src/gsiqt/qt6/QtGui/gsiDeclQVulkanLayer.cc | 84 - src/gsiqt/qt6/QtGui/gsiDeclQVulkanWindow.cc | 2328 ------ .../qt6/QtGui/gsiDeclQVulkanWindowRenderer.cc | 542 -- src/gsiqt/qt6/QtGui/gsiDeclQtGuiTypeTraits.h | 30 - .../qt6/QtMultimedia/gsiDeclQAudioFrame.cc | 173 - .../qt6/QtMultimedia/gsiDeclQWaveDecoder.cc | 1372 ---- .../gsiDeclQtMultimediaTypeTraits.h | 30 - src/gsiqt/qt6/QtNetwork/gsiDeclQDtlsError.cc | 59 + ...te.cc => gsiDeclQOcspCertificateStatus.cc} | 24 +- .../qt6/QtNetwork/gsiDeclQOcspResponse.cc | 197 - .../QtNetwork/gsiDeclQOcspRevocationReason.cc | 59 + .../QtNetwork/gsiDeclQtNetworkTypeTraits.h | 30 - .../gsiDeclQtPrintSupportTypeTraits.h | 30 - src/gsiqt/qt6/QtSql/gsiDeclQtSqlTypeTraits.h | 30 - src/gsiqt/qt6/QtSvg/gsiDeclQtSvgTypeTraits.h | 30 - .../QtUiTools/gsiDeclQtUiToolsTypeTraits.h | 30 - .../gsiDeclQAbstractFileIconProvider.cc | 447 -- .../QtWidgets/gsiDeclQAbstractItemModel.cc | 4456 ------------ .../QtWidgets/gsiDeclQAbstractListModel.cc | 3363 --------- .../QtWidgets/gsiDeclQAbstractTableModel.cc | 3405 --------- .../gsiDeclQAbstractTextDocumentLayout.cc | 1485 ---- ...AbstractTextDocumentLayout_PaintContext.cc | 73 - ...clQAbstractTextDocumentLayout_Selection.cc | 73 - .../qt6/QtWidgets/gsiDeclQAbstractUndoItem.cc | 212 - src/gsiqt/qt6/QtWidgets/gsiDeclQAccessible.cc | 602 -- .../gsiDeclQAccessibleActionInterface.cc | 621 -- ...gsiDeclQAccessibleEditableTextInterface.cc | 322 - .../qt6/QtWidgets/gsiDeclQAccessibleEvent.cc | 205 - .../gsiDeclQAccessibleHyperlinkInterface.cc | 367 - .../gsiDeclQAccessibleImageInterface.cc | 263 - .../QtWidgets/gsiDeclQAccessibleInterface.cc | 441 -- .../qt6/QtWidgets/gsiDeclQAccessibleObject.cc | 160 - .../gsiDeclQAccessibleStateChangeEvent.cc | 194 - .../gsiDeclQAccessibleTableCellInterface.cc | 527 -- .../gsiDeclQAccessibleTableInterface.cc | 1263 ---- ...gsiDeclQAccessibleTableModelChangeEvent.cc | 387 - .../gsiDeclQAccessibleTextCursorEvent.cc | 215 - .../gsiDeclQAccessibleTextInsertEvent.cc | 216 - .../gsiDeclQAccessibleTextInterface.cc | 1195 ---- .../gsiDeclQAccessibleTextRemoveEvent.cc | 216 - .../gsiDeclQAccessibleTextSelectionEvent.cc | 240 - .../gsiDeclQAccessibleTextUpdateEvent.cc | 238 - .../gsiDeclQAccessibleValueChangeEvent.cc | 215 - .../gsiDeclQAccessibleValueInterface.cc | 378 - .../gsiDeclQAccessible_ActivationObserver.cc | 167 - .../qt6/QtWidgets/gsiDeclQAccessible_State.cc | 73 - src/gsiqt/qt6/QtWidgets/gsiDeclQAction.cc | 1824 ----- .../qt6/QtWidgets/gsiDeclQActionEvent.cc | 248 - .../QtWidgets/gsiDeclQAdoptSharedDataTag.cc | 72 - .../qt6/QtWidgets/gsiDeclQAnyStringView.cc | 402 -- .../gsiDeclQApplicationStateChangeEvent.cc | 219 - src/gsiqt/qt6/QtWidgets/gsiDeclQBasicMutex.cc | 138 - .../qt6/QtWidgets/gsiDeclQBindingStatus.cc | 72 - .../qt6/QtWidgets/gsiDeclQBindingStorage.cc | 174 - src/gsiqt/qt6/QtWidgets/gsiDeclQBitmap.cc | 602 -- src/gsiqt/qt6/QtWidgets/gsiDeclQBrush.cc | 604 -- .../gsiDeclQBrushDataPointerDeleter.cc | 93 - .../qt6/QtWidgets/gsiDeclQByteArrayView.cc | 892 --- src/gsiqt/qt6/QtWidgets/gsiDeclQCalendar.cc | 709 -- .../QtWidgets/gsiDeclQCalendar_SystemId.cc | 105 - .../gsiDeclQCalendar_YearMonthDay.cc | 115 - src/gsiqt/qt6/QtWidgets/gsiDeclQChildEvent.cc | 271 - src/gsiqt/qt6/QtWidgets/gsiDeclQCloseEvent.cc | 184 - src/gsiqt/qt6/QtWidgets/gsiDeclQColor.cc | 2322 ------ .../qt6/QtWidgets/gsiDeclQConicalGradient.cc | 224 - .../qt6/QtWidgets/gsiDeclQContextMenuEvent.cc | 423 -- .../qt6/QtWidgets/gsiDeclQCoreApplication.cc | 1483 ---- src/gsiqt/qt6/QtWidgets/gsiDeclQCursor.cc | 483 -- src/gsiqt/qt6/QtWidgets/gsiDeclQDataStream.cc | 808 --- src/gsiqt/qt6/QtWidgets/gsiDeclQDate.cc | 1017 --- src/gsiqt/qt6/QtWidgets/gsiDeclQDateTime.cc | 1120 --- .../qt6/QtWidgets/gsiDeclQDeadlineTimer.cc | 512 -- src/gsiqt/qt6/QtWidgets/gsiDeclQDebug.cc | 410 -- .../qt6/QtWidgets/gsiDeclQDebugStateSaver.cc | 77 - .../QtWidgets/gsiDeclQDeferredDeleteEvent.cc | 215 - src/gsiqt/qt6/QtWidgets/gsiDeclQDir.cc | 1471 ---- .../QtWidgets/gsiDeclQtWidgetsTypeTraits.h | 30 - src/gsiqt/qt6/QtXml/gsiDeclQtXmlTypeTraits.h | 30 - 132 files changed, 133 insertions(+), 73472 deletions(-) delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQApplicationPermission.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQAssociativeConstIterator.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQAssociativeIterable.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQAssociativeIterator.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQBigEndianStorageType.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQBindingStorage.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQByteArrayView.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQCborArray.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQCborArray_ConstIterator.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQCborArray_Iterator.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQCborError.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQCborMap.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQCborMap_ConstIterator.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQCborMap_Iterator.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQCborParserError.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQCborStreamReader.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQCborStreamWriter.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQCborValue.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQCborValueRef.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQContainerInfo.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQHashPrivate.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQHashSeed.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQLittleEndianStorageType.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQNativeInterface.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQPromise.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQPropertyBindingPrivatePtr.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQSequentialConstIterator.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQSequentialIterable.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQSequentialIterator.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQSpecialInteger.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQStaticByteArrayMatcher.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQStaticByteArrayMatcherBase.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQStaticPlugin.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQStringView.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQTypeTraits.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQUntypedBindable.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQUntypedPropertyBinding.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQUntypedPropertyData.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQVariantConstPointer.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQtCoreTypeTraits.h delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQtFuture.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQtMetaContainerPrivate.cc delete mode 100644 src/gsiqt/qt6/QtCore/gsiDeclQtStringBuilder.cc delete mode 100644 src/gsiqt/qt6/QtCore5Compat/gsiDeclQtCore5CompatTypeTraits.h delete mode 100644 src/gsiqt/qt6/QtGui/gsiDeclQBrushDataPointerDeleter.cc delete mode 100644 src/gsiqt/qt6/QtGui/gsiDeclQColorConstants.cc delete mode 100644 src/gsiqt/qt6/QtGui/gsiDeclQOpenGLExtraFunctions.cc delete mode 100644 src/gsiqt/qt6/QtGui/gsiDeclQOpenGLExtraFunctionsPrivate.cc delete mode 100644 src/gsiqt/qt6/QtGui/gsiDeclQOpenGLExtraFunctionsPrivate_Functions.cc delete mode 100644 src/gsiqt/qt6/QtGui/gsiDeclQVulkanDeviceFunctions.cc delete mode 100644 src/gsiqt/qt6/QtGui/gsiDeclQVulkanExtension.cc delete mode 100644 src/gsiqt/qt6/QtGui/gsiDeclQVulkanFunctions.cc delete mode 100644 src/gsiqt/qt6/QtGui/gsiDeclQVulkanInfoVector.cc delete mode 100644 src/gsiqt/qt6/QtGui/gsiDeclQVulkanInstance.cc delete mode 100644 src/gsiqt/qt6/QtGui/gsiDeclQVulkanLayer.cc delete mode 100644 src/gsiqt/qt6/QtGui/gsiDeclQVulkanWindow.cc delete mode 100644 src/gsiqt/qt6/QtGui/gsiDeclQVulkanWindowRenderer.cc delete mode 100644 src/gsiqt/qt6/QtGui/gsiDeclQtGuiTypeTraits.h delete mode 100644 src/gsiqt/qt6/QtMultimedia/gsiDeclQAudioFrame.cc delete mode 100644 src/gsiqt/qt6/QtMultimedia/gsiDeclQWaveDecoder.cc delete mode 100644 src/gsiqt/qt6/QtMultimedia/gsiDeclQtMultimediaTypeTraits.h create mode 100644 src/gsiqt/qt6/QtNetwork/gsiDeclQDtlsError.cc rename src/gsiqt/qt6/QtNetwork/{gsiDeclQTlsPrivate.cc => gsiDeclQOcspCertificateStatus.cc} (51%) delete mode 100644 src/gsiqt/qt6/QtNetwork/gsiDeclQOcspResponse.cc create mode 100644 src/gsiqt/qt6/QtNetwork/gsiDeclQOcspRevocationReason.cc delete mode 100644 src/gsiqt/qt6/QtNetwork/gsiDeclQtNetworkTypeTraits.h delete mode 100644 src/gsiqt/qt6/QtPrintSupport/gsiDeclQtPrintSupportTypeTraits.h delete mode 100644 src/gsiqt/qt6/QtSql/gsiDeclQtSqlTypeTraits.h delete mode 100644 src/gsiqt/qt6/QtSvg/gsiDeclQtSvgTypeTraits.h delete mode 100644 src/gsiqt/qt6/QtUiTools/gsiDeclQtUiToolsTypeTraits.h delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractFileIconProvider.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractItemModel.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractListModel.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractTableModel.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractTextDocumentLayout.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractTextDocumentLayout_PaintContext.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractTextDocumentLayout_Selection.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractUndoItem.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAccessible.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleActionInterface.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleEditableTextInterface.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleEvent.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleHyperlinkInterface.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleImageInterface.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleInterface.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleObject.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleStateChangeEvent.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTableCellInterface.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTableInterface.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTableModelChangeEvent.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTextCursorEvent.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTextInsertEvent.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTextInterface.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTextRemoveEvent.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTextSelectionEvent.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTextUpdateEvent.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleValueChangeEvent.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleValueInterface.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAccessible_ActivationObserver.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAccessible_State.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAction.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQActionEvent.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAdoptSharedDataTag.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQAnyStringView.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQApplicationStateChangeEvent.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQBasicMutex.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQBindingStatus.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQBindingStorage.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQBitmap.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQBrush.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQBrushDataPointerDeleter.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQByteArrayView.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQCalendar.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQCalendar_SystemId.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQCalendar_YearMonthDay.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQChildEvent.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQCloseEvent.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQColor.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQConicalGradient.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQContextMenuEvent.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQCoreApplication.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQCursor.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQDataStream.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQDate.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQDateTime.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQDeadlineTimer.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQDebug.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQDebugStateSaver.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQDeferredDeleteEvent.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQDir.cc delete mode 100644 src/gsiqt/qt6/QtWidgets/gsiDeclQtWidgetsTypeTraits.h delete mode 100644 src/gsiqt/qt6/QtXml/gsiDeclQtXmlTypeTraits.h diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQApplicationPermission.cc b/src/gsiqt/qt6/QtCore/gsiDeclQApplicationPermission.cc deleted file mode 100644 index 13da84018..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQApplicationPermission.cc +++ /dev/null @@ -1,99 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQApplicationPermission.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// namespace QApplicationPermission - -class QApplicationPermission_Namespace { }; - -namespace gsi -{ -gsi::Class decl_QApplicationPermission_Namespace ("QtCore", "QApplicationPermission", - gsi::Methods(), - "@qt\n@brief This class represents the QApplicationPermission namespace"); -} - - -// Implementation of the enum wrapper class for QApplicationPermission::PermissionResult -namespace qt_gsi -{ - -static gsi::Enum decl_QApplicationPermission_PermissionResult_Enum ("QtCore", "QApplicationPermission_PermissionResult", - gsi::enum_const ("Undetermined", QApplicationPermission::Undetermined, "@brief Enum constant QApplicationPermission::Undetermined") + - gsi::enum_const ("Authorized", QApplicationPermission::Authorized, "@brief Enum constant QApplicationPermission::Authorized") + - gsi::enum_const ("Denied", QApplicationPermission::Denied, "@brief Enum constant QApplicationPermission::Denied"), - "@qt\n@brief This class represents the QApplicationPermission::PermissionResult enum"); - -static gsi::QFlagsClass decl_QApplicationPermission_PermissionResult_Enums ("QtCore", "QApplicationPermission_QFlags_PermissionResult", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QApplicationPermission_PermissionResult_Enum_in_parent (decl_QApplicationPermission_PermissionResult_Enum.defs ()); -static gsi::ClassExt decl_QApplicationPermission_PermissionResult_Enum_as_child (decl_QApplicationPermission_PermissionResult_Enum, "PermissionResult"); -static gsi::ClassExt decl_QApplicationPermission_PermissionResult_Enums_as_child (decl_QApplicationPermission_PermissionResult_Enums, "QFlags_PermissionResult"); - -} - - -// Implementation of the enum wrapper class for QApplicationPermission::PermissionType -namespace qt_gsi -{ - -static gsi::Enum decl_QApplicationPermission_PermissionType_Enum ("QtCore", "QApplicationPermission_PermissionType", - gsi::enum_const ("Camera", QApplicationPermission::Camera, "@brief Enum constant QApplicationPermission::Camera") + - gsi::enum_const ("Microphone", QApplicationPermission::Microphone, "@brief Enum constant QApplicationPermission::Microphone") + - gsi::enum_const ("Bluetooth", QApplicationPermission::Bluetooth, "@brief Enum constant QApplicationPermission::Bluetooth") + - gsi::enum_const ("Location", QApplicationPermission::Location, "@brief Enum constant QApplicationPermission::Location") + - gsi::enum_const ("PreciseLocation", QApplicationPermission::PreciseLocation, "@brief Enum constant QApplicationPermission::PreciseLocation") + - gsi::enum_const ("BackgroundLocation", QApplicationPermission::BackgroundLocation, "@brief Enum constant QApplicationPermission::BackgroundLocation") + - gsi::enum_const ("PreciseBackgroundLocation", QApplicationPermission::PreciseBackgroundLocation, "@brief Enum constant QApplicationPermission::PreciseBackgroundLocation") + - gsi::enum_const ("BodySensors", QApplicationPermission::BodySensors, "@brief Enum constant QApplicationPermission::BodySensors") + - gsi::enum_const ("PhysicalActivity", QApplicationPermission::PhysicalActivity, "@brief Enum constant QApplicationPermission::PhysicalActivity") + - gsi::enum_const ("Contacts", QApplicationPermission::Contacts, "@brief Enum constant QApplicationPermission::Contacts") + - gsi::enum_const ("Storage", QApplicationPermission::Storage, "@brief Enum constant QApplicationPermission::Storage") + - gsi::enum_const ("WriteStorage", QApplicationPermission::WriteStorage, "@brief Enum constant QApplicationPermission::WriteStorage") + - gsi::enum_const ("Calendar", QApplicationPermission::Calendar, "@brief Enum constant QApplicationPermission::Calendar"), - "@qt\n@brief This class represents the QApplicationPermission::PermissionType enum"); - -static gsi::QFlagsClass decl_QApplicationPermission_PermissionType_Enums ("QtCore", "QApplicationPermission_QFlags_PermissionType", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QApplicationPermission_PermissionType_Enum_in_parent (decl_QApplicationPermission_PermissionType_Enum.defs ()); -static gsi::ClassExt decl_QApplicationPermission_PermissionType_Enum_as_child (decl_QApplicationPermission_PermissionType_Enum, "PermissionType"); -static gsi::ClassExt decl_QApplicationPermission_PermissionType_Enums_as_child (decl_QApplicationPermission_PermissionType_Enums, "QFlags_PermissionType"); - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQAssociativeConstIterator.cc b/src/gsiqt/qt6/QtCore/gsiDeclQAssociativeConstIterator.cc deleted file mode 100644 index 402c8d677..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQAssociativeConstIterator.cc +++ /dev/null @@ -1,123 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAssociativeConstIterator.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAssociativeConstIterator - -// QVariant QAssociativeConstIterator::key() - - -static void _init_f_key_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_key_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVariant)((QAssociativeConstIterator *)cls)->key ()); -} - - -// QVariant QAssociativeConstIterator::operator*() - - -static void _init_f_operator_star__c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_star__c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVariant)((QAssociativeConstIterator *)cls)->operator* ()); -} - - -// QVariantConstPointer QAssociativeConstIterator::operator->() - - -static void _init_f_operator_minus__gt__c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_minus__gt__c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVariantConstPointer)((QAssociativeConstIterator *)cls)->operator-> ()); -} - - -// QVariant QAssociativeConstIterator::value() - - -static void _init_f_value_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_value_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVariant)((QAssociativeConstIterator *)cls)->value ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QAssociativeConstIterator () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("key", "@brief Method QVariant QAssociativeConstIterator::key()\n", true, &_init_f_key_c0, &_call_f_key_c0); - methods += new qt_gsi::GenericMethod ("*", "@brief Method QVariant QAssociativeConstIterator::operator*()\n", true, &_init_f_operator_star__c0, &_call_f_operator_star__c0); - methods += new qt_gsi::GenericMethod ("->", "@brief Method QVariantConstPointer QAssociativeConstIterator::operator->()\n", true, &_init_f_operator_minus__gt__c0, &_call_f_operator_minus__gt__c0); - methods += new qt_gsi::GenericMethod ("value", "@brief Method QVariant QAssociativeConstIterator::value()\n", true, &_init_f_value_c0, &_call_f_value_c0); - return methods; -} - -gsi::Class> &qtdecl_QConstIterator (); - -gsi::Class decl_QAssociativeConstIterator (qtdecl_QConstIterator (), "QtCore", "QAssociativeConstIterator", - methods_QAssociativeConstIterator (), - "@qt\n@brief Binding of QAssociativeConstIterator"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QAssociativeConstIterator () { return decl_QAssociativeConstIterator; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQAssociativeIterable.cc b/src/gsiqt/qt6/QtCore/gsiDeclQAssociativeIterable.cc deleted file mode 100644 index 71bda5c35..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQAssociativeIterable.cc +++ /dev/null @@ -1,268 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAssociativeIterable.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAssociativeIterable - -// QAssociativeIterable::const_iterator QAssociativeIterable::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 ((QAssociativeIterable::const_iterator)((QAssociativeIterable *)cls)->constBegin ()); -} - - -// QAssociativeIterable::const_iterator QAssociativeIterable::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 ((QAssociativeIterable::const_iterator)((QAssociativeIterable *)cls)->constEnd ()); -} - - -// QAssociativeIterable::const_iterator QAssociativeIterable::constFind(const QVariant &key) - - -static void _init_f_constFind_c2119 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_constFind_c2119 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QVariant &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QAssociativeIterable::const_iterator)((QAssociativeIterable *)cls)->constFind (arg1)); -} - - -// bool QAssociativeIterable::containsKey(const QVariant &key) - - -static void _init_f_containsKey_2119 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_containsKey_2119 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QVariant &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAssociativeIterable *)cls)->containsKey (arg1)); -} - - -// void QAssociativeIterable::insertKey(const QVariant &key) - - -static void _init_f_insertKey_2119 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_insertKey_2119 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QVariant &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAssociativeIterable *)cls)->insertKey (arg1); -} - - -// QAssociativeIterable::iterator QAssociativeIterable::mutableBegin() - - -static void _init_f_mutableBegin_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_mutableBegin_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAssociativeIterable::iterator)((QAssociativeIterable *)cls)->mutableBegin ()); -} - - -// QAssociativeIterable::iterator QAssociativeIterable::mutableEnd() - - -static void _init_f_mutableEnd_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_mutableEnd_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAssociativeIterable::iterator)((QAssociativeIterable *)cls)->mutableEnd ()); -} - - -// QAssociativeIterable::iterator QAssociativeIterable::mutableFind(const QVariant &key) - - -static void _init_f_mutableFind_2119 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_mutableFind_2119 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QVariant &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QAssociativeIterable::iterator)((QAssociativeIterable *)cls)->mutableFind (arg1)); -} - - -// void QAssociativeIterable::removeKey(const QVariant &key) - - -static void _init_f_removeKey_2119 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_removeKey_2119 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QVariant &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAssociativeIterable *)cls)->removeKey (arg1); -} - - -// void QAssociativeIterable::setValue(const QVariant &key, const QVariant &mapped) - - -static void _init_f_setValue_4130 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("mapped"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_setValue_4130 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QVariant &arg1 = gsi::arg_reader() (args, heap); - const QVariant &arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAssociativeIterable *)cls)->setValue (arg1, arg2); -} - - -// QVariant QAssociativeIterable::value(const QVariant &key) - - -static void _init_f_value_c2119 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_value_c2119 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QVariant &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QVariant)((QAssociativeIterable *)cls)->value (arg1)); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QAssociativeIterable () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("constBegin", "@brief Method QAssociativeIterable::const_iterator QAssociativeIterable::constBegin()\n", true, &_init_f_constBegin_c0, &_call_f_constBegin_c0); - methods += new qt_gsi::GenericMethod ("constEnd", "@brief Method QAssociativeIterable::const_iterator QAssociativeIterable::constEnd()\n", true, &_init_f_constEnd_c0, &_call_f_constEnd_c0); - methods += new qt_gsi::GenericMethod ("constFind", "@brief Method QAssociativeIterable::const_iterator QAssociativeIterable::constFind(const QVariant &key)\n", true, &_init_f_constFind_c2119, &_call_f_constFind_c2119); - methods += new qt_gsi::GenericMethod ("containsKey", "@brief Method bool QAssociativeIterable::containsKey(const QVariant &key)\n", false, &_init_f_containsKey_2119, &_call_f_containsKey_2119); - methods += new qt_gsi::GenericMethod ("insertKey", "@brief Method void QAssociativeIterable::insertKey(const QVariant &key)\n", false, &_init_f_insertKey_2119, &_call_f_insertKey_2119); - methods += new qt_gsi::GenericMethod ("mutableBegin", "@brief Method QAssociativeIterable::iterator QAssociativeIterable::mutableBegin()\n", false, &_init_f_mutableBegin_0, &_call_f_mutableBegin_0); - methods += new qt_gsi::GenericMethod ("mutableEnd", "@brief Method QAssociativeIterable::iterator QAssociativeIterable::mutableEnd()\n", false, &_init_f_mutableEnd_0, &_call_f_mutableEnd_0); - methods += new qt_gsi::GenericMethod ("mutableFind", "@brief Method QAssociativeIterable::iterator QAssociativeIterable::mutableFind(const QVariant &key)\n", false, &_init_f_mutableFind_2119, &_call_f_mutableFind_2119); - methods += new qt_gsi::GenericMethod ("removeKey", "@brief Method void QAssociativeIterable::removeKey(const QVariant &key)\n", false, &_init_f_removeKey_2119, &_call_f_removeKey_2119); - methods += new qt_gsi::GenericMethod ("setValue", "@brief Method void QAssociativeIterable::setValue(const QVariant &key, const QVariant &mapped)\n", false, &_init_f_setValue_4130, &_call_f_setValue_4130); - methods += new qt_gsi::GenericMethod ("value", "@brief Method QVariant QAssociativeIterable::value(const QVariant &key)\n", true, &_init_f_value_c2119, &_call_f_value_c2119); - return methods; -} - -gsi::Class> &qtdecl_QIterable (); - -gsi::Class decl_QAssociativeIterable (qtdecl_QIterable (), "QtCore", "QAssociativeIterable", - methods_QAssociativeIterable (), - "@qt\n@brief Binding of QAssociativeIterable"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QAssociativeIterable () { return decl_QAssociativeIterable; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQAssociativeIterator.cc b/src/gsiqt/qt6/QtCore/gsiDeclQAssociativeIterator.cc deleted file mode 100644 index 5e65cc261..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQAssociativeIterator.cc +++ /dev/null @@ -1,122 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAssociativeIterator.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAssociativeIterator - -// QVariant QAssociativeIterator::key() - - -static void _init_f_key_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_key_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVariant)((QAssociativeIterator *)cls)->key ()); -} - - -// QVariantRef QAssociativeIterator::operator*() - - -static void _init_f_operator_star__c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_operator_star__c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QVariantRef)((QAssociativeIterator *)cls)->operator* ()); -} - - -// QVariantPointer QAssociativeIterator::operator->() - - -static void _init_f_operator_minus__gt__c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_operator_minus__gt__c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QVariantPointer)((QAssociativeIterator *)cls)->operator-> ()); -} - - -// QVariantRef QAssociativeIterator::value() - - -static void _init_f_value_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_value_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QVariantRef)((QAssociativeIterator *)cls)->value ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QAssociativeIterator () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("key", "@brief Method QVariant QAssociativeIterator::key()\n", true, &_init_f_key_c0, &_call_f_key_c0); - methods += new qt_gsi::GenericMethod ("*", "@brief Method QVariantRef QAssociativeIterator::operator*()\n", true, &_init_f_operator_star__c0, &_call_f_operator_star__c0); - methods += new qt_gsi::GenericMethod ("->", "@brief Method QVariantPointer QAssociativeIterator::operator->()\n", true, &_init_f_operator_minus__gt__c0, &_call_f_operator_minus__gt__c0); - methods += new qt_gsi::GenericMethod ("value", "@brief Method QVariantRef QAssociativeIterator::value()\n", true, &_init_f_value_c0, &_call_f_value_c0); - return methods; -} - -gsi::Class> &qtdecl_QIterator (); - -gsi::Class decl_QAssociativeIterator (qtdecl_QIterator (), "QtCore", "QAssociativeIterator", - methods_QAssociativeIterator (), - "@qt\n@brief Binding of QAssociativeIterator"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QAssociativeIterator () { return decl_QAssociativeIterator; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQBigEndianStorageType.cc b/src/gsiqt/qt6/QtCore/gsiDeclQBigEndianStorageType.cc deleted file mode 100644 index 1f5fc1159..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQBigEndianStorageType.cc +++ /dev/null @@ -1,112 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQBigEndianStorageType.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QBigEndianStorageType - -// Constructor QBigEndianStorageType::QBigEndianStorageType() - - -static void _init_ctor_QBigEndianStorageType_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QBigEndianStorageType_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QBigEndianStorageType ()); -} - - -// static T QBigEndianStorageType::fromSpecial(T source) - - -static void _init_f_fromSpecial_520 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("source"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_fromSpecial_520 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - T arg1 = gsi::arg_reader() (args, heap); - ret.write ((T)QBigEndianStorageType::fromSpecial (arg1)); -} - - -// static T QBigEndianStorageType::toSpecial(T source) - - -static void _init_f_toSpecial_520 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("source"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toSpecial_520 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - T arg1 = gsi::arg_reader() (args, heap); - ret.write ((T)QBigEndianStorageType::toSpecial (arg1)); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QBigEndianStorageType () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBigEndianStorageType::QBigEndianStorageType()\nThis method creates an object of class QBigEndianStorageType.", &_init_ctor_QBigEndianStorageType_0, &_call_ctor_QBigEndianStorageType_0); - methods += new qt_gsi::GenericStaticMethod ("fromSpecial", "@brief Static method T QBigEndianStorageType::fromSpecial(T source)\nThis method is static and can be called without an instance.", &_init_f_fromSpecial_520, &_call_f_fromSpecial_520); - methods += new qt_gsi::GenericStaticMethod ("toSpecial", "@brief Static method T QBigEndianStorageType::toSpecial(T source)\nThis method is static and can be called without an instance.", &_init_f_toSpecial_520, &_call_f_toSpecial_520); - return methods; -} - -gsi::Class decl_QBigEndianStorageType ("QtCore", "QBigEndianStorageType", - methods_QBigEndianStorageType (), - "@qt\n@brief Binding of QBigEndianStorageType"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QBigEndianStorageType () { return decl_QBigEndianStorageType; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQBindingStorage.cc b/src/gsiqt/qt6/QtCore/gsiDeclQBindingStorage.cc deleted file mode 100644 index e9e54a0da..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQBindingStorage.cc +++ /dev/null @@ -1,172 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQBindingStorage.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include - -// ----------------------------------------------------------------------- -// class QBindingStorage - -// Constructor QBindingStorage::QBindingStorage() - - -static void _init_ctor_QBindingStorage_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QBindingStorage_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QBindingStorage ()); -} - - -// QtPrivate::QPropertyBindingData *QBindingStorage::bindingData(const QUntypedPropertyData *data) - - -static void _init_f_bindingData_c3390 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_bindingData_c3390 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QUntypedPropertyData *arg1 = gsi::arg_reader() (args, heap); - ret.write ((QtPrivate::QPropertyBindingData *)((QBindingStorage *)cls)->bindingData (arg1)); -} - - -// QtPrivate::QPropertyBindingData *QBindingStorage::bindingData(QUntypedPropertyData *data, bool create) - - -static void _init_f_bindingData_3451 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("create"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_bindingData_3451 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QUntypedPropertyData *arg1 = gsi::arg_reader() (args, heap); - bool arg2 = gsi::arg_reader() (args, heap); - ret.write ((QtPrivate::QPropertyBindingData *)((QBindingStorage *)cls)->bindingData (arg1, arg2)); -} - - -// bool QBindingStorage::isEmpty() - - -static void _init_f_isEmpty_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isEmpty_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QBindingStorage *)cls)->isEmpty ()); -} - - -// void QBindingStorage::maybeUpdateBindingAndRegister(const QUntypedPropertyData *data) - - -static void _init_f_maybeUpdateBindingAndRegister_c3390 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_maybeUpdateBindingAndRegister_c3390 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QUntypedPropertyData *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QBindingStorage *)cls)->maybeUpdateBindingAndRegister (arg1); -} - - -// void QBindingStorage::registerDependency(const QUntypedPropertyData *data) - - -static void _init_f_registerDependency_c3390 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_registerDependency_c3390 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QUntypedPropertyData *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QBindingStorage *)cls)->registerDependency (arg1); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QBindingStorage () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBindingStorage::QBindingStorage()\nThis method creates an object of class QBindingStorage.", &_init_ctor_QBindingStorage_0, &_call_ctor_QBindingStorage_0); - methods += new qt_gsi::GenericMethod ("bindingData", "@brief Method QtPrivate::QPropertyBindingData *QBindingStorage::bindingData(const QUntypedPropertyData *data)\n", true, &_init_f_bindingData_c3390, &_call_f_bindingData_c3390); - methods += new qt_gsi::GenericMethod ("bindingData", "@brief Method QtPrivate::QPropertyBindingData *QBindingStorage::bindingData(QUntypedPropertyData *data, bool create)\n", false, &_init_f_bindingData_3451, &_call_f_bindingData_3451); - methods += new qt_gsi::GenericMethod ("isEmpty?", "@brief Method bool QBindingStorage::isEmpty()\n", false, &_init_f_isEmpty_0, &_call_f_isEmpty_0); - methods += new qt_gsi::GenericMethod ("maybeUpdateBindingAndRegister", "@brief Method void QBindingStorage::maybeUpdateBindingAndRegister(const QUntypedPropertyData *data)\n", true, &_init_f_maybeUpdateBindingAndRegister_c3390, &_call_f_maybeUpdateBindingAndRegister_c3390); - methods += new qt_gsi::GenericMethod ("registerDependency", "@brief Method void QBindingStorage::registerDependency(const QUntypedPropertyData *data)\n", true, &_init_f_registerDependency_c3390, &_call_f_registerDependency_c3390); - return methods; -} - -gsi::Class decl_QBindingStorage ("QtCore", "QBindingStorage", - methods_QBindingStorage (), - "@qt\n@brief Binding of QBindingStorage"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QBindingStorage () { return decl_QBindingStorage; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQByteArrayView.cc b/src/gsiqt/qt6/QtCore/gsiDeclQByteArrayView.cc deleted file mode 100644 index 396bb3ea0..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQByteArrayView.cc +++ /dev/null @@ -1,891 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQByteArrayView.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include - -// ----------------------------------------------------------------------- -// class QByteArrayView - -// Constructor QByteArrayView::QByteArrayView() - - -static void _init_ctor_QByteArrayView_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QByteArrayView_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QByteArrayView ()); -} - - -// Constructor QByteArrayView::QByteArrayView(std::nullptr_t) - - -static void _init_ctor_QByteArrayView_1879 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QByteArrayView_1879 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - std::nullptr_t arg1 = gsi::arg_reader() (args, heap); - ret.write (new QByteArrayView (arg1)); -} - - -// char QByteArrayView::at(qsizetype n) - - -static void _init_f_at_c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_at_c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((char)((QByteArrayView *)cls)->at (arg1)); -} - - -// char QByteArrayView::back() - - -static void _init_f_back_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_back_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((char)((QByteArrayView *)cls)->back ()); -} - - -// const char *QByteArrayView::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 ((const char *)((QByteArrayView *)cls)->begin ()); -} - - -// const char *QByteArrayView::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 ((const char *)((QByteArrayView *)cls)->cbegin ()); -} - - -// const char *QByteArrayView::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 ((const char *)((QByteArrayView *)cls)->cend ()); -} - - -// void QByteArrayView::chop(qsizetype n) - - -static void _init_f_chop_1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_chop_1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QByteArrayView *)cls)->chop (arg1); -} - - -// QByteArrayView QByteArrayView::chopped(qsizetype len) - - -static void _init_f_chopped_c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("len"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_chopped_c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QByteArrayView)((QByteArrayView *)cls)->chopped (arg1)); -} - - -// int QByteArrayView::compare(QByteArrayView a, Qt::CaseSensitivity cs) - - -static void _init_f_compare_c4059 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("a"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cs", true, "Qt::CaseSensitive"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_compare_c4059 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QByteArrayView arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CaseSensitive), heap); - ret.write ((int)((QByteArrayView *)cls)->compare (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// const char *QByteArrayView::constData() - - -static void _init_f_constData_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_constData_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((const char *)((QByteArrayView *)cls)->constData ()); -} - - -// bool QByteArrayView::contains(QByteArrayView a) - - -static void _init_f_contains_c1843 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("a"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_contains_c1843 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QByteArrayView arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QByteArrayView *)cls)->contains (arg1)); -} - - -// bool QByteArrayView::contains(char c) - - -static void _init_f_contains_c850 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_contains_c850 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - char arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QByteArrayView *)cls)->contains (arg1)); -} - - -// qsizetype QByteArrayView::count(QByteArrayView a) - - -static void _init_f_count_c1843 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("a"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_count_c1843 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QByteArrayView arg1 = gsi::arg_reader() (args, heap); - ret.write ((qsizetype)((QByteArrayView *)cls)->count (arg1)); -} - - -// qsizetype QByteArrayView::count(char ch) - - -static void _init_f_count_c850 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("ch"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_count_c850 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - char arg1 = gsi::arg_reader() (args, heap); - ret.write ((qsizetype)((QByteArrayView *)cls)->count (arg1)); -} - - -// std::reverse_iterator QByteArrayView::crbegin() - - -static void _init_f_crbegin_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_crbegin_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((std::reverse_iterator)((QByteArrayView *)cls)->crbegin ()); -} - - -// std::reverse_iterator QByteArrayView::crend() - - -static void _init_f_crend_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_crend_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((std::reverse_iterator)((QByteArrayView *)cls)->crend ()); -} - - -// const char *QByteArrayView::data() - - -static void _init_f_data_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_data_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((const char *)((QByteArrayView *)cls)->data ()); -} - - -// bool QByteArrayView::empty() - - -static void _init_f_empty_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_empty_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QByteArrayView *)cls)->empty ()); -} - - -// const char *QByteArrayView::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 ((const char *)((QByteArrayView *)cls)->end ()); -} - - -// bool QByteArrayView::endsWith(QByteArrayView other) - - -static void _init_f_endsWith_c1843 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_endsWith_c1843 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QByteArrayView arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QByteArrayView *)cls)->endsWith (arg1)); -} - - -// bool QByteArrayView::endsWith(char c) - - -static void _init_f_endsWith_c850 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_endsWith_c850 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - char arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QByteArrayView *)cls)->endsWith (arg1)); -} - - -// QByteArrayView QByteArrayView::first(qsizetype n) - - -static void _init_f_first_c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_first_c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QByteArrayView)((QByteArrayView *)cls)->first (arg1)); -} - - -// char QByteArrayView::first() - - -static void _init_f_first_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_first_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((char)((QByteArrayView *)cls)->first ()); -} - - -// char QByteArrayView::front() - - -static void _init_f_front_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_front_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((char)((QByteArrayView *)cls)->front ()); -} - - -// qsizetype QByteArrayView::indexOf(QByteArrayView a, qsizetype from) - - -static void _init_f_indexOf_c3177 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("a"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("from", true, "0"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_indexOf_c3177 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QByteArrayView arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - ret.write ((qsizetype)((QByteArrayView *)cls)->indexOf (arg1, arg2)); -} - - -// qsizetype QByteArrayView::indexOf(char ch, qsizetype from) - - -static void _init_f_indexOf_c2184 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("ch"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("from", true, "0"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_indexOf_c2184 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - char arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - ret.write ((qsizetype)((QByteArrayView *)cls)->indexOf (arg1, arg2)); -} - - -// bool QByteArrayView::isEmpty() - - -static void _init_f_isEmpty_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isEmpty_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QByteArrayView *)cls)->isEmpty ()); -} - - -// bool QByteArrayView::isNull() - - -static void _init_f_isNull_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isNull_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QByteArrayView *)cls)->isNull ()); -} - - -// QByteArrayView QByteArrayView::last(qsizetype n) - - -static void _init_f_last_c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_last_c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QByteArrayView)((QByteArrayView *)cls)->last (arg1)); -} - - -// char QByteArrayView::last() - - -static void _init_f_last_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_last_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((char)((QByteArrayView *)cls)->last ()); -} - - -// qsizetype QByteArrayView::lastIndexOf(QByteArrayView a) - - -static void _init_f_lastIndexOf_c1843 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("a"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_lastIndexOf_c1843 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QByteArrayView arg1 = gsi::arg_reader() (args, heap); - ret.write ((qsizetype)((QByteArrayView *)cls)->lastIndexOf (arg1)); -} - - -// qsizetype QByteArrayView::lastIndexOf(QByteArrayView a, qsizetype from) - - -static void _init_f_lastIndexOf_c3177 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("a"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("from"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_lastIndexOf_c3177 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QByteArrayView arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = gsi::arg_reader() (args, heap); - ret.write ((qsizetype)((QByteArrayView *)cls)->lastIndexOf (arg1, arg2)); -} - - -// qsizetype QByteArrayView::lastIndexOf(char ch, qsizetype from) - - -static void _init_f_lastIndexOf_c2184 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("ch"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("from", true, "-1"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_lastIndexOf_c2184 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - char arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (-1, heap); - ret.write ((qsizetype)((QByteArrayView *)cls)->lastIndexOf (arg1, arg2)); -} - - -// qsizetype QByteArrayView::length() - - -static void _init_f_length_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_length_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qsizetype)((QByteArrayView *)cls)->length ()); -} - - -// char QByteArrayView::operator[](qsizetype n) - - -static void _init_f_operator_index__c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((char)((QByteArrayView *)cls)->operator[] (arg1)); -} - - -// std::reverse_iterator QByteArrayView::rbegin() - - -static void _init_f_rbegin_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_rbegin_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((std::reverse_iterator)((QByteArrayView *)cls)->rbegin ()); -} - - -// std::reverse_iterator QByteArrayView::rend() - - -static void _init_f_rend_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_rend_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((std::reverse_iterator)((QByteArrayView *)cls)->rend ()); -} - - -// qsizetype QByteArrayView::size() - - -static void _init_f_size_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_size_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qsizetype)((QByteArrayView *)cls)->size ()); -} - - -// QByteArrayView QByteArrayView::sliced(qsizetype pos) - - -static void _init_f_sliced_c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pos"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_sliced_c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QByteArrayView)((QByteArrayView *)cls)->sliced (arg1)); -} - - -// QByteArrayView QByteArrayView::sliced(qsizetype pos, qsizetype n) - - -static void _init_f_sliced_c2776 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pos"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("n"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_sliced_c2776 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = gsi::arg_reader() (args, heap); - ret.write ((QByteArrayView)((QByteArrayView *)cls)->sliced (arg1, arg2)); -} - - -// bool QByteArrayView::startsWith(QByteArrayView other) - - -static void _init_f_startsWith_c1843 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_startsWith_c1843 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QByteArrayView arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QByteArrayView *)cls)->startsWith (arg1)); -} - - -// bool QByteArrayView::startsWith(char c) - - -static void _init_f_startsWith_c850 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_startsWith_c850 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - char arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QByteArrayView *)cls)->startsWith (arg1)); -} - - -// QByteArray QByteArrayView::toByteArray() - - -static void _init_f_toByteArray_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toByteArray_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QByteArray)((QByteArrayView *)cls)->toByteArray ()); -} - - -// void QByteArrayView::truncate(qsizetype n) - - -static void _init_f_truncate_1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_truncate_1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QByteArrayView *)cls)->truncate (arg1); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QByteArrayView () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QByteArrayView::QByteArrayView()\nThis method creates an object of class QByteArrayView.", &_init_ctor_QByteArrayView_0, &_call_ctor_QByteArrayView_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QByteArrayView::QByteArrayView(std::nullptr_t)\nThis method creates an object of class QByteArrayView.", &_init_ctor_QByteArrayView_1879, &_call_ctor_QByteArrayView_1879); - methods += new qt_gsi::GenericMethod ("at", "@brief Method char QByteArrayView::at(qsizetype n)\n", true, &_init_f_at_c1442, &_call_f_at_c1442); - methods += new qt_gsi::GenericMethod ("back", "@brief Method char QByteArrayView::back()\n", true, &_init_f_back_c0, &_call_f_back_c0); - methods += new qt_gsi::GenericMethod ("begin", "@brief Method const char *QByteArrayView::begin()\n", true, &_init_f_begin_c0, &_call_f_begin_c0); - methods += new qt_gsi::GenericMethod ("cbegin", "@brief Method const char *QByteArrayView::cbegin()\n", true, &_init_f_cbegin_c0, &_call_f_cbegin_c0); - methods += new qt_gsi::GenericMethod ("cend", "@brief Method const char *QByteArrayView::cend()\n", true, &_init_f_cend_c0, &_call_f_cend_c0); - methods += new qt_gsi::GenericMethod ("chop", "@brief Method void QByteArrayView::chop(qsizetype n)\n", false, &_init_f_chop_1442, &_call_f_chop_1442); - methods += new qt_gsi::GenericMethod ("chopped", "@brief Method QByteArrayView QByteArrayView::chopped(qsizetype len)\n", true, &_init_f_chopped_c1442, &_call_f_chopped_c1442); - methods += new qt_gsi::GenericMethod ("compare", "@brief Method int QByteArrayView::compare(QByteArrayView a, Qt::CaseSensitivity cs)\n", true, &_init_f_compare_c4059, &_call_f_compare_c4059); - methods += new qt_gsi::GenericMethod ("constData", "@brief Method const char *QByteArrayView::constData()\n", true, &_init_f_constData_c0, &_call_f_constData_c0); - methods += new qt_gsi::GenericMethod ("contains", "@brief Method bool QByteArrayView::contains(QByteArrayView a)\n", true, &_init_f_contains_c1843, &_call_f_contains_c1843); - methods += new qt_gsi::GenericMethod ("contains", "@brief Method bool QByteArrayView::contains(char c)\n", true, &_init_f_contains_c850, &_call_f_contains_c850); - methods += new qt_gsi::GenericMethod ("count", "@brief Method qsizetype QByteArrayView::count(QByteArrayView a)\n", true, &_init_f_count_c1843, &_call_f_count_c1843); - methods += new qt_gsi::GenericMethod ("count", "@brief Method qsizetype QByteArrayView::count(char ch)\n", true, &_init_f_count_c850, &_call_f_count_c850); - methods += new qt_gsi::GenericMethod ("crbegin", "@brief Method std::reverse_iterator QByteArrayView::crbegin()\n", true, &_init_f_crbegin_c0, &_call_f_crbegin_c0); - methods += new qt_gsi::GenericMethod ("crend", "@brief Method std::reverse_iterator QByteArrayView::crend()\n", true, &_init_f_crend_c0, &_call_f_crend_c0); - methods += new qt_gsi::GenericMethod ("data", "@brief Method const char *QByteArrayView::data()\n", true, &_init_f_data_c0, &_call_f_data_c0); - methods += new qt_gsi::GenericMethod ("empty", "@brief Method bool QByteArrayView::empty()\n", true, &_init_f_empty_c0, &_call_f_empty_c0); - methods += new qt_gsi::GenericMethod ("end", "@brief Method const char *QByteArrayView::end()\n", true, &_init_f_end_c0, &_call_f_end_c0); - methods += new qt_gsi::GenericMethod ("endsWith", "@brief Method bool QByteArrayView::endsWith(QByteArrayView other)\n", true, &_init_f_endsWith_c1843, &_call_f_endsWith_c1843); - methods += new qt_gsi::GenericMethod ("endsWith", "@brief Method bool QByteArrayView::endsWith(char c)\n", true, &_init_f_endsWith_c850, &_call_f_endsWith_c850); - methods += new qt_gsi::GenericMethod ("first", "@brief Method QByteArrayView QByteArrayView::first(qsizetype n)\n", true, &_init_f_first_c1442, &_call_f_first_c1442); - methods += new qt_gsi::GenericMethod ("first", "@brief Method char QByteArrayView::first()\n", true, &_init_f_first_c0, &_call_f_first_c0); - methods += new qt_gsi::GenericMethod ("front", "@brief Method char QByteArrayView::front()\n", true, &_init_f_front_c0, &_call_f_front_c0); - methods += new qt_gsi::GenericMethod ("indexOf", "@brief Method qsizetype QByteArrayView::indexOf(QByteArrayView a, qsizetype from)\n", true, &_init_f_indexOf_c3177, &_call_f_indexOf_c3177); - methods += new qt_gsi::GenericMethod ("indexOf", "@brief Method qsizetype QByteArrayView::indexOf(char ch, qsizetype from)\n", true, &_init_f_indexOf_c2184, &_call_f_indexOf_c2184); - methods += new qt_gsi::GenericMethod ("isEmpty?", "@brief Method bool QByteArrayView::isEmpty()\n", true, &_init_f_isEmpty_c0, &_call_f_isEmpty_c0); - methods += new qt_gsi::GenericMethod ("isNull?", "@brief Method bool QByteArrayView::isNull()\n", true, &_init_f_isNull_c0, &_call_f_isNull_c0); - methods += new qt_gsi::GenericMethod ("last", "@brief Method QByteArrayView QByteArrayView::last(qsizetype n)\n", true, &_init_f_last_c1442, &_call_f_last_c1442); - methods += new qt_gsi::GenericMethod ("last", "@brief Method char QByteArrayView::last()\n", true, &_init_f_last_c0, &_call_f_last_c0); - methods += new qt_gsi::GenericMethod ("lastIndexOf", "@brief Method qsizetype QByteArrayView::lastIndexOf(QByteArrayView a)\n", true, &_init_f_lastIndexOf_c1843, &_call_f_lastIndexOf_c1843); - methods += new qt_gsi::GenericMethod ("lastIndexOf", "@brief Method qsizetype QByteArrayView::lastIndexOf(QByteArrayView a, qsizetype from)\n", true, &_init_f_lastIndexOf_c3177, &_call_f_lastIndexOf_c3177); - methods += new qt_gsi::GenericMethod ("lastIndexOf", "@brief Method qsizetype QByteArrayView::lastIndexOf(char ch, qsizetype from)\n", true, &_init_f_lastIndexOf_c2184, &_call_f_lastIndexOf_c2184); - methods += new qt_gsi::GenericMethod ("length", "@brief Method qsizetype QByteArrayView::length()\n", true, &_init_f_length_c0, &_call_f_length_c0); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method char QByteArrayView::operator[](qsizetype n)\n", true, &_init_f_operator_index__c1442, &_call_f_operator_index__c1442); - methods += new qt_gsi::GenericMethod ("rbegin", "@brief Method std::reverse_iterator QByteArrayView::rbegin()\n", true, &_init_f_rbegin_c0, &_call_f_rbegin_c0); - methods += new qt_gsi::GenericMethod ("rend", "@brief Method std::reverse_iterator QByteArrayView::rend()\n", true, &_init_f_rend_c0, &_call_f_rend_c0); - methods += new qt_gsi::GenericMethod ("size", "@brief Method qsizetype QByteArrayView::size()\n", true, &_init_f_size_c0, &_call_f_size_c0); - methods += new qt_gsi::GenericMethod ("sliced", "@brief Method QByteArrayView QByteArrayView::sliced(qsizetype pos)\n", true, &_init_f_sliced_c1442, &_call_f_sliced_c1442); - methods += new qt_gsi::GenericMethod ("sliced", "@brief Method QByteArrayView QByteArrayView::sliced(qsizetype pos, qsizetype n)\n", true, &_init_f_sliced_c2776, &_call_f_sliced_c2776); - methods += new qt_gsi::GenericMethod ("startsWith", "@brief Method bool QByteArrayView::startsWith(QByteArrayView other)\n", true, &_init_f_startsWith_c1843, &_call_f_startsWith_c1843); - methods += new qt_gsi::GenericMethod ("startsWith", "@brief Method bool QByteArrayView::startsWith(char c)\n", true, &_init_f_startsWith_c850, &_call_f_startsWith_c850); - methods += new qt_gsi::GenericMethod ("toByteArray", "@brief Method QByteArray QByteArrayView::toByteArray()\n", true, &_init_f_toByteArray_c0, &_call_f_toByteArray_c0); - methods += new qt_gsi::GenericMethod ("truncate", "@brief Method void QByteArrayView::truncate(qsizetype n)\n", false, &_init_f_truncate_1442, &_call_f_truncate_1442); - return methods; -} - -gsi::Class decl_QByteArrayView ("QtCore", "QByteArrayView", - methods_QByteArrayView (), - "@qt\n@brief Binding of QByteArrayView"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QByteArrayView () { return decl_QByteArrayView; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQCborArray.cc b/src/gsiqt/qt6/QtCore/gsiDeclQCborArray.cc deleted file mode 100644 index b770ca68d..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQCborArray.cc +++ /dev/null @@ -1,1096 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQCborArray.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QCborArray - -// Constructor QCborArray::QCborArray() - - -static void _init_ctor_QCborArray_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QCborArray_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QCborArray ()); -} - - -// Constructor QCborArray::QCborArray(const QCborArray &other) - - -static void _init_ctor_QCborArray_2295 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborArray_2295 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborArray (arg1)); -} - - -// void QCborArray::append(const QCborValue &value) - - -static void _init_f_append_2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("value"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_append_2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborArray *)cls)->append (arg1); -} - - -// QCborValue QCborArray::at(qsizetype i) - - -static void _init_f_at_c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_at_c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValue)((QCborArray *)cls)->at (arg1)); -} - - -// QCborArray::Iterator QCborArray::begin() - - -static void _init_f_begin_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_begin_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborArray::Iterator)((QCborArray *)cls)->begin ()); -} - - -// QCborArray::ConstIterator QCborArray::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 ((QCborArray::ConstIterator)((QCborArray *)cls)->begin ()); -} - - -// QCborArray::ConstIterator QCborArray::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 ((QCborArray::ConstIterator)((QCborArray *)cls)->cbegin ()); -} - - -// QCborArray::ConstIterator QCborArray::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 ((QCborArray::ConstIterator)((QCborArray *)cls)->cend ()); -} - - -// void QCborArray::clear() - - -static void _init_f_clear_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clear_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborArray *)cls)->clear (); -} - - -// int QCborArray::compare(const QCborArray &other) - - -static void _init_f_compare_c2295 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_compare_c2295 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray &arg1 = gsi::arg_reader() (args, heap); - ret.write ((int)((QCborArray *)cls)->compare (arg1)); -} - - -// QCborArray::ConstIterator QCborArray::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 ((QCborArray::ConstIterator)((QCborArray *)cls)->constBegin ()); -} - - -// QCborArray::ConstIterator QCborArray::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 ((QCborArray::ConstIterator)((QCborArray *)cls)->constEnd ()); -} - - -// bool QCborArray::contains(const QCborValue &value) - - -static void _init_f_contains_c2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("value"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_contains_c2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray *)cls)->contains (arg1)); -} - - -// bool QCborArray::empty() - - -static void _init_f_empty_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_empty_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborArray *)cls)->empty ()); -} - - -// QCborArray::Iterator QCborArray::end() - - -static void _init_f_end_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_end_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborArray::Iterator)((QCborArray *)cls)->end ()); -} - - -// QCborArray::ConstIterator QCborArray::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 ((QCborArray::ConstIterator)((QCborArray *)cls)->end ()); -} - - -// QCborArray::Iterator QCborArray::erase(QCborArray::Iterator it) - - -static void _init_f_erase_2376 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("it"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_erase_2376 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCborArray::Iterator arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborArray::Iterator)((QCborArray *)cls)->erase (arg1)); -} - - -// QCborArray::Iterator QCborArray::erase(QCborArray::ConstIterator it) - - -static void _init_f_erase_2895 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("it"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_erase_2895 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCborArray::ConstIterator arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborArray::Iterator)((QCborArray *)cls)->erase (arg1)); -} - - -// QCborValue QCborArray::extract(QCborArray::ConstIterator it) - - -static void _init_f_extract_2895 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("it"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_extract_2895 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCborArray::ConstIterator arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValue)((QCborArray *)cls)->extract (arg1)); -} - - -// QCborValue QCborArray::extract(QCborArray::Iterator it) - - -static void _init_f_extract_2376 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("it"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_extract_2376 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCborArray::Iterator arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValue)((QCborArray *)cls)->extract (arg1)); -} - - -// QCborValue QCborArray::first() - - -static void _init_f_first_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_first_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborValue)((QCborArray *)cls)->first ()); -} - - -// QCborValueRef QCborArray::first() - - -static void _init_f_first_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_first_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborValueRef)((QCborArray *)cls)->first ()); -} - - -// void QCborArray::insert(qsizetype i, const QCborValue &value) - - -static void _init_f_insert_3627 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("value"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_insert_3627 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - const QCborValue &arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborArray *)cls)->insert (arg1, arg2); -} - - -// QCborArray::Iterator QCborArray::insert(QCborArray::Iterator before, const QCborValue &value) - - -static void _init_f_insert_4561 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("before"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("value"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_insert_4561 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCborArray::Iterator arg1 = gsi::arg_reader() (args, heap); - const QCborValue &arg2 = gsi::arg_reader() (args, heap); - ret.write ((QCborArray::Iterator)((QCborArray *)cls)->insert (arg1, arg2)); -} - - -// QCborArray::Iterator QCborArray::insert(QCborArray::ConstIterator before, const QCborValue &value) - - -static void _init_f_insert_5080 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("before"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("value"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_insert_5080 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCborArray::ConstIterator arg1 = gsi::arg_reader() (args, heap); - const QCborValue &arg2 = gsi::arg_reader() (args, heap); - ret.write ((QCborArray::Iterator)((QCborArray *)cls)->insert (arg1, arg2)); -} - - -// bool QCborArray::isEmpty() - - -static void _init_f_isEmpty_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isEmpty_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborArray *)cls)->isEmpty ()); -} - - -// QCborValue QCborArray::last() - - -static void _init_f_last_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_last_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborValue)((QCborArray *)cls)->last ()); -} - - -// QCborValueRef QCborArray::last() - - -static void _init_f_last_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_last_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborValueRef)((QCborArray *)cls)->last ()); -} - - -// bool QCborArray::operator!=(const QCborArray &other) - - -static void _init_f_operator_excl__eq__c2295 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_excl__eq__c2295 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray *)cls)->operator!= (arg1)); -} - - -// QCborArray QCborArray::operator+(const QCborValue &v) - - -static void _init_f_operator_plus__c2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("v"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_plus__c2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborArray)((QCborArray *)cls)->operator+ (arg1)); -} - - -// QCborArray &QCborArray::operator+=(const QCborValue &v) - - -static void _init_f_operator_plus__eq__2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("v"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_plus__eq__2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborArray &)((QCborArray *)cls)->operator+= (arg1)); -} - - -// bool QCborArray::operator<(const QCborArray &other) - - -static void _init_f_operator_lt__c2295 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_lt__c2295 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray *)cls)->operator< (arg1)); -} - - -// QCborArray &QCborArray::operator<<(const QCborValue &v) - - -static void _init_f_operator_lt__lt__2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("v"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_lt__lt__2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborArray &)((QCborArray *)cls)->operator<< (arg1)); -} - - -// QCborArray &QCborArray::operator=(const QCborArray &other) - - -static void _init_f_operator_eq__2295 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__2295 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborArray &)((QCborArray *)cls)->operator= (arg1)); -} - - -// bool QCborArray::operator==(const QCborArray &other) - - -static void _init_f_operator_eq__eq__c2295 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__eq__c2295 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray *)cls)->operator== (arg1)); -} - - -// const QCborValue QCborArray::operator[](qsizetype i) - - -static void _init_f_operator_index__c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((const QCborValue)((QCborArray *)cls)->operator[] (arg1)); -} - - -// QCborValueRef QCborArray::operator[](qsizetype i) - - -static void _init_f_operator_index__1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValueRef)((QCborArray *)cls)->operator[] (arg1)); -} - - -// void QCborArray::pop_back() - - -static void _init_f_pop_back_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_pop_back_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborArray *)cls)->pop_back (); -} - - -// void QCborArray::pop_front() - - -static void _init_f_pop_front_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_pop_front_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborArray *)cls)->pop_front (); -} - - -// void QCborArray::prepend(const QCborValue &value) - - -static void _init_f_prepend_2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("value"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_prepend_2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborArray *)cls)->prepend (arg1); -} - - -// void QCborArray::push_back(const QCborValue &t) - - -static void _init_f_push_back_2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("t"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_push_back_2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborArray *)cls)->push_back (arg1); -} - - -// void QCborArray::push_front(const QCborValue &t) - - -static void _init_f_push_front_2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("t"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_push_front_2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborArray *)cls)->push_front (arg1); -} - - -// void QCborArray::removeAt(qsizetype i) - - -static void _init_f_removeAt_1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_removeAt_1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborArray *)cls)->removeAt (arg1); -} - - -// void QCborArray::removeFirst() - - -static void _init_f_removeFirst_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_removeFirst_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborArray *)cls)->removeFirst (); -} - - -// void QCborArray::removeLast() - - -static void _init_f_removeLast_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_removeLast_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborArray *)cls)->removeLast (); -} - - -// qsizetype QCborArray::size() - - -static void _init_f_size_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_size_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qsizetype)((QCborArray *)cls)->size ()); -} - - -// void QCborArray::swap(QCborArray &other) - - -static void _init_f_swap_1600 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_swap_1600 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCborArray &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborArray *)cls)->swap (arg1); -} - - -// QCborValue QCborArray::takeAt(qsizetype i) - - -static void _init_f_takeAt_1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_takeAt_1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValue)((QCborArray *)cls)->takeAt (arg1)); -} - - -// QCborValue QCborArray::takeFirst() - - -static void _init_f_takeFirst_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_takeFirst_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborValue)((QCborArray *)cls)->takeFirst ()); -} - - -// QCborValue QCborArray::takeLast() - - -static void _init_f_takeLast_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_takeLast_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborValue)((QCborArray *)cls)->takeLast ()); -} - - -// QCborValue QCborArray::toCborValue() - - -static void _init_f_toCborValue_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toCborValue_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborValue)((QCborArray *)cls)->toCborValue ()); -} - - -// QJsonArray QCborArray::toJsonArray() - - -static void _init_f_toJsonArray_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toJsonArray_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QJsonArray)((QCborArray *)cls)->toJsonArray ()); -} - - -// QList QCborArray::toVariantList() - - -static void _init_f_toVariantList_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_toVariantList_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QList)((QCborArray *)cls)->toVariantList ()); -} - - -// static QCborArray QCborArray::fromJsonArray(const QJsonArray &array) - - -static void _init_f_fromJsonArray_2315 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("array"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_fromJsonArray_2315 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QJsonArray &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborArray)QCborArray::fromJsonArray (arg1)); -} - - -// static QCborArray QCborArray::fromStringList(const QStringList &list) - - -static void _init_f_fromStringList_2437 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("list"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_fromStringList_2437 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QStringList &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborArray)QCborArray::fromStringList (arg1)); -} - - -// static QCborArray QCborArray::fromVariantList(const QList &list) - - -static void _init_f_fromVariantList_2734 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("list"); - decl->add_arg & > (argspec_0); - decl->set_return (); -} - -static void _call_f_fromVariantList_2734 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QList &arg1 = gsi::arg_reader & >() (args, heap); - ret.write ((QCborArray)QCborArray::fromVariantList (arg1)); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QCborArray () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborArray::QCborArray()\nThis method creates an object of class QCborArray.", &_init_ctor_QCborArray_0, &_call_ctor_QCborArray_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborArray::QCborArray(const QCborArray &other)\nThis method creates an object of class QCborArray.", &_init_ctor_QCborArray_2295, &_call_ctor_QCborArray_2295); - methods += new qt_gsi::GenericMethod ("append", "@brief Method void QCborArray::append(const QCborValue &value)\n", false, &_init_f_append_2293, &_call_f_append_2293); - methods += new qt_gsi::GenericMethod ("at", "@brief Method QCborValue QCborArray::at(qsizetype i)\n", true, &_init_f_at_c1442, &_call_f_at_c1442); - methods += new qt_gsi::GenericMethod ("begin", "@brief Method QCborArray::Iterator QCborArray::begin()\n", false, &_init_f_begin_0, &_call_f_begin_0); - methods += new qt_gsi::GenericMethod ("begin", "@brief Method QCborArray::ConstIterator QCborArray::begin()\n", true, &_init_f_begin_c0, &_call_f_begin_c0); - methods += new qt_gsi::GenericMethod ("cbegin", "@brief Method QCborArray::ConstIterator QCborArray::cbegin()\n", true, &_init_f_cbegin_c0, &_call_f_cbegin_c0); - methods += new qt_gsi::GenericMethod ("cend", "@brief Method QCborArray::ConstIterator QCborArray::cend()\n", true, &_init_f_cend_c0, &_call_f_cend_c0); - methods += new qt_gsi::GenericMethod ("clear", "@brief Method void QCborArray::clear()\n", false, &_init_f_clear_0, &_call_f_clear_0); - methods += new qt_gsi::GenericMethod ("compare", "@brief Method int QCborArray::compare(const QCborArray &other)\n", true, &_init_f_compare_c2295, &_call_f_compare_c2295); - methods += new qt_gsi::GenericMethod ("constBegin", "@brief Method QCborArray::ConstIterator QCborArray::constBegin()\n", true, &_init_f_constBegin_c0, &_call_f_constBegin_c0); - methods += new qt_gsi::GenericMethod ("constEnd", "@brief Method QCborArray::ConstIterator QCborArray::constEnd()\n", true, &_init_f_constEnd_c0, &_call_f_constEnd_c0); - methods += new qt_gsi::GenericMethod ("contains", "@brief Method bool QCborArray::contains(const QCborValue &value)\n", true, &_init_f_contains_c2293, &_call_f_contains_c2293); - methods += new qt_gsi::GenericMethod ("empty", "@brief Method bool QCborArray::empty()\n", true, &_init_f_empty_c0, &_call_f_empty_c0); - methods += new qt_gsi::GenericMethod ("end", "@brief Method QCborArray::Iterator QCborArray::end()\n", false, &_init_f_end_0, &_call_f_end_0); - methods += new qt_gsi::GenericMethod ("end", "@brief Method QCborArray::ConstIterator QCborArray::end()\n", true, &_init_f_end_c0, &_call_f_end_c0); - methods += new qt_gsi::GenericMethod ("erase", "@brief Method QCborArray::Iterator QCborArray::erase(QCborArray::Iterator it)\n", false, &_init_f_erase_2376, &_call_f_erase_2376); - methods += new qt_gsi::GenericMethod ("erase", "@brief Method QCborArray::Iterator QCborArray::erase(QCborArray::ConstIterator it)\n", false, &_init_f_erase_2895, &_call_f_erase_2895); - methods += new qt_gsi::GenericMethod ("extract", "@brief Method QCborValue QCborArray::extract(QCborArray::ConstIterator it)\n", false, &_init_f_extract_2895, &_call_f_extract_2895); - methods += new qt_gsi::GenericMethod ("extract", "@brief Method QCborValue QCborArray::extract(QCborArray::Iterator it)\n", false, &_init_f_extract_2376, &_call_f_extract_2376); - methods += new qt_gsi::GenericMethod ("first", "@brief Method QCborValue QCborArray::first()\n", true, &_init_f_first_c0, &_call_f_first_c0); - methods += new qt_gsi::GenericMethod ("first", "@brief Method QCborValueRef QCborArray::first()\n", false, &_init_f_first_0, &_call_f_first_0); - methods += new qt_gsi::GenericMethod ("insert", "@brief Method void QCborArray::insert(qsizetype i, const QCborValue &value)\n", false, &_init_f_insert_3627, &_call_f_insert_3627); - methods += new qt_gsi::GenericMethod ("insert", "@brief Method QCborArray::Iterator QCborArray::insert(QCborArray::Iterator before, const QCborValue &value)\n", false, &_init_f_insert_4561, &_call_f_insert_4561); - methods += new qt_gsi::GenericMethod ("insert", "@brief Method QCborArray::Iterator QCborArray::insert(QCborArray::ConstIterator before, const QCborValue &value)\n", false, &_init_f_insert_5080, &_call_f_insert_5080); - methods += new qt_gsi::GenericMethod ("isEmpty?", "@brief Method bool QCborArray::isEmpty()\n", true, &_init_f_isEmpty_c0, &_call_f_isEmpty_c0); - methods += new qt_gsi::GenericMethod ("last", "@brief Method QCborValue QCborArray::last()\n", true, &_init_f_last_c0, &_call_f_last_c0); - methods += new qt_gsi::GenericMethod ("last", "@brief Method QCborValueRef QCborArray::last()\n", false, &_init_f_last_0, &_call_f_last_0); - methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QCborArray::operator!=(const QCborArray &other)\n", true, &_init_f_operator_excl__eq__c2295, &_call_f_operator_excl__eq__c2295); - methods += new qt_gsi::GenericMethod ("+", "@brief Method QCborArray QCborArray::operator+(const QCborValue &v)\n", true, &_init_f_operator_plus__c2293, &_call_f_operator_plus__c2293); - methods += new qt_gsi::GenericMethod ("+=", "@brief Method QCborArray &QCborArray::operator+=(const QCborValue &v)\n", false, &_init_f_operator_plus__eq__2293, &_call_f_operator_plus__eq__2293); - methods += new qt_gsi::GenericMethod ("<", "@brief Method bool QCborArray::operator<(const QCborArray &other)\n", true, &_init_f_operator_lt__c2295, &_call_f_operator_lt__c2295); - methods += new qt_gsi::GenericMethod ("<<", "@brief Method QCborArray &QCborArray::operator<<(const QCborValue &v)\n", false, &_init_f_operator_lt__lt__2293, &_call_f_operator_lt__lt__2293); - methods += new qt_gsi::GenericMethod ("assign", "@brief Method QCborArray &QCborArray::operator=(const QCborArray &other)\n", false, &_init_f_operator_eq__2295, &_call_f_operator_eq__2295); - methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QCborArray::operator==(const QCborArray &other)\n", true, &_init_f_operator_eq__eq__c2295, &_call_f_operator_eq__eq__c2295); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method const QCborValue QCborArray::operator[](qsizetype i)\n", true, &_init_f_operator_index__c1442, &_call_f_operator_index__c1442); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method QCborValueRef QCborArray::operator[](qsizetype i)\n", false, &_init_f_operator_index__1442, &_call_f_operator_index__1442); - methods += new qt_gsi::GenericMethod ("pop_back", "@brief Method void QCborArray::pop_back()\n", false, &_init_f_pop_back_0, &_call_f_pop_back_0); - methods += new qt_gsi::GenericMethod ("pop_front", "@brief Method void QCborArray::pop_front()\n", false, &_init_f_pop_front_0, &_call_f_pop_front_0); - methods += new qt_gsi::GenericMethod ("prepend", "@brief Method void QCborArray::prepend(const QCborValue &value)\n", false, &_init_f_prepend_2293, &_call_f_prepend_2293); - methods += new qt_gsi::GenericMethod ("push_back", "@brief Method void QCborArray::push_back(const QCborValue &t)\n", false, &_init_f_push_back_2293, &_call_f_push_back_2293); - methods += new qt_gsi::GenericMethod ("push_front", "@brief Method void QCborArray::push_front(const QCborValue &t)\n", false, &_init_f_push_front_2293, &_call_f_push_front_2293); - methods += new qt_gsi::GenericMethod ("removeAt", "@brief Method void QCborArray::removeAt(qsizetype i)\n", false, &_init_f_removeAt_1442, &_call_f_removeAt_1442); - methods += new qt_gsi::GenericMethod ("removeFirst", "@brief Method void QCborArray::removeFirst()\n", false, &_init_f_removeFirst_0, &_call_f_removeFirst_0); - methods += new qt_gsi::GenericMethod ("removeLast", "@brief Method void QCborArray::removeLast()\n", false, &_init_f_removeLast_0, &_call_f_removeLast_0); - methods += new qt_gsi::GenericMethod ("size", "@brief Method qsizetype QCborArray::size()\n", true, &_init_f_size_c0, &_call_f_size_c0); - methods += new qt_gsi::GenericMethod ("swap", "@brief Method void QCborArray::swap(QCborArray &other)\n", false, &_init_f_swap_1600, &_call_f_swap_1600); - methods += new qt_gsi::GenericMethod ("takeAt", "@brief Method QCborValue QCborArray::takeAt(qsizetype i)\n", false, &_init_f_takeAt_1442, &_call_f_takeAt_1442); - methods += new qt_gsi::GenericMethod ("takeFirst", "@brief Method QCborValue QCborArray::takeFirst()\n", false, &_init_f_takeFirst_0, &_call_f_takeFirst_0); - methods += new qt_gsi::GenericMethod ("takeLast", "@brief Method QCborValue QCborArray::takeLast()\n", false, &_init_f_takeLast_0, &_call_f_takeLast_0); - methods += new qt_gsi::GenericMethod ("toCborValue", "@brief Method QCborValue QCborArray::toCborValue()\n", true, &_init_f_toCborValue_c0, &_call_f_toCborValue_c0); - methods += new qt_gsi::GenericMethod ("toJsonArray", "@brief Method QJsonArray QCborArray::toJsonArray()\n", true, &_init_f_toJsonArray_c0, &_call_f_toJsonArray_c0); - methods += new qt_gsi::GenericMethod ("toVariantList", "@brief Method QList QCborArray::toVariantList()\n", true, &_init_f_toVariantList_c0, &_call_f_toVariantList_c0); - methods += new qt_gsi::GenericStaticMethod ("fromJsonArray", "@brief Static method QCborArray QCborArray::fromJsonArray(const QJsonArray &array)\nThis method is static and can be called without an instance.", &_init_f_fromJsonArray_2315, &_call_f_fromJsonArray_2315); - methods += new qt_gsi::GenericStaticMethod ("fromStringList", "@brief Static method QCborArray QCborArray::fromStringList(const QStringList &list)\nThis method is static and can be called without an instance.", &_init_f_fromStringList_2437, &_call_f_fromStringList_2437); - methods += new qt_gsi::GenericStaticMethod ("fromVariantList", "@brief Static method QCborArray QCborArray::fromVariantList(const QList &list)\nThis method is static and can be called without an instance.", &_init_f_fromVariantList_2734, &_call_f_fromVariantList_2734); - return methods; -} - -gsi::Class decl_QCborArray ("QtCore", "QCborArray", - methods_QCborArray (), - "@qt\n@brief Binding of QCborArray"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QCborArray () { return decl_QCborArray; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQCborArray_ConstIterator.cc b/src/gsiqt/qt6/QtCore/gsiDeclQCborArray_ConstIterator.cc deleted file mode 100644 index 234b9c90b..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQCborArray_ConstIterator.cc +++ /dev/null @@ -1,578 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQCborArray_ConstIterator.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QCborArray::ConstIterator - -// Constructor QCborArray::ConstIterator::ConstIterator() - - -static void _init_ctor_QCborArray_ConstIterator_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QCborArray_ConstIterator_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QCborArray::ConstIterator ()); -} - - -// Constructor QCborArray::ConstIterator::ConstIterator(const QCborArray::ConstIterator &) - - -static void _init_ctor_QCborArray_ConstIterator_3772 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborArray_ConstIterator_3772 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborArray::ConstIterator (arg1)); -} - - -// bool QCborArray::ConstIterator::operator!=(const QCborArray::Iterator &o) - - -static void _init_f_operator_excl__eq__c3253 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("o"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_excl__eq__c3253 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray::ConstIterator *)cls)->operator!= (arg1)); -} - - -// bool QCborArray::ConstIterator::operator!=(const QCborArray::ConstIterator &o) - - -static void _init_f_operator_excl__eq__c3772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("o"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_excl__eq__c3772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray::ConstIterator *)cls)->operator!= (arg1)); -} - - -// const QCborValueRef QCborArray::ConstIterator::operator*() - - -static void _init_f_operator_star__c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_star__c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((const QCborValueRef)((QCborArray::ConstIterator *)cls)->operator* ()); -} - - -// QCborArray::ConstIterator QCborArray::ConstIterator::operator+(qsizetype j) - - -static void _init_f_operator_plus__c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("j"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_plus__c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborArray::ConstIterator)((QCborArray::ConstIterator *)cls)->operator+ (arg1)); -} - - -// QCborArray::ConstIterator &QCborArray::ConstIterator::operator++() - - -static void _init_f_operator_plus__plus__0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_plus__plus__0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborArray::ConstIterator &)((QCborArray::ConstIterator *)cls)->operator++ ()); -} - - -// QCborArray::ConstIterator QCborArray::ConstIterator::operator++(int) - - -static void _init_f_operator_plus__plus__767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_plus__plus__767 (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 ((QCborArray::ConstIterator)((QCborArray::ConstIterator *)cls)->operator++ (arg1)); -} - - -// QCborArray::ConstIterator &QCborArray::ConstIterator::operator+=(qsizetype j) - - -static void _init_f_operator_plus__eq__1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("j"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_plus__eq__1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborArray::ConstIterator &)((QCborArray::ConstIterator *)cls)->operator+= (arg1)); -} - - -// QCborArray::ConstIterator QCborArray::ConstIterator::operator-(qsizetype j) - - -static void _init_f_operator_minus__c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("j"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_minus__c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborArray::ConstIterator)((QCborArray::ConstIterator *)cls)->operator- (arg1)); -} - - -// qsizetype QCborArray::ConstIterator::operator-(QCborArray::ConstIterator j) - - -static void _init_f_operator_minus__c2895 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("j"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_minus__c2895 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCborArray::ConstIterator arg1 = gsi::arg_reader() (args, heap); - ret.write ((qsizetype)((QCborArray::ConstIterator *)cls)->operator- (arg1)); -} - - -// QCborArray::ConstIterator &QCborArray::ConstIterator::operator--() - - -static void _init_f_operator_minus__minus__0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_minus__minus__0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborArray::ConstIterator &)((QCborArray::ConstIterator *)cls)->operator-- ()); -} - - -// QCborArray::ConstIterator QCborArray::ConstIterator::operator--(int) - - -static void _init_f_operator_minus__minus__767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_minus__minus__767 (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 ((QCborArray::ConstIterator)((QCborArray::ConstIterator *)cls)->operator-- (arg1)); -} - - -// QCborArray::ConstIterator &QCborArray::ConstIterator::operator-=(qsizetype j) - - -static void _init_f_operator_minus__eq__1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("j"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_minus__eq__1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborArray::ConstIterator &)((QCborArray::ConstIterator *)cls)->operator-= (arg1)); -} - - -// const QCborValueRef *QCborArray::ConstIterator::operator->() - - -static void _init_f_operator_minus__gt__c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_minus__gt__c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((const QCborValueRef *)((QCborArray::ConstIterator *)cls)->operator-> ()); -} - - -// bool QCborArray::ConstIterator::operator<(const QCborArray::Iterator &other) - - -static void _init_f_operator_lt__c3253 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_lt__c3253 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray::ConstIterator *)cls)->operator< (arg1)); -} - - -// bool QCborArray::ConstIterator::operator<(const QCborArray::ConstIterator &other) - - -static void _init_f_operator_lt__c3772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_lt__c3772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray::ConstIterator *)cls)->operator< (arg1)); -} - - -// bool QCborArray::ConstIterator::operator<=(const QCborArray::Iterator &other) - - -static void _init_f_operator_lt__eq__c3253 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_lt__eq__c3253 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray::ConstIterator *)cls)->operator<= (arg1)); -} - - -// bool QCborArray::ConstIterator::operator<=(const QCborArray::ConstIterator &other) - - -static void _init_f_operator_lt__eq__c3772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_lt__eq__c3772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray::ConstIterator *)cls)->operator<= (arg1)); -} - - -// QCborArray::ConstIterator &QCborArray::ConstIterator::operator=(const QCborArray::ConstIterator &other) - - -static void _init_f_operator_eq__3772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__3772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborArray::ConstIterator &)((QCborArray::ConstIterator *)cls)->operator= (arg1)); -} - - -// bool QCborArray::ConstIterator::operator==(const QCborArray::Iterator &o) - - -static void _init_f_operator_eq__eq__c3253 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("o"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__eq__c3253 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray::ConstIterator *)cls)->operator== (arg1)); -} - - -// bool QCborArray::ConstIterator::operator==(const QCborArray::ConstIterator &o) - - -static void _init_f_operator_eq__eq__c3772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("o"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__eq__c3772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray::ConstIterator *)cls)->operator== (arg1)); -} - - -// bool QCborArray::ConstIterator::operator>(const QCborArray::Iterator &other) - - -static void _init_f_operator_gt__c3253 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_gt__c3253 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray::ConstIterator *)cls)->operator> (arg1)); -} - - -// bool QCborArray::ConstIterator::operator>(const QCborArray::ConstIterator &other) - - -static void _init_f_operator_gt__c3772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_gt__c3772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray::ConstIterator *)cls)->operator> (arg1)); -} - - -// bool QCborArray::ConstIterator::operator>=(const QCborArray::Iterator &other) - - -static void _init_f_operator_gt__eq__c3253 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_gt__eq__c3253 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray::ConstIterator *)cls)->operator>= (arg1)); -} - - -// bool QCborArray::ConstIterator::operator>=(const QCborArray::ConstIterator &other) - - -static void _init_f_operator_gt__eq__c3772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_gt__eq__c3772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray::ConstIterator *)cls)->operator>= (arg1)); -} - - -// const QCborValueRef QCborArray::ConstIterator::operator[](qsizetype j) - - -static void _init_f_operator_index__1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("j"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((const QCborValueRef)((QCborArray::ConstIterator *)cls)->operator[] (arg1)); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QCborArray_ConstIterator () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborArray::ConstIterator::ConstIterator()\nThis method creates an object of class QCborArray::ConstIterator.", &_init_ctor_QCborArray_ConstIterator_0, &_call_ctor_QCborArray_ConstIterator_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborArray::ConstIterator::ConstIterator(const QCborArray::ConstIterator &)\nThis method creates an object of class QCborArray::ConstIterator.", &_init_ctor_QCborArray_ConstIterator_3772, &_call_ctor_QCborArray_ConstIterator_3772); - methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QCborArray::ConstIterator::operator!=(const QCborArray::Iterator &o)\n", true, &_init_f_operator_excl__eq__c3253, &_call_f_operator_excl__eq__c3253); - methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QCborArray::ConstIterator::operator!=(const QCborArray::ConstIterator &o)\n", true, &_init_f_operator_excl__eq__c3772, &_call_f_operator_excl__eq__c3772); - methods += new qt_gsi::GenericMethod ("*", "@brief Method const QCborValueRef QCborArray::ConstIterator::operator*()\n", true, &_init_f_operator_star__c0, &_call_f_operator_star__c0); - methods += new qt_gsi::GenericMethod ("+", "@brief Method QCborArray::ConstIterator QCborArray::ConstIterator::operator+(qsizetype j)\n", true, &_init_f_operator_plus__c1442, &_call_f_operator_plus__c1442); - methods += new qt_gsi::GenericMethod ("++", "@brief Method QCborArray::ConstIterator &QCborArray::ConstIterator::operator++()\n", false, &_init_f_operator_plus__plus__0, &_call_f_operator_plus__plus__0); - methods += new qt_gsi::GenericMethod ("++", "@brief Method QCborArray::ConstIterator QCborArray::ConstIterator::operator++(int)\n", false, &_init_f_operator_plus__plus__767, &_call_f_operator_plus__plus__767); - methods += new qt_gsi::GenericMethod ("+=", "@brief Method QCborArray::ConstIterator &QCborArray::ConstIterator::operator+=(qsizetype j)\n", false, &_init_f_operator_plus__eq__1442, &_call_f_operator_plus__eq__1442); - methods += new qt_gsi::GenericMethod ("-", "@brief Method QCborArray::ConstIterator QCborArray::ConstIterator::operator-(qsizetype j)\n", true, &_init_f_operator_minus__c1442, &_call_f_operator_minus__c1442); - methods += new qt_gsi::GenericMethod ("-", "@brief Method qsizetype QCborArray::ConstIterator::operator-(QCborArray::ConstIterator j)\n", true, &_init_f_operator_minus__c2895, &_call_f_operator_minus__c2895); - methods += new qt_gsi::GenericMethod ("--", "@brief Method QCborArray::ConstIterator &QCborArray::ConstIterator::operator--()\n", false, &_init_f_operator_minus__minus__0, &_call_f_operator_minus__minus__0); - methods += new qt_gsi::GenericMethod ("--", "@brief Method QCborArray::ConstIterator QCborArray::ConstIterator::operator--(int)\n", false, &_init_f_operator_minus__minus__767, &_call_f_operator_minus__minus__767); - methods += new qt_gsi::GenericMethod ("-=", "@brief Method QCborArray::ConstIterator &QCborArray::ConstIterator::operator-=(qsizetype j)\n", false, &_init_f_operator_minus__eq__1442, &_call_f_operator_minus__eq__1442); - methods += new qt_gsi::GenericMethod ("->", "@brief Method const QCborValueRef *QCborArray::ConstIterator::operator->()\n", true, &_init_f_operator_minus__gt__c0, &_call_f_operator_minus__gt__c0); - methods += new qt_gsi::GenericMethod ("<", "@brief Method bool QCborArray::ConstIterator::operator<(const QCborArray::Iterator &other)\n", true, &_init_f_operator_lt__c3253, &_call_f_operator_lt__c3253); - methods += new qt_gsi::GenericMethod ("<", "@brief Method bool QCborArray::ConstIterator::operator<(const QCborArray::ConstIterator &other)\n", true, &_init_f_operator_lt__c3772, &_call_f_operator_lt__c3772); - methods += new qt_gsi::GenericMethod ("<=", "@brief Method bool QCborArray::ConstIterator::operator<=(const QCborArray::Iterator &other)\n", true, &_init_f_operator_lt__eq__c3253, &_call_f_operator_lt__eq__c3253); - methods += new qt_gsi::GenericMethod ("<=", "@brief Method bool QCborArray::ConstIterator::operator<=(const QCborArray::ConstIterator &other)\n", true, &_init_f_operator_lt__eq__c3772, &_call_f_operator_lt__eq__c3772); - methods += new qt_gsi::GenericMethod ("assign", "@brief Method QCborArray::ConstIterator &QCborArray::ConstIterator::operator=(const QCborArray::ConstIterator &other)\n", false, &_init_f_operator_eq__3772, &_call_f_operator_eq__3772); - methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QCborArray::ConstIterator::operator==(const QCborArray::Iterator &o)\n", true, &_init_f_operator_eq__eq__c3253, &_call_f_operator_eq__eq__c3253); - methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QCborArray::ConstIterator::operator==(const QCborArray::ConstIterator &o)\n", true, &_init_f_operator_eq__eq__c3772, &_call_f_operator_eq__eq__c3772); - methods += new qt_gsi::GenericMethod (">", "@brief Method bool QCborArray::ConstIterator::operator>(const QCborArray::Iterator &other)\n", true, &_init_f_operator_gt__c3253, &_call_f_operator_gt__c3253); - methods += new qt_gsi::GenericMethod (">", "@brief Method bool QCborArray::ConstIterator::operator>(const QCborArray::ConstIterator &other)\n", true, &_init_f_operator_gt__c3772, &_call_f_operator_gt__c3772); - methods += new qt_gsi::GenericMethod (">=", "@brief Method bool QCborArray::ConstIterator::operator>=(const QCborArray::Iterator &other)\n", true, &_init_f_operator_gt__eq__c3253, &_call_f_operator_gt__eq__c3253); - methods += new qt_gsi::GenericMethod (">=", "@brief Method bool QCborArray::ConstIterator::operator>=(const QCborArray::ConstIterator &other)\n", true, &_init_f_operator_gt__eq__c3772, &_call_f_operator_gt__eq__c3772); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method const QCborValueRef QCborArray::ConstIterator::operator[](qsizetype j)\n", false, &_init_f_operator_index__1442, &_call_f_operator_index__1442); - return methods; -} - -gsi::Class decl_QCborArray_ConstIterator ("QtCore", "QCborArray_ConstIterator", - methods_QCborArray_ConstIterator (), - "@qt\n@brief Binding of QCborArray::ConstIterator"); - -gsi::ClassExt decl_QCborArray_ConstIterator_as_child (decl_QCborArray_ConstIterator, "ConstIterator"); - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QCborArray_ConstIterator () { return decl_QCborArray_ConstIterator; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQCborArray_Iterator.cc b/src/gsiqt/qt6/QtCore/gsiDeclQCborArray_Iterator.cc deleted file mode 100644 index ed4cfee50..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQCborArray_Iterator.cc +++ /dev/null @@ -1,578 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQCborArray_Iterator.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QCborArray::Iterator - -// Constructor QCborArray::Iterator::Iterator() - - -static void _init_ctor_QCborArray_Iterator_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QCborArray_Iterator_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QCborArray::Iterator ()); -} - - -// Constructor QCborArray::Iterator::Iterator(const QCborArray::Iterator &) - - -static void _init_ctor_QCborArray_Iterator_3253 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborArray_Iterator_3253 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborArray::Iterator (arg1)); -} - - -// bool QCborArray::Iterator::operator!=(const QCborArray::Iterator &o) - - -static void _init_f_operator_excl__eq__c3253 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("o"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_excl__eq__c3253 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray::Iterator *)cls)->operator!= (arg1)); -} - - -// bool QCborArray::Iterator::operator!=(const QCborArray::ConstIterator &o) - - -static void _init_f_operator_excl__eq__c3772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("o"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_excl__eq__c3772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray::Iterator *)cls)->operator!= (arg1)); -} - - -// QCborValueRef QCborArray::Iterator::operator*() - - -static void _init_f_operator_star__c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_star__c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborValueRef)((QCborArray::Iterator *)cls)->operator* ()); -} - - -// QCborArray::Iterator QCborArray::Iterator::operator+(qsizetype j) - - -static void _init_f_operator_plus__c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("j"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_plus__c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborArray::Iterator)((QCborArray::Iterator *)cls)->operator+ (arg1)); -} - - -// QCborArray::Iterator &QCborArray::Iterator::operator++() - - -static void _init_f_operator_plus__plus__0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_plus__plus__0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborArray::Iterator &)((QCborArray::Iterator *)cls)->operator++ ()); -} - - -// QCborArray::Iterator QCborArray::Iterator::operator++(int) - - -static void _init_f_operator_plus__plus__767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_plus__plus__767 (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 ((QCborArray::Iterator)((QCborArray::Iterator *)cls)->operator++ (arg1)); -} - - -// QCborArray::Iterator &QCborArray::Iterator::operator+=(qsizetype j) - - -static void _init_f_operator_plus__eq__1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("j"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_plus__eq__1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborArray::Iterator &)((QCborArray::Iterator *)cls)->operator+= (arg1)); -} - - -// QCborArray::Iterator QCborArray::Iterator::operator-(qsizetype j) - - -static void _init_f_operator_minus__c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("j"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_minus__c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborArray::Iterator)((QCborArray::Iterator *)cls)->operator- (arg1)); -} - - -// qsizetype QCborArray::Iterator::operator-(QCborArray::Iterator j) - - -static void _init_f_operator_minus__c2376 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("j"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_minus__c2376 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCborArray::Iterator arg1 = gsi::arg_reader() (args, heap); - ret.write ((qsizetype)((QCborArray::Iterator *)cls)->operator- (arg1)); -} - - -// QCborArray::Iterator &QCborArray::Iterator::operator--() - - -static void _init_f_operator_minus__minus__0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_minus__minus__0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborArray::Iterator &)((QCborArray::Iterator *)cls)->operator-- ()); -} - - -// QCborArray::Iterator QCborArray::Iterator::operator--(int) - - -static void _init_f_operator_minus__minus__767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_minus__minus__767 (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 ((QCborArray::Iterator)((QCborArray::Iterator *)cls)->operator-- (arg1)); -} - - -// QCborArray::Iterator &QCborArray::Iterator::operator-=(qsizetype j) - - -static void _init_f_operator_minus__eq__1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("j"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_minus__eq__1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborArray::Iterator &)((QCborArray::Iterator *)cls)->operator-= (arg1)); -} - - -// QCborValueRef *QCborArray::Iterator::operator->() - - -static void _init_f_operator_minus__gt__c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_minus__gt__c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborValueRef *)((QCborArray::Iterator *)cls)->operator-> ()); -} - - -// bool QCborArray::Iterator::operator<(const QCborArray::Iterator &other) - - -static void _init_f_operator_lt__c3253 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_lt__c3253 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray::Iterator *)cls)->operator< (arg1)); -} - - -// bool QCborArray::Iterator::operator<(const QCborArray::ConstIterator &other) - - -static void _init_f_operator_lt__c3772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_lt__c3772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray::Iterator *)cls)->operator< (arg1)); -} - - -// bool QCborArray::Iterator::operator<=(const QCborArray::Iterator &other) - - -static void _init_f_operator_lt__eq__c3253 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_lt__eq__c3253 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray::Iterator *)cls)->operator<= (arg1)); -} - - -// bool QCborArray::Iterator::operator<=(const QCborArray::ConstIterator &other) - - -static void _init_f_operator_lt__eq__c3772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_lt__eq__c3772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray::Iterator *)cls)->operator<= (arg1)); -} - - -// QCborArray::Iterator &QCborArray::Iterator::operator=(const QCborArray::Iterator &other) - - -static void _init_f_operator_eq__3253 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__3253 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborArray::Iterator &)((QCborArray::Iterator *)cls)->operator= (arg1)); -} - - -// bool QCborArray::Iterator::operator==(const QCborArray::Iterator &o) - - -static void _init_f_operator_eq__eq__c3253 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("o"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__eq__c3253 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray::Iterator *)cls)->operator== (arg1)); -} - - -// bool QCborArray::Iterator::operator==(const QCborArray::ConstIterator &o) - - -static void _init_f_operator_eq__eq__c3772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("o"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__eq__c3772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray::Iterator *)cls)->operator== (arg1)); -} - - -// bool QCborArray::Iterator::operator>(const QCborArray::Iterator &other) - - -static void _init_f_operator_gt__c3253 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_gt__c3253 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray::Iterator *)cls)->operator> (arg1)); -} - - -// bool QCborArray::Iterator::operator>(const QCborArray::ConstIterator &other) - - -static void _init_f_operator_gt__c3772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_gt__c3772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray::Iterator *)cls)->operator> (arg1)); -} - - -// bool QCborArray::Iterator::operator>=(const QCborArray::Iterator &other) - - -static void _init_f_operator_gt__eq__c3253 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_gt__eq__c3253 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray::Iterator *)cls)->operator>= (arg1)); -} - - -// bool QCborArray::Iterator::operator>=(const QCborArray::ConstIterator &other) - - -static void _init_f_operator_gt__eq__c3772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_gt__eq__c3772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborArray::Iterator *)cls)->operator>= (arg1)); -} - - -// QCborValueRef QCborArray::Iterator::operator[](qsizetype j) - - -static void _init_f_operator_index__1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("j"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValueRef)((QCborArray::Iterator *)cls)->operator[] (arg1)); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QCborArray_Iterator () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborArray::Iterator::Iterator()\nThis method creates an object of class QCborArray::Iterator.", &_init_ctor_QCborArray_Iterator_0, &_call_ctor_QCborArray_Iterator_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborArray::Iterator::Iterator(const QCborArray::Iterator &)\nThis method creates an object of class QCborArray::Iterator.", &_init_ctor_QCborArray_Iterator_3253, &_call_ctor_QCborArray_Iterator_3253); - methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QCborArray::Iterator::operator!=(const QCborArray::Iterator &o)\n", true, &_init_f_operator_excl__eq__c3253, &_call_f_operator_excl__eq__c3253); - methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QCborArray::Iterator::operator!=(const QCborArray::ConstIterator &o)\n", true, &_init_f_operator_excl__eq__c3772, &_call_f_operator_excl__eq__c3772); - methods += new qt_gsi::GenericMethod ("*", "@brief Method QCborValueRef QCborArray::Iterator::operator*()\n", true, &_init_f_operator_star__c0, &_call_f_operator_star__c0); - methods += new qt_gsi::GenericMethod ("+", "@brief Method QCborArray::Iterator QCborArray::Iterator::operator+(qsizetype j)\n", true, &_init_f_operator_plus__c1442, &_call_f_operator_plus__c1442); - methods += new qt_gsi::GenericMethod ("++", "@brief Method QCborArray::Iterator &QCborArray::Iterator::operator++()\n", false, &_init_f_operator_plus__plus__0, &_call_f_operator_plus__plus__0); - methods += new qt_gsi::GenericMethod ("++", "@brief Method QCborArray::Iterator QCborArray::Iterator::operator++(int)\n", false, &_init_f_operator_plus__plus__767, &_call_f_operator_plus__plus__767); - methods += new qt_gsi::GenericMethod ("+=", "@brief Method QCborArray::Iterator &QCborArray::Iterator::operator+=(qsizetype j)\n", false, &_init_f_operator_plus__eq__1442, &_call_f_operator_plus__eq__1442); - methods += new qt_gsi::GenericMethod ("-", "@brief Method QCborArray::Iterator QCborArray::Iterator::operator-(qsizetype j)\n", true, &_init_f_operator_minus__c1442, &_call_f_operator_minus__c1442); - methods += new qt_gsi::GenericMethod ("-", "@brief Method qsizetype QCborArray::Iterator::operator-(QCborArray::Iterator j)\n", true, &_init_f_operator_minus__c2376, &_call_f_operator_minus__c2376); - methods += new qt_gsi::GenericMethod ("--", "@brief Method QCborArray::Iterator &QCborArray::Iterator::operator--()\n", false, &_init_f_operator_minus__minus__0, &_call_f_operator_minus__minus__0); - methods += new qt_gsi::GenericMethod ("--", "@brief Method QCborArray::Iterator QCborArray::Iterator::operator--(int)\n", false, &_init_f_operator_minus__minus__767, &_call_f_operator_minus__minus__767); - methods += new qt_gsi::GenericMethod ("-=", "@brief Method QCborArray::Iterator &QCborArray::Iterator::operator-=(qsizetype j)\n", false, &_init_f_operator_minus__eq__1442, &_call_f_operator_minus__eq__1442); - methods += new qt_gsi::GenericMethod ("->", "@brief Method QCborValueRef *QCborArray::Iterator::operator->()\n", true, &_init_f_operator_minus__gt__c0, &_call_f_operator_minus__gt__c0); - methods += new qt_gsi::GenericMethod ("<", "@brief Method bool QCborArray::Iterator::operator<(const QCborArray::Iterator &other)\n", true, &_init_f_operator_lt__c3253, &_call_f_operator_lt__c3253); - methods += new qt_gsi::GenericMethod ("<", "@brief Method bool QCborArray::Iterator::operator<(const QCborArray::ConstIterator &other)\n", true, &_init_f_operator_lt__c3772, &_call_f_operator_lt__c3772); - methods += new qt_gsi::GenericMethod ("<=", "@brief Method bool QCborArray::Iterator::operator<=(const QCborArray::Iterator &other)\n", true, &_init_f_operator_lt__eq__c3253, &_call_f_operator_lt__eq__c3253); - methods += new qt_gsi::GenericMethod ("<=", "@brief Method bool QCborArray::Iterator::operator<=(const QCborArray::ConstIterator &other)\n", true, &_init_f_operator_lt__eq__c3772, &_call_f_operator_lt__eq__c3772); - methods += new qt_gsi::GenericMethod ("assign", "@brief Method QCborArray::Iterator &QCborArray::Iterator::operator=(const QCborArray::Iterator &other)\n", false, &_init_f_operator_eq__3253, &_call_f_operator_eq__3253); - methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QCborArray::Iterator::operator==(const QCborArray::Iterator &o)\n", true, &_init_f_operator_eq__eq__c3253, &_call_f_operator_eq__eq__c3253); - methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QCborArray::Iterator::operator==(const QCborArray::ConstIterator &o)\n", true, &_init_f_operator_eq__eq__c3772, &_call_f_operator_eq__eq__c3772); - methods += new qt_gsi::GenericMethod (">", "@brief Method bool QCborArray::Iterator::operator>(const QCborArray::Iterator &other)\n", true, &_init_f_operator_gt__c3253, &_call_f_operator_gt__c3253); - methods += new qt_gsi::GenericMethod (">", "@brief Method bool QCborArray::Iterator::operator>(const QCborArray::ConstIterator &other)\n", true, &_init_f_operator_gt__c3772, &_call_f_operator_gt__c3772); - methods += new qt_gsi::GenericMethod (">=", "@brief Method bool QCborArray::Iterator::operator>=(const QCborArray::Iterator &other)\n", true, &_init_f_operator_gt__eq__c3253, &_call_f_operator_gt__eq__c3253); - methods += new qt_gsi::GenericMethod (">=", "@brief Method bool QCborArray::Iterator::operator>=(const QCborArray::ConstIterator &other)\n", true, &_init_f_operator_gt__eq__c3772, &_call_f_operator_gt__eq__c3772); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method QCborValueRef QCborArray::Iterator::operator[](qsizetype j)\n", false, &_init_f_operator_index__1442, &_call_f_operator_index__1442); - return methods; -} - -gsi::Class decl_QCborArray_Iterator ("QtCore", "QCborArray_Iterator", - methods_QCborArray_Iterator (), - "@qt\n@brief Binding of QCborArray::Iterator"); - -gsi::ClassExt decl_QCborArray_Iterator_as_child (decl_QCborArray_Iterator, "Iterator"); - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QCborArray_Iterator () { return decl_QCborArray_Iterator; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQCborError.cc b/src/gsiqt/qt6/QtCore/gsiDeclQCborError.cc deleted file mode 100644 index 1fcf230fc..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQCborError.cc +++ /dev/null @@ -1,88 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQCborError.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// struct QCborError - -// Constructor QCborError::QCborError() - - -static void _init_ctor_QCborError_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QCborError_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QCborError ()); -} - - -// QString QCborError::toString() - - -static void _init_f_toString_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toString_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QCborError *)cls)->toString ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QCborError () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborError::QCborError()\nThis method creates an object of class QCborError.", &_init_ctor_QCborError_0, &_call_ctor_QCborError_0); - methods += new qt_gsi::GenericMethod ("toString", "@brief Method QString QCborError::toString()\n", true, &_init_f_toString_c0, &_call_f_toString_c0); - return methods; -} - -gsi::Class decl_QCborError ("QtCore", "QCborError", - methods_QCborError (), - "@qt\n@brief Binding of QCborError"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QCborError () { return decl_QCborError; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQCborMap.cc b/src/gsiqt/qt6/QtCore/gsiDeclQCborMap.cc deleted file mode 100644 index 85047cbb2..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQCborMap.cc +++ /dev/null @@ -1,1465 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQCborMap.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QCborMap - -// Constructor QCborMap::QCborMap() - - -static void _init_ctor_QCborMap_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QCborMap_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QCborMap ()); -} - - -// Constructor QCborMap::QCborMap(const QCborMap &other) - - -static void _init_ctor_QCborMap_2070 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborMap_2070 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborMap (arg1)); -} - - -// QCborMap::Iterator QCborMap::begin() - - -static void _init_f_begin_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_begin_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborMap::Iterator)((QCborMap *)cls)->begin ()); -} - - -// QCborMap::ConstIterator QCborMap::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 ((QCborMap::ConstIterator)((QCborMap *)cls)->begin ()); -} - - -// QCborMap::ConstIterator QCborMap::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 ((QCborMap::ConstIterator)((QCborMap *)cls)->cbegin ()); -} - - -// QCborMap::ConstIterator QCborMap::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 ((QCborMap::ConstIterator)((QCborMap *)cls)->cend ()); -} - - -// void QCborMap::clear() - - -static void _init_f_clear_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clear_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborMap *)cls)->clear (); -} - - -// int QCborMap::compare(const QCborMap &other) - - -static void _init_f_compare_c2070 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_compare_c2070 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap &arg1 = gsi::arg_reader() (args, heap); - ret.write ((int)((QCborMap *)cls)->compare (arg1)); -} - - -// QCborMap::ConstIterator QCborMap::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 ((QCborMap::ConstIterator)((QCborMap *)cls)->constBegin ()); -} - - -// QCborMap::ConstIterator QCborMap::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 ((QCborMap::ConstIterator)((QCborMap *)cls)->constEnd ()); -} - - -// QCborMap::ConstIterator QCborMap::constFind(qint64 key) - - -static void _init_f_constFind_c986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_constFind_c986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::ConstIterator)((QCborMap *)cls)->constFind (arg1)); -} - - -// QCborMap::ConstIterator QCborMap::constFind(QLatin1String key) - - -static void _init_f_constFind_c1701 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_constFind_c1701 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::ConstIterator)((QCborMap *)cls)->constFind (arg1)); -} - - -// QCborMap::ConstIterator QCborMap::constFind(const QString &key) - - -static void _init_f_constFind_c2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_constFind_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::ConstIterator)((QCborMap *)cls)->constFind (arg1)); -} - - -// QCborMap::ConstIterator QCborMap::constFind(const QCborValue &key) - - -static void _init_f_constFind_c2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_constFind_c2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::ConstIterator)((QCborMap *)cls)->constFind (arg1)); -} - - -// bool QCborMap::contains(qint64 key) - - -static void _init_f_contains_c986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_contains_c986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap *)cls)->contains (arg1)); -} - - -// bool QCborMap::contains(QLatin1String key) - - -static void _init_f_contains_c1701 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_contains_c1701 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap *)cls)->contains (arg1)); -} - - -// bool QCborMap::contains(const QString &key) - - -static void _init_f_contains_c2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_contains_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap *)cls)->contains (arg1)); -} - - -// bool QCborMap::contains(const QCborValue &key) - - -static void _init_f_contains_c2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_contains_c2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap *)cls)->contains (arg1)); -} - - -// bool QCborMap::empty() - - -static void _init_f_empty_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_empty_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborMap *)cls)->empty ()); -} - - -// QCborMap::Iterator QCborMap::end() - - -static void _init_f_end_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_end_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborMap::Iterator)((QCborMap *)cls)->end ()); -} - - -// QCborMap::ConstIterator QCborMap::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 ((QCborMap::ConstIterator)((QCborMap *)cls)->end ()); -} - - -// QCborMap::Iterator QCborMap::erase(QCborMap::Iterator it) - - -static void _init_f_erase_2151 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("it"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_erase_2151 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCborMap::Iterator arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::Iterator)((QCborMap *)cls)->erase (arg1)); -} - - -// QCborMap::Iterator QCborMap::erase(QCborMap::ConstIterator it) - - -static void _init_f_erase_2670 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("it"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_erase_2670 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCborMap::ConstIterator arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::Iterator)((QCborMap *)cls)->erase (arg1)); -} - - -// QCborValue QCborMap::extract(QCborMap::Iterator it) - - -static void _init_f_extract_2151 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("it"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_extract_2151 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCborMap::Iterator arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValue)((QCborMap *)cls)->extract (arg1)); -} - - -// QCborValue QCborMap::extract(QCborMap::ConstIterator it) - - -static void _init_f_extract_2670 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("it"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_extract_2670 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCborMap::ConstIterator arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValue)((QCborMap *)cls)->extract (arg1)); -} - - -// QCborMap::Iterator QCborMap::find(qint64 key) - - -static void _init_f_find_986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_find_986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::Iterator)((QCborMap *)cls)->find (arg1)); -} - - -// QCborMap::Iterator QCborMap::find(QLatin1String key) - - -static void _init_f_find_1701 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_find_1701 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::Iterator)((QCborMap *)cls)->find (arg1)); -} - - -// QCborMap::Iterator QCborMap::find(const QString &key) - - -static void _init_f_find_2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_find_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::Iterator)((QCborMap *)cls)->find (arg1)); -} - - -// QCborMap::Iterator QCborMap::find(const QCborValue &key) - - -static void _init_f_find_2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_find_2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::Iterator)((QCborMap *)cls)->find (arg1)); -} - - -// QCborMap::ConstIterator QCborMap::find(qint64 key) - - -static void _init_f_find_c986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_find_c986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::ConstIterator)((QCborMap *)cls)->find (arg1)); -} - - -// QCborMap::ConstIterator QCborMap::find(QLatin1String key) - - -static void _init_f_find_c1701 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_find_c1701 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::ConstIterator)((QCborMap *)cls)->find (arg1)); -} - - -// QCborMap::ConstIterator QCborMap::find(const QString &key) - - -static void _init_f_find_c2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_find_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::ConstIterator)((QCborMap *)cls)->find (arg1)); -} - - -// QCborMap::ConstIterator QCborMap::find(const QCborValue &key) - - -static void _init_f_find_c2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_find_c2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::ConstIterator)((QCborMap *)cls)->find (arg1)); -} - - -// QCborMap::Iterator QCborMap::insert(qint64 key, const QCborValue &value_) - - -static void _init_f_insert_3171 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("value_"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_insert_3171 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - const QCborValue &arg2 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::Iterator)((QCborMap *)cls)->insert (arg1, arg2)); -} - - -// QCborMap::Iterator QCborMap::insert(QLatin1String key, const QCborValue &value_) - - -static void _init_f_insert_3886 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("value_"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_insert_3886 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - const QCborValue &arg2 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::Iterator)((QCborMap *)cls)->insert (arg1, arg2)); -} - - -// QCborMap::Iterator QCborMap::insert(const QString &key, const QCborValue &value_) - - -static void _init_f_insert_4210 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("value_"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_insert_4210 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - const QCborValue &arg2 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::Iterator)((QCborMap *)cls)->insert (arg1, arg2)); -} - - -// QCborMap::Iterator QCborMap::insert(const QCborValue &key, const QCborValue &value_) - - -static void _init_f_insert_4478 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("value_"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_insert_4478 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - const QCborValue &arg2 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::Iterator)((QCborMap *)cls)->insert (arg1, arg2)); -} - - -// QCborMap::Iterator QCborMap::insert(QPair v) - - -static void _init_f_insert_3183 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("v"); - decl->add_arg > (argspec_0); - decl->set_return (); -} - -static void _call_f_insert_3183 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QPair arg1 = gsi::arg_reader >() (args, heap); - ret.write ((QCborMap::Iterator)((QCborMap *)cls)->insert (arg1)); -} - - -// bool QCborMap::isEmpty() - - -static void _init_f_isEmpty_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isEmpty_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborMap *)cls)->isEmpty ()); -} - - -// QList QCborMap::keys() - - -static void _init_f_keys_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_keys_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QList)((QCborMap *)cls)->keys ()); -} - - -// bool QCborMap::operator!=(const QCborMap &other) - - -static void _init_f_operator_excl__eq__c2070 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_excl__eq__c2070 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap *)cls)->operator!= (arg1)); -} - - -// bool QCborMap::operator<(const QCborMap &other) - - -static void _init_f_operator_lt__c2070 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_lt__c2070 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap *)cls)->operator< (arg1)); -} - - -// QCborMap &QCborMap::operator=(const QCborMap &other) - - -static void _init_f_operator_eq__2070 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__2070 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap &)((QCborMap *)cls)->operator= (arg1)); -} - - -// bool QCborMap::operator==(const QCborMap &other) - - -static void _init_f_operator_eq__eq__c2070 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__eq__c2070 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap *)cls)->operator== (arg1)); -} - - -// const QCborValue QCborMap::operator[](qint64 key) - - -static void _init_f_operator_index__c986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__c986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - ret.write ((const QCborValue)((QCborMap *)cls)->operator[] (arg1)); -} - - -// const QCborValue QCborMap::operator[](QLatin1String key) - - -static void _init_f_operator_index__c1701 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__c1701 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - ret.write ((const QCborValue)((QCborMap *)cls)->operator[] (arg1)); -} - - -// const QCborValue QCborMap::operator[](const QString &key) - - -static void _init_f_operator_index__c2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((const QCborValue)((QCborMap *)cls)->operator[] (arg1)); -} - - -// const QCborValue QCborMap::operator[](const QCborValue &key) - - -static void _init_f_operator_index__c2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__c2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - ret.write ((const QCborValue)((QCborMap *)cls)->operator[] (arg1)); -} - - -// QCborValueRef QCborMap::operator[](qint64 key) - - -static void _init_f_operator_index__986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValueRef)((QCborMap *)cls)->operator[] (arg1)); -} - - -// QCborValueRef QCborMap::operator[](QLatin1String key) - - -static void _init_f_operator_index__1701 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__1701 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValueRef)((QCborMap *)cls)->operator[] (arg1)); -} - - -// QCborValueRef QCborMap::operator[](const QString &key) - - -static void _init_f_operator_index__2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValueRef)((QCborMap *)cls)->operator[] (arg1)); -} - - -// QCborValueRef QCborMap::operator[](const QCborValue &key) - - -static void _init_f_operator_index__2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValueRef)((QCborMap *)cls)->operator[] (arg1)); -} - - -// void QCborMap::remove(qint64 key) - - -static void _init_f_remove_986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_remove_986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborMap *)cls)->remove (arg1); -} - - -// void QCborMap::remove(QLatin1String key) - - -static void _init_f_remove_1701 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_remove_1701 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborMap *)cls)->remove (arg1); -} - - -// void QCborMap::remove(const QString &key) - - -static void _init_f_remove_2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_remove_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborMap *)cls)->remove (arg1); -} - - -// void QCborMap::remove(const QCborValue &key) - - -static void _init_f_remove_2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_remove_2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborMap *)cls)->remove (arg1); -} - - -// qsizetype QCborMap::size() - - -static void _init_f_size_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_size_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qsizetype)((QCborMap *)cls)->size ()); -} - - -// void QCborMap::swap(QCborMap &other) - - -static void _init_f_swap_1375 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_swap_1375 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCborMap &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborMap *)cls)->swap (arg1); -} - - -// QCborValue QCborMap::take(qint64 key) - - -static void _init_f_take_986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_take_986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValue)((QCborMap *)cls)->take (arg1)); -} - - -// QCborValue QCborMap::take(QLatin1String key) - - -static void _init_f_take_1701 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_take_1701 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValue)((QCborMap *)cls)->take (arg1)); -} - - -// QCborValue QCborMap::take(const QString &key) - - -static void _init_f_take_2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_take_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValue)((QCborMap *)cls)->take (arg1)); -} - - -// QCborValue QCborMap::take(const QCborValue &key) - - -static void _init_f_take_2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_take_2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValue)((QCborMap *)cls)->take (arg1)); -} - - -// QCborValue QCborMap::toCborValue() - - -static void _init_f_toCborValue_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toCborValue_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborValue)((QCborMap *)cls)->toCborValue ()); -} - - -// QJsonObject QCborMap::toJsonObject() - - -static void _init_f_toJsonObject_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toJsonObject_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QJsonObject)((QCborMap *)cls)->toJsonObject ()); -} - - -// QVariantHash QCborMap::toVariantHash() - - -static void _init_f_toVariantHash_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toVariantHash_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVariantHash)((QCborMap *)cls)->toVariantHash ()); -} - - -// QVariantMap QCborMap::toVariantMap() - - -static void _init_f_toVariantMap_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toVariantMap_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVariantMap)((QCborMap *)cls)->toVariantMap ()); -} - - -// QCborValue QCborMap::value(qint64 key) - - -static void _init_f_value_c986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_value_c986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValue)((QCborMap *)cls)->value (arg1)); -} - - -// QCborValue QCborMap::value(QLatin1String key) - - -static void _init_f_value_c1701 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_value_c1701 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValue)((QCborMap *)cls)->value (arg1)); -} - - -// QCborValue QCborMap::value(const QString &key) - - -static void _init_f_value_c2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_value_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValue)((QCborMap *)cls)->value (arg1)); -} - - -// QCborValue QCborMap::value(const QCborValue &key) - - -static void _init_f_value_c2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_value_c2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValue)((QCborMap *)cls)->value (arg1)); -} - - -// static QCborMap QCborMap::fromJsonObject(const QJsonObject &o) - - -static void _init_f_fromJsonObject_2403 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("o"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_fromJsonObject_2403 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QJsonObject &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap)QCborMap::fromJsonObject (arg1)); -} - - -// static QCborMap QCborMap::fromVariantHash(const QVariantHash &hash) - - -static void _init_f_fromVariantHash_2507 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("hash"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_fromVariantHash_2507 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QVariantHash &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap)QCborMap::fromVariantHash (arg1)); -} - - -// static QCborMap QCborMap::fromVariantMap(const QVariantMap &map) - - -static void _init_f_fromVariantMap_2405 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("map"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_fromVariantMap_2405 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QVariantMap &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap)QCborMap::fromVariantMap (arg1)); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QCborMap () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborMap::QCborMap()\nThis method creates an object of class QCborMap.", &_init_ctor_QCborMap_0, &_call_ctor_QCborMap_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborMap::QCborMap(const QCborMap &other)\nThis method creates an object of class QCborMap.", &_init_ctor_QCborMap_2070, &_call_ctor_QCborMap_2070); - methods += new qt_gsi::GenericMethod ("begin", "@brief Method QCborMap::Iterator QCborMap::begin()\n", false, &_init_f_begin_0, &_call_f_begin_0); - methods += new qt_gsi::GenericMethod ("begin", "@brief Method QCborMap::ConstIterator QCborMap::begin()\n", true, &_init_f_begin_c0, &_call_f_begin_c0); - methods += new qt_gsi::GenericMethod ("cbegin", "@brief Method QCborMap::ConstIterator QCborMap::cbegin()\n", true, &_init_f_cbegin_c0, &_call_f_cbegin_c0); - methods += new qt_gsi::GenericMethod ("cend", "@brief Method QCborMap::ConstIterator QCborMap::cend()\n", true, &_init_f_cend_c0, &_call_f_cend_c0); - methods += new qt_gsi::GenericMethod ("clear", "@brief Method void QCborMap::clear()\n", false, &_init_f_clear_0, &_call_f_clear_0); - methods += new qt_gsi::GenericMethod ("compare", "@brief Method int QCborMap::compare(const QCborMap &other)\n", true, &_init_f_compare_c2070, &_call_f_compare_c2070); - methods += new qt_gsi::GenericMethod ("constBegin", "@brief Method QCborMap::ConstIterator QCborMap::constBegin()\n", true, &_init_f_constBegin_c0, &_call_f_constBegin_c0); - methods += new qt_gsi::GenericMethod ("constEnd", "@brief Method QCborMap::ConstIterator QCborMap::constEnd()\n", true, &_init_f_constEnd_c0, &_call_f_constEnd_c0); - methods += new qt_gsi::GenericMethod ("constFind", "@brief Method QCborMap::ConstIterator QCborMap::constFind(qint64 key)\n", true, &_init_f_constFind_c986, &_call_f_constFind_c986); - methods += new qt_gsi::GenericMethod ("constFind", "@brief Method QCborMap::ConstIterator QCborMap::constFind(QLatin1String key)\n", true, &_init_f_constFind_c1701, &_call_f_constFind_c1701); - methods += new qt_gsi::GenericMethod ("constFind", "@brief Method QCborMap::ConstIterator QCborMap::constFind(const QString &key)\n", true, &_init_f_constFind_c2025, &_call_f_constFind_c2025); - methods += new qt_gsi::GenericMethod ("constFind", "@brief Method QCborMap::ConstIterator QCborMap::constFind(const QCborValue &key)\n", true, &_init_f_constFind_c2293, &_call_f_constFind_c2293); - methods += new qt_gsi::GenericMethod ("contains", "@brief Method bool QCborMap::contains(qint64 key)\n", true, &_init_f_contains_c986, &_call_f_contains_c986); - methods += new qt_gsi::GenericMethod ("contains", "@brief Method bool QCborMap::contains(QLatin1String key)\n", true, &_init_f_contains_c1701, &_call_f_contains_c1701); - methods += new qt_gsi::GenericMethod ("contains", "@brief Method bool QCborMap::contains(const QString &key)\n", true, &_init_f_contains_c2025, &_call_f_contains_c2025); - methods += new qt_gsi::GenericMethod ("contains", "@brief Method bool QCborMap::contains(const QCborValue &key)\n", true, &_init_f_contains_c2293, &_call_f_contains_c2293); - methods += new qt_gsi::GenericMethod ("empty", "@brief Method bool QCborMap::empty()\n", true, &_init_f_empty_c0, &_call_f_empty_c0); - methods += new qt_gsi::GenericMethod ("end", "@brief Method QCborMap::Iterator QCborMap::end()\n", false, &_init_f_end_0, &_call_f_end_0); - methods += new qt_gsi::GenericMethod ("end", "@brief Method QCborMap::ConstIterator QCborMap::end()\n", true, &_init_f_end_c0, &_call_f_end_c0); - methods += new qt_gsi::GenericMethod ("erase", "@brief Method QCborMap::Iterator QCborMap::erase(QCborMap::Iterator it)\n", false, &_init_f_erase_2151, &_call_f_erase_2151); - methods += new qt_gsi::GenericMethod ("erase", "@brief Method QCborMap::Iterator QCborMap::erase(QCborMap::ConstIterator it)\n", false, &_init_f_erase_2670, &_call_f_erase_2670); - methods += new qt_gsi::GenericMethod ("extract", "@brief Method QCborValue QCborMap::extract(QCborMap::Iterator it)\n", false, &_init_f_extract_2151, &_call_f_extract_2151); - methods += new qt_gsi::GenericMethod ("extract", "@brief Method QCborValue QCborMap::extract(QCborMap::ConstIterator it)\n", false, &_init_f_extract_2670, &_call_f_extract_2670); - methods += new qt_gsi::GenericMethod ("find", "@brief Method QCborMap::Iterator QCborMap::find(qint64 key)\n", false, &_init_f_find_986, &_call_f_find_986); - methods += new qt_gsi::GenericMethod ("find", "@brief Method QCborMap::Iterator QCborMap::find(QLatin1String key)\n", false, &_init_f_find_1701, &_call_f_find_1701); - methods += new qt_gsi::GenericMethod ("find", "@brief Method QCborMap::Iterator QCborMap::find(const QString &key)\n", false, &_init_f_find_2025, &_call_f_find_2025); - methods += new qt_gsi::GenericMethod ("find", "@brief Method QCborMap::Iterator QCborMap::find(const QCborValue &key)\n", false, &_init_f_find_2293, &_call_f_find_2293); - methods += new qt_gsi::GenericMethod ("find", "@brief Method QCborMap::ConstIterator QCborMap::find(qint64 key)\n", true, &_init_f_find_c986, &_call_f_find_c986); - methods += new qt_gsi::GenericMethod ("find", "@brief Method QCborMap::ConstIterator QCborMap::find(QLatin1String key)\n", true, &_init_f_find_c1701, &_call_f_find_c1701); - methods += new qt_gsi::GenericMethod ("find", "@brief Method QCborMap::ConstIterator QCborMap::find(const QString &key)\n", true, &_init_f_find_c2025, &_call_f_find_c2025); - methods += new qt_gsi::GenericMethod ("find", "@brief Method QCborMap::ConstIterator QCborMap::find(const QCborValue &key)\n", true, &_init_f_find_c2293, &_call_f_find_c2293); - methods += new qt_gsi::GenericMethod ("insert", "@brief Method QCborMap::Iterator QCborMap::insert(qint64 key, const QCborValue &value_)\n", false, &_init_f_insert_3171, &_call_f_insert_3171); - methods += new qt_gsi::GenericMethod ("insert", "@brief Method QCborMap::Iterator QCborMap::insert(QLatin1String key, const QCborValue &value_)\n", false, &_init_f_insert_3886, &_call_f_insert_3886); - methods += new qt_gsi::GenericMethod ("insert", "@brief Method QCborMap::Iterator QCborMap::insert(const QString &key, const QCborValue &value_)\n", false, &_init_f_insert_4210, &_call_f_insert_4210); - methods += new qt_gsi::GenericMethod ("insert", "@brief Method QCborMap::Iterator QCborMap::insert(const QCborValue &key, const QCborValue &value_)\n", false, &_init_f_insert_4478, &_call_f_insert_4478); - methods += new qt_gsi::GenericMethod ("insert", "@brief Method QCborMap::Iterator QCborMap::insert(QPair v)\n", false, &_init_f_insert_3183, &_call_f_insert_3183); - methods += new qt_gsi::GenericMethod ("isEmpty?", "@brief Method bool QCborMap::isEmpty()\n", true, &_init_f_isEmpty_c0, &_call_f_isEmpty_c0); - methods += new qt_gsi::GenericMethod ("keys", "@brief Method QList QCborMap::keys()\n", true, &_init_f_keys_c0, &_call_f_keys_c0); - methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QCborMap::operator!=(const QCborMap &other)\n", true, &_init_f_operator_excl__eq__c2070, &_call_f_operator_excl__eq__c2070); - methods += new qt_gsi::GenericMethod ("<", "@brief Method bool QCborMap::operator<(const QCborMap &other)\n", true, &_init_f_operator_lt__c2070, &_call_f_operator_lt__c2070); - methods += new qt_gsi::GenericMethod ("assign", "@brief Method QCborMap &QCborMap::operator=(const QCborMap &other)\n", false, &_init_f_operator_eq__2070, &_call_f_operator_eq__2070); - methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QCborMap::operator==(const QCborMap &other)\n", true, &_init_f_operator_eq__eq__c2070, &_call_f_operator_eq__eq__c2070); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method const QCborValue QCborMap::operator[](qint64 key)\n", true, &_init_f_operator_index__c986, &_call_f_operator_index__c986); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method const QCborValue QCborMap::operator[](QLatin1String key)\n", true, &_init_f_operator_index__c1701, &_call_f_operator_index__c1701); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method const QCborValue QCborMap::operator[](const QString &key)\n", true, &_init_f_operator_index__c2025, &_call_f_operator_index__c2025); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method const QCborValue QCborMap::operator[](const QCborValue &key)\n", true, &_init_f_operator_index__c2293, &_call_f_operator_index__c2293); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method QCborValueRef QCborMap::operator[](qint64 key)\n", false, &_init_f_operator_index__986, &_call_f_operator_index__986); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method QCborValueRef QCborMap::operator[](QLatin1String key)\n", false, &_init_f_operator_index__1701, &_call_f_operator_index__1701); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method QCborValueRef QCborMap::operator[](const QString &key)\n", false, &_init_f_operator_index__2025, &_call_f_operator_index__2025); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method QCborValueRef QCborMap::operator[](const QCborValue &key)\n", false, &_init_f_operator_index__2293, &_call_f_operator_index__2293); - methods += new qt_gsi::GenericMethod ("remove", "@brief Method void QCborMap::remove(qint64 key)\n", false, &_init_f_remove_986, &_call_f_remove_986); - methods += new qt_gsi::GenericMethod ("remove", "@brief Method void QCborMap::remove(QLatin1String key)\n", false, &_init_f_remove_1701, &_call_f_remove_1701); - methods += new qt_gsi::GenericMethod ("remove", "@brief Method void QCborMap::remove(const QString &key)\n", false, &_init_f_remove_2025, &_call_f_remove_2025); - methods += new qt_gsi::GenericMethod ("remove", "@brief Method void QCborMap::remove(const QCborValue &key)\n", false, &_init_f_remove_2293, &_call_f_remove_2293); - methods += new qt_gsi::GenericMethod ("size", "@brief Method qsizetype QCborMap::size()\n", true, &_init_f_size_c0, &_call_f_size_c0); - methods += new qt_gsi::GenericMethod ("swap", "@brief Method void QCborMap::swap(QCborMap &other)\n", false, &_init_f_swap_1375, &_call_f_swap_1375); - methods += new qt_gsi::GenericMethod ("take", "@brief Method QCborValue QCborMap::take(qint64 key)\n", false, &_init_f_take_986, &_call_f_take_986); - methods += new qt_gsi::GenericMethod ("take", "@brief Method QCborValue QCborMap::take(QLatin1String key)\n", false, &_init_f_take_1701, &_call_f_take_1701); - methods += new qt_gsi::GenericMethod ("take", "@brief Method QCborValue QCborMap::take(const QString &key)\n", false, &_init_f_take_2025, &_call_f_take_2025); - methods += new qt_gsi::GenericMethod ("take", "@brief Method QCborValue QCborMap::take(const QCborValue &key)\n", false, &_init_f_take_2293, &_call_f_take_2293); - methods += new qt_gsi::GenericMethod ("toCborValue", "@brief Method QCborValue QCborMap::toCborValue()\n", true, &_init_f_toCborValue_c0, &_call_f_toCborValue_c0); - methods += new qt_gsi::GenericMethod ("toJsonObject", "@brief Method QJsonObject QCborMap::toJsonObject()\n", true, &_init_f_toJsonObject_c0, &_call_f_toJsonObject_c0); - methods += new qt_gsi::GenericMethod ("toVariantHash", "@brief Method QVariantHash QCborMap::toVariantHash()\n", true, &_init_f_toVariantHash_c0, &_call_f_toVariantHash_c0); - methods += new qt_gsi::GenericMethod ("toVariantMap", "@brief Method QVariantMap QCborMap::toVariantMap()\n", true, &_init_f_toVariantMap_c0, &_call_f_toVariantMap_c0); - methods += new qt_gsi::GenericMethod ("value", "@brief Method QCborValue QCborMap::value(qint64 key)\n", true, &_init_f_value_c986, &_call_f_value_c986); - methods += new qt_gsi::GenericMethod ("value", "@brief Method QCborValue QCborMap::value(QLatin1String key)\n", true, &_init_f_value_c1701, &_call_f_value_c1701); - methods += new qt_gsi::GenericMethod ("value", "@brief Method QCborValue QCborMap::value(const QString &key)\n", true, &_init_f_value_c2025, &_call_f_value_c2025); - methods += new qt_gsi::GenericMethod ("value", "@brief Method QCborValue QCborMap::value(const QCborValue &key)\n", true, &_init_f_value_c2293, &_call_f_value_c2293); - methods += new qt_gsi::GenericStaticMethod ("fromJsonObject", "@brief Static method QCborMap QCborMap::fromJsonObject(const QJsonObject &o)\nThis method is static and can be called without an instance.", &_init_f_fromJsonObject_2403, &_call_f_fromJsonObject_2403); - methods += new qt_gsi::GenericStaticMethod ("fromVariantHash", "@brief Static method QCborMap QCborMap::fromVariantHash(const QVariantHash &hash)\nThis method is static and can be called without an instance.", &_init_f_fromVariantHash_2507, &_call_f_fromVariantHash_2507); - methods += new qt_gsi::GenericStaticMethod ("fromVariantMap", "@brief Static method QCborMap QCborMap::fromVariantMap(const QVariantMap &map)\nThis method is static and can be called without an instance.", &_init_f_fromVariantMap_2405, &_call_f_fromVariantMap_2405); - return methods; -} - -gsi::Class decl_QCborMap ("QtCore", "QCborMap", - methods_QCborMap (), - "@qt\n@brief Binding of QCborMap"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QCborMap () { return decl_QCborMap; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQCborMap_ConstIterator.cc b/src/gsiqt/qt6/QtCore/gsiDeclQCborMap_ConstIterator.cc deleted file mode 100644 index fb8e59b92..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQCborMap_ConstIterator.cc +++ /dev/null @@ -1,591 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQCborMap_ConstIterator.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QCborMap::ConstIterator - -// Constructor QCborMap::ConstIterator::ConstIterator() - - -static void _init_ctor_QCborMap_ConstIterator_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QCborMap_ConstIterator_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QCborMap::ConstIterator ()); -} - - -// Constructor QCborMap::ConstIterator::ConstIterator(const QCborMap::ConstIterator &) - - -static void _init_ctor_QCborMap_ConstIterator_3547 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborMap_ConstIterator_3547 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborMap::ConstIterator (arg1)); -} - - -// QCborValue QCborMap::ConstIterator::key() - - -static void _init_f_key_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_key_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborValue)((QCborMap::ConstIterator *)cls)->key ()); -} - - -// bool QCborMap::ConstIterator::operator!=(const QCborMap::Iterator &o) - - -static void _init_f_operator_excl__eq__c3028 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("o"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_excl__eq__c3028 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap::ConstIterator *)cls)->operator!= (arg1)); -} - - -// bool QCborMap::ConstIterator::operator!=(const QCborMap::ConstIterator &o) - - -static void _init_f_operator_excl__eq__c3547 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("o"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_excl__eq__c3547 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap::ConstIterator *)cls)->operator!= (arg1)); -} - - -// QPair QCborMap::ConstIterator::operator*() - - -static void _init_f_operator_star__c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_operator_star__c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QPair)((QCborMap::ConstIterator *)cls)->operator* ()); -} - - -// QCborMap::ConstIterator QCborMap::ConstIterator::operator+(qsizetype j) - - -static void _init_f_operator_plus__c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("j"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_plus__c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::ConstIterator)((QCborMap::ConstIterator *)cls)->operator+ (arg1)); -} - - -// QCborMap::ConstIterator &QCborMap::ConstIterator::operator++() - - -static void _init_f_operator_plus__plus__0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_plus__plus__0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborMap::ConstIterator &)((QCborMap::ConstIterator *)cls)->operator++ ()); -} - - -// QCborMap::ConstIterator QCborMap::ConstIterator::operator++(int) - - -static void _init_f_operator_plus__plus__767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_plus__plus__767 (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 ((QCborMap::ConstIterator)((QCborMap::ConstIterator *)cls)->operator++ (arg1)); -} - - -// QCborMap::ConstIterator &QCborMap::ConstIterator::operator+=(qsizetype j) - - -static void _init_f_operator_plus__eq__1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("j"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_plus__eq__1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::ConstIterator &)((QCborMap::ConstIterator *)cls)->operator+= (arg1)); -} - - -// QCborMap::ConstIterator QCborMap::ConstIterator::operator-(qsizetype j) - - -static void _init_f_operator_minus__c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("j"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_minus__c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::ConstIterator)((QCborMap::ConstIterator *)cls)->operator- (arg1)); -} - - -// qsizetype QCborMap::ConstIterator::operator-(QCborMap::ConstIterator j) - - -static void _init_f_operator_minus__c2670 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("j"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_minus__c2670 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCborMap::ConstIterator arg1 = gsi::arg_reader() (args, heap); - ret.write ((qsizetype)((QCborMap::ConstIterator *)cls)->operator- (arg1)); -} - - -// QCborMap::ConstIterator &QCborMap::ConstIterator::operator--() - - -static void _init_f_operator_minus__minus__0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_minus__minus__0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborMap::ConstIterator &)((QCborMap::ConstIterator *)cls)->operator-- ()); -} - - -// QCborMap::ConstIterator QCborMap::ConstIterator::operator--(int) - - -static void _init_f_operator_minus__minus__767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_minus__minus__767 (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 ((QCborMap::ConstIterator)((QCborMap::ConstIterator *)cls)->operator-- (arg1)); -} - - -// QCborMap::ConstIterator &QCborMap::ConstIterator::operator-=(qsizetype j) - - -static void _init_f_operator_minus__eq__1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("j"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_minus__eq__1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::ConstIterator &)((QCborMap::ConstIterator *)cls)->operator-= (arg1)); -} - - -// const QCborValueRef *QCborMap::ConstIterator::operator->() - - -static void _init_f_operator_minus__gt__c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_minus__gt__c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((const QCborValueRef *)((QCborMap::ConstIterator *)cls)->operator-> ()); -} - - -// bool QCborMap::ConstIterator::operator<(const QCborMap::Iterator &other) - - -static void _init_f_operator_lt__c3028 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_lt__c3028 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap::ConstIterator *)cls)->operator< (arg1)); -} - - -// bool QCborMap::ConstIterator::operator<(const QCborMap::ConstIterator &other) - - -static void _init_f_operator_lt__c3547 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_lt__c3547 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap::ConstIterator *)cls)->operator< (arg1)); -} - - -// bool QCborMap::ConstIterator::operator<=(const QCborMap::Iterator &other) - - -static void _init_f_operator_lt__eq__c3028 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_lt__eq__c3028 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap::ConstIterator *)cls)->operator<= (arg1)); -} - - -// bool QCborMap::ConstIterator::operator<=(const QCborMap::ConstIterator &other) - - -static void _init_f_operator_lt__eq__c3547 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_lt__eq__c3547 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap::ConstIterator *)cls)->operator<= (arg1)); -} - - -// QCborMap::ConstIterator &QCborMap::ConstIterator::operator=(const QCborMap::ConstIterator &other) - - -static void _init_f_operator_eq__3547 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__3547 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::ConstIterator &)((QCborMap::ConstIterator *)cls)->operator= (arg1)); -} - - -// bool QCborMap::ConstIterator::operator==(const QCborMap::Iterator &o) - - -static void _init_f_operator_eq__eq__c3028 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("o"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__eq__c3028 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap::ConstIterator *)cls)->operator== (arg1)); -} - - -// bool QCborMap::ConstIterator::operator==(const QCborMap::ConstIterator &o) - - -static void _init_f_operator_eq__eq__c3547 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("o"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__eq__c3547 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap::ConstIterator *)cls)->operator== (arg1)); -} - - -// bool QCborMap::ConstIterator::operator>(const QCborMap::Iterator &other) - - -static void _init_f_operator_gt__c3028 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_gt__c3028 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap::ConstIterator *)cls)->operator> (arg1)); -} - - -// bool QCborMap::ConstIterator::operator>(const QCborMap::ConstIterator &other) - - -static void _init_f_operator_gt__c3547 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_gt__c3547 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap::ConstIterator *)cls)->operator> (arg1)); -} - - -// bool QCborMap::ConstIterator::operator>=(const QCborMap::Iterator &other) - - -static void _init_f_operator_gt__eq__c3028 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_gt__eq__c3028 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap::ConstIterator *)cls)->operator>= (arg1)); -} - - -// bool QCborMap::ConstIterator::operator>=(const QCborMap::ConstIterator &other) - - -static void _init_f_operator_gt__eq__c3547 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_gt__eq__c3547 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap::ConstIterator *)cls)->operator>= (arg1)); -} - - -// QCborValueRef QCborMap::ConstIterator::value() - - -static void _init_f_value_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_value_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborValueRef)((QCborMap::ConstIterator *)cls)->value ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QCborMap_ConstIterator () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborMap::ConstIterator::ConstIterator()\nThis method creates an object of class QCborMap::ConstIterator.", &_init_ctor_QCborMap_ConstIterator_0, &_call_ctor_QCborMap_ConstIterator_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborMap::ConstIterator::ConstIterator(const QCborMap::ConstIterator &)\nThis method creates an object of class QCborMap::ConstIterator.", &_init_ctor_QCborMap_ConstIterator_3547, &_call_ctor_QCborMap_ConstIterator_3547); - methods += new qt_gsi::GenericMethod ("key", "@brief Method QCborValue QCborMap::ConstIterator::key()\n", true, &_init_f_key_c0, &_call_f_key_c0); - methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QCborMap::ConstIterator::operator!=(const QCborMap::Iterator &o)\n", true, &_init_f_operator_excl__eq__c3028, &_call_f_operator_excl__eq__c3028); - methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QCborMap::ConstIterator::operator!=(const QCborMap::ConstIterator &o)\n", true, &_init_f_operator_excl__eq__c3547, &_call_f_operator_excl__eq__c3547); - methods += new qt_gsi::GenericMethod ("*", "@brief Method QPair QCborMap::ConstIterator::operator*()\n", true, &_init_f_operator_star__c0, &_call_f_operator_star__c0); - methods += new qt_gsi::GenericMethod ("+", "@brief Method QCborMap::ConstIterator QCborMap::ConstIterator::operator+(qsizetype j)\n", true, &_init_f_operator_plus__c1442, &_call_f_operator_plus__c1442); - methods += new qt_gsi::GenericMethod ("++", "@brief Method QCborMap::ConstIterator &QCborMap::ConstIterator::operator++()\n", false, &_init_f_operator_plus__plus__0, &_call_f_operator_plus__plus__0); - methods += new qt_gsi::GenericMethod ("++", "@brief Method QCborMap::ConstIterator QCborMap::ConstIterator::operator++(int)\n", false, &_init_f_operator_plus__plus__767, &_call_f_operator_plus__plus__767); - methods += new qt_gsi::GenericMethod ("+=", "@brief Method QCborMap::ConstIterator &QCborMap::ConstIterator::operator+=(qsizetype j)\n", false, &_init_f_operator_plus__eq__1442, &_call_f_operator_plus__eq__1442); - methods += new qt_gsi::GenericMethod ("-", "@brief Method QCborMap::ConstIterator QCborMap::ConstIterator::operator-(qsizetype j)\n", true, &_init_f_operator_minus__c1442, &_call_f_operator_minus__c1442); - methods += new qt_gsi::GenericMethod ("-", "@brief Method qsizetype QCborMap::ConstIterator::operator-(QCborMap::ConstIterator j)\n", true, &_init_f_operator_minus__c2670, &_call_f_operator_minus__c2670); - methods += new qt_gsi::GenericMethod ("--", "@brief Method QCborMap::ConstIterator &QCborMap::ConstIterator::operator--()\n", false, &_init_f_operator_minus__minus__0, &_call_f_operator_minus__minus__0); - methods += new qt_gsi::GenericMethod ("--", "@brief Method QCborMap::ConstIterator QCborMap::ConstIterator::operator--(int)\n", false, &_init_f_operator_minus__minus__767, &_call_f_operator_minus__minus__767); - methods += new qt_gsi::GenericMethod ("-=", "@brief Method QCborMap::ConstIterator &QCborMap::ConstIterator::operator-=(qsizetype j)\n", false, &_init_f_operator_minus__eq__1442, &_call_f_operator_minus__eq__1442); - methods += new qt_gsi::GenericMethod ("->", "@brief Method const QCborValueRef *QCborMap::ConstIterator::operator->()\n", true, &_init_f_operator_minus__gt__c0, &_call_f_operator_minus__gt__c0); - methods += new qt_gsi::GenericMethod ("<", "@brief Method bool QCborMap::ConstIterator::operator<(const QCborMap::Iterator &other)\n", true, &_init_f_operator_lt__c3028, &_call_f_operator_lt__c3028); - methods += new qt_gsi::GenericMethod ("<", "@brief Method bool QCborMap::ConstIterator::operator<(const QCborMap::ConstIterator &other)\n", true, &_init_f_operator_lt__c3547, &_call_f_operator_lt__c3547); - methods += new qt_gsi::GenericMethod ("<=", "@brief Method bool QCborMap::ConstIterator::operator<=(const QCborMap::Iterator &other)\n", true, &_init_f_operator_lt__eq__c3028, &_call_f_operator_lt__eq__c3028); - methods += new qt_gsi::GenericMethod ("<=", "@brief Method bool QCborMap::ConstIterator::operator<=(const QCborMap::ConstIterator &other)\n", true, &_init_f_operator_lt__eq__c3547, &_call_f_operator_lt__eq__c3547); - methods += new qt_gsi::GenericMethod ("assign", "@brief Method QCborMap::ConstIterator &QCborMap::ConstIterator::operator=(const QCborMap::ConstIterator &other)\n", false, &_init_f_operator_eq__3547, &_call_f_operator_eq__3547); - methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QCborMap::ConstIterator::operator==(const QCborMap::Iterator &o)\n", true, &_init_f_operator_eq__eq__c3028, &_call_f_operator_eq__eq__c3028); - methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QCborMap::ConstIterator::operator==(const QCborMap::ConstIterator &o)\n", true, &_init_f_operator_eq__eq__c3547, &_call_f_operator_eq__eq__c3547); - methods += new qt_gsi::GenericMethod (">", "@brief Method bool QCborMap::ConstIterator::operator>(const QCborMap::Iterator &other)\n", true, &_init_f_operator_gt__c3028, &_call_f_operator_gt__c3028); - methods += new qt_gsi::GenericMethod (">", "@brief Method bool QCborMap::ConstIterator::operator>(const QCborMap::ConstIterator &other)\n", true, &_init_f_operator_gt__c3547, &_call_f_operator_gt__c3547); - methods += new qt_gsi::GenericMethod (">=", "@brief Method bool QCborMap::ConstIterator::operator>=(const QCborMap::Iterator &other)\n", true, &_init_f_operator_gt__eq__c3028, &_call_f_operator_gt__eq__c3028); - methods += new qt_gsi::GenericMethod (">=", "@brief Method bool QCborMap::ConstIterator::operator>=(const QCborMap::ConstIterator &other)\n", true, &_init_f_operator_gt__eq__c3547, &_call_f_operator_gt__eq__c3547); - methods += new qt_gsi::GenericMethod ("value", "@brief Method QCborValueRef QCborMap::ConstIterator::value()\n", true, &_init_f_value_c0, &_call_f_value_c0); - return methods; -} - -gsi::Class decl_QCborMap_ConstIterator ("QtCore", "QCborMap_ConstIterator", - methods_QCborMap_ConstIterator (), - "@qt\n@brief Binding of QCborMap::ConstIterator"); - -gsi::ClassExt decl_QCborMap_ConstIterator_as_child (decl_QCborMap_ConstIterator, "ConstIterator"); - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QCborMap_ConstIterator () { return decl_QCborMap_ConstIterator; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQCborMap_Iterator.cc b/src/gsiqt/qt6/QtCore/gsiDeclQCborMap_Iterator.cc deleted file mode 100644 index 513dadb14..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQCborMap_Iterator.cc +++ /dev/null @@ -1,591 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQCborMap_Iterator.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QCborMap::Iterator - -// Constructor QCborMap::Iterator::Iterator() - - -static void _init_ctor_QCborMap_Iterator_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QCborMap_Iterator_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QCborMap::Iterator ()); -} - - -// Constructor QCborMap::Iterator::Iterator(const QCborMap::Iterator &) - - -static void _init_ctor_QCborMap_Iterator_3028 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborMap_Iterator_3028 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborMap::Iterator (arg1)); -} - - -// QCborValue QCborMap::Iterator::key() - - -static void _init_f_key_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_key_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborValue)((QCborMap::Iterator *)cls)->key ()); -} - - -// bool QCborMap::Iterator::operator!=(const QCborMap::Iterator &o) - - -static void _init_f_operator_excl__eq__c3028 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("o"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_excl__eq__c3028 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap::Iterator *)cls)->operator!= (arg1)); -} - - -// bool QCborMap::Iterator::operator!=(const QCborMap::ConstIterator &o) - - -static void _init_f_operator_excl__eq__c3547 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("o"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_excl__eq__c3547 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap::Iterator *)cls)->operator!= (arg1)); -} - - -// QPair QCborMap::Iterator::operator*() - - -static void _init_f_operator_star__c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_operator_star__c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QPair)((QCborMap::Iterator *)cls)->operator* ()); -} - - -// QCborMap::Iterator QCborMap::Iterator::operator+(qsizetype j) - - -static void _init_f_operator_plus__c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("j"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_plus__c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::Iterator)((QCborMap::Iterator *)cls)->operator+ (arg1)); -} - - -// QCborMap::Iterator &QCborMap::Iterator::operator++() - - -static void _init_f_operator_plus__plus__0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_plus__plus__0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborMap::Iterator &)((QCborMap::Iterator *)cls)->operator++ ()); -} - - -// QCborMap::Iterator QCborMap::Iterator::operator++(int) - - -static void _init_f_operator_plus__plus__767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_plus__plus__767 (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 ((QCborMap::Iterator)((QCborMap::Iterator *)cls)->operator++ (arg1)); -} - - -// QCborMap::Iterator &QCborMap::Iterator::operator+=(qsizetype j) - - -static void _init_f_operator_plus__eq__1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("j"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_plus__eq__1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::Iterator &)((QCborMap::Iterator *)cls)->operator+= (arg1)); -} - - -// QCborMap::Iterator QCborMap::Iterator::operator-(qsizetype j) - - -static void _init_f_operator_minus__c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("j"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_minus__c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::Iterator)((QCborMap::Iterator *)cls)->operator- (arg1)); -} - - -// qsizetype QCborMap::Iterator::operator-(QCborMap::Iterator j) - - -static void _init_f_operator_minus__c2151 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("j"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_minus__c2151 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCborMap::Iterator arg1 = gsi::arg_reader() (args, heap); - ret.write ((qsizetype)((QCborMap::Iterator *)cls)->operator- (arg1)); -} - - -// QCborMap::Iterator &QCborMap::Iterator::operator--() - - -static void _init_f_operator_minus__minus__0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_minus__minus__0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborMap::Iterator &)((QCborMap::Iterator *)cls)->operator-- ()); -} - - -// QCborMap::Iterator QCborMap::Iterator::operator--(int) - - -static void _init_f_operator_minus__minus__767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_minus__minus__767 (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 ((QCborMap::Iterator)((QCborMap::Iterator *)cls)->operator-- (arg1)); -} - - -// QCborMap::Iterator &QCborMap::Iterator::operator-=(qsizetype j) - - -static void _init_f_operator_minus__eq__1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("j"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_minus__eq__1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::Iterator &)((QCborMap::Iterator *)cls)->operator-= (arg1)); -} - - -// QCborValueRef *QCborMap::Iterator::operator->() - - -static void _init_f_operator_minus__gt__c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_minus__gt__c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborValueRef *)((QCborMap::Iterator *)cls)->operator-> ()); -} - - -// bool QCborMap::Iterator::operator<(const QCborMap::Iterator &other) - - -static void _init_f_operator_lt__c3028 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_lt__c3028 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap::Iterator *)cls)->operator< (arg1)); -} - - -// bool QCborMap::Iterator::operator<(const QCborMap::ConstIterator &other) - - -static void _init_f_operator_lt__c3547 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_lt__c3547 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap::Iterator *)cls)->operator< (arg1)); -} - - -// bool QCborMap::Iterator::operator<=(const QCborMap::Iterator &other) - - -static void _init_f_operator_lt__eq__c3028 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_lt__eq__c3028 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap::Iterator *)cls)->operator<= (arg1)); -} - - -// bool QCborMap::Iterator::operator<=(const QCborMap::ConstIterator &other) - - -static void _init_f_operator_lt__eq__c3547 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_lt__eq__c3547 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap::Iterator *)cls)->operator<= (arg1)); -} - - -// QCborMap::Iterator &QCborMap::Iterator::operator=(const QCborMap::Iterator &other) - - -static void _init_f_operator_eq__3028 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__3028 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap::Iterator &)((QCborMap::Iterator *)cls)->operator= (arg1)); -} - - -// bool QCborMap::Iterator::operator==(const QCborMap::Iterator &o) - - -static void _init_f_operator_eq__eq__c3028 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("o"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__eq__c3028 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap::Iterator *)cls)->operator== (arg1)); -} - - -// bool QCborMap::Iterator::operator==(const QCborMap::ConstIterator &o) - - -static void _init_f_operator_eq__eq__c3547 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("o"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__eq__c3547 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap::Iterator *)cls)->operator== (arg1)); -} - - -// bool QCborMap::Iterator::operator>(const QCborMap::Iterator &other) - - -static void _init_f_operator_gt__c3028 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_gt__c3028 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap::Iterator *)cls)->operator> (arg1)); -} - - -// bool QCborMap::Iterator::operator>(const QCborMap::ConstIterator &other) - - -static void _init_f_operator_gt__c3547 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_gt__c3547 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap::Iterator *)cls)->operator> (arg1)); -} - - -// bool QCborMap::Iterator::operator>=(const QCborMap::Iterator &other) - - -static void _init_f_operator_gt__eq__c3028 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_gt__eq__c3028 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::Iterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap::Iterator *)cls)->operator>= (arg1)); -} - - -// bool QCborMap::Iterator::operator>=(const QCborMap::ConstIterator &other) - - -static void _init_f_operator_gt__eq__c3547 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_gt__eq__c3547 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap::ConstIterator &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborMap::Iterator *)cls)->operator>= (arg1)); -} - - -// QCborValueRef QCborMap::Iterator::value() - - -static void _init_f_value_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_value_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborValueRef)((QCborMap::Iterator *)cls)->value ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QCborMap_Iterator () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborMap::Iterator::Iterator()\nThis method creates an object of class QCborMap::Iterator.", &_init_ctor_QCborMap_Iterator_0, &_call_ctor_QCborMap_Iterator_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborMap::Iterator::Iterator(const QCborMap::Iterator &)\nThis method creates an object of class QCborMap::Iterator.", &_init_ctor_QCborMap_Iterator_3028, &_call_ctor_QCborMap_Iterator_3028); - methods += new qt_gsi::GenericMethod ("key", "@brief Method QCborValue QCborMap::Iterator::key()\n", true, &_init_f_key_c0, &_call_f_key_c0); - methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QCborMap::Iterator::operator!=(const QCborMap::Iterator &o)\n", true, &_init_f_operator_excl__eq__c3028, &_call_f_operator_excl__eq__c3028); - methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QCborMap::Iterator::operator!=(const QCborMap::ConstIterator &o)\n", true, &_init_f_operator_excl__eq__c3547, &_call_f_operator_excl__eq__c3547); - methods += new qt_gsi::GenericMethod ("*", "@brief Method QPair QCborMap::Iterator::operator*()\n", true, &_init_f_operator_star__c0, &_call_f_operator_star__c0); - methods += new qt_gsi::GenericMethod ("+", "@brief Method QCborMap::Iterator QCborMap::Iterator::operator+(qsizetype j)\n", true, &_init_f_operator_plus__c1442, &_call_f_operator_plus__c1442); - methods += new qt_gsi::GenericMethod ("++", "@brief Method QCborMap::Iterator &QCborMap::Iterator::operator++()\n", false, &_init_f_operator_plus__plus__0, &_call_f_operator_plus__plus__0); - methods += new qt_gsi::GenericMethod ("++", "@brief Method QCborMap::Iterator QCborMap::Iterator::operator++(int)\n", false, &_init_f_operator_plus__plus__767, &_call_f_operator_plus__plus__767); - methods += new qt_gsi::GenericMethod ("+=", "@brief Method QCborMap::Iterator &QCborMap::Iterator::operator+=(qsizetype j)\n", false, &_init_f_operator_plus__eq__1442, &_call_f_operator_plus__eq__1442); - methods += new qt_gsi::GenericMethod ("-", "@brief Method QCborMap::Iterator QCborMap::Iterator::operator-(qsizetype j)\n", true, &_init_f_operator_minus__c1442, &_call_f_operator_minus__c1442); - methods += new qt_gsi::GenericMethod ("-", "@brief Method qsizetype QCborMap::Iterator::operator-(QCborMap::Iterator j)\n", true, &_init_f_operator_minus__c2151, &_call_f_operator_minus__c2151); - methods += new qt_gsi::GenericMethod ("--", "@brief Method QCborMap::Iterator &QCborMap::Iterator::operator--()\n", false, &_init_f_operator_minus__minus__0, &_call_f_operator_minus__minus__0); - methods += new qt_gsi::GenericMethod ("--", "@brief Method QCborMap::Iterator QCborMap::Iterator::operator--(int)\n", false, &_init_f_operator_minus__minus__767, &_call_f_operator_minus__minus__767); - methods += new qt_gsi::GenericMethod ("-=", "@brief Method QCborMap::Iterator &QCborMap::Iterator::operator-=(qsizetype j)\n", false, &_init_f_operator_minus__eq__1442, &_call_f_operator_minus__eq__1442); - methods += new qt_gsi::GenericMethod ("->", "@brief Method QCborValueRef *QCborMap::Iterator::operator->()\n", true, &_init_f_operator_minus__gt__c0, &_call_f_operator_minus__gt__c0); - methods += new qt_gsi::GenericMethod ("<", "@brief Method bool QCborMap::Iterator::operator<(const QCborMap::Iterator &other)\n", true, &_init_f_operator_lt__c3028, &_call_f_operator_lt__c3028); - methods += new qt_gsi::GenericMethod ("<", "@brief Method bool QCborMap::Iterator::operator<(const QCborMap::ConstIterator &other)\n", true, &_init_f_operator_lt__c3547, &_call_f_operator_lt__c3547); - methods += new qt_gsi::GenericMethod ("<=", "@brief Method bool QCborMap::Iterator::operator<=(const QCborMap::Iterator &other)\n", true, &_init_f_operator_lt__eq__c3028, &_call_f_operator_lt__eq__c3028); - methods += new qt_gsi::GenericMethod ("<=", "@brief Method bool QCborMap::Iterator::operator<=(const QCborMap::ConstIterator &other)\n", true, &_init_f_operator_lt__eq__c3547, &_call_f_operator_lt__eq__c3547); - methods += new qt_gsi::GenericMethod ("assign", "@brief Method QCborMap::Iterator &QCborMap::Iterator::operator=(const QCborMap::Iterator &other)\n", false, &_init_f_operator_eq__3028, &_call_f_operator_eq__3028); - methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QCborMap::Iterator::operator==(const QCborMap::Iterator &o)\n", true, &_init_f_operator_eq__eq__c3028, &_call_f_operator_eq__eq__c3028); - methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QCborMap::Iterator::operator==(const QCborMap::ConstIterator &o)\n", true, &_init_f_operator_eq__eq__c3547, &_call_f_operator_eq__eq__c3547); - methods += new qt_gsi::GenericMethod (">", "@brief Method bool QCborMap::Iterator::operator>(const QCborMap::Iterator &other)\n", true, &_init_f_operator_gt__c3028, &_call_f_operator_gt__c3028); - methods += new qt_gsi::GenericMethod (">", "@brief Method bool QCborMap::Iterator::operator>(const QCborMap::ConstIterator &other)\n", true, &_init_f_operator_gt__c3547, &_call_f_operator_gt__c3547); - methods += new qt_gsi::GenericMethod (">=", "@brief Method bool QCborMap::Iterator::operator>=(const QCborMap::Iterator &other)\n", true, &_init_f_operator_gt__eq__c3028, &_call_f_operator_gt__eq__c3028); - methods += new qt_gsi::GenericMethod (">=", "@brief Method bool QCborMap::Iterator::operator>=(const QCborMap::ConstIterator &other)\n", true, &_init_f_operator_gt__eq__c3547, &_call_f_operator_gt__eq__c3547); - methods += new qt_gsi::GenericMethod ("value", "@brief Method QCborValueRef QCborMap::Iterator::value()\n", true, &_init_f_value_c0, &_call_f_value_c0); - return methods; -} - -gsi::Class decl_QCborMap_Iterator ("QtCore", "QCborMap_Iterator", - methods_QCborMap_Iterator (), - "@qt\n@brief Binding of QCborMap::Iterator"); - -gsi::ClassExt decl_QCborMap_Iterator_as_child (decl_QCborMap_Iterator, "Iterator"); - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QCborMap_Iterator () { return decl_QCborMap_Iterator; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQCborParserError.cc b/src/gsiqt/qt6/QtCore/gsiDeclQCborParserError.cc deleted file mode 100644 index 356685dd0..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQCborParserError.cc +++ /dev/null @@ -1,88 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQCborParserError.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// struct QCborParserError - -// Constructor QCborParserError::QCborParserError() - - -static void _init_ctor_QCborParserError_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QCborParserError_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QCborParserError ()); -} - - -// QString QCborParserError::errorString() - - -static void _init_f_errorString_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_errorString_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QCborParserError *)cls)->errorString ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QCborParserError () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborParserError::QCborParserError()\nThis method creates an object of class QCborParserError.", &_init_ctor_QCborParserError_0, &_call_ctor_QCborParserError_0); - methods += new qt_gsi::GenericMethod ("errorString", "@brief Method QString QCborParserError::errorString()\n", true, &_init_f_errorString_c0, &_call_f_errorString_c0); - return methods; -} - -gsi::Class decl_QCborParserError ("QtCore", "QCborParserError", - methods_QCborParserError (), - "@qt\n@brief Binding of QCborParserError"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QCborParserError () { return decl_QCborParserError; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQCborStreamReader.cc b/src/gsiqt/qt6/QtCore/gsiDeclQCborStreamReader.cc deleted file mode 100644 index aa5efbbbf..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQCborStreamReader.cc +++ /dev/null @@ -1,1125 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQCborStreamReader.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QCborStreamReader - -// Constructor QCborStreamReader::QCborStreamReader() - - -static void _init_ctor_QCborStreamReader_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QCborStreamReader_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QCborStreamReader ()); -} - - -// Constructor QCborStreamReader::QCborStreamReader(const char *data, qsizetype len) - - -static void _init_ctor_QCborStreamReader_3065 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("len"); - decl->add_arg (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QCborStreamReader_3065 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = gsi::arg_reader() (args, heap); - ret.write (new QCborStreamReader (arg1, arg2)); -} - - -// Constructor QCborStreamReader::QCborStreamReader(const quint8 *data, qsizetype len) - - -static void _init_ctor_QCborStreamReader_3268 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("len"); - decl->add_arg (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QCborStreamReader_3268 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const quint8 *arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = gsi::arg_reader() (args, heap); - ret.write (new QCborStreamReader (arg1, arg2)); -} - - -// Constructor QCborStreamReader::QCborStreamReader(const QByteArray &data) - - -static void _init_ctor_QCborStreamReader_2309 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborStreamReader_2309 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QByteArray &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborStreamReader (arg1)); -} - - -// Constructor QCborStreamReader::QCborStreamReader(QIODevice *device) - - -static void _init_ctor_QCborStreamReader_1447 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborStreamReader_1447 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QIODevice *arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborStreamReader (arg1)); -} - - -// Constructor QCborStreamReader::QCborStreamReader(const QCborStreamReader &) - - -static void _init_ctor_QCborStreamReader_2999 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborStreamReader_2999 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborStreamReader &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborStreamReader (arg1)); -} - - -// void QCborStreamReader::addData(const QByteArray &data) - - -static void _init_f_addData_2309 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_addData_2309 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QByteArray &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamReader *)cls)->addData (arg1); -} - - -// void QCborStreamReader::addData(const char *data, qsizetype len) - - -static void _init_f_addData_3065 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("len"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_addData_3065 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamReader *)cls)->addData (arg1, arg2); -} - - -// void QCborStreamReader::addData(const quint8 *data, qsizetype len) - - -static void _init_f_addData_3268 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("len"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_addData_3268 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const quint8 *arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamReader *)cls)->addData (arg1, arg2); -} - - -// void QCborStreamReader::clear() - - -static void _init_f_clear_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clear_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamReader *)cls)->clear (); -} - - -// int QCborStreamReader::containerDepth() - - -static void _init_f_containerDepth_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_containerDepth_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QCborStreamReader *)cls)->containerDepth ()); -} - - -// qint64 QCborStreamReader::currentOffset() - - -static void _init_f_currentOffset_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_currentOffset_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qint64)((QCborStreamReader *)cls)->currentOffset ()); -} - - -// qsizetype QCborStreamReader::currentStringChunkSize() - - -static void _init_f_currentStringChunkSize_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_currentStringChunkSize_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qsizetype)((QCborStreamReader *)cls)->currentStringChunkSize ()); -} - - -// QIODevice *QCborStreamReader::device() - - -static void _init_f_device_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_device_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QIODevice *)((QCborStreamReader *)cls)->device ()); -} - - -// bool QCborStreamReader::enterContainer() - - -static void _init_f_enterContainer_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_enterContainer_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->enterContainer ()); -} - - -// bool QCborStreamReader::hasNext() - - -static void _init_f_hasNext_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_hasNext_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->hasNext ()); -} - - -// bool QCborStreamReader::isArray() - - -static void _init_f_isArray_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isArray_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->isArray ()); -} - - -// bool QCborStreamReader::isBool() - - -static void _init_f_isBool_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isBool_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->isBool ()); -} - - -// bool QCborStreamReader::isByteArray() - - -static void _init_f_isByteArray_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isByteArray_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->isByteArray ()); -} - - -// bool QCborStreamReader::isContainer() - - -static void _init_f_isContainer_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isContainer_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->isContainer ()); -} - - -// bool QCborStreamReader::isDouble() - - -static void _init_f_isDouble_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isDouble_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->isDouble ()); -} - - -// bool QCborStreamReader::isFalse() - - -static void _init_f_isFalse_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isFalse_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->isFalse ()); -} - - -// bool QCborStreamReader::isFloat() - - -static void _init_f_isFloat_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isFloat_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->isFloat ()); -} - - -// bool QCborStreamReader::isFloat16() - - -static void _init_f_isFloat16_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isFloat16_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->isFloat16 ()); -} - - -// bool QCborStreamReader::isInteger() - - -static void _init_f_isInteger_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isInteger_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->isInteger ()); -} - - -// bool QCborStreamReader::isInvalid() - - -static void _init_f_isInvalid_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isInvalid_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->isInvalid ()); -} - - -// bool QCborStreamReader::isLengthKnown() - - -static void _init_f_isLengthKnown_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isLengthKnown_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->isLengthKnown ()); -} - - -// bool QCborStreamReader::isMap() - - -static void _init_f_isMap_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isMap_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->isMap ()); -} - - -// bool QCborStreamReader::isNegativeInteger() - - -static void _init_f_isNegativeInteger_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isNegativeInteger_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->isNegativeInteger ()); -} - - -// bool QCborStreamReader::isNull() - - -static void _init_f_isNull_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isNull_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->isNull ()); -} - - -// bool QCborStreamReader::isSimpleType() - - -static void _init_f_isSimpleType_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isSimpleType_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->isSimpleType ()); -} - - -// bool QCborStreamReader::isSimpleType(QCborSimpleType st) - - -static void _init_f_isSimpleType_c1943 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("st"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_isSimpleType_c1943 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write ((bool)((QCborStreamReader *)cls)->isSimpleType (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// bool QCborStreamReader::isString() - - -static void _init_f_isString_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isString_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->isString ()); -} - - -// bool QCborStreamReader::isTag() - - -static void _init_f_isTag_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isTag_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->isTag ()); -} - - -// bool QCborStreamReader::isTrue() - - -static void _init_f_isTrue_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isTrue_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->isTrue ()); -} - - -// bool QCborStreamReader::isUndefined() - - -static void _init_f_isUndefined_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isUndefined_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->isUndefined ()); -} - - -// bool QCborStreamReader::isUnsignedInteger() - - -static void _init_f_isUnsignedInteger_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isUnsignedInteger_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->isUnsignedInteger ()); -} - - -// bool QCborStreamReader::isValid() - - -static void _init_f_isValid_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isValid_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->isValid ()); -} - - -// QCborError QCborStreamReader::lastError() - - -static void _init_f_lastError_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_lastError_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborError)((QCborStreamReader *)cls)->lastError ()); -} - - -// bool QCborStreamReader::leaveContainer() - - -static void _init_f_leaveContainer_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_leaveContainer_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->leaveContainer ()); -} - - -// quint64 QCborStreamReader::length() - - -static void _init_f_length_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_length_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((quint64)((QCborStreamReader *)cls)->length ()); -} - - -// bool QCborStreamReader::next(int maxRecursion) - - -static void _init_f_next_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("maxRecursion", true, "10000"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_next_767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (10000, heap); - ret.write ((bool)((QCborStreamReader *)cls)->next (arg1)); -} - - -// QCborStreamReader &QCborStreamReader::operator=(const QCborStreamReader &) - - -static void _init_f_operator_eq__2999 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__2999 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborStreamReader &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborStreamReader &)((QCborStreamReader *)cls)->operator= (arg1)); -} - - -// QCborStreamReader::Type QCborStreamReader::parentContainerType() - - -static void _init_f_parentContainerType_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_parentContainerType_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QCborStreamReader *)cls)->parentContainerType ())); -} - - -// QCborStreamReader::StringResult QCborStreamReader::readByteArray() - - -static void _init_f_readByteArray_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_readByteArray_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QCborStreamReader::StringResult)((QCborStreamReader *)cls)->readByteArray ()); -} - - -// QCborStreamReader::StringResult QCborStreamReader::readString() - - -static void _init_f_readString_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_readString_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QCborStreamReader::StringResult)((QCborStreamReader *)cls)->readString ()); -} - - -// QCborStreamReader::StringResult QCborStreamReader::readStringChunk(char *ptr, qsizetype maxlen) - - -static void _init_f_readStringChunk_2370 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("ptr"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("maxlen"); - decl->add_arg (argspec_1); - decl->set_return > (); -} - -static void _call_f_readStringChunk_2370 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - char *arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = gsi::arg_reader() (args, heap); - ret.write > ((QCborStreamReader::StringResult)((QCborStreamReader *)cls)->readStringChunk (arg1, arg2)); -} - - -// void QCborStreamReader::reparse() - - -static void _init_f_reparse_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_reparse_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamReader *)cls)->reparse (); -} - - -// void QCborStreamReader::reset() - - -static void _init_f_reset_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_reset_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamReader *)cls)->reset (); -} - - -// void QCborStreamReader::setDevice(QIODevice *device) - - -static void _init_f_setDevice_1447 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setDevice_1447 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QIODevice *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamReader *)cls)->setDevice (arg1); -} - - -// bool QCborStreamReader::toBool() - - -static void _init_f_toBool_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toBool_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamReader *)cls)->toBool ()); -} - - -// double QCborStreamReader::toDouble() - - -static void _init_f_toDouble_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toDouble_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((double)((QCborStreamReader *)cls)->toDouble ()); -} - - -// float QCborStreamReader::toFloat() - - -static void _init_f_toFloat_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toFloat_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((float)((QCborStreamReader *)cls)->toFloat ()); -} - - -// qfloat16 QCborStreamReader::toFloat16() - - -static void _init_f_toFloat16_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toFloat16_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qfloat16)((QCborStreamReader *)cls)->toFloat16 ()); -} - - -// qint64 QCborStreamReader::toInteger() - - -static void _init_f_toInteger_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toInteger_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qint64)((QCborStreamReader *)cls)->toInteger ()); -} - - -// QCborNegativeInteger QCborStreamReader::toNegativeInteger() - - -static void _init_f_toNegativeInteger_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_toNegativeInteger_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QCborStreamReader *)cls)->toNegativeInteger ())); -} - - -// QCborSimpleType QCborStreamReader::toSimpleType() - - -static void _init_f_toSimpleType_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_toSimpleType_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QCborStreamReader *)cls)->toSimpleType ())); -} - - -// QCborTag QCborStreamReader::toTag() - - -static void _init_f_toTag_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_toTag_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QCborStreamReader *)cls)->toTag ())); -} - - -// quint64 QCborStreamReader::toUnsignedInteger() - - -static void _init_f_toUnsignedInteger_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toUnsignedInteger_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((quint64)((QCborStreamReader *)cls)->toUnsignedInteger ()); -} - - -// QCborStreamReader::Type QCborStreamReader::type() - - -static void _init_f_type_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_type_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QCborStreamReader *)cls)->type ())); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QCborStreamReader () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborStreamReader::QCborStreamReader()\nThis method creates an object of class QCborStreamReader.", &_init_ctor_QCborStreamReader_0, &_call_ctor_QCborStreamReader_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborStreamReader::QCborStreamReader(const char *data, qsizetype len)\nThis method creates an object of class QCborStreamReader.", &_init_ctor_QCborStreamReader_3065, &_call_ctor_QCborStreamReader_3065); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborStreamReader::QCborStreamReader(const quint8 *data, qsizetype len)\nThis method creates an object of class QCborStreamReader.", &_init_ctor_QCborStreamReader_3268, &_call_ctor_QCborStreamReader_3268); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborStreamReader::QCborStreamReader(const QByteArray &data)\nThis method creates an object of class QCborStreamReader.", &_init_ctor_QCborStreamReader_2309, &_call_ctor_QCborStreamReader_2309); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborStreamReader::QCborStreamReader(QIODevice *device)\nThis method creates an object of class QCborStreamReader.", &_init_ctor_QCborStreamReader_1447, &_call_ctor_QCborStreamReader_1447); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborStreamReader::QCborStreamReader(const QCborStreamReader &)\nThis method creates an object of class QCborStreamReader.", &_init_ctor_QCborStreamReader_2999, &_call_ctor_QCborStreamReader_2999); - methods += new qt_gsi::GenericMethod ("addData", "@brief Method void QCborStreamReader::addData(const QByteArray &data)\n", false, &_init_f_addData_2309, &_call_f_addData_2309); - methods += new qt_gsi::GenericMethod ("addData", "@brief Method void QCborStreamReader::addData(const char *data, qsizetype len)\n", false, &_init_f_addData_3065, &_call_f_addData_3065); - methods += new qt_gsi::GenericMethod ("addData", "@brief Method void QCborStreamReader::addData(const quint8 *data, qsizetype len)\n", false, &_init_f_addData_3268, &_call_f_addData_3268); - methods += new qt_gsi::GenericMethod ("clear", "@brief Method void QCborStreamReader::clear()\n", false, &_init_f_clear_0, &_call_f_clear_0); - methods += new qt_gsi::GenericMethod ("containerDepth", "@brief Method int QCborStreamReader::containerDepth()\n", true, &_init_f_containerDepth_c0, &_call_f_containerDepth_c0); - methods += new qt_gsi::GenericMethod ("currentOffset", "@brief Method qint64 QCborStreamReader::currentOffset()\n", true, &_init_f_currentOffset_c0, &_call_f_currentOffset_c0); - methods += new qt_gsi::GenericMethod ("currentStringChunkSize", "@brief Method qsizetype QCborStreamReader::currentStringChunkSize()\n", true, &_init_f_currentStringChunkSize_c0, &_call_f_currentStringChunkSize_c0); - methods += new qt_gsi::GenericMethod ("device", "@brief Method QIODevice *QCborStreamReader::device()\n", true, &_init_f_device_c0, &_call_f_device_c0); - methods += new qt_gsi::GenericMethod ("enterContainer", "@brief Method bool QCborStreamReader::enterContainer()\n", false, &_init_f_enterContainer_0, &_call_f_enterContainer_0); - methods += new qt_gsi::GenericMethod ("hasNext", "@brief Method bool QCborStreamReader::hasNext()\n", true, &_init_f_hasNext_c0, &_call_f_hasNext_c0); - methods += new qt_gsi::GenericMethod ("isArray?", "@brief Method bool QCborStreamReader::isArray()\n", true, &_init_f_isArray_c0, &_call_f_isArray_c0); - methods += new qt_gsi::GenericMethod ("isBool?", "@brief Method bool QCborStreamReader::isBool()\n", true, &_init_f_isBool_c0, &_call_f_isBool_c0); - methods += new qt_gsi::GenericMethod ("isByteArray?", "@brief Method bool QCborStreamReader::isByteArray()\n", true, &_init_f_isByteArray_c0, &_call_f_isByteArray_c0); - methods += new qt_gsi::GenericMethod ("isContainer?", "@brief Method bool QCborStreamReader::isContainer()\n", true, &_init_f_isContainer_c0, &_call_f_isContainer_c0); - methods += new qt_gsi::GenericMethod ("isDouble?", "@brief Method bool QCborStreamReader::isDouble()\n", true, &_init_f_isDouble_c0, &_call_f_isDouble_c0); - methods += new qt_gsi::GenericMethod ("isFalse?", "@brief Method bool QCborStreamReader::isFalse()\n", true, &_init_f_isFalse_c0, &_call_f_isFalse_c0); - methods += new qt_gsi::GenericMethod ("isFloat?", "@brief Method bool QCborStreamReader::isFloat()\n", true, &_init_f_isFloat_c0, &_call_f_isFloat_c0); - methods += new qt_gsi::GenericMethod ("isFloat16?", "@brief Method bool QCborStreamReader::isFloat16()\n", true, &_init_f_isFloat16_c0, &_call_f_isFloat16_c0); - methods += new qt_gsi::GenericMethod ("isInteger?", "@brief Method bool QCborStreamReader::isInteger()\n", true, &_init_f_isInteger_c0, &_call_f_isInteger_c0); - methods += new qt_gsi::GenericMethod ("isInvalid?", "@brief Method bool QCborStreamReader::isInvalid()\n", true, &_init_f_isInvalid_c0, &_call_f_isInvalid_c0); - methods += new qt_gsi::GenericMethod ("isLengthKnown?", "@brief Method bool QCborStreamReader::isLengthKnown()\n", true, &_init_f_isLengthKnown_c0, &_call_f_isLengthKnown_c0); - methods += new qt_gsi::GenericMethod ("isMap?", "@brief Method bool QCborStreamReader::isMap()\n", true, &_init_f_isMap_c0, &_call_f_isMap_c0); - methods += new qt_gsi::GenericMethod ("isNegativeInteger?", "@brief Method bool QCborStreamReader::isNegativeInteger()\n", true, &_init_f_isNegativeInteger_c0, &_call_f_isNegativeInteger_c0); - methods += new qt_gsi::GenericMethod ("isNull?", "@brief Method bool QCborStreamReader::isNull()\n", true, &_init_f_isNull_c0, &_call_f_isNull_c0); - methods += new qt_gsi::GenericMethod ("isSimpleType?", "@brief Method bool QCborStreamReader::isSimpleType()\n", true, &_init_f_isSimpleType_c0, &_call_f_isSimpleType_c0); - methods += new qt_gsi::GenericMethod ("isSimpleType?", "@brief Method bool QCborStreamReader::isSimpleType(QCborSimpleType st)\n", true, &_init_f_isSimpleType_c1943, &_call_f_isSimpleType_c1943); - methods += new qt_gsi::GenericMethod ("isString?", "@brief Method bool QCborStreamReader::isString()\n", true, &_init_f_isString_c0, &_call_f_isString_c0); - methods += new qt_gsi::GenericMethod ("isTag?", "@brief Method bool QCborStreamReader::isTag()\n", true, &_init_f_isTag_c0, &_call_f_isTag_c0); - methods += new qt_gsi::GenericMethod ("isTrue?", "@brief Method bool QCborStreamReader::isTrue()\n", true, &_init_f_isTrue_c0, &_call_f_isTrue_c0); - methods += new qt_gsi::GenericMethod ("isUndefined?", "@brief Method bool QCborStreamReader::isUndefined()\n", true, &_init_f_isUndefined_c0, &_call_f_isUndefined_c0); - methods += new qt_gsi::GenericMethod ("isUnsignedInteger?", "@brief Method bool QCborStreamReader::isUnsignedInteger()\n", true, &_init_f_isUnsignedInteger_c0, &_call_f_isUnsignedInteger_c0); - methods += new qt_gsi::GenericMethod ("isValid?", "@brief Method bool QCborStreamReader::isValid()\n", true, &_init_f_isValid_c0, &_call_f_isValid_c0); - methods += new qt_gsi::GenericMethod ("lastError", "@brief Method QCborError QCborStreamReader::lastError()\n", false, &_init_f_lastError_0, &_call_f_lastError_0); - methods += new qt_gsi::GenericMethod ("leaveContainer", "@brief Method bool QCborStreamReader::leaveContainer()\n", false, &_init_f_leaveContainer_0, &_call_f_leaveContainer_0); - methods += new qt_gsi::GenericMethod ("length", "@brief Method quint64 QCborStreamReader::length()\n", true, &_init_f_length_c0, &_call_f_length_c0); - methods += new qt_gsi::GenericMethod ("next", "@brief Method bool QCborStreamReader::next(int maxRecursion)\n", false, &_init_f_next_767, &_call_f_next_767); - methods += new qt_gsi::GenericMethod ("assign", "@brief Method QCborStreamReader &QCborStreamReader::operator=(const QCborStreamReader &)\n", false, &_init_f_operator_eq__2999, &_call_f_operator_eq__2999); - methods += new qt_gsi::GenericMethod ("parentContainerType", "@brief Method QCborStreamReader::Type QCborStreamReader::parentContainerType()\n", true, &_init_f_parentContainerType_c0, &_call_f_parentContainerType_c0); - methods += new qt_gsi::GenericMethod ("readByteArray", "@brief Method QCborStreamReader::StringResult QCborStreamReader::readByteArray()\n", false, &_init_f_readByteArray_0, &_call_f_readByteArray_0); - methods += new qt_gsi::GenericMethod ("readString", "@brief Method QCborStreamReader::StringResult QCborStreamReader::readString()\n", false, &_init_f_readString_0, &_call_f_readString_0); - methods += new qt_gsi::GenericMethod ("readStringChunk", "@brief Method QCborStreamReader::StringResult QCborStreamReader::readStringChunk(char *ptr, qsizetype maxlen)\n", false, &_init_f_readStringChunk_2370, &_call_f_readStringChunk_2370); - methods += new qt_gsi::GenericMethod ("reparse", "@brief Method void QCborStreamReader::reparse()\n", false, &_init_f_reparse_0, &_call_f_reparse_0); - methods += new qt_gsi::GenericMethod ("reset", "@brief Method void QCborStreamReader::reset()\n", false, &_init_f_reset_0, &_call_f_reset_0); - methods += new qt_gsi::GenericMethod ("setDevice", "@brief Method void QCborStreamReader::setDevice(QIODevice *device)\n", false, &_init_f_setDevice_1447, &_call_f_setDevice_1447); - methods += new qt_gsi::GenericMethod ("toBool", "@brief Method bool QCborStreamReader::toBool()\n", true, &_init_f_toBool_c0, &_call_f_toBool_c0); - methods += new qt_gsi::GenericMethod ("toDouble", "@brief Method double QCborStreamReader::toDouble()\n", true, &_init_f_toDouble_c0, &_call_f_toDouble_c0); - methods += new qt_gsi::GenericMethod ("toFloat", "@brief Method float QCborStreamReader::toFloat()\n", true, &_init_f_toFloat_c0, &_call_f_toFloat_c0); - methods += new qt_gsi::GenericMethod ("toFloat16", "@brief Method qfloat16 QCborStreamReader::toFloat16()\n", true, &_init_f_toFloat16_c0, &_call_f_toFloat16_c0); - methods += new qt_gsi::GenericMethod ("toInteger", "@brief Method qint64 QCborStreamReader::toInteger()\n", true, &_init_f_toInteger_c0, &_call_f_toInteger_c0); - methods += new qt_gsi::GenericMethod ("toNegativeInteger", "@brief Method QCborNegativeInteger QCborStreamReader::toNegativeInteger()\n", true, &_init_f_toNegativeInteger_c0, &_call_f_toNegativeInteger_c0); - methods += new qt_gsi::GenericMethod ("toSimpleType", "@brief Method QCborSimpleType QCborStreamReader::toSimpleType()\n", true, &_init_f_toSimpleType_c0, &_call_f_toSimpleType_c0); - methods += new qt_gsi::GenericMethod ("toTag", "@brief Method QCborTag QCborStreamReader::toTag()\n", true, &_init_f_toTag_c0, &_call_f_toTag_c0); - methods += new qt_gsi::GenericMethod ("toUnsignedInteger", "@brief Method quint64 QCborStreamReader::toUnsignedInteger()\n", true, &_init_f_toUnsignedInteger_c0, &_call_f_toUnsignedInteger_c0); - methods += new qt_gsi::GenericMethod ("type", "@brief Method QCborStreamReader::Type QCborStreamReader::type()\n", true, &_init_f_type_c0, &_call_f_type_c0); - return methods; -} - -gsi::Class decl_QCborStreamReader ("QtCore", "QCborStreamReader", - methods_QCborStreamReader (), - "@qt\n@brief Binding of QCborStreamReader"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QCborStreamReader () { return decl_QCborStreamReader; } - -} - - -// Implementation of the enum wrapper class for QCborStreamReader::Type -namespace qt_gsi -{ - -static gsi::Enum decl_QCborStreamReader_Type_Enum ("QtCore", "QCborStreamReader_Type", - gsi::enum_const ("UnsignedInteger", QCborStreamReader::UnsignedInteger, "@brief Enum constant QCborStreamReader::UnsignedInteger") + - gsi::enum_const ("NegativeInteger", QCborStreamReader::NegativeInteger, "@brief Enum constant QCborStreamReader::NegativeInteger") + - gsi::enum_const ("ByteString", QCborStreamReader::ByteString, "@brief Enum constant QCborStreamReader::ByteString") + - gsi::enum_const ("ByteArray", QCborStreamReader::ByteArray, "@brief Enum constant QCborStreamReader::ByteArray") + - gsi::enum_const ("TextString", QCborStreamReader::TextString, "@brief Enum constant QCborStreamReader::TextString") + - gsi::enum_const ("String", QCborStreamReader::String, "@brief Enum constant QCborStreamReader::String") + - gsi::enum_const ("Array", QCborStreamReader::Array, "@brief Enum constant QCborStreamReader::Array") + - gsi::enum_const ("Map", QCborStreamReader::Map, "@brief Enum constant QCborStreamReader::Map") + - gsi::enum_const ("Tag", QCborStreamReader::Tag, "@brief Enum constant QCborStreamReader::Tag") + - gsi::enum_const ("SimpleType", QCborStreamReader::SimpleType, "@brief Enum constant QCborStreamReader::SimpleType") + - gsi::enum_const ("HalfFloat", QCborStreamReader::HalfFloat, "@brief Enum constant QCborStreamReader::HalfFloat") + - gsi::enum_const ("Float16", QCborStreamReader::Float16, "@brief Enum constant QCborStreamReader::Float16") + - gsi::enum_const ("Float", QCborStreamReader::Float, "@brief Enum constant QCborStreamReader::Float") + - gsi::enum_const ("Double", QCborStreamReader::Double, "@brief Enum constant QCborStreamReader::Double") + - gsi::enum_const ("Invalid", QCborStreamReader::Invalid, "@brief Enum constant QCborStreamReader::Invalid"), - "@qt\n@brief This class represents the QCborStreamReader::Type enum"); - -static gsi::QFlagsClass decl_QCborStreamReader_Type_Enums ("QtCore", "QCborStreamReader_QFlags_Type", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QCborStreamReader_Type_Enum_in_parent (decl_QCborStreamReader_Type_Enum.defs ()); -static gsi::ClassExt decl_QCborStreamReader_Type_Enum_as_child (decl_QCborStreamReader_Type_Enum, "Type"); -static gsi::ClassExt decl_QCborStreamReader_Type_Enums_as_child (decl_QCborStreamReader_Type_Enums, "QFlags_Type"); - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQCborStreamWriter.cc b/src/gsiqt/qt6/QtCore/gsiDeclQCborStreamWriter.cc deleted file mode 100644 index 7dfdc12ac..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQCborStreamWriter.cc +++ /dev/null @@ -1,725 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQCborStreamWriter.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QCborStreamWriter - -// Constructor QCborStreamWriter::QCborStreamWriter(QIODevice *device) - - -static void _init_ctor_QCborStreamWriter_1447 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborStreamWriter_1447 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QIODevice *arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborStreamWriter (arg1)); -} - - -// Constructor QCborStreamWriter::QCborStreamWriter(QByteArray *data) - - -static void _init_ctor_QCborStreamWriter_1618 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborStreamWriter_1618 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QByteArray *arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborStreamWriter (arg1)); -} - - -// Constructor QCborStreamWriter::QCborStreamWriter(const QCborStreamWriter &) - - -static void _init_ctor_QCborStreamWriter_3041 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborStreamWriter_3041 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborStreamWriter &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborStreamWriter (arg1)); -} - - -// void QCborStreamWriter::append(quint64 u) - - -static void _init_f_append_1103 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("u"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_append_1103 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - quint64 arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->append (arg1); -} - - -// void QCborStreamWriter::append(qint64 i) - - -static void _init_f_append_986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_append_986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->append (arg1); -} - - -// void QCborStreamWriter::append(QCborNegativeInteger n) - - -static void _init_f_append_2444 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_append_2444 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->append (qt_gsi::QtToCppAdaptor(arg1).cref()); -} - - -// void QCborStreamWriter::append(const QByteArray &ba) - - -static void _init_f_append_2309 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("ba"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_append_2309 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QByteArray &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->append (arg1); -} - - -// void QCborStreamWriter::append(QLatin1String str) - - -static void _init_f_append_1701 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("str"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_append_1701 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->append (arg1); -} - - -// void QCborStreamWriter::append(QStringView str) - - -static void _init_f_append_1559 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("str"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_append_1559 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QStringView arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->append (arg1); -} - - -// void QCborStreamWriter::append(QCborTag tag) - - -static void _init_f_append_1191 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("tag"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_append_1191 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->append (qt_gsi::QtToCppAdaptor(arg1).cref()); -} - - -// void QCborStreamWriter::append(QCborKnownTags tag) - - -static void _init_f_append_1831 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("tag"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_append_1831 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->append (qt_gsi::QtToCppAdaptor(arg1).cref()); -} - - -// void QCborStreamWriter::append(QCborSimpleType st) - - -static void _init_f_append_1943 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("st"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_append_1943 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->append (qt_gsi::QtToCppAdaptor(arg1).cref()); -} - - -// void QCborStreamWriter::append(std::nullptr_t) - - -static void _init_f_append_1879 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_append_1879 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - std::nullptr_t arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->append (arg1); -} - - -// void QCborStreamWriter::append(qfloat16 f) - - -static void _init_f_append_1186 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("f"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_append_1186 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qfloat16 arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->append (arg1); -} - - -// void QCborStreamWriter::append(float f) - - -static void _init_f_append_970 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("f"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_append_970 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - float arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->append (arg1); -} - - -// void QCborStreamWriter::append(double d) - - -static void _init_f_append_1071 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("d"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_append_1071 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - double arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->append (arg1); -} - - -// void QCborStreamWriter::append(bool b) - - -static void _init_f_append_864 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("b"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_append_864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->append (arg1); -} - - -// void QCborStreamWriter::append(int i) - - -static void _init_f_append_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_append_767 (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); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->append (arg1); -} - - -// void QCborStreamWriter::append(unsigned int u) - - -static void _init_f_append_1772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("u"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_append_1772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->append (arg1); -} - - -// void QCborStreamWriter::append(const char *str, qsizetype size) - - -static void _init_f_append_3065 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("str"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("size", true, "-1"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_append_3065 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (-1, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->append (arg1, arg2); -} - - -// void QCborStreamWriter::appendByteString(const char *data, qsizetype len) - - -static void _init_f_appendByteString_3065 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("len"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_appendByteString_3065 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->appendByteString (arg1, arg2); -} - - -// void QCborStreamWriter::appendNull() - - -static void _init_f_appendNull_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_appendNull_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->appendNull (); -} - - -// void QCborStreamWriter::appendTextString(const char *utf8, qsizetype len) - - -static void _init_f_appendTextString_3065 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("utf8"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("len"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_appendTextString_3065 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->appendTextString (arg1, arg2); -} - - -// void QCborStreamWriter::appendUndefined() - - -static void _init_f_appendUndefined_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_appendUndefined_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->appendUndefined (); -} - - -// QIODevice *QCborStreamWriter::device() - - -static void _init_f_device_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_device_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QIODevice *)((QCborStreamWriter *)cls)->device ()); -} - - -// bool QCborStreamWriter::endArray() - - -static void _init_f_endArray_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_endArray_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamWriter *)cls)->endArray ()); -} - - -// bool QCborStreamWriter::endMap() - - -static void _init_f_endMap_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_endMap_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborStreamWriter *)cls)->endMap ()); -} - - -// QCborStreamWriter &QCborStreamWriter::operator=(const QCborStreamWriter &) - - -static void _init_f_operator_eq__3041 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__3041 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborStreamWriter &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborStreamWriter &)((QCborStreamWriter *)cls)->operator= (arg1)); -} - - -// void QCborStreamWriter::setDevice(QIODevice *device) - - -static void _init_f_setDevice_1447 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setDevice_1447 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QIODevice *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->setDevice (arg1); -} - - -// void QCborStreamWriter::startArray() - - -static void _init_f_startArray_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_startArray_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->startArray (); -} - - -// void QCborStreamWriter::startArray(quint64 count) - - -static void _init_f_startArray_1103 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("count"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_startArray_1103 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - quint64 arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->startArray (arg1); -} - - -// void QCborStreamWriter::startMap() - - -static void _init_f_startMap_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_startMap_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->startMap (); -} - - -// void QCborStreamWriter::startMap(quint64 count) - - -static void _init_f_startMap_1103 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("count"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_startMap_1103 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - quint64 arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborStreamWriter *)cls)->startMap (arg1); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QCborStreamWriter () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborStreamWriter::QCborStreamWriter(QIODevice *device)\nThis method creates an object of class QCborStreamWriter.", &_init_ctor_QCborStreamWriter_1447, &_call_ctor_QCborStreamWriter_1447); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborStreamWriter::QCborStreamWriter(QByteArray *data)\nThis method creates an object of class QCborStreamWriter.", &_init_ctor_QCborStreamWriter_1618, &_call_ctor_QCborStreamWriter_1618); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborStreamWriter::QCborStreamWriter(const QCborStreamWriter &)\nThis method creates an object of class QCborStreamWriter.", &_init_ctor_QCborStreamWriter_3041, &_call_ctor_QCborStreamWriter_3041); - methods += new qt_gsi::GenericMethod ("append", "@brief Method void QCborStreamWriter::append(quint64 u)\n", false, &_init_f_append_1103, &_call_f_append_1103); - methods += new qt_gsi::GenericMethod ("append", "@brief Method void QCborStreamWriter::append(qint64 i)\n", false, &_init_f_append_986, &_call_f_append_986); - methods += new qt_gsi::GenericMethod ("append", "@brief Method void QCborStreamWriter::append(QCborNegativeInteger n)\n", false, &_init_f_append_2444, &_call_f_append_2444); - methods += new qt_gsi::GenericMethod ("append", "@brief Method void QCborStreamWriter::append(const QByteArray &ba)\n", false, &_init_f_append_2309, &_call_f_append_2309); - methods += new qt_gsi::GenericMethod ("append", "@brief Method void QCborStreamWriter::append(QLatin1String str)\n", false, &_init_f_append_1701, &_call_f_append_1701); - methods += new qt_gsi::GenericMethod ("append", "@brief Method void QCborStreamWriter::append(QStringView str)\n", false, &_init_f_append_1559, &_call_f_append_1559); - methods += new qt_gsi::GenericMethod ("append", "@brief Method void QCborStreamWriter::append(QCborTag tag)\n", false, &_init_f_append_1191, &_call_f_append_1191); - methods += new qt_gsi::GenericMethod ("append", "@brief Method void QCborStreamWriter::append(QCborKnownTags tag)\n", false, &_init_f_append_1831, &_call_f_append_1831); - methods += new qt_gsi::GenericMethod ("append", "@brief Method void QCborStreamWriter::append(QCborSimpleType st)\n", false, &_init_f_append_1943, &_call_f_append_1943); - methods += new qt_gsi::GenericMethod ("append", "@brief Method void QCborStreamWriter::append(std::nullptr_t)\n", false, &_init_f_append_1879, &_call_f_append_1879); - methods += new qt_gsi::GenericMethod ("append", "@brief Method void QCborStreamWriter::append(qfloat16 f)\n", false, &_init_f_append_1186, &_call_f_append_1186); - methods += new qt_gsi::GenericMethod ("append", "@brief Method void QCborStreamWriter::append(float f)\n", false, &_init_f_append_970, &_call_f_append_970); - methods += new qt_gsi::GenericMethod ("append", "@brief Method void QCborStreamWriter::append(double d)\n", false, &_init_f_append_1071, &_call_f_append_1071); - methods += new qt_gsi::GenericMethod ("append", "@brief Method void QCborStreamWriter::append(bool b)\n", false, &_init_f_append_864, &_call_f_append_864); - methods += new qt_gsi::GenericMethod ("append", "@brief Method void QCborStreamWriter::append(int i)\n", false, &_init_f_append_767, &_call_f_append_767); - methods += new qt_gsi::GenericMethod ("append", "@brief Method void QCborStreamWriter::append(unsigned int u)\n", false, &_init_f_append_1772, &_call_f_append_1772); - methods += new qt_gsi::GenericMethod ("append", "@brief Method void QCborStreamWriter::append(const char *str, qsizetype size)\n", false, &_init_f_append_3065, &_call_f_append_3065); - methods += new qt_gsi::GenericMethod ("appendByteString", "@brief Method void QCborStreamWriter::appendByteString(const char *data, qsizetype len)\n", false, &_init_f_appendByteString_3065, &_call_f_appendByteString_3065); - methods += new qt_gsi::GenericMethod ("appendNull", "@brief Method void QCborStreamWriter::appendNull()\n", false, &_init_f_appendNull_0, &_call_f_appendNull_0); - methods += new qt_gsi::GenericMethod ("appendTextString", "@brief Method void QCborStreamWriter::appendTextString(const char *utf8, qsizetype len)\n", false, &_init_f_appendTextString_3065, &_call_f_appendTextString_3065); - methods += new qt_gsi::GenericMethod ("appendUndefined", "@brief Method void QCborStreamWriter::appendUndefined()\n", false, &_init_f_appendUndefined_0, &_call_f_appendUndefined_0); - methods += new qt_gsi::GenericMethod ("device", "@brief Method QIODevice *QCborStreamWriter::device()\n", true, &_init_f_device_c0, &_call_f_device_c0); - methods += new qt_gsi::GenericMethod ("endArray", "@brief Method bool QCborStreamWriter::endArray()\n", false, &_init_f_endArray_0, &_call_f_endArray_0); - methods += new qt_gsi::GenericMethod ("endMap", "@brief Method bool QCborStreamWriter::endMap()\n", false, &_init_f_endMap_0, &_call_f_endMap_0); - methods += new qt_gsi::GenericMethod ("assign", "@brief Method QCborStreamWriter &QCborStreamWriter::operator=(const QCborStreamWriter &)\n", false, &_init_f_operator_eq__3041, &_call_f_operator_eq__3041); - methods += new qt_gsi::GenericMethod ("setDevice", "@brief Method void QCborStreamWriter::setDevice(QIODevice *device)\n", false, &_init_f_setDevice_1447, &_call_f_setDevice_1447); - methods += new qt_gsi::GenericMethod ("startArray", "@brief Method void QCborStreamWriter::startArray()\n", false, &_init_f_startArray_0, &_call_f_startArray_0); - methods += new qt_gsi::GenericMethod ("startArray", "@brief Method void QCborStreamWriter::startArray(quint64 count)\n", false, &_init_f_startArray_1103, &_call_f_startArray_1103); - methods += new qt_gsi::GenericMethod ("startMap", "@brief Method void QCborStreamWriter::startMap()\n", false, &_init_f_startMap_0, &_call_f_startMap_0); - methods += new qt_gsi::GenericMethod ("startMap", "@brief Method void QCborStreamWriter::startMap(quint64 count)\n", false, &_init_f_startMap_1103, &_call_f_startMap_1103); - return methods; -} - -gsi::Class decl_QCborStreamWriter ("QtCore", "QCborStreamWriter", - methods_QCborStreamWriter (), - "@qt\n@brief Binding of QCborStreamWriter"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QCborStreamWriter () { return decl_QCborStreamWriter; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQCborValue.cc b/src/gsiqt/qt6/QtCore/gsiDeclQCborValue.cc deleted file mode 100644 index 1dcf123a9..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQCborValue.cc +++ /dev/null @@ -1,1752 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQCborValue.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QCborValue - -// Constructor QCborValue::QCborValue() - - -static void _init_ctor_QCborValue_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QCborValue_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QCborValue ()); -} - - -// Constructor QCborValue::QCborValue(QCborValue::Type t_) - - -static void _init_ctor_QCborValue_1950 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("t_"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborValue_1950 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write (new QCborValue (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// Constructor QCborValue::QCborValue(std::nullptr_t) - - -static void _init_ctor_QCborValue_1879 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborValue_1879 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - std::nullptr_t arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborValue (arg1)); -} - - -// Constructor QCborValue::QCborValue(bool b_) - - -static void _init_ctor_QCborValue_864 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("b_"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborValue_864 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborValue (arg1)); -} - - -// Constructor QCborValue::QCborValue(int i) - - -static void _init_ctor_QCborValue_767 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborValue_767 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborValue (arg1)); -} - - -// Constructor QCborValue::QCborValue(unsigned int u) - - -static void _init_ctor_QCborValue_1772 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("u"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborValue_1772 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborValue (arg1)); -} - - -// Constructor QCborValue::QCborValue(qint64 i) - - -static void _init_ctor_QCborValue_986 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborValue_986 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborValue (arg1)); -} - - -// Constructor QCborValue::QCborValue(double v) - - -static void _init_ctor_QCborValue_1071 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("v"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborValue_1071 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - double arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborValue (arg1)); -} - - -// Constructor QCborValue::QCborValue(QCborSimpleType st) - - -static void _init_ctor_QCborValue_1943 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("st"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborValue_1943 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write (new QCborValue (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// Constructor QCborValue::QCborValue(const QByteArray &ba) - - -static void _init_ctor_QCborValue_2309 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("ba"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborValue_2309 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QByteArray &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborValue (arg1)); -} - - -// Constructor QCborValue::QCborValue(const QString &s) - - -static void _init_ctor_QCborValue_2025 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborValue_2025 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborValue (arg1)); -} - - -// Constructor QCborValue::QCborValue(QStringView s) - - -static void _init_ctor_QCborValue_1559 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborValue_1559 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QStringView arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborValue (arg1)); -} - - -// Constructor QCborValue::QCborValue(QLatin1String s) - - -static void _init_ctor_QCborValue_1701 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborValue_1701 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborValue (arg1)); -} - - -// Constructor QCborValue::QCborValue(const char *s) - - -static void _init_ctor_QCborValue_1731 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborValue_1731 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborValue (arg1)); -} - - -// Constructor QCborValue::QCborValue(const QCborArray &a) - - -static void _init_ctor_QCborValue_2295 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("a"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborValue_2295 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborValue (arg1)); -} - - -// Constructor QCborValue::QCborValue(const QCborMap &m) - - -static void _init_ctor_QCborValue_2070 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("m"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborValue_2070 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborValue (arg1)); -} - - -// Constructor QCborValue::QCborValue(QCborTag tag, const QCborValue &taggedValue) - - -static void _init_ctor_QCborValue_3376 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("tag"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("taggedValue", true, "QCborValue()"); - decl->add_arg (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QCborValue_3376 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - const QCborValue &arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QCborValue(), heap); - ret.write (new QCborValue (qt_gsi::QtToCppAdaptor(arg1).cref(), arg2)); -} - - -// Constructor QCborValue::QCborValue(QCborKnownTags t_, const QCborValue &tv) - - -static void _init_ctor_QCborValue_4016 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("t_"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("tv", true, "QCborValue()"); - decl->add_arg (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QCborValue_4016 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - const QCborValue &arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QCborValue(), heap); - ret.write (new QCborValue (qt_gsi::QtToCppAdaptor(arg1).cref(), arg2)); -} - - -// Constructor QCborValue::QCborValue(const QDateTime &dt) - - -static void _init_ctor_QCborValue_2175 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("dt"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborValue_2175 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QDateTime &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborValue (arg1)); -} - - -// Constructor QCborValue::QCborValue(const QUrl &url) - - -static void _init_ctor_QCborValue_1701u1 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("url"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborValue_1701u1 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QUrl &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborValue (arg1)); -} - - -// Constructor QCborValue::QCborValue(const QRegularExpression &rx) - - -static void _init_ctor_QCborValue_3188 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("rx"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborValue_3188 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QRegularExpression &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborValue (arg1)); -} - - -// Constructor QCborValue::QCborValue(const QUuid &uuid) - - -static void _init_ctor_QCborValue_1801 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("uuid"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborValue_1801 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QUuid &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborValue (arg1)); -} - - -// Constructor QCborValue::QCborValue(const void *) - - -static void _init_ctor_QCborValue_1751 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborValue_1751 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const void *arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborValue (arg1)); -} - - -// Constructor QCborValue::QCborValue(const QCborValue &other) - - -static void _init_ctor_QCborValue_2293 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborValue_2293 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborValue (arg1)); -} - - -// int QCborValue::compare(const QCborValue &other) - - -static void _init_f_compare_c2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_compare_c2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - ret.write ((int)((QCborValue *)cls)->compare (arg1)); -} - - -// bool QCborValue::isArray() - - -static void _init_f_isArray_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isArray_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValue *)cls)->isArray ()); -} - - -// bool QCborValue::isBool() - - -static void _init_f_isBool_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isBool_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValue *)cls)->isBool ()); -} - - -// bool QCborValue::isByteArray() - - -static void _init_f_isByteArray_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isByteArray_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValue *)cls)->isByteArray ()); -} - - -// bool QCborValue::isContainer() - - -static void _init_f_isContainer_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isContainer_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValue *)cls)->isContainer ()); -} - - -// bool QCborValue::isDateTime() - - -static void _init_f_isDateTime_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isDateTime_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValue *)cls)->isDateTime ()); -} - - -// bool QCborValue::isDouble() - - -static void _init_f_isDouble_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isDouble_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValue *)cls)->isDouble ()); -} - - -// bool QCborValue::isFalse() - - -static void _init_f_isFalse_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isFalse_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValue *)cls)->isFalse ()); -} - - -// bool QCborValue::isInteger() - - -static void _init_f_isInteger_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isInteger_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValue *)cls)->isInteger ()); -} - - -// bool QCborValue::isInvalid() - - -static void _init_f_isInvalid_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isInvalid_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValue *)cls)->isInvalid ()); -} - - -// bool QCborValue::isMap() - - -static void _init_f_isMap_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isMap_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValue *)cls)->isMap ()); -} - - -// bool QCborValue::isNull() - - -static void _init_f_isNull_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isNull_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValue *)cls)->isNull ()); -} - - -// bool QCborValue::isRegularExpression() - - -static void _init_f_isRegularExpression_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isRegularExpression_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValue *)cls)->isRegularExpression ()); -} - - -// bool QCborValue::isSimpleType() - - -static void _init_f_isSimpleType_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isSimpleType_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValue *)cls)->isSimpleType ()); -} - - -// bool QCborValue::isSimpleType(QCborSimpleType st) - - -static void _init_f_isSimpleType_c1943 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("st"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_isSimpleType_c1943 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write ((bool)((QCborValue *)cls)->isSimpleType (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// bool QCborValue::isString() - - -static void _init_f_isString_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isString_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValue *)cls)->isString ()); -} - - -// bool QCborValue::isTag() - - -static void _init_f_isTag_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isTag_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValue *)cls)->isTag ()); -} - - -// bool QCborValue::isTrue() - - -static void _init_f_isTrue_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isTrue_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValue *)cls)->isTrue ()); -} - - -// bool QCborValue::isUndefined() - - -static void _init_f_isUndefined_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isUndefined_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValue *)cls)->isUndefined ()); -} - - -// bool QCborValue::isUrl() - - -static void _init_f_isUrl_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isUrl_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValue *)cls)->isUrl ()); -} - - -// bool QCborValue::isUuid() - - -static void _init_f_isUuid_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isUuid_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValue *)cls)->isUuid ()); -} - - -// bool QCborValue::operator!=(const QCborValue &other) - - -static void _init_f_operator_excl__eq__c2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_excl__eq__c2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborValue *)cls)->operator!= (arg1)); -} - - -// bool QCborValue::operator<(const QCborValue &other) - - -static void _init_f_operator_lt__c2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_lt__c2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborValue *)cls)->operator< (arg1)); -} - - -// QCborValue &QCborValue::operator=(const QCborValue &other) - - -static void _init_f_operator_eq__2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValue &)((QCborValue *)cls)->operator= (arg1)); -} - - -// bool QCborValue::operator==(const QCborValue &other) - - -static void _init_f_operator_eq__eq__c2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__eq__c2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborValue *)cls)->operator== (arg1)); -} - - -// const QCborValue QCborValue::operator[](const QString &key) - - -static void _init_f_operator_index__c2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((const QCborValue)((QCborValue *)cls)->operator[] (arg1)); -} - - -// const QCborValue QCborValue::operator[](QLatin1String key) - - -static void _init_f_operator_index__c1701 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__c1701 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - ret.write ((const QCborValue)((QCborValue *)cls)->operator[] (arg1)); -} - - -// const QCborValue QCborValue::operator[](qint64 key) - - -static void _init_f_operator_index__c986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__c986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - ret.write ((const QCborValue)((QCborValue *)cls)->operator[] (arg1)); -} - - -// QCborValueRef QCborValue::operator[](qint64 key) - - -static void _init_f_operator_index__986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValueRef)((QCborValue *)cls)->operator[] (arg1)); -} - - -// QCborValueRef QCborValue::operator[](QLatin1String key) - - -static void _init_f_operator_index__1701 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__1701 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValueRef)((QCborValue *)cls)->operator[] (arg1)); -} - - -// QCborValueRef QCborValue::operator[](const QString &key) - - -static void _init_f_operator_index__2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValueRef)((QCborValue *)cls)->operator[] (arg1)); -} - - -// void QCborValue::swap(QCborValue &other) - - -static void _init_f_swap_1598 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_swap_1598 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCborValue &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborValue *)cls)->swap (arg1); -} - - -// QCborTag QCborValue::tag(QCborTag defaultValue) - - -static void _init_f_tag_c1191 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue", true, "QCborTag(-1)"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return::target_type > (); -} - -static void _call_f_tag_c1191 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, QCborTag(-1)), heap); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QCborValue *)cls)->tag (qt_gsi::QtToCppAdaptor(arg1).cref()))); -} - - -// QCborValue QCborValue::taggedValue(const QCborValue &defaultValue) - - -static void _init_f_taggedValue_c2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue", true, "QCborValue()"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_taggedValue_c2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QCborValue(), heap); - ret.write ((QCborValue)((QCborValue *)cls)->taggedValue (arg1)); -} - - -// QCborArray QCborValue::toArray() - - -static void _init_f_toArray_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toArray_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborArray)((QCborValue *)cls)->toArray ()); -} - - -// QCborArray QCborValue::toArray(const QCborArray &defaultValue) - - -static void _init_f_toArray_c2295 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toArray_c2295 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborArray)((QCborValue *)cls)->toArray (arg1)); -} - - -// bool QCborValue::toBool(bool defaultValue) - - -static void _init_f_toBool_c864 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue", true, "false"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toBool_c864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (false, heap); - ret.write ((bool)((QCborValue *)cls)->toBool (arg1)); -} - - -// QByteArray QCborValue::toByteArray(const QByteArray &defaultValue) - - -static void _init_f_toByteArray_c2309 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue", true, "{}"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toByteArray_c2309 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QByteArray &arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() ({}, heap); - ret.write ((QByteArray)((QCborValue *)cls)->toByteArray (arg1)); -} - - -// QByteArray QCborValue::toCbor(QFlags opt) - - -static void _init_f_toCbor_c3668 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("opt", true, "QCborValue::NoTransformation"); - decl->add_arg > (argspec_0); - decl->set_return (); -} - -static void _call_f_toCbor_c3668 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QFlags arg1 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (QCborValue::NoTransformation, heap); - ret.write ((QByteArray)((QCborValue *)cls)->toCbor (arg1)); -} - - -// void QCborValue::toCbor(QCborStreamWriter &writer, QFlags opt) - - -static void _init_f_toCbor_c5906 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("writer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("opt", true, "QCborValue::NoTransformation"); - decl->add_arg > (argspec_1); - decl->set_return (); -} - -static void _call_f_toCbor_c5906 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCborStreamWriter &arg1 = gsi::arg_reader() (args, heap); - QFlags arg2 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (QCborValue::NoTransformation, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborValue *)cls)->toCbor (arg1, arg2); -} - - -// QDateTime QCborValue::toDateTime(const QDateTime &defaultValue) - - -static void _init_f_toDateTime_c2175 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue", true, "{}"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toDateTime_c2175 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QDateTime &arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() ({}, heap); - ret.write ((QDateTime)((QCborValue *)cls)->toDateTime (arg1)); -} - - -// QString QCborValue::toDiagnosticNotation(QFlags opts) - - -static void _init_f_toDiagnosticNotation_c4734 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("opts", true, "QCborValue::Compact"); - decl->add_arg > (argspec_0); - decl->set_return (); -} - -static void _call_f_toDiagnosticNotation_c4734 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QFlags arg1 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (QCborValue::Compact, heap); - ret.write ((QString)((QCborValue *)cls)->toDiagnosticNotation (arg1)); -} - - -// double QCborValue::toDouble(double defaultValue) - - -static void _init_f_toDouble_c1071 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue", true, "0"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toDouble_c1071 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - double arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - ret.write ((double)((QCborValue *)cls)->toDouble (arg1)); -} - - -// qint64 QCborValue::toInteger(qint64 defaultValue) - - -static void _init_f_toInteger_c986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue", true, "0"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toInteger_c986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - ret.write ((qint64)((QCborValue *)cls)->toInteger (arg1)); -} - - -// QJsonValue QCborValue::toJsonValue() - - -static void _init_f_toJsonValue_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toJsonValue_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QJsonValue)((QCborValue *)cls)->toJsonValue ()); -} - - -// QCborMap QCborValue::toMap() - - -static void _init_f_toMap_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toMap_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborMap)((QCborValue *)cls)->toMap ()); -} - - -// QCborMap QCborValue::toMap(const QCborMap &defaultValue) - - -static void _init_f_toMap_c2070 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toMap_c2070 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap)((QCborValue *)cls)->toMap (arg1)); -} - - -// QRegularExpression QCborValue::toRegularExpression(const QRegularExpression &defaultValue) - - -static void _init_f_toRegularExpression_c3188 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue", true, "{}"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toRegularExpression_c3188 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QRegularExpression &arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() ({}, heap); - ret.write ((QRegularExpression)((QCborValue *)cls)->toRegularExpression (arg1)); -} - - -// QCborSimpleType QCborValue::toSimpleType(QCborSimpleType defaultValue) - - -static void _init_f_toSimpleType_c1943 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue", true, "QCborSimpleType::Undefined"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return::target_type > (); -} - -static void _call_f_toSimpleType_c1943 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, QCborSimpleType::Undefined), heap); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QCborValue *)cls)->toSimpleType (qt_gsi::QtToCppAdaptor(arg1).cref()))); -} - - -// QString QCborValue::toString(const QString &defaultValue) - - -static void _init_f_toString_c2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue", true, "{}"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toString_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() ({}, heap); - ret.write ((QString)((QCborValue *)cls)->toString (arg1)); -} - - -// QUrl QCborValue::toUrl(const QUrl &defaultValue) - - -static void _init_f_toUrl_c1701 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue", true, "{}"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toUrl_c1701 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QUrl &arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() ({}, heap); - ret.write ((QUrl)((QCborValue *)cls)->toUrl (arg1)); -} - - -// QUuid QCborValue::toUuid(const QUuid &defaultValue) - - -static void _init_f_toUuid_c1801 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue", true, "{}"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toUuid_c1801 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QUuid &arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() ({}, heap); - ret.write ((QUuid)((QCborValue *)cls)->toUuid (arg1)); -} - - -// QVariant QCborValue::toVariant() - - -static void _init_f_toVariant_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toVariant_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVariant)((QCborValue *)cls)->toVariant ()); -} - - -// QCborValue::Type QCborValue::type() - - -static void _init_f_type_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_type_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QCborValue *)cls)->type ())); -} - - -// static QCborValue QCborValue::fromCbor(QCborStreamReader &reader) - - -static void _init_f_fromCbor_2304 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("reader"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_fromCbor_2304 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCborStreamReader &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValue)QCborValue::fromCbor (arg1)); -} - - -// static QCborValue QCborValue::fromCbor(const QByteArray &ba, QCborParserError *error) - - -static void _init_f_fromCbor_4437 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("ba"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("error", true, "nullptr"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_fromCbor_4437 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QByteArray &arg1 = gsi::arg_reader() (args, heap); - QCborParserError *arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ret.write ((QCborValue)QCborValue::fromCbor (arg1, arg2)); -} - - -// static QCborValue QCborValue::fromCbor(const char *data, qsizetype len, QCborParserError *error) - - -static void _init_f_fromCbor_5193 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("len"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("error", true, "nullptr"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_fromCbor_5193 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = gsi::arg_reader() (args, heap); - QCborParserError *arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ret.write ((QCborValue)QCborValue::fromCbor (arg1, arg2, arg3)); -} - - -// static QCborValue QCborValue::fromCbor(const quint8 *data, qsizetype len, QCborParserError *error) - - -static void _init_f_fromCbor_5396 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("len"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("error", true, "nullptr"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_fromCbor_5396 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const quint8 *arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = gsi::arg_reader() (args, heap); - QCborParserError *arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ret.write ((QCborValue)QCborValue::fromCbor (arg1, arg2, arg3)); -} - - -// static QCborValue QCborValue::fromJsonValue(const QJsonValue &v) - - -static void _init_f_fromJsonValue_2313 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("v"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_fromJsonValue_2313 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QJsonValue &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValue)QCborValue::fromJsonValue (arg1)); -} - - -// static QCborValue QCborValue::fromVariant(const QVariant &variant) - - -static void _init_f_fromVariant_2119 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("variant"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_fromVariant_2119 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QVariant &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValue)QCborValue::fromVariant (arg1)); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QCborValue () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValue::QCborValue()\nThis method creates an object of class QCborValue.", &_init_ctor_QCborValue_0, &_call_ctor_QCborValue_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValue::QCborValue(QCborValue::Type t_)\nThis method creates an object of class QCborValue.", &_init_ctor_QCborValue_1950, &_call_ctor_QCborValue_1950); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValue::QCborValue(std::nullptr_t)\nThis method creates an object of class QCborValue.", &_init_ctor_QCborValue_1879, &_call_ctor_QCborValue_1879); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValue::QCborValue(bool b_)\nThis method creates an object of class QCborValue.", &_init_ctor_QCborValue_864, &_call_ctor_QCborValue_864); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValue::QCborValue(int i)\nThis method creates an object of class QCborValue.", &_init_ctor_QCborValue_767, &_call_ctor_QCborValue_767); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValue::QCborValue(unsigned int u)\nThis method creates an object of class QCborValue.", &_init_ctor_QCborValue_1772, &_call_ctor_QCborValue_1772); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValue::QCborValue(qint64 i)\nThis method creates an object of class QCborValue.", &_init_ctor_QCborValue_986, &_call_ctor_QCborValue_986); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValue::QCborValue(double v)\nThis method creates an object of class QCborValue.", &_init_ctor_QCborValue_1071, &_call_ctor_QCborValue_1071); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValue::QCborValue(QCborSimpleType st)\nThis method creates an object of class QCborValue.", &_init_ctor_QCborValue_1943, &_call_ctor_QCborValue_1943); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValue::QCborValue(const QByteArray &ba)\nThis method creates an object of class QCborValue.", &_init_ctor_QCborValue_2309, &_call_ctor_QCborValue_2309); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValue::QCborValue(const QString &s)\nThis method creates an object of class QCborValue.", &_init_ctor_QCborValue_2025, &_call_ctor_QCborValue_2025); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValue::QCborValue(QStringView s)\nThis method creates an object of class QCborValue.", &_init_ctor_QCborValue_1559, &_call_ctor_QCborValue_1559); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValue::QCborValue(QLatin1String s)\nThis method creates an object of class QCborValue.", &_init_ctor_QCborValue_1701, &_call_ctor_QCborValue_1701); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValue::QCborValue(const char *s)\nThis method creates an object of class QCborValue.", &_init_ctor_QCborValue_1731, &_call_ctor_QCborValue_1731); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValue::QCborValue(const QCborArray &a)\nThis method creates an object of class QCborValue.", &_init_ctor_QCborValue_2295, &_call_ctor_QCborValue_2295); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValue::QCborValue(const QCborMap &m)\nThis method creates an object of class QCborValue.", &_init_ctor_QCborValue_2070, &_call_ctor_QCborValue_2070); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValue::QCborValue(QCborTag tag, const QCborValue &taggedValue)\nThis method creates an object of class QCborValue.", &_init_ctor_QCborValue_3376, &_call_ctor_QCborValue_3376); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValue::QCborValue(QCborKnownTags t_, const QCborValue &tv)\nThis method creates an object of class QCborValue.", &_init_ctor_QCborValue_4016, &_call_ctor_QCborValue_4016); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValue::QCborValue(const QDateTime &dt)\nThis method creates an object of class QCborValue.", &_init_ctor_QCborValue_2175, &_call_ctor_QCborValue_2175); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValue::QCborValue(const QUrl &url)\nThis method creates an object of class QCborValue.", &_init_ctor_QCborValue_1701u1, &_call_ctor_QCborValue_1701u1); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValue::QCborValue(const QRegularExpression &rx)\nThis method creates an object of class QCborValue.", &_init_ctor_QCborValue_3188, &_call_ctor_QCborValue_3188); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValue::QCborValue(const QUuid &uuid)\nThis method creates an object of class QCborValue.", &_init_ctor_QCborValue_1801, &_call_ctor_QCborValue_1801); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValue::QCborValue(const void *)\nThis method creates an object of class QCborValue.", &_init_ctor_QCborValue_1751, &_call_ctor_QCborValue_1751); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValue::QCborValue(const QCborValue &other)\nThis method creates an object of class QCborValue.", &_init_ctor_QCborValue_2293, &_call_ctor_QCborValue_2293); - methods += new qt_gsi::GenericMethod ("compare", "@brief Method int QCborValue::compare(const QCborValue &other)\n", true, &_init_f_compare_c2293, &_call_f_compare_c2293); - methods += new qt_gsi::GenericMethod ("isArray?", "@brief Method bool QCborValue::isArray()\n", true, &_init_f_isArray_c0, &_call_f_isArray_c0); - methods += new qt_gsi::GenericMethod ("isBool?", "@brief Method bool QCborValue::isBool()\n", true, &_init_f_isBool_c0, &_call_f_isBool_c0); - methods += new qt_gsi::GenericMethod ("isByteArray?", "@brief Method bool QCborValue::isByteArray()\n", true, &_init_f_isByteArray_c0, &_call_f_isByteArray_c0); - methods += new qt_gsi::GenericMethod ("isContainer?", "@brief Method bool QCborValue::isContainer()\n", true, &_init_f_isContainer_c0, &_call_f_isContainer_c0); - methods += new qt_gsi::GenericMethod ("isDateTime?", "@brief Method bool QCborValue::isDateTime()\n", true, &_init_f_isDateTime_c0, &_call_f_isDateTime_c0); - methods += new qt_gsi::GenericMethod ("isDouble?", "@brief Method bool QCborValue::isDouble()\n", true, &_init_f_isDouble_c0, &_call_f_isDouble_c0); - methods += new qt_gsi::GenericMethod ("isFalse?", "@brief Method bool QCborValue::isFalse()\n", true, &_init_f_isFalse_c0, &_call_f_isFalse_c0); - methods += new qt_gsi::GenericMethod ("isInteger?", "@brief Method bool QCborValue::isInteger()\n", true, &_init_f_isInteger_c0, &_call_f_isInteger_c0); - methods += new qt_gsi::GenericMethod ("isInvalid?", "@brief Method bool QCborValue::isInvalid()\n", true, &_init_f_isInvalid_c0, &_call_f_isInvalid_c0); - methods += new qt_gsi::GenericMethod ("isMap?", "@brief Method bool QCborValue::isMap()\n", true, &_init_f_isMap_c0, &_call_f_isMap_c0); - methods += new qt_gsi::GenericMethod ("isNull?", "@brief Method bool QCborValue::isNull()\n", true, &_init_f_isNull_c0, &_call_f_isNull_c0); - methods += new qt_gsi::GenericMethod ("isRegularExpression?", "@brief Method bool QCborValue::isRegularExpression()\n", true, &_init_f_isRegularExpression_c0, &_call_f_isRegularExpression_c0); - methods += new qt_gsi::GenericMethod ("isSimpleType?", "@brief Method bool QCborValue::isSimpleType()\n", true, &_init_f_isSimpleType_c0, &_call_f_isSimpleType_c0); - methods += new qt_gsi::GenericMethod ("isSimpleType?", "@brief Method bool QCborValue::isSimpleType(QCborSimpleType st)\n", true, &_init_f_isSimpleType_c1943, &_call_f_isSimpleType_c1943); - methods += new qt_gsi::GenericMethod ("isString?", "@brief Method bool QCborValue::isString()\n", true, &_init_f_isString_c0, &_call_f_isString_c0); - methods += new qt_gsi::GenericMethod ("isTag?", "@brief Method bool QCborValue::isTag()\n", true, &_init_f_isTag_c0, &_call_f_isTag_c0); - methods += new qt_gsi::GenericMethod ("isTrue?", "@brief Method bool QCborValue::isTrue()\n", true, &_init_f_isTrue_c0, &_call_f_isTrue_c0); - methods += new qt_gsi::GenericMethod ("isUndefined?", "@brief Method bool QCborValue::isUndefined()\n", true, &_init_f_isUndefined_c0, &_call_f_isUndefined_c0); - methods += new qt_gsi::GenericMethod ("isUrl?", "@brief Method bool QCborValue::isUrl()\n", true, &_init_f_isUrl_c0, &_call_f_isUrl_c0); - methods += new qt_gsi::GenericMethod ("isUuid?", "@brief Method bool QCborValue::isUuid()\n", true, &_init_f_isUuid_c0, &_call_f_isUuid_c0); - methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QCborValue::operator!=(const QCborValue &other)\n", true, &_init_f_operator_excl__eq__c2293, &_call_f_operator_excl__eq__c2293); - methods += new qt_gsi::GenericMethod ("<", "@brief Method bool QCborValue::operator<(const QCborValue &other)\n", true, &_init_f_operator_lt__c2293, &_call_f_operator_lt__c2293); - methods += new qt_gsi::GenericMethod ("assign", "@brief Method QCborValue &QCborValue::operator=(const QCborValue &other)\n", false, &_init_f_operator_eq__2293, &_call_f_operator_eq__2293); - methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QCborValue::operator==(const QCborValue &other)\n", true, &_init_f_operator_eq__eq__c2293, &_call_f_operator_eq__eq__c2293); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method const QCborValue QCborValue::operator[](const QString &key)\n", true, &_init_f_operator_index__c2025, &_call_f_operator_index__c2025); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method const QCborValue QCborValue::operator[](QLatin1String key)\n", true, &_init_f_operator_index__c1701, &_call_f_operator_index__c1701); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method const QCborValue QCborValue::operator[](qint64 key)\n", true, &_init_f_operator_index__c986, &_call_f_operator_index__c986); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method QCborValueRef QCborValue::operator[](qint64 key)\n", false, &_init_f_operator_index__986, &_call_f_operator_index__986); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method QCborValueRef QCborValue::operator[](QLatin1String key)\n", false, &_init_f_operator_index__1701, &_call_f_operator_index__1701); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method QCborValueRef QCborValue::operator[](const QString &key)\n", false, &_init_f_operator_index__2025, &_call_f_operator_index__2025); - methods += new qt_gsi::GenericMethod ("swap", "@brief Method void QCborValue::swap(QCborValue &other)\n", false, &_init_f_swap_1598, &_call_f_swap_1598); - methods += new qt_gsi::GenericMethod ("tag", "@brief Method QCborTag QCborValue::tag(QCborTag defaultValue)\n", true, &_init_f_tag_c1191, &_call_f_tag_c1191); - methods += new qt_gsi::GenericMethod ("taggedValue", "@brief Method QCborValue QCborValue::taggedValue(const QCborValue &defaultValue)\n", true, &_init_f_taggedValue_c2293, &_call_f_taggedValue_c2293); - methods += new qt_gsi::GenericMethod ("toArray", "@brief Method QCborArray QCborValue::toArray()\n", true, &_init_f_toArray_c0, &_call_f_toArray_c0); - methods += new qt_gsi::GenericMethod ("toArray", "@brief Method QCborArray QCborValue::toArray(const QCborArray &defaultValue)\n", true, &_init_f_toArray_c2295, &_call_f_toArray_c2295); - methods += new qt_gsi::GenericMethod ("toBool", "@brief Method bool QCborValue::toBool(bool defaultValue)\n", true, &_init_f_toBool_c864, &_call_f_toBool_c864); - methods += new qt_gsi::GenericMethod ("toByteArray", "@brief Method QByteArray QCborValue::toByteArray(const QByteArray &defaultValue)\n", true, &_init_f_toByteArray_c2309, &_call_f_toByteArray_c2309); - methods += new qt_gsi::GenericMethod ("toCbor", "@brief Method QByteArray QCborValue::toCbor(QFlags opt)\n", true, &_init_f_toCbor_c3668, &_call_f_toCbor_c3668); - methods += new qt_gsi::GenericMethod ("toCbor", "@brief Method void QCborValue::toCbor(QCborStreamWriter &writer, QFlags opt)\n", true, &_init_f_toCbor_c5906, &_call_f_toCbor_c5906); - methods += new qt_gsi::GenericMethod ("toDateTime", "@brief Method QDateTime QCborValue::toDateTime(const QDateTime &defaultValue)\n", true, &_init_f_toDateTime_c2175, &_call_f_toDateTime_c2175); - methods += new qt_gsi::GenericMethod ("toDiagnosticNotation", "@brief Method QString QCborValue::toDiagnosticNotation(QFlags opts)\n", true, &_init_f_toDiagnosticNotation_c4734, &_call_f_toDiagnosticNotation_c4734); - methods += new qt_gsi::GenericMethod ("toDouble", "@brief Method double QCborValue::toDouble(double defaultValue)\n", true, &_init_f_toDouble_c1071, &_call_f_toDouble_c1071); - methods += new qt_gsi::GenericMethod ("toInteger", "@brief Method qint64 QCborValue::toInteger(qint64 defaultValue)\n", true, &_init_f_toInteger_c986, &_call_f_toInteger_c986); - methods += new qt_gsi::GenericMethod ("toJsonValue", "@brief Method QJsonValue QCborValue::toJsonValue()\n", true, &_init_f_toJsonValue_c0, &_call_f_toJsonValue_c0); - methods += new qt_gsi::GenericMethod ("toMap", "@brief Method QCborMap QCborValue::toMap()\n", true, &_init_f_toMap_c0, &_call_f_toMap_c0); - methods += new qt_gsi::GenericMethod ("toMap", "@brief Method QCborMap QCborValue::toMap(const QCborMap &defaultValue)\n", true, &_init_f_toMap_c2070, &_call_f_toMap_c2070); - methods += new qt_gsi::GenericMethod ("toRegularExpression", "@brief Method QRegularExpression QCborValue::toRegularExpression(const QRegularExpression &defaultValue)\n", true, &_init_f_toRegularExpression_c3188, &_call_f_toRegularExpression_c3188); - methods += new qt_gsi::GenericMethod ("toSimpleType", "@brief Method QCborSimpleType QCborValue::toSimpleType(QCborSimpleType defaultValue)\n", true, &_init_f_toSimpleType_c1943, &_call_f_toSimpleType_c1943); - methods += new qt_gsi::GenericMethod ("toString", "@brief Method QString QCborValue::toString(const QString &defaultValue)\n", true, &_init_f_toString_c2025, &_call_f_toString_c2025); - methods += new qt_gsi::GenericMethod ("toUrl", "@brief Method QUrl QCborValue::toUrl(const QUrl &defaultValue)\n", true, &_init_f_toUrl_c1701, &_call_f_toUrl_c1701); - methods += new qt_gsi::GenericMethod ("toUuid", "@brief Method QUuid QCborValue::toUuid(const QUuid &defaultValue)\n", true, &_init_f_toUuid_c1801, &_call_f_toUuid_c1801); - methods += new qt_gsi::GenericMethod ("toVariant", "@brief Method QVariant QCborValue::toVariant()\n", true, &_init_f_toVariant_c0, &_call_f_toVariant_c0); - methods += new qt_gsi::GenericMethod ("type", "@brief Method QCborValue::Type QCborValue::type()\n", true, &_init_f_type_c0, &_call_f_type_c0); - methods += new qt_gsi::GenericStaticMethod ("fromCbor", "@brief Static method QCborValue QCborValue::fromCbor(QCborStreamReader &reader)\nThis method is static and can be called without an instance.", &_init_f_fromCbor_2304, &_call_f_fromCbor_2304); - methods += new qt_gsi::GenericStaticMethod ("fromCbor", "@brief Static method QCborValue QCborValue::fromCbor(const QByteArray &ba, QCborParserError *error)\nThis method is static and can be called without an instance.", &_init_f_fromCbor_4437, &_call_f_fromCbor_4437); - methods += new qt_gsi::GenericStaticMethod ("fromCbor", "@brief Static method QCborValue QCborValue::fromCbor(const char *data, qsizetype len, QCborParserError *error)\nThis method is static and can be called without an instance.", &_init_f_fromCbor_5193, &_call_f_fromCbor_5193); - methods += new qt_gsi::GenericStaticMethod ("fromCbor", "@brief Static method QCborValue QCborValue::fromCbor(const quint8 *data, qsizetype len, QCborParserError *error)\nThis method is static and can be called without an instance.", &_init_f_fromCbor_5396, &_call_f_fromCbor_5396); - methods += new qt_gsi::GenericStaticMethod ("fromJsonValue", "@brief Static method QCborValue QCborValue::fromJsonValue(const QJsonValue &v)\nThis method is static and can be called without an instance.", &_init_f_fromJsonValue_2313, &_call_f_fromJsonValue_2313); - methods += new qt_gsi::GenericStaticMethod ("fromVariant", "@brief Static method QCborValue QCborValue::fromVariant(const QVariant &variant)\nThis method is static and can be called without an instance.", &_init_f_fromVariant_2119, &_call_f_fromVariant_2119); - return methods; -} - -gsi::Class decl_QCborValue ("QtCore", "QCborValue", - methods_QCborValue (), - "@qt\n@brief Binding of QCborValue"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QCborValue () { return decl_QCborValue; } - -} - - -// Implementation of the enum wrapper class for QCborValue::DiagnosticNotationOption -namespace qt_gsi -{ - -static gsi::Enum decl_QCborValue_DiagnosticNotationOption_Enum ("QtCore", "QCborValue_DiagnosticNotationOption", - gsi::enum_const ("Compact", QCborValue::Compact, "@brief Enum constant QCborValue::Compact") + - gsi::enum_const ("LineWrapped", QCborValue::LineWrapped, "@brief Enum constant QCborValue::LineWrapped") + - gsi::enum_const ("ExtendedFormat", QCborValue::ExtendedFormat, "@brief Enum constant QCborValue::ExtendedFormat"), - "@qt\n@brief This class represents the QCborValue::DiagnosticNotationOption enum"); - -static gsi::QFlagsClass decl_QCborValue_DiagnosticNotationOption_Enums ("QtCore", "QCborValue_QFlags_DiagnosticNotationOption", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QCborValue_DiagnosticNotationOption_Enum_in_parent (decl_QCborValue_DiagnosticNotationOption_Enum.defs ()); -static gsi::ClassExt decl_QCborValue_DiagnosticNotationOption_Enum_as_child (decl_QCborValue_DiagnosticNotationOption_Enum, "DiagnosticNotationOption"); -static gsi::ClassExt decl_QCborValue_DiagnosticNotationOption_Enums_as_child (decl_QCborValue_DiagnosticNotationOption_Enums, "QFlags_DiagnosticNotationOption"); - -} - - -// Implementation of the enum wrapper class for QCborValue::EncodingOption -namespace qt_gsi -{ - -static gsi::Enum decl_QCborValue_EncodingOption_Enum ("QtCore", "QCborValue_EncodingOption", - gsi::enum_const ("SortKeysInMaps", QCborValue::SortKeysInMaps, "@brief Enum constant QCborValue::SortKeysInMaps") + - gsi::enum_const ("UseFloat", QCborValue::UseFloat, "@brief Enum constant QCborValue::UseFloat") + - gsi::enum_const ("UseFloat16", QCborValue::UseFloat16, "@brief Enum constant QCborValue::UseFloat16") + - gsi::enum_const ("UseIntegers", QCborValue::UseIntegers, "@brief Enum constant QCborValue::UseIntegers") + - gsi::enum_const ("NoTransformation", QCborValue::NoTransformation, "@brief Enum constant QCborValue::NoTransformation"), - "@qt\n@brief This class represents the QCborValue::EncodingOption enum"); - -static gsi::QFlagsClass decl_QCborValue_EncodingOption_Enums ("QtCore", "QCborValue_QFlags_EncodingOption", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QCborValue_EncodingOption_Enum_in_parent (decl_QCborValue_EncodingOption_Enum.defs ()); -static gsi::ClassExt decl_QCborValue_EncodingOption_Enum_as_child (decl_QCborValue_EncodingOption_Enum, "EncodingOption"); -static gsi::ClassExt decl_QCborValue_EncodingOption_Enums_as_child (decl_QCborValue_EncodingOption_Enums, "QFlags_EncodingOption"); - -} - - -// Implementation of the enum wrapper class for QCborValue::Type -namespace qt_gsi -{ - -static gsi::Enum decl_QCborValue_Type_Enum ("QtCore", "QCborValue_Type", - gsi::enum_const ("Integer", QCborValue::Integer, "@brief Enum constant QCborValue::Integer") + - gsi::enum_const ("ByteArray", QCborValue::ByteArray, "@brief Enum constant QCborValue::ByteArray") + - gsi::enum_const ("String", QCborValue::String, "@brief Enum constant QCborValue::String") + - gsi::enum_const ("Array", QCborValue::Array, "@brief Enum constant QCborValue::Array") + - gsi::enum_const ("Map", QCborValue::Map, "@brief Enum constant QCborValue::Map") + - gsi::enum_const ("Tag", QCborValue::Tag, "@brief Enum constant QCborValue::Tag") + - gsi::enum_const ("SimpleType", QCborValue::SimpleType, "@brief Enum constant QCborValue::SimpleType") + - gsi::enum_const ("False", QCborValue::False, "@brief Enum constant QCborValue::False") + - gsi::enum_const ("True", QCborValue::True, "@brief Enum constant QCborValue::True") + - gsi::enum_const ("Null", QCborValue::Null, "@brief Enum constant QCborValue::Null") + - gsi::enum_const ("Undefined", QCborValue::Undefined, "@brief Enum constant QCborValue::Undefined") + - gsi::enum_const ("Double", QCborValue::Double, "@brief Enum constant QCborValue::Double") + - gsi::enum_const ("DateTime", QCborValue::DateTime, "@brief Enum constant QCborValue::DateTime") + - gsi::enum_const ("Url", QCborValue::Url, "@brief Enum constant QCborValue::Url") + - gsi::enum_const ("RegularExpression", QCborValue::RegularExpression, "@brief Enum constant QCborValue::RegularExpression") + - gsi::enum_const ("Uuid", QCborValue::Uuid, "@brief Enum constant QCborValue::Uuid") + - gsi::enum_const ("Invalid", QCborValue::Invalid, "@brief Enum constant QCborValue::Invalid"), - "@qt\n@brief This class represents the QCborValue::Type enum"); - -static gsi::QFlagsClass decl_QCborValue_Type_Enums ("QtCore", "QCborValue_QFlags_Type", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QCborValue_Type_Enum_in_parent (decl_QCborValue_Type_Enum.defs ()); -static gsi::ClassExt decl_QCborValue_Type_Enum_as_child (decl_QCborValue_Type_Enum, "Type"); -static gsi::ClassExt decl_QCborValue_Type_Enums_as_child (decl_QCborValue_Type_Enums, "QFlags_Type"); - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQCborValueRef.cc b/src/gsiqt/qt6/QtCore/gsiDeclQCborValueRef.cc deleted file mode 100644 index 47c8977ec..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQCborValueRef.cc +++ /dev/null @@ -1,1052 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQCborValueRef.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QCborValueRef - -// Constructor QCborValueRef::QCborValueRef(const QCborValueRef &) - - -static void _init_ctor_QCborValueRef_2578 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCborValueRef_2578 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValueRef &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCborValueRef (arg1)); -} - - -// int QCborValueRef::compare(const QCborValue &other) - - -static void _init_f_compare_c2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_compare_c2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - ret.write ((int)((QCborValueRef *)cls)->compare (arg1)); -} - - -// bool QCborValueRef::isArray() - - -static void _init_f_isArray_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isArray_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValueRef *)cls)->isArray ()); -} - - -// bool QCborValueRef::isBool() - - -static void _init_f_isBool_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isBool_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValueRef *)cls)->isBool ()); -} - - -// bool QCborValueRef::isByteArray() - - -static void _init_f_isByteArray_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isByteArray_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValueRef *)cls)->isByteArray ()); -} - - -// bool QCborValueRef::isContainer() - - -static void _init_f_isContainer_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isContainer_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValueRef *)cls)->isContainer ()); -} - - -// bool QCborValueRef::isDateTime() - - -static void _init_f_isDateTime_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isDateTime_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValueRef *)cls)->isDateTime ()); -} - - -// bool QCborValueRef::isDouble() - - -static void _init_f_isDouble_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isDouble_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValueRef *)cls)->isDouble ()); -} - - -// bool QCborValueRef::isFalse() - - -static void _init_f_isFalse_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isFalse_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValueRef *)cls)->isFalse ()); -} - - -// bool QCborValueRef::isInteger() - - -static void _init_f_isInteger_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isInteger_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValueRef *)cls)->isInteger ()); -} - - -// bool QCborValueRef::isInvalid() - - -static void _init_f_isInvalid_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isInvalid_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValueRef *)cls)->isInvalid ()); -} - - -// bool QCborValueRef::isMap() - - -static void _init_f_isMap_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isMap_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValueRef *)cls)->isMap ()); -} - - -// bool QCborValueRef::isNull() - - -static void _init_f_isNull_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isNull_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValueRef *)cls)->isNull ()); -} - - -// bool QCborValueRef::isRegularExpression() - - -static void _init_f_isRegularExpression_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isRegularExpression_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValueRef *)cls)->isRegularExpression ()); -} - - -// bool QCborValueRef::isSimpleType() - - -static void _init_f_isSimpleType_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isSimpleType_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValueRef *)cls)->isSimpleType ()); -} - - -// bool QCborValueRef::isSimpleType(QCborSimpleType st) - - -static void _init_f_isSimpleType_c1943 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("st"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_isSimpleType_c1943 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write ((bool)((QCborValueRef *)cls)->isSimpleType (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// bool QCborValueRef::isString() - - -static void _init_f_isString_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isString_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValueRef *)cls)->isString ()); -} - - -// bool QCborValueRef::isTag() - - -static void _init_f_isTag_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isTag_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValueRef *)cls)->isTag ()); -} - - -// bool QCborValueRef::isTrue() - - -static void _init_f_isTrue_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isTrue_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValueRef *)cls)->isTrue ()); -} - - -// bool QCborValueRef::isUndefined() - - -static void _init_f_isUndefined_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isUndefined_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValueRef *)cls)->isUndefined ()); -} - - -// bool QCborValueRef::isUrl() - - -static void _init_f_isUrl_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isUrl_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValueRef *)cls)->isUrl ()); -} - - -// bool QCborValueRef::isUuid() - - -static void _init_f_isUuid_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isUuid_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCborValueRef *)cls)->isUuid ()); -} - - -// bool QCborValueRef::operator!=(const QCborValue &other) - - -static void _init_f_operator_excl__eq__c2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_excl__eq__c2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborValueRef *)cls)->operator!= (arg1)); -} - - -// bool QCborValueRef::operator<(const QCborValue &other) - - -static void _init_f_operator_lt__c2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_lt__c2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborValueRef *)cls)->operator< (arg1)); -} - - -// QCborValueRef &QCborValueRef::operator=(const QCborValue &other) - - -static void _init_f_operator_eq__2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValueRef &)((QCborValueRef *)cls)->operator= (arg1)); -} - - -// QCborValueRef &QCborValueRef::operator=(const QCborValueRef &other) - - -static void _init_f_operator_eq__2578 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__2578 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValueRef &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValueRef &)((QCborValueRef *)cls)->operator= (arg1)); -} - - -// bool QCborValueRef::operator==(const QCborValue &other) - - -static void _init_f_operator_eq__eq__c2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__eq__c2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCborValueRef *)cls)->operator== (arg1)); -} - - -// const QCborValue QCborValueRef::operator[](const QString &key) - - -static void _init_f_operator_index__c2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((const QCborValue)((QCborValueRef *)cls)->operator[] (arg1)); -} - - -// const QCborValue QCborValueRef::operator[](QLatin1String key) - - -static void _init_f_operator_index__c1701 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__c1701 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - ret.write ((const QCborValue)((QCborValueRef *)cls)->operator[] (arg1)); -} - - -// const QCborValue QCborValueRef::operator[](qint64 key) - - -static void _init_f_operator_index__c986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__c986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - ret.write ((const QCborValue)((QCborValueRef *)cls)->operator[] (arg1)); -} - - -// QCborValueRef QCborValueRef::operator[](qint64 key) - - -static void _init_f_operator_index__986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValueRef)((QCborValueRef *)cls)->operator[] (arg1)); -} - - -// QCborValueRef QCborValueRef::operator[](QLatin1String key) - - -static void _init_f_operator_index__1701 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__1701 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValueRef)((QCborValueRef *)cls)->operator[] (arg1)); -} - - -// QCborValueRef QCborValueRef::operator[](const QString &key) - - -static void _init_f_operator_index__2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("key"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborValueRef)((QCborValueRef *)cls)->operator[] (arg1)); -} - - -// QCborTag QCborValueRef::tag(QCborTag defaultValue) - - -static void _init_f_tag_c1191 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue", true, "QCborTag(-1)"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return::target_type > (); -} - -static void _call_f_tag_c1191 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, QCborTag(-1)), heap); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QCborValueRef *)cls)->tag (qt_gsi::QtToCppAdaptor(arg1).cref()))); -} - - -// QCborValue QCborValueRef::taggedValue(const QCborValue &defaultValue) - - -static void _init_f_taggedValue_c2293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue", true, "QCborValue()"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_taggedValue_c2293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborValue &arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QCborValue(), heap); - ret.write ((QCborValue)((QCborValueRef *)cls)->taggedValue (arg1)); -} - - -// QCborArray QCborValueRef::toArray() - - -static void _init_f_toArray_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toArray_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborArray)((QCborValueRef *)cls)->toArray ()); -} - - -// QCborArray QCborValueRef::toArray(const QCborArray &a) - - -static void _init_f_toArray_c2295 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("a"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toArray_c2295 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborArray &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborArray)((QCborValueRef *)cls)->toArray (arg1)); -} - - -// bool QCborValueRef::toBool(bool defaultValue) - - -static void _init_f_toBool_c864 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue", true, "false"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toBool_c864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (false, heap); - ret.write ((bool)((QCborValueRef *)cls)->toBool (arg1)); -} - - -// QByteArray QCborValueRef::toByteArray(const QByteArray &defaultValue) - - -static void _init_f_toByteArray_c2309 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue", true, "{}"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toByteArray_c2309 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QByteArray &arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() ({}, heap); - ret.write ((QByteArray)((QCborValueRef *)cls)->toByteArray (arg1)); -} - - -// QByteArray QCborValueRef::toCbor(QFlags opt) - - -static void _init_f_toCbor_3668 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("opt", true, "QCborValue::NoTransformation"); - decl->add_arg > (argspec_0); - decl->set_return (); -} - -static void _call_f_toCbor_3668 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QFlags arg1 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (QCborValue::NoTransformation, heap); - ret.write ((QByteArray)((QCborValueRef *)cls)->toCbor (arg1)); -} - - -// void QCborValueRef::toCbor(QCborStreamWriter &writer, QFlags opt) - - -static void _init_f_toCbor_5906 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("writer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("opt", true, "QCborValue::NoTransformation"); - decl->add_arg > (argspec_1); - decl->set_return (); -} - -static void _call_f_toCbor_5906 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCborStreamWriter &arg1 = gsi::arg_reader() (args, heap); - QFlags arg2 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (QCborValue::NoTransformation, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCborValueRef *)cls)->toCbor (arg1, arg2); -} - - -// QDateTime QCborValueRef::toDateTime(const QDateTime &defaultValue) - - -static void _init_f_toDateTime_c2175 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue", true, "{}"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toDateTime_c2175 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QDateTime &arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() ({}, heap); - ret.write ((QDateTime)((QCborValueRef *)cls)->toDateTime (arg1)); -} - - -// QString QCborValueRef::toDiagnosticNotation(QFlags opt) - - -static void _init_f_toDiagnosticNotation_4734 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("opt", true, "QCborValue::Compact"); - decl->add_arg > (argspec_0); - decl->set_return (); -} - -static void _call_f_toDiagnosticNotation_4734 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QFlags arg1 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (QCborValue::Compact, heap); - ret.write ((QString)((QCborValueRef *)cls)->toDiagnosticNotation (arg1)); -} - - -// double QCborValueRef::toDouble(double defaultValue) - - -static void _init_f_toDouble_c1071 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue", true, "0"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toDouble_c1071 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - double arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - ret.write ((double)((QCborValueRef *)cls)->toDouble (arg1)); -} - - -// qint64 QCborValueRef::toInteger(qint64 defaultValue) - - -static void _init_f_toInteger_c986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue", true, "0"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toInteger_c986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - ret.write ((qint64)((QCborValueRef *)cls)->toInteger (arg1)); -} - - -// QJsonValue QCborValueRef::toJsonValue() - - -static void _init_f_toJsonValue_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toJsonValue_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QJsonValue)((QCborValueRef *)cls)->toJsonValue ()); -} - - -// QCborMap QCborValueRef::toMap() - - -static void _init_f_toMap_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toMap_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCborMap)((QCborValueRef *)cls)->toMap ()); -} - - -// QCborMap QCborValueRef::toMap(const QCborMap &m) - - -static void _init_f_toMap_c2070 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("m"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toMap_c2070 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCborMap &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCborMap)((QCborValueRef *)cls)->toMap (arg1)); -} - - -// QRegularExpression QCborValueRef::toRegularExpression(const QRegularExpression &defaultValue) - - -static void _init_f_toRegularExpression_c3188 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue", true, "{}"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toRegularExpression_c3188 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QRegularExpression &arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() ({}, heap); - ret.write ((QRegularExpression)((QCborValueRef *)cls)->toRegularExpression (arg1)); -} - - -// QString QCborValueRef::toString(const QString &defaultValue) - - -static void _init_f_toString_c2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue", true, "{}"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toString_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() ({}, heap); - ret.write ((QString)((QCborValueRef *)cls)->toString (arg1)); -} - - -// QUrl QCborValueRef::toUrl(const QUrl &defaultValue) - - -static void _init_f_toUrl_c1701 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue", true, "{}"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toUrl_c1701 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QUrl &arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() ({}, heap); - ret.write ((QUrl)((QCborValueRef *)cls)->toUrl (arg1)); -} - - -// QUuid QCborValueRef::toUuid(const QUuid &defaultValue) - - -static void _init_f_toUuid_c1801 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("defaultValue", true, "{}"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toUuid_c1801 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QUuid &arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() ({}, heap); - ret.write ((QUuid)((QCborValueRef *)cls)->toUuid (arg1)); -} - - -// QVariant QCborValueRef::toVariant() - - -static void _init_f_toVariant_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toVariant_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVariant)((QCborValueRef *)cls)->toVariant ()); -} - - -// QCborValue::Type QCborValueRef::type() - - -static void _init_f_type_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_type_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QCborValueRef *)cls)->type ())); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QCborValueRef () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCborValueRef::QCborValueRef(const QCborValueRef &)\nThis method creates an object of class QCborValueRef.", &_init_ctor_QCborValueRef_2578, &_call_ctor_QCborValueRef_2578); - methods += new qt_gsi::GenericMethod ("compare", "@brief Method int QCborValueRef::compare(const QCborValue &other)\n", true, &_init_f_compare_c2293, &_call_f_compare_c2293); - methods += new qt_gsi::GenericMethod ("isArray?", "@brief Method bool QCborValueRef::isArray()\n", true, &_init_f_isArray_c0, &_call_f_isArray_c0); - methods += new qt_gsi::GenericMethod ("isBool?", "@brief Method bool QCborValueRef::isBool()\n", true, &_init_f_isBool_c0, &_call_f_isBool_c0); - methods += new qt_gsi::GenericMethod ("isByteArray?", "@brief Method bool QCborValueRef::isByteArray()\n", true, &_init_f_isByteArray_c0, &_call_f_isByteArray_c0); - methods += new qt_gsi::GenericMethod ("isContainer?", "@brief Method bool QCborValueRef::isContainer()\n", true, &_init_f_isContainer_c0, &_call_f_isContainer_c0); - methods += new qt_gsi::GenericMethod ("isDateTime?", "@brief Method bool QCborValueRef::isDateTime()\n", true, &_init_f_isDateTime_c0, &_call_f_isDateTime_c0); - methods += new qt_gsi::GenericMethod ("isDouble?", "@brief Method bool QCborValueRef::isDouble()\n", true, &_init_f_isDouble_c0, &_call_f_isDouble_c0); - methods += new qt_gsi::GenericMethod ("isFalse?", "@brief Method bool QCborValueRef::isFalse()\n", true, &_init_f_isFalse_c0, &_call_f_isFalse_c0); - methods += new qt_gsi::GenericMethod ("isInteger?", "@brief Method bool QCborValueRef::isInteger()\n", true, &_init_f_isInteger_c0, &_call_f_isInteger_c0); - methods += new qt_gsi::GenericMethod ("isInvalid?", "@brief Method bool QCborValueRef::isInvalid()\n", true, &_init_f_isInvalid_c0, &_call_f_isInvalid_c0); - methods += new qt_gsi::GenericMethod ("isMap?", "@brief Method bool QCborValueRef::isMap()\n", true, &_init_f_isMap_c0, &_call_f_isMap_c0); - methods += new qt_gsi::GenericMethod ("isNull?", "@brief Method bool QCborValueRef::isNull()\n", true, &_init_f_isNull_c0, &_call_f_isNull_c0); - methods += new qt_gsi::GenericMethod ("isRegularExpression?", "@brief Method bool QCborValueRef::isRegularExpression()\n", true, &_init_f_isRegularExpression_c0, &_call_f_isRegularExpression_c0); - methods += new qt_gsi::GenericMethod ("isSimpleType?", "@brief Method bool QCborValueRef::isSimpleType()\n", true, &_init_f_isSimpleType_c0, &_call_f_isSimpleType_c0); - methods += new qt_gsi::GenericMethod ("isSimpleType?", "@brief Method bool QCborValueRef::isSimpleType(QCborSimpleType st)\n", true, &_init_f_isSimpleType_c1943, &_call_f_isSimpleType_c1943); - methods += new qt_gsi::GenericMethod ("isString?", "@brief Method bool QCborValueRef::isString()\n", true, &_init_f_isString_c0, &_call_f_isString_c0); - methods += new qt_gsi::GenericMethod ("isTag?", "@brief Method bool QCborValueRef::isTag()\n", true, &_init_f_isTag_c0, &_call_f_isTag_c0); - methods += new qt_gsi::GenericMethod ("isTrue?", "@brief Method bool QCborValueRef::isTrue()\n", true, &_init_f_isTrue_c0, &_call_f_isTrue_c0); - methods += new qt_gsi::GenericMethod ("isUndefined?", "@brief Method bool QCborValueRef::isUndefined()\n", true, &_init_f_isUndefined_c0, &_call_f_isUndefined_c0); - methods += new qt_gsi::GenericMethod ("isUrl?", "@brief Method bool QCborValueRef::isUrl()\n", true, &_init_f_isUrl_c0, &_call_f_isUrl_c0); - methods += new qt_gsi::GenericMethod ("isUuid?", "@brief Method bool QCborValueRef::isUuid()\n", true, &_init_f_isUuid_c0, &_call_f_isUuid_c0); - methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QCborValueRef::operator!=(const QCborValue &other)\n", true, &_init_f_operator_excl__eq__c2293, &_call_f_operator_excl__eq__c2293); - methods += new qt_gsi::GenericMethod ("<", "@brief Method bool QCborValueRef::operator<(const QCborValue &other)\n", true, &_init_f_operator_lt__c2293, &_call_f_operator_lt__c2293); - methods += new qt_gsi::GenericMethod ("assign", "@brief Method QCborValueRef &QCborValueRef::operator=(const QCborValue &other)\n", false, &_init_f_operator_eq__2293, &_call_f_operator_eq__2293); - methods += new qt_gsi::GenericMethod ("assign", "@brief Method QCborValueRef &QCborValueRef::operator=(const QCborValueRef &other)\n", false, &_init_f_operator_eq__2578, &_call_f_operator_eq__2578); - methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QCborValueRef::operator==(const QCborValue &other)\n", true, &_init_f_operator_eq__eq__c2293, &_call_f_operator_eq__eq__c2293); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method const QCborValue QCborValueRef::operator[](const QString &key)\n", true, &_init_f_operator_index__c2025, &_call_f_operator_index__c2025); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method const QCborValue QCborValueRef::operator[](QLatin1String key)\n", true, &_init_f_operator_index__c1701, &_call_f_operator_index__c1701); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method const QCborValue QCborValueRef::operator[](qint64 key)\n", true, &_init_f_operator_index__c986, &_call_f_operator_index__c986); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method QCborValueRef QCborValueRef::operator[](qint64 key)\n", false, &_init_f_operator_index__986, &_call_f_operator_index__986); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method QCborValueRef QCborValueRef::operator[](QLatin1String key)\n", false, &_init_f_operator_index__1701, &_call_f_operator_index__1701); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method QCborValueRef QCborValueRef::operator[](const QString &key)\n", false, &_init_f_operator_index__2025, &_call_f_operator_index__2025); - methods += new qt_gsi::GenericMethod ("tag", "@brief Method QCborTag QCborValueRef::tag(QCborTag defaultValue)\n", true, &_init_f_tag_c1191, &_call_f_tag_c1191); - methods += new qt_gsi::GenericMethod ("taggedValue", "@brief Method QCborValue QCborValueRef::taggedValue(const QCborValue &defaultValue)\n", true, &_init_f_taggedValue_c2293, &_call_f_taggedValue_c2293); - methods += new qt_gsi::GenericMethod ("toArray", "@brief Method QCborArray QCborValueRef::toArray()\n", true, &_init_f_toArray_c0, &_call_f_toArray_c0); - methods += new qt_gsi::GenericMethod ("toArray", "@brief Method QCborArray QCborValueRef::toArray(const QCborArray &a)\n", true, &_init_f_toArray_c2295, &_call_f_toArray_c2295); - methods += new qt_gsi::GenericMethod ("toBool", "@brief Method bool QCborValueRef::toBool(bool defaultValue)\n", true, &_init_f_toBool_c864, &_call_f_toBool_c864); - methods += new qt_gsi::GenericMethod ("toByteArray", "@brief Method QByteArray QCborValueRef::toByteArray(const QByteArray &defaultValue)\n", true, &_init_f_toByteArray_c2309, &_call_f_toByteArray_c2309); - methods += new qt_gsi::GenericMethod ("toCbor", "@brief Method QByteArray QCborValueRef::toCbor(QFlags opt)\n", false, &_init_f_toCbor_3668, &_call_f_toCbor_3668); - methods += new qt_gsi::GenericMethod ("toCbor", "@brief Method void QCborValueRef::toCbor(QCborStreamWriter &writer, QFlags opt)\n", false, &_init_f_toCbor_5906, &_call_f_toCbor_5906); - methods += new qt_gsi::GenericMethod ("toDateTime", "@brief Method QDateTime QCborValueRef::toDateTime(const QDateTime &defaultValue)\n", true, &_init_f_toDateTime_c2175, &_call_f_toDateTime_c2175); - methods += new qt_gsi::GenericMethod ("toDiagnosticNotation", "@brief Method QString QCborValueRef::toDiagnosticNotation(QFlags opt)\n", false, &_init_f_toDiagnosticNotation_4734, &_call_f_toDiagnosticNotation_4734); - methods += new qt_gsi::GenericMethod ("toDouble", "@brief Method double QCborValueRef::toDouble(double defaultValue)\n", true, &_init_f_toDouble_c1071, &_call_f_toDouble_c1071); - methods += new qt_gsi::GenericMethod ("toInteger", "@brief Method qint64 QCborValueRef::toInteger(qint64 defaultValue)\n", true, &_init_f_toInteger_c986, &_call_f_toInteger_c986); - methods += new qt_gsi::GenericMethod ("toJsonValue", "@brief Method QJsonValue QCborValueRef::toJsonValue()\n", true, &_init_f_toJsonValue_c0, &_call_f_toJsonValue_c0); - methods += new qt_gsi::GenericMethod ("toMap", "@brief Method QCborMap QCborValueRef::toMap()\n", true, &_init_f_toMap_c0, &_call_f_toMap_c0); - methods += new qt_gsi::GenericMethod ("toMap", "@brief Method QCborMap QCborValueRef::toMap(const QCborMap &m)\n", true, &_init_f_toMap_c2070, &_call_f_toMap_c2070); - methods += new qt_gsi::GenericMethod ("toRegularExpression", "@brief Method QRegularExpression QCborValueRef::toRegularExpression(const QRegularExpression &defaultValue)\n", true, &_init_f_toRegularExpression_c3188, &_call_f_toRegularExpression_c3188); - methods += new qt_gsi::GenericMethod ("toString", "@brief Method QString QCborValueRef::toString(const QString &defaultValue)\n", true, &_init_f_toString_c2025, &_call_f_toString_c2025); - methods += new qt_gsi::GenericMethod ("toUrl", "@brief Method QUrl QCborValueRef::toUrl(const QUrl &defaultValue)\n", true, &_init_f_toUrl_c1701, &_call_f_toUrl_c1701); - methods += new qt_gsi::GenericMethod ("toUuid", "@brief Method QUuid QCborValueRef::toUuid(const QUuid &defaultValue)\n", true, &_init_f_toUuid_c1801, &_call_f_toUuid_c1801); - methods += new qt_gsi::GenericMethod ("toVariant", "@brief Method QVariant QCborValueRef::toVariant()\n", true, &_init_f_toVariant_c0, &_call_f_toVariant_c0); - methods += new qt_gsi::GenericMethod ("type", "@brief Method QCborValue::Type QCborValueRef::type()\n", true, &_init_f_type_c0, &_call_f_type_c0); - return methods; -} - -gsi::Class decl_QCborValueRef ("QtCore", "QCborValueRef", - methods_QCborValueRef (), - "@qt\n@brief Binding of QCborValueRef"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QCborValueRef () { return decl_QCborValueRef; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQContainerInfo.cc b/src/gsiqt/qt6/QtCore/gsiDeclQContainerInfo.cc deleted file mode 100644 index 7cebca421..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQContainerInfo.cc +++ /dev/null @@ -1,47 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQContainerInfo.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// namespace QContainerInfo - -class QContainerInfo_Namespace { }; - -namespace gsi -{ -gsi::Class decl_QContainerInfo_Namespace ("QtCore", "QContainerInfo", - gsi::Methods(), - "@qt\n@brief This class represents the QContainerInfo namespace"); -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQHashPrivate.cc b/src/gsiqt/qt6/QtCore/gsiDeclQHashPrivate.cc deleted file mode 100644 index 3a94d7f71..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQHashPrivate.cc +++ /dev/null @@ -1,47 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQHashPrivate.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// namespace QHashPrivate - -class QHashPrivate_Namespace { }; - -namespace gsi -{ -gsi::Class decl_QHashPrivate_Namespace ("QtCore", "QHashPrivate", - gsi::Methods(), - "@qt\n@brief This class represents the QHashPrivate namespace"); -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQHashSeed.cc b/src/gsiqt/qt6/QtCore/gsiDeclQHashSeed.cc deleted file mode 100644 index cf7540ea7..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQHashSeed.cc +++ /dev/null @@ -1,142 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQHashSeed.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// struct QHashSeed - -// Constructor QHashSeed::QHashSeed(QHashSeed::size_t d) - - -static void _init_ctor_QHashSeed_2060 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("d", true, "0"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QHashSeed_2060 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QHashSeed::size_t arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - ret.write (new QHashSeed (arg1)); -} - - -// operator QHashSeed::size_t() - - -static void _init_f_size_t_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_size_t_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((operator)((QHashSeed *)cls)->size_t ()); -} - - -// static QHashSeed QHashSeed::globalSeed() - - -static void _init_f_globalSeed_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_globalSeed_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QHashSeed)QHashSeed::globalSeed ()); -} - - -// static void QHashSeed::resetRandomGlobalSeed() - - -static void _init_f_resetRandomGlobalSeed_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_resetRandomGlobalSeed_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - QHashSeed::resetRandomGlobalSeed (); -} - - -// static void QHashSeed::setDeterministicGlobalSeed() - - -static void _init_f_setDeterministicGlobalSeed_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_setDeterministicGlobalSeed_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - QHashSeed::setDeterministicGlobalSeed (); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QHashSeed () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QHashSeed::QHashSeed(QHashSeed::size_t d)\nThis method creates an object of class QHashSeed.", &_init_ctor_QHashSeed_2060, &_call_ctor_QHashSeed_2060); - methods += new qt_gsi::GenericMethod ("size_t", "@brief Method operator QHashSeed::size_t()\n", true, &_init_f_size_t_c0, &_call_f_size_t_c0); - methods += new qt_gsi::GenericStaticMethod ("globalSeed", "@brief Static method QHashSeed QHashSeed::globalSeed()\nThis method is static and can be called without an instance.", &_init_f_globalSeed_0, &_call_f_globalSeed_0); - methods += new qt_gsi::GenericStaticMethod ("resetRandomGlobalSeed", "@brief Static method void QHashSeed::resetRandomGlobalSeed()\nThis method is static and can be called without an instance.", &_init_f_resetRandomGlobalSeed_0, &_call_f_resetRandomGlobalSeed_0); - methods += new qt_gsi::GenericStaticMethod ("setDeterministicGlobalSeed", "@brief Static method void QHashSeed::setDeterministicGlobalSeed()\nThis method is static and can be called without an instance.", &_init_f_setDeterministicGlobalSeed_0, &_call_f_setDeterministicGlobalSeed_0); - return methods; -} - -gsi::Class decl_QHashSeed ("QtCore", "QHashSeed", - methods_QHashSeed (), - "@qt\n@brief Binding of QHashSeed"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QHashSeed () { return decl_QHashSeed; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQLittleEndianStorageType.cc b/src/gsiqt/qt6/QtCore/gsiDeclQLittleEndianStorageType.cc deleted file mode 100644 index 7b622cb8c..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQLittleEndianStorageType.cc +++ /dev/null @@ -1,112 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQLittleEndianStorageType.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QLittleEndianStorageType - -// Constructor QLittleEndianStorageType::QLittleEndianStorageType() - - -static void _init_ctor_QLittleEndianStorageType_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QLittleEndianStorageType_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QLittleEndianStorageType ()); -} - - -// static T QLittleEndianStorageType::fromSpecial(T source) - - -static void _init_f_fromSpecial_520 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("source"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_fromSpecial_520 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - T arg1 = gsi::arg_reader() (args, heap); - ret.write ((T)QLittleEndianStorageType::fromSpecial (arg1)); -} - - -// static T QLittleEndianStorageType::toSpecial(T source) - - -static void _init_f_toSpecial_520 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("source"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toSpecial_520 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - T arg1 = gsi::arg_reader() (args, heap); - ret.write ((T)QLittleEndianStorageType::toSpecial (arg1)); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QLittleEndianStorageType () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QLittleEndianStorageType::QLittleEndianStorageType()\nThis method creates an object of class QLittleEndianStorageType.", &_init_ctor_QLittleEndianStorageType_0, &_call_ctor_QLittleEndianStorageType_0); - methods += new qt_gsi::GenericStaticMethod ("fromSpecial", "@brief Static method T QLittleEndianStorageType::fromSpecial(T source)\nThis method is static and can be called without an instance.", &_init_f_fromSpecial_520, &_call_f_fromSpecial_520); - methods += new qt_gsi::GenericStaticMethod ("toSpecial", "@brief Static method T QLittleEndianStorageType::toSpecial(T source)\nThis method is static and can be called without an instance.", &_init_f_toSpecial_520, &_call_f_toSpecial_520); - return methods; -} - -gsi::Class decl_QLittleEndianStorageType ("QtCore", "QLittleEndianStorageType", - methods_QLittleEndianStorageType (), - "@qt\n@brief Binding of QLittleEndianStorageType"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QLittleEndianStorageType () { return decl_QLittleEndianStorageType; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQNativeInterface.cc b/src/gsiqt/qt6/QtCore/gsiDeclQNativeInterface.cc deleted file mode 100644 index c64275feb..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQNativeInterface.cc +++ /dev/null @@ -1,47 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQNativeInterface.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// namespace QNativeInterface - -class QNativeInterface_Namespace { }; - -namespace gsi -{ -gsi::Class decl_QNativeInterface_Namespace ("QtCore", "QNativeInterface", - gsi::Methods(), - "@qt\n@brief This class represents the QNativeInterface namespace"); -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQPromise.cc b/src/gsiqt/qt6/QtCore/gsiDeclQPromise.cc deleted file mode 100644 index ddf674045..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQPromise.cc +++ /dev/null @@ -1,346 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQPromise.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include - -// ----------------------------------------------------------------------- -// class QPromise - -// Constructor QPromise::QPromise() - - -static void _init_ctor_QPromise_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QPromise_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QPromise ()); -} - - -// Constructor QPromise::QPromise(const QPromise &) - - -static void _init_ctor_QPromise_2129 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QPromise_2129 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QPromise &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QPromise (arg1)); -} - - -// Constructor QPromise::QPromise(const QFutureInterface &other) - - -static void _init_ctor_QPromise_3148 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg & > (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QPromise_3148 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QFutureInterface &arg1 = gsi::arg_reader & >() (args, heap); - ret.write (new QPromise (arg1)); -} - - -// void QPromise::finish() - - -static void _init_f_finish_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_finish_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QPromise *)cls)->finish (); -} - - -// QFuture QPromise::future() - - -static void _init_f_future_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_future_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QFuture)((QPromise *)cls)->future ()); -} - - -// bool QPromise::isCanceled() - - -static void _init_f_isCanceled_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isCanceled_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QPromise *)cls)->isCanceled ()); -} - - -// QPromise &QPromise::operator=(const QPromise &) - - -static void _init_f_operator_eq__2129 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__2129 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QPromise &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QPromise &)((QPromise *)cls)->operator= (arg1)); -} - - -// void QPromise::setException(const QException &e) - - -static void _init_f_setException_2337 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("e"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setException_2337 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QException &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QPromise *)cls)->setException (arg1); -} - - -// void QPromise::setException(std::exception_ptr e) - - -static void _init_f_setException_2295 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("e"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setException_2295 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - std::exception_ptr arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QPromise *)cls)->setException (arg1); -} - - -// void QPromise::setProgressRange(int minimum, int maximum) - - -static void _init_f_setProgressRange_1426 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("minimum"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("maximum"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_setProgressRange_1426 (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); - int arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QPromise *)cls)->setProgressRange (arg1, arg2); -} - - -// void QPromise::setProgressValue(int progressValue) - - -static void _init_f_setProgressValue_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("progressValue"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setProgressValue_767 (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); - __SUPPRESS_UNUSED_WARNING(ret); - ((QPromise *)cls)->setProgressValue (arg1); -} - - -// void QPromise::setProgressValueAndText(int progressValue, const QString &progressText) - - -static void _init_f_setProgressValueAndText_2684 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("progressValue"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("progressText"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_setProgressValueAndText_2684 (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); - const QString &arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QPromise *)cls)->setProgressValueAndText (arg1, arg2); -} - - -// void QPromise::start() - - -static void _init_f_start_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_start_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QPromise *)cls)->start (); -} - - -// void QPromise::suspendIfRequested() - - -static void _init_f_suspendIfRequested_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_suspendIfRequested_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QPromise *)cls)->suspendIfRequested (); -} - - -// void QPromise::swap(QPromise &other) - - -static void _init_f_swap_1640 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg & > (argspec_0); - decl->set_return (); -} - -static void _call_f_swap_1640 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QPromise &arg1 = gsi::arg_reader & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QPromise *)cls)->swap (arg1); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QPromise () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QPromise::QPromise()\nThis method creates an object of class QPromise.", &_init_ctor_QPromise_0, &_call_ctor_QPromise_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QPromise::QPromise(const QPromise &)\nThis method creates an object of class QPromise.", &_init_ctor_QPromise_2129, &_call_ctor_QPromise_2129); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QPromise::QPromise(const QFutureInterface &other)\nThis method creates an object of class QPromise.", &_init_ctor_QPromise_3148, &_call_ctor_QPromise_3148); - methods += new qt_gsi::GenericMethod ("finish", "@brief Method void QPromise::finish()\n", false, &_init_f_finish_0, &_call_f_finish_0); - methods += new qt_gsi::GenericMethod ("future", "@brief Method QFuture QPromise::future()\n", true, &_init_f_future_c0, &_call_f_future_c0); - methods += new qt_gsi::GenericMethod ("isCanceled?", "@brief Method bool QPromise::isCanceled()\n", true, &_init_f_isCanceled_c0, &_call_f_isCanceled_c0); - methods += new qt_gsi::GenericMethod ("assign", "@brief Method QPromise &QPromise::operator=(const QPromise &)\n", false, &_init_f_operator_eq__2129, &_call_f_operator_eq__2129); - methods += new qt_gsi::GenericMethod ("setException", "@brief Method void QPromise::setException(const QException &e)\n", false, &_init_f_setException_2337, &_call_f_setException_2337); - methods += new qt_gsi::GenericMethod ("setException", "@brief Method void QPromise::setException(std::exception_ptr e)\n", false, &_init_f_setException_2295, &_call_f_setException_2295); - methods += new qt_gsi::GenericMethod ("setProgressRange", "@brief Method void QPromise::setProgressRange(int minimum, int maximum)\n", false, &_init_f_setProgressRange_1426, &_call_f_setProgressRange_1426); - methods += new qt_gsi::GenericMethod ("setProgressValue", "@brief Method void QPromise::setProgressValue(int progressValue)\n", false, &_init_f_setProgressValue_767, &_call_f_setProgressValue_767); - methods += new qt_gsi::GenericMethod ("setProgressValueAndText", "@brief Method void QPromise::setProgressValueAndText(int progressValue, const QString &progressText)\n", false, &_init_f_setProgressValueAndText_2684, &_call_f_setProgressValueAndText_2684); - methods += new qt_gsi::GenericMethod ("start", "@brief Method void QPromise::start()\n", false, &_init_f_start_0, &_call_f_start_0); - methods += new qt_gsi::GenericMethod ("suspendIfRequested", "@brief Method void QPromise::suspendIfRequested()\n", false, &_init_f_suspendIfRequested_0, &_call_f_suspendIfRequested_0); - methods += new qt_gsi::GenericMethod ("swap", "@brief Method void QPromise::swap(QPromise &other)\n", false, &_init_f_swap_1640, &_call_f_swap_1640); - return methods; -} - -gsi::Class decl_QPromise ("QtCore", "QPromise", - methods_QPromise (), - "@qt\n@brief Binding of QPromise"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QPromise () { return decl_QPromise; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQPropertyBindingPrivatePtr.cc b/src/gsiqt/qt6/QtCore/gsiDeclQPropertyBindingPrivatePtr.cc deleted file mode 100644 index a806df130..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQPropertyBindingPrivatePtr.cc +++ /dev/null @@ -1,338 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQPropertyBindingPrivatePtr.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include - -// ----------------------------------------------------------------------- -// class QPropertyBindingPrivatePtr - -// Constructor QPropertyBindingPrivatePtr::QPropertyBindingPrivatePtr() - - -static void _init_ctor_QPropertyBindingPrivatePtr_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QPropertyBindingPrivatePtr_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QPropertyBindingPrivatePtr ()); -} - - -// Constructor QPropertyBindingPrivatePtr::QPropertyBindingPrivatePtr(QPropertyBindingPrivatePtr::T *data) - - -static void _init_ctor_QPropertyBindingPrivatePtr_3512 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QPropertyBindingPrivatePtr_3512 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QPropertyBindingPrivatePtr::T *arg1 = gsi::arg_reader() (args, heap); - ret.write (new QPropertyBindingPrivatePtr (arg1)); -} - - -// Constructor QPropertyBindingPrivatePtr::QPropertyBindingPrivatePtr(const QPropertyBindingPrivatePtr &o) - - -static void _init_ctor_QPropertyBindingPrivatePtr_4003 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("o"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QPropertyBindingPrivatePtr_4003 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QPropertyBindingPrivatePtr &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QPropertyBindingPrivatePtr (arg1)); -} - - -// const QPropertyBindingPrivatePtr::T *QPropertyBindingPrivatePtr::constData() - - -static void _init_f_constData_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_constData_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((const QPropertyBindingPrivatePtr::T *)((QPropertyBindingPrivatePtr *)cls)->constData ()); -} - - -// QPropertyBindingPrivatePtr::T *QPropertyBindingPrivatePtr::data() - - -static void _init_f_data_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_data_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QPropertyBindingPrivatePtr::T *)((QPropertyBindingPrivatePtr *)cls)->data ()); -} - - -// void QPropertyBindingPrivatePtr::destroyAndFreeMemory() - - -static void _init_f_destroyAndFreeMemory_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_destroyAndFreeMemory_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QPropertyBindingPrivatePtr *)cls)->destroyAndFreeMemory (); -} - - -// QPropertyBindingPrivatePtr::T *QPropertyBindingPrivatePtr::get() - - -static void _init_f_get_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_get_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QPropertyBindingPrivatePtr::T *)((QPropertyBindingPrivatePtr *)cls)->get ()); -} - - -// bool QPropertyBindingPrivatePtr::operator!() - - -static void _init_f_operator_excl__c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_excl__c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QPropertyBindingPrivatePtr *)cls)->operator! ()); -} - - -// QPropertyBindingPrivatePtr::T &QPropertyBindingPrivatePtr::operator*() - - -static void _init_f_operator_star__c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_star__c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QPropertyBindingPrivatePtr::T &)((QPropertyBindingPrivatePtr *)cls)->operator* ()); -} - - -// QPropertyBindingPrivatePtr::T *QPropertyBindingPrivatePtr::operator->() - - -static void _init_f_operator_minus__gt__0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_minus__gt__0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QPropertyBindingPrivatePtr::T *)((QPropertyBindingPrivatePtr *)cls)->operator-> ()); -} - - -// QPropertyBindingPrivatePtr::T *QPropertyBindingPrivatePtr::operator->() - - -static void _init_f_operator_minus__gt__c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_minus__gt__c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QPropertyBindingPrivatePtr::T *)((QPropertyBindingPrivatePtr *)cls)->operator-> ()); -} - - -// QPropertyBindingPrivatePtr &QPropertyBindingPrivatePtr::operator=(const QPropertyBindingPrivatePtr &o) - - -static void _init_f_operator_eq__4003 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("o"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__4003 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QPropertyBindingPrivatePtr &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QPropertyBindingPrivatePtr &)((QPropertyBindingPrivatePtr *)cls)->operator= (arg1)); -} - - -// QPropertyBindingPrivatePtr &QPropertyBindingPrivatePtr::operator=(QPropertyBindingPrivatePtr::T *o) - - -static void _init_f_operator_eq__3512 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("o"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__3512 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QPropertyBindingPrivatePtr::T *arg1 = gsi::arg_reader() (args, heap); - ret.write ((QPropertyBindingPrivatePtr &)((QPropertyBindingPrivatePtr *)cls)->operator= (arg1)); -} - - -// void QPropertyBindingPrivatePtr::reset(QPropertyBindingPrivatePtr::T *ptr) - - -static void _init_f_reset_3512 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("ptr", true, "nullptr"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_reset_3512 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QPropertyBindingPrivatePtr::T *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QPropertyBindingPrivatePtr *)cls)->reset (arg1); -} - - -// void QPropertyBindingPrivatePtr::swap(QPropertyBindingPrivatePtr &other) - - -static void _init_f_swap_3308 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_swap_3308 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QPropertyBindingPrivatePtr &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QPropertyBindingPrivatePtr *)cls)->swap (arg1); -} - - -// QPropertyBindingPrivatePtr::T *QPropertyBindingPrivatePtr::take() - - -static void _init_f_take_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_take_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QPropertyBindingPrivatePtr::T *)((QPropertyBindingPrivatePtr *)cls)->take ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QPropertyBindingPrivatePtr () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QPropertyBindingPrivatePtr::QPropertyBindingPrivatePtr()\nThis method creates an object of class QPropertyBindingPrivatePtr.", &_init_ctor_QPropertyBindingPrivatePtr_0, &_call_ctor_QPropertyBindingPrivatePtr_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QPropertyBindingPrivatePtr::QPropertyBindingPrivatePtr(QPropertyBindingPrivatePtr::T *data)\nThis method creates an object of class QPropertyBindingPrivatePtr.", &_init_ctor_QPropertyBindingPrivatePtr_3512, &_call_ctor_QPropertyBindingPrivatePtr_3512); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QPropertyBindingPrivatePtr::QPropertyBindingPrivatePtr(const QPropertyBindingPrivatePtr &o)\nThis method creates an object of class QPropertyBindingPrivatePtr.", &_init_ctor_QPropertyBindingPrivatePtr_4003, &_call_ctor_QPropertyBindingPrivatePtr_4003); - methods += new qt_gsi::GenericMethod ("constData", "@brief Method const QPropertyBindingPrivatePtr::T *QPropertyBindingPrivatePtr::constData()\n", true, &_init_f_constData_c0, &_call_f_constData_c0); - methods += new qt_gsi::GenericMethod ("data", "@brief Method QPropertyBindingPrivatePtr::T *QPropertyBindingPrivatePtr::data()\n", true, &_init_f_data_c0, &_call_f_data_c0); - methods += new qt_gsi::GenericMethod ("destroyAndFreeMemory", "@brief Method void QPropertyBindingPrivatePtr::destroyAndFreeMemory()\n", false, &_init_f_destroyAndFreeMemory_0, &_call_f_destroyAndFreeMemory_0); - methods += new qt_gsi::GenericMethod ("get", "@brief Method QPropertyBindingPrivatePtr::T *QPropertyBindingPrivatePtr::get()\n", true, &_init_f_get_c0, &_call_f_get_c0); - methods += new qt_gsi::GenericMethod ("!", "@brief Method bool QPropertyBindingPrivatePtr::operator!()\n", true, &_init_f_operator_excl__c0, &_call_f_operator_excl__c0); - methods += new qt_gsi::GenericMethod ("*", "@brief Method QPropertyBindingPrivatePtr::T &QPropertyBindingPrivatePtr::operator*()\n", true, &_init_f_operator_star__c0, &_call_f_operator_star__c0); - methods += new qt_gsi::GenericMethod ("->", "@brief Method QPropertyBindingPrivatePtr::T *QPropertyBindingPrivatePtr::operator->()\n", false, &_init_f_operator_minus__gt__0, &_call_f_operator_minus__gt__0); - methods += new qt_gsi::GenericMethod ("->", "@brief Method QPropertyBindingPrivatePtr::T *QPropertyBindingPrivatePtr::operator->()\n", true, &_init_f_operator_minus__gt__c0, &_call_f_operator_minus__gt__c0); - methods += new qt_gsi::GenericMethod ("assign", "@brief Method QPropertyBindingPrivatePtr &QPropertyBindingPrivatePtr::operator=(const QPropertyBindingPrivatePtr &o)\n", false, &_init_f_operator_eq__4003, &_call_f_operator_eq__4003); - methods += new qt_gsi::GenericMethod ("assign", "@brief Method QPropertyBindingPrivatePtr &QPropertyBindingPrivatePtr::operator=(QPropertyBindingPrivatePtr::T *o)\n", false, &_init_f_operator_eq__3512, &_call_f_operator_eq__3512); - methods += new qt_gsi::GenericMethod ("reset", "@brief Method void QPropertyBindingPrivatePtr::reset(QPropertyBindingPrivatePtr::T *ptr)\n", false, &_init_f_reset_3512, &_call_f_reset_3512); - methods += new qt_gsi::GenericMethod ("swap", "@brief Method void QPropertyBindingPrivatePtr::swap(QPropertyBindingPrivatePtr &other)\n", false, &_init_f_swap_3308, &_call_f_swap_3308); - methods += new qt_gsi::GenericMethod ("take", "@brief Method QPropertyBindingPrivatePtr::T *QPropertyBindingPrivatePtr::take()\n", false, &_init_f_take_0, &_call_f_take_0); - return methods; -} - -gsi::Class decl_QPropertyBindingPrivatePtr ("QtCore", "QPropertyBindingPrivatePtr", - methods_QPropertyBindingPrivatePtr (), - "@qt\n@brief Binding of QPropertyBindingPrivatePtr"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QPropertyBindingPrivatePtr () { return decl_QPropertyBindingPrivatePtr; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQSequentialConstIterator.cc b/src/gsiqt/qt6/QtCore/gsiDeclQSequentialConstIterator.cc deleted file mode 100644 index 681309f3e..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQSequentialConstIterator.cc +++ /dev/null @@ -1,91 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQSequentialConstIterator.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QSequentialConstIterator - -// QVariant QSequentialConstIterator::operator*() - - -static void _init_f_operator_star__c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_star__c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVariant)((QSequentialConstIterator *)cls)->operator* ()); -} - - -// QVariantConstPointer QSequentialConstIterator::operator->() - - -static void _init_f_operator_minus__gt__c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_minus__gt__c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVariantConstPointer)((QSequentialConstIterator *)cls)->operator-> ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QSequentialConstIterator () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("*", "@brief Method QVariant QSequentialConstIterator::operator*()\n", true, &_init_f_operator_star__c0, &_call_f_operator_star__c0); - methods += new qt_gsi::GenericMethod ("->", "@brief Method QVariantConstPointer QSequentialConstIterator::operator->()\n", true, &_init_f_operator_minus__gt__c0, &_call_f_operator_minus__gt__c0); - return methods; -} - -gsi::Class> &qtdecl_QConstIterator (); - -gsi::Class decl_QSequentialConstIterator (qtdecl_QConstIterator (), "QtCore", "QSequentialConstIterator", - methods_QSequentialConstIterator (), - "@qt\n@brief Binding of QSequentialConstIterator"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QSequentialConstIterator () { return decl_QSequentialConstIterator; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQSequentialIterable.cc b/src/gsiqt/qt6/QtCore/gsiDeclQSequentialIterable.cc deleted file mode 100644 index 676ffe07f..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQSequentialIterable.cc +++ /dev/null @@ -1,318 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQSequentialIterable.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QSequentialIterable - -// Constructor QSequentialIterable::QSequentialIterable() - - -static void _init_ctor_QSequentialIterable_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QSequentialIterable_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QSequentialIterable ()); -} - - -// Constructor QSequentialIterable::QSequentialIterable(const QMetaSequence &metaSequence, const QMetaType &metaType, void *iterable) - - -static void _init_ctor_QSequentialIterable_5653 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("metaSequence"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("metaType"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("iterable"); - decl->add_arg (argspec_2); - decl->set_return_new (); -} - -static void _call_ctor_QSequentialIterable_5653 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMetaSequence &arg1 = gsi::arg_reader() (args, heap); - const QMetaType &arg2 = gsi::arg_reader() (args, heap); - void *arg3 = gsi::arg_reader() (args, heap); - ret.write (new QSequentialIterable (arg1, arg2, arg3)); -} - - -// Constructor QSequentialIterable::QSequentialIterable(const QMetaSequence &metaSequence, const QMetaType &metaType, const void *iterable) - - -static void _init_ctor_QSequentialIterable_6348 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("metaSequence"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("metaType"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("iterable"); - decl->add_arg (argspec_2); - decl->set_return_new (); -} - -static void _call_ctor_QSequentialIterable_6348 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMetaSequence &arg1 = gsi::arg_reader() (args, heap); - const QMetaType &arg2 = gsi::arg_reader() (args, heap); - const void *arg3 = gsi::arg_reader() (args, heap); - ret.write (new QSequentialIterable (arg1, arg2, arg3)); -} - - -// void QSequentialIterable::addValue(const QVariant &value, QSequentialIterable::Position position) - - -static void _init_f_addValue_5356 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("value"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("position", true, "QSequentialIterable::Unspecified"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_addValue_5356 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QVariant &arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, QSequentialIterable::Unspecified), heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QSequentialIterable *)cls)->addValue (arg1, qt_gsi::QtToCppAdaptor(arg2).cref()); -} - - -// QVariant QSequentialIterable::at(qsizetype idx) - - -static void _init_f_at_c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("idx"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_at_c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QVariant)((QSequentialIterable *)cls)->at (arg1)); -} - - -// QSequentialIterable::const_iterator QSequentialIterable::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 ((QSequentialIterable::const_iterator)((QSequentialIterable *)cls)->constBegin ()); -} - - -// QSequentialIterable::const_iterator QSequentialIterable::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 ((QSequentialIterable::const_iterator)((QSequentialIterable *)cls)->constEnd ()); -} - - -// QSequentialIterable::iterator QSequentialIterable::mutableBegin() - - -static void _init_f_mutableBegin_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_mutableBegin_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QSequentialIterable::iterator)((QSequentialIterable *)cls)->mutableBegin ()); -} - - -// QSequentialIterable::iterator QSequentialIterable::mutableEnd() - - -static void _init_f_mutableEnd_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_mutableEnd_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QSequentialIterable::iterator)((QSequentialIterable *)cls)->mutableEnd ()); -} - - -// void QSequentialIterable::removeValue(QSequentialIterable::Position position) - - -static void _init_f_removeValue_3345 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("position", true, "QSequentialIterable::Unspecified"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_removeValue_3345 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, QSequentialIterable::Unspecified), heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QSequentialIterable *)cls)->removeValue (qt_gsi::QtToCppAdaptor(arg1).cref()); -} - - -// void QSequentialIterable::set(qsizetype idx, const QVariant &value) - - -static void _init_f_set_3453 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("idx"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("value"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_set_3453 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - const QVariant &arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QSequentialIterable *)cls)->set (arg1, arg2); -} - - -// QMetaType QSequentialIterable::valueMetaType() - - -static void _init_f_valueMetaType_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_valueMetaType_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QMetaType)((QSequentialIterable *)cls)->valueMetaType ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QSequentialIterable () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QSequentialIterable::QSequentialIterable()\nThis method creates an object of class QSequentialIterable.", &_init_ctor_QSequentialIterable_0, &_call_ctor_QSequentialIterable_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QSequentialIterable::QSequentialIterable(const QMetaSequence &metaSequence, const QMetaType &metaType, void *iterable)\nThis method creates an object of class QSequentialIterable.", &_init_ctor_QSequentialIterable_5653, &_call_ctor_QSequentialIterable_5653); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QSequentialIterable::QSequentialIterable(const QMetaSequence &metaSequence, const QMetaType &metaType, const void *iterable)\nThis method creates an object of class QSequentialIterable.", &_init_ctor_QSequentialIterable_6348, &_call_ctor_QSequentialIterable_6348); - methods += new qt_gsi::GenericMethod ("addValue", "@brief Method void QSequentialIterable::addValue(const QVariant &value, QSequentialIterable::Position position)\n", false, &_init_f_addValue_5356, &_call_f_addValue_5356); - methods += new qt_gsi::GenericMethod ("at", "@brief Method QVariant QSequentialIterable::at(qsizetype idx)\n", true, &_init_f_at_c1442, &_call_f_at_c1442); - methods += new qt_gsi::GenericMethod ("constBegin", "@brief Method QSequentialIterable::const_iterator QSequentialIterable::constBegin()\n", true, &_init_f_constBegin_c0, &_call_f_constBegin_c0); - methods += new qt_gsi::GenericMethod ("constEnd", "@brief Method QSequentialIterable::const_iterator QSequentialIterable::constEnd()\n", true, &_init_f_constEnd_c0, &_call_f_constEnd_c0); - methods += new qt_gsi::GenericMethod ("mutableBegin", "@brief Method QSequentialIterable::iterator QSequentialIterable::mutableBegin()\n", false, &_init_f_mutableBegin_0, &_call_f_mutableBegin_0); - methods += new qt_gsi::GenericMethod ("mutableEnd", "@brief Method QSequentialIterable::iterator QSequentialIterable::mutableEnd()\n", false, &_init_f_mutableEnd_0, &_call_f_mutableEnd_0); - methods += new qt_gsi::GenericMethod ("removeValue", "@brief Method void QSequentialIterable::removeValue(QSequentialIterable::Position position)\n", false, &_init_f_removeValue_3345, &_call_f_removeValue_3345); - methods += new qt_gsi::GenericMethod ("set", "@brief Method void QSequentialIterable::set(qsizetype idx, const QVariant &value)\n", false, &_init_f_set_3453, &_call_f_set_3453); - methods += new qt_gsi::GenericMethod ("valueMetaType", "@brief Method QMetaType QSequentialIterable::valueMetaType()\n", true, &_init_f_valueMetaType_c0, &_call_f_valueMetaType_c0); - return methods; -} - -gsi::Class> &qtdecl_QIterable (); - -gsi::Class decl_QSequentialIterable (qtdecl_QIterable (), "QtCore", "QSequentialIterable", - methods_QSequentialIterable (), - "@qt\n@brief Binding of QSequentialIterable"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QSequentialIterable () { return decl_QSequentialIterable; } - -} - - -// Implementation of the enum wrapper class for QSequentialIterable::Position -namespace qt_gsi -{ - -static gsi::Enum decl_QSequentialIterable_Position_Enum ("QtCore", "QSequentialIterable_Position", - gsi::enum_const ("Unspecified", QSequentialIterable::Unspecified, "@brief Enum constant QSequentialIterable::Unspecified") + - gsi::enum_const ("AtBegin", QSequentialIterable::AtBegin, "@brief Enum constant QSequentialIterable::AtBegin") + - gsi::enum_const ("AtEnd", QSequentialIterable::AtEnd, "@brief Enum constant QSequentialIterable::AtEnd"), - "@qt\n@brief This class represents the QSequentialIterable::Position enum"); - -static gsi::QFlagsClass decl_QSequentialIterable_Position_Enums ("QtCore", "QSequentialIterable_QFlags_Position", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QSequentialIterable_Position_Enum_in_parent (decl_QSequentialIterable_Position_Enum.defs ()); -static gsi::ClassExt decl_QSequentialIterable_Position_Enum_as_child (decl_QSequentialIterable_Position_Enum, "Position"); -static gsi::ClassExt decl_QSequentialIterable_Position_Enums_as_child (decl_QSequentialIterable_Position_Enums, "QFlags_Position"); - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQSequentialIterator.cc b/src/gsiqt/qt6/QtCore/gsiDeclQSequentialIterator.cc deleted file mode 100644 index abdbccaeb..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQSequentialIterator.cc +++ /dev/null @@ -1,90 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQSequentialIterator.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QSequentialIterator - -// QVariantRef QSequentialIterator::operator*() - - -static void _init_f_operator_star__c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_operator_star__c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QVariantRef)((QSequentialIterator *)cls)->operator* ()); -} - - -// QVariantPointer QSequentialIterator::operator->() - - -static void _init_f_operator_minus__gt__c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_operator_minus__gt__c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QVariantPointer)((QSequentialIterator *)cls)->operator-> ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QSequentialIterator () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("*", "@brief Method QVariantRef QSequentialIterator::operator*()\n", true, &_init_f_operator_star__c0, &_call_f_operator_star__c0); - methods += new qt_gsi::GenericMethod ("->", "@brief Method QVariantPointer QSequentialIterator::operator->()\n", true, &_init_f_operator_minus__gt__c0, &_call_f_operator_minus__gt__c0); - return methods; -} - -gsi::Class> &qtdecl_QIterator (); - -gsi::Class decl_QSequentialIterator (qtdecl_QIterator (), "QtCore", "QSequentialIterator", - methods_QSequentialIterator (), - "@qt\n@brief Binding of QSequentialIterator"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QSequentialIterator () { return decl_QSequentialIterator; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQSpecialInteger.cc b/src/gsiqt/qt6/QtCore/gsiDeclQSpecialInteger.cc deleted file mode 100644 index faab198b3..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQSpecialInteger.cc +++ /dev/null @@ -1,456 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQSpecialInteger.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QSpecialInteger - -// Constructor QSpecialInteger::QSpecialInteger() - - -static void _init_ctor_QSpecialInteger_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QSpecialInteger_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QSpecialInteger ()); -} - - -// Constructor QSpecialInteger::QSpecialInteger(S::StorageType i) - - -static void _init_ctor_QSpecialInteger_1778 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QSpecialInteger_1778 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - S::StorageType arg1 = gsi::arg_reader() (args, heap); - ret.write (new QSpecialInteger (arg1)); -} - - -// bool QSpecialInteger::operator !=(QSpecialInteger i) - - -static void _init_f_operator_excl__eq__c2145 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg > (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_excl__eq__c2145 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QSpecialInteger arg1 = gsi::arg_reader >() (args, heap); - ret.write ((bool)((QSpecialInteger *)cls)->operator != (arg1)); -} - - -// QSpecialInteger &QSpecialInteger::operator %=(S::StorageType i) - - -static void _init_f_operator%_eq__1778 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator%_eq__1778 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - S::StorageType arg1 = gsi::arg_reader() (args, heap); - ret.write ((QSpecialInteger &)((QSpecialInteger *)cls)->operator %= (arg1)); -} - - -// QSpecialInteger &QSpecialInteger::operator &=(S::StorageType i) - - -static void _init_f_operator_amp__eq__1778 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_amp__eq__1778 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - S::StorageType arg1 = gsi::arg_reader() (args, heap); - ret.write ((QSpecialInteger &)((QSpecialInteger *)cls)->operator &= (arg1)); -} - - -// QSpecialInteger &QSpecialInteger::operator *=(S::StorageType i) - - -static void _init_f_operator_star__eq__1778 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_star__eq__1778 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - S::StorageType arg1 = gsi::arg_reader() (args, heap); - ret.write ((QSpecialInteger &)((QSpecialInteger *)cls)->operator *= (arg1)); -} - - -// QSpecialInteger &QSpecialInteger::operator ++() - - -static void _init_f_operator_plus__plus__0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_plus__plus__0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QSpecialInteger &)((QSpecialInteger *)cls)->operator ++ ()); -} - - -// QSpecialInteger QSpecialInteger::operator ++(int) - - -static void _init_f_operator_plus__plus__767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_plus__plus__767 (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 ((QSpecialInteger)((QSpecialInteger *)cls)->operator ++ (arg1)); -} - - -// QSpecialInteger &QSpecialInteger::operator +=(S::StorageType i) - - -static void _init_f_operator_plus__eq__1778 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_plus__eq__1778 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - S::StorageType arg1 = gsi::arg_reader() (args, heap); - ret.write ((QSpecialInteger &)((QSpecialInteger *)cls)->operator += (arg1)); -} - - -// QSpecialInteger &QSpecialInteger::operator --() - - -static void _init_f_operator_minus__minus__0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_minus__minus__0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QSpecialInteger &)((QSpecialInteger *)cls)->operator -- ()); -} - - -// QSpecialInteger QSpecialInteger::operator --(int) - - -static void _init_f_operator_minus__minus__767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_minus__minus__767 (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 ((QSpecialInteger)((QSpecialInteger *)cls)->operator -- (arg1)); -} - - -// QSpecialInteger &QSpecialInteger::operator -=(S::StorageType i) - - -static void _init_f_operator_minus__eq__1778 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_minus__eq__1778 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - S::StorageType arg1 = gsi::arg_reader() (args, heap); - ret.write ((QSpecialInteger &)((QSpecialInteger *)cls)->operator -= (arg1)); -} - - -// QSpecialInteger &QSpecialInteger::operator /=(S::StorageType i) - - -static void _init_f_operator_slash__eq__1778 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_slash__eq__1778 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - S::StorageType arg1 = gsi::arg_reader() (args, heap); - ret.write ((QSpecialInteger &)((QSpecialInteger *)cls)->operator /= (arg1)); -} - - -// QSpecialInteger &QSpecialInteger::operator <<=(S::StorageType i) - - -static void _init_f_operator_lt__lt__eq__1778 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_lt__lt__eq__1778 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - S::StorageType arg1 = gsi::arg_reader() (args, heap); - ret.write ((QSpecialInteger &)((QSpecialInteger *)cls)->operator <<= (arg1)); -} - - -// QSpecialInteger &QSpecialInteger::operator =(S::StorageType i) - - -static void _init_f_operator_eq__1778 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__1778 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - S::StorageType arg1 = gsi::arg_reader() (args, heap); - ret.write ((QSpecialInteger &)((QSpecialInteger *)cls)->operator = (arg1)); -} - - -// bool QSpecialInteger::operator ==(QSpecialInteger i) - - -static void _init_f_operator_eq__eq__c2145 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg > (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__eq__c2145 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QSpecialInteger arg1 = gsi::arg_reader >() (args, heap); - ret.write ((bool)((QSpecialInteger *)cls)->operator == (arg1)); -} - - -// QSpecialInteger &QSpecialInteger::operator >>=(S::StorageType i) - - -static void _init_f_operator_gt__gt__eq__1778 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_gt__gt__eq__1778 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - S::StorageType arg1 = gsi::arg_reader() (args, heap); - ret.write ((QSpecialInteger &)((QSpecialInteger *)cls)->operator >>= (arg1)); -} - - -// QSpecialInteger &QSpecialInteger::operator ^=(S::StorageType i) - - -static void _init_f_operator_acute__eq__1778 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_acute__eq__1778 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - S::StorageType arg1 = gsi::arg_reader() (args, heap); - ret.write ((QSpecialInteger &)((QSpecialInteger *)cls)->operator ^= (arg1)); -} - - -// QSpecialInteger &QSpecialInteger::operator |=(S::StorageType i) - - -static void _init_f_operator_pipe__eq__1778 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_pipe__eq__1778 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - S::StorageType arg1 = gsi::arg_reader() (args, heap); - ret.write ((QSpecialInteger &)((QSpecialInteger *)cls)->operator |= (arg1)); -} - - -// static QSpecialInteger QSpecialInteger::max() - - -static void _init_f_max_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_max_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QSpecialInteger)QSpecialInteger::max ()); -} - - -// static QSpecialInteger QSpecialInteger::min() - - -static void _init_f_min_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_min_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QSpecialInteger)QSpecialInteger::min ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QSpecialInteger () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QSpecialInteger::QSpecialInteger()\nThis method creates an object of class QSpecialInteger.", &_init_ctor_QSpecialInteger_0, &_call_ctor_QSpecialInteger_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QSpecialInteger::QSpecialInteger(S::StorageType i)\nThis method creates an object of class QSpecialInteger.", &_init_ctor_QSpecialInteger_1778, &_call_ctor_QSpecialInteger_1778); - methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QSpecialInteger::operator !=(QSpecialInteger i)\n", true, &_init_f_operator_excl__eq__c2145, &_call_f_operator_excl__eq__c2145); - methods += new qt_gsi::GenericMethod ("%=", "@brief Method QSpecialInteger &QSpecialInteger::operator %=(S::StorageType i)\n", false, &_init_f_operator%_eq__1778, &_call_f_operator%_eq__1778); - methods += new qt_gsi::GenericMethod ("&=", "@brief Method QSpecialInteger &QSpecialInteger::operator &=(S::StorageType i)\n", false, &_init_f_operator_amp__eq__1778, &_call_f_operator_amp__eq__1778); - methods += new qt_gsi::GenericMethod ("*=", "@brief Method QSpecialInteger &QSpecialInteger::operator *=(S::StorageType i)\n", false, &_init_f_operator_star__eq__1778, &_call_f_operator_star__eq__1778); - methods += new qt_gsi::GenericMethod ("++", "@brief Method QSpecialInteger &QSpecialInteger::operator ++()\n", false, &_init_f_operator_plus__plus__0, &_call_f_operator_plus__plus__0); - methods += new qt_gsi::GenericMethod ("++", "@brief Method QSpecialInteger QSpecialInteger::operator ++(int)\n", false, &_init_f_operator_plus__plus__767, &_call_f_operator_plus__plus__767); - methods += new qt_gsi::GenericMethod ("+=", "@brief Method QSpecialInteger &QSpecialInteger::operator +=(S::StorageType i)\n", false, &_init_f_operator_plus__eq__1778, &_call_f_operator_plus__eq__1778); - methods += new qt_gsi::GenericMethod ("--", "@brief Method QSpecialInteger &QSpecialInteger::operator --()\n", false, &_init_f_operator_minus__minus__0, &_call_f_operator_minus__minus__0); - methods += new qt_gsi::GenericMethod ("--", "@brief Method QSpecialInteger QSpecialInteger::operator --(int)\n", false, &_init_f_operator_minus__minus__767, &_call_f_operator_minus__minus__767); - methods += new qt_gsi::GenericMethod ("-=", "@brief Method QSpecialInteger &QSpecialInteger::operator -=(S::StorageType i)\n", false, &_init_f_operator_minus__eq__1778, &_call_f_operator_minus__eq__1778); - methods += new qt_gsi::GenericMethod ("/=", "@brief Method QSpecialInteger &QSpecialInteger::operator /=(S::StorageType i)\n", false, &_init_f_operator_slash__eq__1778, &_call_f_operator_slash__eq__1778); - methods += new qt_gsi::GenericMethod ("<<=", "@brief Method QSpecialInteger &QSpecialInteger::operator <<=(S::StorageType i)\n", false, &_init_f_operator_lt__lt__eq__1778, &_call_f_operator_lt__lt__eq__1778); - methods += new qt_gsi::GenericMethod ("assign", "@brief Method QSpecialInteger &QSpecialInteger::operator =(S::StorageType i)\n", false, &_init_f_operator_eq__1778, &_call_f_operator_eq__1778); - methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QSpecialInteger::operator ==(QSpecialInteger i)\n", true, &_init_f_operator_eq__eq__c2145, &_call_f_operator_eq__eq__c2145); - methods += new qt_gsi::GenericMethod (">>=", "@brief Method QSpecialInteger &QSpecialInteger::operator >>=(S::StorageType i)\n", false, &_init_f_operator_gt__gt__eq__1778, &_call_f_operator_gt__gt__eq__1778); - methods += new qt_gsi::GenericMethod ("^=", "@brief Method QSpecialInteger &QSpecialInteger::operator ^=(S::StorageType i)\n", false, &_init_f_operator_acute__eq__1778, &_call_f_operator_acute__eq__1778); - methods += new qt_gsi::GenericMethod ("|=", "@brief Method QSpecialInteger &QSpecialInteger::operator |=(S::StorageType i)\n", false, &_init_f_operator_pipe__eq__1778, &_call_f_operator_pipe__eq__1778); - methods += new qt_gsi::GenericStaticMethod ("max", "@brief Static method QSpecialInteger QSpecialInteger::max()\nThis method is static and can be called without an instance.", &_init_f_max_0, &_call_f_max_0); - methods += new qt_gsi::GenericStaticMethod ("min", "@brief Static method QSpecialInteger QSpecialInteger::min()\nThis method is static and can be called without an instance.", &_init_f_min_0, &_call_f_min_0); - return methods; -} - -gsi::Class decl_QSpecialInteger ("QtCore", "QSpecialInteger", - methods_QSpecialInteger (), - "@qt\n@brief Binding of QSpecialInteger"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QSpecialInteger () { return decl_QSpecialInteger; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQStaticByteArrayMatcher.cc b/src/gsiqt/qt6/QtCore/gsiDeclQStaticByteArrayMatcher.cc deleted file mode 100644 index 7f1aa9bb2..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQStaticByteArrayMatcher.cc +++ /dev/null @@ -1,74 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQStaticByteArrayMatcher.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QStaticByteArrayMatcher - -// Constructor QStaticByteArrayMatcher::QStaticByteArrayMatcher() - - -static void _init_ctor_QStaticByteArrayMatcher_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QStaticByteArrayMatcher_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QStaticByteArrayMatcher ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QStaticByteArrayMatcher () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QStaticByteArrayMatcher::QStaticByteArrayMatcher()\nThis method creates an object of class QStaticByteArrayMatcher.", &_init_ctor_QStaticByteArrayMatcher_0, &_call_ctor_QStaticByteArrayMatcher_0); - return methods; -} - -gsi::Class &qtdecl_QStaticByteArrayMatcherBase (); - -gsi::Class decl_QStaticByteArrayMatcher (qtdecl_QStaticByteArrayMatcherBase (), "QtCore", "QStaticByteArrayMatcher", - methods_QStaticByteArrayMatcher (), - "@qt\n@brief Binding of QStaticByteArrayMatcher"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QStaticByteArrayMatcher () { return decl_QStaticByteArrayMatcher; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQStaticByteArrayMatcherBase.cc b/src/gsiqt/qt6/QtCore/gsiDeclQStaticByteArrayMatcherBase.cc deleted file mode 100644 index 1addbe490..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQStaticByteArrayMatcherBase.cc +++ /dev/null @@ -1,72 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQStaticByteArrayMatcherBase.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QStaticByteArrayMatcherBase - -// Constructor QStaticByteArrayMatcherBase::QStaticByteArrayMatcherBase() - - -static void _init_ctor_QStaticByteArrayMatcherBase_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QStaticByteArrayMatcherBase_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QStaticByteArrayMatcherBase ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QStaticByteArrayMatcherBase () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QStaticByteArrayMatcherBase::QStaticByteArrayMatcherBase()\nThis method creates an object of class QStaticByteArrayMatcherBase.", &_init_ctor_QStaticByteArrayMatcherBase_0, &_call_ctor_QStaticByteArrayMatcherBase_0); - return methods; -} - -gsi::Class decl_QStaticByteArrayMatcherBase ("QtCore", "QStaticByteArrayMatcherBase", - methods_QStaticByteArrayMatcherBase (), - "@qt\n@brief Binding of QStaticByteArrayMatcherBase"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QStaticByteArrayMatcherBase () { return decl_QStaticByteArrayMatcherBase; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQStaticPlugin.cc b/src/gsiqt/qt6/QtCore/gsiDeclQStaticPlugin.cc deleted file mode 100644 index 10da84780..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQStaticPlugin.cc +++ /dev/null @@ -1,98 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQStaticPlugin.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// struct QStaticPlugin - -// Constructor QStaticPlugin::QStaticPlugin(QObject **i(), QPluginMetaData *m()) - - -static void _init_ctor_QStaticPlugin_3493 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("i"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("m"); - decl->add_arg (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QStaticPlugin_3493 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject **arg1() = gsi::arg_reader() (args, heap); - QPluginMetaData *arg2() = gsi::arg_reader() (args, heap); - ret.write (new QStaticPlugin (arg1, arg2)); -} - - -// QJsonObject QStaticPlugin::metaData() - - -static void _init_f_metaData_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_metaData_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QJsonObject)((QStaticPlugin *)cls)->metaData ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QStaticPlugin () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QStaticPlugin::QStaticPlugin(QObject **i(), QPluginMetaData *m())\nThis method creates an object of class QStaticPlugin.", &_init_ctor_QStaticPlugin_3493, &_call_ctor_QStaticPlugin_3493); - methods += new qt_gsi::GenericMethod ("metaData", "@brief Method QJsonObject QStaticPlugin::metaData()\n", true, &_init_f_metaData_c0, &_call_f_metaData_c0); - return methods; -} - -gsi::Class decl_QStaticPlugin ("QtCore", "QStaticPlugin", - methods_QStaticPlugin (), - "@qt\n@brief Binding of QStaticPlugin"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QStaticPlugin () { return decl_QStaticPlugin; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQStringView.cc b/src/gsiqt/qt6/QtCore/gsiDeclQStringView.cc deleted file mode 100644 index 8321ed2df..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQStringView.cc +++ /dev/null @@ -1,1819 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQStringView.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include - -// ----------------------------------------------------------------------- -// class QStringView - -// Constructor QStringView::QStringView() - - -static void _init_ctor_QStringView_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QStringView_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QStringView ()); -} - - -// Constructor QStringView::QStringView(std::nullptr_t) - - -static void _init_ctor_QStringView_1879 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QStringView_1879 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - std::nullptr_t arg1 = gsi::arg_reader() (args, heap); - ret.write (new QStringView (arg1)); -} - - -// QChar QStringView::at(qsizetype n) - - -static void _init_f_at_c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - decl->set_return::target_type > (); -} - -static void _call_f_at_c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QStringView *)cls)->at (arg1))); -} - - -// QChar QStringView::back() - - -static void _init_f_back_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_back_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QStringView *)cls)->back ())); -} - - -// const QChar *QStringView::begin() - - -static void _init_f_begin_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -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::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(*((QStringView *)cls)->begin ())); -} - - -// const QChar *QStringView::cbegin() - - -static void _init_f_cbegin_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -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::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(*((QStringView *)cls)->cbegin ())); -} - - -// const QChar *QStringView::cend() - - -static void _init_f_cend_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -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::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(*((QStringView *)cls)->cend ())); -} - - -// void QStringView::chop(qsizetype n) - - -static void _init_f_chop_1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_chop_1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QStringView *)cls)->chop (arg1); -} - - -// QStringView QStringView::chopped(qsizetype n) - - -static void _init_f_chopped_c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_chopped_c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QStringView)((QStringView *)cls)->chopped (arg1)); -} - - -// int QStringView::compare(QStringView other, Qt::CaseSensitivity cs) - - -static void _init_f_compare_c3775 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cs", true, "Qt::CaseSensitive"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_compare_c3775 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QStringView arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CaseSensitive), heap); - ret.write ((int)((QStringView *)cls)->compare (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// int QStringView::compare(QLatin1String other, Qt::CaseSensitivity cs) - - -static void _init_f_compare_c3917 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cs", true, "Qt::CaseSensitive"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_compare_c3917 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CaseSensitive), heap); - ret.write ((int)((QStringView *)cls)->compare (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// int QStringView::compare(QChar c) - - -static void _init_f_compare_c899 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_compare_c899 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write ((int)((QStringView *)cls)->compare (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// int QStringView::compare(QChar c, Qt::CaseSensitivity cs) - - -static void _init_f_compare_c3115 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cs"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_compare_c3115 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - const qt_gsi::Converter::target_type & arg2 = gsi::arg_reader::target_type & >() (args, heap); - ret.write ((int)((QStringView *)cls)->compare (qt_gsi::QtToCppAdaptor(arg1).cref(), qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// const QChar *QStringView::constBegin() - - -static void _init_f_constBegin_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -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::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(*((QStringView *)cls)->constBegin ())); -} - - -// const QChar *QStringView::constData() - - -static void _init_f_constData_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_constData_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(*((QStringView *)cls)->constData ())); -} - - -// const QChar *QStringView::constEnd() - - -static void _init_f_constEnd_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -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::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(*((QStringView *)cls)->constEnd ())); -} - - -// bool QStringView::contains(QChar c, Qt::CaseSensitivity cs) - - -static void _init_f_contains_c3115 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cs", true, "Qt::CaseSensitive"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_contains_c3115 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CaseSensitive), heap); - ret.write ((bool)((QStringView *)cls)->contains (qt_gsi::QtToCppAdaptor(arg1).cref(), qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// bool QStringView::contains(QStringView s, Qt::CaseSensitivity cs) - - -static void _init_f_contains_c3775 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cs", true, "Qt::CaseSensitive"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_contains_c3775 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QStringView arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CaseSensitive), heap); - ret.write ((bool)((QStringView *)cls)->contains (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// bool QStringView::contains(QLatin1String s, Qt::CaseSensitivity cs) - - -static void _init_f_contains_c3917 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cs", true, "Qt::CaseSensitive"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_contains_c3917 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CaseSensitive), heap); - ret.write ((bool)((QStringView *)cls)->contains (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// bool QStringView::contains(const QRegularExpression &re, QRegularExpressionMatch *rmatch) - - -static void _init_f_contains_c6070 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("re"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("rmatch", true, "nullptr"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_contains_c6070 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QRegularExpression &arg1 = gsi::arg_reader() (args, heap); - QRegularExpressionMatch *arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ret.write ((bool)((QStringView *)cls)->contains (arg1, arg2)); -} - - -// qsizetype QStringView::count(QChar c, Qt::CaseSensitivity cs) - - -static void _init_f_count_c3115 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cs", true, "Qt::CaseSensitive"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_count_c3115 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CaseSensitive), heap); - ret.write ((qsizetype)((QStringView *)cls)->count (qt_gsi::QtToCppAdaptor(arg1).cref(), qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// qsizetype QStringView::count(QStringView s, Qt::CaseSensitivity cs) - - -static void _init_f_count_c3775 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cs", true, "Qt::CaseSensitive"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_count_c3775 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QStringView arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CaseSensitive), heap); - ret.write ((qsizetype)((QStringView *)cls)->count (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// qsizetype QStringView::count(const QRegularExpression &re) - - -static void _init_f_count_c3188 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("re"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_count_c3188 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QRegularExpression &arg1 = gsi::arg_reader() (args, heap); - ret.write ((qsizetype)((QStringView *)cls)->count (arg1)); -} - - -// std::reverse_iterator QStringView::crbegin() - - -static void _init_f_crbegin_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_crbegin_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((std::reverse_iterator)((QStringView *)cls)->crbegin ()); -} - - -// std::reverse_iterator QStringView::crend() - - -static void _init_f_crend_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_crend_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((std::reverse_iterator)((QStringView *)cls)->crend ()); -} - - -// const QChar *QStringView::data() - - -static void _init_f_data_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_data_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(*((QStringView *)cls)->data ())); -} - - -// bool QStringView::empty() - - -static void _init_f_empty_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_empty_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QStringView *)cls)->empty ()); -} - - -// const QChar *QStringView::end() - - -static void _init_f_end_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -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::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(*((QStringView *)cls)->end ())); -} - - -// bool QStringView::endsWith(QStringView s, Qt::CaseSensitivity cs) - - -static void _init_f_endsWith_c3775 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cs", true, "Qt::CaseSensitive"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_endsWith_c3775 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QStringView arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CaseSensitive), heap); - ret.write ((bool)((QStringView *)cls)->endsWith (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// bool QStringView::endsWith(QLatin1String s, Qt::CaseSensitivity cs) - - -static void _init_f_endsWith_c3917 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cs", true, "Qt::CaseSensitive"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_endsWith_c3917 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CaseSensitive), heap); - ret.write ((bool)((QStringView *)cls)->endsWith (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// bool QStringView::endsWith(QChar c) - - -static void _init_f_endsWith_c899 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_endsWith_c899 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write ((bool)((QStringView *)cls)->endsWith (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// bool QStringView::endsWith(QChar c, Qt::CaseSensitivity cs) - - -static void _init_f_endsWith_c3115 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cs"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_endsWith_c3115 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - const qt_gsi::Converter::target_type & arg2 = gsi::arg_reader::target_type & >() (args, heap); - ret.write ((bool)((QStringView *)cls)->endsWith (qt_gsi::QtToCppAdaptor(arg1).cref(), qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// QStringView QStringView::first(qsizetype n) - - -static void _init_f_first_c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_first_c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QStringView)((QStringView *)cls)->first (arg1)); -} - - -// QChar QStringView::first() - - -static void _init_f_first_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_first_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QStringView *)cls)->first ())); -} - - -// QChar QStringView::front() - - -static void _init_f_front_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_front_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QStringView *)cls)->front ())); -} - - -// qsizetype QStringView::indexOf(QChar c, qsizetype from, Qt::CaseSensitivity cs) - - -static void _init_f_indexOf_c4449 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("from", true, "0"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("cs", true, "Qt::CaseSensitive"); - decl->add_arg::target_type & > (argspec_2); - decl->set_return (); -} - -static void _call_f_indexOf_c4449 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - qsizetype arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - const qt_gsi::Converter::target_type & arg3 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CaseSensitive), heap); - ret.write ((qsizetype)((QStringView *)cls)->indexOf (qt_gsi::QtToCppAdaptor(arg1).cref(), arg2, qt_gsi::QtToCppAdaptor(arg3).cref())); -} - - -// qsizetype QStringView::indexOf(QStringView s, qsizetype from, Qt::CaseSensitivity cs) - - -static void _init_f_indexOf_c5109 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("from", true, "0"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("cs", true, "Qt::CaseSensitive"); - decl->add_arg::target_type & > (argspec_2); - decl->set_return (); -} - -static void _call_f_indexOf_c5109 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QStringView arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - const qt_gsi::Converter::target_type & arg3 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CaseSensitive), heap); - ret.write ((qsizetype)((QStringView *)cls)->indexOf (arg1, arg2, qt_gsi::QtToCppAdaptor(arg3).cref())); -} - - -// qsizetype QStringView::indexOf(QLatin1String s, qsizetype from, Qt::CaseSensitivity cs) - - -static void _init_f_indexOf_c5251 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("from", true, "0"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("cs", true, "Qt::CaseSensitive"); - decl->add_arg::target_type & > (argspec_2); - decl->set_return (); -} - -static void _call_f_indexOf_c5251 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - const qt_gsi::Converter::target_type & arg3 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CaseSensitive), heap); - ret.write ((qsizetype)((QStringView *)cls)->indexOf (arg1, arg2, qt_gsi::QtToCppAdaptor(arg3).cref())); -} - - -// qsizetype QStringView::indexOf(const QRegularExpression &re, qsizetype from, QRegularExpressionMatch *rmatch) - - -static void _init_f_indexOf_c7404 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("re"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("from", true, "0"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("rmatch", true, "nullptr"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_indexOf_c7404 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QRegularExpression &arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - QRegularExpressionMatch *arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ret.write ((qsizetype)((QStringView *)cls)->indexOf (arg1, arg2, arg3)); -} - - -// bool QStringView::isEmpty() - - -static void _init_f_isEmpty_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isEmpty_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QStringView *)cls)->isEmpty ()); -} - - -// bool QStringView::isNull() - - -static void _init_f_isNull_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isNull_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QStringView *)cls)->isNull ()); -} - - -// bool QStringView::isRightToLeft() - - -static void _init_f_isRightToLeft_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isRightToLeft_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QStringView *)cls)->isRightToLeft ()); -} - - -// bool QStringView::isValidUtf16() - - -static void _init_f_isValidUtf16_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isValidUtf16_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QStringView *)cls)->isValidUtf16 ()); -} - - -// QStringView QStringView::last(qsizetype n) - - -static void _init_f_last_c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_last_c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QStringView)((QStringView *)cls)->last (arg1)); -} - - -// QChar QStringView::last() - - -static void _init_f_last_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_last_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QStringView *)cls)->last ())); -} - - -// qsizetype QStringView::lastIndexOf(QChar c, qsizetype from, Qt::CaseSensitivity cs) - - -static void _init_f_lastIndexOf_c4449 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("from", true, "-1"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("cs", true, "Qt::CaseSensitive"); - decl->add_arg::target_type & > (argspec_2); - decl->set_return (); -} - -static void _call_f_lastIndexOf_c4449 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - qsizetype arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (-1, heap); - const qt_gsi::Converter::target_type & arg3 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CaseSensitive), heap); - ret.write ((qsizetype)((QStringView *)cls)->lastIndexOf (qt_gsi::QtToCppAdaptor(arg1).cref(), arg2, qt_gsi::QtToCppAdaptor(arg3).cref())); -} - - -// qsizetype QStringView::lastIndexOf(QStringView s, Qt::CaseSensitivity cs) - - -static void _init_f_lastIndexOf_c3775 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cs", true, "Qt::CaseSensitive"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_lastIndexOf_c3775 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QStringView arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CaseSensitive), heap); - ret.write ((qsizetype)((QStringView *)cls)->lastIndexOf (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// qsizetype QStringView::lastIndexOf(QStringView s, qsizetype from, Qt::CaseSensitivity cs) - - -static void _init_f_lastIndexOf_c5109 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("from"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("cs", true, "Qt::CaseSensitive"); - decl->add_arg::target_type & > (argspec_2); - decl->set_return (); -} - -static void _call_f_lastIndexOf_c5109 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QStringView arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg3 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CaseSensitive), heap); - ret.write ((qsizetype)((QStringView *)cls)->lastIndexOf (arg1, arg2, qt_gsi::QtToCppAdaptor(arg3).cref())); -} - - -// qsizetype QStringView::lastIndexOf(QLatin1String s, Qt::CaseSensitivity cs) - - -static void _init_f_lastIndexOf_c3917 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cs", true, "Qt::CaseSensitive"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_lastIndexOf_c3917 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CaseSensitive), heap); - ret.write ((qsizetype)((QStringView *)cls)->lastIndexOf (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// qsizetype QStringView::lastIndexOf(QLatin1String s, qsizetype from, Qt::CaseSensitivity cs) - - -static void _init_f_lastIndexOf_c5251 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("from"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("cs", true, "Qt::CaseSensitive"); - decl->add_arg::target_type & > (argspec_2); - decl->set_return (); -} - -static void _call_f_lastIndexOf_c5251 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg3 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CaseSensitive), heap); - ret.write ((qsizetype)((QStringView *)cls)->lastIndexOf (arg1, arg2, qt_gsi::QtToCppAdaptor(arg3).cref())); -} - - -// qsizetype QStringView::lastIndexOf(const QRegularExpression &re, qsizetype from, QRegularExpressionMatch *rmatch) - - -static void _init_f_lastIndexOf_c7404 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("re"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("from"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("rmatch", true, "nullptr"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_lastIndexOf_c7404 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QRegularExpression &arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = gsi::arg_reader() (args, heap); - QRegularExpressionMatch *arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ret.write ((qsizetype)((QStringView *)cls)->lastIndexOf (arg1, arg2, arg3)); -} - - -// QStringView QStringView::left(qsizetype n) - - -static void _init_f_left_c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_left_c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QStringView)((QStringView *)cls)->left (arg1)); -} - - -// qsizetype QStringView::length() - - -static void _init_f_length_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_length_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qsizetype)((QStringView *)cls)->length ()); -} - - -// QStringView QStringView::mid(qsizetype pos, qsizetype n) - - -static void _init_f_mid_c2776 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pos"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("n", true, "-1"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_mid_c2776 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (-1, heap); - ret.write ((QStringView)((QStringView *)cls)->mid (arg1, arg2)); -} - - -// QChar QStringView::operator[](qsizetype n) - - -static void _init_f_operator_index__c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - decl->set_return::target_type > (); -} - -static void _call_f_operator_index__c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QStringView *)cls)->operator[] (arg1))); -} - - -// std::reverse_iterator QStringView::rbegin() - - -static void _init_f_rbegin_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_rbegin_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((std::reverse_iterator)((QStringView *)cls)->rbegin ()); -} - - -// std::reverse_iterator QStringView::rend() - - -static void _init_f_rend_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_rend_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((std::reverse_iterator)((QStringView *)cls)->rend ()); -} - - -// QStringView QStringView::right(qsizetype n) - - -static void _init_f_right_c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_right_c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QStringView)((QStringView *)cls)->right (arg1)); -} - - -// qsizetype QStringView::size() - - -static void _init_f_size_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_size_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qsizetype)((QStringView *)cls)->size ()); -} - - -// QStringView QStringView::sliced(qsizetype pos) - - -static void _init_f_sliced_c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pos"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_sliced_c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QStringView)((QStringView *)cls)->sliced (arg1)); -} - - -// QStringView QStringView::sliced(qsizetype pos, qsizetype n) - - -static void _init_f_sliced_c2776 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pos"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("n"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_sliced_c2776 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = gsi::arg_reader() (args, heap); - ret.write ((QStringView)((QStringView *)cls)->sliced (arg1, arg2)); -} - - -// QList QStringView::split(QStringView sep, QFlags behavior, Qt::CaseSensitivity cs) - - -static void _init_f_split_c6945 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sep"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("behavior", true, "Qt::KeepEmptyParts"); - decl->add_arg > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("cs", true, "Qt::CaseSensitive"); - decl->add_arg::target_type & > (argspec_2); - decl->set_return > (); -} - -static void _call_f_split_c6945 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QStringView arg1 = gsi::arg_reader() (args, heap); - QFlags arg2 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (Qt::KeepEmptyParts, heap); - const qt_gsi::Converter::target_type & arg3 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CaseSensitive), heap); - ret.write > ((QList)((QStringView *)cls)->split (arg1, arg2, qt_gsi::QtToCppAdaptor(arg3).cref())); -} - - -// QList QStringView::split(QChar sep, QFlags behavior, Qt::CaseSensitivity cs) - - -static void _init_f_split_c6285 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sep"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("behavior", true, "Qt::KeepEmptyParts"); - decl->add_arg > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("cs", true, "Qt::CaseSensitive"); - decl->add_arg::target_type & > (argspec_2); - decl->set_return > (); -} - -static void _call_f_split_c6285 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - QFlags arg2 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (Qt::KeepEmptyParts, heap); - const qt_gsi::Converter::target_type & arg3 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CaseSensitive), heap); - ret.write > ((QList)((QStringView *)cls)->split (qt_gsi::QtToCppAdaptor(arg1).cref(), arg2, qt_gsi::QtToCppAdaptor(arg3).cref())); -} - - -// QList QStringView::split(const QRegularExpression &sep, QFlags behavior) - - -static void _init_f_split_c6358 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sep"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("behavior", true, "Qt::KeepEmptyParts"); - decl->add_arg > (argspec_1); - decl->set_return > (); -} - -static void _call_f_split_c6358 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QRegularExpression &arg1 = gsi::arg_reader() (args, heap); - QFlags arg2 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (Qt::KeepEmptyParts, heap); - ret.write > ((QList)((QStringView *)cls)->split (arg1, arg2)); -} - - -// bool QStringView::startsWith(QStringView s, Qt::CaseSensitivity cs) - - -static void _init_f_startsWith_c3775 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cs", true, "Qt::CaseSensitive"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_startsWith_c3775 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QStringView arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CaseSensitive), heap); - ret.write ((bool)((QStringView *)cls)->startsWith (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// bool QStringView::startsWith(QLatin1String s, Qt::CaseSensitivity cs) - - -static void _init_f_startsWith_c3917 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cs", true, "Qt::CaseSensitive"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_startsWith_c3917 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CaseSensitive), heap); - ret.write ((bool)((QStringView *)cls)->startsWith (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// bool QStringView::startsWith(QChar c) - - -static void _init_f_startsWith_c899 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_startsWith_c899 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write ((bool)((QStringView *)cls)->startsWith (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// bool QStringView::startsWith(QChar c, Qt::CaseSensitivity cs) - - -static void _init_f_startsWith_c3115 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cs"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_startsWith_c3115 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - const qt_gsi::Converter::target_type & arg2 = gsi::arg_reader::target_type & >() (args, heap); - ret.write ((bool)((QStringView *)cls)->startsWith (qt_gsi::QtToCppAdaptor(arg1).cref(), qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// double QStringView::toDouble(bool *ok) - - -static void _init_f_toDouble_c1050 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("ok", true, "nullptr"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toDouble_c1050 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ret.write ((double)((QStringView *)cls)->toDouble (arg1)); -} - - -// float QStringView::toFloat(bool *ok) - - -static void _init_f_toFloat_c1050 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("ok", true, "nullptr"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toFloat_c1050 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ret.write ((float)((QStringView *)cls)->toFloat (arg1)); -} - - -// int QStringView::toInt(bool *ok, int base) - - -static void _init_f_toInt_c1709 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("ok", true, "nullptr"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("base", true, "10"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_toInt_c1709 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - int arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (10, heap); - ret.write ((int)((QStringView *)cls)->toInt (arg1, arg2)); -} - - -// QByteArray QStringView::toLatin1() - - -static void _init_f_toLatin1_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toLatin1_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QByteArray)((QStringView *)cls)->toLatin1 ()); -} - - -// QByteArray QStringView::toLocal8Bit() - - -static void _init_f_toLocal8Bit_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toLocal8Bit_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QByteArray)((QStringView *)cls)->toLocal8Bit ()); -} - - -// long int QStringView::toLong(bool *ok, int base) - - -static void _init_f_toLong_c1709 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("ok", true, "nullptr"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("base", true, "10"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_toLong_c1709 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - int arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (10, heap); - ret.write ((long int)((QStringView *)cls)->toLong (arg1, arg2)); -} - - -// qlonglong QStringView::toLongLong(bool *ok, int base) - - -static void _init_f_toLongLong_c1709 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("ok", true, "nullptr"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("base", true, "10"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_toLongLong_c1709 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - int arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (10, heap); - ret.write ((qlonglong)((QStringView *)cls)->toLongLong (arg1, arg2)); -} - - -// short int QStringView::toShort(bool *ok, int base) - - -static void _init_f_toShort_c1709 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("ok", true, "nullptr"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("base", true, "10"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_toShort_c1709 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - int arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (10, heap); - ret.write ((short int)((QStringView *)cls)->toShort (arg1, arg2)); -} - - -// QString QStringView::toString() - - -static void _init_f_toString_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toString_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QStringView *)cls)->toString ()); -} - - -// unsigned int QStringView::toUInt(bool *ok, int base) - - -static void _init_f_toUInt_c1709 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("ok", true, "nullptr"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("base", true, "10"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_toUInt_c1709 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - int arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (10, heap); - ret.write ((unsigned int)((QStringView *)cls)->toUInt (arg1, arg2)); -} - - -// unsigned long int QStringView::toULong(bool *ok, int base) - - -static void _init_f_toULong_c1709 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("ok", true, "nullptr"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("base", true, "10"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_toULong_c1709 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - int arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (10, heap); - ret.write ((unsigned long int)((QStringView *)cls)->toULong (arg1, arg2)); -} - - -// qulonglong QStringView::toULongLong(bool *ok, int base) - - -static void _init_f_toULongLong_c1709 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("ok", true, "nullptr"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("base", true, "10"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_toULongLong_c1709 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - int arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (10, heap); - ret.write ((qulonglong)((QStringView *)cls)->toULongLong (arg1, arg2)); -} - - -// unsigned short int QStringView::toUShort(bool *ok, int base) - - -static void _init_f_toUShort_c1709 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("ok", true, "nullptr"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("base", true, "10"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_toUShort_c1709 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - int arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (10, heap); - ret.write ((unsigned short int)((QStringView *)cls)->toUShort (arg1, arg2)); -} - - -// QList QStringView::toUcs4() - - -static void _init_f_toUcs4_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_toUcs4_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QList)((QStringView *)cls)->toUcs4 ()); -} - - -// QByteArray QStringView::toUtf8() - - -static void _init_f_toUtf8_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toUtf8_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QByteArray)((QStringView *)cls)->toUtf8 ()); -} - - -// qsizetype QStringView::toWCharArray(wchar_t *array) - - -static void _init_f_toWCharArray_c1366 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("array"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toWCharArray_c1366 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - wchar_t *arg1 = gsi::arg_reader() (args, heap); - ret.write ((qsizetype)((QStringView *)cls)->toWCharArray (arg1)); -} - - -// QStringView QStringView::trimmed() - - -static void _init_f_trimmed_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_trimmed_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QStringView)((QStringView *)cls)->trimmed ()); -} - - -// void QStringView::truncate(qsizetype n) - - -static void _init_f_truncate_1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_truncate_1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QStringView *)cls)->truncate (arg1); -} - - -// const char16_t *QStringView::utf16() - - -static void _init_f_utf16_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_utf16_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((const char16_t *)((QStringView *)cls)->utf16 ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QStringView () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QStringView::QStringView()\nThis method creates an object of class QStringView.", &_init_ctor_QStringView_0, &_call_ctor_QStringView_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QStringView::QStringView(std::nullptr_t)\nThis method creates an object of class QStringView.", &_init_ctor_QStringView_1879, &_call_ctor_QStringView_1879); - methods += new qt_gsi::GenericMethod ("at", "@brief Method QChar QStringView::at(qsizetype n)\n", true, &_init_f_at_c1442, &_call_f_at_c1442); - methods += new qt_gsi::GenericMethod ("back", "@brief Method QChar QStringView::back()\n", true, &_init_f_back_c0, &_call_f_back_c0); - methods += new qt_gsi::GenericMethod ("begin", "@brief Method const QChar *QStringView::begin()\n", true, &_init_f_begin_c0, &_call_f_begin_c0); - methods += new qt_gsi::GenericMethod ("cbegin", "@brief Method const QChar *QStringView::cbegin()\n", true, &_init_f_cbegin_c0, &_call_f_cbegin_c0); - methods += new qt_gsi::GenericMethod ("cend", "@brief Method const QChar *QStringView::cend()\n", true, &_init_f_cend_c0, &_call_f_cend_c0); - methods += new qt_gsi::GenericMethod ("chop", "@brief Method void QStringView::chop(qsizetype n)\n", false, &_init_f_chop_1442, &_call_f_chop_1442); - methods += new qt_gsi::GenericMethod ("chopped", "@brief Method QStringView QStringView::chopped(qsizetype n)\n", true, &_init_f_chopped_c1442, &_call_f_chopped_c1442); - methods += new qt_gsi::GenericMethod ("compare", "@brief Method int QStringView::compare(QStringView other, Qt::CaseSensitivity cs)\n", true, &_init_f_compare_c3775, &_call_f_compare_c3775); - methods += new qt_gsi::GenericMethod ("compare", "@brief Method int QStringView::compare(QLatin1String other, Qt::CaseSensitivity cs)\n", true, &_init_f_compare_c3917, &_call_f_compare_c3917); - methods += new qt_gsi::GenericMethod ("compare", "@brief Method int QStringView::compare(QChar c)\n", true, &_init_f_compare_c899, &_call_f_compare_c899); - methods += new qt_gsi::GenericMethod ("compare", "@brief Method int QStringView::compare(QChar c, Qt::CaseSensitivity cs)\n", true, &_init_f_compare_c3115, &_call_f_compare_c3115); - methods += new qt_gsi::GenericMethod ("constBegin", "@brief Method const QChar *QStringView::constBegin()\n", true, &_init_f_constBegin_c0, &_call_f_constBegin_c0); - methods += new qt_gsi::GenericMethod ("constData", "@brief Method const QChar *QStringView::constData()\n", true, &_init_f_constData_c0, &_call_f_constData_c0); - methods += new qt_gsi::GenericMethod ("constEnd", "@brief Method const QChar *QStringView::constEnd()\n", true, &_init_f_constEnd_c0, &_call_f_constEnd_c0); - methods += new qt_gsi::GenericMethod ("contains", "@brief Method bool QStringView::contains(QChar c, Qt::CaseSensitivity cs)\n", true, &_init_f_contains_c3115, &_call_f_contains_c3115); - methods += new qt_gsi::GenericMethod ("contains", "@brief Method bool QStringView::contains(QStringView s, Qt::CaseSensitivity cs)\n", true, &_init_f_contains_c3775, &_call_f_contains_c3775); - methods += new qt_gsi::GenericMethod ("contains", "@brief Method bool QStringView::contains(QLatin1String s, Qt::CaseSensitivity cs)\n", true, &_init_f_contains_c3917, &_call_f_contains_c3917); - methods += new qt_gsi::GenericMethod ("contains", "@brief Method bool QStringView::contains(const QRegularExpression &re, QRegularExpressionMatch *rmatch)\n", true, &_init_f_contains_c6070, &_call_f_contains_c6070); - methods += new qt_gsi::GenericMethod ("count", "@brief Method qsizetype QStringView::count(QChar c, Qt::CaseSensitivity cs)\n", true, &_init_f_count_c3115, &_call_f_count_c3115); - methods += new qt_gsi::GenericMethod ("count", "@brief Method qsizetype QStringView::count(QStringView s, Qt::CaseSensitivity cs)\n", true, &_init_f_count_c3775, &_call_f_count_c3775); - methods += new qt_gsi::GenericMethod ("count", "@brief Method qsizetype QStringView::count(const QRegularExpression &re)\n", true, &_init_f_count_c3188, &_call_f_count_c3188); - methods += new qt_gsi::GenericMethod ("crbegin", "@brief Method std::reverse_iterator QStringView::crbegin()\n", true, &_init_f_crbegin_c0, &_call_f_crbegin_c0); - methods += new qt_gsi::GenericMethod ("crend", "@brief Method std::reverse_iterator QStringView::crend()\n", true, &_init_f_crend_c0, &_call_f_crend_c0); - methods += new qt_gsi::GenericMethod ("data", "@brief Method const QChar *QStringView::data()\n", true, &_init_f_data_c0, &_call_f_data_c0); - methods += new qt_gsi::GenericMethod ("empty", "@brief Method bool QStringView::empty()\n", true, &_init_f_empty_c0, &_call_f_empty_c0); - methods += new qt_gsi::GenericMethod ("end", "@brief Method const QChar *QStringView::end()\n", true, &_init_f_end_c0, &_call_f_end_c0); - methods += new qt_gsi::GenericMethod ("endsWith", "@brief Method bool QStringView::endsWith(QStringView s, Qt::CaseSensitivity cs)\n", true, &_init_f_endsWith_c3775, &_call_f_endsWith_c3775); - methods += new qt_gsi::GenericMethod ("endsWith", "@brief Method bool QStringView::endsWith(QLatin1String s, Qt::CaseSensitivity cs)\n", true, &_init_f_endsWith_c3917, &_call_f_endsWith_c3917); - methods += new qt_gsi::GenericMethod ("endsWith", "@brief Method bool QStringView::endsWith(QChar c)\n", true, &_init_f_endsWith_c899, &_call_f_endsWith_c899); - methods += new qt_gsi::GenericMethod ("endsWith", "@brief Method bool QStringView::endsWith(QChar c, Qt::CaseSensitivity cs)\n", true, &_init_f_endsWith_c3115, &_call_f_endsWith_c3115); - methods += new qt_gsi::GenericMethod ("first", "@brief Method QStringView QStringView::first(qsizetype n)\n", true, &_init_f_first_c1442, &_call_f_first_c1442); - methods += new qt_gsi::GenericMethod ("first", "@brief Method QChar QStringView::first()\n", true, &_init_f_first_c0, &_call_f_first_c0); - methods += new qt_gsi::GenericMethod ("front", "@brief Method QChar QStringView::front()\n", true, &_init_f_front_c0, &_call_f_front_c0); - methods += new qt_gsi::GenericMethod ("indexOf", "@brief Method qsizetype QStringView::indexOf(QChar c, qsizetype from, Qt::CaseSensitivity cs)\n", true, &_init_f_indexOf_c4449, &_call_f_indexOf_c4449); - methods += new qt_gsi::GenericMethod ("indexOf", "@brief Method qsizetype QStringView::indexOf(QStringView s, qsizetype from, Qt::CaseSensitivity cs)\n", true, &_init_f_indexOf_c5109, &_call_f_indexOf_c5109); - methods += new qt_gsi::GenericMethod ("indexOf", "@brief Method qsizetype QStringView::indexOf(QLatin1String s, qsizetype from, Qt::CaseSensitivity cs)\n", true, &_init_f_indexOf_c5251, &_call_f_indexOf_c5251); - methods += new qt_gsi::GenericMethod ("indexOf", "@brief Method qsizetype QStringView::indexOf(const QRegularExpression &re, qsizetype from, QRegularExpressionMatch *rmatch)\n", true, &_init_f_indexOf_c7404, &_call_f_indexOf_c7404); - methods += new qt_gsi::GenericMethod ("isEmpty?", "@brief Method bool QStringView::isEmpty()\n", true, &_init_f_isEmpty_c0, &_call_f_isEmpty_c0); - methods += new qt_gsi::GenericMethod ("isNull?", "@brief Method bool QStringView::isNull()\n", true, &_init_f_isNull_c0, &_call_f_isNull_c0); - methods += new qt_gsi::GenericMethod ("isRightToLeft?", "@brief Method bool QStringView::isRightToLeft()\n", true, &_init_f_isRightToLeft_c0, &_call_f_isRightToLeft_c0); - methods += new qt_gsi::GenericMethod ("isValidUtf16?", "@brief Method bool QStringView::isValidUtf16()\n", true, &_init_f_isValidUtf16_c0, &_call_f_isValidUtf16_c0); - methods += new qt_gsi::GenericMethod ("last", "@brief Method QStringView QStringView::last(qsizetype n)\n", true, &_init_f_last_c1442, &_call_f_last_c1442); - methods += new qt_gsi::GenericMethod ("last", "@brief Method QChar QStringView::last()\n", true, &_init_f_last_c0, &_call_f_last_c0); - methods += new qt_gsi::GenericMethod ("lastIndexOf", "@brief Method qsizetype QStringView::lastIndexOf(QChar c, qsizetype from, Qt::CaseSensitivity cs)\n", true, &_init_f_lastIndexOf_c4449, &_call_f_lastIndexOf_c4449); - methods += new qt_gsi::GenericMethod ("lastIndexOf", "@brief Method qsizetype QStringView::lastIndexOf(QStringView s, Qt::CaseSensitivity cs)\n", true, &_init_f_lastIndexOf_c3775, &_call_f_lastIndexOf_c3775); - methods += new qt_gsi::GenericMethod ("lastIndexOf", "@brief Method qsizetype QStringView::lastIndexOf(QStringView s, qsizetype from, Qt::CaseSensitivity cs)\n", true, &_init_f_lastIndexOf_c5109, &_call_f_lastIndexOf_c5109); - methods += new qt_gsi::GenericMethod ("lastIndexOf", "@brief Method qsizetype QStringView::lastIndexOf(QLatin1String s, Qt::CaseSensitivity cs)\n", true, &_init_f_lastIndexOf_c3917, &_call_f_lastIndexOf_c3917); - methods += new qt_gsi::GenericMethod ("lastIndexOf", "@brief Method qsizetype QStringView::lastIndexOf(QLatin1String s, qsizetype from, Qt::CaseSensitivity cs)\n", true, &_init_f_lastIndexOf_c5251, &_call_f_lastIndexOf_c5251); - methods += new qt_gsi::GenericMethod ("lastIndexOf", "@brief Method qsizetype QStringView::lastIndexOf(const QRegularExpression &re, qsizetype from, QRegularExpressionMatch *rmatch)\n", true, &_init_f_lastIndexOf_c7404, &_call_f_lastIndexOf_c7404); - methods += new qt_gsi::GenericMethod ("left", "@brief Method QStringView QStringView::left(qsizetype n)\n", true, &_init_f_left_c1442, &_call_f_left_c1442); - methods += new qt_gsi::GenericMethod ("length", "@brief Method qsizetype QStringView::length()\n", true, &_init_f_length_c0, &_call_f_length_c0); - methods += new qt_gsi::GenericMethod ("mid", "@brief Method QStringView QStringView::mid(qsizetype pos, qsizetype n)\n", true, &_init_f_mid_c2776, &_call_f_mid_c2776); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method QChar QStringView::operator[](qsizetype n)\n", true, &_init_f_operator_index__c1442, &_call_f_operator_index__c1442); - methods += new qt_gsi::GenericMethod ("rbegin", "@brief Method std::reverse_iterator QStringView::rbegin()\n", true, &_init_f_rbegin_c0, &_call_f_rbegin_c0); - methods += new qt_gsi::GenericMethod ("rend", "@brief Method std::reverse_iterator QStringView::rend()\n", true, &_init_f_rend_c0, &_call_f_rend_c0); - methods += new qt_gsi::GenericMethod ("right", "@brief Method QStringView QStringView::right(qsizetype n)\n", true, &_init_f_right_c1442, &_call_f_right_c1442); - methods += new qt_gsi::GenericMethod ("size", "@brief Method qsizetype QStringView::size()\n", true, &_init_f_size_c0, &_call_f_size_c0); - methods += new qt_gsi::GenericMethod ("sliced", "@brief Method QStringView QStringView::sliced(qsizetype pos)\n", true, &_init_f_sliced_c1442, &_call_f_sliced_c1442); - methods += new qt_gsi::GenericMethod ("sliced", "@brief Method QStringView QStringView::sliced(qsizetype pos, qsizetype n)\n", true, &_init_f_sliced_c2776, &_call_f_sliced_c2776); - methods += new qt_gsi::GenericMethod ("split", "@brief Method QList QStringView::split(QStringView sep, QFlags behavior, Qt::CaseSensitivity cs)\n", true, &_init_f_split_c6945, &_call_f_split_c6945); - methods += new qt_gsi::GenericMethod ("split", "@brief Method QList QStringView::split(QChar sep, QFlags behavior, Qt::CaseSensitivity cs)\n", true, &_init_f_split_c6285, &_call_f_split_c6285); - methods += new qt_gsi::GenericMethod ("split", "@brief Method QList QStringView::split(const QRegularExpression &sep, QFlags behavior)\n", true, &_init_f_split_c6358, &_call_f_split_c6358); - methods += new qt_gsi::GenericMethod ("startsWith", "@brief Method bool QStringView::startsWith(QStringView s, Qt::CaseSensitivity cs)\n", true, &_init_f_startsWith_c3775, &_call_f_startsWith_c3775); - methods += new qt_gsi::GenericMethod ("startsWith", "@brief Method bool QStringView::startsWith(QLatin1String s, Qt::CaseSensitivity cs)\n", true, &_init_f_startsWith_c3917, &_call_f_startsWith_c3917); - methods += new qt_gsi::GenericMethod ("startsWith", "@brief Method bool QStringView::startsWith(QChar c)\n", true, &_init_f_startsWith_c899, &_call_f_startsWith_c899); - methods += new qt_gsi::GenericMethod ("startsWith", "@brief Method bool QStringView::startsWith(QChar c, Qt::CaseSensitivity cs)\n", true, &_init_f_startsWith_c3115, &_call_f_startsWith_c3115); - methods += new qt_gsi::GenericMethod ("toDouble", "@brief Method double QStringView::toDouble(bool *ok)\n", true, &_init_f_toDouble_c1050, &_call_f_toDouble_c1050); - methods += new qt_gsi::GenericMethod ("toFloat", "@brief Method float QStringView::toFloat(bool *ok)\n", true, &_init_f_toFloat_c1050, &_call_f_toFloat_c1050); - methods += new qt_gsi::GenericMethod ("toInt", "@brief Method int QStringView::toInt(bool *ok, int base)\n", true, &_init_f_toInt_c1709, &_call_f_toInt_c1709); - methods += new qt_gsi::GenericMethod ("toLatin1", "@brief Method QByteArray QStringView::toLatin1()\n", true, &_init_f_toLatin1_c0, &_call_f_toLatin1_c0); - methods += new qt_gsi::GenericMethod ("toLocal8Bit", "@brief Method QByteArray QStringView::toLocal8Bit()\n", true, &_init_f_toLocal8Bit_c0, &_call_f_toLocal8Bit_c0); - methods += new qt_gsi::GenericMethod ("toLong", "@brief Method long int QStringView::toLong(bool *ok, int base)\n", true, &_init_f_toLong_c1709, &_call_f_toLong_c1709); - methods += new qt_gsi::GenericMethod ("toLongLong", "@brief Method qlonglong QStringView::toLongLong(bool *ok, int base)\n", true, &_init_f_toLongLong_c1709, &_call_f_toLongLong_c1709); - methods += new qt_gsi::GenericMethod ("toShort", "@brief Method short int QStringView::toShort(bool *ok, int base)\n", true, &_init_f_toShort_c1709, &_call_f_toShort_c1709); - methods += new qt_gsi::GenericMethod ("toString", "@brief Method QString QStringView::toString()\n", true, &_init_f_toString_c0, &_call_f_toString_c0); - methods += new qt_gsi::GenericMethod ("toUInt", "@brief Method unsigned int QStringView::toUInt(bool *ok, int base)\n", true, &_init_f_toUInt_c1709, &_call_f_toUInt_c1709); - methods += new qt_gsi::GenericMethod ("toULong", "@brief Method unsigned long int QStringView::toULong(bool *ok, int base)\n", true, &_init_f_toULong_c1709, &_call_f_toULong_c1709); - methods += new qt_gsi::GenericMethod ("toULongLong", "@brief Method qulonglong QStringView::toULongLong(bool *ok, int base)\n", true, &_init_f_toULongLong_c1709, &_call_f_toULongLong_c1709); - methods += new qt_gsi::GenericMethod ("toUShort", "@brief Method unsigned short int QStringView::toUShort(bool *ok, int base)\n", true, &_init_f_toUShort_c1709, &_call_f_toUShort_c1709); - methods += new qt_gsi::GenericMethod ("toUcs4", "@brief Method QList QStringView::toUcs4()\n", true, &_init_f_toUcs4_c0, &_call_f_toUcs4_c0); - methods += new qt_gsi::GenericMethod ("toUtf8", "@brief Method QByteArray QStringView::toUtf8()\n", true, &_init_f_toUtf8_c0, &_call_f_toUtf8_c0); - methods += new qt_gsi::GenericMethod ("toWCharArray", "@brief Method qsizetype QStringView::toWCharArray(wchar_t *array)\n", true, &_init_f_toWCharArray_c1366, &_call_f_toWCharArray_c1366); - methods += new qt_gsi::GenericMethod ("trimmed", "@brief Method QStringView QStringView::trimmed()\n", true, &_init_f_trimmed_c0, &_call_f_trimmed_c0); - methods += new qt_gsi::GenericMethod ("truncate", "@brief Method void QStringView::truncate(qsizetype n)\n", false, &_init_f_truncate_1442, &_call_f_truncate_1442); - methods += new qt_gsi::GenericMethod ("utf16", "@brief Method const char16_t *QStringView::utf16()\n", true, &_init_f_utf16_c0, &_call_f_utf16_c0); - return methods; -} - -gsi::Class decl_QStringView ("QtCore", "QStringView", - methods_QStringView (), - "@qt\n@brief Binding of QStringView"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QStringView () { return decl_QStringView; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQTypeTraits.cc b/src/gsiqt/qt6/QtCore/gsiDeclQTypeTraits.cc deleted file mode 100644 index 90a8e0e19..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQTypeTraits.cc +++ /dev/null @@ -1,47 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQTypeTraits.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// namespace QTypeTraits - -class QTypeTraits_Namespace { }; - -namespace gsi -{ -gsi::Class decl_QTypeTraits_Namespace ("QtCore", "QTypeTraits", - gsi::Methods(), - "@qt\n@brief This class represents the QTypeTraits namespace"); -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQUntypedBindable.cc b/src/gsiqt/qt6/QtCore/gsiDeclQUntypedBindable.cc deleted file mode 100644 index a1e92e394..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQUntypedBindable.cc +++ /dev/null @@ -1,247 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQUntypedBindable.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include - -// ----------------------------------------------------------------------- -// class QUntypedBindable - -// Constructor QUntypedBindable::QUntypedBindable() - - -static void _init_ctor_QUntypedBindable_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QUntypedBindable_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QUntypedBindable ()); -} - - -// QUntypedPropertyBinding QUntypedBindable::binding() - - -static void _init_f_binding_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_binding_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QUntypedPropertyBinding)((QUntypedBindable *)cls)->binding ()); -} - - -// bool QUntypedBindable::hasBinding() - - -static void _init_f_hasBinding_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_hasBinding_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QUntypedBindable *)cls)->hasBinding ()); -} - - -// bool QUntypedBindable::isBindable() - - -static void _init_f_isBindable_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isBindable_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QUntypedBindable *)cls)->isBindable ()); -} - - -// bool QUntypedBindable::isReadOnly() - - -static void _init_f_isReadOnly_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isReadOnly_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QUntypedBindable *)cls)->isReadOnly ()); -} - - -// bool QUntypedBindable::isValid() - - -static void _init_f_isValid_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isValid_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QUntypedBindable *)cls)->isValid ()); -} - - -// QUntypedPropertyBinding QUntypedBindable::makeBinding(const QPropertyBindingSourceLocation &location) - - -static void _init_f_makeBinding_c4412 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("location", true, "QPropertyBindingSourceLocation(std::experimental::source_location::current())"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_makeBinding_c4412 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QPropertyBindingSourceLocation &arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QPropertyBindingSourceLocation(std::experimental::source_location::current()), heap); - ret.write ((QUntypedPropertyBinding)((QUntypedBindable *)cls)->makeBinding (arg1)); -} - - -// QMetaType QUntypedBindable::metaType() - - -static void _init_f_metaType_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_metaType_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QMetaType)((QUntypedBindable *)cls)->metaType ()); -} - - -// void QUntypedBindable::observe(QPropertyObserver *observer) - - -static void _init_f_observe_c2412 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("observer"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_observe_c2412 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QPropertyObserver *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QUntypedBindable *)cls)->observe (arg1); -} - - -// bool QUntypedBindable::setBinding(const QUntypedPropertyBinding &binding) - - -static void _init_f_setBinding_3707 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("binding"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setBinding_3707 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QUntypedPropertyBinding &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QUntypedBindable *)cls)->setBinding (arg1)); -} - - -// QUntypedPropertyBinding QUntypedBindable::takeBinding() - - -static void _init_f_takeBinding_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_takeBinding_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QUntypedPropertyBinding)((QUntypedBindable *)cls)->takeBinding ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QUntypedBindable () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QUntypedBindable::QUntypedBindable()\nThis method creates an object of class QUntypedBindable.", &_init_ctor_QUntypedBindable_0, &_call_ctor_QUntypedBindable_0); - methods += new qt_gsi::GenericMethod ("binding", "@brief Method QUntypedPropertyBinding QUntypedBindable::binding()\n", true, &_init_f_binding_c0, &_call_f_binding_c0); - methods += new qt_gsi::GenericMethod ("hasBinding", "@brief Method bool QUntypedBindable::hasBinding()\n", true, &_init_f_hasBinding_c0, &_call_f_hasBinding_c0); - methods += new qt_gsi::GenericMethod ("isBindable?", "@brief Method bool QUntypedBindable::isBindable()\n", true, &_init_f_isBindable_c0, &_call_f_isBindable_c0); - methods += new qt_gsi::GenericMethod ("isReadOnly?", "@brief Method bool QUntypedBindable::isReadOnly()\n", true, &_init_f_isReadOnly_c0, &_call_f_isReadOnly_c0); - methods += new qt_gsi::GenericMethod ("isValid?", "@brief Method bool QUntypedBindable::isValid()\n", true, &_init_f_isValid_c0, &_call_f_isValid_c0); - methods += new qt_gsi::GenericMethod ("makeBinding", "@brief Method QUntypedPropertyBinding QUntypedBindable::makeBinding(const QPropertyBindingSourceLocation &location)\n", true, &_init_f_makeBinding_c4412, &_call_f_makeBinding_c4412); - methods += new qt_gsi::GenericMethod ("metaType", "@brief Method QMetaType QUntypedBindable::metaType()\n", true, &_init_f_metaType_c0, &_call_f_metaType_c0); - methods += new qt_gsi::GenericMethod ("observe", "@brief Method void QUntypedBindable::observe(QPropertyObserver *observer)\n", true, &_init_f_observe_c2412, &_call_f_observe_c2412); - methods += new qt_gsi::GenericMethod ("setBinding", "@brief Method bool QUntypedBindable::setBinding(const QUntypedPropertyBinding &binding)\n", false, &_init_f_setBinding_3707, &_call_f_setBinding_3707); - methods += new qt_gsi::GenericMethod ("takeBinding", "@brief Method QUntypedPropertyBinding QUntypedBindable::takeBinding()\n", false, &_init_f_takeBinding_0, &_call_f_takeBinding_0); - return methods; -} - -gsi::Class decl_QUntypedBindable ("QtCore", "QUntypedBindable", - methods_QUntypedBindable (), - "@qt\n@brief Binding of QUntypedBindable"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QUntypedBindable () { return decl_QUntypedBindable; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQUntypedPropertyBinding.cc b/src/gsiqt/qt6/QtCore/gsiDeclQUntypedPropertyBinding.cc deleted file mode 100644 index 40516fb04..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQUntypedPropertyBinding.cc +++ /dev/null @@ -1,213 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQUntypedPropertyBinding.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QUntypedPropertyBinding - -// Constructor QUntypedPropertyBinding::QUntypedPropertyBinding() - - -static void _init_ctor_QUntypedPropertyBinding_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QUntypedPropertyBinding_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QUntypedPropertyBinding ()); -} - - -// Constructor QUntypedPropertyBinding::QUntypedPropertyBinding(QMetaType metaType, const QUntypedPropertyBinding::BindingFunctionVTable *vtable, void *function, const QPropertyBindingSourceLocation &location) - - -static void _init_ctor_QUntypedPropertyBinding_12408 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("metaType"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("vtable"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("function"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("location"); - decl->add_arg (argspec_3); - decl->set_return_new (); -} - -static void _call_ctor_QUntypedPropertyBinding_12408 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QMetaType arg1 = gsi::arg_reader() (args, heap); - const QUntypedPropertyBinding::BindingFunctionVTable *arg2 = gsi::arg_reader() (args, heap); - void *arg3 = gsi::arg_reader() (args, heap); - const QPropertyBindingSourceLocation &arg4 = gsi::arg_reader() (args, heap); - ret.write (new QUntypedPropertyBinding (arg1, arg2, arg3, arg4)); -} - - -// Constructor QUntypedPropertyBinding::QUntypedPropertyBinding(const QUntypedPropertyBinding &other) - - -static void _init_ctor_QUntypedPropertyBinding_3707 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QUntypedPropertyBinding_3707 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QUntypedPropertyBinding &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QUntypedPropertyBinding (arg1)); -} - - -// Constructor QUntypedPropertyBinding::QUntypedPropertyBinding(QPropertyBindingPrivate *priv) - - -static void _init_ctor_QUntypedPropertyBinding_3002 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("priv"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QUntypedPropertyBinding_3002 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QPropertyBindingPrivate *arg1 = gsi::arg_reader() (args, heap); - ret.write (new QUntypedPropertyBinding (arg1)); -} - - -// QPropertyBindingError QUntypedPropertyBinding::error() - - -static void _init_f_error_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_error_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QPropertyBindingError)((QUntypedPropertyBinding *)cls)->error ()); -} - - -// bool QUntypedPropertyBinding::isNull() - - -static void _init_f_isNull_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isNull_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QUntypedPropertyBinding *)cls)->isNull ()); -} - - -// QUntypedPropertyBinding &QUntypedPropertyBinding::operator=(const QUntypedPropertyBinding &other) - - -static void _init_f_operator_eq__3707 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__3707 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QUntypedPropertyBinding &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QUntypedPropertyBinding &)((QUntypedPropertyBinding *)cls)->operator= (arg1)); -} - - -// QMetaType QUntypedPropertyBinding::valueMetaType() - - -static void _init_f_valueMetaType_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_valueMetaType_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QMetaType)((QUntypedPropertyBinding *)cls)->valueMetaType ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QUntypedPropertyBinding () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QUntypedPropertyBinding::QUntypedPropertyBinding()\nThis method creates an object of class QUntypedPropertyBinding.", &_init_ctor_QUntypedPropertyBinding_0, &_call_ctor_QUntypedPropertyBinding_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QUntypedPropertyBinding::QUntypedPropertyBinding(QMetaType metaType, const QUntypedPropertyBinding::BindingFunctionVTable *vtable, void *function, const QPropertyBindingSourceLocation &location)\nThis method creates an object of class QUntypedPropertyBinding.", &_init_ctor_QUntypedPropertyBinding_12408, &_call_ctor_QUntypedPropertyBinding_12408); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QUntypedPropertyBinding::QUntypedPropertyBinding(const QUntypedPropertyBinding &other)\nThis method creates an object of class QUntypedPropertyBinding.", &_init_ctor_QUntypedPropertyBinding_3707, &_call_ctor_QUntypedPropertyBinding_3707); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QUntypedPropertyBinding::QUntypedPropertyBinding(QPropertyBindingPrivate *priv)\nThis method creates an object of class QUntypedPropertyBinding.", &_init_ctor_QUntypedPropertyBinding_3002, &_call_ctor_QUntypedPropertyBinding_3002); - methods += new qt_gsi::GenericMethod ("error", "@brief Method QPropertyBindingError QUntypedPropertyBinding::error()\n", true, &_init_f_error_c0, &_call_f_error_c0); - methods += new qt_gsi::GenericMethod ("isNull?", "@brief Method bool QUntypedPropertyBinding::isNull()\n", true, &_init_f_isNull_c0, &_call_f_isNull_c0); - methods += new qt_gsi::GenericMethod ("assign", "@brief Method QUntypedPropertyBinding &QUntypedPropertyBinding::operator=(const QUntypedPropertyBinding &other)\n", false, &_init_f_operator_eq__3707, &_call_f_operator_eq__3707); - methods += new qt_gsi::GenericMethod ("valueMetaType", "@brief Method QMetaType QUntypedPropertyBinding::valueMetaType()\n", true, &_init_f_valueMetaType_c0, &_call_f_valueMetaType_c0); - return methods; -} - -gsi::Class decl_QUntypedPropertyBinding ("QtCore", "QUntypedPropertyBinding", - methods_QUntypedPropertyBinding (), - "@qt\n@brief Binding of QUntypedPropertyBinding"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QUntypedPropertyBinding () { return decl_QUntypedPropertyBinding; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQUntypedPropertyData.cc b/src/gsiqt/qt6/QtCore/gsiDeclQUntypedPropertyData.cc deleted file mode 100644 index 413c0b65a..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQUntypedPropertyData.cc +++ /dev/null @@ -1,71 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQUntypedPropertyData.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include - -// ----------------------------------------------------------------------- -// class QUntypedPropertyData - -// Constructor QUntypedPropertyData::QUntypedPropertyData() - - -static void _init_ctor_QUntypedPropertyData_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QUntypedPropertyData_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QUntypedPropertyData ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QUntypedPropertyData () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QUntypedPropertyData::QUntypedPropertyData()\nThis method creates an object of class QUntypedPropertyData.", &_init_ctor_QUntypedPropertyData_0, &_call_ctor_QUntypedPropertyData_0); - return methods; -} - -gsi::Class decl_QUntypedPropertyData ("QtCore", "QUntypedPropertyData", - methods_QUntypedPropertyData (), - "@qt\n@brief Binding of QUntypedPropertyData"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QUntypedPropertyData () { return decl_QUntypedPropertyData; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQVariantConstPointer.cc b/src/gsiqt/qt6/QtCore/gsiDeclQVariantConstPointer.cc deleted file mode 100644 index 38696dbeb..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQVariantConstPointer.cc +++ /dev/null @@ -1,108 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQVariantConstPointer.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QVariantConstPointer - -// Constructor QVariantConstPointer::QVariantConstPointer(QVariant variant) - - -static void _init_ctor_QVariantConstPointer_1242 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("variant"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QVariantConstPointer_1242 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QVariant arg1 = gsi::arg_reader() (args, heap); - ret.write (new QVariantConstPointer (arg1)); -} - - -// QVariant QVariantConstPointer::operator*() - - -static void _init_f_operator_star__c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_star__c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVariant)((QVariantConstPointer *)cls)->operator* ()); -} - - -// const QVariant *QVariantConstPointer::operator->() - - -static void _init_f_operator_minus__gt__c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_operator_minus__gt__c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((const QVariant *)((QVariantConstPointer *)cls)->operator-> ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QVariantConstPointer () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QVariantConstPointer::QVariantConstPointer(QVariant variant)\nThis method creates an object of class QVariantConstPointer.", &_init_ctor_QVariantConstPointer_1242, &_call_ctor_QVariantConstPointer_1242); - methods += new qt_gsi::GenericMethod ("*", "@brief Method QVariant QVariantConstPointer::operator*()\n", true, &_init_f_operator_star__c0, &_call_f_operator_star__c0); - methods += new qt_gsi::GenericMethod ("->", "@brief Method const QVariant *QVariantConstPointer::operator->()\n", true, &_init_f_operator_minus__gt__c0, &_call_f_operator_minus__gt__c0); - return methods; -} - -gsi::Class decl_QVariantConstPointer ("QtCore", "QVariantConstPointer", - methods_QVariantConstPointer (), - "@qt\n@brief Binding of QVariantConstPointer"); - - -GSI_QTCORE_PUBLIC gsi::Class &qtdecl_QVariantConstPointer () { return decl_QVariantConstPointer; } - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQtCoreTypeTraits.h b/src/gsiqt/qt6/QtCore/gsiDeclQtCoreTypeTraits.h deleted file mode 100644 index 93e587e2f..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQtCoreTypeTraits.h +++ /dev/null @@ -1,30 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file generated/gsiDeclQtCoreTypeTraits.h -* @brief Type traits for the Qt binding classes -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQtFuture.cc b/src/gsiqt/qt6/QtCore/gsiDeclQtFuture.cc deleted file mode 100644 index 95f4f1e01..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQtFuture.cc +++ /dev/null @@ -1,66 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQtFuture.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// namespace QtFuture - -class QtFuture_Namespace { }; - -namespace gsi -{ -gsi::Class decl_QtFuture_Namespace ("QtCore", "QtFuture", - gsi::Methods(), - "@qt\n@brief This class represents the QtFuture namespace"); -} - - -// Implementation of the enum wrapper class for QtFuture::Launch -namespace qt_gsi -{ - -static gsi::Enum decl_QtFuture_Launch_Enum ("QtCore", "QtFuture_Launch", - gsi::enum_const ("Sync", QtFuture::Launch::Sync, "@brief Enum constant QtFuture::Launch::Sync") + - gsi::enum_const ("Async", QtFuture::Launch::Async, "@brief Enum constant QtFuture::Launch::Async") + - gsi::enum_const ("Inherit", QtFuture::Launch::Inherit, "@brief Enum constant QtFuture::Launch::Inherit"), - "@qt\n@brief This class represents the QtFuture::Launch enum"); - -static gsi::QFlagsClass decl_QtFuture_Launch_Enums ("QtCore", "QtFuture_QFlags_Launch", - "@qt\n@brief This class represents the QFlags flag set"); - -static gsi::ClassExt decl_QtFuture_Launch_Enum_as_child (decl_QtFuture_Launch_Enum, "Launch"); -static gsi::ClassExt decl_QtFuture_Launch_Enums_as_child (decl_QtFuture_Launch_Enums, "QFlags_Launch"); - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQtMetaContainerPrivate.cc b/src/gsiqt/qt6/QtCore/gsiDeclQtMetaContainerPrivate.cc deleted file mode 100644 index 56f84f531..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQtMetaContainerPrivate.cc +++ /dev/null @@ -1,91 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQtMetaContainerPrivate.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// namespace QtMetaContainerPrivate - -class QtMetaContainerPrivate_Namespace { }; - -namespace gsi -{ -gsi::Class decl_QtMetaContainerPrivate_Namespace ("QtCore", "QtMetaContainerPrivate", - gsi::Methods(), - "@qt\n@brief This class represents the QtMetaContainerPrivate namespace"); -} - - -// Implementation of the enum wrapper class for QtMetaContainerPrivate::AddRemoveCapability -namespace qt_gsi -{ - -static gsi::Enum decl_QtMetaContainerPrivate_AddRemoveCapability_Enum ("QtCore", "QtMetaContainerPrivate_AddRemoveCapability", - gsi::enum_const ("CanAddAtBegin", QtMetaContainerPrivate::CanAddAtBegin, "@brief Enum constant QtMetaContainerPrivate::CanAddAtBegin") + - gsi::enum_const ("CanRemoveAtBegin", QtMetaContainerPrivate::CanRemoveAtBegin, "@brief Enum constant QtMetaContainerPrivate::CanRemoveAtBegin") + - gsi::enum_const ("CanAddAtEnd", QtMetaContainerPrivate::CanAddAtEnd, "@brief Enum constant QtMetaContainerPrivate::CanAddAtEnd") + - gsi::enum_const ("CanRemoveAtEnd", QtMetaContainerPrivate::CanRemoveAtEnd, "@brief Enum constant QtMetaContainerPrivate::CanRemoveAtEnd"), - "@qt\n@brief This class represents the QtMetaContainerPrivate::AddRemoveCapability enum"); - -static gsi::QFlagsClass decl_QtMetaContainerPrivate_AddRemoveCapability_Enums ("QtCore", "QtMetaContainerPrivate_QFlags_AddRemoveCapability", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QtMetaContainerPrivate_AddRemoveCapability_Enum_in_parent (decl_QtMetaContainerPrivate_AddRemoveCapability_Enum.defs ()); -static gsi::ClassExt decl_QtMetaContainerPrivate_AddRemoveCapability_Enum_as_child (decl_QtMetaContainerPrivate_AddRemoveCapability_Enum, "AddRemoveCapability"); -static gsi::ClassExt decl_QtMetaContainerPrivate_AddRemoveCapability_Enums_as_child (decl_QtMetaContainerPrivate_AddRemoveCapability_Enums, "QFlags_AddRemoveCapability"); - -} - - -// Implementation of the enum wrapper class for QtMetaContainerPrivate::IteratorCapability -namespace qt_gsi -{ - -static gsi::Enum decl_QtMetaContainerPrivate_IteratorCapability_Enum ("QtCore", "QtMetaContainerPrivate_IteratorCapability", - gsi::enum_const ("InputCapability", QtMetaContainerPrivate::InputCapability, "@brief Enum constant QtMetaContainerPrivate::InputCapability") + - gsi::enum_const ("ForwardCapability", QtMetaContainerPrivate::ForwardCapability, "@brief Enum constant QtMetaContainerPrivate::ForwardCapability") + - gsi::enum_const ("BiDirectionalCapability", QtMetaContainerPrivate::BiDirectionalCapability, "@brief Enum constant QtMetaContainerPrivate::BiDirectionalCapability") + - gsi::enum_const ("RandomAccessCapability", QtMetaContainerPrivate::RandomAccessCapability, "@brief Enum constant QtMetaContainerPrivate::RandomAccessCapability"), - "@qt\n@brief This class represents the QtMetaContainerPrivate::IteratorCapability enum"); - -static gsi::QFlagsClass decl_QtMetaContainerPrivate_IteratorCapability_Enums ("QtCore", "QtMetaContainerPrivate_QFlags_IteratorCapability", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QtMetaContainerPrivate_IteratorCapability_Enum_in_parent (decl_QtMetaContainerPrivate_IteratorCapability_Enum.defs ()); -static gsi::ClassExt decl_QtMetaContainerPrivate_IteratorCapability_Enum_as_child (decl_QtMetaContainerPrivate_IteratorCapability_Enum, "IteratorCapability"); -static gsi::ClassExt decl_QtMetaContainerPrivate_IteratorCapability_Enums_as_child (decl_QtMetaContainerPrivate_IteratorCapability_Enums, "QFlags_IteratorCapability"); - -} - diff --git a/src/gsiqt/qt6/QtCore/gsiDeclQtStringBuilder.cc b/src/gsiqt/qt6/QtCore/gsiDeclQtStringBuilder.cc deleted file mode 100644 index 1370ff32c..000000000 --- a/src/gsiqt/qt6/QtCore/gsiDeclQtStringBuilder.cc +++ /dev/null @@ -1,47 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQtStringBuilder.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCoreCommon.h" -#include "gsiDeclQtCoreTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// namespace QtStringBuilder - -class QtStringBuilder_Namespace { }; - -namespace gsi -{ -gsi::Class decl_QtStringBuilder_Namespace ("QtCore", "QtStringBuilder", - gsi::Methods(), - "@qt\n@brief This class represents the QtStringBuilder namespace"); -} - diff --git a/src/gsiqt/qt6/QtCore5Compat/gsiDeclQtCore5CompatTypeTraits.h b/src/gsiqt/qt6/QtCore5Compat/gsiDeclQtCore5CompatTypeTraits.h deleted file mode 100644 index 5d6bee658..000000000 --- a/src/gsiqt/qt6/QtCore5Compat/gsiDeclQtCore5CompatTypeTraits.h +++ /dev/null @@ -1,30 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file generated/gsiDeclQtCore5CompatTypeTraits.h -* @brief Type traits for the Qt binding classes -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQBrushDataPointerDeleter.cc b/src/gsiqt/qt6/QtGui/gsiDeclQBrushDataPointerDeleter.cc deleted file mode 100644 index 87ecdf8ba..000000000 --- a/src/gsiqt/qt6/QtGui/gsiDeclQBrushDataPointerDeleter.cc +++ /dev/null @@ -1,92 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQBrushDataPointerDeleter.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtGuiCommon.h" -#include - -// ----------------------------------------------------------------------- -// struct QBrushDataPointerDeleter - -// Constructor QBrushDataPointerDeleter::QBrushDataPointerDeleter() - - -static void _init_ctor_QBrushDataPointerDeleter_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QBrushDataPointerDeleter_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QBrushDataPointerDeleter ()); -} - - -// void QBrushDataPointerDeleter::operator()(QBrushData *d) - - -static void _init_f_operator_func__c1597 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("d"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_func__c1597 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QBrushData *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QBrushDataPointerDeleter *)cls)->operator() (arg1); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QBrushDataPointerDeleter () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBrushDataPointerDeleter::QBrushDataPointerDeleter()\nThis method creates an object of class QBrushDataPointerDeleter.", &_init_ctor_QBrushDataPointerDeleter_0, &_call_ctor_QBrushDataPointerDeleter_0); - methods += new qt_gsi::GenericMethod ("()", "@brief Method void QBrushDataPointerDeleter::operator()(QBrushData *d)\n", true, &_init_f_operator_func__c1597, &_call_f_operator_func__c1597); - return methods; -} - -gsi::Class decl_QBrushDataPointerDeleter ("QtGui", "QBrushDataPointerDeleter", - methods_QBrushDataPointerDeleter (), - "@qt\n@brief Binding of QBrushDataPointerDeleter"); - - -GSI_QTGUI_PUBLIC gsi::Class &qtdecl_QBrushDataPointerDeleter () { return decl_QBrushDataPointerDeleter; } - -} - diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQColorConstants.cc b/src/gsiqt/qt6/QtGui/gsiDeclQColorConstants.cc deleted file mode 100644 index aa58f43aa..000000000 --- a/src/gsiqt/qt6/QtGui/gsiDeclQColorConstants.cc +++ /dev/null @@ -1,47 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQColorConstants.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtGuiCommon.h" -#include "gsiDeclQtGuiTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// namespace QColorConstants - -class QColorConstants_Namespace { }; - -namespace gsi -{ -gsi::Class decl_QColorConstants_Namespace ("QtGui", "QColorConstants", - gsi::Methods(), - "@qt\n@brief This class represents the QColorConstants namespace"); -} - diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQOpenGLExtraFunctions.cc b/src/gsiqt/qt6/QtGui/gsiDeclQOpenGLExtraFunctions.cc deleted file mode 100644 index e1cf4593c..000000000 --- a/src/gsiqt/qt6/QtGui/gsiDeclQOpenGLExtraFunctions.cc +++ /dev/null @@ -1,6330 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQOpenGLExtraFunctions.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtGuiCommon.h" -#include "gsiDeclQtGuiTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QOpenGLExtraFunctions - -// Constructor QOpenGLExtraFunctions::QOpenGLExtraFunctions() - - -static void _init_ctor_QOpenGLExtraFunctions_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QOpenGLExtraFunctions_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QOpenGLExtraFunctions ()); -} - - -// Constructor QOpenGLExtraFunctions::QOpenGLExtraFunctions(QOpenGLContext *context) - - -static void _init_ctor_QOpenGLExtraFunctions_1993 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("context"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QOpenGLExtraFunctions_1993 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QOpenGLContext *arg1 = gsi::arg_reader() (args, heap); - ret.write (new QOpenGLExtraFunctions (arg1)); -} - - -// void QOpenGLExtraFunctions::glActiveShaderProgram(unsigned int pipeline, unsigned int program) - - -static void _init_f_glActiveShaderProgram_3436 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pipeline"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("program"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glActiveShaderProgram_3436 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glActiveShaderProgram (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glBeginQuery(unsigned int target, unsigned int id) - - -static void _init_f_glBeginQuery_3436 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("id"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glBeginQuery_3436 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glBeginQuery (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glBeginTransformFeedback(unsigned int primitiveMode) - - -static void _init_f_glBeginTransformFeedback_1772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("primitiveMode"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_glBeginTransformFeedback_1772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glBeginTransformFeedback (arg1); -} - - -// void QOpenGLExtraFunctions::glBindBufferBase(unsigned int target, unsigned int index, unsigned int buffer) - - -static void _init_f_glBindBufferBase_5100 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("index"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("buffer"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glBindBufferBase_5100 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glBindBufferBase (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glBindBufferRange(unsigned int target, unsigned int index, unsigned int buffer, signed long int offset, signed long int size) - - -static void _init_f_glBindBufferRange_9126 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("index"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("buffer"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("offset"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("size"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glBindBufferRange_9126 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - signed long int arg4 = gsi::arg_reader() (args, heap); - signed long int arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glBindBufferRange (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glBindImageTexture(unsigned int unit, unsigned int texture, int level, unsigned char layered, int layer, unsigned int access, unsigned int format) - - -static void _init_f_glBindImageTexture_9829 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("unit"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("texture"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("level"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("layered"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("layer"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("access"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("format"); - decl->add_arg (argspec_6); - decl->set_return (); -} - -static void _call_f_glBindImageTexture_9829 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - unsigned char arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - unsigned int arg6 = gsi::arg_reader() (args, heap); - unsigned int arg7 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glBindImageTexture (arg1, arg2, arg3, arg4, arg5, arg6, arg7); -} - - -// void QOpenGLExtraFunctions::glBindProgramPipeline(unsigned int pipeline) - - -static void _init_f_glBindProgramPipeline_1772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pipeline"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_glBindProgramPipeline_1772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glBindProgramPipeline (arg1); -} - - -// void QOpenGLExtraFunctions::glBindSampler(unsigned int unit, unsigned int sampler) - - -static void _init_f_glBindSampler_3436 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("unit"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sampler"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glBindSampler_3436 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glBindSampler (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glBindTransformFeedback(unsigned int target, unsigned int id) - - -static void _init_f_glBindTransformFeedback_3436 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("id"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glBindTransformFeedback_3436 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glBindTransformFeedback (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glBindVertexArray(unsigned int array) - - -static void _init_f_glBindVertexArray_1772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("array"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_glBindVertexArray_1772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glBindVertexArray (arg1); -} - - -// void QOpenGLExtraFunctions::glBindVertexBuffer(unsigned int bindingindex, unsigned int buffer, signed long int offset, int stride) - - -static void _init_f_glBindVertexBuffer_6108 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("bindingindex"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("buffer"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("offset"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("stride"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glBindVertexBuffer_6108 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - signed long int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glBindVertexBuffer (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glBlendBarrier() - - -static void _init_f_glBlendBarrier_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_glBlendBarrier_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glBlendBarrier (); -} - - -// void QOpenGLExtraFunctions::glBlendEquationSeparatei(unsigned int buf, unsigned int modeRGB, unsigned int modeAlpha) - - -static void _init_f_glBlendEquationSeparatei_5100 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("buf"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("modeRGB"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("modeAlpha"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glBlendEquationSeparatei_5100 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glBlendEquationSeparatei (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glBlendEquationi(unsigned int buf, unsigned int mode) - - -static void _init_f_glBlendEquationi_3436 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("buf"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("mode"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glBlendEquationi_3436 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glBlendEquationi (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glBlendFuncSeparatei(unsigned int buf, unsigned int srcRGB, unsigned int dstRGB, unsigned int srcAlpha, unsigned int dstAlpha) - - -static void _init_f_glBlendFuncSeparatei_8428 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("buf"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("srcRGB"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("dstRGB"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("srcAlpha"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("dstAlpha"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glBlendFuncSeparatei_8428 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glBlendFuncSeparatei (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glBlendFunci(unsigned int buf, unsigned int src, unsigned int dst) - - -static void _init_f_glBlendFunci_5100 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("buf"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("src"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("dst"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glBlendFunci_5100 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glBlendFunci (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glBlitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, unsigned int mask, unsigned int filter) - - -static void _init_f_glBlitFramebuffer_8708 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("srcX0"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("srcY0"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("srcX1"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("srcY1"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("dstX0"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("dstY0"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("dstX1"); - decl->add_arg (argspec_6); - static gsi::ArgSpecBase argspec_7 ("dstY1"); - decl->add_arg (argspec_7); - static gsi::ArgSpecBase argspec_8 ("mask"); - decl->add_arg (argspec_8); - static gsi::ArgSpecBase argspec_9 ("filter"); - decl->add_arg (argspec_9); - decl->set_return (); -} - -static void _call_f_glBlitFramebuffer_8708 (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); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - int arg6 = gsi::arg_reader() (args, heap); - int arg7 = gsi::arg_reader() (args, heap); - int arg8 = gsi::arg_reader() (args, heap); - unsigned int arg9 = gsi::arg_reader() (args, heap); - unsigned int arg10 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glBlitFramebuffer (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10); -} - - -// void QOpenGLExtraFunctions::glClearBufferfi(unsigned int buffer, int drawbuffer, float depth, int stencil) - - -static void _init_f_glClearBufferfi_3952 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("buffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("drawbuffer"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("depth"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("stencil"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glClearBufferfi_3952 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - float arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glClearBufferfi (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glClearBufferfv(unsigned int buffer, int drawbuffer, const float *value) - - -static void _init_f_glClearBufferfv_4174 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("buffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("drawbuffer"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("value"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glClearBufferfv_4174 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - const float *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glClearBufferfv (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glClearBufferiv(unsigned int buffer, int drawbuffer, const int *value) - - -static void _init_f_glClearBufferiv_3971 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("buffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("drawbuffer"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("value"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glClearBufferiv_3971 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - const int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glClearBufferiv (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glClearBufferuiv(unsigned int buffer, int drawbuffer, const unsigned int *value) - - -static void _init_f_glClearBufferuiv_4976 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("buffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("drawbuffer"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("value"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glClearBufferuiv_4976 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - const unsigned int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glClearBufferuiv (arg1, arg2, arg3); -} - - -// unsigned int QOpenGLExtraFunctions::glClientWaitSync(struct __GLsync *sync, unsigned int flags, unsigned long int timeout) - - -static void _init_f_glClientWaitSync_6129 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sync"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("flags"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("timeout"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glClientWaitSync_6129 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct __GLsync *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned long int arg3 = gsi::arg_reader() (args, heap); - ret.write ((unsigned int)((QOpenGLExtraFunctions *)cls)->glClientWaitSync (arg1, arg2, arg3)); -} - - -// void QOpenGLExtraFunctions::glColorMaski(unsigned int index, unsigned char r, unsigned char g, unsigned char b, unsigned char a) - - -static void _init_f_glColorMaski_8760 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("r"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("g"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("b"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("a"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glColorMaski_8760 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned char arg2 = gsi::arg_reader() (args, heap); - unsigned char arg3 = gsi::arg_reader() (args, heap); - unsigned char arg4 = gsi::arg_reader() (args, heap); - unsigned char arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glColorMaski (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glCompressedTexImage3D(unsigned int target, int level, unsigned int internalformat, int width, int height, int depth, int border, int imageSize, const void *data) - - -static void _init_f_glCompressedTexImage3D_9033 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("level"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("internalformat"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("width"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("height"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("depth"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("border"); - decl->add_arg (argspec_6); - static gsi::ArgSpecBase argspec_7 ("imageSize"); - decl->add_arg (argspec_7); - static gsi::ArgSpecBase argspec_8 ("data"); - decl->add_arg (argspec_8); - decl->set_return (); -} - -static void _call_f_glCompressedTexImage3D_9033 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - int arg6 = gsi::arg_reader() (args, heap); - int arg7 = gsi::arg_reader() (args, heap); - int arg8 = gsi::arg_reader() (args, heap); - const void *arg9 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glCompressedTexImage3D (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); -} - - -// void QOpenGLExtraFunctions::glCompressedTexSubImage3D(unsigned int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, unsigned int format, int imageSize, const void *data) - - -static void _init_f_glCompressedTexSubImage3D_10351 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("level"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("xoffset"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("yoffset"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("zoffset"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("width"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("height"); - decl->add_arg (argspec_6); - static gsi::ArgSpecBase argspec_7 ("depth"); - decl->add_arg (argspec_7); - static gsi::ArgSpecBase argspec_8 ("format"); - decl->add_arg (argspec_8); - static gsi::ArgSpecBase argspec_9 ("imageSize"); - decl->add_arg (argspec_9); - static gsi::ArgSpecBase argspec_10 ("data"); - decl->add_arg (argspec_10); - decl->set_return (); -} - -static void _call_f_glCompressedTexSubImage3D_10351 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - int arg6 = gsi::arg_reader() (args, heap); - int arg7 = gsi::arg_reader() (args, heap); - int arg8 = gsi::arg_reader() (args, heap); - unsigned int arg9 = gsi::arg_reader() (args, heap); - int arg10 = gsi::arg_reader() (args, heap); - const void *arg11 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glCompressedTexSubImage3D (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11); -} - - -// void QOpenGLExtraFunctions::glCopyBufferSubData(unsigned int readTarget, unsigned int writeTarget, signed long int readOffset, signed long int writeOffset, signed long int size) - - -static void _init_f_glCopyBufferSubData_9475 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("readTarget"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("writeTarget"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("readOffset"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("writeOffset"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("size"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glCopyBufferSubData_9475 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - signed long int arg3 = gsi::arg_reader() (args, heap); - signed long int arg4 = gsi::arg_reader() (args, heap); - signed long int arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glCopyBufferSubData (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glCopyImageSubData(unsigned int srcName, unsigned int srcTarget, int srcLevel, int srcX, int srcY, int srcZ, unsigned int dstName, unsigned int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int srcWidth, int srcHeight, int srcDepth) - - -static void _init_f_glCopyImageSubData_14013 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("srcName"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("srcTarget"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("srcLevel"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("srcX"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("srcY"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("srcZ"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("dstName"); - decl->add_arg (argspec_6); - static gsi::ArgSpecBase argspec_7 ("dstTarget"); - decl->add_arg (argspec_7); - static gsi::ArgSpecBase argspec_8 ("dstLevel"); - decl->add_arg (argspec_8); - static gsi::ArgSpecBase argspec_9 ("dstX"); - decl->add_arg (argspec_9); - static gsi::ArgSpecBase argspec_10 ("dstY"); - decl->add_arg (argspec_10); - static gsi::ArgSpecBase argspec_11 ("dstZ"); - decl->add_arg (argspec_11); - static gsi::ArgSpecBase argspec_12 ("srcWidth"); - decl->add_arg (argspec_12); - static gsi::ArgSpecBase argspec_13 ("srcHeight"); - decl->add_arg (argspec_13); - static gsi::ArgSpecBase argspec_14 ("srcDepth"); - decl->add_arg (argspec_14); - decl->set_return (); -} - -static void _call_f_glCopyImageSubData_14013 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - int arg6 = gsi::arg_reader() (args, heap); - unsigned int arg7 = gsi::arg_reader() (args, heap); - unsigned int arg8 = gsi::arg_reader() (args, heap); - int arg9 = gsi::arg_reader() (args, heap); - int arg10 = gsi::arg_reader() (args, heap); - int arg11 = gsi::arg_reader() (args, heap); - int arg12 = gsi::arg_reader() (args, heap); - int arg13 = gsi::arg_reader() (args, heap); - int arg14 = gsi::arg_reader() (args, heap); - int arg15 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glCopyImageSubData (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15); -} - - -// void QOpenGLExtraFunctions::glCopyTexSubImage3D(unsigned int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height) - - -static void _init_f_glCopyTexSubImage3D_7044 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("level"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("xoffset"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("yoffset"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("zoffset"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("x"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("y"); - decl->add_arg (argspec_6); - static gsi::ArgSpecBase argspec_7 ("width"); - decl->add_arg (argspec_7); - static gsi::ArgSpecBase argspec_8 ("height"); - decl->add_arg (argspec_8); - decl->set_return (); -} - -static void _call_f_glCopyTexSubImage3D_7044 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - int arg6 = gsi::arg_reader() (args, heap); - int arg7 = gsi::arg_reader() (args, heap); - int arg8 = gsi::arg_reader() (args, heap); - int arg9 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glCopyTexSubImage3D (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); -} - - -// unsigned int QOpenGLExtraFunctions::glCreateShaderProgramv(unsigned int type, int count, const char *const *strings) - - -static void _init_f_glCreateShaderProgramv_4791 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("type"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("strings"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glCreateShaderProgramv_4791 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - const char *const *arg3 = gsi::arg_reader() (args, heap); - ret.write ((unsigned int)((QOpenGLExtraFunctions *)cls)->glCreateShaderProgramv (arg1, arg2, arg3)); -} - - -// void QOpenGLExtraFunctions::glDebugMessageCallback(void *callback(unsigned int source, unsigned int type, unsigned int id, unsigned int severity, int length, const char *message, const void *userParam), const void *userParam) - - -static void _init_f_glDebugMessageCallback_17443 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("callback"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("userParam"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glDebugMessageCallback_17443 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - void *arg1(unsigned int source, unsigned int type, unsigned int id, unsigned int severity, int length, const char *message, const void *userParam) = gsi::arg_reader() (args, heap); - const void *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glDebugMessageCallback (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glDebugMessageControl(unsigned int source, unsigned int type, unsigned int severity, int count, const unsigned int *ids, unsigned char enabled) - - -static void _init_f_glDebugMessageControl_10051 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("source"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("type"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("severity"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("count"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("ids"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("enabled"); - decl->add_arg (argspec_5); - decl->set_return (); -} - -static void _call_f_glDebugMessageControl_10051 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - const unsigned int *arg5 = gsi::arg_reader() (args, heap); - unsigned char arg6 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glDebugMessageControl (arg1, arg2, arg3, arg4, arg5, arg6); -} - - -// void QOpenGLExtraFunctions::glDebugMessageInsert(unsigned int source, unsigned int type, unsigned int id, unsigned int severity, int length, const char *buf) - - -static void _init_f_glDebugMessageInsert_9046 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("source"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("type"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("id"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("severity"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("length"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("buf"); - decl->add_arg (argspec_5); - decl->set_return (); -} - -static void _call_f_glDebugMessageInsert_9046 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - const char *arg6 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glDebugMessageInsert (arg1, arg2, arg3, arg4, arg5, arg6); -} - - -// void QOpenGLExtraFunctions::glDeleteProgramPipelines(int n, const unsigned int *pipelines) - - -static void _init_f_glDeleteProgramPipelines_3312 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pipelines"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glDeleteProgramPipelines_3312 (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); - const unsigned int *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glDeleteProgramPipelines (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glDeleteQueries(int n, const unsigned int *ids) - - -static void _init_f_glDeleteQueries_3312 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("ids"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glDeleteQueries_3312 (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); - const unsigned int *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glDeleteQueries (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glDeleteSamplers(int count, const unsigned int *samplers) - - -static void _init_f_glDeleteSamplers_3312 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("count"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("samplers"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glDeleteSamplers_3312 (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); - const unsigned int *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glDeleteSamplers (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glDeleteSync(struct __GLsync *sync) - - -static void _init_f_glDeleteSync_2225 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sync"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_glDeleteSync_2225 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct __GLsync *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glDeleteSync (arg1); -} - - -// void QOpenGLExtraFunctions::glDeleteTransformFeedbacks(int n, const unsigned int *ids) - - -static void _init_f_glDeleteTransformFeedbacks_3312 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("ids"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glDeleteTransformFeedbacks_3312 (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); - const unsigned int *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glDeleteTransformFeedbacks (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glDeleteVertexArrays(int n, const unsigned int *arrays) - - -static void _init_f_glDeleteVertexArrays_3312 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("arrays"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glDeleteVertexArrays_3312 (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); - const unsigned int *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glDeleteVertexArrays (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glDisablei(unsigned int target, unsigned int index) - - -static void _init_f_glDisablei_3436 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("index"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glDisablei_3436 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glDisablei (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glDispatchCompute(unsigned int num_groups_x, unsigned int num_groups_y, unsigned int num_groups_z) - - -static void _init_f_glDispatchCompute_5100 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("num_groups_x"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("num_groups_y"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("num_groups_z"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glDispatchCompute_5100 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glDispatchCompute (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glDispatchComputeIndirect(signed long int indirect) - - -static void _init_f_glDispatchComputeIndirect_2121 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("indirect"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_glDispatchComputeIndirect_2121 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - signed long int arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glDispatchComputeIndirect (arg1); -} - - -// void QOpenGLExtraFunctions::glDrawArraysIndirect(unsigned int mode, const void *indirect) - - -static void _init_f_glDrawArraysIndirect_3415 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("mode"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("indirect"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glDrawArraysIndirect_3415 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - const void *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glDrawArraysIndirect (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glDrawArraysInstanced(unsigned int mode, int first, int count, int instancecount) - - -static void _init_f_glDrawArraysInstanced_3749 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("mode"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("instancecount"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glDrawArraysInstanced_3749 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glDrawArraysInstanced (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glDrawBuffers(int n, const unsigned int *bufs) - - -static void _init_f_glDrawBuffers_3312 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("bufs"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glDrawBuffers_3312 (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); - const unsigned int *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glDrawBuffers (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glDrawElementsBaseVertex(unsigned int mode, int count, unsigned int type, const void *indices, int basevertex) - - -static void _init_f_glDrawElementsBaseVertex_6397 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("mode"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("type"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("indices"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("basevertex"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glDrawElementsBaseVertex_6397 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - const void *arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glDrawElementsBaseVertex (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glDrawElementsIndirect(unsigned int mode, unsigned int type, const void *indirect) - - -static void _init_f_glDrawElementsIndirect_5079 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("mode"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("type"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("indirect"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glDrawElementsIndirect_5079 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - const void *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glDrawElementsIndirect (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glDrawElementsInstanced(unsigned int mode, int count, unsigned int type, const void *indices, int instancecount) - - -static void _init_f_glDrawElementsInstanced_6397 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("mode"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("type"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("indices"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("instancecount"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glDrawElementsInstanced_6397 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - const void *arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glDrawElementsInstanced (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glDrawElementsInstancedBaseVertex(unsigned int mode, int count, unsigned int type, const void *indices, int instancecount, int basevertex) - - -static void _init_f_glDrawElementsInstancedBaseVertex_7056 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("mode"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("type"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("indices"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("instancecount"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("basevertex"); - decl->add_arg (argspec_5); - decl->set_return (); -} - -static void _call_f_glDrawElementsInstancedBaseVertex_7056 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - const void *arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - int arg6 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glDrawElementsInstancedBaseVertex (arg1, arg2, arg3, arg4, arg5, arg6); -} - - -// void QOpenGLExtraFunctions::glDrawRangeElements(unsigned int mode, unsigned int start, unsigned int end, int count, unsigned int type, const void *indices) - - -static void _init_f_glDrawRangeElements_9066 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("mode"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("start"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("end"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("count"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("type"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("indices"); - decl->add_arg (argspec_5); - decl->set_return (); -} - -static void _call_f_glDrawRangeElements_9066 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - const void *arg6 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glDrawRangeElements (arg1, arg2, arg3, arg4, arg5, arg6); -} - - -// void QOpenGLExtraFunctions::glDrawRangeElementsBaseVertex(unsigned int mode, unsigned int start, unsigned int end, int count, unsigned int type, const void *indices, int basevertex) - - -static void _init_f_glDrawRangeElementsBaseVertex_9725 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("mode"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("start"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("end"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("count"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("type"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("indices"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("basevertex"); - decl->add_arg (argspec_6); - decl->set_return (); -} - -static void _call_f_glDrawRangeElementsBaseVertex_9725 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - const void *arg6 = gsi::arg_reader() (args, heap); - int arg7 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glDrawRangeElementsBaseVertex (arg1, arg2, arg3, arg4, arg5, arg6, arg7); -} - - -// void QOpenGLExtraFunctions::glEnablei(unsigned int target, unsigned int index) - - -static void _init_f_glEnablei_3436 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("index"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glEnablei_3436 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glEnablei (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glEndQuery(unsigned int target) - - -static void _init_f_glEndQuery_1772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_glEndQuery_1772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glEndQuery (arg1); -} - - -// void QOpenGLExtraFunctions::glEndTransformFeedback() - - -static void _init_f_glEndTransformFeedback_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_glEndTransformFeedback_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glEndTransformFeedback (); -} - - -// struct __GLsync *QOpenGLExtraFunctions::glFenceSync(unsigned int condition, unsigned int flags) - - -static void _init_f_glFenceSync_3436 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("condition"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("flags"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glFenceSync_3436 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - ret.write ((struct __GLsync *)((QOpenGLExtraFunctions *)cls)->glFenceSync (arg1, arg2)); -} - - -// void QOpenGLExtraFunctions::glFlushMappedBufferRange(unsigned int target, signed long int offset, signed long int length) - - -static void _init_f_glFlushMappedBufferRange_5798 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("offset"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("length"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glFlushMappedBufferRange_5798 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - signed long int arg2 = gsi::arg_reader() (args, heap); - signed long int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glFlushMappedBufferRange (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glFramebufferParameteri(unsigned int target, unsigned int pname, int param) - - -static void _init_f_glFramebufferParameteri_4095 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("param"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glFramebufferParameteri_4095 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glFramebufferParameteri (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glFramebufferTexture(unsigned int target, unsigned int attachment, unsigned int texture, int level) - - -static void _init_f_glFramebufferTexture_5759 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("attachment"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("texture"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("level"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glFramebufferTexture_5759 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glFramebufferTexture (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glFramebufferTextureLayer(unsigned int target, unsigned int attachment, unsigned int texture, int level, int layer) - - -static void _init_f_glFramebufferTextureLayer_6418 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("attachment"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("texture"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("level"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("layer"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glFramebufferTextureLayer_6418 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glFramebufferTextureLayer (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glGenProgramPipelines(int n, unsigned int *pipelines) - - -static void _init_f_glGenProgramPipelines_2617 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pipelines"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glGenProgramPipelines_2617 (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); - unsigned int *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGenProgramPipelines (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glGenQueries(int n, unsigned int *ids) - - -static void _init_f_glGenQueries_2617 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("ids"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glGenQueries_2617 (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); - unsigned int *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGenQueries (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glGenSamplers(int count, unsigned int *samplers) - - -static void _init_f_glGenSamplers_2617 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("count"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("samplers"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glGenSamplers_2617 (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); - unsigned int *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGenSamplers (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glGenTransformFeedbacks(int n, unsigned int *ids) - - -static void _init_f_glGenTransformFeedbacks_2617 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("ids"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glGenTransformFeedbacks_2617 (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); - unsigned int *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGenTransformFeedbacks (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glGenVertexArrays(int n, unsigned int *arrays) - - -static void _init_f_glGenVertexArrays_2617 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("arrays"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glGenVertexArrays_2617 (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); - unsigned int *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGenVertexArrays (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glGetActiveUniformBlockName(unsigned int program, unsigned int uniformBlockIndex, int bufSize, int *length, char *uniformBlockName) - - -static void _init_f_glGetActiveUniformBlockName_5868 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("uniformBlockIndex"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("bufSize"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("length"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("uniformBlockName"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glGetActiveUniformBlockName_5868 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int *arg4 = gsi::arg_reader() (args, heap); - char *arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetActiveUniformBlockName (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glGetActiveUniformBlockiv(unsigned int program, unsigned int uniformBlockIndex, unsigned int pname, int *params) - - -static void _init_f_glGetActiveUniformBlockiv_5945 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("uniformBlockIndex"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pname"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("params"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glGetActiveUniformBlockiv_5945 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - int *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetActiveUniformBlockiv (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glGetActiveUniformsiv(unsigned int program, int uniformCount, const unsigned int *uniformIndices, unsigned int pname, int *params) - - -static void _init_f_glGetActiveUniformsiv_7485 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("uniformCount"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("uniformIndices"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pname"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("params"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glGetActiveUniformsiv_7485 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - const unsigned int *arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - int *arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetActiveUniformsiv (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glGetBooleani_v(unsigned int target, unsigned int index, unsigned char *data) - - -static void _init_f_glGetBooleani_v_5369 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("index"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("data"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glGetBooleani_v_5369 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned char *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetBooleani_v (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glGetBufferParameteri64v(unsigned int target, unsigned int pname, signed long int *params) - - -static void _init_f_glGetBufferParameteri64v_5635 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("params"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glGetBufferParameteri64v_5635 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - signed long int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetBufferParameteri64v (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glGetBufferPointerv(unsigned int target, unsigned int pname, void **params) - - -static void _init_f_glGetBufferPointerv_4426 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("params"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glGetBufferPointerv_4426 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - void **arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetBufferPointerv (arg1, arg2, arg3); -} - - -// unsigned int QOpenGLExtraFunctions::glGetDebugMessageLog(unsigned int count, int bufSize, unsigned int *sources, unsigned int *types, unsigned int *ids, unsigned int *severities, int *lengths, char *messageLog) - - -static void _init_f_glGetDebugMessageLog_11604 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("count"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("bufSize"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("sources"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("types"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("ids"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("severities"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("lengths"); - decl->add_arg (argspec_6); - static gsi::ArgSpecBase argspec_7 ("messageLog"); - decl->add_arg (argspec_7); - decl->set_return (); -} - -static void _call_f_glGetDebugMessageLog_11604 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - unsigned int *arg3 = gsi::arg_reader() (args, heap); - unsigned int *arg4 = gsi::arg_reader() (args, heap); - unsigned int *arg5 = gsi::arg_reader() (args, heap); - unsigned int *arg6 = gsi::arg_reader() (args, heap); - int *arg7 = gsi::arg_reader() (args, heap); - char *arg8 = gsi::arg_reader() (args, heap); - ret.write ((unsigned int)((QOpenGLExtraFunctions *)cls)->glGetDebugMessageLog (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8)); -} - - -// int QOpenGLExtraFunctions::glGetFragDataLocation(unsigned int program, const char *name) - - -static void _init_f_glGetFragDataLocation_3395 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("name"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glGetFragDataLocation_3395 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - const char *arg2 = gsi::arg_reader() (args, heap); - ret.write ((int)((QOpenGLExtraFunctions *)cls)->glGetFragDataLocation (arg1, arg2)); -} - - -// void QOpenGLExtraFunctions::glGetFramebufferParameteriv(unsigned int target, unsigned int pname, int *params) - - -static void _init_f_glGetFramebufferParameteriv_4281 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("params"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glGetFramebufferParameteriv_4281 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetFramebufferParameteriv (arg1, arg2, arg3); -} - - -// unsigned int QOpenGLExtraFunctions::glGetGraphicsResetStatus() - - -static void _init_f_glGetGraphicsResetStatus_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_glGetGraphicsResetStatus_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((unsigned int)((QOpenGLExtraFunctions *)cls)->glGetGraphicsResetStatus ()); -} - - -// void QOpenGLExtraFunctions::glGetInteger64i_v(unsigned int target, unsigned int index, signed long int *data) - - -static void _init_f_glGetInteger64i_v_5635 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("index"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("data"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glGetInteger64i_v_5635 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - signed long int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetInteger64i_v (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glGetInteger64v(unsigned int pname, signed long int *data) - - -static void _init_f_glGetInteger64v_3971 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pname"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("data"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glGetInteger64v_3971 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - signed long int *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetInteger64v (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glGetIntegeri_v(unsigned int target, unsigned int index, int *data) - - -static void _init_f_glGetIntegeri_v_4281 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("index"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("data"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glGetIntegeri_v_4281 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetIntegeri_v (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glGetInternalformativ(unsigned int target, unsigned int internalformat, unsigned int pname, int bufSize, int *params) - - -static void _init_f_glGetInternalformativ_6604 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("internalformat"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pname"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("bufSize"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("params"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glGetInternalformativ_6604 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - int *arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetInternalformativ (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glGetMultisamplefv(unsigned int pname, unsigned int index, float *val) - - -static void _init_f_glGetMultisamplefv_4484 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pname"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("index"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("val"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glGetMultisamplefv_4484 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - float *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetMultisamplefv (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glGetObjectLabel(unsigned int identifier, unsigned int name, int bufSize, int *length, char *label) - - -static void _init_f_glGetObjectLabel_5868 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("identifier"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("name"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("bufSize"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("length"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("label"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glGetObjectLabel_5868 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int *arg4 = gsi::arg_reader() (args, heap); - char *arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetObjectLabel (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glGetObjectPtrLabel(const void *ptr, int bufSize, int *length, char *label) - - -static void _init_f_glGetObjectPtrLabel_4183 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("ptr"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("bufSize"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("length"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("label"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glGetObjectPtrLabel_4183 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const void *arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int *arg3 = gsi::arg_reader() (args, heap); - char *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetObjectPtrLabel (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glGetPointerv(unsigned int pname, void **params) - - -static void _init_f_glGetPointerv_2762 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pname"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("params"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glGetPointerv_2762 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - void **arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetPointerv (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glGetProgramBinary(unsigned int program, int bufSize, int *length, unsigned int *binaryFormat, void *binary) - - -static void _init_f_glGetProgramBinary_6074 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("bufSize"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("length"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("binaryFormat"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("binary"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glGetProgramBinary_6074 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int *arg3 = gsi::arg_reader() (args, heap); - unsigned int *arg4 = gsi::arg_reader() (args, heap); - void *arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetProgramBinary (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glGetProgramInterfaceiv(unsigned int program, unsigned int programInterface, unsigned int pname, int *params) - - -static void _init_f_glGetProgramInterfaceiv_5945 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("programInterface"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pname"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("params"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glGetProgramInterfaceiv_5945 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - int *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetProgramInterfaceiv (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glGetProgramPipelineInfoLog(unsigned int pipeline, int bufSize, int *length, char *infoLog) - - -static void _init_f_glGetProgramPipelineInfoLog_4204 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pipeline"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("bufSize"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("length"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("infoLog"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glGetProgramPipelineInfoLog_4204 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int *arg3 = gsi::arg_reader() (args, heap); - char *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetProgramPipelineInfoLog (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glGetProgramPipelineiv(unsigned int pipeline, unsigned int pname, int *params) - - -static void _init_f_glGetProgramPipelineiv_4281 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pipeline"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("params"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glGetProgramPipelineiv_4281 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetProgramPipelineiv (arg1, arg2, arg3); -} - - -// unsigned int QOpenGLExtraFunctions::glGetProgramResourceIndex(unsigned int program, unsigned int programInterface, const char *name) - - -static void _init_f_glGetProgramResourceIndex_5059 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("programInterface"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("name"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glGetProgramResourceIndex_5059 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - const char *arg3 = gsi::arg_reader() (args, heap); - ret.write ((unsigned int)((QOpenGLExtraFunctions *)cls)->glGetProgramResourceIndex (arg1, arg2, arg3)); -} - - -// int QOpenGLExtraFunctions::glGetProgramResourceLocation(unsigned int program, unsigned int programInterface, const char *name) - - -static void _init_f_glGetProgramResourceLocation_5059 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("programInterface"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("name"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glGetProgramResourceLocation_5059 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - const char *arg3 = gsi::arg_reader() (args, heap); - ret.write ((int)((QOpenGLExtraFunctions *)cls)->glGetProgramResourceLocation (arg1, arg2, arg3)); -} - - -// void QOpenGLExtraFunctions::glGetProgramResourceName(unsigned int program, unsigned int programInterface, unsigned int index, int bufSize, int *length, char *name) - - -static void _init_f_glGetProgramResourceName_7532 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("programInterface"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("index"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("bufSize"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("length"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("name"); - decl->add_arg (argspec_5); - decl->set_return (); -} - -static void _call_f_glGetProgramResourceName_7532 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - int *arg5 = gsi::arg_reader() (args, heap); - char *arg6 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetProgramResourceName (arg1, arg2, arg3, arg4, arg5, arg6); -} - - -// void QOpenGLExtraFunctions::glGetProgramResourceiv(unsigned int program, unsigned int programInterface, unsigned int index, int propCount, const unsigned int *props, int bufSize, int *length, int *params) - - -static void _init_f_glGetProgramResourceiv_10653 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("programInterface"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("index"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("propCount"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("props"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("bufSize"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("length"); - decl->add_arg (argspec_6); - static gsi::ArgSpecBase argspec_7 ("params"); - decl->add_arg (argspec_7); - decl->set_return (); -} - -static void _call_f_glGetProgramResourceiv_10653 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - const unsigned int *arg5 = gsi::arg_reader() (args, heap); - int arg6 = gsi::arg_reader() (args, heap); - int *arg7 = gsi::arg_reader() (args, heap); - int *arg8 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetProgramResourceiv (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); -} - - -// void QOpenGLExtraFunctions::glGetQueryObjectuiv(unsigned int id, unsigned int pname, unsigned int *params) - - -static void _init_f_glGetQueryObjectuiv_5286 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("id"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("params"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glGetQueryObjectuiv_5286 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetQueryObjectuiv (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glGetQueryiv(unsigned int target, unsigned int pname, int *params) - - -static void _init_f_glGetQueryiv_4281 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("params"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glGetQueryiv_4281 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetQueryiv (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glGetSamplerParameterIiv(unsigned int sampler, unsigned int pname, int *params) - - -static void _init_f_glGetSamplerParameterIiv_4281 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sampler"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("params"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glGetSamplerParameterIiv_4281 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetSamplerParameterIiv (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glGetSamplerParameterIuiv(unsigned int sampler, unsigned int pname, unsigned int *params) - - -static void _init_f_glGetSamplerParameterIuiv_5286 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sampler"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("params"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glGetSamplerParameterIuiv_5286 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetSamplerParameterIuiv (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glGetSamplerParameterfv(unsigned int sampler, unsigned int pname, float *params) - - -static void _init_f_glGetSamplerParameterfv_4484 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sampler"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("params"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glGetSamplerParameterfv_4484 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - float *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetSamplerParameterfv (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glGetSamplerParameteriv(unsigned int sampler, unsigned int pname, int *params) - - -static void _init_f_glGetSamplerParameteriv_4281 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sampler"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("params"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glGetSamplerParameteriv_4281 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetSamplerParameteriv (arg1, arg2, arg3); -} - - -// const unsigned char *QOpenGLExtraFunctions::glGetStringi(unsigned int name, unsigned int index) - - -static void _init_f_glGetStringi_3436 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("name"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("index"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glGetStringi_3436 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - ret.write ((const unsigned char *)((QOpenGLExtraFunctions *)cls)->glGetStringi (arg1, arg2)); -} - - -// void QOpenGLExtraFunctions::glGetSynciv(struct __GLsync *sync, unsigned int pname, int bufSize, int *length, int *values) - - -static void _init_f_glGetSynciv_6238 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sync"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("bufSize"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("length"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("values"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glGetSynciv_6238 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct __GLsync *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int *arg4 = gsi::arg_reader() (args, heap); - int *arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetSynciv (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glGetTexLevelParameterfv(unsigned int target, int level, unsigned int pname, float *params) - - -static void _init_f_glGetTexLevelParameterfv_5143 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("level"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pname"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("params"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glGetTexLevelParameterfv_5143 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - float *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetTexLevelParameterfv (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glGetTexLevelParameteriv(unsigned int target, int level, unsigned int pname, int *params) - - -static void _init_f_glGetTexLevelParameteriv_4940 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("level"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pname"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("params"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glGetTexLevelParameteriv_4940 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - int *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetTexLevelParameteriv (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glGetTexParameterIiv(unsigned int target, unsigned int pname, int *params) - - -static void _init_f_glGetTexParameterIiv_4281 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("params"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glGetTexParameterIiv_4281 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetTexParameterIiv (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glGetTexParameterIuiv(unsigned int target, unsigned int pname, unsigned int *params) - - -static void _init_f_glGetTexParameterIuiv_5286 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("params"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glGetTexParameterIuiv_5286 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetTexParameterIuiv (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glGetTransformFeedbackVarying(unsigned int program, unsigned int index, int bufSize, int *length, int *size, unsigned int *type, char *name) - - -static void _init_f_glGetTransformFeedbackVarying_8563 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("index"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("bufSize"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("length"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("size"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("type"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("name"); - decl->add_arg (argspec_6); - decl->set_return (); -} - -static void _call_f_glGetTransformFeedbackVarying_8563 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int *arg4 = gsi::arg_reader() (args, heap); - int *arg5 = gsi::arg_reader() (args, heap); - unsigned int *arg6 = gsi::arg_reader() (args, heap); - char *arg7 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetTransformFeedbackVarying (arg1, arg2, arg3, arg4, arg5, arg6, arg7); -} - - -// unsigned int QOpenGLExtraFunctions::glGetUniformBlockIndex(unsigned int program, const char *uniformBlockName) - - -static void _init_f_glGetUniformBlockIndex_3395 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("uniformBlockName"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glGetUniformBlockIndex_3395 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - const char *arg2 = gsi::arg_reader() (args, heap); - ret.write ((unsigned int)((QOpenGLExtraFunctions *)cls)->glGetUniformBlockIndex (arg1, arg2)); -} - - -// void QOpenGLExtraFunctions::glGetUniformIndices(unsigned int program, int uniformCount, const char *const *uniformNames, unsigned int *uniformIndices) - - -static void _init_f_glGetUniformIndices_6641 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("uniformCount"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("uniformNames"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("uniformIndices"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glGetUniformIndices_6641 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - const char *const *arg3 = gsi::arg_reader() (args, heap); - unsigned int *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetUniformIndices (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glGetUniformuiv(unsigned int program, int location, unsigned int *params) - - -static void _init_f_glGetUniformuiv_4281 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("params"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glGetUniformuiv_4281 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - unsigned int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetUniformuiv (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glGetVertexAttribIiv(unsigned int index, unsigned int pname, int *params) - - -static void _init_f_glGetVertexAttribIiv_4281 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("params"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glGetVertexAttribIiv_4281 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetVertexAttribIiv (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glGetVertexAttribIuiv(unsigned int index, unsigned int pname, unsigned int *params) - - -static void _init_f_glGetVertexAttribIuiv_5286 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("params"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glGetVertexAttribIuiv_5286 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetVertexAttribIuiv (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glGetnUniformfv(unsigned int program, int location, int bufSize, float *params) - - -static void _init_f_glGetnUniformfv_4138 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("bufSize"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("params"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glGetnUniformfv_4138 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - float *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetnUniformfv (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glGetnUniformiv(unsigned int program, int location, int bufSize, int *params) - - -static void _init_f_glGetnUniformiv_3935 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("bufSize"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("params"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glGetnUniformiv_3935 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetnUniformiv (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glGetnUniformuiv(unsigned int program, int location, int bufSize, unsigned int *params) - - -static void _init_f_glGetnUniformuiv_4940 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("bufSize"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("params"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glGetnUniformuiv_4940 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - unsigned int *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glGetnUniformuiv (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glInvalidateFramebuffer(unsigned int target, int numAttachments, const unsigned int *attachments) - - -static void _init_f_glInvalidateFramebuffer_4976 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("numAttachments"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("attachments"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glInvalidateFramebuffer_4976 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - const unsigned int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glInvalidateFramebuffer (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glInvalidateSubFramebuffer(unsigned int target, int numAttachments, const unsigned int *attachments, int x, int y, int width, int height) - - -static void _init_f_glInvalidateSubFramebuffer_7612 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("numAttachments"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("attachments"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("x"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("y"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("width"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("height"); - decl->add_arg (argspec_6); - decl->set_return (); -} - -static void _call_f_glInvalidateSubFramebuffer_7612 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - const unsigned int *arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - int arg6 = gsi::arg_reader() (args, heap); - int arg7 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glInvalidateSubFramebuffer (arg1, arg2, arg3, arg4, arg5, arg6, arg7); -} - - -// unsigned char QOpenGLExtraFunctions::glIsEnabledi(unsigned int target, unsigned int index) - - -static void _init_f_glIsEnabledi_3436 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("index"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glIsEnabledi_3436 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - ret.write ((unsigned char)((QOpenGLExtraFunctions *)cls)->glIsEnabledi (arg1, arg2)); -} - - -// unsigned char QOpenGLExtraFunctions::glIsProgramPipeline(unsigned int pipeline) - - -static void _init_f_glIsProgramPipeline_1772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pipeline"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_glIsProgramPipeline_1772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - ret.write ((unsigned char)((QOpenGLExtraFunctions *)cls)->glIsProgramPipeline (arg1)); -} - - -// unsigned char QOpenGLExtraFunctions::glIsQuery(unsigned int id) - - -static void _init_f_glIsQuery_1772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("id"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_glIsQuery_1772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - ret.write ((unsigned char)((QOpenGLExtraFunctions *)cls)->glIsQuery (arg1)); -} - - -// unsigned char QOpenGLExtraFunctions::glIsSampler(unsigned int sampler) - - -static void _init_f_glIsSampler_1772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sampler"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_glIsSampler_1772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - ret.write ((unsigned char)((QOpenGLExtraFunctions *)cls)->glIsSampler (arg1)); -} - - -// unsigned char QOpenGLExtraFunctions::glIsSync(struct __GLsync *sync) - - -static void _init_f_glIsSync_2225 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sync"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_glIsSync_2225 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct __GLsync *arg1 = gsi::arg_reader() (args, heap); - ret.write ((unsigned char)((QOpenGLExtraFunctions *)cls)->glIsSync (arg1)); -} - - -// unsigned char QOpenGLExtraFunctions::glIsTransformFeedback(unsigned int id) - - -static void _init_f_glIsTransformFeedback_1772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("id"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_glIsTransformFeedback_1772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - ret.write ((unsigned char)((QOpenGLExtraFunctions *)cls)->glIsTransformFeedback (arg1)); -} - - -// unsigned char QOpenGLExtraFunctions::glIsVertexArray(unsigned int array) - - -static void _init_f_glIsVertexArray_1772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("array"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_glIsVertexArray_1772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - ret.write ((unsigned char)((QOpenGLExtraFunctions *)cls)->glIsVertexArray (arg1)); -} - - -// void *QOpenGLExtraFunctions::glMapBufferRange(unsigned int target, signed long int offset, signed long int length, unsigned int access) - - -static void _init_f_glMapBufferRange_7462 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("offset"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("length"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("access"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glMapBufferRange_7462 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - signed long int arg2 = gsi::arg_reader() (args, heap); - signed long int arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - ret.write ((void *)((QOpenGLExtraFunctions *)cls)->glMapBufferRange (arg1, arg2, arg3, arg4)); -} - - -// void QOpenGLExtraFunctions::glMemoryBarrier(unsigned int barriers) - - -static void _init_f_glMemoryBarrier_1772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("barriers"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_glMemoryBarrier_1772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glMemoryBarrier (arg1); -} - - -// void QOpenGLExtraFunctions::glMemoryBarrierByRegion(unsigned int barriers) - - -static void _init_f_glMemoryBarrierByRegion_1772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("barriers"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_glMemoryBarrierByRegion_1772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glMemoryBarrierByRegion (arg1); -} - - -// void QOpenGLExtraFunctions::glMinSampleShading(float value) - - -static void _init_f_glMinSampleShading_970 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("value"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_glMinSampleShading_970 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - float arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glMinSampleShading (arg1); -} - - -// void QOpenGLExtraFunctions::glObjectLabel(unsigned int identifier, unsigned int name, int length, const char *label) - - -static void _init_f_glObjectLabel_5718 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("identifier"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("name"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("length"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("label"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glObjectLabel_5718 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const char *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glObjectLabel (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glObjectPtrLabel(const void *ptr, int length, const char *label) - - -static void _init_f_glObjectPtrLabel_4033 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("ptr"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("length"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("label"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glObjectPtrLabel_4033 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const void *arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - const char *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glObjectPtrLabel (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glPatchParameteri(unsigned int pname, int value) - - -static void _init_f_glPatchParameteri_2431 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pname"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("value"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glPatchParameteri_2431 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glPatchParameteri (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glPauseTransformFeedback() - - -static void _init_f_glPauseTransformFeedback_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_glPauseTransformFeedback_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glPauseTransformFeedback (); -} - - -// void QOpenGLExtraFunctions::glPopDebugGroup() - - -static void _init_f_glPopDebugGroup_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_glPopDebugGroup_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glPopDebugGroup (); -} - - -// void QOpenGLExtraFunctions::glPrimitiveBoundingBox(float minX, float minY, float minZ, float minW, float maxX, float maxY, float maxZ, float maxW) - - -static void _init_f_glPrimitiveBoundingBox_7004 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("minX"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("minY"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("minZ"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("minW"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("maxX"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("maxY"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("maxZ"); - decl->add_arg (argspec_6); - static gsi::ArgSpecBase argspec_7 ("maxW"); - decl->add_arg (argspec_7); - decl->set_return (); -} - -static void _call_f_glPrimitiveBoundingBox_7004 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - float arg1 = gsi::arg_reader() (args, heap); - float arg2 = gsi::arg_reader() (args, heap); - float arg3 = gsi::arg_reader() (args, heap); - float arg4 = gsi::arg_reader() (args, heap); - float arg5 = gsi::arg_reader() (args, heap); - float arg6 = gsi::arg_reader() (args, heap); - float arg7 = gsi::arg_reader() (args, heap); - float arg8 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glPrimitiveBoundingBox (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); -} - - -// void QOpenGLExtraFunctions::glProgramBinary(unsigned int program, unsigned int binaryFormat, const void *binary, int length) - - -static void _init_f_glProgramBinary_5738 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("binaryFormat"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("binary"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("length"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glProgramBinary_5738 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - const void *arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramBinary (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glProgramParameteri(unsigned int program, unsigned int pname, int value) - - -static void _init_f_glProgramParameteri_4095 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("value"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glProgramParameteri_4095 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramParameteri (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glProgramUniform1f(unsigned int program, int location, float v0) - - -static void _init_f_glProgramUniform1f_3293 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("v0"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glProgramUniform1f_3293 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - float arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniform1f (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glProgramUniform1fv(unsigned int program, int location, int count, const float *value) - - -static void _init_f_glProgramUniform1fv_4833 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("value"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glProgramUniform1fv_4833 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const float *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniform1fv (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glProgramUniform1i(unsigned int program, int location, int v0) - - -static void _init_f_glProgramUniform1i_3090 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("v0"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glProgramUniform1i_3090 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniform1i (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glProgramUniform1iv(unsigned int program, int location, int count, const int *value) - - -static void _init_f_glProgramUniform1iv_4630 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("value"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glProgramUniform1iv_4630 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const int *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniform1iv (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glProgramUniform1ui(unsigned int program, int location, unsigned int v0) - - -static void _init_f_glProgramUniform1ui_4095 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("v0"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glProgramUniform1ui_4095 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniform1ui (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glProgramUniform1uiv(unsigned int program, int location, int count, const unsigned int *value) - - -static void _init_f_glProgramUniform1uiv_5635 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("value"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glProgramUniform1uiv_5635 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const unsigned int *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniform1uiv (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glProgramUniform2f(unsigned int program, int location, float v0, float v1) - - -static void _init_f_glProgramUniform2f_4155 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("v0"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("v1"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glProgramUniform2f_4155 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - float arg3 = gsi::arg_reader() (args, heap); - float arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniform2f (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glProgramUniform2fv(unsigned int program, int location, int count, const float *value) - - -static void _init_f_glProgramUniform2fv_4833 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("value"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glProgramUniform2fv_4833 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const float *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniform2fv (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glProgramUniform2i(unsigned int program, int location, int v0, int v1) - - -static void _init_f_glProgramUniform2i_3749 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("v0"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("v1"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glProgramUniform2i_3749 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniform2i (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glProgramUniform2iv(unsigned int program, int location, int count, const int *value) - - -static void _init_f_glProgramUniform2iv_4630 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("value"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glProgramUniform2iv_4630 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const int *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniform2iv (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glProgramUniform2ui(unsigned int program, int location, unsigned int v0, unsigned int v1) - - -static void _init_f_glProgramUniform2ui_5759 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("v0"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("v1"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glProgramUniform2ui_5759 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniform2ui (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glProgramUniform2uiv(unsigned int program, int location, int count, const unsigned int *value) - - -static void _init_f_glProgramUniform2uiv_5635 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("value"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glProgramUniform2uiv_5635 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const unsigned int *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniform2uiv (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glProgramUniform3f(unsigned int program, int location, float v0, float v1, float v2) - - -static void _init_f_glProgramUniform3f_5017 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("v0"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("v1"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("v2"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glProgramUniform3f_5017 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - float arg3 = gsi::arg_reader() (args, heap); - float arg4 = gsi::arg_reader() (args, heap); - float arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniform3f (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glProgramUniform3fv(unsigned int program, int location, int count, const float *value) - - -static void _init_f_glProgramUniform3fv_4833 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("value"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glProgramUniform3fv_4833 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const float *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniform3fv (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glProgramUniform3i(unsigned int program, int location, int v0, int v1, int v2) - - -static void _init_f_glProgramUniform3i_4408 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("v0"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("v1"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("v2"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glProgramUniform3i_4408 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniform3i (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glProgramUniform3iv(unsigned int program, int location, int count, const int *value) - - -static void _init_f_glProgramUniform3iv_4630 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("value"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glProgramUniform3iv_4630 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const int *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniform3iv (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glProgramUniform3ui(unsigned int program, int location, unsigned int v0, unsigned int v1, unsigned int v2) - - -static void _init_f_glProgramUniform3ui_7423 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("v0"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("v1"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("v2"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glProgramUniform3ui_7423 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniform3ui (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glProgramUniform3uiv(unsigned int program, int location, int count, const unsigned int *value) - - -static void _init_f_glProgramUniform3uiv_5635 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("value"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glProgramUniform3uiv_5635 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const unsigned int *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniform3uiv (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glProgramUniform4f(unsigned int program, int location, float v0, float v1, float v2, float v3) - - -static void _init_f_glProgramUniform4f_5879 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("v0"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("v1"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("v2"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("v3"); - decl->add_arg (argspec_5); - decl->set_return (); -} - -static void _call_f_glProgramUniform4f_5879 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - float arg3 = gsi::arg_reader() (args, heap); - float arg4 = gsi::arg_reader() (args, heap); - float arg5 = gsi::arg_reader() (args, heap); - float arg6 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniform4f (arg1, arg2, arg3, arg4, arg5, arg6); -} - - -// void QOpenGLExtraFunctions::glProgramUniform4fv(unsigned int program, int location, int count, const float *value) - - -static void _init_f_glProgramUniform4fv_4833 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("value"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glProgramUniform4fv_4833 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const float *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniform4fv (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glProgramUniform4i(unsigned int program, int location, int v0, int v1, int v2, int v3) - - -static void _init_f_glProgramUniform4i_5067 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("v0"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("v1"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("v2"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("v3"); - decl->add_arg (argspec_5); - decl->set_return (); -} - -static void _call_f_glProgramUniform4i_5067 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - int arg6 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniform4i (arg1, arg2, arg3, arg4, arg5, arg6); -} - - -// void QOpenGLExtraFunctions::glProgramUniform4iv(unsigned int program, int location, int count, const int *value) - - -static void _init_f_glProgramUniform4iv_4630 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("value"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glProgramUniform4iv_4630 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const int *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniform4iv (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glProgramUniform4ui(unsigned int program, int location, unsigned int v0, unsigned int v1, unsigned int v2, unsigned int v3) - - -static void _init_f_glProgramUniform4ui_9087 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("v0"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("v1"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("v2"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("v3"); - decl->add_arg (argspec_5); - decl->set_return (); -} - -static void _call_f_glProgramUniform4ui_9087 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - unsigned int arg6 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniform4ui (arg1, arg2, arg3, arg4, arg5, arg6); -} - - -// void QOpenGLExtraFunctions::glProgramUniform4uiv(unsigned int program, int location, int count, const unsigned int *value) - - -static void _init_f_glProgramUniform4uiv_5635 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("value"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glProgramUniform4uiv_5635 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const unsigned int *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniform4uiv (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glProgramUniformMatrix2fv(unsigned int program, int location, int count, unsigned char transpose, const float *value) - - -static void _init_f_glProgramUniformMatrix2fv_6580 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("transpose"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("value"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glProgramUniformMatrix2fv_6580 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - unsigned char arg4 = gsi::arg_reader() (args, heap); - const float *arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniformMatrix2fv (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glProgramUniformMatrix2x3fv(unsigned int program, int location, int count, unsigned char transpose, const float *value) - - -static void _init_f_glProgramUniformMatrix2x3fv_6580 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("transpose"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("value"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glProgramUniformMatrix2x3fv_6580 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - unsigned char arg4 = gsi::arg_reader() (args, heap); - const float *arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniformMatrix2x3fv (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glProgramUniformMatrix2x4fv(unsigned int program, int location, int count, unsigned char transpose, const float *value) - - -static void _init_f_glProgramUniformMatrix2x4fv_6580 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("transpose"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("value"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glProgramUniformMatrix2x4fv_6580 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - unsigned char arg4 = gsi::arg_reader() (args, heap); - const float *arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniformMatrix2x4fv (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glProgramUniformMatrix3fv(unsigned int program, int location, int count, unsigned char transpose, const float *value) - - -static void _init_f_glProgramUniformMatrix3fv_6580 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("transpose"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("value"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glProgramUniformMatrix3fv_6580 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - unsigned char arg4 = gsi::arg_reader() (args, heap); - const float *arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniformMatrix3fv (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glProgramUniformMatrix3x2fv(unsigned int program, int location, int count, unsigned char transpose, const float *value) - - -static void _init_f_glProgramUniformMatrix3x2fv_6580 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("transpose"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("value"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glProgramUniformMatrix3x2fv_6580 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - unsigned char arg4 = gsi::arg_reader() (args, heap); - const float *arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniformMatrix3x2fv (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glProgramUniformMatrix3x4fv(unsigned int program, int location, int count, unsigned char transpose, const float *value) - - -static void _init_f_glProgramUniformMatrix3x4fv_6580 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("transpose"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("value"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glProgramUniformMatrix3x4fv_6580 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - unsigned char arg4 = gsi::arg_reader() (args, heap); - const float *arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniformMatrix3x4fv (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glProgramUniformMatrix4fv(unsigned int program, int location, int count, unsigned char transpose, const float *value) - - -static void _init_f_glProgramUniformMatrix4fv_6580 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("transpose"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("value"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glProgramUniformMatrix4fv_6580 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - unsigned char arg4 = gsi::arg_reader() (args, heap); - const float *arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniformMatrix4fv (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glProgramUniformMatrix4x2fv(unsigned int program, int location, int count, unsigned char transpose, const float *value) - - -static void _init_f_glProgramUniformMatrix4x2fv_6580 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("transpose"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("value"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glProgramUniformMatrix4x2fv_6580 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - unsigned char arg4 = gsi::arg_reader() (args, heap); - const float *arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniformMatrix4x2fv (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glProgramUniformMatrix4x3fv(unsigned int program, int location, int count, unsigned char transpose, const float *value) - - -static void _init_f_glProgramUniformMatrix4x3fv_6580 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("location"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("transpose"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("value"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glProgramUniformMatrix4x3fv_6580 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - unsigned char arg4 = gsi::arg_reader() (args, heap); - const float *arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glProgramUniformMatrix4x3fv (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glPushDebugGroup(unsigned int source, unsigned int id, int length, const char *message) - - -static void _init_f_glPushDebugGroup_5718 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("source"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("id"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("length"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("message"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glPushDebugGroup_5718 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const char *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glPushDebugGroup (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glReadBuffer(unsigned int mode) - - -static void _init_f_glReadBuffer_1772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("mode"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_glReadBuffer_1772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glReadBuffer (arg1); -} - - -// void QOpenGLExtraFunctions::glReadnPixels(int x, int y, int width, int height, unsigned int format, unsigned int type, int bufSize, void *data) - - -static void _init_f_glReadnPixels_7679 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("x"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("y"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("width"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("height"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("format"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("type"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("bufSize"); - decl->add_arg (argspec_6); - static gsi::ArgSpecBase argspec_7 ("data"); - decl->add_arg (argspec_7); - decl->set_return (); -} - -static void _call_f_glReadnPixels_7679 (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); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - unsigned int arg6 = gsi::arg_reader() (args, heap); - int arg7 = gsi::arg_reader() (args, heap); - void *arg8 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glReadnPixels (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); -} - - -// void QOpenGLExtraFunctions::glRenderbufferStorageMultisample(unsigned int target, int samples, unsigned int internalformat, int width, int height) - - -static void _init_f_glRenderbufferStorageMultisample_5413 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("samples"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("internalformat"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("width"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("height"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glRenderbufferStorageMultisample_5413 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glRenderbufferStorageMultisample (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glResumeTransformFeedback() - - -static void _init_f_glResumeTransformFeedback_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_glResumeTransformFeedback_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glResumeTransformFeedback (); -} - - -// void QOpenGLExtraFunctions::glSampleMaski(unsigned int maskNumber, unsigned int mask) - - -static void _init_f_glSampleMaski_3436 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("maskNumber"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("mask"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glSampleMaski_3436 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glSampleMaski (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glSamplerParameterIiv(unsigned int sampler, unsigned int pname, const int *param) - - -static void _init_f_glSamplerParameterIiv_4976 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sampler"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("param"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glSamplerParameterIiv_4976 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - const int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glSamplerParameterIiv (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glSamplerParameterIuiv(unsigned int sampler, unsigned int pname, const unsigned int *param) - - -static void _init_f_glSamplerParameterIuiv_5981 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sampler"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("param"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glSamplerParameterIuiv_5981 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - const unsigned int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glSamplerParameterIuiv (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glSamplerParameterf(unsigned int sampler, unsigned int pname, float param) - - -static void _init_f_glSamplerParameterf_4298 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sampler"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("param"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glSamplerParameterf_4298 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - float arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glSamplerParameterf (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glSamplerParameterfv(unsigned int sampler, unsigned int pname, const float *param) - - -static void _init_f_glSamplerParameterfv_5179 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sampler"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("param"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glSamplerParameterfv_5179 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - const float *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glSamplerParameterfv (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glSamplerParameteri(unsigned int sampler, unsigned int pname, int param) - - -static void _init_f_glSamplerParameteri_4095 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sampler"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("param"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glSamplerParameteri_4095 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glSamplerParameteri (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glSamplerParameteriv(unsigned int sampler, unsigned int pname, const int *param) - - -static void _init_f_glSamplerParameteriv_4976 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sampler"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("param"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glSamplerParameteriv_4976 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - const int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glSamplerParameteriv (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glTexBuffer(unsigned int target, unsigned int internalformat, unsigned int buffer) - - -static void _init_f_glTexBuffer_5100 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("internalformat"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("buffer"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glTexBuffer_5100 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glTexBuffer (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glTexBufferRange(unsigned int target, unsigned int internalformat, unsigned int buffer, signed long int offset, signed long int size) - - -static void _init_f_glTexBufferRange_9126 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("internalformat"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("buffer"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("offset"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("size"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glTexBufferRange_9126 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - signed long int arg4 = gsi::arg_reader() (args, heap); - signed long int arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glTexBufferRange (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glTexImage3D(unsigned int target, int level, int internalformat, int width, int height, int depth, int border, unsigned int format, unsigned int type, const void *pixels) - - -static void _init_f_glTexImage3D_10697 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("level"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("internalformat"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("width"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("height"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("depth"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("border"); - decl->add_arg (argspec_6); - static gsi::ArgSpecBase argspec_7 ("format"); - decl->add_arg (argspec_7); - static gsi::ArgSpecBase argspec_8 ("type"); - decl->add_arg (argspec_8); - static gsi::ArgSpecBase argspec_9 ("pixels"); - decl->add_arg (argspec_9); - decl->set_return (); -} - -static void _call_f_glTexImage3D_10697 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - int arg6 = gsi::arg_reader() (args, heap); - int arg7 = gsi::arg_reader() (args, heap); - unsigned int arg8 = gsi::arg_reader() (args, heap); - unsigned int arg9 = gsi::arg_reader() (args, heap); - const void *arg10 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glTexImage3D (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10); -} - - -// void QOpenGLExtraFunctions::glTexParameterIiv(unsigned int target, unsigned int pname, const int *params) - - -static void _init_f_glTexParameterIiv_4976 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("params"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glTexParameterIiv_4976 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - const int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glTexParameterIiv (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glTexParameterIuiv(unsigned int target, unsigned int pname, const unsigned int *params) - - -static void _init_f_glTexParameterIuiv_5981 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pname"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("params"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glTexParameterIuiv_5981 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - const unsigned int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glTexParameterIuiv (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glTexStorage2D(unsigned int target, int levels, unsigned int internalformat, int width, int height) - - -static void _init_f_glTexStorage2D_5413 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("levels"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("internalformat"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("width"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("height"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glTexStorage2D_5413 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glTexStorage2D (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glTexStorage2DMultisample(unsigned int target, int samples, unsigned int internalformat, int width, int height, unsigned char fixedsamplelocations) - - -static void _init_f_glTexStorage2DMultisample_7160 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("samples"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("internalformat"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("width"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("height"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("fixedsamplelocations"); - decl->add_arg (argspec_5); - decl->set_return (); -} - -static void _call_f_glTexStorage2DMultisample_7160 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - unsigned char arg6 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glTexStorage2DMultisample (arg1, arg2, arg3, arg4, arg5, arg6); -} - - -// void QOpenGLExtraFunctions::glTexStorage3D(unsigned int target, int levels, unsigned int internalformat, int width, int height, int depth) - - -static void _init_f_glTexStorage3D_6072 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("levels"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("internalformat"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("width"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("height"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("depth"); - decl->add_arg (argspec_5); - decl->set_return (); -} - -static void _call_f_glTexStorage3D_6072 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - int arg6 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glTexStorage3D (arg1, arg2, arg3, arg4, arg5, arg6); -} - - -// void QOpenGLExtraFunctions::glTexStorage3DMultisample(unsigned int target, int samples, unsigned int internalformat, int width, int height, int depth, unsigned char fixedsamplelocations) - - -static void _init_f_glTexStorage3DMultisample_7819 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("samples"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("internalformat"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("width"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("height"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("depth"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("fixedsamplelocations"); - decl->add_arg (argspec_6); - decl->set_return (); -} - -static void _call_f_glTexStorage3DMultisample_7819 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - int arg6 = gsi::arg_reader() (args, heap); - unsigned char arg7 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glTexStorage3DMultisample (arg1, arg2, arg3, arg4, arg5, arg6, arg7); -} - - -// void QOpenGLExtraFunctions::glTexSubImage3D(unsigned int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, unsigned int format, unsigned int type, const void *pixels) - - -static void _init_f_glTexSubImage3D_11356 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("level"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("xoffset"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("yoffset"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("zoffset"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("width"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("height"); - decl->add_arg (argspec_6); - static gsi::ArgSpecBase argspec_7 ("depth"); - decl->add_arg (argspec_7); - static gsi::ArgSpecBase argspec_8 ("format"); - decl->add_arg (argspec_8); - static gsi::ArgSpecBase argspec_9 ("type"); - decl->add_arg (argspec_9); - static gsi::ArgSpecBase argspec_10 ("pixels"); - decl->add_arg (argspec_10); - decl->set_return (); -} - -static void _call_f_glTexSubImage3D_11356 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - int arg6 = gsi::arg_reader() (args, heap); - int arg7 = gsi::arg_reader() (args, heap); - int arg8 = gsi::arg_reader() (args, heap); - unsigned int arg9 = gsi::arg_reader() (args, heap); - unsigned int arg10 = gsi::arg_reader() (args, heap); - const void *arg11 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glTexSubImage3D (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11); -} - - -// void QOpenGLExtraFunctions::glTransformFeedbackVaryings(unsigned int program, int count, const char *const *varyings, unsigned int bufferMode) - - -static void _init_f_glTransformFeedbackVaryings_6455 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("varyings"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("bufferMode"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glTransformFeedbackVaryings_6455 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - const char *const *arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glTransformFeedbackVaryings (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glUniform1ui(int location, unsigned int v0) - - -static void _init_f_glUniform1ui_2431 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("location"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("v0"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glUniform1ui_2431 (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); - unsigned int arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glUniform1ui (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glUniform1uiv(int location, int count, const unsigned int *value) - - -static void _init_f_glUniform1uiv_3971 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("location"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("value"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glUniform1uiv_3971 (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); - int arg2 = gsi::arg_reader() (args, heap); - const unsigned int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glUniform1uiv (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glUniform2ui(int location, unsigned int v0, unsigned int v1) - - -static void _init_f_glUniform2ui_4095 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("location"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("v0"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("v1"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glUniform2ui_4095 (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); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glUniform2ui (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glUniform2uiv(int location, int count, const unsigned int *value) - - -static void _init_f_glUniform2uiv_3971 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("location"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("value"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glUniform2uiv_3971 (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); - int arg2 = gsi::arg_reader() (args, heap); - const unsigned int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glUniform2uiv (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glUniform3ui(int location, unsigned int v0, unsigned int v1, unsigned int v2) - - -static void _init_f_glUniform3ui_5759 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("location"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("v0"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("v1"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("v2"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glUniform3ui_5759 (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); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glUniform3ui (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glUniform3uiv(int location, int count, const unsigned int *value) - - -static void _init_f_glUniform3uiv_3971 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("location"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("value"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glUniform3uiv_3971 (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); - int arg2 = gsi::arg_reader() (args, heap); - const unsigned int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glUniform3uiv (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glUniform4ui(int location, unsigned int v0, unsigned int v1, unsigned int v2, unsigned int v3) - - -static void _init_f_glUniform4ui_7423 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("location"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("v0"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("v1"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("v2"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("v3"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glUniform4ui_7423 (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); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glUniform4ui (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glUniform4uiv(int location, int count, const unsigned int *value) - - -static void _init_f_glUniform4uiv_3971 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("location"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("value"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glUniform4uiv_3971 (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); - int arg2 = gsi::arg_reader() (args, heap); - const unsigned int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glUniform4uiv (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glUniformBlockBinding(unsigned int program, unsigned int uniformBlockIndex, unsigned int uniformBlockBinding) - - -static void _init_f_glUniformBlockBinding_5100 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("program"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("uniformBlockIndex"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("uniformBlockBinding"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glUniformBlockBinding_5100 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glUniformBlockBinding (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glUniformMatrix2x3fv(int location, int count, unsigned char transpose, const float *value) - - -static void _init_f_glUniformMatrix2x3fv_4916 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("location"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("transpose"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("value"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glUniformMatrix2x3fv_4916 (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); - int arg2 = gsi::arg_reader() (args, heap); - unsigned char arg3 = gsi::arg_reader() (args, heap); - const float *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glUniformMatrix2x3fv (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glUniformMatrix2x4fv(int location, int count, unsigned char transpose, const float *value) - - -static void _init_f_glUniformMatrix2x4fv_4916 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("location"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("transpose"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("value"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glUniformMatrix2x4fv_4916 (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); - int arg2 = gsi::arg_reader() (args, heap); - unsigned char arg3 = gsi::arg_reader() (args, heap); - const float *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glUniformMatrix2x4fv (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glUniformMatrix3x2fv(int location, int count, unsigned char transpose, const float *value) - - -static void _init_f_glUniformMatrix3x2fv_4916 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("location"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("transpose"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("value"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glUniformMatrix3x2fv_4916 (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); - int arg2 = gsi::arg_reader() (args, heap); - unsigned char arg3 = gsi::arg_reader() (args, heap); - const float *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glUniformMatrix3x2fv (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glUniformMatrix3x4fv(int location, int count, unsigned char transpose, const float *value) - - -static void _init_f_glUniformMatrix3x4fv_4916 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("location"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("transpose"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("value"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glUniformMatrix3x4fv_4916 (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); - int arg2 = gsi::arg_reader() (args, heap); - unsigned char arg3 = gsi::arg_reader() (args, heap); - const float *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glUniformMatrix3x4fv (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glUniformMatrix4x2fv(int location, int count, unsigned char transpose, const float *value) - - -static void _init_f_glUniformMatrix4x2fv_4916 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("location"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("transpose"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("value"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glUniformMatrix4x2fv_4916 (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); - int arg2 = gsi::arg_reader() (args, heap); - unsigned char arg3 = gsi::arg_reader() (args, heap); - const float *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glUniformMatrix4x2fv (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glUniformMatrix4x3fv(int location, int count, unsigned char transpose, const float *value) - - -static void _init_f_glUniformMatrix4x3fv_4916 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("location"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("transpose"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("value"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glUniformMatrix4x3fv_4916 (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); - int arg2 = gsi::arg_reader() (args, heap); - unsigned char arg3 = gsi::arg_reader() (args, heap); - const float *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glUniformMatrix4x3fv (arg1, arg2, arg3, arg4); -} - - -// unsigned char QOpenGLExtraFunctions::glUnmapBuffer(unsigned int target) - - -static void _init_f_glUnmapBuffer_1772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("target"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_glUnmapBuffer_1772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - ret.write ((unsigned char)((QOpenGLExtraFunctions *)cls)->glUnmapBuffer (arg1)); -} - - -// void QOpenGLExtraFunctions::glUseProgramStages(unsigned int pipeline, unsigned int stages, unsigned int program) - - -static void _init_f_glUseProgramStages_5100 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pipeline"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("stages"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("program"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glUseProgramStages_5100 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glUseProgramStages (arg1, arg2, arg3); -} - - -// void QOpenGLExtraFunctions::glValidateProgramPipeline(unsigned int pipeline) - - -static void _init_f_glValidateProgramPipeline_1772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pipeline"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_glValidateProgramPipeline_1772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glValidateProgramPipeline (arg1); -} - - -// void QOpenGLExtraFunctions::glVertexAttribBinding(unsigned int attribindex, unsigned int bindingindex) - - -static void _init_f_glVertexAttribBinding_3436 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("attribindex"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("bindingindex"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glVertexAttribBinding_3436 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glVertexAttribBinding (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glVertexAttribDivisor(unsigned int index, unsigned int divisor) - - -static void _init_f_glVertexAttribDivisor_3436 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("divisor"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glVertexAttribDivisor_3436 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glVertexAttribDivisor (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glVertexAttribFormat(unsigned int attribindex, int size, unsigned int type, unsigned char normalized, unsigned int relativeoffset) - - -static void _init_f_glVertexAttribFormat_7506 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("attribindex"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("size"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("type"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("normalized"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("relativeoffset"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glVertexAttribFormat_7506 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - unsigned char arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glVertexAttribFormat (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glVertexAttribI4i(unsigned int index, int x, int y, int z, int w) - - -static void _init_f_glVertexAttribI4i_4408 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("x"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("y"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("z"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("w"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glVertexAttribI4i_4408 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glVertexAttribI4i (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glVertexAttribI4iv(unsigned int index, const int *v) - - -static void _init_f_glVertexAttribI4iv_3312 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("v"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glVertexAttribI4iv_3312 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - const int *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glVertexAttribI4iv (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glVertexAttribI4ui(unsigned int index, unsigned int x, unsigned int y, unsigned int z, unsigned int w) - - -static void _init_f_glVertexAttribI4ui_8428 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("x"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("y"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("z"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("w"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glVertexAttribI4ui_8428 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glVertexAttribI4ui (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glVertexAttribI4uiv(unsigned int index, const unsigned int *v) - - -static void _init_f_glVertexAttribI4uiv_4317 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("v"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glVertexAttribI4uiv_4317 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - const unsigned int *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glVertexAttribI4uiv (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glVertexAttribIFormat(unsigned int attribindex, int size, unsigned int type, unsigned int relativeoffset) - - -static void _init_f_glVertexAttribIFormat_5759 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("attribindex"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("size"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("type"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("relativeoffset"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_glVertexAttribIFormat_5759 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glVertexAttribIFormat (arg1, arg2, arg3, arg4); -} - - -// void QOpenGLExtraFunctions::glVertexAttribIPointer(unsigned int index, int size, unsigned int type, int stride, const void *pointer) - - -static void _init_f_glVertexAttribIPointer_6397 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("size"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("type"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("stride"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("pointer"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_glVertexAttribIPointer_6397 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - const void *arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glVertexAttribIPointer (arg1, arg2, arg3, arg4, arg5); -} - - -// void QOpenGLExtraFunctions::glVertexBindingDivisor(unsigned int bindingindex, unsigned int divisor) - - -static void _init_f_glVertexBindingDivisor_3436 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("bindingindex"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("divisor"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_glVertexBindingDivisor_3436 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glVertexBindingDivisor (arg1, arg2); -} - - -// void QOpenGLExtraFunctions::glWaitSync(struct __GLsync *sync, unsigned int flags, unsigned long int timeout) - - -static void _init_f_glWaitSync_6129 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sync"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("flags"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("timeout"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_glWaitSync_6129 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct __GLsync *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned long int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOpenGLExtraFunctions *)cls)->glWaitSync (arg1, arg2, arg3); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QOpenGLExtraFunctions () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QOpenGLExtraFunctions::QOpenGLExtraFunctions()\nThis method creates an object of class QOpenGLExtraFunctions.", &_init_ctor_QOpenGLExtraFunctions_0, &_call_ctor_QOpenGLExtraFunctions_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QOpenGLExtraFunctions::QOpenGLExtraFunctions(QOpenGLContext *context)\nThis method creates an object of class QOpenGLExtraFunctions.", &_init_ctor_QOpenGLExtraFunctions_1993, &_call_ctor_QOpenGLExtraFunctions_1993); - methods += new qt_gsi::GenericMethod ("glActiveShaderProgram", "@brief Method void QOpenGLExtraFunctions::glActiveShaderProgram(unsigned int pipeline, unsigned int program)\n", false, &_init_f_glActiveShaderProgram_3436, &_call_f_glActiveShaderProgram_3436); - methods += new qt_gsi::GenericMethod ("glBeginQuery", "@brief Method void QOpenGLExtraFunctions::glBeginQuery(unsigned int target, unsigned int id)\n", false, &_init_f_glBeginQuery_3436, &_call_f_glBeginQuery_3436); - methods += new qt_gsi::GenericMethod ("glBeginTransformFeedback", "@brief Method void QOpenGLExtraFunctions::glBeginTransformFeedback(unsigned int primitiveMode)\n", false, &_init_f_glBeginTransformFeedback_1772, &_call_f_glBeginTransformFeedback_1772); - methods += new qt_gsi::GenericMethod ("glBindBufferBase", "@brief Method void QOpenGLExtraFunctions::glBindBufferBase(unsigned int target, unsigned int index, unsigned int buffer)\n", false, &_init_f_glBindBufferBase_5100, &_call_f_glBindBufferBase_5100); - methods += new qt_gsi::GenericMethod ("glBindBufferRange", "@brief Method void QOpenGLExtraFunctions::glBindBufferRange(unsigned int target, unsigned int index, unsigned int buffer, signed long int offset, signed long int size)\n", false, &_init_f_glBindBufferRange_9126, &_call_f_glBindBufferRange_9126); - methods += new qt_gsi::GenericMethod ("glBindImageTexture", "@brief Method void QOpenGLExtraFunctions::glBindImageTexture(unsigned int unit, unsigned int texture, int level, unsigned char layered, int layer, unsigned int access, unsigned int format)\n", false, &_init_f_glBindImageTexture_9829, &_call_f_glBindImageTexture_9829); - methods += new qt_gsi::GenericMethod ("glBindProgramPipeline", "@brief Method void QOpenGLExtraFunctions::glBindProgramPipeline(unsigned int pipeline)\n", false, &_init_f_glBindProgramPipeline_1772, &_call_f_glBindProgramPipeline_1772); - methods += new qt_gsi::GenericMethod ("glBindSampler", "@brief Method void QOpenGLExtraFunctions::glBindSampler(unsigned int unit, unsigned int sampler)\n", false, &_init_f_glBindSampler_3436, &_call_f_glBindSampler_3436); - methods += new qt_gsi::GenericMethod ("glBindTransformFeedback", "@brief Method void QOpenGLExtraFunctions::glBindTransformFeedback(unsigned int target, unsigned int id)\n", false, &_init_f_glBindTransformFeedback_3436, &_call_f_glBindTransformFeedback_3436); - methods += new qt_gsi::GenericMethod ("glBindVertexArray", "@brief Method void QOpenGLExtraFunctions::glBindVertexArray(unsigned int array)\n", false, &_init_f_glBindVertexArray_1772, &_call_f_glBindVertexArray_1772); - methods += new qt_gsi::GenericMethod ("glBindVertexBuffer", "@brief Method void QOpenGLExtraFunctions::glBindVertexBuffer(unsigned int bindingindex, unsigned int buffer, signed long int offset, int stride)\n", false, &_init_f_glBindVertexBuffer_6108, &_call_f_glBindVertexBuffer_6108); - methods += new qt_gsi::GenericMethod ("glBlendBarrier", "@brief Method void QOpenGLExtraFunctions::glBlendBarrier()\n", false, &_init_f_glBlendBarrier_0, &_call_f_glBlendBarrier_0); - methods += new qt_gsi::GenericMethod ("glBlendEquationSeparatei", "@brief Method void QOpenGLExtraFunctions::glBlendEquationSeparatei(unsigned int buf, unsigned int modeRGB, unsigned int modeAlpha)\n", false, &_init_f_glBlendEquationSeparatei_5100, &_call_f_glBlendEquationSeparatei_5100); - methods += new qt_gsi::GenericMethod ("glBlendEquationi", "@brief Method void QOpenGLExtraFunctions::glBlendEquationi(unsigned int buf, unsigned int mode)\n", false, &_init_f_glBlendEquationi_3436, &_call_f_glBlendEquationi_3436); - methods += new qt_gsi::GenericMethod ("glBlendFuncSeparatei", "@brief Method void QOpenGLExtraFunctions::glBlendFuncSeparatei(unsigned int buf, unsigned int srcRGB, unsigned int dstRGB, unsigned int srcAlpha, unsigned int dstAlpha)\n", false, &_init_f_glBlendFuncSeparatei_8428, &_call_f_glBlendFuncSeparatei_8428); - methods += new qt_gsi::GenericMethod ("glBlendFunci", "@brief Method void QOpenGLExtraFunctions::glBlendFunci(unsigned int buf, unsigned int src, unsigned int dst)\n", false, &_init_f_glBlendFunci_5100, &_call_f_glBlendFunci_5100); - methods += new qt_gsi::GenericMethod ("glBlitFramebuffer", "@brief Method void QOpenGLExtraFunctions::glBlitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, unsigned int mask, unsigned int filter)\n", false, &_init_f_glBlitFramebuffer_8708, &_call_f_glBlitFramebuffer_8708); - methods += new qt_gsi::GenericMethod ("glClearBufferfi", "@brief Method void QOpenGLExtraFunctions::glClearBufferfi(unsigned int buffer, int drawbuffer, float depth, int stencil)\n", false, &_init_f_glClearBufferfi_3952, &_call_f_glClearBufferfi_3952); - methods += new qt_gsi::GenericMethod ("glClearBufferfv", "@brief Method void QOpenGLExtraFunctions::glClearBufferfv(unsigned int buffer, int drawbuffer, const float *value)\n", false, &_init_f_glClearBufferfv_4174, &_call_f_glClearBufferfv_4174); - methods += new qt_gsi::GenericMethod ("glClearBufferiv", "@brief Method void QOpenGLExtraFunctions::glClearBufferiv(unsigned int buffer, int drawbuffer, const int *value)\n", false, &_init_f_glClearBufferiv_3971, &_call_f_glClearBufferiv_3971); - methods += new qt_gsi::GenericMethod ("glClearBufferuiv", "@brief Method void QOpenGLExtraFunctions::glClearBufferuiv(unsigned int buffer, int drawbuffer, const unsigned int *value)\n", false, &_init_f_glClearBufferuiv_4976, &_call_f_glClearBufferuiv_4976); - methods += new qt_gsi::GenericMethod ("glClientWaitSync", "@brief Method unsigned int QOpenGLExtraFunctions::glClientWaitSync(struct __GLsync *sync, unsigned int flags, unsigned long int timeout)\n", false, &_init_f_glClientWaitSync_6129, &_call_f_glClientWaitSync_6129); - methods += new qt_gsi::GenericMethod ("glColorMaski", "@brief Method void QOpenGLExtraFunctions::glColorMaski(unsigned int index, unsigned char r, unsigned char g, unsigned char b, unsigned char a)\n", false, &_init_f_glColorMaski_8760, &_call_f_glColorMaski_8760); - methods += new qt_gsi::GenericMethod ("glCompressedTexImage3D", "@brief Method void QOpenGLExtraFunctions::glCompressedTexImage3D(unsigned int target, int level, unsigned int internalformat, int width, int height, int depth, int border, int imageSize, const void *data)\n", false, &_init_f_glCompressedTexImage3D_9033, &_call_f_glCompressedTexImage3D_9033); - methods += new qt_gsi::GenericMethod ("glCompressedTexSubImage3D", "@brief Method void QOpenGLExtraFunctions::glCompressedTexSubImage3D(unsigned int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, unsigned int format, int imageSize, const void *data)\n", false, &_init_f_glCompressedTexSubImage3D_10351, &_call_f_glCompressedTexSubImage3D_10351); - methods += new qt_gsi::GenericMethod ("glCopyBufferSubData", "@brief Method void QOpenGLExtraFunctions::glCopyBufferSubData(unsigned int readTarget, unsigned int writeTarget, signed long int readOffset, signed long int writeOffset, signed long int size)\n", false, &_init_f_glCopyBufferSubData_9475, &_call_f_glCopyBufferSubData_9475); - methods += new qt_gsi::GenericMethod ("glCopyImageSubData", "@brief Method void QOpenGLExtraFunctions::glCopyImageSubData(unsigned int srcName, unsigned int srcTarget, int srcLevel, int srcX, int srcY, int srcZ, unsigned int dstName, unsigned int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int srcWidth, int srcHeight, int srcDepth)\n", false, &_init_f_glCopyImageSubData_14013, &_call_f_glCopyImageSubData_14013); - methods += new qt_gsi::GenericMethod ("glCopyTexSubImage3D", "@brief Method void QOpenGLExtraFunctions::glCopyTexSubImage3D(unsigned int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height)\n", false, &_init_f_glCopyTexSubImage3D_7044, &_call_f_glCopyTexSubImage3D_7044); - methods += new qt_gsi::GenericMethod ("glCreateShaderProgramv", "@brief Method unsigned int QOpenGLExtraFunctions::glCreateShaderProgramv(unsigned int type, int count, const char *const *strings)\n", false, &_init_f_glCreateShaderProgramv_4791, &_call_f_glCreateShaderProgramv_4791); - methods += new qt_gsi::GenericMethod ("glDebugMessageCallback", "@brief Method void QOpenGLExtraFunctions::glDebugMessageCallback(void *callback(unsigned int source, unsigned int type, unsigned int id, unsigned int severity, int length, const char *message, const void *userParam), const void *userParam)\n", false, &_init_f_glDebugMessageCallback_17443, &_call_f_glDebugMessageCallback_17443); - methods += new qt_gsi::GenericMethod ("glDebugMessageControl", "@brief Method void QOpenGLExtraFunctions::glDebugMessageControl(unsigned int source, unsigned int type, unsigned int severity, int count, const unsigned int *ids, unsigned char enabled)\n", false, &_init_f_glDebugMessageControl_10051, &_call_f_glDebugMessageControl_10051); - methods += new qt_gsi::GenericMethod ("glDebugMessageInsert", "@brief Method void QOpenGLExtraFunctions::glDebugMessageInsert(unsigned int source, unsigned int type, unsigned int id, unsigned int severity, int length, const char *buf)\n", false, &_init_f_glDebugMessageInsert_9046, &_call_f_glDebugMessageInsert_9046); - methods += new qt_gsi::GenericMethod ("glDeleteProgramPipelines", "@brief Method void QOpenGLExtraFunctions::glDeleteProgramPipelines(int n, const unsigned int *pipelines)\n", false, &_init_f_glDeleteProgramPipelines_3312, &_call_f_glDeleteProgramPipelines_3312); - methods += new qt_gsi::GenericMethod ("glDeleteQueries", "@brief Method void QOpenGLExtraFunctions::glDeleteQueries(int n, const unsigned int *ids)\n", false, &_init_f_glDeleteQueries_3312, &_call_f_glDeleteQueries_3312); - methods += new qt_gsi::GenericMethod ("glDeleteSamplers", "@brief Method void QOpenGLExtraFunctions::glDeleteSamplers(int count, const unsigned int *samplers)\n", false, &_init_f_glDeleteSamplers_3312, &_call_f_glDeleteSamplers_3312); - methods += new qt_gsi::GenericMethod ("glDeleteSync", "@brief Method void QOpenGLExtraFunctions::glDeleteSync(struct __GLsync *sync)\n", false, &_init_f_glDeleteSync_2225, &_call_f_glDeleteSync_2225); - methods += new qt_gsi::GenericMethod ("glDeleteTransformFeedbacks", "@brief Method void QOpenGLExtraFunctions::glDeleteTransformFeedbacks(int n, const unsigned int *ids)\n", false, &_init_f_glDeleteTransformFeedbacks_3312, &_call_f_glDeleteTransformFeedbacks_3312); - methods += new qt_gsi::GenericMethod ("glDeleteVertexArrays", "@brief Method void QOpenGLExtraFunctions::glDeleteVertexArrays(int n, const unsigned int *arrays)\n", false, &_init_f_glDeleteVertexArrays_3312, &_call_f_glDeleteVertexArrays_3312); - methods += new qt_gsi::GenericMethod ("glDisablei", "@brief Method void QOpenGLExtraFunctions::glDisablei(unsigned int target, unsigned int index)\n", false, &_init_f_glDisablei_3436, &_call_f_glDisablei_3436); - methods += new qt_gsi::GenericMethod ("glDispatchCompute", "@brief Method void QOpenGLExtraFunctions::glDispatchCompute(unsigned int num_groups_x, unsigned int num_groups_y, unsigned int num_groups_z)\n", false, &_init_f_glDispatchCompute_5100, &_call_f_glDispatchCompute_5100); - methods += new qt_gsi::GenericMethod ("glDispatchComputeIndirect", "@brief Method void QOpenGLExtraFunctions::glDispatchComputeIndirect(signed long int indirect)\n", false, &_init_f_glDispatchComputeIndirect_2121, &_call_f_glDispatchComputeIndirect_2121); - methods += new qt_gsi::GenericMethod ("glDrawArraysIndirect", "@brief Method void QOpenGLExtraFunctions::glDrawArraysIndirect(unsigned int mode, const void *indirect)\n", false, &_init_f_glDrawArraysIndirect_3415, &_call_f_glDrawArraysIndirect_3415); - methods += new qt_gsi::GenericMethod ("glDrawArraysInstanced", "@brief Method void QOpenGLExtraFunctions::glDrawArraysInstanced(unsigned int mode, int first, int count, int instancecount)\n", false, &_init_f_glDrawArraysInstanced_3749, &_call_f_glDrawArraysInstanced_3749); - methods += new qt_gsi::GenericMethod ("glDrawBuffers", "@brief Method void QOpenGLExtraFunctions::glDrawBuffers(int n, const unsigned int *bufs)\n", false, &_init_f_glDrawBuffers_3312, &_call_f_glDrawBuffers_3312); - methods += new qt_gsi::GenericMethod ("glDrawElementsBaseVertex", "@brief Method void QOpenGLExtraFunctions::glDrawElementsBaseVertex(unsigned int mode, int count, unsigned int type, const void *indices, int basevertex)\n", false, &_init_f_glDrawElementsBaseVertex_6397, &_call_f_glDrawElementsBaseVertex_6397); - methods += new qt_gsi::GenericMethod ("glDrawElementsIndirect", "@brief Method void QOpenGLExtraFunctions::glDrawElementsIndirect(unsigned int mode, unsigned int type, const void *indirect)\n", false, &_init_f_glDrawElementsIndirect_5079, &_call_f_glDrawElementsIndirect_5079); - methods += new qt_gsi::GenericMethod ("glDrawElementsInstanced", "@brief Method void QOpenGLExtraFunctions::glDrawElementsInstanced(unsigned int mode, int count, unsigned int type, const void *indices, int instancecount)\n", false, &_init_f_glDrawElementsInstanced_6397, &_call_f_glDrawElementsInstanced_6397); - methods += new qt_gsi::GenericMethod ("glDrawElementsInstancedBaseVertex", "@brief Method void QOpenGLExtraFunctions::glDrawElementsInstancedBaseVertex(unsigned int mode, int count, unsigned int type, const void *indices, int instancecount, int basevertex)\n", false, &_init_f_glDrawElementsInstancedBaseVertex_7056, &_call_f_glDrawElementsInstancedBaseVertex_7056); - methods += new qt_gsi::GenericMethod ("glDrawRangeElements", "@brief Method void QOpenGLExtraFunctions::glDrawRangeElements(unsigned int mode, unsigned int start, unsigned int end, int count, unsigned int type, const void *indices)\n", false, &_init_f_glDrawRangeElements_9066, &_call_f_glDrawRangeElements_9066); - methods += new qt_gsi::GenericMethod ("glDrawRangeElementsBaseVertex", "@brief Method void QOpenGLExtraFunctions::glDrawRangeElementsBaseVertex(unsigned int mode, unsigned int start, unsigned int end, int count, unsigned int type, const void *indices, int basevertex)\n", false, &_init_f_glDrawRangeElementsBaseVertex_9725, &_call_f_glDrawRangeElementsBaseVertex_9725); - methods += new qt_gsi::GenericMethod ("glEnablei", "@brief Method void QOpenGLExtraFunctions::glEnablei(unsigned int target, unsigned int index)\n", false, &_init_f_glEnablei_3436, &_call_f_glEnablei_3436); - methods += new qt_gsi::GenericMethod ("glEndQuery", "@brief Method void QOpenGLExtraFunctions::glEndQuery(unsigned int target)\n", false, &_init_f_glEndQuery_1772, &_call_f_glEndQuery_1772); - methods += new qt_gsi::GenericMethod ("glEndTransformFeedback", "@brief Method void QOpenGLExtraFunctions::glEndTransformFeedback()\n", false, &_init_f_glEndTransformFeedback_0, &_call_f_glEndTransformFeedback_0); - methods += new qt_gsi::GenericMethod ("glFenceSync", "@brief Method struct __GLsync *QOpenGLExtraFunctions::glFenceSync(unsigned int condition, unsigned int flags)\n", false, &_init_f_glFenceSync_3436, &_call_f_glFenceSync_3436); - methods += new qt_gsi::GenericMethod ("glFlushMappedBufferRange", "@brief Method void QOpenGLExtraFunctions::glFlushMappedBufferRange(unsigned int target, signed long int offset, signed long int length)\n", false, &_init_f_glFlushMappedBufferRange_5798, &_call_f_glFlushMappedBufferRange_5798); - methods += new qt_gsi::GenericMethod ("glFramebufferParameteri", "@brief Method void QOpenGLExtraFunctions::glFramebufferParameteri(unsigned int target, unsigned int pname, int param)\n", false, &_init_f_glFramebufferParameteri_4095, &_call_f_glFramebufferParameteri_4095); - methods += new qt_gsi::GenericMethod ("glFramebufferTexture", "@brief Method void QOpenGLExtraFunctions::glFramebufferTexture(unsigned int target, unsigned int attachment, unsigned int texture, int level)\n", false, &_init_f_glFramebufferTexture_5759, &_call_f_glFramebufferTexture_5759); - methods += new qt_gsi::GenericMethod ("glFramebufferTextureLayer", "@brief Method void QOpenGLExtraFunctions::glFramebufferTextureLayer(unsigned int target, unsigned int attachment, unsigned int texture, int level, int layer)\n", false, &_init_f_glFramebufferTextureLayer_6418, &_call_f_glFramebufferTextureLayer_6418); - methods += new qt_gsi::GenericMethod ("glGenProgramPipelines", "@brief Method void QOpenGLExtraFunctions::glGenProgramPipelines(int n, unsigned int *pipelines)\n", false, &_init_f_glGenProgramPipelines_2617, &_call_f_glGenProgramPipelines_2617); - methods += new qt_gsi::GenericMethod ("glGenQueries", "@brief Method void QOpenGLExtraFunctions::glGenQueries(int n, unsigned int *ids)\n", false, &_init_f_glGenQueries_2617, &_call_f_glGenQueries_2617); - methods += new qt_gsi::GenericMethod ("glGenSamplers", "@brief Method void QOpenGLExtraFunctions::glGenSamplers(int count, unsigned int *samplers)\n", false, &_init_f_glGenSamplers_2617, &_call_f_glGenSamplers_2617); - methods += new qt_gsi::GenericMethod ("glGenTransformFeedbacks", "@brief Method void QOpenGLExtraFunctions::glGenTransformFeedbacks(int n, unsigned int *ids)\n", false, &_init_f_glGenTransformFeedbacks_2617, &_call_f_glGenTransformFeedbacks_2617); - methods += new qt_gsi::GenericMethod ("glGenVertexArrays", "@brief Method void QOpenGLExtraFunctions::glGenVertexArrays(int n, unsigned int *arrays)\n", false, &_init_f_glGenVertexArrays_2617, &_call_f_glGenVertexArrays_2617); - methods += new qt_gsi::GenericMethod ("glGetActiveUniformBlockName", "@brief Method void QOpenGLExtraFunctions::glGetActiveUniformBlockName(unsigned int program, unsigned int uniformBlockIndex, int bufSize, int *length, char *uniformBlockName)\n", false, &_init_f_glGetActiveUniformBlockName_5868, &_call_f_glGetActiveUniformBlockName_5868); - methods += new qt_gsi::GenericMethod ("glGetActiveUniformBlockiv", "@brief Method void QOpenGLExtraFunctions::glGetActiveUniformBlockiv(unsigned int program, unsigned int uniformBlockIndex, unsigned int pname, int *params)\n", false, &_init_f_glGetActiveUniformBlockiv_5945, &_call_f_glGetActiveUniformBlockiv_5945); - methods += new qt_gsi::GenericMethod ("glGetActiveUniformsiv", "@brief Method void QOpenGLExtraFunctions::glGetActiveUniformsiv(unsigned int program, int uniformCount, const unsigned int *uniformIndices, unsigned int pname, int *params)\n", false, &_init_f_glGetActiveUniformsiv_7485, &_call_f_glGetActiveUniformsiv_7485); - methods += new qt_gsi::GenericMethod ("glGetBooleani_v", "@brief Method void QOpenGLExtraFunctions::glGetBooleani_v(unsigned int target, unsigned int index, unsigned char *data)\n", false, &_init_f_glGetBooleani_v_5369, &_call_f_glGetBooleani_v_5369); - methods += new qt_gsi::GenericMethod ("glGetBufferParameteri64v", "@brief Method void QOpenGLExtraFunctions::glGetBufferParameteri64v(unsigned int target, unsigned int pname, signed long int *params)\n", false, &_init_f_glGetBufferParameteri64v_5635, &_call_f_glGetBufferParameteri64v_5635); - methods += new qt_gsi::GenericMethod ("glGetBufferPointerv", "@brief Method void QOpenGLExtraFunctions::glGetBufferPointerv(unsigned int target, unsigned int pname, void **params)\n", false, &_init_f_glGetBufferPointerv_4426, &_call_f_glGetBufferPointerv_4426); - methods += new qt_gsi::GenericMethod ("glGetDebugMessageLog", "@brief Method unsigned int QOpenGLExtraFunctions::glGetDebugMessageLog(unsigned int count, int bufSize, unsigned int *sources, unsigned int *types, unsigned int *ids, unsigned int *severities, int *lengths, char *messageLog)\n", false, &_init_f_glGetDebugMessageLog_11604, &_call_f_glGetDebugMessageLog_11604); - methods += new qt_gsi::GenericMethod ("glGetFragDataLocation", "@brief Method int QOpenGLExtraFunctions::glGetFragDataLocation(unsigned int program, const char *name)\n", false, &_init_f_glGetFragDataLocation_3395, &_call_f_glGetFragDataLocation_3395); - methods += new qt_gsi::GenericMethod ("glGetFramebufferParameteriv", "@brief Method void QOpenGLExtraFunctions::glGetFramebufferParameteriv(unsigned int target, unsigned int pname, int *params)\n", false, &_init_f_glGetFramebufferParameteriv_4281, &_call_f_glGetFramebufferParameteriv_4281); - methods += new qt_gsi::GenericMethod ("glGetGraphicsResetStatus", "@brief Method unsigned int QOpenGLExtraFunctions::glGetGraphicsResetStatus()\n", false, &_init_f_glGetGraphicsResetStatus_0, &_call_f_glGetGraphicsResetStatus_0); - methods += new qt_gsi::GenericMethod ("glGetInteger64i_v", "@brief Method void QOpenGLExtraFunctions::glGetInteger64i_v(unsigned int target, unsigned int index, signed long int *data)\n", false, &_init_f_glGetInteger64i_v_5635, &_call_f_glGetInteger64i_v_5635); - methods += new qt_gsi::GenericMethod ("glGetInteger64v", "@brief Method void QOpenGLExtraFunctions::glGetInteger64v(unsigned int pname, signed long int *data)\n", false, &_init_f_glGetInteger64v_3971, &_call_f_glGetInteger64v_3971); - methods += new qt_gsi::GenericMethod ("glGetIntegeri_v", "@brief Method void QOpenGLExtraFunctions::glGetIntegeri_v(unsigned int target, unsigned int index, int *data)\n", false, &_init_f_glGetIntegeri_v_4281, &_call_f_glGetIntegeri_v_4281); - methods += new qt_gsi::GenericMethod ("glGetInternalformativ", "@brief Method void QOpenGLExtraFunctions::glGetInternalformativ(unsigned int target, unsigned int internalformat, unsigned int pname, int bufSize, int *params)\n", false, &_init_f_glGetInternalformativ_6604, &_call_f_glGetInternalformativ_6604); - methods += new qt_gsi::GenericMethod ("glGetMultisamplefv", "@brief Method void QOpenGLExtraFunctions::glGetMultisamplefv(unsigned int pname, unsigned int index, float *val)\n", false, &_init_f_glGetMultisamplefv_4484, &_call_f_glGetMultisamplefv_4484); - methods += new qt_gsi::GenericMethod ("glGetObjectLabel", "@brief Method void QOpenGLExtraFunctions::glGetObjectLabel(unsigned int identifier, unsigned int name, int bufSize, int *length, char *label)\n", false, &_init_f_glGetObjectLabel_5868, &_call_f_glGetObjectLabel_5868); - methods += new qt_gsi::GenericMethod ("glGetObjectPtrLabel", "@brief Method void QOpenGLExtraFunctions::glGetObjectPtrLabel(const void *ptr, int bufSize, int *length, char *label)\n", false, &_init_f_glGetObjectPtrLabel_4183, &_call_f_glGetObjectPtrLabel_4183); - methods += new qt_gsi::GenericMethod ("glGetPointerv", "@brief Method void QOpenGLExtraFunctions::glGetPointerv(unsigned int pname, void **params)\n", false, &_init_f_glGetPointerv_2762, &_call_f_glGetPointerv_2762); - methods += new qt_gsi::GenericMethod ("glGetProgramBinary", "@brief Method void QOpenGLExtraFunctions::glGetProgramBinary(unsigned int program, int bufSize, int *length, unsigned int *binaryFormat, void *binary)\n", false, &_init_f_glGetProgramBinary_6074, &_call_f_glGetProgramBinary_6074); - methods += new qt_gsi::GenericMethod ("glGetProgramInterfaceiv", "@brief Method void QOpenGLExtraFunctions::glGetProgramInterfaceiv(unsigned int program, unsigned int programInterface, unsigned int pname, int *params)\n", false, &_init_f_glGetProgramInterfaceiv_5945, &_call_f_glGetProgramInterfaceiv_5945); - methods += new qt_gsi::GenericMethod ("glGetProgramPipelineInfoLog", "@brief Method void QOpenGLExtraFunctions::glGetProgramPipelineInfoLog(unsigned int pipeline, int bufSize, int *length, char *infoLog)\n", false, &_init_f_glGetProgramPipelineInfoLog_4204, &_call_f_glGetProgramPipelineInfoLog_4204); - methods += new qt_gsi::GenericMethod ("glGetProgramPipelineiv", "@brief Method void QOpenGLExtraFunctions::glGetProgramPipelineiv(unsigned int pipeline, unsigned int pname, int *params)\n", false, &_init_f_glGetProgramPipelineiv_4281, &_call_f_glGetProgramPipelineiv_4281); - methods += new qt_gsi::GenericMethod ("glGetProgramResourceIndex", "@brief Method unsigned int QOpenGLExtraFunctions::glGetProgramResourceIndex(unsigned int program, unsigned int programInterface, const char *name)\n", false, &_init_f_glGetProgramResourceIndex_5059, &_call_f_glGetProgramResourceIndex_5059); - methods += new qt_gsi::GenericMethod ("glGetProgramResourceLocation", "@brief Method int QOpenGLExtraFunctions::glGetProgramResourceLocation(unsigned int program, unsigned int programInterface, const char *name)\n", false, &_init_f_glGetProgramResourceLocation_5059, &_call_f_glGetProgramResourceLocation_5059); - methods += new qt_gsi::GenericMethod ("glGetProgramResourceName", "@brief Method void QOpenGLExtraFunctions::glGetProgramResourceName(unsigned int program, unsigned int programInterface, unsigned int index, int bufSize, int *length, char *name)\n", false, &_init_f_glGetProgramResourceName_7532, &_call_f_glGetProgramResourceName_7532); - methods += new qt_gsi::GenericMethod ("glGetProgramResourceiv", "@brief Method void QOpenGLExtraFunctions::glGetProgramResourceiv(unsigned int program, unsigned int programInterface, unsigned int index, int propCount, const unsigned int *props, int bufSize, int *length, int *params)\n", false, &_init_f_glGetProgramResourceiv_10653, &_call_f_glGetProgramResourceiv_10653); - methods += new qt_gsi::GenericMethod ("glGetQueryObjectuiv", "@brief Method void QOpenGLExtraFunctions::glGetQueryObjectuiv(unsigned int id, unsigned int pname, unsigned int *params)\n", false, &_init_f_glGetQueryObjectuiv_5286, &_call_f_glGetQueryObjectuiv_5286); - methods += new qt_gsi::GenericMethod ("glGetQueryiv", "@brief Method void QOpenGLExtraFunctions::glGetQueryiv(unsigned int target, unsigned int pname, int *params)\n", false, &_init_f_glGetQueryiv_4281, &_call_f_glGetQueryiv_4281); - methods += new qt_gsi::GenericMethod ("glGetSamplerParameterIiv", "@brief Method void QOpenGLExtraFunctions::glGetSamplerParameterIiv(unsigned int sampler, unsigned int pname, int *params)\n", false, &_init_f_glGetSamplerParameterIiv_4281, &_call_f_glGetSamplerParameterIiv_4281); - methods += new qt_gsi::GenericMethod ("glGetSamplerParameterIuiv", "@brief Method void QOpenGLExtraFunctions::glGetSamplerParameterIuiv(unsigned int sampler, unsigned int pname, unsigned int *params)\n", false, &_init_f_glGetSamplerParameterIuiv_5286, &_call_f_glGetSamplerParameterIuiv_5286); - methods += new qt_gsi::GenericMethod ("glGetSamplerParameterfv", "@brief Method void QOpenGLExtraFunctions::glGetSamplerParameterfv(unsigned int sampler, unsigned int pname, float *params)\n", false, &_init_f_glGetSamplerParameterfv_4484, &_call_f_glGetSamplerParameterfv_4484); - methods += new qt_gsi::GenericMethod ("glGetSamplerParameteriv", "@brief Method void QOpenGLExtraFunctions::glGetSamplerParameteriv(unsigned int sampler, unsigned int pname, int *params)\n", false, &_init_f_glGetSamplerParameteriv_4281, &_call_f_glGetSamplerParameteriv_4281); - methods += new qt_gsi::GenericMethod ("glGetStringi", "@brief Method const unsigned char *QOpenGLExtraFunctions::glGetStringi(unsigned int name, unsigned int index)\n", false, &_init_f_glGetStringi_3436, &_call_f_glGetStringi_3436); - methods += new qt_gsi::GenericMethod ("glGetSynciv", "@brief Method void QOpenGLExtraFunctions::glGetSynciv(struct __GLsync *sync, unsigned int pname, int bufSize, int *length, int *values)\n", false, &_init_f_glGetSynciv_6238, &_call_f_glGetSynciv_6238); - methods += new qt_gsi::GenericMethod ("glGetTexLevelParameterfv", "@brief Method void QOpenGLExtraFunctions::glGetTexLevelParameterfv(unsigned int target, int level, unsigned int pname, float *params)\n", false, &_init_f_glGetTexLevelParameterfv_5143, &_call_f_glGetTexLevelParameterfv_5143); - methods += new qt_gsi::GenericMethod ("glGetTexLevelParameteriv", "@brief Method void QOpenGLExtraFunctions::glGetTexLevelParameteriv(unsigned int target, int level, unsigned int pname, int *params)\n", false, &_init_f_glGetTexLevelParameteriv_4940, &_call_f_glGetTexLevelParameteriv_4940); - methods += new qt_gsi::GenericMethod ("glGetTexParameterIiv", "@brief Method void QOpenGLExtraFunctions::glGetTexParameterIiv(unsigned int target, unsigned int pname, int *params)\n", false, &_init_f_glGetTexParameterIiv_4281, &_call_f_glGetTexParameterIiv_4281); - methods += new qt_gsi::GenericMethod ("glGetTexParameterIuiv", "@brief Method void QOpenGLExtraFunctions::glGetTexParameterIuiv(unsigned int target, unsigned int pname, unsigned int *params)\n", false, &_init_f_glGetTexParameterIuiv_5286, &_call_f_glGetTexParameterIuiv_5286); - methods += new qt_gsi::GenericMethod ("glGetTransformFeedbackVarying", "@brief Method void QOpenGLExtraFunctions::glGetTransformFeedbackVarying(unsigned int program, unsigned int index, int bufSize, int *length, int *size, unsigned int *type, char *name)\n", false, &_init_f_glGetTransformFeedbackVarying_8563, &_call_f_glGetTransformFeedbackVarying_8563); - methods += new qt_gsi::GenericMethod ("glGetUniformBlockIndex", "@brief Method unsigned int QOpenGLExtraFunctions::glGetUniformBlockIndex(unsigned int program, const char *uniformBlockName)\n", false, &_init_f_glGetUniformBlockIndex_3395, &_call_f_glGetUniformBlockIndex_3395); - methods += new qt_gsi::GenericMethod ("glGetUniformIndices", "@brief Method void QOpenGLExtraFunctions::glGetUniformIndices(unsigned int program, int uniformCount, const char *const *uniformNames, unsigned int *uniformIndices)\n", false, &_init_f_glGetUniformIndices_6641, &_call_f_glGetUniformIndices_6641); - methods += new qt_gsi::GenericMethod ("glGetUniformuiv", "@brief Method void QOpenGLExtraFunctions::glGetUniformuiv(unsigned int program, int location, unsigned int *params)\n", false, &_init_f_glGetUniformuiv_4281, &_call_f_glGetUniformuiv_4281); - methods += new qt_gsi::GenericMethod ("glGetVertexAttribIiv", "@brief Method void QOpenGLExtraFunctions::glGetVertexAttribIiv(unsigned int index, unsigned int pname, int *params)\n", false, &_init_f_glGetVertexAttribIiv_4281, &_call_f_glGetVertexAttribIiv_4281); - methods += new qt_gsi::GenericMethod ("glGetVertexAttribIuiv", "@brief Method void QOpenGLExtraFunctions::glGetVertexAttribIuiv(unsigned int index, unsigned int pname, unsigned int *params)\n", false, &_init_f_glGetVertexAttribIuiv_5286, &_call_f_glGetVertexAttribIuiv_5286); - methods += new qt_gsi::GenericMethod ("glGetnUniformfv", "@brief Method void QOpenGLExtraFunctions::glGetnUniformfv(unsigned int program, int location, int bufSize, float *params)\n", false, &_init_f_glGetnUniformfv_4138, &_call_f_glGetnUniformfv_4138); - methods += new qt_gsi::GenericMethod ("glGetnUniformiv", "@brief Method void QOpenGLExtraFunctions::glGetnUniformiv(unsigned int program, int location, int bufSize, int *params)\n", false, &_init_f_glGetnUniformiv_3935, &_call_f_glGetnUniformiv_3935); - methods += new qt_gsi::GenericMethod ("glGetnUniformuiv", "@brief Method void QOpenGLExtraFunctions::glGetnUniformuiv(unsigned int program, int location, int bufSize, unsigned int *params)\n", false, &_init_f_glGetnUniformuiv_4940, &_call_f_glGetnUniformuiv_4940); - methods += new qt_gsi::GenericMethod ("glInvalidateFramebuffer", "@brief Method void QOpenGLExtraFunctions::glInvalidateFramebuffer(unsigned int target, int numAttachments, const unsigned int *attachments)\n", false, &_init_f_glInvalidateFramebuffer_4976, &_call_f_glInvalidateFramebuffer_4976); - methods += new qt_gsi::GenericMethod ("glInvalidateSubFramebuffer", "@brief Method void QOpenGLExtraFunctions::glInvalidateSubFramebuffer(unsigned int target, int numAttachments, const unsigned int *attachments, int x, int y, int width, int height)\n", false, &_init_f_glInvalidateSubFramebuffer_7612, &_call_f_glInvalidateSubFramebuffer_7612); - methods += new qt_gsi::GenericMethod ("glIsEnabledi", "@brief Method unsigned char QOpenGLExtraFunctions::glIsEnabledi(unsigned int target, unsigned int index)\n", false, &_init_f_glIsEnabledi_3436, &_call_f_glIsEnabledi_3436); - methods += new qt_gsi::GenericMethod ("glIsProgramPipeline", "@brief Method unsigned char QOpenGLExtraFunctions::glIsProgramPipeline(unsigned int pipeline)\n", false, &_init_f_glIsProgramPipeline_1772, &_call_f_glIsProgramPipeline_1772); - methods += new qt_gsi::GenericMethod ("glIsQuery", "@brief Method unsigned char QOpenGLExtraFunctions::glIsQuery(unsigned int id)\n", false, &_init_f_glIsQuery_1772, &_call_f_glIsQuery_1772); - methods += new qt_gsi::GenericMethod ("glIsSampler", "@brief Method unsigned char QOpenGLExtraFunctions::glIsSampler(unsigned int sampler)\n", false, &_init_f_glIsSampler_1772, &_call_f_glIsSampler_1772); - methods += new qt_gsi::GenericMethod ("glIsSync", "@brief Method unsigned char QOpenGLExtraFunctions::glIsSync(struct __GLsync *sync)\n", false, &_init_f_glIsSync_2225, &_call_f_glIsSync_2225); - methods += new qt_gsi::GenericMethod ("glIsTransformFeedback", "@brief Method unsigned char QOpenGLExtraFunctions::glIsTransformFeedback(unsigned int id)\n", false, &_init_f_glIsTransformFeedback_1772, &_call_f_glIsTransformFeedback_1772); - methods += new qt_gsi::GenericMethod ("glIsVertexArray", "@brief Method unsigned char QOpenGLExtraFunctions::glIsVertexArray(unsigned int array)\n", false, &_init_f_glIsVertexArray_1772, &_call_f_glIsVertexArray_1772); - methods += new qt_gsi::GenericMethod ("glMapBufferRange", "@brief Method void *QOpenGLExtraFunctions::glMapBufferRange(unsigned int target, signed long int offset, signed long int length, unsigned int access)\n", false, &_init_f_glMapBufferRange_7462, &_call_f_glMapBufferRange_7462); - methods += new qt_gsi::GenericMethod ("glMemoryBarrier", "@brief Method void QOpenGLExtraFunctions::glMemoryBarrier(unsigned int barriers)\n", false, &_init_f_glMemoryBarrier_1772, &_call_f_glMemoryBarrier_1772); - methods += new qt_gsi::GenericMethod ("glMemoryBarrierByRegion", "@brief Method void QOpenGLExtraFunctions::glMemoryBarrierByRegion(unsigned int barriers)\n", false, &_init_f_glMemoryBarrierByRegion_1772, &_call_f_glMemoryBarrierByRegion_1772); - methods += new qt_gsi::GenericMethod ("glMinSampleShading", "@brief Method void QOpenGLExtraFunctions::glMinSampleShading(float value)\n", false, &_init_f_glMinSampleShading_970, &_call_f_glMinSampleShading_970); - methods += new qt_gsi::GenericMethod ("glObjectLabel", "@brief Method void QOpenGLExtraFunctions::glObjectLabel(unsigned int identifier, unsigned int name, int length, const char *label)\n", false, &_init_f_glObjectLabel_5718, &_call_f_glObjectLabel_5718); - methods += new qt_gsi::GenericMethod ("glObjectPtrLabel", "@brief Method void QOpenGLExtraFunctions::glObjectPtrLabel(const void *ptr, int length, const char *label)\n", false, &_init_f_glObjectPtrLabel_4033, &_call_f_glObjectPtrLabel_4033); - methods += new qt_gsi::GenericMethod ("glPatchParameteri", "@brief Method void QOpenGLExtraFunctions::glPatchParameteri(unsigned int pname, int value)\n", false, &_init_f_glPatchParameteri_2431, &_call_f_glPatchParameteri_2431); - methods += new qt_gsi::GenericMethod ("glPauseTransformFeedback", "@brief Method void QOpenGLExtraFunctions::glPauseTransformFeedback()\n", false, &_init_f_glPauseTransformFeedback_0, &_call_f_glPauseTransformFeedback_0); - methods += new qt_gsi::GenericMethod ("glPopDebugGroup", "@brief Method void QOpenGLExtraFunctions::glPopDebugGroup()\n", false, &_init_f_glPopDebugGroup_0, &_call_f_glPopDebugGroup_0); - methods += new qt_gsi::GenericMethod ("glPrimitiveBoundingBox", "@brief Method void QOpenGLExtraFunctions::glPrimitiveBoundingBox(float minX, float minY, float minZ, float minW, float maxX, float maxY, float maxZ, float maxW)\n", false, &_init_f_glPrimitiveBoundingBox_7004, &_call_f_glPrimitiveBoundingBox_7004); - methods += new qt_gsi::GenericMethod ("glProgramBinary", "@brief Method void QOpenGLExtraFunctions::glProgramBinary(unsigned int program, unsigned int binaryFormat, const void *binary, int length)\n", false, &_init_f_glProgramBinary_5738, &_call_f_glProgramBinary_5738); - methods += new qt_gsi::GenericMethod ("glProgramParameteri", "@brief Method void QOpenGLExtraFunctions::glProgramParameteri(unsigned int program, unsigned int pname, int value)\n", false, &_init_f_glProgramParameteri_4095, &_call_f_glProgramParameteri_4095); - methods += new qt_gsi::GenericMethod ("glProgramUniform1f", "@brief Method void QOpenGLExtraFunctions::glProgramUniform1f(unsigned int program, int location, float v0)\n", false, &_init_f_glProgramUniform1f_3293, &_call_f_glProgramUniform1f_3293); - methods += new qt_gsi::GenericMethod ("glProgramUniform1fv", "@brief Method void QOpenGLExtraFunctions::glProgramUniform1fv(unsigned int program, int location, int count, const float *value)\n", false, &_init_f_glProgramUniform1fv_4833, &_call_f_glProgramUniform1fv_4833); - methods += new qt_gsi::GenericMethod ("glProgramUniform1i", "@brief Method void QOpenGLExtraFunctions::glProgramUniform1i(unsigned int program, int location, int v0)\n", false, &_init_f_glProgramUniform1i_3090, &_call_f_glProgramUniform1i_3090); - methods += new qt_gsi::GenericMethod ("glProgramUniform1iv", "@brief Method void QOpenGLExtraFunctions::glProgramUniform1iv(unsigned int program, int location, int count, const int *value)\n", false, &_init_f_glProgramUniform1iv_4630, &_call_f_glProgramUniform1iv_4630); - methods += new qt_gsi::GenericMethod ("glProgramUniform1ui", "@brief Method void QOpenGLExtraFunctions::glProgramUniform1ui(unsigned int program, int location, unsigned int v0)\n", false, &_init_f_glProgramUniform1ui_4095, &_call_f_glProgramUniform1ui_4095); - methods += new qt_gsi::GenericMethod ("glProgramUniform1uiv", "@brief Method void QOpenGLExtraFunctions::glProgramUniform1uiv(unsigned int program, int location, int count, const unsigned int *value)\n", false, &_init_f_glProgramUniform1uiv_5635, &_call_f_glProgramUniform1uiv_5635); - methods += new qt_gsi::GenericMethod ("glProgramUniform2f", "@brief Method void QOpenGLExtraFunctions::glProgramUniform2f(unsigned int program, int location, float v0, float v1)\n", false, &_init_f_glProgramUniform2f_4155, &_call_f_glProgramUniform2f_4155); - methods += new qt_gsi::GenericMethod ("glProgramUniform2fv", "@brief Method void QOpenGLExtraFunctions::glProgramUniform2fv(unsigned int program, int location, int count, const float *value)\n", false, &_init_f_glProgramUniform2fv_4833, &_call_f_glProgramUniform2fv_4833); - methods += new qt_gsi::GenericMethod ("glProgramUniform2i", "@brief Method void QOpenGLExtraFunctions::glProgramUniform2i(unsigned int program, int location, int v0, int v1)\n", false, &_init_f_glProgramUniform2i_3749, &_call_f_glProgramUniform2i_3749); - methods += new qt_gsi::GenericMethod ("glProgramUniform2iv", "@brief Method void QOpenGLExtraFunctions::glProgramUniform2iv(unsigned int program, int location, int count, const int *value)\n", false, &_init_f_glProgramUniform2iv_4630, &_call_f_glProgramUniform2iv_4630); - methods += new qt_gsi::GenericMethod ("glProgramUniform2ui", "@brief Method void QOpenGLExtraFunctions::glProgramUniform2ui(unsigned int program, int location, unsigned int v0, unsigned int v1)\n", false, &_init_f_glProgramUniform2ui_5759, &_call_f_glProgramUniform2ui_5759); - methods += new qt_gsi::GenericMethod ("glProgramUniform2uiv", "@brief Method void QOpenGLExtraFunctions::glProgramUniform2uiv(unsigned int program, int location, int count, const unsigned int *value)\n", false, &_init_f_glProgramUniform2uiv_5635, &_call_f_glProgramUniform2uiv_5635); - methods += new qt_gsi::GenericMethod ("glProgramUniform3f", "@brief Method void QOpenGLExtraFunctions::glProgramUniform3f(unsigned int program, int location, float v0, float v1, float v2)\n", false, &_init_f_glProgramUniform3f_5017, &_call_f_glProgramUniform3f_5017); - methods += new qt_gsi::GenericMethod ("glProgramUniform3fv", "@brief Method void QOpenGLExtraFunctions::glProgramUniform3fv(unsigned int program, int location, int count, const float *value)\n", false, &_init_f_glProgramUniform3fv_4833, &_call_f_glProgramUniform3fv_4833); - methods += new qt_gsi::GenericMethod ("glProgramUniform3i", "@brief Method void QOpenGLExtraFunctions::glProgramUniform3i(unsigned int program, int location, int v0, int v1, int v2)\n", false, &_init_f_glProgramUniform3i_4408, &_call_f_glProgramUniform3i_4408); - methods += new qt_gsi::GenericMethod ("glProgramUniform3iv", "@brief Method void QOpenGLExtraFunctions::glProgramUniform3iv(unsigned int program, int location, int count, const int *value)\n", false, &_init_f_glProgramUniform3iv_4630, &_call_f_glProgramUniform3iv_4630); - methods += new qt_gsi::GenericMethod ("glProgramUniform3ui", "@brief Method void QOpenGLExtraFunctions::glProgramUniform3ui(unsigned int program, int location, unsigned int v0, unsigned int v1, unsigned int v2)\n", false, &_init_f_glProgramUniform3ui_7423, &_call_f_glProgramUniform3ui_7423); - methods += new qt_gsi::GenericMethod ("glProgramUniform3uiv", "@brief Method void QOpenGLExtraFunctions::glProgramUniform3uiv(unsigned int program, int location, int count, const unsigned int *value)\n", false, &_init_f_glProgramUniform3uiv_5635, &_call_f_glProgramUniform3uiv_5635); - methods += new qt_gsi::GenericMethod ("glProgramUniform4f", "@brief Method void QOpenGLExtraFunctions::glProgramUniform4f(unsigned int program, int location, float v0, float v1, float v2, float v3)\n", false, &_init_f_glProgramUniform4f_5879, &_call_f_glProgramUniform4f_5879); - methods += new qt_gsi::GenericMethod ("glProgramUniform4fv", "@brief Method void QOpenGLExtraFunctions::glProgramUniform4fv(unsigned int program, int location, int count, const float *value)\n", false, &_init_f_glProgramUniform4fv_4833, &_call_f_glProgramUniform4fv_4833); - methods += new qt_gsi::GenericMethod ("glProgramUniform4i", "@brief Method void QOpenGLExtraFunctions::glProgramUniform4i(unsigned int program, int location, int v0, int v1, int v2, int v3)\n", false, &_init_f_glProgramUniform4i_5067, &_call_f_glProgramUniform4i_5067); - methods += new qt_gsi::GenericMethod ("glProgramUniform4iv", "@brief Method void QOpenGLExtraFunctions::glProgramUniform4iv(unsigned int program, int location, int count, const int *value)\n", false, &_init_f_glProgramUniform4iv_4630, &_call_f_glProgramUniform4iv_4630); - methods += new qt_gsi::GenericMethod ("glProgramUniform4ui", "@brief Method void QOpenGLExtraFunctions::glProgramUniform4ui(unsigned int program, int location, unsigned int v0, unsigned int v1, unsigned int v2, unsigned int v3)\n", false, &_init_f_glProgramUniform4ui_9087, &_call_f_glProgramUniform4ui_9087); - methods += new qt_gsi::GenericMethod ("glProgramUniform4uiv", "@brief Method void QOpenGLExtraFunctions::glProgramUniform4uiv(unsigned int program, int location, int count, const unsigned int *value)\n", false, &_init_f_glProgramUniform4uiv_5635, &_call_f_glProgramUniform4uiv_5635); - methods += new qt_gsi::GenericMethod ("glProgramUniformMatrix2fv", "@brief Method void QOpenGLExtraFunctions::glProgramUniformMatrix2fv(unsigned int program, int location, int count, unsigned char transpose, const float *value)\n", false, &_init_f_glProgramUniformMatrix2fv_6580, &_call_f_glProgramUniformMatrix2fv_6580); - methods += new qt_gsi::GenericMethod ("glProgramUniformMatrix2x3fv", "@brief Method void QOpenGLExtraFunctions::glProgramUniformMatrix2x3fv(unsigned int program, int location, int count, unsigned char transpose, const float *value)\n", false, &_init_f_glProgramUniformMatrix2x3fv_6580, &_call_f_glProgramUniformMatrix2x3fv_6580); - methods += new qt_gsi::GenericMethod ("glProgramUniformMatrix2x4fv", "@brief Method void QOpenGLExtraFunctions::glProgramUniformMatrix2x4fv(unsigned int program, int location, int count, unsigned char transpose, const float *value)\n", false, &_init_f_glProgramUniformMatrix2x4fv_6580, &_call_f_glProgramUniformMatrix2x4fv_6580); - methods += new qt_gsi::GenericMethod ("glProgramUniformMatrix3fv", "@brief Method void QOpenGLExtraFunctions::glProgramUniformMatrix3fv(unsigned int program, int location, int count, unsigned char transpose, const float *value)\n", false, &_init_f_glProgramUniformMatrix3fv_6580, &_call_f_glProgramUniformMatrix3fv_6580); - methods += new qt_gsi::GenericMethod ("glProgramUniformMatrix3x2fv", "@brief Method void QOpenGLExtraFunctions::glProgramUniformMatrix3x2fv(unsigned int program, int location, int count, unsigned char transpose, const float *value)\n", false, &_init_f_glProgramUniformMatrix3x2fv_6580, &_call_f_glProgramUniformMatrix3x2fv_6580); - methods += new qt_gsi::GenericMethod ("glProgramUniformMatrix3x4fv", "@brief Method void QOpenGLExtraFunctions::glProgramUniformMatrix3x4fv(unsigned int program, int location, int count, unsigned char transpose, const float *value)\n", false, &_init_f_glProgramUniformMatrix3x4fv_6580, &_call_f_glProgramUniformMatrix3x4fv_6580); - methods += new qt_gsi::GenericMethod ("glProgramUniformMatrix4fv", "@brief Method void QOpenGLExtraFunctions::glProgramUniformMatrix4fv(unsigned int program, int location, int count, unsigned char transpose, const float *value)\n", false, &_init_f_glProgramUniformMatrix4fv_6580, &_call_f_glProgramUniformMatrix4fv_6580); - methods += new qt_gsi::GenericMethod ("glProgramUniformMatrix4x2fv", "@brief Method void QOpenGLExtraFunctions::glProgramUniformMatrix4x2fv(unsigned int program, int location, int count, unsigned char transpose, const float *value)\n", false, &_init_f_glProgramUniformMatrix4x2fv_6580, &_call_f_glProgramUniformMatrix4x2fv_6580); - methods += new qt_gsi::GenericMethod ("glProgramUniformMatrix4x3fv", "@brief Method void QOpenGLExtraFunctions::glProgramUniformMatrix4x3fv(unsigned int program, int location, int count, unsigned char transpose, const float *value)\n", false, &_init_f_glProgramUniformMatrix4x3fv_6580, &_call_f_glProgramUniformMatrix4x3fv_6580); - methods += new qt_gsi::GenericMethod ("glPushDebugGroup", "@brief Method void QOpenGLExtraFunctions::glPushDebugGroup(unsigned int source, unsigned int id, int length, const char *message)\n", false, &_init_f_glPushDebugGroup_5718, &_call_f_glPushDebugGroup_5718); - methods += new qt_gsi::GenericMethod ("glReadBuffer", "@brief Method void QOpenGLExtraFunctions::glReadBuffer(unsigned int mode)\n", false, &_init_f_glReadBuffer_1772, &_call_f_glReadBuffer_1772); - methods += new qt_gsi::GenericMethod ("glReadnPixels", "@brief Method void QOpenGLExtraFunctions::glReadnPixels(int x, int y, int width, int height, unsigned int format, unsigned int type, int bufSize, void *data)\n", false, &_init_f_glReadnPixels_7679, &_call_f_glReadnPixels_7679); - methods += new qt_gsi::GenericMethod ("glRenderbufferStorageMultisample", "@brief Method void QOpenGLExtraFunctions::glRenderbufferStorageMultisample(unsigned int target, int samples, unsigned int internalformat, int width, int height)\n", false, &_init_f_glRenderbufferStorageMultisample_5413, &_call_f_glRenderbufferStorageMultisample_5413); - methods += new qt_gsi::GenericMethod ("glResumeTransformFeedback", "@brief Method void QOpenGLExtraFunctions::glResumeTransformFeedback()\n", false, &_init_f_glResumeTransformFeedback_0, &_call_f_glResumeTransformFeedback_0); - methods += new qt_gsi::GenericMethod ("glSampleMaski", "@brief Method void QOpenGLExtraFunctions::glSampleMaski(unsigned int maskNumber, unsigned int mask)\n", false, &_init_f_glSampleMaski_3436, &_call_f_glSampleMaski_3436); - methods += new qt_gsi::GenericMethod ("glSamplerParameterIiv", "@brief Method void QOpenGLExtraFunctions::glSamplerParameterIiv(unsigned int sampler, unsigned int pname, const int *param)\n", false, &_init_f_glSamplerParameterIiv_4976, &_call_f_glSamplerParameterIiv_4976); - methods += new qt_gsi::GenericMethod ("glSamplerParameterIuiv", "@brief Method void QOpenGLExtraFunctions::glSamplerParameterIuiv(unsigned int sampler, unsigned int pname, const unsigned int *param)\n", false, &_init_f_glSamplerParameterIuiv_5981, &_call_f_glSamplerParameterIuiv_5981); - methods += new qt_gsi::GenericMethod ("glSamplerParameterf", "@brief Method void QOpenGLExtraFunctions::glSamplerParameterf(unsigned int sampler, unsigned int pname, float param)\n", false, &_init_f_glSamplerParameterf_4298, &_call_f_glSamplerParameterf_4298); - methods += new qt_gsi::GenericMethod ("glSamplerParameterfv", "@brief Method void QOpenGLExtraFunctions::glSamplerParameterfv(unsigned int sampler, unsigned int pname, const float *param)\n", false, &_init_f_glSamplerParameterfv_5179, &_call_f_glSamplerParameterfv_5179); - methods += new qt_gsi::GenericMethod ("glSamplerParameteri", "@brief Method void QOpenGLExtraFunctions::glSamplerParameteri(unsigned int sampler, unsigned int pname, int param)\n", false, &_init_f_glSamplerParameteri_4095, &_call_f_glSamplerParameteri_4095); - methods += new qt_gsi::GenericMethod ("glSamplerParameteriv", "@brief Method void QOpenGLExtraFunctions::glSamplerParameteriv(unsigned int sampler, unsigned int pname, const int *param)\n", false, &_init_f_glSamplerParameteriv_4976, &_call_f_glSamplerParameteriv_4976); - methods += new qt_gsi::GenericMethod ("glTexBuffer", "@brief Method void QOpenGLExtraFunctions::glTexBuffer(unsigned int target, unsigned int internalformat, unsigned int buffer)\n", false, &_init_f_glTexBuffer_5100, &_call_f_glTexBuffer_5100); - methods += new qt_gsi::GenericMethod ("glTexBufferRange", "@brief Method void QOpenGLExtraFunctions::glTexBufferRange(unsigned int target, unsigned int internalformat, unsigned int buffer, signed long int offset, signed long int size)\n", false, &_init_f_glTexBufferRange_9126, &_call_f_glTexBufferRange_9126); - methods += new qt_gsi::GenericMethod ("glTexImage3D", "@brief Method void QOpenGLExtraFunctions::glTexImage3D(unsigned int target, int level, int internalformat, int width, int height, int depth, int border, unsigned int format, unsigned int type, const void *pixels)\n", false, &_init_f_glTexImage3D_10697, &_call_f_glTexImage3D_10697); - methods += new qt_gsi::GenericMethod ("glTexParameterIiv", "@brief Method void QOpenGLExtraFunctions::glTexParameterIiv(unsigned int target, unsigned int pname, const int *params)\n", false, &_init_f_glTexParameterIiv_4976, &_call_f_glTexParameterIiv_4976); - methods += new qt_gsi::GenericMethod ("glTexParameterIuiv", "@brief Method void QOpenGLExtraFunctions::glTexParameterIuiv(unsigned int target, unsigned int pname, const unsigned int *params)\n", false, &_init_f_glTexParameterIuiv_5981, &_call_f_glTexParameterIuiv_5981); - methods += new qt_gsi::GenericMethod ("glTexStorage2D", "@brief Method void QOpenGLExtraFunctions::glTexStorage2D(unsigned int target, int levels, unsigned int internalformat, int width, int height)\n", false, &_init_f_glTexStorage2D_5413, &_call_f_glTexStorage2D_5413); - methods += new qt_gsi::GenericMethod ("glTexStorage2DMultisample", "@brief Method void QOpenGLExtraFunctions::glTexStorage2DMultisample(unsigned int target, int samples, unsigned int internalformat, int width, int height, unsigned char fixedsamplelocations)\n", false, &_init_f_glTexStorage2DMultisample_7160, &_call_f_glTexStorage2DMultisample_7160); - methods += new qt_gsi::GenericMethod ("glTexStorage3D", "@brief Method void QOpenGLExtraFunctions::glTexStorage3D(unsigned int target, int levels, unsigned int internalformat, int width, int height, int depth)\n", false, &_init_f_glTexStorage3D_6072, &_call_f_glTexStorage3D_6072); - methods += new qt_gsi::GenericMethod ("glTexStorage3DMultisample", "@brief Method void QOpenGLExtraFunctions::glTexStorage3DMultisample(unsigned int target, int samples, unsigned int internalformat, int width, int height, int depth, unsigned char fixedsamplelocations)\n", false, &_init_f_glTexStorage3DMultisample_7819, &_call_f_glTexStorage3DMultisample_7819); - methods += new qt_gsi::GenericMethod ("glTexSubImage3D", "@brief Method void QOpenGLExtraFunctions::glTexSubImage3D(unsigned int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, unsigned int format, unsigned int type, const void *pixels)\n", false, &_init_f_glTexSubImage3D_11356, &_call_f_glTexSubImage3D_11356); - methods += new qt_gsi::GenericMethod ("glTransformFeedbackVaryings", "@brief Method void QOpenGLExtraFunctions::glTransformFeedbackVaryings(unsigned int program, int count, const char *const *varyings, unsigned int bufferMode)\n", false, &_init_f_glTransformFeedbackVaryings_6455, &_call_f_glTransformFeedbackVaryings_6455); - methods += new qt_gsi::GenericMethod ("glUniform1ui", "@brief Method void QOpenGLExtraFunctions::glUniform1ui(int location, unsigned int v0)\n", false, &_init_f_glUniform1ui_2431, &_call_f_glUniform1ui_2431); - methods += new qt_gsi::GenericMethod ("glUniform1uiv", "@brief Method void QOpenGLExtraFunctions::glUniform1uiv(int location, int count, const unsigned int *value)\n", false, &_init_f_glUniform1uiv_3971, &_call_f_glUniform1uiv_3971); - methods += new qt_gsi::GenericMethod ("glUniform2ui", "@brief Method void QOpenGLExtraFunctions::glUniform2ui(int location, unsigned int v0, unsigned int v1)\n", false, &_init_f_glUniform2ui_4095, &_call_f_glUniform2ui_4095); - methods += new qt_gsi::GenericMethod ("glUniform2uiv", "@brief Method void QOpenGLExtraFunctions::glUniform2uiv(int location, int count, const unsigned int *value)\n", false, &_init_f_glUniform2uiv_3971, &_call_f_glUniform2uiv_3971); - methods += new qt_gsi::GenericMethod ("glUniform3ui", "@brief Method void QOpenGLExtraFunctions::glUniform3ui(int location, unsigned int v0, unsigned int v1, unsigned int v2)\n", false, &_init_f_glUniform3ui_5759, &_call_f_glUniform3ui_5759); - methods += new qt_gsi::GenericMethod ("glUniform3uiv", "@brief Method void QOpenGLExtraFunctions::glUniform3uiv(int location, int count, const unsigned int *value)\n", false, &_init_f_glUniform3uiv_3971, &_call_f_glUniform3uiv_3971); - methods += new qt_gsi::GenericMethod ("glUniform4ui", "@brief Method void QOpenGLExtraFunctions::glUniform4ui(int location, unsigned int v0, unsigned int v1, unsigned int v2, unsigned int v3)\n", false, &_init_f_glUniform4ui_7423, &_call_f_glUniform4ui_7423); - methods += new qt_gsi::GenericMethod ("glUniform4uiv", "@brief Method void QOpenGLExtraFunctions::glUniform4uiv(int location, int count, const unsigned int *value)\n", false, &_init_f_glUniform4uiv_3971, &_call_f_glUniform4uiv_3971); - methods += new qt_gsi::GenericMethod ("glUniformBlockBinding", "@brief Method void QOpenGLExtraFunctions::glUniformBlockBinding(unsigned int program, unsigned int uniformBlockIndex, unsigned int uniformBlockBinding)\n", false, &_init_f_glUniformBlockBinding_5100, &_call_f_glUniformBlockBinding_5100); - methods += new qt_gsi::GenericMethod ("glUniformMatrix2x3fv", "@brief Method void QOpenGLExtraFunctions::glUniformMatrix2x3fv(int location, int count, unsigned char transpose, const float *value)\n", false, &_init_f_glUniformMatrix2x3fv_4916, &_call_f_glUniformMatrix2x3fv_4916); - methods += new qt_gsi::GenericMethod ("glUniformMatrix2x4fv", "@brief Method void QOpenGLExtraFunctions::glUniformMatrix2x4fv(int location, int count, unsigned char transpose, const float *value)\n", false, &_init_f_glUniformMatrix2x4fv_4916, &_call_f_glUniformMatrix2x4fv_4916); - methods += new qt_gsi::GenericMethod ("glUniformMatrix3x2fv", "@brief Method void QOpenGLExtraFunctions::glUniformMatrix3x2fv(int location, int count, unsigned char transpose, const float *value)\n", false, &_init_f_glUniformMatrix3x2fv_4916, &_call_f_glUniformMatrix3x2fv_4916); - methods += new qt_gsi::GenericMethod ("glUniformMatrix3x4fv", "@brief Method void QOpenGLExtraFunctions::glUniformMatrix3x4fv(int location, int count, unsigned char transpose, const float *value)\n", false, &_init_f_glUniformMatrix3x4fv_4916, &_call_f_glUniformMatrix3x4fv_4916); - methods += new qt_gsi::GenericMethod ("glUniformMatrix4x2fv", "@brief Method void QOpenGLExtraFunctions::glUniformMatrix4x2fv(int location, int count, unsigned char transpose, const float *value)\n", false, &_init_f_glUniformMatrix4x2fv_4916, &_call_f_glUniformMatrix4x2fv_4916); - methods += new qt_gsi::GenericMethod ("glUniformMatrix4x3fv", "@brief Method void QOpenGLExtraFunctions::glUniformMatrix4x3fv(int location, int count, unsigned char transpose, const float *value)\n", false, &_init_f_glUniformMatrix4x3fv_4916, &_call_f_glUniformMatrix4x3fv_4916); - methods += new qt_gsi::GenericMethod ("glUnmapBuffer", "@brief Method unsigned char QOpenGLExtraFunctions::glUnmapBuffer(unsigned int target)\n", false, &_init_f_glUnmapBuffer_1772, &_call_f_glUnmapBuffer_1772); - methods += new qt_gsi::GenericMethod ("glUseProgramStages", "@brief Method void QOpenGLExtraFunctions::glUseProgramStages(unsigned int pipeline, unsigned int stages, unsigned int program)\n", false, &_init_f_glUseProgramStages_5100, &_call_f_glUseProgramStages_5100); - methods += new qt_gsi::GenericMethod ("glValidateProgramPipeline", "@brief Method void QOpenGLExtraFunctions::glValidateProgramPipeline(unsigned int pipeline)\n", false, &_init_f_glValidateProgramPipeline_1772, &_call_f_glValidateProgramPipeline_1772); - methods += new qt_gsi::GenericMethod ("glVertexAttribBinding", "@brief Method void QOpenGLExtraFunctions::glVertexAttribBinding(unsigned int attribindex, unsigned int bindingindex)\n", false, &_init_f_glVertexAttribBinding_3436, &_call_f_glVertexAttribBinding_3436); - methods += new qt_gsi::GenericMethod ("glVertexAttribDivisor", "@brief Method void QOpenGLExtraFunctions::glVertexAttribDivisor(unsigned int index, unsigned int divisor)\n", false, &_init_f_glVertexAttribDivisor_3436, &_call_f_glVertexAttribDivisor_3436); - methods += new qt_gsi::GenericMethod ("glVertexAttribFormat", "@brief Method void QOpenGLExtraFunctions::glVertexAttribFormat(unsigned int attribindex, int size, unsigned int type, unsigned char normalized, unsigned int relativeoffset)\n", false, &_init_f_glVertexAttribFormat_7506, &_call_f_glVertexAttribFormat_7506); - methods += new qt_gsi::GenericMethod ("glVertexAttribI4i", "@brief Method void QOpenGLExtraFunctions::glVertexAttribI4i(unsigned int index, int x, int y, int z, int w)\n", false, &_init_f_glVertexAttribI4i_4408, &_call_f_glVertexAttribI4i_4408); - methods += new qt_gsi::GenericMethod ("glVertexAttribI4iv", "@brief Method void QOpenGLExtraFunctions::glVertexAttribI4iv(unsigned int index, const int *v)\n", false, &_init_f_glVertexAttribI4iv_3312, &_call_f_glVertexAttribI4iv_3312); - methods += new qt_gsi::GenericMethod ("glVertexAttribI4ui", "@brief Method void QOpenGLExtraFunctions::glVertexAttribI4ui(unsigned int index, unsigned int x, unsigned int y, unsigned int z, unsigned int w)\n", false, &_init_f_glVertexAttribI4ui_8428, &_call_f_glVertexAttribI4ui_8428); - methods += new qt_gsi::GenericMethod ("glVertexAttribI4uiv", "@brief Method void QOpenGLExtraFunctions::glVertexAttribI4uiv(unsigned int index, const unsigned int *v)\n", false, &_init_f_glVertexAttribI4uiv_4317, &_call_f_glVertexAttribI4uiv_4317); - methods += new qt_gsi::GenericMethod ("glVertexAttribIFormat", "@brief Method void QOpenGLExtraFunctions::glVertexAttribIFormat(unsigned int attribindex, int size, unsigned int type, unsigned int relativeoffset)\n", false, &_init_f_glVertexAttribIFormat_5759, &_call_f_glVertexAttribIFormat_5759); - methods += new qt_gsi::GenericMethod ("glVertexAttribIPointer", "@brief Method void QOpenGLExtraFunctions::glVertexAttribIPointer(unsigned int index, int size, unsigned int type, int stride, const void *pointer)\n", false, &_init_f_glVertexAttribIPointer_6397, &_call_f_glVertexAttribIPointer_6397); - methods += new qt_gsi::GenericMethod ("glVertexBindingDivisor", "@brief Method void QOpenGLExtraFunctions::glVertexBindingDivisor(unsigned int bindingindex, unsigned int divisor)\n", false, &_init_f_glVertexBindingDivisor_3436, &_call_f_glVertexBindingDivisor_3436); - methods += new qt_gsi::GenericMethod ("glWaitSync", "@brief Method void QOpenGLExtraFunctions::glWaitSync(struct __GLsync *sync, unsigned int flags, unsigned long int timeout)\n", false, &_init_f_glWaitSync_6129, &_call_f_glWaitSync_6129); - return methods; -} - -gsi::Class &qtdecl_QOpenGLFunctions (); - -gsi::Class decl_QOpenGLExtraFunctions (qtdecl_QOpenGLFunctions (), "QtGui", "QOpenGLExtraFunctions", - methods_QOpenGLExtraFunctions (), - "@qt\n@brief Binding of QOpenGLExtraFunctions"); - - -GSI_QTGUI_PUBLIC gsi::Class &qtdecl_QOpenGLExtraFunctions () { return decl_QOpenGLExtraFunctions; } - -} - diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQOpenGLExtraFunctionsPrivate.cc b/src/gsiqt/qt6/QtGui/gsiDeclQOpenGLExtraFunctionsPrivate.cc deleted file mode 100644 index 554a7745b..000000000 --- a/src/gsiqt/qt6/QtGui/gsiDeclQOpenGLExtraFunctionsPrivate.cc +++ /dev/null @@ -1,78 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQOpenGLExtraFunctionsPrivate.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtGuiCommon.h" -#include "gsiDeclQtGuiTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QOpenGLExtraFunctionsPrivate - -// Constructor QOpenGLExtraFunctionsPrivate::QOpenGLExtraFunctionsPrivate(QOpenGLContext *ctx) - - -static void _init_ctor_QOpenGLExtraFunctionsPrivate_1993 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("ctx"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QOpenGLExtraFunctionsPrivate_1993 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QOpenGLContext *arg1 = gsi::arg_reader() (args, heap); - ret.write (new QOpenGLExtraFunctionsPrivate (arg1)); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QOpenGLExtraFunctionsPrivate () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QOpenGLExtraFunctionsPrivate::QOpenGLExtraFunctionsPrivate(QOpenGLContext *ctx)\nThis method creates an object of class QOpenGLExtraFunctionsPrivate.", &_init_ctor_QOpenGLExtraFunctionsPrivate_1993, &_call_ctor_QOpenGLExtraFunctionsPrivate_1993); - return methods; -} - -gsi::Class &qtdecl_QOpenGLFunctionsPrivate (); - -gsi::Class decl_QOpenGLExtraFunctionsPrivate (qtdecl_QOpenGLFunctionsPrivate (), "QtGui", "QOpenGLExtraFunctionsPrivate", - methods_QOpenGLExtraFunctionsPrivate (), - "@qt\n@brief Binding of QOpenGLExtraFunctionsPrivate"); - - -GSI_QTGUI_PUBLIC gsi::Class &qtdecl_QOpenGLExtraFunctionsPrivate () { return decl_QOpenGLExtraFunctionsPrivate; } - -} - diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQOpenGLExtraFunctionsPrivate_Functions.cc b/src/gsiqt/qt6/QtGui/gsiDeclQOpenGLExtraFunctionsPrivate_Functions.cc deleted file mode 100644 index 46f8ab274..000000000 --- a/src/gsiqt/qt6/QtGui/gsiDeclQOpenGLExtraFunctionsPrivate_Functions.cc +++ /dev/null @@ -1,73 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQOpenGLExtraFunctionsPrivate_Functions.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtGuiCommon.h" -#include "gsiDeclQtGuiTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// struct QOpenGLExtraFunctionsPrivate::Functions - -// Constructor QOpenGLExtraFunctionsPrivate::Functions::Functions() - - -static void _init_ctor_QOpenGLExtraFunctionsPrivate_Functions_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QOpenGLExtraFunctionsPrivate_Functions_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QOpenGLExtraFunctionsPrivate::Functions ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QOpenGLExtraFunctionsPrivate_Functions () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QOpenGLExtraFunctionsPrivate::Functions::Functions()\nThis method creates an object of class QOpenGLExtraFunctionsPrivate::Functions.", &_init_ctor_QOpenGLExtraFunctionsPrivate_Functions_0, &_call_ctor_QOpenGLExtraFunctionsPrivate_Functions_0); - return methods; -} - -gsi::Class decl_QOpenGLExtraFunctionsPrivate_Functions ("QtGui", "QOpenGLExtraFunctionsPrivate_Functions", - methods_QOpenGLExtraFunctionsPrivate_Functions (), - "@qt\n@brief Binding of QOpenGLExtraFunctionsPrivate::Functions"); - -gsi::ClassExt decl_QOpenGLExtraFunctionsPrivate_Functions_as_child (decl_QOpenGLExtraFunctionsPrivate_Functions, "Functions"); - -GSI_QTGUI_PUBLIC gsi::Class &qtdecl_QOpenGLExtraFunctionsPrivate_Functions () { return decl_QOpenGLExtraFunctionsPrivate_Functions; } - -} - diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQVulkanDeviceFunctions.cc b/src/gsiqt/qt6/QtGui/gsiDeclQVulkanDeviceFunctions.cc deleted file mode 100644 index 632002fb4..000000000 --- a/src/gsiqt/qt6/QtGui/gsiDeclQVulkanDeviceFunctions.cc +++ /dev/null @@ -1,4404 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQVulkanDeviceFunctions.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtGuiCommon.h" -#include "gsiDeclQtGuiTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QVulkanDeviceFunctions - -// Constructor QVulkanDeviceFunctions::QVulkanDeviceFunctions() - - -static void _init_ctor_QVulkanDeviceFunctions_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QVulkanDeviceFunctions_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QVulkanDeviceFunctions ()); -} - - -// enum VkResult QVulkanDeviceFunctions::vkAllocateCommandBuffers(struct VkDevice_T *device, const struct VkCommandBufferAllocateInfo *pAllocateInfo, struct VkCommandBuffer_T **pCommandBuffers) - - -static void _init_f_vkAllocateCommandBuffers_10190 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pAllocateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pCommandBuffers"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkAllocateCommandBuffers_10190 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkCommandBufferAllocateInfo *arg2 = gsi::arg_reader() (args, heap); - struct VkCommandBuffer_T **arg3 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkAllocateCommandBuffers (arg1, arg2, arg3)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkAllocateDescriptorSets(struct VkDevice_T *device, const struct VkDescriptorSetAllocateInfo *pAllocateInfo, struct VkDescriptorSet_T **pDescriptorSets) - - -static void _init_f_vkAllocateDescriptorSets_10290 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pAllocateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pDescriptorSets"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkAllocateDescriptorSets_10290 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkDescriptorSetAllocateInfo *arg2 = gsi::arg_reader() (args, heap); - struct VkDescriptorSet_T **arg3 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkAllocateDescriptorSets (arg1, arg2, arg3)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkAllocateMemory(struct VkDevice_T *device, const struct VkMemoryAllocateInfo *pAllocateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkDeviceMemory_T **pMemory) - - -static void _init_f_vkAllocateMemory_13587 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pAllocateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pMemory"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkAllocateMemory_13587 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkMemoryAllocateInfo *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - struct VkDeviceMemory_T **arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkAllocateMemory (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkBeginCommandBuffer(struct VkCommandBuffer_T *commandBuffer, const struct VkCommandBufferBeginInfo *pBeginInfo) - - -static void _init_f_vkBeginCommandBuffer_7529 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pBeginInfo"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkBeginCommandBuffer_7529 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkCommandBufferBeginInfo *arg2 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkBeginCommandBuffer (arg1, arg2)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkBindBufferMemory(struct VkDevice_T *device, struct VkBuffer_T *buffer, struct VkDeviceMemory_T *memory, unsigned long int memoryOffset) - - -static void _init_f_vkBindBufferMemory_9888 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("buffer"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("memory"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("memoryOffset"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkBindBufferMemory_9888 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkBuffer_T *arg2 = gsi::arg_reader() (args, heap); - struct VkDeviceMemory_T *arg3 = gsi::arg_reader() (args, heap); - unsigned long int arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkBindBufferMemory (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkBindBufferMemory2(struct VkDevice_T *device, unsigned int bindInfoCount, const struct VkBindBufferMemoryInfo *pBindInfos) - - -static void _init_f_vkBindBufferMemory2_8306 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("bindInfoCount"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pBindInfos"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkBindBufferMemory2_8306 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - const struct VkBindBufferMemoryInfo *arg3 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkBindBufferMemory2 (arg1, arg2, arg3)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkBindImageMemory(struct VkDevice_T *device, struct VkImage_T *image, struct VkDeviceMemory_T *memory, unsigned long int memoryOffset) - - -static void _init_f_vkBindImageMemory_9769 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("image"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("memory"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("memoryOffset"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkBindImageMemory_9769 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkImage_T *arg2 = gsi::arg_reader() (args, heap); - struct VkDeviceMemory_T *arg3 = gsi::arg_reader() (args, heap); - unsigned long int arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkBindImageMemory (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkBindImageMemory2(struct VkDevice_T *device, unsigned int bindInfoCount, const struct VkBindImageMemoryInfo *pBindInfos) - - -static void _init_f_vkBindImageMemory2_8187 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("bindInfoCount"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pBindInfos"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkBindImageMemory2_8187 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - const struct VkBindImageMemoryInfo *arg3 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkBindImageMemory2 (arg1, arg2, arg3)); -} - - -// void QVulkanDeviceFunctions::vkCmdBeginQuery(struct VkCommandBuffer_T *commandBuffer, struct VkQueryPool_T *queryPool, unsigned int query, unsigned int flags) - - -static void _init_f_vkCmdBeginQuery_9099 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("queryPool"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("query"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("flags"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCmdBeginQuery_9099 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - struct VkQueryPool_T *arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdBeginQuery (arg1, arg2, arg3, arg4); -} - - -// void QVulkanDeviceFunctions::vkCmdBeginRenderPass(struct VkCommandBuffer_T *commandBuffer, const struct VkRenderPassBeginInfo *pRenderPassBegin, enum VkSubpassContents contents) - - -static void _init_f_vkCmdBeginRenderPass_9924 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pRenderPassBegin"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("contents"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkCmdBeginRenderPass_9924 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkRenderPassBeginInfo *arg2 = gsi::arg_reader() (args, heap); - enum VkSubpassContents arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdBeginRenderPass (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkCmdBeginRenderPass2(struct VkCommandBuffer_T *commandBuffer, const struct VkRenderPassBeginInfo *pRenderPassBegin, const struct VkSubpassBeginInfo *pSubpassBeginInfo) - - -static void _init_f_vkCmdBeginRenderPass2_11080 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pRenderPassBegin"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pSubpassBeginInfo"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkCmdBeginRenderPass2_11080 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkRenderPassBeginInfo *arg2 = gsi::arg_reader() (args, heap); - const struct VkSubpassBeginInfo *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdBeginRenderPass2 (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkCmdBindDescriptorSets(struct VkCommandBuffer_T *commandBuffer, enum VkPipelineBindPoint pipelineBindPoint, struct VkPipelineLayout_T *layout, unsigned int firstSet, unsigned int descriptorSetCount, const struct VkDescriptorSet_T **pDescriptorSets, unsigned int dynamicOffsetCount, const unsigned int *pDynamicOffsets) - - -static void _init_f_vkCmdBindDescriptorSets_20450 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pipelineBindPoint"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("layout"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("firstSet"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("descriptorSetCount"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("pDescriptorSets"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("dynamicOffsetCount"); - decl->add_arg (argspec_6); - static gsi::ArgSpecBase argspec_7 ("pDynamicOffsets"); - decl->add_arg (argspec_7); - decl->set_return (); -} - -static void _call_f_vkCmdBindDescriptorSets_20450 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - enum VkPipelineBindPoint arg2 = gsi::arg_reader() (args, heap); - struct VkPipelineLayout_T *arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - const struct VkDescriptorSet_T **arg6 = gsi::arg_reader() (args, heap); - unsigned int arg7 = gsi::arg_reader() (args, heap); - const unsigned int *arg8 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdBindDescriptorSets (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); -} - - -// void QVulkanDeviceFunctions::vkCmdBindIndexBuffer(struct VkCommandBuffer_T *commandBuffer, struct VkBuffer_T *buffer, unsigned long int offset, enum VkIndexType indexType) - - -static void _init_f_vkCmdBindIndexBuffer_9693 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("buffer"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("offset"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("indexType"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCmdBindIndexBuffer_9693 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - struct VkBuffer_T *arg2 = gsi::arg_reader() (args, heap); - unsigned long int arg3 = gsi::arg_reader() (args, heap); - enum VkIndexType arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdBindIndexBuffer (arg1, arg2, arg3, arg4); -} - - -// void QVulkanDeviceFunctions::vkCmdBindPipeline(struct VkCommandBuffer_T *commandBuffer, enum VkPipelineBindPoint pipelineBindPoint, struct VkPipeline_T *pipeline) - - -static void _init_f_vkCmdBindPipeline_8476 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pipelineBindPoint"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pipeline"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkCmdBindPipeline_8476 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - enum VkPipelineBindPoint arg2 = gsi::arg_reader() (args, heap); - struct VkPipeline_T *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdBindPipeline (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkCmdBindVertexBuffers(struct VkCommandBuffer_T *commandBuffer, unsigned int firstBinding, unsigned int bindingCount, const struct VkBuffer_T **pBuffers, const unsigned long int *pOffsets) - - -static void _init_f_vkCmdBindVertexBuffers_12615 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("firstBinding"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("bindingCount"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pBuffers"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("pOffsets"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_vkCmdBindVertexBuffers_12615 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - const struct VkBuffer_T **arg4 = gsi::arg_reader() (args, heap); - const unsigned long int *arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdBindVertexBuffers (arg1, arg2, arg3, arg4, arg5); -} - - -// void QVulkanDeviceFunctions::vkCmdBlitImage(struct VkCommandBuffer_T *commandBuffer, struct VkImage_T *srcImage, enum VkImageLayout srcImageLayout, struct VkImage_T *dstImage, enum VkImageLayout dstImageLayout, unsigned int regionCount, const struct VkImageBlit *pRegions, enum VkFilter filter) - - -static void _init_f_vkCmdBlitImage_18427 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("srcImage"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("srcImageLayout"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("dstImage"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("dstImageLayout"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("regionCount"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("pRegions"); - decl->add_arg (argspec_6); - static gsi::ArgSpecBase argspec_7 ("filter"); - decl->add_arg (argspec_7); - decl->set_return (); -} - -static void _call_f_vkCmdBlitImage_18427 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - struct VkImage_T *arg2 = gsi::arg_reader() (args, heap); - enum VkImageLayout arg3 = gsi::arg_reader() (args, heap); - struct VkImage_T *arg4 = gsi::arg_reader() (args, heap); - enum VkImageLayout arg5 = gsi::arg_reader() (args, heap); - unsigned int arg6 = gsi::arg_reader() (args, heap); - const struct VkImageBlit *arg7 = gsi::arg_reader() (args, heap); - enum VkFilter arg8 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdBlitImage (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); -} - - -// void QVulkanDeviceFunctions::vkCmdClearAttachments(struct VkCommandBuffer_T *commandBuffer, unsigned int attachmentCount, const struct VkClearAttachment *pAttachments, unsigned int rectCount, const struct VkClearRect *pRects) - - -static void _init_f_vkCmdClearAttachments_13299 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("attachmentCount"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAttachments"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("rectCount"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("pRects"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_vkCmdClearAttachments_13299 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - const struct VkClearAttachment *arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - const struct VkClearRect *arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdClearAttachments (arg1, arg2, arg3, arg4, arg5); -} - - -// void QVulkanDeviceFunctions::vkCmdClearColorImage(struct VkCommandBuffer_T *commandBuffer, struct VkImage_T *image, enum VkImageLayout imageLayout, const union VkClearColorValue *pColor, unsigned int rangeCount, const struct VkImageSubresourceRange *pRanges) - - -static void _init_f_vkCmdClearColorImage_17172 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("image"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("imageLayout"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pColor"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("rangeCount"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("pRanges"); - decl->add_arg (argspec_5); - decl->set_return (); -} - -static void _call_f_vkCmdClearColorImage_17172 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - struct VkImage_T *arg2 = gsi::arg_reader() (args, heap); - enum VkImageLayout arg3 = gsi::arg_reader() (args, heap); - const union VkClearColorValue *arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - const struct VkImageSubresourceRange *arg6 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdClearColorImage (arg1, arg2, arg3, arg4, arg5, arg6); -} - - -// void QVulkanDeviceFunctions::vkCmdClearDepthStencilImage(struct VkCommandBuffer_T *commandBuffer, struct VkImage_T *image, enum VkImageLayout imageLayout, const struct VkClearDepthStencilValue *pDepthStencil, unsigned int rangeCount, const struct VkImageSubresourceRange *pRanges) - - -static void _init_f_vkCmdClearDepthStencilImage_18008 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("image"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("imageLayout"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pDepthStencil"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("rangeCount"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("pRanges"); - decl->add_arg (argspec_5); - decl->set_return (); -} - -static void _call_f_vkCmdClearDepthStencilImage_18008 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - struct VkImage_T *arg2 = gsi::arg_reader() (args, heap); - enum VkImageLayout arg3 = gsi::arg_reader() (args, heap); - const struct VkClearDepthStencilValue *arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - const struct VkImageSubresourceRange *arg6 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdClearDepthStencilImage (arg1, arg2, arg3, arg4, arg5, arg6); -} - - -// void QVulkanDeviceFunctions::vkCmdCopyBuffer(struct VkCommandBuffer_T *commandBuffer, struct VkBuffer_T *srcBuffer, struct VkBuffer_T *dstBuffer, unsigned int regionCount, const struct VkBufferCopy *pRegions) - - -static void _init_f_vkCmdCopyBuffer_12638 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("srcBuffer"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("dstBuffer"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("regionCount"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("pRegions"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_vkCmdCopyBuffer_12638 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - struct VkBuffer_T *arg2 = gsi::arg_reader() (args, heap); - struct VkBuffer_T *arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - const struct VkBufferCopy *arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdCopyBuffer (arg1, arg2, arg3, arg4, arg5); -} - - -// void QVulkanDeviceFunctions::vkCmdCopyBufferToImage(struct VkCommandBuffer_T *commandBuffer, struct VkBuffer_T *srcBuffer, struct VkImage_T *dstImage, enum VkImageLayout dstImageLayout, unsigned int regionCount, const struct VkBufferImageCopy *pRegions) - - -static void _init_f_vkCmdCopyBufferToImage_15225 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("srcBuffer"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("dstImage"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("dstImageLayout"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("regionCount"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("pRegions"); - decl->add_arg (argspec_5); - decl->set_return (); -} - -static void _call_f_vkCmdCopyBufferToImage_15225 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - struct VkBuffer_T *arg2 = gsi::arg_reader() (args, heap); - struct VkImage_T *arg3 = gsi::arg_reader() (args, heap); - enum VkImageLayout arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - const struct VkBufferImageCopy *arg6 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdCopyBufferToImage (arg1, arg2, arg3, arg4, arg5, arg6); -} - - -// void QVulkanDeviceFunctions::vkCmdCopyImage(struct VkCommandBuffer_T *commandBuffer, struct VkImage_T *srcImage, enum VkImageLayout srcImageLayout, struct VkImage_T *dstImage, enum VkImageLayout dstImageLayout, unsigned int regionCount, const struct VkImageCopy *pRegions) - - -static void _init_f_vkCmdCopyImage_16727 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("srcImage"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("srcImageLayout"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("dstImage"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("dstImageLayout"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("regionCount"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("pRegions"); - decl->add_arg (argspec_6); - decl->set_return (); -} - -static void _call_f_vkCmdCopyImage_16727 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - struct VkImage_T *arg2 = gsi::arg_reader() (args, heap); - enum VkImageLayout arg3 = gsi::arg_reader() (args, heap); - struct VkImage_T *arg4 = gsi::arg_reader() (args, heap); - enum VkImageLayout arg5 = gsi::arg_reader() (args, heap); - unsigned int arg6 = gsi::arg_reader() (args, heap); - const struct VkImageCopy *arg7 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdCopyImage (arg1, arg2, arg3, arg4, arg5, arg6, arg7); -} - - -// void QVulkanDeviceFunctions::vkCmdCopyImageToBuffer(struct VkCommandBuffer_T *commandBuffer, struct VkImage_T *srcImage, enum VkImageLayout srcImageLayout, struct VkBuffer_T *dstBuffer, unsigned int regionCount, const struct VkBufferImageCopy *pRegions) - - -static void _init_f_vkCmdCopyImageToBuffer_15225 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("srcImage"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("srcImageLayout"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("dstBuffer"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("regionCount"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("pRegions"); - decl->add_arg (argspec_5); - decl->set_return (); -} - -static void _call_f_vkCmdCopyImageToBuffer_15225 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - struct VkImage_T *arg2 = gsi::arg_reader() (args, heap); - enum VkImageLayout arg3 = gsi::arg_reader() (args, heap); - struct VkBuffer_T *arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - const struct VkBufferImageCopy *arg6 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdCopyImageToBuffer (arg1, arg2, arg3, arg4, arg5, arg6); -} - - -// void QVulkanDeviceFunctions::vkCmdCopyQueryPoolResults(struct VkCommandBuffer_T *commandBuffer, struct VkQueryPool_T *queryPool, unsigned int firstQuery, unsigned int queryCount, struct VkBuffer_T *dstBuffer, unsigned long int dstOffset, unsigned long int stride, unsigned int flags) - - -static void _init_f_vkCmdCopyQueryPoolResults_17552 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("queryPool"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("firstQuery"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("queryCount"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("dstBuffer"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("dstOffset"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("stride"); - decl->add_arg (argspec_6); - static gsi::ArgSpecBase argspec_7 ("flags"); - decl->add_arg (argspec_7); - decl->set_return (); -} - -static void _call_f_vkCmdCopyQueryPoolResults_17552 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - struct VkQueryPool_T *arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - struct VkBuffer_T *arg5 = gsi::arg_reader() (args, heap); - unsigned long int arg6 = gsi::arg_reader() (args, heap); - unsigned long int arg7 = gsi::arg_reader() (args, heap); - unsigned int arg8 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdCopyQueryPoolResults (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); -} - - -// void QVulkanDeviceFunctions::vkCmdDispatch(struct VkCommandBuffer_T *commandBuffer, unsigned int groupCountX, unsigned int groupCountY, unsigned int groupCountZ) - - -static void _init_f_vkCmdDispatch_8112 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("groupCountX"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("groupCountY"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("groupCountZ"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCmdDispatch_8112 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdDispatch (arg1, arg2, arg3, arg4); -} - - -// void QVulkanDeviceFunctions::vkCmdDispatchBase(struct VkCommandBuffer_T *commandBuffer, unsigned int baseGroupX, unsigned int baseGroupY, unsigned int baseGroupZ, unsigned int groupCountX, unsigned int groupCountY, unsigned int groupCountZ) - - -static void _init_f_vkCmdDispatchBase_13104 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("baseGroupX"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("baseGroupY"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("baseGroupZ"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("groupCountX"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("groupCountY"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("groupCountZ"); - decl->add_arg (argspec_6); - decl->set_return (); -} - -static void _call_f_vkCmdDispatchBase_13104 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - unsigned int arg6 = gsi::arg_reader() (args, heap); - unsigned int arg7 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdDispatchBase (arg1, arg2, arg3, arg4, arg5, arg6, arg7); -} - - -// void QVulkanDeviceFunctions::vkCmdDispatchIndirect(struct VkCommandBuffer_T *commandBuffer, struct VkBuffer_T *buffer, unsigned long int offset) - - -static void _init_f_vkCmdDispatchIndirect_7669 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("buffer"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("offset"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkCmdDispatchIndirect_7669 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - struct VkBuffer_T *arg2 = gsi::arg_reader() (args, heap); - unsigned long int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdDispatchIndirect (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkCmdDraw(struct VkCommandBuffer_T *commandBuffer, unsigned int vertexCount, unsigned int instanceCount, unsigned int firstVertex, unsigned int firstInstance) - - -static void _init_f_vkCmdDraw_9776 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("vertexCount"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("instanceCount"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("firstVertex"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("firstInstance"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_vkCmdDraw_9776 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdDraw (arg1, arg2, arg3, arg4, arg5); -} - - -// void QVulkanDeviceFunctions::vkCmdDrawIndexed(struct VkCommandBuffer_T *commandBuffer, unsigned int indexCount, unsigned int instanceCount, unsigned int firstIndex, signed int vertexOffset, unsigned int firstInstance) - - -static void _init_f_vkCmdDrawIndexed_11213 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("indexCount"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("instanceCount"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("firstIndex"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("vertexOffset"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("firstInstance"); - decl->add_arg (argspec_5); - decl->set_return (); -} - -static void _call_f_vkCmdDrawIndexed_11213 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - signed int arg5 = gsi::arg_reader() (args, heap); - unsigned int arg6 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdDrawIndexed (arg1, arg2, arg3, arg4, arg5, arg6); -} - - -// void QVulkanDeviceFunctions::vkCmdDrawIndexedIndirect(struct VkCommandBuffer_T *commandBuffer, struct VkBuffer_T *buffer, unsigned long int offset, unsigned int drawCount, unsigned int stride) - - -static void _init_f_vkCmdDrawIndexedIndirect_10997 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("buffer"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("offset"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("drawCount"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("stride"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_vkCmdDrawIndexedIndirect_10997 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - struct VkBuffer_T *arg2 = gsi::arg_reader() (args, heap); - unsigned long int arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdDrawIndexedIndirect (arg1, arg2, arg3, arg4, arg5); -} - - -// void QVulkanDeviceFunctions::vkCmdDrawIndexedIndirectCount(struct VkCommandBuffer_T *commandBuffer, struct VkBuffer_T *buffer, unsigned long int offset, struct VkBuffer_T *countBuffer, unsigned long int countBufferOffset, unsigned int maxDrawCount, unsigned int stride) - - -static void _init_f_vkCmdDrawIndexedIndirectCount_15546 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("buffer"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("offset"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("countBuffer"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("countBufferOffset"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("maxDrawCount"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("stride"); - decl->add_arg (argspec_6); - decl->set_return (); -} - -static void _call_f_vkCmdDrawIndexedIndirectCount_15546 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - struct VkBuffer_T *arg2 = gsi::arg_reader() (args, heap); - unsigned long int arg3 = gsi::arg_reader() (args, heap); - struct VkBuffer_T *arg4 = gsi::arg_reader() (args, heap); - unsigned long int arg5 = gsi::arg_reader() (args, heap); - unsigned int arg6 = gsi::arg_reader() (args, heap); - unsigned int arg7 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdDrawIndexedIndirectCount (arg1, arg2, arg3, arg4, arg5, arg6, arg7); -} - - -// void QVulkanDeviceFunctions::vkCmdDrawIndirect(struct VkCommandBuffer_T *commandBuffer, struct VkBuffer_T *buffer, unsigned long int offset, unsigned int drawCount, unsigned int stride) - - -static void _init_f_vkCmdDrawIndirect_10997 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("buffer"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("offset"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("drawCount"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("stride"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_vkCmdDrawIndirect_10997 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - struct VkBuffer_T *arg2 = gsi::arg_reader() (args, heap); - unsigned long int arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdDrawIndirect (arg1, arg2, arg3, arg4, arg5); -} - - -// void QVulkanDeviceFunctions::vkCmdDrawIndirectCount(struct VkCommandBuffer_T *commandBuffer, struct VkBuffer_T *buffer, unsigned long int offset, struct VkBuffer_T *countBuffer, unsigned long int countBufferOffset, unsigned int maxDrawCount, unsigned int stride) - - -static void _init_f_vkCmdDrawIndirectCount_15546 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("buffer"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("offset"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("countBuffer"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("countBufferOffset"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("maxDrawCount"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("stride"); - decl->add_arg (argspec_6); - decl->set_return (); -} - -static void _call_f_vkCmdDrawIndirectCount_15546 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - struct VkBuffer_T *arg2 = gsi::arg_reader() (args, heap); - unsigned long int arg3 = gsi::arg_reader() (args, heap); - struct VkBuffer_T *arg4 = gsi::arg_reader() (args, heap); - unsigned long int arg5 = gsi::arg_reader() (args, heap); - unsigned int arg6 = gsi::arg_reader() (args, heap); - unsigned int arg7 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdDrawIndirectCount (arg1, arg2, arg3, arg4, arg5, arg6, arg7); -} - - -// void QVulkanDeviceFunctions::vkCmdEndQuery(struct VkCommandBuffer_T *commandBuffer, struct VkQueryPool_T *queryPool, unsigned int query) - - -static void _init_f_vkCmdEndQuery_7435 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("queryPool"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("query"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkCmdEndQuery_7435 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - struct VkQueryPool_T *arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdEndQuery (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkCmdEndRenderPass(struct VkCommandBuffer_T *commandBuffer) - - -static void _init_f_vkCmdEndRenderPass_3120 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_vkCmdEndRenderPass_3120 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdEndRenderPass (arg1); -} - - -// void QVulkanDeviceFunctions::vkCmdEndRenderPass2(struct VkCommandBuffer_T *commandBuffer, const struct VkSubpassEndInfo *pSubpassEndInfo) - - -static void _init_f_vkCmdEndRenderPass2_6755 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pSubpassEndInfo"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkCmdEndRenderPass2_6755 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkSubpassEndInfo *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdEndRenderPass2 (arg1, arg2); -} - - -// void QVulkanDeviceFunctions::vkCmdExecuteCommands(struct VkCommandBuffer_T *commandBuffer, unsigned int commandBufferCount, const struct VkCommandBuffer_T **pCommandBuffers) - - -static void _init_f_vkCmdExecuteCommands_8533 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("commandBufferCount"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pCommandBuffers"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkCmdExecuteCommands_8533 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - const struct VkCommandBuffer_T **arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdExecuteCommands (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkCmdFillBuffer(struct VkCommandBuffer_T *commandBuffer, struct VkBuffer_T *dstBuffer, unsigned long int dstOffset, unsigned long int size, unsigned int data) - - -static void _init_f_vkCmdFillBuffer_11573 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("dstBuffer"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("dstOffset"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("size"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("data"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_vkCmdFillBuffer_11573 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - struct VkBuffer_T *arg2 = gsi::arg_reader() (args, heap); - unsigned long int arg3 = gsi::arg_reader() (args, heap); - unsigned long int arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdFillBuffer (arg1, arg2, arg3, arg4, arg5); -} - - -// void QVulkanDeviceFunctions::vkCmdNextSubpass(struct VkCommandBuffer_T *commandBuffer, enum VkSubpassContents contents) - - -static void _init_f_vkCmdNextSubpass_5805 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("contents"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkCmdNextSubpass_5805 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - enum VkSubpassContents arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdNextSubpass (arg1, arg2); -} - - -// void QVulkanDeviceFunctions::vkCmdNextSubpass2(struct VkCommandBuffer_T *commandBuffer, const struct VkSubpassBeginInfo *pSubpassBeginInfo, const struct VkSubpassEndInfo *pSubpassEndInfo) - - -static void _init_f_vkCmdNextSubpass2_10596 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pSubpassBeginInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pSubpassEndInfo"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkCmdNextSubpass2_10596 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkSubpassBeginInfo *arg2 = gsi::arg_reader() (args, heap); - const struct VkSubpassEndInfo *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdNextSubpass2 (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkCmdPipelineBarrier(struct VkCommandBuffer_T *commandBuffer, unsigned int srcStageMask, unsigned int dstStageMask, unsigned int dependencyFlags, unsigned int memoryBarrierCount, const struct VkMemoryBarrier *pMemoryBarriers, unsigned int bufferMemoryBarrierCount, const struct VkBufferMemoryBarrier *pBufferMemoryBarriers, unsigned int imageMemoryBarrierCount, const struct VkImageMemoryBarrier *pImageMemoryBarriers) - - -static void _init_f_vkCmdPipelineBarrier_24890 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("srcStageMask"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("dstStageMask"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("dependencyFlags"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("memoryBarrierCount"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("pMemoryBarriers"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("bufferMemoryBarrierCount"); - decl->add_arg (argspec_6); - static gsi::ArgSpecBase argspec_7 ("pBufferMemoryBarriers"); - decl->add_arg (argspec_7); - static gsi::ArgSpecBase argspec_8 ("imageMemoryBarrierCount"); - decl->add_arg (argspec_8); - static gsi::ArgSpecBase argspec_9 ("pImageMemoryBarriers"); - decl->add_arg (argspec_9); - decl->set_return (); -} - -static void _call_f_vkCmdPipelineBarrier_24890 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - const struct VkMemoryBarrier *arg6 = gsi::arg_reader() (args, heap); - unsigned int arg7 = gsi::arg_reader() (args, heap); - const struct VkBufferMemoryBarrier *arg8 = gsi::arg_reader() (args, heap); - unsigned int arg9 = gsi::arg_reader() (args, heap); - const struct VkImageMemoryBarrier *arg10 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdPipelineBarrier (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10); -} - - -// void QVulkanDeviceFunctions::vkCmdPushConstants(struct VkCommandBuffer_T *commandBuffer, struct VkPipelineLayout_T *layout, unsigned int stageFlags, unsigned int offset, unsigned int size, const void *pValues) - - -static void _init_f_vkCmdPushConstants_12922 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("layout"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("stageFlags"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("offset"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("size"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("pValues"); - decl->add_arg (argspec_5); - decl->set_return (); -} - -static void _call_f_vkCmdPushConstants_12922 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - struct VkPipelineLayout_T *arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - const void *arg6 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdPushConstants (arg1, arg2, arg3, arg4, arg5, arg6); -} - - -// void QVulkanDeviceFunctions::vkCmdResetEvent(struct VkCommandBuffer_T *commandBuffer, struct VkEvent_T *event, unsigned int stageMask) - - -static void _init_f_vkCmdResetEvent_7005 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("event"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("stageMask"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkCmdResetEvent_7005 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - struct VkEvent_T *arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdResetEvent (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkCmdResetQueryPool(struct VkCommandBuffer_T *commandBuffer, struct VkQueryPool_T *queryPool, unsigned int firstQuery, unsigned int queryCount) - - -static void _init_f_vkCmdResetQueryPool_9099 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("queryPool"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("firstQuery"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("queryCount"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCmdResetQueryPool_9099 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - struct VkQueryPool_T *arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdResetQueryPool (arg1, arg2, arg3, arg4); -} - - -// void QVulkanDeviceFunctions::vkCmdResolveImage(struct VkCommandBuffer_T *commandBuffer, struct VkImage_T *srcImage, enum VkImageLayout srcImageLayout, struct VkImage_T *dstImage, enum VkImageLayout dstImageLayout, unsigned int regionCount, const struct VkImageResolve *pRegions) - - -static void _init_f_vkCmdResolveImage_17052 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("srcImage"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("srcImageLayout"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("dstImage"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("dstImageLayout"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("regionCount"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("pRegions"); - decl->add_arg (argspec_6); - decl->set_return (); -} - -static void _call_f_vkCmdResolveImage_17052 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - struct VkImage_T *arg2 = gsi::arg_reader() (args, heap); - enum VkImageLayout arg3 = gsi::arg_reader() (args, heap); - struct VkImage_T *arg4 = gsi::arg_reader() (args, heap); - enum VkImageLayout arg5 = gsi::arg_reader() (args, heap); - unsigned int arg6 = gsi::arg_reader() (args, heap); - const struct VkImageResolve *arg7 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdResolveImage (arg1, arg2, arg3, arg4, arg5, arg6, arg7); -} - - -// void QVulkanDeviceFunctions::vkCmdSetBlendConstants(struct VkCommandBuffer_T *commandBuffer, const float blendConstants []) - - -static void _init_f_vkCmdSetBlendConstants_5005 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("blendConstants"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkCmdSetBlendConstants_5005 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - const float arg2 [] = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdSetBlendConstants (arg1, arg2); -} - - -// void QVulkanDeviceFunctions::vkCmdSetDepthBias(struct VkCommandBuffer_T *commandBuffer, float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor) - - -static void _init_f_vkCmdSetDepthBias_5706 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("depthBiasConstantFactor"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("depthBiasClamp"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("depthBiasSlopeFactor"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCmdSetDepthBias_5706 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - float arg2 = gsi::arg_reader() (args, heap); - float arg3 = gsi::arg_reader() (args, heap); - float arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdSetDepthBias (arg1, arg2, arg3, arg4); -} - - -// void QVulkanDeviceFunctions::vkCmdSetDepthBounds(struct VkCommandBuffer_T *commandBuffer, float minDepthBounds, float maxDepthBounds) - - -static void _init_f_vkCmdSetDepthBounds_4844 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("minDepthBounds"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("maxDepthBounds"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkCmdSetDepthBounds_4844 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - float arg2 = gsi::arg_reader() (args, heap); - float arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdSetDepthBounds (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkCmdSetDeviceMask(struct VkCommandBuffer_T *commandBuffer, unsigned int deviceMask) - - -static void _init_f_vkCmdSetDeviceMask_4784 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("deviceMask"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkCmdSetDeviceMask_4784 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdSetDeviceMask (arg1, arg2); -} - - -// void QVulkanDeviceFunctions::vkCmdSetEvent(struct VkCommandBuffer_T *commandBuffer, struct VkEvent_T *event, unsigned int stageMask) - - -static void _init_f_vkCmdSetEvent_7005 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("event"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("stageMask"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkCmdSetEvent_7005 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - struct VkEvent_T *arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdSetEvent (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkCmdSetLineWidth(struct VkCommandBuffer_T *commandBuffer, float lineWidth) - - -static void _init_f_vkCmdSetLineWidth_3982 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("lineWidth"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkCmdSetLineWidth_3982 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - float arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdSetLineWidth (arg1, arg2); -} - - -// void QVulkanDeviceFunctions::vkCmdSetScissor(struct VkCommandBuffer_T *commandBuffer, unsigned int firstScissor, unsigned int scissorCount, const struct VkRect2D *pScissors) - - -static void _init_f_vkCmdSetScissor_9187 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("firstScissor"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("scissorCount"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pScissors"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCmdSetScissor_9187 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - const struct VkRect2D *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdSetScissor (arg1, arg2, arg3, arg4); -} - - -// void QVulkanDeviceFunctions::vkCmdSetStencilCompareMask(struct VkCommandBuffer_T *commandBuffer, unsigned int faceMask, unsigned int compareMask) - - -static void _init_f_vkCmdSetStencilCompareMask_6448 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("faceMask"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("compareMask"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkCmdSetStencilCompareMask_6448 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdSetStencilCompareMask (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkCmdSetStencilReference(struct VkCommandBuffer_T *commandBuffer, unsigned int faceMask, unsigned int reference) - - -static void _init_f_vkCmdSetStencilReference_6448 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("faceMask"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("reference"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkCmdSetStencilReference_6448 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdSetStencilReference (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkCmdSetStencilWriteMask(struct VkCommandBuffer_T *commandBuffer, unsigned int faceMask, unsigned int writeMask) - - -static void _init_f_vkCmdSetStencilWriteMask_6448 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("faceMask"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("writeMask"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkCmdSetStencilWriteMask_6448 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdSetStencilWriteMask (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkCmdSetViewport(struct VkCommandBuffer_T *commandBuffer, unsigned int firstViewport, unsigned int viewportCount, const struct VkViewport *pViewports) - - -static void _init_f_vkCmdSetViewport_9535 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("firstViewport"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("viewportCount"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pViewports"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCmdSetViewport_9535 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - const struct VkViewport *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdSetViewport (arg1, arg2, arg3, arg4); -} - - -// void QVulkanDeviceFunctions::vkCmdUpdateBuffer(struct VkCommandBuffer_T *commandBuffer, struct VkBuffer_T *dstBuffer, unsigned long int dstOffset, unsigned long int dataSize, const void *pData) - - -static void _init_f_vkCmdUpdateBuffer_11552 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("dstBuffer"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("dstOffset"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("dataSize"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("pData"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_vkCmdUpdateBuffer_11552 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - struct VkBuffer_T *arg2 = gsi::arg_reader() (args, heap); - unsigned long int arg3 = gsi::arg_reader() (args, heap); - unsigned long int arg4 = gsi::arg_reader() (args, heap); - const void *arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdUpdateBuffer (arg1, arg2, arg3, arg4, arg5); -} - - -// void QVulkanDeviceFunctions::vkCmdWaitEvents(struct VkCommandBuffer_T *commandBuffer, unsigned int eventCount, const struct VkEvent_T **pEvents, unsigned int srcStageMask, unsigned int dstStageMask, unsigned int memoryBarrierCount, const struct VkMemoryBarrier *pMemoryBarriers, unsigned int bufferMemoryBarrierCount, const struct VkBufferMemoryBarrier *pBufferMemoryBarriers, unsigned int imageMemoryBarrierCount, const struct VkImageMemoryBarrier *pImageMemoryBarriers) - - -static void _init_f_vkCmdWaitEvents_27848 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("eventCount"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pEvents"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("srcStageMask"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("dstStageMask"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("memoryBarrierCount"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("pMemoryBarriers"); - decl->add_arg (argspec_6); - static gsi::ArgSpecBase argspec_7 ("bufferMemoryBarrierCount"); - decl->add_arg (argspec_7); - static gsi::ArgSpecBase argspec_8 ("pBufferMemoryBarriers"); - decl->add_arg (argspec_8); - static gsi::ArgSpecBase argspec_9 ("imageMemoryBarrierCount"); - decl->add_arg (argspec_9); - static gsi::ArgSpecBase argspec_10 ("pImageMemoryBarriers"); - decl->add_arg (argspec_10); - decl->set_return (); -} - -static void _call_f_vkCmdWaitEvents_27848 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - const struct VkEvent_T **arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - unsigned int arg6 = gsi::arg_reader() (args, heap); - const struct VkMemoryBarrier *arg7 = gsi::arg_reader() (args, heap); - unsigned int arg8 = gsi::arg_reader() (args, heap); - const struct VkBufferMemoryBarrier *arg9 = gsi::arg_reader() (args, heap); - unsigned int arg10 = gsi::arg_reader() (args, heap); - const struct VkImageMemoryBarrier *arg11 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdWaitEvents (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11); -} - - -// void QVulkanDeviceFunctions::vkCmdWriteTimestamp(struct VkCommandBuffer_T *commandBuffer, enum VkPipelineStageFlagBits pipelineStage, struct VkQueryPool_T *queryPool, unsigned int query) - - -static void _init_f_vkCmdWriteTimestamp_10639 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pipelineStage"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("queryPool"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("query"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCmdWriteTimestamp_10639 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - enum VkPipelineStageFlagBits arg2 = gsi::arg_reader() (args, heap); - struct VkQueryPool_T *arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkCmdWriteTimestamp (arg1, arg2, arg3, arg4); -} - - -// enum VkResult QVulkanDeviceFunctions::vkCreateBuffer(struct VkDevice_T *device, const struct VkBufferCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkBuffer_T **pBuffer) - - -static void _init_f_vkCreateBuffer_12724 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pCreateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pBuffer"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCreateBuffer_12724 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkBufferCreateInfo *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - struct VkBuffer_T **arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkCreateBuffer (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkCreateBufferView(struct VkDevice_T *device, const struct VkBufferViewCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkBufferView_T **pView) - - -static void _init_f_vkCreateBufferView_13546 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pCreateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pView"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCreateBufferView_13546 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkBufferViewCreateInfo *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - struct VkBufferView_T **arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkCreateBufferView (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkCreateCommandPool(struct VkDevice_T *device, const struct VkCommandPoolCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkCommandPool_T **pCommandPool) - - -static void _init_f_vkCreateCommandPool_13746 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pCreateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pCommandPool"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCreateCommandPool_13746 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkCommandPoolCreateInfo *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - struct VkCommandPool_T **arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkCreateCommandPool (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkCreateComputePipelines(struct VkDevice_T *device, struct VkPipelineCache_T *pipelineCache, unsigned int createInfoCount, const struct VkComputePipelineCreateInfo *pCreateInfos, const struct VkAllocationCallbacks *pAllocator, struct VkPipeline_T **pPipelines) - - -static void _init_f_vkCreateComputePipelines_18558 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pipelineCache"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("createInfoCount"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pCreateInfos"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("pAllocator"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("pPipelines"); - decl->add_arg (argspec_5); - decl->set_return (); -} - -static void _call_f_vkCreateComputePipelines_18558 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkPipelineCache_T *arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - const struct VkComputePipelineCreateInfo *arg4 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg5 = gsi::arg_reader() (args, heap); - struct VkPipeline_T **arg6 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkCreateComputePipelines (arg1, arg2, arg3, arg4, arg5, arg6)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkCreateDescriptorPool(struct VkDevice_T *device, const struct VkDescriptorPoolCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkDescriptorPool_T **pDescriptorPool) - - -static void _init_f_vkCreateDescriptorPool_14450 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pCreateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pDescriptorPool"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCreateDescriptorPool_14450 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkDescriptorPoolCreateInfo *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - struct VkDescriptorPool_T **arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkCreateDescriptorPool (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkCreateDescriptorSetLayout(struct VkDevice_T *device, const struct VkDescriptorSetLayoutCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkDescriptorSetLayout_T **pSetLayout) - - -static void _init_f_vkCreateDescriptorSetLayout_15506 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pCreateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pSetLayout"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCreateDescriptorSetLayout_15506 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkDescriptorSetLayoutCreateInfo *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - struct VkDescriptorSetLayout_T **arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkCreateDescriptorSetLayout (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkCreateDescriptorUpdateTemplate(struct VkDevice_T *device, const struct VkDescriptorUpdateTemplateCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkDescriptorUpdateTemplate_T **pDescriptorUpdateTemplate) - - -static void _init_f_vkCreateDescriptorUpdateTemplate_16508 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pCreateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pDescriptorUpdateTemplate"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCreateDescriptorUpdateTemplate_16508 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkDescriptorUpdateTemplateCreateInfo *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - struct VkDescriptorUpdateTemplate_T **arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkCreateDescriptorUpdateTemplate (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkCreateEvent(struct VkDevice_T *device, const struct VkEventCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkEvent_T **pEvent) - - -static void _init_f_vkCreateEvent_12548 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pCreateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pEvent"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCreateEvent_12548 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkEventCreateInfo *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - struct VkEvent_T **arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkCreateEvent (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkCreateFence(struct VkDevice_T *device, const struct VkFenceCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkFence_T **pFence) - - -static void _init_f_vkCreateFence_12482 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pCreateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pFence"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCreateFence_12482 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkFenceCreateInfo *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - struct VkFence_T **arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkCreateFence (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkCreateFramebuffer(struct VkDevice_T *device, const struct VkFramebufferCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkFramebuffer_T **pFramebuffer) - - -static void _init_f_vkCreateFramebuffer_13770 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pCreateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pFramebuffer"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCreateFramebuffer_13770 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkFramebufferCreateInfo *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - struct VkFramebuffer_T **arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkCreateFramebuffer (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkCreateGraphicsPipelines(struct VkDevice_T *device, struct VkPipelineCache_T *pipelineCache, unsigned int createInfoCount, const struct VkGraphicsPipelineCreateInfo *pCreateInfos, const struct VkAllocationCallbacks *pAllocator, struct VkPipeline_T **pPipelines) - - -static void _init_f_vkCreateGraphicsPipelines_18642 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pipelineCache"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("createInfoCount"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pCreateInfos"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("pAllocator"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("pPipelines"); - decl->add_arg (argspec_5); - decl->set_return (); -} - -static void _call_f_vkCreateGraphicsPipelines_18642 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkPipelineCache_T *arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - const struct VkGraphicsPipelineCreateInfo *arg4 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg5 = gsi::arg_reader() (args, heap); - struct VkPipeline_T **arg6 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkCreateGraphicsPipelines (arg1, arg2, arg3, arg4, arg5, arg6)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkCreateImage(struct VkDevice_T *device, const struct VkImageCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkImage_T **pImage) - - -static void _init_f_vkCreateImage_12486 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pCreateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pImage"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCreateImage_12486 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkImageCreateInfo *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - struct VkImage_T **arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkCreateImage (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkCreateImageView(struct VkDevice_T *device, const struct VkImageViewCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkImageView_T **pView) - - -static void _init_f_vkCreateImageView_13308 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pCreateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pView"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCreateImageView_13308 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkImageViewCreateInfo *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - struct VkImageView_T **arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkCreateImageView (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkCreatePipelineCache(struct VkDevice_T *device, const struct VkPipelineCacheCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkPipelineCache_T **pPipelineCache) - - -static void _init_f_vkCreatePipelineCache_14100 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pCreateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pPipelineCache"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCreatePipelineCache_14100 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkPipelineCacheCreateInfo *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - struct VkPipelineCache_T **arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkCreatePipelineCache (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkCreatePipelineLayout(struct VkDevice_T *device, const struct VkPipelineLayoutCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkPipelineLayout_T **pPipelineLayout) - - -static void _init_f_vkCreatePipelineLayout_14440 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pCreateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pPipelineLayout"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCreatePipelineLayout_14440 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkPipelineLayoutCreateInfo *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - struct VkPipelineLayout_T **arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkCreatePipelineLayout (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkCreateQueryPool(struct VkDevice_T *device, const struct VkQueryPoolCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkQueryPool_T **pQueryPool) - - -static void _init_f_vkCreateQueryPool_13408 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pCreateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pQueryPool"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCreateQueryPool_13408 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkQueryPoolCreateInfo *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - struct VkQueryPool_T **arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkCreateQueryPool (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkCreateRenderPass(struct VkDevice_T *device, const struct VkRenderPassCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkRenderPass_T **pRenderPass) - - -static void _init_f_vkCreateRenderPass_13550 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pCreateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pRenderPass"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCreateRenderPass_13550 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkRenderPassCreateInfo *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - struct VkRenderPass_T **arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkCreateRenderPass (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkCreateRenderPass2(struct VkDevice_T *device, const struct VkRenderPassCreateInfo2 *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkRenderPass_T **pRenderPass) - - -static void _init_f_vkCreateRenderPass2_13600 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pCreateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pRenderPass"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCreateRenderPass2_13600 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkRenderPassCreateInfo2 *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - struct VkRenderPass_T **arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkCreateRenderPass2 (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkCreateSampler(struct VkDevice_T *device, const struct VkSamplerCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkSampler_T **pSampler) - - -static void _init_f_vkCreateSampler_12968 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pCreateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pSampler"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCreateSampler_12968 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkSamplerCreateInfo *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - struct VkSampler_T **arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkCreateSampler (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkCreateSamplerYcbcrConversion(struct VkDevice_T *device, const struct VkSamplerYcbcrConversionCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkSamplerYcbcrConversion_T **pYcbcrConversion) - - -static void _init_f_vkCreateSamplerYcbcrConversion_16090 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pCreateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pYcbcrConversion"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCreateSamplerYcbcrConversion_16090 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkSamplerYcbcrConversionCreateInfo *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - struct VkSamplerYcbcrConversion_T **arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkCreateSamplerYcbcrConversion (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkCreateSemaphore(struct VkDevice_T *device, const struct VkSemaphoreCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkSemaphore_T **pSemaphore) - - -static void _init_f_vkCreateSemaphore_13384 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pCreateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pSemaphore"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCreateSemaphore_13384 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkSemaphoreCreateInfo *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - struct VkSemaphore_T **arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkCreateSemaphore (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkCreateShaderModule(struct VkDevice_T *device, const struct VkShaderModuleCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkShaderModule_T **pShaderModule) - - -static void _init_f_vkCreateShaderModule_13946 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pCreateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pShaderModule"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCreateShaderModule_13946 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkShaderModuleCreateInfo *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - struct VkShaderModule_T **arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkCreateShaderModule (arg1, arg2, arg3, arg4)); -} - - -// void QVulkanDeviceFunctions::vkDestroyBuffer(struct VkDevice_T *device, struct VkBuffer_T *buffer, const struct VkAllocationCallbacks *pAllocator) - - -static void _init_f_vkDestroyBuffer_8865 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("buffer"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkDestroyBuffer_8865 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkBuffer_T *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkDestroyBuffer (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkDestroyBufferView(struct VkDevice_T *device, struct VkBufferView_T *bufferView, const struct VkAllocationCallbacks *pAllocator) - - -static void _init_f_vkDestroyBufferView_9276 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("bufferView"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkDestroyBufferView_9276 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkBufferView_T *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkDestroyBufferView (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkDestroyCommandPool(struct VkDevice_T *device, struct VkCommandPool_T *commandPool, const struct VkAllocationCallbacks *pAllocator) - - -static void _init_f_vkDestroyCommandPool_9376 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("commandPool"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkDestroyCommandPool_9376 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkCommandPool_T *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkDestroyCommandPool (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkDestroyDescriptorPool(struct VkDevice_T *device, struct VkDescriptorPool_T *descriptorPool, const struct VkAllocationCallbacks *pAllocator) - - -static void _init_f_vkDestroyDescriptorPool_9728 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("descriptorPool"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkDestroyDescriptorPool_9728 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkDescriptorPool_T *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkDestroyDescriptorPool (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkDestroyDescriptorSetLayout(struct VkDevice_T *device, struct VkDescriptorSetLayout_T *descriptorSetLayout, const struct VkAllocationCallbacks *pAllocator) - - -static void _init_f_vkDestroyDescriptorSetLayout_10256 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("descriptorSetLayout"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkDestroyDescriptorSetLayout_10256 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkDescriptorSetLayout_T *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkDestroyDescriptorSetLayout (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkDestroyDescriptorUpdateTemplate(struct VkDevice_T *device, struct VkDescriptorUpdateTemplate_T *descriptorUpdateTemplate, const struct VkAllocationCallbacks *pAllocator) - - -static void _init_f_vkDestroyDescriptorUpdateTemplate_10757 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("descriptorUpdateTemplate"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkDestroyDescriptorUpdateTemplate_10757 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkDescriptorUpdateTemplate_T *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkDestroyDescriptorUpdateTemplate (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkDestroyDevice(struct VkDevice_T *device, const struct VkAllocationCallbacks *pAllocator) - - -static void _init_f_vkDestroyDevice_6556 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pAllocator"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkDestroyDevice_6556 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkDestroyDevice (arg1, arg2); -} - - -// void QVulkanDeviceFunctions::vkDestroyEvent(struct VkDevice_T *device, struct VkEvent_T *event, const struct VkAllocationCallbacks *pAllocator) - - -static void _init_f_vkDestroyEvent_8777 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("event"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkDestroyEvent_8777 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkEvent_T *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkDestroyEvent (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkDestroyFence(struct VkDevice_T *device, struct VkFence_T *fence, const struct VkAllocationCallbacks *pAllocator) - - -static void _init_f_vkDestroyFence_8744 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("fence"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkDestroyFence_8744 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkFence_T *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkDestroyFence (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkDestroyFramebuffer(struct VkDevice_T *device, struct VkFramebuffer_T *framebuffer, const struct VkAllocationCallbacks *pAllocator) - - -static void _init_f_vkDestroyFramebuffer_9388 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("framebuffer"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkDestroyFramebuffer_9388 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkFramebuffer_T *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkDestroyFramebuffer (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkDestroyImage(struct VkDevice_T *device, struct VkImage_T *image, const struct VkAllocationCallbacks *pAllocator) - - -static void _init_f_vkDestroyImage_8746 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("image"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkDestroyImage_8746 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkImage_T *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkDestroyImage (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkDestroyImageView(struct VkDevice_T *device, struct VkImageView_T *imageView, const struct VkAllocationCallbacks *pAllocator) - - -static void _init_f_vkDestroyImageView_9157 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("imageView"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkDestroyImageView_9157 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkImageView_T *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkDestroyImageView (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkDestroyPipeline(struct VkDevice_T *device, struct VkPipeline_T *pipeline, const struct VkAllocationCallbacks *pAllocator) - - -static void _init_f_vkDestroyPipeline_9085 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pipeline"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkDestroyPipeline_9085 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkPipeline_T *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkDestroyPipeline (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkDestroyPipelineCache(struct VkDevice_T *device, struct VkPipelineCache_T *pipelineCache, const struct VkAllocationCallbacks *pAllocator) - - -static void _init_f_vkDestroyPipelineCache_9553 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pipelineCache"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkDestroyPipelineCache_9553 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkPipelineCache_T *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkDestroyPipelineCache (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkDestroyPipelineLayout(struct VkDevice_T *device, struct VkPipelineLayout_T *pipelineLayout, const struct VkAllocationCallbacks *pAllocator) - - -static void _init_f_vkDestroyPipelineLayout_9723 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pipelineLayout"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkDestroyPipelineLayout_9723 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkPipelineLayout_T *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkDestroyPipelineLayout (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkDestroyQueryPool(struct VkDevice_T *device, struct VkQueryPool_T *queryPool, const struct VkAllocationCallbacks *pAllocator) - - -static void _init_f_vkDestroyQueryPool_9207 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("queryPool"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkDestroyQueryPool_9207 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkQueryPool_T *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkDestroyQueryPool (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkDestroyRenderPass(struct VkDevice_T *device, struct VkRenderPass_T *renderPass, const struct VkAllocationCallbacks *pAllocator) - - -static void _init_f_vkDestroyRenderPass_9278 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("renderPass"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkDestroyRenderPass_9278 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkRenderPass_T *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkDestroyRenderPass (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkDestroySampler(struct VkDevice_T *device, struct VkSampler_T *sampler, const struct VkAllocationCallbacks *pAllocator) - - -static void _init_f_vkDestroySampler_8987 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sampler"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkDestroySampler_8987 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkSampler_T *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkDestroySampler (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkDestroySamplerYcbcrConversion(struct VkDevice_T *device, struct VkSamplerYcbcrConversion_T *ycbcrConversion, const struct VkAllocationCallbacks *pAllocator) - - -static void _init_f_vkDestroySamplerYcbcrConversion_10548 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("ycbcrConversion"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkDestroySamplerYcbcrConversion_10548 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkSamplerYcbcrConversion_T *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkDestroySamplerYcbcrConversion (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkDestroySemaphore(struct VkDevice_T *device, struct VkSemaphore_T *semaphore, const struct VkAllocationCallbacks *pAllocator) - - -static void _init_f_vkDestroySemaphore_9195 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("semaphore"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkDestroySemaphore_9195 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkSemaphore_T *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkDestroySemaphore (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkDestroyShaderModule(struct VkDevice_T *device, struct VkShaderModule_T *shaderModule, const struct VkAllocationCallbacks *pAllocator) - - -static void _init_f_vkDestroyShaderModule_9476 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("shaderModule"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkDestroyShaderModule_9476 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkShaderModule_T *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkDestroyShaderModule (arg1, arg2, arg3); -} - - -// enum VkResult QVulkanDeviceFunctions::vkDeviceWaitIdle(struct VkDevice_T *device) - - -static void _init_f_vkDeviceWaitIdle_2407 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_vkDeviceWaitIdle_2407 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkDeviceWaitIdle (arg1)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkEndCommandBuffer(struct VkCommandBuffer_T *commandBuffer) - - -static void _init_f_vkEndCommandBuffer_3120 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_vkEndCommandBuffer_3120 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkEndCommandBuffer (arg1)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkFlushMappedMemoryRanges(struct VkDevice_T *device, unsigned int memoryRangeCount, const struct VkMappedMemoryRange *pMemoryRanges) - - -static void _init_f_vkFlushMappedMemoryRanges_8019 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("memoryRangeCount"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pMemoryRanges"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkFlushMappedMemoryRanges_8019 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - const struct VkMappedMemoryRange *arg3 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkFlushMappedMemoryRanges (arg1, arg2, arg3)); -} - - -// void QVulkanDeviceFunctions::vkFreeCommandBuffers(struct VkDevice_T *device, struct VkCommandPool_T *commandPool, unsigned int commandBufferCount, const struct VkCommandBuffer_T **pCommandBuffers) - - -static void _init_f_vkFreeCommandBuffers_10640 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("commandPool"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("commandBufferCount"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pCommandBuffers"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkFreeCommandBuffers_10640 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkCommandPool_T *arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - const struct VkCommandBuffer_T **arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkFreeCommandBuffers (arg1, arg2, arg3, arg4); -} - - -// enum VkResult QVulkanDeviceFunctions::vkFreeDescriptorSets(struct VkDevice_T *device, struct VkDescriptorPool_T *descriptorPool, unsigned int descriptorSetCount, const struct VkDescriptorSet_T **pDescriptorSets) - - -static void _init_f_vkFreeDescriptorSets_11042 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("descriptorPool"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("descriptorSetCount"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pDescriptorSets"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkFreeDescriptorSets_11042 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkDescriptorPool_T *arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - const struct VkDescriptorSet_T **arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkFreeDescriptorSets (arg1, arg2, arg3, arg4)); -} - - -// void QVulkanDeviceFunctions::vkFreeMemory(struct VkDevice_T *device, struct VkDeviceMemory_T *memory, const struct VkAllocationCallbacks *pAllocator) - - -static void _init_f_vkFreeMemory_9488 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("memory"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkFreeMemory_9488 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkDeviceMemory_T *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkFreeMemory (arg1, arg2, arg3); -} - - -// unsigned long int QVulkanDeviceFunctions::vkGetBufferDeviceAddress(struct VkDevice_T *device, const struct VkBufferDeviceAddressInfo *pInfo) - - -static void _init_f_vkGetBufferDeviceAddress_6930 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pInfo"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkGetBufferDeviceAddress_6930 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkBufferDeviceAddressInfo *arg2 = gsi::arg_reader() (args, heap); - ret.write ((unsigned long int)((QVulkanDeviceFunctions *)cls)->vkGetBufferDeviceAddress (arg1, arg2)); -} - - -// void QVulkanDeviceFunctions::vkGetBufferMemoryRequirements(struct VkDevice_T *device, struct VkBuffer_T *buffer, struct VkMemoryRequirements *pMemoryRequirements) - - -static void _init_f_vkGetBufferMemoryRequirements_8161 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("buffer"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pMemoryRequirements"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkGetBufferMemoryRequirements_8161 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkBuffer_T *arg2 = gsi::arg_reader() (args, heap); - struct VkMemoryRequirements *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkGetBufferMemoryRequirements (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkGetBufferMemoryRequirements2(struct VkDevice_T *device, const struct VkBufferMemoryRequirementsInfo2 *pInfo, struct VkMemoryRequirements2 *pMemoryRequirements) - - -static void _init_f_vkGetBufferMemoryRequirements2_11090 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pMemoryRequirements"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkGetBufferMemoryRequirements2_11090 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkBufferMemoryRequirementsInfo2 *arg2 = gsi::arg_reader() (args, heap); - struct VkMemoryRequirements2 *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkGetBufferMemoryRequirements2 (arg1, arg2, arg3); -} - - -// unsigned long int QVulkanDeviceFunctions::vkGetBufferOpaqueCaptureAddress(struct VkDevice_T *device, const struct VkBufferDeviceAddressInfo *pInfo) - - -static void _init_f_vkGetBufferOpaqueCaptureAddress_6930 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pInfo"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkGetBufferOpaqueCaptureAddress_6930 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkBufferDeviceAddressInfo *arg2 = gsi::arg_reader() (args, heap); - ret.write ((unsigned long int)((QVulkanDeviceFunctions *)cls)->vkGetBufferOpaqueCaptureAddress (arg1, arg2)); -} - - -// void QVulkanDeviceFunctions::vkGetDescriptorSetLayoutSupport(struct VkDevice_T *device, const struct VkDescriptorSetLayoutCreateInfo *pCreateInfo, struct VkDescriptorSetLayoutSupport *pSupport) - - -static void _init_f_vkGetDescriptorSetLayoutSupport_11901 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pCreateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pSupport"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkGetDescriptorSetLayoutSupport_11901 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkDescriptorSetLayoutCreateInfo *arg2 = gsi::arg_reader() (args, heap); - struct VkDescriptorSetLayoutSupport *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkGetDescriptorSetLayoutSupport (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkGetDeviceGroupPeerMemoryFeatures(struct VkDevice_T *device, unsigned int heapIndex, unsigned int localDeviceIndex, unsigned int remoteDeviceIndex, unsigned int *pPeerMemoryFeatures) - - -static void _init_f_vkGetDeviceGroupPeerMemoryFeatures_9249 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("heapIndex"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("localDeviceIndex"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("remoteDeviceIndex"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("pPeerMemoryFeatures"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_vkGetDeviceGroupPeerMemoryFeatures_9249 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - unsigned int *arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkGetDeviceGroupPeerMemoryFeatures (arg1, arg2, arg3, arg4, arg5); -} - - -// void QVulkanDeviceFunctions::vkGetDeviceMemoryCommitment(struct VkDevice_T *device, struct VkDeviceMemory_T *memory, unsigned long int *pCommittedMemoryInBytes) - - -static void _init_f_vkGetDeviceMemoryCommitment_7765 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("memory"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pCommittedMemoryInBytes"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkGetDeviceMemoryCommitment_7765 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkDeviceMemory_T *arg2 = gsi::arg_reader() (args, heap); - unsigned long int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkGetDeviceMemoryCommitment (arg1, arg2, arg3); -} - - -// unsigned long int QVulkanDeviceFunctions::vkGetDeviceMemoryOpaqueCaptureAddress(struct VkDevice_T *device, const struct VkDeviceMemoryOpaqueCaptureAddressInfo *pInfo) - - -static void _init_f_vkGetDeviceMemoryOpaqueCaptureAddress_8304 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pInfo"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkGetDeviceMemoryOpaqueCaptureAddress_8304 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkDeviceMemoryOpaqueCaptureAddressInfo *arg2 = gsi::arg_reader() (args, heap); - ret.write ((unsigned long int)((QVulkanDeviceFunctions *)cls)->vkGetDeviceMemoryOpaqueCaptureAddress (arg1, arg2)); -} - - -// void QVulkanDeviceFunctions::vkGetDeviceQueue(struct VkDevice_T *device, unsigned int queueFamilyIndex, unsigned int queueIndex, struct VkQueue_T **pQueue) - - -static void _init_f_vkGetDeviceQueue_8001 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("queueFamilyIndex"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("queueIndex"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pQueue"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkGetDeviceQueue_8001 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - struct VkQueue_T **arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkGetDeviceQueue (arg1, arg2, arg3, arg4); -} - - -// void QVulkanDeviceFunctions::vkGetDeviceQueue2(struct VkDevice_T *device, const struct VkDeviceQueueInfo2 *pQueueInfo, struct VkQueue_T **pQueue) - - -static void _init_f_vkGetDeviceQueue2_8451 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pQueueInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pQueue"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkGetDeviceQueue2_8451 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkDeviceQueueInfo2 *arg2 = gsi::arg_reader() (args, heap); - struct VkQueue_T **arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkGetDeviceQueue2 (arg1, arg2, arg3); -} - - -// enum VkResult QVulkanDeviceFunctions::vkGetEventStatus(struct VkDevice_T *device, struct VkEvent_T *event) - - -static void _init_f_vkGetEventStatus_4628 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("event"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkGetEventStatus_4628 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkEvent_T *arg2 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkGetEventStatus (arg1, arg2)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkGetFenceStatus(struct VkDevice_T *device, struct VkFence_T *fence) - - -static void _init_f_vkGetFenceStatus_4595 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("fence"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkGetFenceStatus_4595 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkFence_T *arg2 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkGetFenceStatus (arg1, arg2)); -} - - -// void QVulkanDeviceFunctions::vkGetImageMemoryRequirements(struct VkDevice_T *device, struct VkImage_T *image, struct VkMemoryRequirements *pMemoryRequirements) - - -static void _init_f_vkGetImageMemoryRequirements_8042 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("image"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pMemoryRequirements"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkGetImageMemoryRequirements_8042 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkImage_T *arg2 = gsi::arg_reader() (args, heap); - struct VkMemoryRequirements *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkGetImageMemoryRequirements (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkGetImageMemoryRequirements2(struct VkDevice_T *device, const struct VkImageMemoryRequirementsInfo2 *pInfo, struct VkMemoryRequirements2 *pMemoryRequirements) - - -static void _init_f_vkGetImageMemoryRequirements2_10971 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pMemoryRequirements"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkGetImageMemoryRequirements2_10971 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkImageMemoryRequirementsInfo2 *arg2 = gsi::arg_reader() (args, heap); - struct VkMemoryRequirements2 *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkGetImageMemoryRequirements2 (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkGetImageSparseMemoryRequirements(struct VkDevice_T *device, struct VkImage_T *image, unsigned int *pSparseMemoryRequirementCount, struct VkSparseImageMemoryRequirements *pSparseMemoryRequirements) - - -static void _init_f_vkGetImageSparseMemoryRequirements_10997 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("image"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pSparseMemoryRequirementCount"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pSparseMemoryRequirements"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkGetImageSparseMemoryRequirements_10997 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkImage_T *arg2 = gsi::arg_reader() (args, heap); - unsigned int *arg3 = gsi::arg_reader() (args, heap); - struct VkSparseImageMemoryRequirements *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkGetImageSparseMemoryRequirements (arg1, arg2, arg3, arg4); -} - - -// void QVulkanDeviceFunctions::vkGetImageSparseMemoryRequirements2(struct VkDevice_T *device, const struct VkImageSparseMemoryRequirementsInfo2 *pInfo, unsigned int *pSparseMemoryRequirementCount, struct VkSparseImageMemoryRequirements2 *pSparseMemoryRequirements) - - -static void _init_f_vkGetImageSparseMemoryRequirements2_14548 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pSparseMemoryRequirementCount"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pSparseMemoryRequirements"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkGetImageSparseMemoryRequirements2_14548 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkImageSparseMemoryRequirementsInfo2 *arg2 = gsi::arg_reader() (args, heap); - unsigned int *arg3 = gsi::arg_reader() (args, heap); - struct VkSparseImageMemoryRequirements2 *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkGetImageSparseMemoryRequirements2 (arg1, arg2, arg3, arg4); -} - - -// void QVulkanDeviceFunctions::vkGetImageSubresourceLayout(struct VkDevice_T *device, struct VkImage_T *image, const struct VkImageSubresource *pSubresource, struct VkSubresourceLayout *pLayout) - - -static void _init_f_vkGetImageSubresourceLayout_11809 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("image"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pSubresource"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pLayout"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkGetImageSubresourceLayout_11809 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkImage_T *arg2 = gsi::arg_reader() (args, heap); - const struct VkImageSubresource *arg3 = gsi::arg_reader() (args, heap); - struct VkSubresourceLayout *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkGetImageSubresourceLayout (arg1, arg2, arg3, arg4); -} - - -// enum VkResult QVulkanDeviceFunctions::vkGetPipelineCacheData(struct VkDevice_T *device, struct VkPipelineCache_T *pipelineCache, unsigned long int *pDataSize, void *pData) - - -static void _init_f_vkGetPipelineCacheData_8778 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pipelineCache"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pDataSize"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pData"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkGetPipelineCacheData_8778 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkPipelineCache_T *arg2 = gsi::arg_reader() (args, heap); - unsigned long int *arg3 = gsi::arg_reader() (args, heap); - void *arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkGetPipelineCacheData (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkGetQueryPoolResults(struct VkDevice_T *device, struct VkQueryPool_T *queryPool, unsigned int firstQuery, unsigned int queryCount, unsigned long int dataSize, void *pData, unsigned long int stride, unsigned int flags) - - -static void _init_f_vkGetQueryPoolResults_15478 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("queryPool"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("firstQuery"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("queryCount"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("dataSize"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("pData"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("stride"); - decl->add_arg (argspec_6); - static gsi::ArgSpecBase argspec_7 ("flags"); - decl->add_arg (argspec_7); - decl->set_return (); -} - -static void _call_f_vkGetQueryPoolResults_15478 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkQueryPool_T *arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - unsigned long int arg5 = gsi::arg_reader() (args, heap); - void *arg6 = gsi::arg_reader() (args, heap); - unsigned long int arg7 = gsi::arg_reader() (args, heap); - unsigned int arg8 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkGetQueryPoolResults (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8)); -} - - -// void QVulkanDeviceFunctions::vkGetRenderAreaGranularity(struct VkDevice_T *device, struct VkRenderPass_T *renderPass, struct VkExtent2D *pGranularity) - - -static void _init_f_vkGetRenderAreaGranularity_7407 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("renderPass"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pGranularity"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkGetRenderAreaGranularity_7407 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkRenderPass_T *arg2 = gsi::arg_reader() (args, heap); - struct VkExtent2D *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkGetRenderAreaGranularity (arg1, arg2, arg3); -} - - -// enum VkResult QVulkanDeviceFunctions::vkGetSemaphoreCounterValue(struct VkDevice_T *device, struct VkSemaphore_T *semaphore, unsigned long int *pValue) - - -static void _init_f_vkGetSemaphoreCounterValue_7472 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("semaphore"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pValue"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkGetSemaphoreCounterValue_7472 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkSemaphore_T *arg2 = gsi::arg_reader() (args, heap); - unsigned long int *arg3 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkGetSemaphoreCounterValue (arg1, arg2, arg3)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkInvalidateMappedMemoryRanges(struct VkDevice_T *device, unsigned int memoryRangeCount, const struct VkMappedMemoryRange *pMemoryRanges) - - -static void _init_f_vkInvalidateMappedMemoryRanges_8019 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("memoryRangeCount"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pMemoryRanges"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkInvalidateMappedMemoryRanges_8019 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - const struct VkMappedMemoryRange *arg3 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkInvalidateMappedMemoryRanges (arg1, arg2, arg3)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkMapMemory(struct VkDevice_T *device, struct VkDeviceMemory_T *memory, unsigned long int offset, unsigned long int size, unsigned int flags, void **ppData) - - -static void _init_f_vkMapMemory_12473 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("memory"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("offset"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("size"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("flags"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("ppData"); - decl->add_arg (argspec_5); - decl->set_return (); -} - -static void _call_f_vkMapMemory_12473 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkDeviceMemory_T *arg2 = gsi::arg_reader() (args, heap); - unsigned long int arg3 = gsi::arg_reader() (args, heap); - unsigned long int arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - void **arg6 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkMapMemory (arg1, arg2, arg3, arg4, arg5, arg6)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkMergePipelineCaches(struct VkDevice_T *device, struct VkPipelineCache_T *dstCache, unsigned int srcCacheCount, const struct VkPipelineCache_T **pSrcCaches) - - -static void _init_f_vkMergePipelineCaches_10802 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("dstCache"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("srcCacheCount"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pSrcCaches"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkMergePipelineCaches_10802 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkPipelineCache_T *arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - const struct VkPipelineCache_T **arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkMergePipelineCaches (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkQueueBindSparse(struct VkQueue_T *queue, unsigned int bindInfoCount, const struct VkBindSparseInfo *pBindInfo, struct VkFence_T *fence) - - -static void _init_f_vkQueueBindSparse_9806 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("queue"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("bindInfoCount"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pBindInfo"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("fence"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkQueueBindSparse_9806 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkQueue_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - const struct VkBindSparseInfo *arg3 = gsi::arg_reader() (args, heap); - struct VkFence_T *arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkQueueBindSparse (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkQueueSubmit(struct VkQueue_T *queue, unsigned int submitCount, const struct VkSubmitInfo *pSubmits, struct VkFence_T *fence) - - -static void _init_f_vkQueueSubmit_9431 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("queue"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("submitCount"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pSubmits"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("fence"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkQueueSubmit_9431 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkQueue_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - const struct VkSubmitInfo *arg3 = gsi::arg_reader() (args, heap); - struct VkFence_T *arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkQueueSubmit (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkQueueWaitIdle(struct VkQueue_T *queue) - - -static void _init_f_vkQueueWaitIdle_2332 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("queue"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_vkQueueWaitIdle_2332 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkQueue_T *arg1 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkQueueWaitIdle (arg1)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkResetCommandBuffer(struct VkCommandBuffer_T *commandBuffer, unsigned int flags) - - -static void _init_f_vkResetCommandBuffer_4784 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("commandBuffer"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("flags"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkResetCommandBuffer_4784 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkCommandBuffer_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkResetCommandBuffer (arg1, arg2)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkResetCommandPool(struct VkDevice_T *device, struct VkCommandPool_T *commandPool, unsigned int flags) - - -static void _init_f_vkResetCommandPool_6891 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("commandPool"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("flags"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkResetCommandPool_6891 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkCommandPool_T *arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkResetCommandPool (arg1, arg2, arg3)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkResetDescriptorPool(struct VkDevice_T *device, struct VkDescriptorPool_T *descriptorPool, unsigned int flags) - - -static void _init_f_vkResetDescriptorPool_7243 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("descriptorPool"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("flags"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkResetDescriptorPool_7243 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkDescriptorPool_T *arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkResetDescriptorPool (arg1, arg2, arg3)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkResetEvent(struct VkDevice_T *device, struct VkEvent_T *event) - - -static void _init_f_vkResetEvent_4628 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("event"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkResetEvent_4628 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkEvent_T *arg2 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkResetEvent (arg1, arg2)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkResetFences(struct VkDevice_T *device, unsigned int fenceCount, const struct VkFence_T **pFences) - - -static void _init_f_vkResetFences_6996 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("fenceCount"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pFences"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkResetFences_6996 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - const struct VkFence_T **arg3 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkResetFences (arg1, arg2, arg3)); -} - - -// void QVulkanDeviceFunctions::vkResetQueryPool(struct VkDevice_T *device, struct VkQueryPool_T *queryPool, unsigned int firstQuery, unsigned int queryCount) - - -static void _init_f_vkResetQueryPool_8386 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("queryPool"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("firstQuery"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("queryCount"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkResetQueryPool_8386 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkQueryPool_T *arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkResetQueryPool (arg1, arg2, arg3, arg4); -} - - -// enum VkResult QVulkanDeviceFunctions::vkSetEvent(struct VkDevice_T *device, struct VkEvent_T *event) - - -static void _init_f_vkSetEvent_4628 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("event"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkSetEvent_4628 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkEvent_T *arg2 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkSetEvent (arg1, arg2)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkSignalSemaphore(struct VkDevice_T *device, const struct VkSemaphoreSignalInfo *pSignalInfo) - - -static void _init_f_vkSignalSemaphore_6564 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pSignalInfo"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkSignalSemaphore_6564 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkSemaphoreSignalInfo *arg2 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkSignalSemaphore (arg1, arg2)); -} - - -// void QVulkanDeviceFunctions::vkTrimCommandPool(struct VkDevice_T *device, struct VkCommandPool_T *commandPool, unsigned int flags) - - -static void _init_f_vkTrimCommandPool_6891 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("commandPool"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("flags"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkTrimCommandPool_6891 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkCommandPool_T *arg2 = gsi::arg_reader() (args, heap); - unsigned int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkTrimCommandPool (arg1, arg2, arg3); -} - - -// void QVulkanDeviceFunctions::vkUnmapMemory(struct VkDevice_T *device, struct VkDeviceMemory_T *memory) - - -static void _init_f_vkUnmapMemory_5339 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("memory"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkUnmapMemory_5339 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkDeviceMemory_T *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkUnmapMemory (arg1, arg2); -} - - -// void QVulkanDeviceFunctions::vkUpdateDescriptorSetWithTemplate(struct VkDevice_T *device, struct VkDescriptorSet_T *descriptorSet, struct VkDescriptorUpdateTemplate_T *descriptorUpdateTemplate, const void *pData) - - -static void _init_f_vkUpdateDescriptorSetWithTemplate_11313 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("descriptorSet"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("descriptorUpdateTemplate"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pData"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkUpdateDescriptorSetWithTemplate_11313 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkDescriptorSet_T *arg2 = gsi::arg_reader() (args, heap); - struct VkDescriptorUpdateTemplate_T *arg3 = gsi::arg_reader() (args, heap); - const void *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkUpdateDescriptorSetWithTemplate (arg1, arg2, arg3, arg4); -} - - -// void QVulkanDeviceFunctions::vkUpdateDescriptorSets(struct VkDevice_T *device, unsigned int descriptorWriteCount, const struct VkWriteDescriptorSet *pDescriptorWrites, unsigned int descriptorCopyCount, const struct VkCopyDescriptorSet *pDescriptorCopies) - - -static void _init_f_vkUpdateDescriptorSets_13825 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("descriptorWriteCount"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pDescriptorWrites"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("descriptorCopyCount"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("pDescriptorCopies"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_vkUpdateDescriptorSets_13825 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - const struct VkWriteDescriptorSet *arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - const struct VkCopyDescriptorSet *arg5 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanDeviceFunctions *)cls)->vkUpdateDescriptorSets (arg1, arg2, arg3, arg4, arg5); -} - - -// enum VkResult QVulkanDeviceFunctions::vkWaitForFences(struct VkDevice_T *device, unsigned int fenceCount, const struct VkFence_T **pFences, unsigned int waitAll, unsigned long int timeout) - - -static void _init_f_vkWaitForFences_10900 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("fenceCount"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pFences"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("waitAll"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("timeout"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_vkWaitForFences_10900 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - const struct VkFence_T **arg3 = gsi::arg_reader() (args, heap); - unsigned int arg4 = gsi::arg_reader() (args, heap); - unsigned long int arg5 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkWaitForFences (arg1, arg2, arg3, arg4, arg5)); -} - - -// enum VkResult QVulkanDeviceFunctions::vkWaitSemaphores(struct VkDevice_T *device, const struct VkSemaphoreWaitInfo *pWaitInfo, unsigned long int timeout) - - -static void _init_f_vkWaitSemaphores_8603 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pWaitInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("timeout"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkWaitSemaphores_8603 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkSemaphoreWaitInfo *arg2 = gsi::arg_reader() (args, heap); - unsigned long int arg3 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanDeviceFunctions *)cls)->vkWaitSemaphores (arg1, arg2, arg3)); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QVulkanDeviceFunctions () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QVulkanDeviceFunctions::QVulkanDeviceFunctions()\nThis method creates an object of class QVulkanDeviceFunctions.", &_init_ctor_QVulkanDeviceFunctions_0, &_call_ctor_QVulkanDeviceFunctions_0); - methods += new qt_gsi::GenericMethod ("vkAllocateCommandBuffers", "@brief Method enum VkResult QVulkanDeviceFunctions::vkAllocateCommandBuffers(struct VkDevice_T *device, const struct VkCommandBufferAllocateInfo *pAllocateInfo, struct VkCommandBuffer_T **pCommandBuffers)\n", false, &_init_f_vkAllocateCommandBuffers_10190, &_call_f_vkAllocateCommandBuffers_10190); - methods += new qt_gsi::GenericMethod ("vkAllocateDescriptorSets", "@brief Method enum VkResult QVulkanDeviceFunctions::vkAllocateDescriptorSets(struct VkDevice_T *device, const struct VkDescriptorSetAllocateInfo *pAllocateInfo, struct VkDescriptorSet_T **pDescriptorSets)\n", false, &_init_f_vkAllocateDescriptorSets_10290, &_call_f_vkAllocateDescriptorSets_10290); - methods += new qt_gsi::GenericMethod ("vkAllocateMemory", "@brief Method enum VkResult QVulkanDeviceFunctions::vkAllocateMemory(struct VkDevice_T *device, const struct VkMemoryAllocateInfo *pAllocateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkDeviceMemory_T **pMemory)\n", false, &_init_f_vkAllocateMemory_13587, &_call_f_vkAllocateMemory_13587); - methods += new qt_gsi::GenericMethod ("vkBeginCommandBuffer", "@brief Method enum VkResult QVulkanDeviceFunctions::vkBeginCommandBuffer(struct VkCommandBuffer_T *commandBuffer, const struct VkCommandBufferBeginInfo *pBeginInfo)\n", false, &_init_f_vkBeginCommandBuffer_7529, &_call_f_vkBeginCommandBuffer_7529); - methods += new qt_gsi::GenericMethod ("vkBindBufferMemory", "@brief Method enum VkResult QVulkanDeviceFunctions::vkBindBufferMemory(struct VkDevice_T *device, struct VkBuffer_T *buffer, struct VkDeviceMemory_T *memory, unsigned long int memoryOffset)\n", false, &_init_f_vkBindBufferMemory_9888, &_call_f_vkBindBufferMemory_9888); - methods += new qt_gsi::GenericMethod ("vkBindBufferMemory2", "@brief Method enum VkResult QVulkanDeviceFunctions::vkBindBufferMemory2(struct VkDevice_T *device, unsigned int bindInfoCount, const struct VkBindBufferMemoryInfo *pBindInfos)\n", false, &_init_f_vkBindBufferMemory2_8306, &_call_f_vkBindBufferMemory2_8306); - methods += new qt_gsi::GenericMethod ("vkBindImageMemory", "@brief Method enum VkResult QVulkanDeviceFunctions::vkBindImageMemory(struct VkDevice_T *device, struct VkImage_T *image, struct VkDeviceMemory_T *memory, unsigned long int memoryOffset)\n", false, &_init_f_vkBindImageMemory_9769, &_call_f_vkBindImageMemory_9769); - methods += new qt_gsi::GenericMethod ("vkBindImageMemory2", "@brief Method enum VkResult QVulkanDeviceFunctions::vkBindImageMemory2(struct VkDevice_T *device, unsigned int bindInfoCount, const struct VkBindImageMemoryInfo *pBindInfos)\n", false, &_init_f_vkBindImageMemory2_8187, &_call_f_vkBindImageMemory2_8187); - methods += new qt_gsi::GenericMethod ("vkCmdBeginQuery", "@brief Method void QVulkanDeviceFunctions::vkCmdBeginQuery(struct VkCommandBuffer_T *commandBuffer, struct VkQueryPool_T *queryPool, unsigned int query, unsigned int flags)\n", false, &_init_f_vkCmdBeginQuery_9099, &_call_f_vkCmdBeginQuery_9099); - methods += new qt_gsi::GenericMethod ("vkCmdBeginRenderPass", "@brief Method void QVulkanDeviceFunctions::vkCmdBeginRenderPass(struct VkCommandBuffer_T *commandBuffer, const struct VkRenderPassBeginInfo *pRenderPassBegin, enum VkSubpassContents contents)\n", false, &_init_f_vkCmdBeginRenderPass_9924, &_call_f_vkCmdBeginRenderPass_9924); - methods += new qt_gsi::GenericMethod ("vkCmdBeginRenderPass2", "@brief Method void QVulkanDeviceFunctions::vkCmdBeginRenderPass2(struct VkCommandBuffer_T *commandBuffer, const struct VkRenderPassBeginInfo *pRenderPassBegin, const struct VkSubpassBeginInfo *pSubpassBeginInfo)\n", false, &_init_f_vkCmdBeginRenderPass2_11080, &_call_f_vkCmdBeginRenderPass2_11080); - methods += new qt_gsi::GenericMethod ("vkCmdBindDescriptorSets", "@brief Method void QVulkanDeviceFunctions::vkCmdBindDescriptorSets(struct VkCommandBuffer_T *commandBuffer, enum VkPipelineBindPoint pipelineBindPoint, struct VkPipelineLayout_T *layout, unsigned int firstSet, unsigned int descriptorSetCount, const struct VkDescriptorSet_T **pDescriptorSets, unsigned int dynamicOffsetCount, const unsigned int *pDynamicOffsets)\n", false, &_init_f_vkCmdBindDescriptorSets_20450, &_call_f_vkCmdBindDescriptorSets_20450); - methods += new qt_gsi::GenericMethod ("vkCmdBindIndexBuffer", "@brief Method void QVulkanDeviceFunctions::vkCmdBindIndexBuffer(struct VkCommandBuffer_T *commandBuffer, struct VkBuffer_T *buffer, unsigned long int offset, enum VkIndexType indexType)\n", false, &_init_f_vkCmdBindIndexBuffer_9693, &_call_f_vkCmdBindIndexBuffer_9693); - methods += new qt_gsi::GenericMethod ("vkCmdBindPipeline", "@brief Method void QVulkanDeviceFunctions::vkCmdBindPipeline(struct VkCommandBuffer_T *commandBuffer, enum VkPipelineBindPoint pipelineBindPoint, struct VkPipeline_T *pipeline)\n", false, &_init_f_vkCmdBindPipeline_8476, &_call_f_vkCmdBindPipeline_8476); - methods += new qt_gsi::GenericMethod ("vkCmdBindVertexBuffers", "@brief Method void QVulkanDeviceFunctions::vkCmdBindVertexBuffers(struct VkCommandBuffer_T *commandBuffer, unsigned int firstBinding, unsigned int bindingCount, const struct VkBuffer_T **pBuffers, const unsigned long int *pOffsets)\n", false, &_init_f_vkCmdBindVertexBuffers_12615, &_call_f_vkCmdBindVertexBuffers_12615); - methods += new qt_gsi::GenericMethod ("vkCmdBlitImage", "@brief Method void QVulkanDeviceFunctions::vkCmdBlitImage(struct VkCommandBuffer_T *commandBuffer, struct VkImage_T *srcImage, enum VkImageLayout srcImageLayout, struct VkImage_T *dstImage, enum VkImageLayout dstImageLayout, unsigned int regionCount, const struct VkImageBlit *pRegions, enum VkFilter filter)\n", false, &_init_f_vkCmdBlitImage_18427, &_call_f_vkCmdBlitImage_18427); - methods += new qt_gsi::GenericMethod ("vkCmdClearAttachments", "@brief Method void QVulkanDeviceFunctions::vkCmdClearAttachments(struct VkCommandBuffer_T *commandBuffer, unsigned int attachmentCount, const struct VkClearAttachment *pAttachments, unsigned int rectCount, const struct VkClearRect *pRects)\n", false, &_init_f_vkCmdClearAttachments_13299, &_call_f_vkCmdClearAttachments_13299); - methods += new qt_gsi::GenericMethod ("vkCmdClearColorImage", "@brief Method void QVulkanDeviceFunctions::vkCmdClearColorImage(struct VkCommandBuffer_T *commandBuffer, struct VkImage_T *image, enum VkImageLayout imageLayout, const union VkClearColorValue *pColor, unsigned int rangeCount, const struct VkImageSubresourceRange *pRanges)\n", false, &_init_f_vkCmdClearColorImage_17172, &_call_f_vkCmdClearColorImage_17172); - methods += new qt_gsi::GenericMethod ("vkCmdClearDepthStencilImage", "@brief Method void QVulkanDeviceFunctions::vkCmdClearDepthStencilImage(struct VkCommandBuffer_T *commandBuffer, struct VkImage_T *image, enum VkImageLayout imageLayout, const struct VkClearDepthStencilValue *pDepthStencil, unsigned int rangeCount, const struct VkImageSubresourceRange *pRanges)\n", false, &_init_f_vkCmdClearDepthStencilImage_18008, &_call_f_vkCmdClearDepthStencilImage_18008); - methods += new qt_gsi::GenericMethod ("vkCmdCopyBuffer", "@brief Method void QVulkanDeviceFunctions::vkCmdCopyBuffer(struct VkCommandBuffer_T *commandBuffer, struct VkBuffer_T *srcBuffer, struct VkBuffer_T *dstBuffer, unsigned int regionCount, const struct VkBufferCopy *pRegions)\n", false, &_init_f_vkCmdCopyBuffer_12638, &_call_f_vkCmdCopyBuffer_12638); - methods += new qt_gsi::GenericMethod ("vkCmdCopyBufferToImage", "@brief Method void QVulkanDeviceFunctions::vkCmdCopyBufferToImage(struct VkCommandBuffer_T *commandBuffer, struct VkBuffer_T *srcBuffer, struct VkImage_T *dstImage, enum VkImageLayout dstImageLayout, unsigned int regionCount, const struct VkBufferImageCopy *pRegions)\n", false, &_init_f_vkCmdCopyBufferToImage_15225, &_call_f_vkCmdCopyBufferToImage_15225); - methods += new qt_gsi::GenericMethod ("vkCmdCopyImage", "@brief Method void QVulkanDeviceFunctions::vkCmdCopyImage(struct VkCommandBuffer_T *commandBuffer, struct VkImage_T *srcImage, enum VkImageLayout srcImageLayout, struct VkImage_T *dstImage, enum VkImageLayout dstImageLayout, unsigned int regionCount, const struct VkImageCopy *pRegions)\n", false, &_init_f_vkCmdCopyImage_16727, &_call_f_vkCmdCopyImage_16727); - methods += new qt_gsi::GenericMethod ("vkCmdCopyImageToBuffer", "@brief Method void QVulkanDeviceFunctions::vkCmdCopyImageToBuffer(struct VkCommandBuffer_T *commandBuffer, struct VkImage_T *srcImage, enum VkImageLayout srcImageLayout, struct VkBuffer_T *dstBuffer, unsigned int regionCount, const struct VkBufferImageCopy *pRegions)\n", false, &_init_f_vkCmdCopyImageToBuffer_15225, &_call_f_vkCmdCopyImageToBuffer_15225); - methods += new qt_gsi::GenericMethod ("vkCmdCopyQueryPoolResults", "@brief Method void QVulkanDeviceFunctions::vkCmdCopyQueryPoolResults(struct VkCommandBuffer_T *commandBuffer, struct VkQueryPool_T *queryPool, unsigned int firstQuery, unsigned int queryCount, struct VkBuffer_T *dstBuffer, unsigned long int dstOffset, unsigned long int stride, unsigned int flags)\n", false, &_init_f_vkCmdCopyQueryPoolResults_17552, &_call_f_vkCmdCopyQueryPoolResults_17552); - methods += new qt_gsi::GenericMethod ("vkCmdDispatch", "@brief Method void QVulkanDeviceFunctions::vkCmdDispatch(struct VkCommandBuffer_T *commandBuffer, unsigned int groupCountX, unsigned int groupCountY, unsigned int groupCountZ)\n", false, &_init_f_vkCmdDispatch_8112, &_call_f_vkCmdDispatch_8112); - methods += new qt_gsi::GenericMethod ("vkCmdDispatchBase", "@brief Method void QVulkanDeviceFunctions::vkCmdDispatchBase(struct VkCommandBuffer_T *commandBuffer, unsigned int baseGroupX, unsigned int baseGroupY, unsigned int baseGroupZ, unsigned int groupCountX, unsigned int groupCountY, unsigned int groupCountZ)\n", false, &_init_f_vkCmdDispatchBase_13104, &_call_f_vkCmdDispatchBase_13104); - methods += new qt_gsi::GenericMethod ("vkCmdDispatchIndirect", "@brief Method void QVulkanDeviceFunctions::vkCmdDispatchIndirect(struct VkCommandBuffer_T *commandBuffer, struct VkBuffer_T *buffer, unsigned long int offset)\n", false, &_init_f_vkCmdDispatchIndirect_7669, &_call_f_vkCmdDispatchIndirect_7669); - methods += new qt_gsi::GenericMethod ("vkCmdDraw", "@brief Method void QVulkanDeviceFunctions::vkCmdDraw(struct VkCommandBuffer_T *commandBuffer, unsigned int vertexCount, unsigned int instanceCount, unsigned int firstVertex, unsigned int firstInstance)\n", false, &_init_f_vkCmdDraw_9776, &_call_f_vkCmdDraw_9776); - methods += new qt_gsi::GenericMethod ("vkCmdDrawIndexed", "@brief Method void QVulkanDeviceFunctions::vkCmdDrawIndexed(struct VkCommandBuffer_T *commandBuffer, unsigned int indexCount, unsigned int instanceCount, unsigned int firstIndex, signed int vertexOffset, unsigned int firstInstance)\n", false, &_init_f_vkCmdDrawIndexed_11213, &_call_f_vkCmdDrawIndexed_11213); - methods += new qt_gsi::GenericMethod ("vkCmdDrawIndexedIndirect", "@brief Method void QVulkanDeviceFunctions::vkCmdDrawIndexedIndirect(struct VkCommandBuffer_T *commandBuffer, struct VkBuffer_T *buffer, unsigned long int offset, unsigned int drawCount, unsigned int stride)\n", false, &_init_f_vkCmdDrawIndexedIndirect_10997, &_call_f_vkCmdDrawIndexedIndirect_10997); - methods += new qt_gsi::GenericMethod ("vkCmdDrawIndexedIndirectCount", "@brief Method void QVulkanDeviceFunctions::vkCmdDrawIndexedIndirectCount(struct VkCommandBuffer_T *commandBuffer, struct VkBuffer_T *buffer, unsigned long int offset, struct VkBuffer_T *countBuffer, unsigned long int countBufferOffset, unsigned int maxDrawCount, unsigned int stride)\n", false, &_init_f_vkCmdDrawIndexedIndirectCount_15546, &_call_f_vkCmdDrawIndexedIndirectCount_15546); - methods += new qt_gsi::GenericMethod ("vkCmdDrawIndirect", "@brief Method void QVulkanDeviceFunctions::vkCmdDrawIndirect(struct VkCommandBuffer_T *commandBuffer, struct VkBuffer_T *buffer, unsigned long int offset, unsigned int drawCount, unsigned int stride)\n", false, &_init_f_vkCmdDrawIndirect_10997, &_call_f_vkCmdDrawIndirect_10997); - methods += new qt_gsi::GenericMethod ("vkCmdDrawIndirectCount", "@brief Method void QVulkanDeviceFunctions::vkCmdDrawIndirectCount(struct VkCommandBuffer_T *commandBuffer, struct VkBuffer_T *buffer, unsigned long int offset, struct VkBuffer_T *countBuffer, unsigned long int countBufferOffset, unsigned int maxDrawCount, unsigned int stride)\n", false, &_init_f_vkCmdDrawIndirectCount_15546, &_call_f_vkCmdDrawIndirectCount_15546); - methods += new qt_gsi::GenericMethod ("vkCmdEndQuery", "@brief Method void QVulkanDeviceFunctions::vkCmdEndQuery(struct VkCommandBuffer_T *commandBuffer, struct VkQueryPool_T *queryPool, unsigned int query)\n", false, &_init_f_vkCmdEndQuery_7435, &_call_f_vkCmdEndQuery_7435); - methods += new qt_gsi::GenericMethod ("vkCmdEndRenderPass", "@brief Method void QVulkanDeviceFunctions::vkCmdEndRenderPass(struct VkCommandBuffer_T *commandBuffer)\n", false, &_init_f_vkCmdEndRenderPass_3120, &_call_f_vkCmdEndRenderPass_3120); - methods += new qt_gsi::GenericMethod ("vkCmdEndRenderPass2", "@brief Method void QVulkanDeviceFunctions::vkCmdEndRenderPass2(struct VkCommandBuffer_T *commandBuffer, const struct VkSubpassEndInfo *pSubpassEndInfo)\n", false, &_init_f_vkCmdEndRenderPass2_6755, &_call_f_vkCmdEndRenderPass2_6755); - methods += new qt_gsi::GenericMethod ("vkCmdExecuteCommands", "@brief Method void QVulkanDeviceFunctions::vkCmdExecuteCommands(struct VkCommandBuffer_T *commandBuffer, unsigned int commandBufferCount, const struct VkCommandBuffer_T **pCommandBuffers)\n", false, &_init_f_vkCmdExecuteCommands_8533, &_call_f_vkCmdExecuteCommands_8533); - methods += new qt_gsi::GenericMethod ("vkCmdFillBuffer", "@brief Method void QVulkanDeviceFunctions::vkCmdFillBuffer(struct VkCommandBuffer_T *commandBuffer, struct VkBuffer_T *dstBuffer, unsigned long int dstOffset, unsigned long int size, unsigned int data)\n", false, &_init_f_vkCmdFillBuffer_11573, &_call_f_vkCmdFillBuffer_11573); - methods += new qt_gsi::GenericMethod ("vkCmdNextSubpass", "@brief Method void QVulkanDeviceFunctions::vkCmdNextSubpass(struct VkCommandBuffer_T *commandBuffer, enum VkSubpassContents contents)\n", false, &_init_f_vkCmdNextSubpass_5805, &_call_f_vkCmdNextSubpass_5805); - methods += new qt_gsi::GenericMethod ("vkCmdNextSubpass2", "@brief Method void QVulkanDeviceFunctions::vkCmdNextSubpass2(struct VkCommandBuffer_T *commandBuffer, const struct VkSubpassBeginInfo *pSubpassBeginInfo, const struct VkSubpassEndInfo *pSubpassEndInfo)\n", false, &_init_f_vkCmdNextSubpass2_10596, &_call_f_vkCmdNextSubpass2_10596); - methods += new qt_gsi::GenericMethod ("vkCmdPipelineBarrier", "@brief Method void QVulkanDeviceFunctions::vkCmdPipelineBarrier(struct VkCommandBuffer_T *commandBuffer, unsigned int srcStageMask, unsigned int dstStageMask, unsigned int dependencyFlags, unsigned int memoryBarrierCount, const struct VkMemoryBarrier *pMemoryBarriers, unsigned int bufferMemoryBarrierCount, const struct VkBufferMemoryBarrier *pBufferMemoryBarriers, unsigned int imageMemoryBarrierCount, const struct VkImageMemoryBarrier *pImageMemoryBarriers)\n", false, &_init_f_vkCmdPipelineBarrier_24890, &_call_f_vkCmdPipelineBarrier_24890); - methods += new qt_gsi::GenericMethod ("vkCmdPushConstants", "@brief Method void QVulkanDeviceFunctions::vkCmdPushConstants(struct VkCommandBuffer_T *commandBuffer, struct VkPipelineLayout_T *layout, unsigned int stageFlags, unsigned int offset, unsigned int size, const void *pValues)\n", false, &_init_f_vkCmdPushConstants_12922, &_call_f_vkCmdPushConstants_12922); - methods += new qt_gsi::GenericMethod ("vkCmdResetEvent", "@brief Method void QVulkanDeviceFunctions::vkCmdResetEvent(struct VkCommandBuffer_T *commandBuffer, struct VkEvent_T *event, unsigned int stageMask)\n", false, &_init_f_vkCmdResetEvent_7005, &_call_f_vkCmdResetEvent_7005); - methods += new qt_gsi::GenericMethod ("vkCmdResetQueryPool", "@brief Method void QVulkanDeviceFunctions::vkCmdResetQueryPool(struct VkCommandBuffer_T *commandBuffer, struct VkQueryPool_T *queryPool, unsigned int firstQuery, unsigned int queryCount)\n", false, &_init_f_vkCmdResetQueryPool_9099, &_call_f_vkCmdResetQueryPool_9099); - methods += new qt_gsi::GenericMethod ("vkCmdResolveImage", "@brief Method void QVulkanDeviceFunctions::vkCmdResolveImage(struct VkCommandBuffer_T *commandBuffer, struct VkImage_T *srcImage, enum VkImageLayout srcImageLayout, struct VkImage_T *dstImage, enum VkImageLayout dstImageLayout, unsigned int regionCount, const struct VkImageResolve *pRegions)\n", false, &_init_f_vkCmdResolveImage_17052, &_call_f_vkCmdResolveImage_17052); - methods += new qt_gsi::GenericMethod ("vkCmdSetBlendConstants", "@brief Method void QVulkanDeviceFunctions::vkCmdSetBlendConstants(struct VkCommandBuffer_T *commandBuffer, const float blendConstants [])\n", false, &_init_f_vkCmdSetBlendConstants_5005, &_call_f_vkCmdSetBlendConstants_5005); - methods += new qt_gsi::GenericMethod ("vkCmdSetDepthBias", "@brief Method void QVulkanDeviceFunctions::vkCmdSetDepthBias(struct VkCommandBuffer_T *commandBuffer, float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor)\n", false, &_init_f_vkCmdSetDepthBias_5706, &_call_f_vkCmdSetDepthBias_5706); - methods += new qt_gsi::GenericMethod ("vkCmdSetDepthBounds", "@brief Method void QVulkanDeviceFunctions::vkCmdSetDepthBounds(struct VkCommandBuffer_T *commandBuffer, float minDepthBounds, float maxDepthBounds)\n", false, &_init_f_vkCmdSetDepthBounds_4844, &_call_f_vkCmdSetDepthBounds_4844); - methods += new qt_gsi::GenericMethod ("vkCmdSetDeviceMask", "@brief Method void QVulkanDeviceFunctions::vkCmdSetDeviceMask(struct VkCommandBuffer_T *commandBuffer, unsigned int deviceMask)\n", false, &_init_f_vkCmdSetDeviceMask_4784, &_call_f_vkCmdSetDeviceMask_4784); - methods += new qt_gsi::GenericMethod ("vkCmdSetEvent", "@brief Method void QVulkanDeviceFunctions::vkCmdSetEvent(struct VkCommandBuffer_T *commandBuffer, struct VkEvent_T *event, unsigned int stageMask)\n", false, &_init_f_vkCmdSetEvent_7005, &_call_f_vkCmdSetEvent_7005); - methods += new qt_gsi::GenericMethod ("vkCmdSetLineWidth", "@brief Method void QVulkanDeviceFunctions::vkCmdSetLineWidth(struct VkCommandBuffer_T *commandBuffer, float lineWidth)\n", false, &_init_f_vkCmdSetLineWidth_3982, &_call_f_vkCmdSetLineWidth_3982); - methods += new qt_gsi::GenericMethod ("vkCmdSetScissor", "@brief Method void QVulkanDeviceFunctions::vkCmdSetScissor(struct VkCommandBuffer_T *commandBuffer, unsigned int firstScissor, unsigned int scissorCount, const struct VkRect2D *pScissors)\n", false, &_init_f_vkCmdSetScissor_9187, &_call_f_vkCmdSetScissor_9187); - methods += new qt_gsi::GenericMethod ("vkCmdSetStencilCompareMask", "@brief Method void QVulkanDeviceFunctions::vkCmdSetStencilCompareMask(struct VkCommandBuffer_T *commandBuffer, unsigned int faceMask, unsigned int compareMask)\n", false, &_init_f_vkCmdSetStencilCompareMask_6448, &_call_f_vkCmdSetStencilCompareMask_6448); - methods += new qt_gsi::GenericMethod ("vkCmdSetStencilReference", "@brief Method void QVulkanDeviceFunctions::vkCmdSetStencilReference(struct VkCommandBuffer_T *commandBuffer, unsigned int faceMask, unsigned int reference)\n", false, &_init_f_vkCmdSetStencilReference_6448, &_call_f_vkCmdSetStencilReference_6448); - methods += new qt_gsi::GenericMethod ("vkCmdSetStencilWriteMask", "@brief Method void QVulkanDeviceFunctions::vkCmdSetStencilWriteMask(struct VkCommandBuffer_T *commandBuffer, unsigned int faceMask, unsigned int writeMask)\n", false, &_init_f_vkCmdSetStencilWriteMask_6448, &_call_f_vkCmdSetStencilWriteMask_6448); - methods += new qt_gsi::GenericMethod ("vkCmdSetViewport", "@brief Method void QVulkanDeviceFunctions::vkCmdSetViewport(struct VkCommandBuffer_T *commandBuffer, unsigned int firstViewport, unsigned int viewportCount, const struct VkViewport *pViewports)\n", false, &_init_f_vkCmdSetViewport_9535, &_call_f_vkCmdSetViewport_9535); - methods += new qt_gsi::GenericMethod ("vkCmdUpdateBuffer", "@brief Method void QVulkanDeviceFunctions::vkCmdUpdateBuffer(struct VkCommandBuffer_T *commandBuffer, struct VkBuffer_T *dstBuffer, unsigned long int dstOffset, unsigned long int dataSize, const void *pData)\n", false, &_init_f_vkCmdUpdateBuffer_11552, &_call_f_vkCmdUpdateBuffer_11552); - methods += new qt_gsi::GenericMethod ("vkCmdWaitEvents", "@brief Method void QVulkanDeviceFunctions::vkCmdWaitEvents(struct VkCommandBuffer_T *commandBuffer, unsigned int eventCount, const struct VkEvent_T **pEvents, unsigned int srcStageMask, unsigned int dstStageMask, unsigned int memoryBarrierCount, const struct VkMemoryBarrier *pMemoryBarriers, unsigned int bufferMemoryBarrierCount, const struct VkBufferMemoryBarrier *pBufferMemoryBarriers, unsigned int imageMemoryBarrierCount, const struct VkImageMemoryBarrier *pImageMemoryBarriers)\n", false, &_init_f_vkCmdWaitEvents_27848, &_call_f_vkCmdWaitEvents_27848); - methods += new qt_gsi::GenericMethod ("vkCmdWriteTimestamp", "@brief Method void QVulkanDeviceFunctions::vkCmdWriteTimestamp(struct VkCommandBuffer_T *commandBuffer, enum VkPipelineStageFlagBits pipelineStage, struct VkQueryPool_T *queryPool, unsigned int query)\n", false, &_init_f_vkCmdWriteTimestamp_10639, &_call_f_vkCmdWriteTimestamp_10639); - methods += new qt_gsi::GenericMethod ("vkCreateBuffer", "@brief Method enum VkResult QVulkanDeviceFunctions::vkCreateBuffer(struct VkDevice_T *device, const struct VkBufferCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkBuffer_T **pBuffer)\n", false, &_init_f_vkCreateBuffer_12724, &_call_f_vkCreateBuffer_12724); - methods += new qt_gsi::GenericMethod ("vkCreateBufferView", "@brief Method enum VkResult QVulkanDeviceFunctions::vkCreateBufferView(struct VkDevice_T *device, const struct VkBufferViewCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkBufferView_T **pView)\n", false, &_init_f_vkCreateBufferView_13546, &_call_f_vkCreateBufferView_13546); - methods += new qt_gsi::GenericMethod ("vkCreateCommandPool", "@brief Method enum VkResult QVulkanDeviceFunctions::vkCreateCommandPool(struct VkDevice_T *device, const struct VkCommandPoolCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkCommandPool_T **pCommandPool)\n", false, &_init_f_vkCreateCommandPool_13746, &_call_f_vkCreateCommandPool_13746); - methods += new qt_gsi::GenericMethod ("vkCreateComputePipelines", "@brief Method enum VkResult QVulkanDeviceFunctions::vkCreateComputePipelines(struct VkDevice_T *device, struct VkPipelineCache_T *pipelineCache, unsigned int createInfoCount, const struct VkComputePipelineCreateInfo *pCreateInfos, const struct VkAllocationCallbacks *pAllocator, struct VkPipeline_T **pPipelines)\n", false, &_init_f_vkCreateComputePipelines_18558, &_call_f_vkCreateComputePipelines_18558); - methods += new qt_gsi::GenericMethod ("vkCreateDescriptorPool", "@brief Method enum VkResult QVulkanDeviceFunctions::vkCreateDescriptorPool(struct VkDevice_T *device, const struct VkDescriptorPoolCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkDescriptorPool_T **pDescriptorPool)\n", false, &_init_f_vkCreateDescriptorPool_14450, &_call_f_vkCreateDescriptorPool_14450); - methods += new qt_gsi::GenericMethod ("vkCreateDescriptorSetLayout", "@brief Method enum VkResult QVulkanDeviceFunctions::vkCreateDescriptorSetLayout(struct VkDevice_T *device, const struct VkDescriptorSetLayoutCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkDescriptorSetLayout_T **pSetLayout)\n", false, &_init_f_vkCreateDescriptorSetLayout_15506, &_call_f_vkCreateDescriptorSetLayout_15506); - methods += new qt_gsi::GenericMethod ("vkCreateDescriptorUpdateTemplate", "@brief Method enum VkResult QVulkanDeviceFunctions::vkCreateDescriptorUpdateTemplate(struct VkDevice_T *device, const struct VkDescriptorUpdateTemplateCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkDescriptorUpdateTemplate_T **pDescriptorUpdateTemplate)\n", false, &_init_f_vkCreateDescriptorUpdateTemplate_16508, &_call_f_vkCreateDescriptorUpdateTemplate_16508); - methods += new qt_gsi::GenericMethod ("vkCreateEvent", "@brief Method enum VkResult QVulkanDeviceFunctions::vkCreateEvent(struct VkDevice_T *device, const struct VkEventCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkEvent_T **pEvent)\n", false, &_init_f_vkCreateEvent_12548, &_call_f_vkCreateEvent_12548); - methods += new qt_gsi::GenericMethod ("vkCreateFence", "@brief Method enum VkResult QVulkanDeviceFunctions::vkCreateFence(struct VkDevice_T *device, const struct VkFenceCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkFence_T **pFence)\n", false, &_init_f_vkCreateFence_12482, &_call_f_vkCreateFence_12482); - methods += new qt_gsi::GenericMethod ("vkCreateFramebuffer", "@brief Method enum VkResult QVulkanDeviceFunctions::vkCreateFramebuffer(struct VkDevice_T *device, const struct VkFramebufferCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkFramebuffer_T **pFramebuffer)\n", false, &_init_f_vkCreateFramebuffer_13770, &_call_f_vkCreateFramebuffer_13770); - methods += new qt_gsi::GenericMethod ("vkCreateGraphicsPipelines", "@brief Method enum VkResult QVulkanDeviceFunctions::vkCreateGraphicsPipelines(struct VkDevice_T *device, struct VkPipelineCache_T *pipelineCache, unsigned int createInfoCount, const struct VkGraphicsPipelineCreateInfo *pCreateInfos, const struct VkAllocationCallbacks *pAllocator, struct VkPipeline_T **pPipelines)\n", false, &_init_f_vkCreateGraphicsPipelines_18642, &_call_f_vkCreateGraphicsPipelines_18642); - methods += new qt_gsi::GenericMethod ("vkCreateImage", "@brief Method enum VkResult QVulkanDeviceFunctions::vkCreateImage(struct VkDevice_T *device, const struct VkImageCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkImage_T **pImage)\n", false, &_init_f_vkCreateImage_12486, &_call_f_vkCreateImage_12486); - methods += new qt_gsi::GenericMethod ("vkCreateImageView", "@brief Method enum VkResult QVulkanDeviceFunctions::vkCreateImageView(struct VkDevice_T *device, const struct VkImageViewCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkImageView_T **pView)\n", false, &_init_f_vkCreateImageView_13308, &_call_f_vkCreateImageView_13308); - methods += new qt_gsi::GenericMethod ("vkCreatePipelineCache", "@brief Method enum VkResult QVulkanDeviceFunctions::vkCreatePipelineCache(struct VkDevice_T *device, const struct VkPipelineCacheCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkPipelineCache_T **pPipelineCache)\n", false, &_init_f_vkCreatePipelineCache_14100, &_call_f_vkCreatePipelineCache_14100); - methods += new qt_gsi::GenericMethod ("vkCreatePipelineLayout", "@brief Method enum VkResult QVulkanDeviceFunctions::vkCreatePipelineLayout(struct VkDevice_T *device, const struct VkPipelineLayoutCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkPipelineLayout_T **pPipelineLayout)\n", false, &_init_f_vkCreatePipelineLayout_14440, &_call_f_vkCreatePipelineLayout_14440); - methods += new qt_gsi::GenericMethod ("vkCreateQueryPool", "@brief Method enum VkResult QVulkanDeviceFunctions::vkCreateQueryPool(struct VkDevice_T *device, const struct VkQueryPoolCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkQueryPool_T **pQueryPool)\n", false, &_init_f_vkCreateQueryPool_13408, &_call_f_vkCreateQueryPool_13408); - methods += new qt_gsi::GenericMethod ("vkCreateRenderPass", "@brief Method enum VkResult QVulkanDeviceFunctions::vkCreateRenderPass(struct VkDevice_T *device, const struct VkRenderPassCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkRenderPass_T **pRenderPass)\n", false, &_init_f_vkCreateRenderPass_13550, &_call_f_vkCreateRenderPass_13550); - methods += new qt_gsi::GenericMethod ("vkCreateRenderPass2", "@brief Method enum VkResult QVulkanDeviceFunctions::vkCreateRenderPass2(struct VkDevice_T *device, const struct VkRenderPassCreateInfo2 *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkRenderPass_T **pRenderPass)\n", false, &_init_f_vkCreateRenderPass2_13600, &_call_f_vkCreateRenderPass2_13600); - methods += new qt_gsi::GenericMethod ("vkCreateSampler", "@brief Method enum VkResult QVulkanDeviceFunctions::vkCreateSampler(struct VkDevice_T *device, const struct VkSamplerCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkSampler_T **pSampler)\n", false, &_init_f_vkCreateSampler_12968, &_call_f_vkCreateSampler_12968); - methods += new qt_gsi::GenericMethod ("vkCreateSamplerYcbcrConversion", "@brief Method enum VkResult QVulkanDeviceFunctions::vkCreateSamplerYcbcrConversion(struct VkDevice_T *device, const struct VkSamplerYcbcrConversionCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkSamplerYcbcrConversion_T **pYcbcrConversion)\n", false, &_init_f_vkCreateSamplerYcbcrConversion_16090, &_call_f_vkCreateSamplerYcbcrConversion_16090); - methods += new qt_gsi::GenericMethod ("vkCreateSemaphore", "@brief Method enum VkResult QVulkanDeviceFunctions::vkCreateSemaphore(struct VkDevice_T *device, const struct VkSemaphoreCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkSemaphore_T **pSemaphore)\n", false, &_init_f_vkCreateSemaphore_13384, &_call_f_vkCreateSemaphore_13384); - methods += new qt_gsi::GenericMethod ("vkCreateShaderModule", "@brief Method enum VkResult QVulkanDeviceFunctions::vkCreateShaderModule(struct VkDevice_T *device, const struct VkShaderModuleCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkShaderModule_T **pShaderModule)\n", false, &_init_f_vkCreateShaderModule_13946, &_call_f_vkCreateShaderModule_13946); - methods += new qt_gsi::GenericMethod ("vkDestroyBuffer", "@brief Method void QVulkanDeviceFunctions::vkDestroyBuffer(struct VkDevice_T *device, struct VkBuffer_T *buffer, const struct VkAllocationCallbacks *pAllocator)\n", false, &_init_f_vkDestroyBuffer_8865, &_call_f_vkDestroyBuffer_8865); - methods += new qt_gsi::GenericMethod ("vkDestroyBufferView", "@brief Method void QVulkanDeviceFunctions::vkDestroyBufferView(struct VkDevice_T *device, struct VkBufferView_T *bufferView, const struct VkAllocationCallbacks *pAllocator)\n", false, &_init_f_vkDestroyBufferView_9276, &_call_f_vkDestroyBufferView_9276); - methods += new qt_gsi::GenericMethod ("vkDestroyCommandPool", "@brief Method void QVulkanDeviceFunctions::vkDestroyCommandPool(struct VkDevice_T *device, struct VkCommandPool_T *commandPool, const struct VkAllocationCallbacks *pAllocator)\n", false, &_init_f_vkDestroyCommandPool_9376, &_call_f_vkDestroyCommandPool_9376); - methods += new qt_gsi::GenericMethod ("vkDestroyDescriptorPool", "@brief Method void QVulkanDeviceFunctions::vkDestroyDescriptorPool(struct VkDevice_T *device, struct VkDescriptorPool_T *descriptorPool, const struct VkAllocationCallbacks *pAllocator)\n", false, &_init_f_vkDestroyDescriptorPool_9728, &_call_f_vkDestroyDescriptorPool_9728); - methods += new qt_gsi::GenericMethod ("vkDestroyDescriptorSetLayout", "@brief Method void QVulkanDeviceFunctions::vkDestroyDescriptorSetLayout(struct VkDevice_T *device, struct VkDescriptorSetLayout_T *descriptorSetLayout, const struct VkAllocationCallbacks *pAllocator)\n", false, &_init_f_vkDestroyDescriptorSetLayout_10256, &_call_f_vkDestroyDescriptorSetLayout_10256); - methods += new qt_gsi::GenericMethod ("vkDestroyDescriptorUpdateTemplate", "@brief Method void QVulkanDeviceFunctions::vkDestroyDescriptorUpdateTemplate(struct VkDevice_T *device, struct VkDescriptorUpdateTemplate_T *descriptorUpdateTemplate, const struct VkAllocationCallbacks *pAllocator)\n", false, &_init_f_vkDestroyDescriptorUpdateTemplate_10757, &_call_f_vkDestroyDescriptorUpdateTemplate_10757); - methods += new qt_gsi::GenericMethod ("vkDestroyDevice", "@brief Method void QVulkanDeviceFunctions::vkDestroyDevice(struct VkDevice_T *device, const struct VkAllocationCallbacks *pAllocator)\n", false, &_init_f_vkDestroyDevice_6556, &_call_f_vkDestroyDevice_6556); - methods += new qt_gsi::GenericMethod ("vkDestroyEvent", "@brief Method void QVulkanDeviceFunctions::vkDestroyEvent(struct VkDevice_T *device, struct VkEvent_T *event, const struct VkAllocationCallbacks *pAllocator)\n", false, &_init_f_vkDestroyEvent_8777, &_call_f_vkDestroyEvent_8777); - methods += new qt_gsi::GenericMethod ("vkDestroyFence", "@brief Method void QVulkanDeviceFunctions::vkDestroyFence(struct VkDevice_T *device, struct VkFence_T *fence, const struct VkAllocationCallbacks *pAllocator)\n", false, &_init_f_vkDestroyFence_8744, &_call_f_vkDestroyFence_8744); - methods += new qt_gsi::GenericMethod ("vkDestroyFramebuffer", "@brief Method void QVulkanDeviceFunctions::vkDestroyFramebuffer(struct VkDevice_T *device, struct VkFramebuffer_T *framebuffer, const struct VkAllocationCallbacks *pAllocator)\n", false, &_init_f_vkDestroyFramebuffer_9388, &_call_f_vkDestroyFramebuffer_9388); - methods += new qt_gsi::GenericMethod ("vkDestroyImage", "@brief Method void QVulkanDeviceFunctions::vkDestroyImage(struct VkDevice_T *device, struct VkImage_T *image, const struct VkAllocationCallbacks *pAllocator)\n", false, &_init_f_vkDestroyImage_8746, &_call_f_vkDestroyImage_8746); - methods += new qt_gsi::GenericMethod ("vkDestroyImageView", "@brief Method void QVulkanDeviceFunctions::vkDestroyImageView(struct VkDevice_T *device, struct VkImageView_T *imageView, const struct VkAllocationCallbacks *pAllocator)\n", false, &_init_f_vkDestroyImageView_9157, &_call_f_vkDestroyImageView_9157); - methods += new qt_gsi::GenericMethod ("vkDestroyPipeline", "@brief Method void QVulkanDeviceFunctions::vkDestroyPipeline(struct VkDevice_T *device, struct VkPipeline_T *pipeline, const struct VkAllocationCallbacks *pAllocator)\n", false, &_init_f_vkDestroyPipeline_9085, &_call_f_vkDestroyPipeline_9085); - methods += new qt_gsi::GenericMethod ("vkDestroyPipelineCache", "@brief Method void QVulkanDeviceFunctions::vkDestroyPipelineCache(struct VkDevice_T *device, struct VkPipelineCache_T *pipelineCache, const struct VkAllocationCallbacks *pAllocator)\n", false, &_init_f_vkDestroyPipelineCache_9553, &_call_f_vkDestroyPipelineCache_9553); - methods += new qt_gsi::GenericMethod ("vkDestroyPipelineLayout", "@brief Method void QVulkanDeviceFunctions::vkDestroyPipelineLayout(struct VkDevice_T *device, struct VkPipelineLayout_T *pipelineLayout, const struct VkAllocationCallbacks *pAllocator)\n", false, &_init_f_vkDestroyPipelineLayout_9723, &_call_f_vkDestroyPipelineLayout_9723); - methods += new qt_gsi::GenericMethod ("vkDestroyQueryPool", "@brief Method void QVulkanDeviceFunctions::vkDestroyQueryPool(struct VkDevice_T *device, struct VkQueryPool_T *queryPool, const struct VkAllocationCallbacks *pAllocator)\n", false, &_init_f_vkDestroyQueryPool_9207, &_call_f_vkDestroyQueryPool_9207); - methods += new qt_gsi::GenericMethod ("vkDestroyRenderPass", "@brief Method void QVulkanDeviceFunctions::vkDestroyRenderPass(struct VkDevice_T *device, struct VkRenderPass_T *renderPass, const struct VkAllocationCallbacks *pAllocator)\n", false, &_init_f_vkDestroyRenderPass_9278, &_call_f_vkDestroyRenderPass_9278); - methods += new qt_gsi::GenericMethod ("vkDestroySampler", "@brief Method void QVulkanDeviceFunctions::vkDestroySampler(struct VkDevice_T *device, struct VkSampler_T *sampler, const struct VkAllocationCallbacks *pAllocator)\n", false, &_init_f_vkDestroySampler_8987, &_call_f_vkDestroySampler_8987); - methods += new qt_gsi::GenericMethod ("vkDestroySamplerYcbcrConversion", "@brief Method void QVulkanDeviceFunctions::vkDestroySamplerYcbcrConversion(struct VkDevice_T *device, struct VkSamplerYcbcrConversion_T *ycbcrConversion, const struct VkAllocationCallbacks *pAllocator)\n", false, &_init_f_vkDestroySamplerYcbcrConversion_10548, &_call_f_vkDestroySamplerYcbcrConversion_10548); - methods += new qt_gsi::GenericMethod ("vkDestroySemaphore", "@brief Method void QVulkanDeviceFunctions::vkDestroySemaphore(struct VkDevice_T *device, struct VkSemaphore_T *semaphore, const struct VkAllocationCallbacks *pAllocator)\n", false, &_init_f_vkDestroySemaphore_9195, &_call_f_vkDestroySemaphore_9195); - methods += new qt_gsi::GenericMethod ("vkDestroyShaderModule", "@brief Method void QVulkanDeviceFunctions::vkDestroyShaderModule(struct VkDevice_T *device, struct VkShaderModule_T *shaderModule, const struct VkAllocationCallbacks *pAllocator)\n", false, &_init_f_vkDestroyShaderModule_9476, &_call_f_vkDestroyShaderModule_9476); - methods += new qt_gsi::GenericMethod ("vkDeviceWaitIdle", "@brief Method enum VkResult QVulkanDeviceFunctions::vkDeviceWaitIdle(struct VkDevice_T *device)\n", false, &_init_f_vkDeviceWaitIdle_2407, &_call_f_vkDeviceWaitIdle_2407); - methods += new qt_gsi::GenericMethod ("vkEndCommandBuffer", "@brief Method enum VkResult QVulkanDeviceFunctions::vkEndCommandBuffer(struct VkCommandBuffer_T *commandBuffer)\n", false, &_init_f_vkEndCommandBuffer_3120, &_call_f_vkEndCommandBuffer_3120); - methods += new qt_gsi::GenericMethod ("vkFlushMappedMemoryRanges", "@brief Method enum VkResult QVulkanDeviceFunctions::vkFlushMappedMemoryRanges(struct VkDevice_T *device, unsigned int memoryRangeCount, const struct VkMappedMemoryRange *pMemoryRanges)\n", false, &_init_f_vkFlushMappedMemoryRanges_8019, &_call_f_vkFlushMappedMemoryRanges_8019); - methods += new qt_gsi::GenericMethod ("vkFreeCommandBuffers", "@brief Method void QVulkanDeviceFunctions::vkFreeCommandBuffers(struct VkDevice_T *device, struct VkCommandPool_T *commandPool, unsigned int commandBufferCount, const struct VkCommandBuffer_T **pCommandBuffers)\n", false, &_init_f_vkFreeCommandBuffers_10640, &_call_f_vkFreeCommandBuffers_10640); - methods += new qt_gsi::GenericMethod ("vkFreeDescriptorSets", "@brief Method enum VkResult QVulkanDeviceFunctions::vkFreeDescriptorSets(struct VkDevice_T *device, struct VkDescriptorPool_T *descriptorPool, unsigned int descriptorSetCount, const struct VkDescriptorSet_T **pDescriptorSets)\n", false, &_init_f_vkFreeDescriptorSets_11042, &_call_f_vkFreeDescriptorSets_11042); - methods += new qt_gsi::GenericMethod ("vkFreeMemory", "@brief Method void QVulkanDeviceFunctions::vkFreeMemory(struct VkDevice_T *device, struct VkDeviceMemory_T *memory, const struct VkAllocationCallbacks *pAllocator)\n", false, &_init_f_vkFreeMemory_9488, &_call_f_vkFreeMemory_9488); - methods += new qt_gsi::GenericMethod ("vkGetBufferDeviceAddress", "@brief Method unsigned long int QVulkanDeviceFunctions::vkGetBufferDeviceAddress(struct VkDevice_T *device, const struct VkBufferDeviceAddressInfo *pInfo)\n", false, &_init_f_vkGetBufferDeviceAddress_6930, &_call_f_vkGetBufferDeviceAddress_6930); - methods += new qt_gsi::GenericMethod ("vkGetBufferMemoryRequirements", "@brief Method void QVulkanDeviceFunctions::vkGetBufferMemoryRequirements(struct VkDevice_T *device, struct VkBuffer_T *buffer, struct VkMemoryRequirements *pMemoryRequirements)\n", false, &_init_f_vkGetBufferMemoryRequirements_8161, &_call_f_vkGetBufferMemoryRequirements_8161); - methods += new qt_gsi::GenericMethod ("vkGetBufferMemoryRequirements2", "@brief Method void QVulkanDeviceFunctions::vkGetBufferMemoryRequirements2(struct VkDevice_T *device, const struct VkBufferMemoryRequirementsInfo2 *pInfo, struct VkMemoryRequirements2 *pMemoryRequirements)\n", false, &_init_f_vkGetBufferMemoryRequirements2_11090, &_call_f_vkGetBufferMemoryRequirements2_11090); - methods += new qt_gsi::GenericMethod ("vkGetBufferOpaqueCaptureAddress", "@brief Method unsigned long int QVulkanDeviceFunctions::vkGetBufferOpaqueCaptureAddress(struct VkDevice_T *device, const struct VkBufferDeviceAddressInfo *pInfo)\n", false, &_init_f_vkGetBufferOpaqueCaptureAddress_6930, &_call_f_vkGetBufferOpaqueCaptureAddress_6930); - methods += new qt_gsi::GenericMethod ("vkGetDescriptorSetLayoutSupport", "@brief Method void QVulkanDeviceFunctions::vkGetDescriptorSetLayoutSupport(struct VkDevice_T *device, const struct VkDescriptorSetLayoutCreateInfo *pCreateInfo, struct VkDescriptorSetLayoutSupport *pSupport)\n", false, &_init_f_vkGetDescriptorSetLayoutSupport_11901, &_call_f_vkGetDescriptorSetLayoutSupport_11901); - methods += new qt_gsi::GenericMethod ("vkGetDeviceGroupPeerMemoryFeatures", "@brief Method void QVulkanDeviceFunctions::vkGetDeviceGroupPeerMemoryFeatures(struct VkDevice_T *device, unsigned int heapIndex, unsigned int localDeviceIndex, unsigned int remoteDeviceIndex, unsigned int *pPeerMemoryFeatures)\n", false, &_init_f_vkGetDeviceGroupPeerMemoryFeatures_9249, &_call_f_vkGetDeviceGroupPeerMemoryFeatures_9249); - methods += new qt_gsi::GenericMethod ("vkGetDeviceMemoryCommitment", "@brief Method void QVulkanDeviceFunctions::vkGetDeviceMemoryCommitment(struct VkDevice_T *device, struct VkDeviceMemory_T *memory, unsigned long int *pCommittedMemoryInBytes)\n", false, &_init_f_vkGetDeviceMemoryCommitment_7765, &_call_f_vkGetDeviceMemoryCommitment_7765); - methods += new qt_gsi::GenericMethod ("vkGetDeviceMemoryOpaqueCaptureAddress", "@brief Method unsigned long int QVulkanDeviceFunctions::vkGetDeviceMemoryOpaqueCaptureAddress(struct VkDevice_T *device, const struct VkDeviceMemoryOpaqueCaptureAddressInfo *pInfo)\n", false, &_init_f_vkGetDeviceMemoryOpaqueCaptureAddress_8304, &_call_f_vkGetDeviceMemoryOpaqueCaptureAddress_8304); - methods += new qt_gsi::GenericMethod ("vkGetDeviceQueue", "@brief Method void QVulkanDeviceFunctions::vkGetDeviceQueue(struct VkDevice_T *device, unsigned int queueFamilyIndex, unsigned int queueIndex, struct VkQueue_T **pQueue)\n", false, &_init_f_vkGetDeviceQueue_8001, &_call_f_vkGetDeviceQueue_8001); - methods += new qt_gsi::GenericMethod ("vkGetDeviceQueue2", "@brief Method void QVulkanDeviceFunctions::vkGetDeviceQueue2(struct VkDevice_T *device, const struct VkDeviceQueueInfo2 *pQueueInfo, struct VkQueue_T **pQueue)\n", false, &_init_f_vkGetDeviceQueue2_8451, &_call_f_vkGetDeviceQueue2_8451); - methods += new qt_gsi::GenericMethod ("vkGetEventStatus", "@brief Method enum VkResult QVulkanDeviceFunctions::vkGetEventStatus(struct VkDevice_T *device, struct VkEvent_T *event)\n", false, &_init_f_vkGetEventStatus_4628, &_call_f_vkGetEventStatus_4628); - methods += new qt_gsi::GenericMethod ("vkGetFenceStatus", "@brief Method enum VkResult QVulkanDeviceFunctions::vkGetFenceStatus(struct VkDevice_T *device, struct VkFence_T *fence)\n", false, &_init_f_vkGetFenceStatus_4595, &_call_f_vkGetFenceStatus_4595); - methods += new qt_gsi::GenericMethod ("vkGetImageMemoryRequirements", "@brief Method void QVulkanDeviceFunctions::vkGetImageMemoryRequirements(struct VkDevice_T *device, struct VkImage_T *image, struct VkMemoryRequirements *pMemoryRequirements)\n", false, &_init_f_vkGetImageMemoryRequirements_8042, &_call_f_vkGetImageMemoryRequirements_8042); - methods += new qt_gsi::GenericMethod ("vkGetImageMemoryRequirements2", "@brief Method void QVulkanDeviceFunctions::vkGetImageMemoryRequirements2(struct VkDevice_T *device, const struct VkImageMemoryRequirementsInfo2 *pInfo, struct VkMemoryRequirements2 *pMemoryRequirements)\n", false, &_init_f_vkGetImageMemoryRequirements2_10971, &_call_f_vkGetImageMemoryRequirements2_10971); - methods += new qt_gsi::GenericMethod ("vkGetImageSparseMemoryRequirements", "@brief Method void QVulkanDeviceFunctions::vkGetImageSparseMemoryRequirements(struct VkDevice_T *device, struct VkImage_T *image, unsigned int *pSparseMemoryRequirementCount, struct VkSparseImageMemoryRequirements *pSparseMemoryRequirements)\n", false, &_init_f_vkGetImageSparseMemoryRequirements_10997, &_call_f_vkGetImageSparseMemoryRequirements_10997); - methods += new qt_gsi::GenericMethod ("vkGetImageSparseMemoryRequirements2", "@brief Method void QVulkanDeviceFunctions::vkGetImageSparseMemoryRequirements2(struct VkDevice_T *device, const struct VkImageSparseMemoryRequirementsInfo2 *pInfo, unsigned int *pSparseMemoryRequirementCount, struct VkSparseImageMemoryRequirements2 *pSparseMemoryRequirements)\n", false, &_init_f_vkGetImageSparseMemoryRequirements2_14548, &_call_f_vkGetImageSparseMemoryRequirements2_14548); - methods += new qt_gsi::GenericMethod ("vkGetImageSubresourceLayout", "@brief Method void QVulkanDeviceFunctions::vkGetImageSubresourceLayout(struct VkDevice_T *device, struct VkImage_T *image, const struct VkImageSubresource *pSubresource, struct VkSubresourceLayout *pLayout)\n", false, &_init_f_vkGetImageSubresourceLayout_11809, &_call_f_vkGetImageSubresourceLayout_11809); - methods += new qt_gsi::GenericMethod ("vkGetPipelineCacheData", "@brief Method enum VkResult QVulkanDeviceFunctions::vkGetPipelineCacheData(struct VkDevice_T *device, struct VkPipelineCache_T *pipelineCache, unsigned long int *pDataSize, void *pData)\n", false, &_init_f_vkGetPipelineCacheData_8778, &_call_f_vkGetPipelineCacheData_8778); - methods += new qt_gsi::GenericMethod ("vkGetQueryPoolResults", "@brief Method enum VkResult QVulkanDeviceFunctions::vkGetQueryPoolResults(struct VkDevice_T *device, struct VkQueryPool_T *queryPool, unsigned int firstQuery, unsigned int queryCount, unsigned long int dataSize, void *pData, unsigned long int stride, unsigned int flags)\n", false, &_init_f_vkGetQueryPoolResults_15478, &_call_f_vkGetQueryPoolResults_15478); - methods += new qt_gsi::GenericMethod ("vkGetRenderAreaGranularity", "@brief Method void QVulkanDeviceFunctions::vkGetRenderAreaGranularity(struct VkDevice_T *device, struct VkRenderPass_T *renderPass, struct VkExtent2D *pGranularity)\n", false, &_init_f_vkGetRenderAreaGranularity_7407, &_call_f_vkGetRenderAreaGranularity_7407); - methods += new qt_gsi::GenericMethod ("vkGetSemaphoreCounterValue", "@brief Method enum VkResult QVulkanDeviceFunctions::vkGetSemaphoreCounterValue(struct VkDevice_T *device, struct VkSemaphore_T *semaphore, unsigned long int *pValue)\n", false, &_init_f_vkGetSemaphoreCounterValue_7472, &_call_f_vkGetSemaphoreCounterValue_7472); - methods += new qt_gsi::GenericMethod ("vkInvalidateMappedMemoryRanges", "@brief Method enum VkResult QVulkanDeviceFunctions::vkInvalidateMappedMemoryRanges(struct VkDevice_T *device, unsigned int memoryRangeCount, const struct VkMappedMemoryRange *pMemoryRanges)\n", false, &_init_f_vkInvalidateMappedMemoryRanges_8019, &_call_f_vkInvalidateMappedMemoryRanges_8019); - methods += new qt_gsi::GenericMethod ("vkMapMemory", "@brief Method enum VkResult QVulkanDeviceFunctions::vkMapMemory(struct VkDevice_T *device, struct VkDeviceMemory_T *memory, unsigned long int offset, unsigned long int size, unsigned int flags, void **ppData)\n", false, &_init_f_vkMapMemory_12473, &_call_f_vkMapMemory_12473); - methods += new qt_gsi::GenericMethod ("vkMergePipelineCaches", "@brief Method enum VkResult QVulkanDeviceFunctions::vkMergePipelineCaches(struct VkDevice_T *device, struct VkPipelineCache_T *dstCache, unsigned int srcCacheCount, const struct VkPipelineCache_T **pSrcCaches)\n", false, &_init_f_vkMergePipelineCaches_10802, &_call_f_vkMergePipelineCaches_10802); - methods += new qt_gsi::GenericMethod ("vkQueueBindSparse", "@brief Method enum VkResult QVulkanDeviceFunctions::vkQueueBindSparse(struct VkQueue_T *queue, unsigned int bindInfoCount, const struct VkBindSparseInfo *pBindInfo, struct VkFence_T *fence)\n", false, &_init_f_vkQueueBindSparse_9806, &_call_f_vkQueueBindSparse_9806); - methods += new qt_gsi::GenericMethod ("vkQueueSubmit", "@brief Method enum VkResult QVulkanDeviceFunctions::vkQueueSubmit(struct VkQueue_T *queue, unsigned int submitCount, const struct VkSubmitInfo *pSubmits, struct VkFence_T *fence)\n", false, &_init_f_vkQueueSubmit_9431, &_call_f_vkQueueSubmit_9431); - methods += new qt_gsi::GenericMethod ("vkQueueWaitIdle", "@brief Method enum VkResult QVulkanDeviceFunctions::vkQueueWaitIdle(struct VkQueue_T *queue)\n", false, &_init_f_vkQueueWaitIdle_2332, &_call_f_vkQueueWaitIdle_2332); - methods += new qt_gsi::GenericMethod ("vkResetCommandBuffer", "@brief Method enum VkResult QVulkanDeviceFunctions::vkResetCommandBuffer(struct VkCommandBuffer_T *commandBuffer, unsigned int flags)\n", false, &_init_f_vkResetCommandBuffer_4784, &_call_f_vkResetCommandBuffer_4784); - methods += new qt_gsi::GenericMethod ("vkResetCommandPool", "@brief Method enum VkResult QVulkanDeviceFunctions::vkResetCommandPool(struct VkDevice_T *device, struct VkCommandPool_T *commandPool, unsigned int flags)\n", false, &_init_f_vkResetCommandPool_6891, &_call_f_vkResetCommandPool_6891); - methods += new qt_gsi::GenericMethod ("vkResetDescriptorPool", "@brief Method enum VkResult QVulkanDeviceFunctions::vkResetDescriptorPool(struct VkDevice_T *device, struct VkDescriptorPool_T *descriptorPool, unsigned int flags)\n", false, &_init_f_vkResetDescriptorPool_7243, &_call_f_vkResetDescriptorPool_7243); - methods += new qt_gsi::GenericMethod ("vkResetEvent", "@brief Method enum VkResult QVulkanDeviceFunctions::vkResetEvent(struct VkDevice_T *device, struct VkEvent_T *event)\n", false, &_init_f_vkResetEvent_4628, &_call_f_vkResetEvent_4628); - methods += new qt_gsi::GenericMethod ("vkResetFences", "@brief Method enum VkResult QVulkanDeviceFunctions::vkResetFences(struct VkDevice_T *device, unsigned int fenceCount, const struct VkFence_T **pFences)\n", false, &_init_f_vkResetFences_6996, &_call_f_vkResetFences_6996); - methods += new qt_gsi::GenericMethod ("vkResetQueryPool", "@brief Method void QVulkanDeviceFunctions::vkResetQueryPool(struct VkDevice_T *device, struct VkQueryPool_T *queryPool, unsigned int firstQuery, unsigned int queryCount)\n", false, &_init_f_vkResetQueryPool_8386, &_call_f_vkResetQueryPool_8386); - methods += new qt_gsi::GenericMethod ("vkSetEvent", "@brief Method enum VkResult QVulkanDeviceFunctions::vkSetEvent(struct VkDevice_T *device, struct VkEvent_T *event)\n", false, &_init_f_vkSetEvent_4628, &_call_f_vkSetEvent_4628); - methods += new qt_gsi::GenericMethod ("vkSignalSemaphore", "@brief Method enum VkResult QVulkanDeviceFunctions::vkSignalSemaphore(struct VkDevice_T *device, const struct VkSemaphoreSignalInfo *pSignalInfo)\n", false, &_init_f_vkSignalSemaphore_6564, &_call_f_vkSignalSemaphore_6564); - methods += new qt_gsi::GenericMethod ("vkTrimCommandPool", "@brief Method void QVulkanDeviceFunctions::vkTrimCommandPool(struct VkDevice_T *device, struct VkCommandPool_T *commandPool, unsigned int flags)\n", false, &_init_f_vkTrimCommandPool_6891, &_call_f_vkTrimCommandPool_6891); - methods += new qt_gsi::GenericMethod ("vkUnmapMemory", "@brief Method void QVulkanDeviceFunctions::vkUnmapMemory(struct VkDevice_T *device, struct VkDeviceMemory_T *memory)\n", false, &_init_f_vkUnmapMemory_5339, &_call_f_vkUnmapMemory_5339); - methods += new qt_gsi::GenericMethod ("vkUpdateDescriptorSetWithTemplate", "@brief Method void QVulkanDeviceFunctions::vkUpdateDescriptorSetWithTemplate(struct VkDevice_T *device, struct VkDescriptorSet_T *descriptorSet, struct VkDescriptorUpdateTemplate_T *descriptorUpdateTemplate, const void *pData)\n", false, &_init_f_vkUpdateDescriptorSetWithTemplate_11313, &_call_f_vkUpdateDescriptorSetWithTemplate_11313); - methods += new qt_gsi::GenericMethod ("vkUpdateDescriptorSets", "@brief Method void QVulkanDeviceFunctions::vkUpdateDescriptorSets(struct VkDevice_T *device, unsigned int descriptorWriteCount, const struct VkWriteDescriptorSet *pDescriptorWrites, unsigned int descriptorCopyCount, const struct VkCopyDescriptorSet *pDescriptorCopies)\n", false, &_init_f_vkUpdateDescriptorSets_13825, &_call_f_vkUpdateDescriptorSets_13825); - methods += new qt_gsi::GenericMethod ("vkWaitForFences", "@brief Method enum VkResult QVulkanDeviceFunctions::vkWaitForFences(struct VkDevice_T *device, unsigned int fenceCount, const struct VkFence_T **pFences, unsigned int waitAll, unsigned long int timeout)\n", false, &_init_f_vkWaitForFences_10900, &_call_f_vkWaitForFences_10900); - methods += new qt_gsi::GenericMethod ("vkWaitSemaphores", "@brief Method enum VkResult QVulkanDeviceFunctions::vkWaitSemaphores(struct VkDevice_T *device, const struct VkSemaphoreWaitInfo *pWaitInfo, unsigned long int timeout)\n", false, &_init_f_vkWaitSemaphores_8603, &_call_f_vkWaitSemaphores_8603); - return methods; -} - -gsi::Class decl_QVulkanDeviceFunctions ("QtGui", "QVulkanDeviceFunctions", - methods_QVulkanDeviceFunctions (), - "@qt\n@brief Binding of QVulkanDeviceFunctions"); - - -GSI_QTGUI_PUBLIC gsi::Class &qtdecl_QVulkanDeviceFunctions () { return decl_QVulkanDeviceFunctions; } - -} - diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQVulkanExtension.cc b/src/gsiqt/qt6/QtGui/gsiDeclQVulkanExtension.cc deleted file mode 100644 index 209953496..000000000 --- a/src/gsiqt/qt6/QtGui/gsiDeclQVulkanExtension.cc +++ /dev/null @@ -1,84 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQVulkanExtension.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtGuiCommon.h" -#include "gsiDeclQtGuiTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// struct QVulkanExtension - -// Constructor QVulkanExtension::QVulkanExtension() - - -static void _init_ctor_QVulkanExtension_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QVulkanExtension_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QVulkanExtension ()); -} - - -// bool ::operator==(const QVulkanExtension &lhs, const QVulkanExtension &rhs) -static bool op_QVulkanExtension_operator_eq__eq__5844(const QVulkanExtension *_self, const QVulkanExtension &rhs) { - return ::operator==(*_self, rhs); -} - -// bool ::operator!=(const QVulkanExtension &lhs, const QVulkanExtension &rhs) -static bool op_QVulkanExtension_operator_excl__eq__5844(const QVulkanExtension *_self, const QVulkanExtension &rhs) { - return ::operator!=(*_self, rhs); -} - - -namespace gsi -{ - -static gsi::Methods methods_QVulkanExtension () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QVulkanExtension::QVulkanExtension()\nThis method creates an object of class QVulkanExtension.", &_init_ctor_QVulkanExtension_0, &_call_ctor_QVulkanExtension_0); - methods += gsi::method_ext("==", &::op_QVulkanExtension_operator_eq__eq__5844, gsi::arg ("rhs"), "@brief Operator bool ::operator==(const QVulkanExtension &lhs, const QVulkanExtension &rhs)\nThis is the mapping of the global operator to the instance method."); - methods += gsi::method_ext("!=", &::op_QVulkanExtension_operator_excl__eq__5844, gsi::arg ("rhs"), "@brief Operator bool ::operator!=(const QVulkanExtension &lhs, const QVulkanExtension &rhs)\nThis is the mapping of the global operator to the instance method."); - return methods; -} - -gsi::Class decl_QVulkanExtension ("QtGui", "QVulkanExtension", - methods_QVulkanExtension (), - "@qt\n@brief Binding of QVulkanExtension"); - - -GSI_QTGUI_PUBLIC gsi::Class &qtdecl_QVulkanExtension () { return decl_QVulkanExtension; } - -} - diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQVulkanFunctions.cc b/src/gsiqt/qt6/QtGui/gsiDeclQVulkanFunctions.cc deleted file mode 100644 index b4bd650c0..000000000 --- a/src/gsiqt/qt6/QtGui/gsiDeclQVulkanFunctions.cc +++ /dev/null @@ -1,749 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQVulkanFunctions.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtGuiCommon.h" -#include "gsiDeclQtGuiTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QVulkanFunctions - -// Constructor QVulkanFunctions::QVulkanFunctions() - - -static void _init_ctor_QVulkanFunctions_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QVulkanFunctions_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QVulkanFunctions ()); -} - - -// enum VkResult QVulkanFunctions::vkCreateDevice(struct VkPhysicalDevice_T *physicalDevice, const struct VkDeviceCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkDevice_T **pDevice) - - -static void _init_f_vkCreateDevice_13533 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("physicalDevice"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pCreateInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pAllocator"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pDevice"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkCreateDevice_13533 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkPhysicalDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkDeviceCreateInfo *arg2 = gsi::arg_reader() (args, heap); - const struct VkAllocationCallbacks *arg3 = gsi::arg_reader() (args, heap); - struct VkDevice_T **arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanFunctions *)cls)->vkCreateDevice (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanFunctions::vkEnumerateDeviceExtensionProperties(struct VkPhysicalDevice_T *physicalDevice, const char *pLayerName, unsigned int *pPropertyCount, struct VkExtensionProperties *pProperties) - - -static void _init_f_vkEnumerateDeviceExtensionProperties_10263 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("physicalDevice"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pLayerName"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pPropertyCount"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pProperties"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkEnumerateDeviceExtensionProperties_10263 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkPhysicalDevice_T *arg1 = gsi::arg_reader() (args, heap); - const char *arg2 = gsi::arg_reader() (args, heap); - unsigned int *arg3 = gsi::arg_reader() (args, heap); - struct VkExtensionProperties *arg4 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanFunctions *)cls)->vkEnumerateDeviceExtensionProperties (arg1, arg2, arg3, arg4)); -} - - -// enum VkResult QVulkanFunctions::vkEnumerateDeviceLayerProperties(struct VkPhysicalDevice_T *physicalDevice, unsigned int *pPropertyCount, struct VkLayerProperties *pProperties) - - -static void _init_f_vkEnumerateDeviceLayerProperties_8192 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("physicalDevice"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pPropertyCount"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pProperties"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkEnumerateDeviceLayerProperties_8192 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkPhysicalDevice_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int *arg2 = gsi::arg_reader() (args, heap); - struct VkLayerProperties *arg3 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanFunctions *)cls)->vkEnumerateDeviceLayerProperties (arg1, arg2, arg3)); -} - - -// enum VkResult QVulkanFunctions::vkEnumerateInstanceExtensionProperties(const char *pLayerName, unsigned int *pPropertyCount, struct VkExtensionProperties *pProperties) - - -static void _init_f_vkEnumerateInstanceExtensionProperties_7135 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pLayerName"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pPropertyCount"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pProperties"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkEnumerateInstanceExtensionProperties_7135 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - unsigned int *arg2 = gsi::arg_reader() (args, heap); - struct VkExtensionProperties *arg3 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanFunctions *)cls)->vkEnumerateInstanceExtensionProperties (arg1, arg2, arg3)); -} - - -// enum VkResult QVulkanFunctions::vkEnumerateInstanceLayerProperties(unsigned int *pPropertyCount, struct VkLayerProperties *pProperties) - - -static void _init_f_vkEnumerateInstanceLayerProperties_5064 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pPropertyCount"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pProperties"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkEnumerateInstanceLayerProperties_5064 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int *arg1 = gsi::arg_reader() (args, heap); - struct VkLayerProperties *arg2 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanFunctions *)cls)->vkEnumerateInstanceLayerProperties (arg1, arg2)); -} - - -// enum VkResult QVulkanFunctions::vkEnumeratePhysicalDeviceGroups(struct VkInstance_T *instance, unsigned int *pPhysicalDeviceGroupCount, struct VkPhysicalDeviceGroupProperties *pPhysicalDeviceGroupProperties) - - -static void _init_f_vkEnumeratePhysicalDeviceGroups_9029 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("instance"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pPhysicalDeviceGroupCount"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pPhysicalDeviceGroupProperties"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkEnumeratePhysicalDeviceGroups_9029 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkInstance_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int *arg2 = gsi::arg_reader() (args, heap); - struct VkPhysicalDeviceGroupProperties *arg3 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanFunctions *)cls)->vkEnumeratePhysicalDeviceGroups (arg1, arg2, arg3)); -} - - -// enum VkResult QVulkanFunctions::vkEnumeratePhysicalDevices(struct VkInstance_T *instance, unsigned int *pPhysicalDeviceCount, struct VkPhysicalDevice_T **pPhysicalDevices) - - -static void _init_f_vkEnumeratePhysicalDevices_7656 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("instance"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pPhysicalDeviceCount"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pPhysicalDevices"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkEnumeratePhysicalDevices_7656 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkInstance_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int *arg2 = gsi::arg_reader() (args, heap); - struct VkPhysicalDevice_T **arg3 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanFunctions *)cls)->vkEnumeratePhysicalDevices (arg1, arg2, arg3)); -} - - -// void *QVulkanFunctions::vkGetDeviceProcAddr(VkDevice device, const char *pName)() - - -static void _init_f_vkGetDeviceProcAddr_2844 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pName"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkGetDeviceProcAddr_2844 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - VkDevice arg1 = gsi::arg_reader() (args, heap); - const char *arg2 = gsi::arg_reader() (args, heap); - ret.write ((void *())((QVulkanFunctions *)cls)->vkGetDeviceProcAddr (arg1, arg2)); -} - - -// void QVulkanFunctions::vkGetPhysicalDeviceExternalBufferProperties(struct VkPhysicalDevice_T *physicalDevice, const struct VkPhysicalDeviceExternalBufferInfo *pExternalBufferInfo, struct VkExternalBufferProperties *pExternalBufferProperties) - - -static void _init_f_vkGetPhysicalDeviceExternalBufferProperties_12747 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("physicalDevice"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pExternalBufferInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pExternalBufferProperties"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkGetPhysicalDeviceExternalBufferProperties_12747 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkPhysicalDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkPhysicalDeviceExternalBufferInfo *arg2 = gsi::arg_reader() (args, heap); - struct VkExternalBufferProperties *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanFunctions *)cls)->vkGetPhysicalDeviceExternalBufferProperties (arg1, arg2, arg3); -} - - -// void QVulkanFunctions::vkGetPhysicalDeviceExternalFenceProperties(struct VkPhysicalDevice_T *physicalDevice, const struct VkPhysicalDeviceExternalFenceInfo *pExternalFenceInfo, struct VkExternalFenceProperties *pExternalFenceProperties) - - -static void _init_f_vkGetPhysicalDeviceExternalFenceProperties_12505 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("physicalDevice"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pExternalFenceInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pExternalFenceProperties"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkGetPhysicalDeviceExternalFenceProperties_12505 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkPhysicalDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkPhysicalDeviceExternalFenceInfo *arg2 = gsi::arg_reader() (args, heap); - struct VkExternalFenceProperties *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanFunctions *)cls)->vkGetPhysicalDeviceExternalFenceProperties (arg1, arg2, arg3); -} - - -// void QVulkanFunctions::vkGetPhysicalDeviceExternalSemaphoreProperties(struct VkPhysicalDevice_T *physicalDevice, const struct VkPhysicalDeviceExternalSemaphoreInfo *pExternalSemaphoreInfo, struct VkExternalSemaphoreProperties *pExternalSemaphoreProperties) - - -static void _init_f_vkGetPhysicalDeviceExternalSemaphoreProperties_13407 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("physicalDevice"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pExternalSemaphoreInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pExternalSemaphoreProperties"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkGetPhysicalDeviceExternalSemaphoreProperties_13407 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkPhysicalDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkPhysicalDeviceExternalSemaphoreInfo *arg2 = gsi::arg_reader() (args, heap); - struct VkExternalSemaphoreProperties *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanFunctions *)cls)->vkGetPhysicalDeviceExternalSemaphoreProperties (arg1, arg2, arg3); -} - - -// void QVulkanFunctions::vkGetPhysicalDeviceFeatures(struct VkPhysicalDevice_T *physicalDevice, struct VkPhysicalDeviceFeatures *pFeatures) - - -static void _init_f_vkGetPhysicalDeviceFeatures_7016 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("physicalDevice"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pFeatures"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkGetPhysicalDeviceFeatures_7016 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkPhysicalDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkPhysicalDeviceFeatures *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanFunctions *)cls)->vkGetPhysicalDeviceFeatures (arg1, arg2); -} - - -// void QVulkanFunctions::vkGetPhysicalDeviceFeatures2(struct VkPhysicalDevice_T *physicalDevice, struct VkPhysicalDeviceFeatures2 *pFeatures) - - -static void _init_f_vkGetPhysicalDeviceFeatures2_7066 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("physicalDevice"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pFeatures"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkGetPhysicalDeviceFeatures2_7066 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkPhysicalDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkPhysicalDeviceFeatures2 *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanFunctions *)cls)->vkGetPhysicalDeviceFeatures2 (arg1, arg2); -} - - -// void QVulkanFunctions::vkGetPhysicalDeviceFormatProperties(struct VkPhysicalDevice_T *physicalDevice, enum VkFormat format, struct VkFormatProperties *pFormatProperties) - - -static void _init_f_vkGetPhysicalDeviceFormatProperties_8169 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("physicalDevice"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("format"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pFormatProperties"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkGetPhysicalDeviceFormatProperties_8169 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkPhysicalDevice_T *arg1 = gsi::arg_reader() (args, heap); - enum VkFormat arg2 = gsi::arg_reader() (args, heap); - struct VkFormatProperties *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanFunctions *)cls)->vkGetPhysicalDeviceFormatProperties (arg1, arg2, arg3); -} - - -// void QVulkanFunctions::vkGetPhysicalDeviceFormatProperties2(struct VkPhysicalDevice_T *physicalDevice, enum VkFormat format, struct VkFormatProperties2 *pFormatProperties) - - -static void _init_f_vkGetPhysicalDeviceFormatProperties2_8219 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("physicalDevice"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("format"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pFormatProperties"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkGetPhysicalDeviceFormatProperties2_8219 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkPhysicalDevice_T *arg1 = gsi::arg_reader() (args, heap); - enum VkFormat arg2 = gsi::arg_reader() (args, heap); - struct VkFormatProperties2 *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanFunctions *)cls)->vkGetPhysicalDeviceFormatProperties2 (arg1, arg2, arg3); -} - - -// enum VkResult QVulkanFunctions::vkGetPhysicalDeviceImageFormatProperties(struct VkPhysicalDevice_T *physicalDevice, enum VkFormat format, enum VkImageType type, enum VkImageTiling tiling, unsigned int usage, unsigned int flags, struct VkImageFormatProperties *pImageFormatProperties) - - -static void _init_f_vkGetPhysicalDeviceImageFormatProperties_16183 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("physicalDevice"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("format"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("type"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("tiling"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("usage"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("flags"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("pImageFormatProperties"); - decl->add_arg (argspec_6); - decl->set_return (); -} - -static void _call_f_vkGetPhysicalDeviceImageFormatProperties_16183 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkPhysicalDevice_T *arg1 = gsi::arg_reader() (args, heap); - enum VkFormat arg2 = gsi::arg_reader() (args, heap); - enum VkImageType arg3 = gsi::arg_reader() (args, heap); - enum VkImageTiling arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - unsigned int arg6 = gsi::arg_reader() (args, heap); - struct VkImageFormatProperties *arg7 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanFunctions *)cls)->vkGetPhysicalDeviceImageFormatProperties (arg1, arg2, arg3, arg4, arg5, arg6, arg7)); -} - - -// enum VkResult QVulkanFunctions::vkGetPhysicalDeviceImageFormatProperties2(struct VkPhysicalDevice_T *physicalDevice, const struct VkPhysicalDeviceImageFormatInfo2 *pImageFormatInfo, struct VkImageFormatProperties2 *pImageFormatProperties) - - -static void _init_f_vkGetPhysicalDeviceImageFormatProperties2_12173 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("physicalDevice"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pImageFormatInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pImageFormatProperties"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkGetPhysicalDeviceImageFormatProperties2_12173 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkPhysicalDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkPhysicalDeviceImageFormatInfo2 *arg2 = gsi::arg_reader() (args, heap); - struct VkImageFormatProperties2 *arg3 = gsi::arg_reader() (args, heap); - ret.write ((enum VkResult)((QVulkanFunctions *)cls)->vkGetPhysicalDeviceImageFormatProperties2 (arg1, arg2, arg3)); -} - - -// void QVulkanFunctions::vkGetPhysicalDeviceMemoryProperties(struct VkPhysicalDevice_T *physicalDevice, struct VkPhysicalDeviceMemoryProperties *pMemoryProperties) - - -static void _init_f_vkGetPhysicalDeviceMemoryProperties_7887 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("physicalDevice"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pMemoryProperties"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkGetPhysicalDeviceMemoryProperties_7887 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkPhysicalDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkPhysicalDeviceMemoryProperties *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanFunctions *)cls)->vkGetPhysicalDeviceMemoryProperties (arg1, arg2); -} - - -// void QVulkanFunctions::vkGetPhysicalDeviceMemoryProperties2(struct VkPhysicalDevice_T *physicalDevice, struct VkPhysicalDeviceMemoryProperties2 *pMemoryProperties) - - -static void _init_f_vkGetPhysicalDeviceMemoryProperties2_7937 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("physicalDevice"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pMemoryProperties"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkGetPhysicalDeviceMemoryProperties2_7937 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkPhysicalDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkPhysicalDeviceMemoryProperties2 *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanFunctions *)cls)->vkGetPhysicalDeviceMemoryProperties2 (arg1, arg2); -} - - -// void QVulkanFunctions::vkGetPhysicalDeviceProperties(struct VkPhysicalDevice_T *physicalDevice, struct VkPhysicalDeviceProperties *pProperties) - - -static void _init_f_vkGetPhysicalDeviceProperties_7254 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("physicalDevice"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pProperties"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkGetPhysicalDeviceProperties_7254 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkPhysicalDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkPhysicalDeviceProperties *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanFunctions *)cls)->vkGetPhysicalDeviceProperties (arg1, arg2); -} - - -// void QVulkanFunctions::vkGetPhysicalDeviceProperties2(struct VkPhysicalDevice_T *physicalDevice, struct VkPhysicalDeviceProperties2 *pProperties) - - -static void _init_f_vkGetPhysicalDeviceProperties2_7304 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("physicalDevice"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pProperties"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_vkGetPhysicalDeviceProperties2_7304 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkPhysicalDevice_T *arg1 = gsi::arg_reader() (args, heap); - struct VkPhysicalDeviceProperties2 *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanFunctions *)cls)->vkGetPhysicalDeviceProperties2 (arg1, arg2); -} - - -// void QVulkanFunctions::vkGetPhysicalDeviceQueueFamilyProperties(struct VkPhysicalDevice_T *physicalDevice, unsigned int *pQueueFamilyPropertyCount, struct VkQueueFamilyProperties *pQueueFamilyProperties) - - -static void _init_f_vkGetPhysicalDeviceQueueFamilyProperties_8810 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("physicalDevice"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pQueueFamilyPropertyCount"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pQueueFamilyProperties"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkGetPhysicalDeviceQueueFamilyProperties_8810 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkPhysicalDevice_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int *arg2 = gsi::arg_reader() (args, heap); - struct VkQueueFamilyProperties *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanFunctions *)cls)->vkGetPhysicalDeviceQueueFamilyProperties (arg1, arg2, arg3); -} - - -// void QVulkanFunctions::vkGetPhysicalDeviceQueueFamilyProperties2(struct VkPhysicalDevice_T *physicalDevice, unsigned int *pQueueFamilyPropertyCount, struct VkQueueFamilyProperties2 *pQueueFamilyProperties) - - -static void _init_f_vkGetPhysicalDeviceQueueFamilyProperties2_8860 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("physicalDevice"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pQueueFamilyPropertyCount"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pQueueFamilyProperties"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_vkGetPhysicalDeviceQueueFamilyProperties2_8860 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkPhysicalDevice_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int *arg2 = gsi::arg_reader() (args, heap); - struct VkQueueFamilyProperties2 *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanFunctions *)cls)->vkGetPhysicalDeviceQueueFamilyProperties2 (arg1, arg2, arg3); -} - - -// void QVulkanFunctions::vkGetPhysicalDeviceSparseImageFormatProperties(struct VkPhysicalDevice_T *physicalDevice, enum VkFormat format, enum VkImageType type, enum VkSampleCountFlagBits samples, unsigned int usage, enum VkImageTiling tiling, unsigned int *pPropertyCount, struct VkSparseImageFormatProperties *pProperties) - - -static void _init_f_vkGetPhysicalDeviceSparseImageFormatProperties_20004 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("physicalDevice"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("format"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("type"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("samples"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("usage"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("tiling"); - decl->add_arg (argspec_5); - static gsi::ArgSpecBase argspec_6 ("pPropertyCount"); - decl->add_arg (argspec_6); - static gsi::ArgSpecBase argspec_7 ("pProperties"); - decl->add_arg (argspec_7); - decl->set_return (); -} - -static void _call_f_vkGetPhysicalDeviceSparseImageFormatProperties_20004 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkPhysicalDevice_T *arg1 = gsi::arg_reader() (args, heap); - enum VkFormat arg2 = gsi::arg_reader() (args, heap); - enum VkImageType arg3 = gsi::arg_reader() (args, heap); - enum VkSampleCountFlagBits arg4 = gsi::arg_reader() (args, heap); - unsigned int arg5 = gsi::arg_reader() (args, heap); - enum VkImageTiling arg6 = gsi::arg_reader() (args, heap); - unsigned int *arg7 = gsi::arg_reader() (args, heap); - struct VkSparseImageFormatProperties *arg8 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanFunctions *)cls)->vkGetPhysicalDeviceSparseImageFormatProperties (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); -} - - -// void QVulkanFunctions::vkGetPhysicalDeviceSparseImageFormatProperties2(struct VkPhysicalDevice_T *physicalDevice, const struct VkPhysicalDeviceSparseImageFormatInfo2 *pFormatInfo, unsigned int *pPropertyCount, struct VkSparseImageFormatProperties2 *pProperties) - - -static void _init_f_vkGetPhysicalDeviceSparseImageFormatProperties2_15267 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("physicalDevice"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pFormatInfo"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("pPropertyCount"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("pProperties"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_vkGetPhysicalDeviceSparseImageFormatProperties2_15267 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkPhysicalDevice_T *arg1 = gsi::arg_reader() (args, heap); - const struct VkPhysicalDeviceSparseImageFormatInfo2 *arg2 = gsi::arg_reader() (args, heap); - unsigned int *arg3 = gsi::arg_reader() (args, heap); - struct VkSparseImageFormatProperties2 *arg4 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanFunctions *)cls)->vkGetPhysicalDeviceSparseImageFormatProperties2 (arg1, arg2, arg3, arg4); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QVulkanFunctions () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QVulkanFunctions::QVulkanFunctions()\nThis method creates an object of class QVulkanFunctions.", &_init_ctor_QVulkanFunctions_0, &_call_ctor_QVulkanFunctions_0); - methods += new qt_gsi::GenericMethod ("vkCreateDevice", "@brief Method enum VkResult QVulkanFunctions::vkCreateDevice(struct VkPhysicalDevice_T *physicalDevice, const struct VkDeviceCreateInfo *pCreateInfo, const struct VkAllocationCallbacks *pAllocator, struct VkDevice_T **pDevice)\n", false, &_init_f_vkCreateDevice_13533, &_call_f_vkCreateDevice_13533); - methods += new qt_gsi::GenericMethod ("vkEnumerateDeviceExtensionProperties", "@brief Method enum VkResult QVulkanFunctions::vkEnumerateDeviceExtensionProperties(struct VkPhysicalDevice_T *physicalDevice, const char *pLayerName, unsigned int *pPropertyCount, struct VkExtensionProperties *pProperties)\n", false, &_init_f_vkEnumerateDeviceExtensionProperties_10263, &_call_f_vkEnumerateDeviceExtensionProperties_10263); - methods += new qt_gsi::GenericMethod ("vkEnumerateDeviceLayerProperties", "@brief Method enum VkResult QVulkanFunctions::vkEnumerateDeviceLayerProperties(struct VkPhysicalDevice_T *physicalDevice, unsigned int *pPropertyCount, struct VkLayerProperties *pProperties)\n", false, &_init_f_vkEnumerateDeviceLayerProperties_8192, &_call_f_vkEnumerateDeviceLayerProperties_8192); - methods += new qt_gsi::GenericMethod ("vkEnumerateInstanceExtensionProperties", "@brief Method enum VkResult QVulkanFunctions::vkEnumerateInstanceExtensionProperties(const char *pLayerName, unsigned int *pPropertyCount, struct VkExtensionProperties *pProperties)\n", false, &_init_f_vkEnumerateInstanceExtensionProperties_7135, &_call_f_vkEnumerateInstanceExtensionProperties_7135); - methods += new qt_gsi::GenericMethod ("vkEnumerateInstanceLayerProperties", "@brief Method enum VkResult QVulkanFunctions::vkEnumerateInstanceLayerProperties(unsigned int *pPropertyCount, struct VkLayerProperties *pProperties)\n", false, &_init_f_vkEnumerateInstanceLayerProperties_5064, &_call_f_vkEnumerateInstanceLayerProperties_5064); - methods += new qt_gsi::GenericMethod ("vkEnumeratePhysicalDeviceGroups", "@brief Method enum VkResult QVulkanFunctions::vkEnumeratePhysicalDeviceGroups(struct VkInstance_T *instance, unsigned int *pPhysicalDeviceGroupCount, struct VkPhysicalDeviceGroupProperties *pPhysicalDeviceGroupProperties)\n", false, &_init_f_vkEnumeratePhysicalDeviceGroups_9029, &_call_f_vkEnumeratePhysicalDeviceGroups_9029); - methods += new qt_gsi::GenericMethod ("vkEnumeratePhysicalDevices", "@brief Method enum VkResult QVulkanFunctions::vkEnumeratePhysicalDevices(struct VkInstance_T *instance, unsigned int *pPhysicalDeviceCount, struct VkPhysicalDevice_T **pPhysicalDevices)\n", false, &_init_f_vkEnumeratePhysicalDevices_7656, &_call_f_vkEnumeratePhysicalDevices_7656); - methods += new qt_gsi::GenericMethod ("vkGetDeviceProcAddr", "@brief Method void *QVulkanFunctions::vkGetDeviceProcAddr(VkDevice device, const char *pName)()\n", false, &_init_f_vkGetDeviceProcAddr_2844, &_call_f_vkGetDeviceProcAddr_2844); - methods += new qt_gsi::GenericMethod ("vkGetPhysicalDeviceExternalBufferProperties", "@brief Method void QVulkanFunctions::vkGetPhysicalDeviceExternalBufferProperties(struct VkPhysicalDevice_T *physicalDevice, const struct VkPhysicalDeviceExternalBufferInfo *pExternalBufferInfo, struct VkExternalBufferProperties *pExternalBufferProperties)\n", false, &_init_f_vkGetPhysicalDeviceExternalBufferProperties_12747, &_call_f_vkGetPhysicalDeviceExternalBufferProperties_12747); - methods += new qt_gsi::GenericMethod ("vkGetPhysicalDeviceExternalFenceProperties", "@brief Method void QVulkanFunctions::vkGetPhysicalDeviceExternalFenceProperties(struct VkPhysicalDevice_T *physicalDevice, const struct VkPhysicalDeviceExternalFenceInfo *pExternalFenceInfo, struct VkExternalFenceProperties *pExternalFenceProperties)\n", false, &_init_f_vkGetPhysicalDeviceExternalFenceProperties_12505, &_call_f_vkGetPhysicalDeviceExternalFenceProperties_12505); - methods += new qt_gsi::GenericMethod ("vkGetPhysicalDeviceExternalSemaphoreProperties", "@brief Method void QVulkanFunctions::vkGetPhysicalDeviceExternalSemaphoreProperties(struct VkPhysicalDevice_T *physicalDevice, const struct VkPhysicalDeviceExternalSemaphoreInfo *pExternalSemaphoreInfo, struct VkExternalSemaphoreProperties *pExternalSemaphoreProperties)\n", false, &_init_f_vkGetPhysicalDeviceExternalSemaphoreProperties_13407, &_call_f_vkGetPhysicalDeviceExternalSemaphoreProperties_13407); - methods += new qt_gsi::GenericMethod ("vkGetPhysicalDeviceFeatures", "@brief Method void QVulkanFunctions::vkGetPhysicalDeviceFeatures(struct VkPhysicalDevice_T *physicalDevice, struct VkPhysicalDeviceFeatures *pFeatures)\n", false, &_init_f_vkGetPhysicalDeviceFeatures_7016, &_call_f_vkGetPhysicalDeviceFeatures_7016); - methods += new qt_gsi::GenericMethod ("vkGetPhysicalDeviceFeatures2", "@brief Method void QVulkanFunctions::vkGetPhysicalDeviceFeatures2(struct VkPhysicalDevice_T *physicalDevice, struct VkPhysicalDeviceFeatures2 *pFeatures)\n", false, &_init_f_vkGetPhysicalDeviceFeatures2_7066, &_call_f_vkGetPhysicalDeviceFeatures2_7066); - methods += new qt_gsi::GenericMethod ("vkGetPhysicalDeviceFormatProperties", "@brief Method void QVulkanFunctions::vkGetPhysicalDeviceFormatProperties(struct VkPhysicalDevice_T *physicalDevice, enum VkFormat format, struct VkFormatProperties *pFormatProperties)\n", false, &_init_f_vkGetPhysicalDeviceFormatProperties_8169, &_call_f_vkGetPhysicalDeviceFormatProperties_8169); - methods += new qt_gsi::GenericMethod ("vkGetPhysicalDeviceFormatProperties2", "@brief Method void QVulkanFunctions::vkGetPhysicalDeviceFormatProperties2(struct VkPhysicalDevice_T *physicalDevice, enum VkFormat format, struct VkFormatProperties2 *pFormatProperties)\n", false, &_init_f_vkGetPhysicalDeviceFormatProperties2_8219, &_call_f_vkGetPhysicalDeviceFormatProperties2_8219); - methods += new qt_gsi::GenericMethod ("vkGetPhysicalDeviceImageFormatProperties", "@brief Method enum VkResult QVulkanFunctions::vkGetPhysicalDeviceImageFormatProperties(struct VkPhysicalDevice_T *physicalDevice, enum VkFormat format, enum VkImageType type, enum VkImageTiling tiling, unsigned int usage, unsigned int flags, struct VkImageFormatProperties *pImageFormatProperties)\n", false, &_init_f_vkGetPhysicalDeviceImageFormatProperties_16183, &_call_f_vkGetPhysicalDeviceImageFormatProperties_16183); - methods += new qt_gsi::GenericMethod ("vkGetPhysicalDeviceImageFormatProperties2", "@brief Method enum VkResult QVulkanFunctions::vkGetPhysicalDeviceImageFormatProperties2(struct VkPhysicalDevice_T *physicalDevice, const struct VkPhysicalDeviceImageFormatInfo2 *pImageFormatInfo, struct VkImageFormatProperties2 *pImageFormatProperties)\n", false, &_init_f_vkGetPhysicalDeviceImageFormatProperties2_12173, &_call_f_vkGetPhysicalDeviceImageFormatProperties2_12173); - methods += new qt_gsi::GenericMethod ("vkGetPhysicalDeviceMemoryProperties", "@brief Method void QVulkanFunctions::vkGetPhysicalDeviceMemoryProperties(struct VkPhysicalDevice_T *physicalDevice, struct VkPhysicalDeviceMemoryProperties *pMemoryProperties)\n", false, &_init_f_vkGetPhysicalDeviceMemoryProperties_7887, &_call_f_vkGetPhysicalDeviceMemoryProperties_7887); - methods += new qt_gsi::GenericMethod ("vkGetPhysicalDeviceMemoryProperties2", "@brief Method void QVulkanFunctions::vkGetPhysicalDeviceMemoryProperties2(struct VkPhysicalDevice_T *physicalDevice, struct VkPhysicalDeviceMemoryProperties2 *pMemoryProperties)\n", false, &_init_f_vkGetPhysicalDeviceMemoryProperties2_7937, &_call_f_vkGetPhysicalDeviceMemoryProperties2_7937); - methods += new qt_gsi::GenericMethod ("vkGetPhysicalDeviceProperties", "@brief Method void QVulkanFunctions::vkGetPhysicalDeviceProperties(struct VkPhysicalDevice_T *physicalDevice, struct VkPhysicalDeviceProperties *pProperties)\n", false, &_init_f_vkGetPhysicalDeviceProperties_7254, &_call_f_vkGetPhysicalDeviceProperties_7254); - methods += new qt_gsi::GenericMethod ("vkGetPhysicalDeviceProperties2", "@brief Method void QVulkanFunctions::vkGetPhysicalDeviceProperties2(struct VkPhysicalDevice_T *physicalDevice, struct VkPhysicalDeviceProperties2 *pProperties)\n", false, &_init_f_vkGetPhysicalDeviceProperties2_7304, &_call_f_vkGetPhysicalDeviceProperties2_7304); - methods += new qt_gsi::GenericMethod ("vkGetPhysicalDeviceQueueFamilyProperties", "@brief Method void QVulkanFunctions::vkGetPhysicalDeviceQueueFamilyProperties(struct VkPhysicalDevice_T *physicalDevice, unsigned int *pQueueFamilyPropertyCount, struct VkQueueFamilyProperties *pQueueFamilyProperties)\n", false, &_init_f_vkGetPhysicalDeviceQueueFamilyProperties_8810, &_call_f_vkGetPhysicalDeviceQueueFamilyProperties_8810); - methods += new qt_gsi::GenericMethod ("vkGetPhysicalDeviceQueueFamilyProperties2", "@brief Method void QVulkanFunctions::vkGetPhysicalDeviceQueueFamilyProperties2(struct VkPhysicalDevice_T *physicalDevice, unsigned int *pQueueFamilyPropertyCount, struct VkQueueFamilyProperties2 *pQueueFamilyProperties)\n", false, &_init_f_vkGetPhysicalDeviceQueueFamilyProperties2_8860, &_call_f_vkGetPhysicalDeviceQueueFamilyProperties2_8860); - methods += new qt_gsi::GenericMethod ("vkGetPhysicalDeviceSparseImageFormatProperties", "@brief Method void QVulkanFunctions::vkGetPhysicalDeviceSparseImageFormatProperties(struct VkPhysicalDevice_T *physicalDevice, enum VkFormat format, enum VkImageType type, enum VkSampleCountFlagBits samples, unsigned int usage, enum VkImageTiling tiling, unsigned int *pPropertyCount, struct VkSparseImageFormatProperties *pProperties)\n", false, &_init_f_vkGetPhysicalDeviceSparseImageFormatProperties_20004, &_call_f_vkGetPhysicalDeviceSparseImageFormatProperties_20004); - methods += new qt_gsi::GenericMethod ("vkGetPhysicalDeviceSparseImageFormatProperties2", "@brief Method void QVulkanFunctions::vkGetPhysicalDeviceSparseImageFormatProperties2(struct VkPhysicalDevice_T *physicalDevice, const struct VkPhysicalDeviceSparseImageFormatInfo2 *pFormatInfo, unsigned int *pPropertyCount, struct VkSparseImageFormatProperties2 *pProperties)\n", false, &_init_f_vkGetPhysicalDeviceSparseImageFormatProperties2_15267, &_call_f_vkGetPhysicalDeviceSparseImageFormatProperties2_15267); - return methods; -} - -gsi::Class decl_QVulkanFunctions ("QtGui", "QVulkanFunctions", - methods_QVulkanFunctions (), - "@qt\n@brief Binding of QVulkanFunctions"); - - -GSI_QTGUI_PUBLIC gsi::Class &qtdecl_QVulkanFunctions () { return decl_QVulkanFunctions; } - -} - diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQVulkanInfoVector.cc b/src/gsiqt/qt6/QtGui/gsiDeclQVulkanInfoVector.cc deleted file mode 100644 index d09a72465..000000000 --- a/src/gsiqt/qt6/QtGui/gsiDeclQVulkanInfoVector.cc +++ /dev/null @@ -1,117 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQVulkanInfoVector.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtGuiCommon.h" -#include "gsiDeclQtGuiTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QVulkanInfoVector - -// Constructor QVulkanInfoVector::QVulkanInfoVector() - - -static void _init_ctor_QVulkanInfoVector_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QVulkanInfoVector_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QVulkanInfoVector ()); -} - - -// bool QVulkanInfoVector::contains(const QByteArray &name) - - -static void _init_f_contains_c2309 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("name"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_contains_c2309 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QByteArray &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QVulkanInfoVector *)cls)->contains (arg1)); -} - - -// bool QVulkanInfoVector::contains(const QByteArray &name, int minVersion) - - -static void _init_f_contains_c2968 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("name"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("minVersion"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_contains_c2968 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QByteArray &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QVulkanInfoVector *)cls)->contains (arg1, arg2)); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QVulkanInfoVector () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QVulkanInfoVector::QVulkanInfoVector()\nThis method creates an object of class QVulkanInfoVector.", &_init_ctor_QVulkanInfoVector_0, &_call_ctor_QVulkanInfoVector_0); - methods += new qt_gsi::GenericMethod ("contains", "@brief Method bool QVulkanInfoVector::contains(const QByteArray &name)\n", true, &_init_f_contains_c2309, &_call_f_contains_c2309); - methods += new qt_gsi::GenericMethod ("contains", "@brief Method bool QVulkanInfoVector::contains(const QByteArray &name, int minVersion)\n", true, &_init_f_contains_c2968, &_call_f_contains_c2968); - return methods; -} - -gsi::Class> &qtdecl_QList (); - -gsi::Class decl_QVulkanInfoVector (qtdecl_QList (), "QtGui", "QVulkanInfoVector", - methods_QVulkanInfoVector (), - "@qt\n@brief Binding of QVulkanInfoVector"); - - -GSI_QTGUI_PUBLIC gsi::Class &qtdecl_QVulkanInfoVector () { return decl_QVulkanInfoVector; } - -} - diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQVulkanInstance.cc b/src/gsiqt/qt6/QtGui/gsiDeclQVulkanInstance.cc deleted file mode 100644 index dcbf9360a..000000000 --- a/src/gsiqt/qt6/QtGui/gsiDeclQVulkanInstance.cc +++ /dev/null @@ -1,652 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQVulkanInstance.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtGuiCommon.h" -#include "gsiDeclQtGuiTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QVulkanInstance - -// Constructor QVulkanInstance::QVulkanInstance() - - -static void _init_ctor_QVulkanInstance_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QVulkanInstance_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QVulkanInstance ()); -} - - -// QVersionNumber QVulkanInstance::apiVersion() - - -static void _init_f_apiVersion_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_apiVersion_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVersionNumber)((QVulkanInstance *)cls)->apiVersion ()); -} - - -// bool QVulkanInstance::create() - - -static void _init_f_create_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_create_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QVulkanInstance *)cls)->create ()); -} - - -// void QVulkanInstance::destroy() - - -static void _init_f_destroy_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_destroy_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanInstance *)cls)->destroy (); -} - - -// QVulkanDeviceFunctions *QVulkanInstance::deviceFunctions(struct VkDevice_T *device) - - -static void _init_f_deviceFunctions_2407 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_deviceFunctions_2407 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - ret.write ((QVulkanDeviceFunctions *)((QVulkanInstance *)cls)->deviceFunctions (arg1)); -} - - -// enum VkResult QVulkanInstance::errorCode() - - -static void _init_f_errorCode_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_errorCode_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((enum VkResult)((QVulkanInstance *)cls)->errorCode ()); -} - - -// QByteArrayList QVulkanInstance::extensions() - - -static void _init_f_extensions_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_extensions_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QByteArrayList)((QVulkanInstance *)cls)->extensions ()); -} - - -// QFlags QVulkanInstance::flags() - - -static void _init_f_flags_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_flags_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QFlags)((QVulkanInstance *)cls)->flags ()); -} - - -// QVulkanFunctions *QVulkanInstance::functions() - - -static void _init_f_functions_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_functions_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVulkanFunctions *)((QVulkanInstance *)cls)->functions ()); -} - - -// void *QVulkanInstance::getInstanceProcAddr(const char *name)() - - -static void _init_f_getInstanceProcAddr_1731 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("name"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_getInstanceProcAddr_1731 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - ret.write ((void *())((QVulkanInstance *)cls)->getInstanceProcAddr (arg1)); -} - - -// QPlatformVulkanInstance *QVulkanInstance::handle() - - -static void _init_f_handle_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_handle_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QPlatformVulkanInstance *)((QVulkanInstance *)cls)->handle ()); -} - - -// void QVulkanInstance::installDebugOutputFilter(bool *filter(unsigned int flags, enum VkDebugReportObjectTypeEXT objectType, unsigned long int object, unsigned long int location, signed int messageCode, const char *pLayerPrefix, const char *pMessage)) - - -static void _init_f_installDebugOutputFilter_21239 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("filter"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_installDebugOutputFilter_21239 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool *arg1(unsigned int flags, enum VkDebugReportObjectTypeEXT objectType, unsigned long int object, unsigned long int location, signed int messageCode, const char *pLayerPrefix, const char *pMessage) = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanInstance *)cls)->installDebugOutputFilter (arg1); -} - - -// bool QVulkanInstance::isValid() - - -static void _init_f_isValid_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isValid_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QVulkanInstance *)cls)->isValid ()); -} - - -// QByteArrayList QVulkanInstance::layers() - - -static void _init_f_layers_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_layers_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QByteArrayList)((QVulkanInstance *)cls)->layers ()); -} - - -// void QVulkanInstance::presentAboutToBeQueued(QWindow *window) - - -static void _init_f_presentAboutToBeQueued_1335 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("window"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_presentAboutToBeQueued_1335 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QWindow *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanInstance *)cls)->presentAboutToBeQueued (arg1); -} - - -// void QVulkanInstance::presentQueued(QWindow *window) - - -static void _init_f_presentQueued_1335 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("window"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_presentQueued_1335 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QWindow *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanInstance *)cls)->presentQueued (arg1); -} - - -// void QVulkanInstance::removeDebugOutputFilter(bool *filter(unsigned int flags, enum VkDebugReportObjectTypeEXT objectType, unsigned long int object, unsigned long int location, signed int messageCode, const char *pLayerPrefix, const char *pMessage)) - - -static void _init_f_removeDebugOutputFilter_21239 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("filter"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_removeDebugOutputFilter_21239 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool *arg1(unsigned int flags, enum VkDebugReportObjectTypeEXT objectType, unsigned long int object, unsigned long int location, signed int messageCode, const char *pLayerPrefix, const char *pMessage) = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanInstance *)cls)->removeDebugOutputFilter (arg1); -} - - -// void QVulkanInstance::resetDeviceFunctions(struct VkDevice_T *device) - - -static void _init_f_resetDeviceFunctions_2407 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_resetDeviceFunctions_2407 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkDevice_T *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanInstance *)cls)->resetDeviceFunctions (arg1); -} - - -// void QVulkanInstance::setApiVersion(const QVersionNumber &vulkanVersion) - - -static void _init_f_setApiVersion_2753 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("vulkanVersion"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setApiVersion_2753 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QVersionNumber &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanInstance *)cls)->setApiVersion (arg1); -} - - -// void QVulkanInstance::setExtensions(const QByteArrayList &extensions) - - -static void _init_f_setExtensions_2721 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("extensions"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setExtensions_2721 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QByteArrayList &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanInstance *)cls)->setExtensions (arg1); -} - - -// void QVulkanInstance::setFlags(QFlags flags) - - -static void _init_f_setFlags_3153 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("flags"); - decl->add_arg > (argspec_0); - decl->set_return (); -} - -static void _call_f_setFlags_3153 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QFlags arg1 = gsi::arg_reader >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanInstance *)cls)->setFlags (arg1); -} - - -// void QVulkanInstance::setLayers(const QByteArrayList &layers) - - -static void _init_f_setLayers_2721 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("layers"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setLayers_2721 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QByteArrayList &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanInstance *)cls)->setLayers (arg1); -} - - -// void QVulkanInstance::setVkInstance(struct VkInstance_T *existingVkInstance) - - -static void _init_f_setVkInstance_2636 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("existingVkInstance"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setVkInstance_2636 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkInstance_T *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanInstance *)cls)->setVkInstance (arg1); -} - - -// QVersionNumber QVulkanInstance::supportedApiVersion() - - -static void _init_f_supportedApiVersion_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_supportedApiVersion_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVersionNumber)((QVulkanInstance *)cls)->supportedApiVersion ()); -} - - -// QVulkanInfoVector QVulkanInstance::supportedExtensions() - - -static void _init_f_supportedExtensions_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_supportedExtensions_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QVulkanInfoVector)((QVulkanInstance *)cls)->supportedExtensions ()); -} - - -// QVulkanInfoVector QVulkanInstance::supportedExtensions() - - -static void _init_f_supportedExtensions_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_supportedExtensions_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QVulkanInfoVector)((QVulkanInstance *)cls)->supportedExtensions ()); -} - - -// QVulkanInfoVector QVulkanInstance::supportedLayers() - - -static void _init_f_supportedLayers_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_supportedLayers_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QVulkanInfoVector)((QVulkanInstance *)cls)->supportedLayers ()); -} - - -// QVulkanInfoVector QVulkanInstance::supportedLayers() - - -static void _init_f_supportedLayers_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_supportedLayers_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QVulkanInfoVector)((QVulkanInstance *)cls)->supportedLayers ()); -} - - -// bool QVulkanInstance::supportsPresent(struct VkPhysicalDevice_T *physicalDevice, unsigned int queueFamilyIndex, QWindow *window) - - -static void _init_f_supportsPresent_6127 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("physicalDevice"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("queueFamilyIndex"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("window"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_supportsPresent_6127 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - struct VkPhysicalDevice_T *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - QWindow *arg3 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QVulkanInstance *)cls)->supportsPresent (arg1, arg2, arg3)); -} - - -// struct VkInstance_T *QVulkanInstance::vkInstance() - - -static void _init_f_vkInstance_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_vkInstance_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((struct VkInstance_T *)((QVulkanInstance *)cls)->vkInstance ()); -} - - -// static struct VkSurfaceKHR_T *QVulkanInstance::surfaceForWindow(QWindow *window) - - -static void _init_f_surfaceForWindow_1335 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("window"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_surfaceForWindow_1335 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QWindow *arg1 = gsi::arg_reader() (args, heap); - ret.write ((struct VkSurfaceKHR_T *)QVulkanInstance::surfaceForWindow (arg1)); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QVulkanInstance () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QVulkanInstance::QVulkanInstance()\nThis method creates an object of class QVulkanInstance.", &_init_ctor_QVulkanInstance_0, &_call_ctor_QVulkanInstance_0); - methods += new qt_gsi::GenericMethod ("apiVersion", "@brief Method QVersionNumber QVulkanInstance::apiVersion()\n", true, &_init_f_apiVersion_c0, &_call_f_apiVersion_c0); - methods += new qt_gsi::GenericMethod ("qt_create", "@brief Method bool QVulkanInstance::create()\n", false, &_init_f_create_0, &_call_f_create_0); - methods += new qt_gsi::GenericMethod ("qt_destroy", "@brief Method void QVulkanInstance::destroy()\n", false, &_init_f_destroy_0, &_call_f_destroy_0); - methods += new qt_gsi::GenericMethod ("deviceFunctions", "@brief Method QVulkanDeviceFunctions *QVulkanInstance::deviceFunctions(struct VkDevice_T *device)\n", false, &_init_f_deviceFunctions_2407, &_call_f_deviceFunctions_2407); - methods += new qt_gsi::GenericMethod ("errorCode", "@brief Method enum VkResult QVulkanInstance::errorCode()\n", true, &_init_f_errorCode_c0, &_call_f_errorCode_c0); - methods += new qt_gsi::GenericMethod ("extensions", "@brief Method QByteArrayList QVulkanInstance::extensions()\n", true, &_init_f_extensions_c0, &_call_f_extensions_c0); - methods += new qt_gsi::GenericMethod ("flags", "@brief Method QFlags QVulkanInstance::flags()\n", true, &_init_f_flags_c0, &_call_f_flags_c0); - methods += new qt_gsi::GenericMethod ("functions", "@brief Method QVulkanFunctions *QVulkanInstance::functions()\n", true, &_init_f_functions_c0, &_call_f_functions_c0); - methods += new qt_gsi::GenericMethod ("getInstanceProcAddr", "@brief Method void *QVulkanInstance::getInstanceProcAddr(const char *name)()\n", false, &_init_f_getInstanceProcAddr_1731, &_call_f_getInstanceProcAddr_1731); - methods += new qt_gsi::GenericMethod ("handle", "@brief Method QPlatformVulkanInstance *QVulkanInstance::handle()\n", true, &_init_f_handle_c0, &_call_f_handle_c0); - methods += new qt_gsi::GenericMethod ("installDebugOutputFilter", "@brief Method void QVulkanInstance::installDebugOutputFilter(bool *filter(unsigned int flags, enum VkDebugReportObjectTypeEXT objectType, unsigned long int object, unsigned long int location, signed int messageCode, const char *pLayerPrefix, const char *pMessage))\n", false, &_init_f_installDebugOutputFilter_21239, &_call_f_installDebugOutputFilter_21239); - methods += new qt_gsi::GenericMethod ("isValid?", "@brief Method bool QVulkanInstance::isValid()\n", true, &_init_f_isValid_c0, &_call_f_isValid_c0); - methods += new qt_gsi::GenericMethod ("layers", "@brief Method QByteArrayList QVulkanInstance::layers()\n", true, &_init_f_layers_c0, &_call_f_layers_c0); - methods += new qt_gsi::GenericMethod ("presentAboutToBeQueued", "@brief Method void QVulkanInstance::presentAboutToBeQueued(QWindow *window)\n", false, &_init_f_presentAboutToBeQueued_1335, &_call_f_presentAboutToBeQueued_1335); - methods += new qt_gsi::GenericMethod ("presentQueued", "@brief Method void QVulkanInstance::presentQueued(QWindow *window)\n", false, &_init_f_presentQueued_1335, &_call_f_presentQueued_1335); - methods += new qt_gsi::GenericMethod ("removeDebugOutputFilter", "@brief Method void QVulkanInstance::removeDebugOutputFilter(bool *filter(unsigned int flags, enum VkDebugReportObjectTypeEXT objectType, unsigned long int object, unsigned long int location, signed int messageCode, const char *pLayerPrefix, const char *pMessage))\n", false, &_init_f_removeDebugOutputFilter_21239, &_call_f_removeDebugOutputFilter_21239); - methods += new qt_gsi::GenericMethod ("resetDeviceFunctions", "@brief Method void QVulkanInstance::resetDeviceFunctions(struct VkDevice_T *device)\n", false, &_init_f_resetDeviceFunctions_2407, &_call_f_resetDeviceFunctions_2407); - methods += new qt_gsi::GenericMethod ("setApiVersion", "@brief Method void QVulkanInstance::setApiVersion(const QVersionNumber &vulkanVersion)\n", false, &_init_f_setApiVersion_2753, &_call_f_setApiVersion_2753); - methods += new qt_gsi::GenericMethod ("setExtensions", "@brief Method void QVulkanInstance::setExtensions(const QByteArrayList &extensions)\n", false, &_init_f_setExtensions_2721, &_call_f_setExtensions_2721); - methods += new qt_gsi::GenericMethod ("setFlags", "@brief Method void QVulkanInstance::setFlags(QFlags flags)\n", false, &_init_f_setFlags_3153, &_call_f_setFlags_3153); - methods += new qt_gsi::GenericMethod ("setLayers", "@brief Method void QVulkanInstance::setLayers(const QByteArrayList &layers)\n", false, &_init_f_setLayers_2721, &_call_f_setLayers_2721); - methods += new qt_gsi::GenericMethod ("setVkInstance", "@brief Method void QVulkanInstance::setVkInstance(struct VkInstance_T *existingVkInstance)\n", false, &_init_f_setVkInstance_2636, &_call_f_setVkInstance_2636); - methods += new qt_gsi::GenericMethod ("supportedApiVersion", "@brief Method QVersionNumber QVulkanInstance::supportedApiVersion()\n", true, &_init_f_supportedApiVersion_c0, &_call_f_supportedApiVersion_c0); - methods += new qt_gsi::GenericMethod ("supportedExtensions", "@brief Method QVulkanInfoVector QVulkanInstance::supportedExtensions()\n", false, &_init_f_supportedExtensions_0, &_call_f_supportedExtensions_0); - methods += new qt_gsi::GenericMethod ("supportedExtensions", "@brief Method QVulkanInfoVector QVulkanInstance::supportedExtensions()\n", true, &_init_f_supportedExtensions_c0, &_call_f_supportedExtensions_c0); - methods += new qt_gsi::GenericMethod ("supportedLayers", "@brief Method QVulkanInfoVector QVulkanInstance::supportedLayers()\n", false, &_init_f_supportedLayers_0, &_call_f_supportedLayers_0); - methods += new qt_gsi::GenericMethod ("supportedLayers", "@brief Method QVulkanInfoVector QVulkanInstance::supportedLayers()\n", true, &_init_f_supportedLayers_c0, &_call_f_supportedLayers_c0); - methods += new qt_gsi::GenericMethod ("supportsPresent", "@brief Method bool QVulkanInstance::supportsPresent(struct VkPhysicalDevice_T *physicalDevice, unsigned int queueFamilyIndex, QWindow *window)\n", false, &_init_f_supportsPresent_6127, &_call_f_supportsPresent_6127); - methods += new qt_gsi::GenericMethod ("vkInstance", "@brief Method struct VkInstance_T *QVulkanInstance::vkInstance()\n", true, &_init_f_vkInstance_c0, &_call_f_vkInstance_c0); - methods += new qt_gsi::GenericStaticMethod ("surfaceForWindow", "@brief Static method struct VkSurfaceKHR_T *QVulkanInstance::surfaceForWindow(QWindow *window)\nThis method is static and can be called without an instance.", &_init_f_surfaceForWindow_1335, &_call_f_surfaceForWindow_1335); - return methods; -} - -gsi::Class decl_QVulkanInstance ("QtGui", "QVulkanInstance", - methods_QVulkanInstance (), - "@qt\n@brief Binding of QVulkanInstance"); - - -GSI_QTGUI_PUBLIC gsi::Class &qtdecl_QVulkanInstance () { return decl_QVulkanInstance; } - -} - - -// Implementation of the enum wrapper class for QVulkanInstance::Flag -namespace qt_gsi -{ - -static gsi::Enum decl_QVulkanInstance_Flag_Enum ("QtGui", "QVulkanInstance_Flag", - gsi::enum_const ("NoDebugOutputRedirect", QVulkanInstance::NoDebugOutputRedirect, "@brief Enum constant QVulkanInstance::NoDebugOutputRedirect"), - "@qt\n@brief This class represents the QVulkanInstance::Flag enum"); - -static gsi::QFlagsClass decl_QVulkanInstance_Flag_Enums ("QtGui", "QVulkanInstance_QFlags_Flag", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QVulkanInstance_Flag_Enum_in_parent (decl_QVulkanInstance_Flag_Enum.defs ()); -static gsi::ClassExt decl_QVulkanInstance_Flag_Enum_as_child (decl_QVulkanInstance_Flag_Enum, "Flag"); -static gsi::ClassExt decl_QVulkanInstance_Flag_Enums_as_child (decl_QVulkanInstance_Flag_Enums, "QFlags_Flag"); - -} - diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQVulkanLayer.cc b/src/gsiqt/qt6/QtGui/gsiDeclQVulkanLayer.cc deleted file mode 100644 index e1a52152c..000000000 --- a/src/gsiqt/qt6/QtGui/gsiDeclQVulkanLayer.cc +++ /dev/null @@ -1,84 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQVulkanLayer.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtGuiCommon.h" -#include "gsiDeclQtGuiTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// struct QVulkanLayer - -// Constructor QVulkanLayer::QVulkanLayer() - - -static void _init_ctor_QVulkanLayer_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QVulkanLayer_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QVulkanLayer ()); -} - - -// bool ::operator==(const QVulkanLayer &lhs, const QVulkanLayer &rhs) -static bool op_QVulkanLayer_operator_eq__eq__4948(const QVulkanLayer *_self, const QVulkanLayer &rhs) { - return ::operator==(*_self, rhs); -} - -// bool ::operator!=(const QVulkanLayer &lhs, const QVulkanLayer &rhs) -static bool op_QVulkanLayer_operator_excl__eq__4948(const QVulkanLayer *_self, const QVulkanLayer &rhs) { - return ::operator!=(*_self, rhs); -} - - -namespace gsi -{ - -static gsi::Methods methods_QVulkanLayer () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QVulkanLayer::QVulkanLayer()\nThis method creates an object of class QVulkanLayer.", &_init_ctor_QVulkanLayer_0, &_call_ctor_QVulkanLayer_0); - methods += gsi::method_ext("==", &::op_QVulkanLayer_operator_eq__eq__4948, gsi::arg ("rhs"), "@brief Operator bool ::operator==(const QVulkanLayer &lhs, const QVulkanLayer &rhs)\nThis is the mapping of the global operator to the instance method."); - methods += gsi::method_ext("!=", &::op_QVulkanLayer_operator_excl__eq__4948, gsi::arg ("rhs"), "@brief Operator bool ::operator!=(const QVulkanLayer &lhs, const QVulkanLayer &rhs)\nThis is the mapping of the global operator to the instance method."); - return methods; -} - -gsi::Class decl_QVulkanLayer ("QtGui", "QVulkanLayer", - methods_QVulkanLayer (), - "@qt\n@brief Binding of QVulkanLayer"); - - -GSI_QTGUI_PUBLIC gsi::Class &qtdecl_QVulkanLayer () { return decl_QVulkanLayer; } - -} - diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQVulkanWindow.cc b/src/gsiqt/qt6/QtGui/gsiDeclQVulkanWindow.cc deleted file mode 100644 index 986bf03be..000000000 --- a/src/gsiqt/qt6/QtGui/gsiDeclQVulkanWindow.cc +++ /dev/null @@ -1,2328 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQVulkanWindow.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtGuiCommon.h" -#include "gsiDeclQtGuiTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QVulkanWindow - -// get static meta object - -static void _init_smo (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, gsi::SerialArgs &ret) -{ - ret.write (QVulkanWindow::staticMetaObject); -} - - -// QList QVulkanWindow::availablePhysicalDevices() - - -static void _init_f_availablePhysicalDevices_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_availablePhysicalDevices_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QList)((QVulkanWindow *)cls)->availablePhysicalDevices ()); -} - - -// QMatrix4x4 QVulkanWindow::clipCorrectionMatrix() - - -static void _init_f_clipCorrectionMatrix_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clipCorrectionMatrix_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QMatrix4x4)((QVulkanWindow *)cls)->clipCorrectionMatrix ()); -} - - -// enum VkFormat QVulkanWindow::colorFormat() - - -static void _init_f_colorFormat_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_colorFormat_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((enum VkFormat)((QVulkanWindow *)cls)->colorFormat ()); -} - - -// int QVulkanWindow::concurrentFrameCount() - - -static void _init_f_concurrentFrameCount_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_concurrentFrameCount_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QVulkanWindow *)cls)->concurrentFrameCount ()); -} - - -// QVulkanWindowRenderer *QVulkanWindow::createRenderer() - - -static void _init_f_createRenderer_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_createRenderer_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVulkanWindowRenderer *)((QVulkanWindow *)cls)->createRenderer ()); -} - - -// struct VkCommandBuffer_T *QVulkanWindow::currentCommandBuffer() - - -static void _init_f_currentCommandBuffer_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_currentCommandBuffer_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((struct VkCommandBuffer_T *)((QVulkanWindow *)cls)->currentCommandBuffer ()); -} - - -// int QVulkanWindow::currentFrame() - - -static void _init_f_currentFrame_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_currentFrame_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QVulkanWindow *)cls)->currentFrame ()); -} - - -// struct VkFramebuffer_T *QVulkanWindow::currentFramebuffer() - - -static void _init_f_currentFramebuffer_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_currentFramebuffer_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((struct VkFramebuffer_T *)((QVulkanWindow *)cls)->currentFramebuffer ()); -} - - -// int QVulkanWindow::currentSwapChainImageIndex() - - -static void _init_f_currentSwapChainImageIndex_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_currentSwapChainImageIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QVulkanWindow *)cls)->currentSwapChainImageIndex ()); -} - - -// struct VkRenderPass_T *QVulkanWindow::defaultRenderPass() - - -static void _init_f_defaultRenderPass_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_defaultRenderPass_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((struct VkRenderPass_T *)((QVulkanWindow *)cls)->defaultRenderPass ()); -} - - -// enum VkFormat QVulkanWindow::depthStencilFormat() - - -static void _init_f_depthStencilFormat_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_depthStencilFormat_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((enum VkFormat)((QVulkanWindow *)cls)->depthStencilFormat ()); -} - - -// struct VkImage_T *QVulkanWindow::depthStencilImage() - - -static void _init_f_depthStencilImage_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_depthStencilImage_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((struct VkImage_T *)((QVulkanWindow *)cls)->depthStencilImage ()); -} - - -// struct VkImageView_T *QVulkanWindow::depthStencilImageView() - - -static void _init_f_depthStencilImageView_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_depthStencilImageView_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((struct VkImageView_T *)((QVulkanWindow *)cls)->depthStencilImageView ()); -} - - -// struct VkDevice_T *QVulkanWindow::device() - - -static void _init_f_device_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_device_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((struct VkDevice_T *)((QVulkanWindow *)cls)->device ()); -} - - -// unsigned int QVulkanWindow::deviceLocalMemoryIndex() - - -static void _init_f_deviceLocalMemoryIndex_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_deviceLocalMemoryIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((unsigned int)((QVulkanWindow *)cls)->deviceLocalMemoryIndex ()); -} - - -// QFlags QVulkanWindow::flags() - - -static void _init_f_flags_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_flags_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QFlags)((QVulkanWindow *)cls)->flags ()); -} - - -// void QVulkanWindow::frameGrabbed(const QImage &image) - - -static void _init_f_frameGrabbed_1877 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("image"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_frameGrabbed_1877 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QImage &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow *)cls)->frameGrabbed (arg1); -} - - -// void QVulkanWindow::frameReady() - - -static void _init_f_frameReady_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_frameReady_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow *)cls)->frameReady (); -} - - -// QImage QVulkanWindow::grab() - - -static void _init_f_grab_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_grab_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QImage)((QVulkanWindow *)cls)->grab ()); -} - - -// struct VkCommandPool_T *QVulkanWindow::graphicsCommandPool() - - -static void _init_f_graphicsCommandPool_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_graphicsCommandPool_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((struct VkCommandPool_T *)((QVulkanWindow *)cls)->graphicsCommandPool ()); -} - - -// struct VkQueue_T *QVulkanWindow::graphicsQueue() - - -static void _init_f_graphicsQueue_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_graphicsQueue_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((struct VkQueue_T *)((QVulkanWindow *)cls)->graphicsQueue ()); -} - - -// unsigned int QVulkanWindow::graphicsQueueFamilyIndex() - - -static void _init_f_graphicsQueueFamilyIndex_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_graphicsQueueFamilyIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((unsigned int)((QVulkanWindow *)cls)->graphicsQueueFamilyIndex ()); -} - - -// unsigned int QVulkanWindow::hostVisibleMemoryIndex() - - -static void _init_f_hostVisibleMemoryIndex_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_hostVisibleMemoryIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((unsigned int)((QVulkanWindow *)cls)->hostVisibleMemoryIndex ()); -} - - -// bool QVulkanWindow::isValid() - - -static void _init_f_isValid_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isValid_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QVulkanWindow *)cls)->isValid ()); -} - - -// struct VkImage_T *QVulkanWindow::msaaColorImage(int idx) - - -static void _init_f_msaaColorImage_c767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("idx"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_msaaColorImage_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 ((struct VkImage_T *)((QVulkanWindow *)cls)->msaaColorImage (arg1)); -} - - -// struct VkImageView_T *QVulkanWindow::msaaColorImageView(int idx) - - -static void _init_f_msaaColorImageView_c767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("idx"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_msaaColorImageView_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 ((struct VkImageView_T *)((QVulkanWindow *)cls)->msaaColorImageView (arg1)); -} - - -// struct VkPhysicalDevice_T *QVulkanWindow::physicalDevice() - - -static void _init_f_physicalDevice_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_physicalDevice_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((struct VkPhysicalDevice_T *)((QVulkanWindow *)cls)->physicalDevice ()); -} - - -// const struct VkPhysicalDeviceProperties *QVulkanWindow::physicalDeviceProperties() - - -static void _init_f_physicalDeviceProperties_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_physicalDeviceProperties_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((const struct VkPhysicalDeviceProperties *)((QVulkanWindow *)cls)->physicalDeviceProperties ()); -} - - -// enum VkSampleCountFlagBits QVulkanWindow::sampleCountFlagBits() - - -static void _init_f_sampleCountFlagBits_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_sampleCountFlagBits_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((enum VkSampleCountFlagBits)((QVulkanWindow *)cls)->sampleCountFlagBits ()); -} - - -// void QVulkanWindow::setDeviceExtensions(const QByteArrayList &extensions) - - -static void _init_f_setDeviceExtensions_2721 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("extensions"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setDeviceExtensions_2721 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QByteArrayList &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow *)cls)->setDeviceExtensions (arg1); -} - - -// void QVulkanWindow::setFlags(QFlags flags) - - -static void _init_f_setFlags_2964 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("flags"); - decl->add_arg > (argspec_0); - decl->set_return (); -} - -static void _call_f_setFlags_2964 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QFlags arg1 = gsi::arg_reader >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow *)cls)->setFlags (arg1); -} - - -// void QVulkanWindow::setPhysicalDeviceIndex(int idx) - - -static void _init_f_setPhysicalDeviceIndex_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("idx"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setPhysicalDeviceIndex_767 (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); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow *)cls)->setPhysicalDeviceIndex (arg1); -} - - -// void QVulkanWindow::setPreferredColorFormats(const QList &formats) - - -static void _init_f_setPreferredColorFormats_2738 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("formats"); - decl->add_arg & > (argspec_0); - decl->set_return (); -} - -static void _call_f_setPreferredColorFormats_2738 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QList &arg1 = gsi::arg_reader & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow *)cls)->setPreferredColorFormats (arg1); -} - - -// void QVulkanWindow::setQueueCreateInfoModifier(const std::function &)> &modifier) - - -static void _init_f_setQueueCreateInfoModifier_10764 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("modifier"); - decl->add_arg &)> & > (argspec_0); - decl->set_return (); -} - -static void _call_f_setQueueCreateInfoModifier_10764 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const std::function &)> &arg1 = gsi::arg_reader &)> & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow *)cls)->setQueueCreateInfoModifier (arg1); -} - - -// void QVulkanWindow::setSampleCount(int sampleCount) - - -static void _init_f_setSampleCount_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sampleCount"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setSampleCount_767 (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); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow *)cls)->setSampleCount (arg1); -} - - -// QVulkanInfoVector QVulkanWindow::supportedDeviceExtensions() - - -static void _init_f_supportedDeviceExtensions_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_supportedDeviceExtensions_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QVulkanInfoVector)((QVulkanWindow *)cls)->supportedDeviceExtensions ()); -} - - -// QList QVulkanWindow::supportedSampleCounts() - - -static void _init_f_supportedSampleCounts_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_supportedSampleCounts_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QList)((QVulkanWindow *)cls)->supportedSampleCounts ()); -} - - -// bool QVulkanWindow::supportsGrab() - - -static void _init_f_supportsGrab_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_supportsGrab_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QVulkanWindow *)cls)->supportsGrab ()); -} - - -// struct VkImage_T *QVulkanWindow::swapChainImage(int idx) - - -static void _init_f_swapChainImage_c767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("idx"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_swapChainImage_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 ((struct VkImage_T *)((QVulkanWindow *)cls)->swapChainImage (arg1)); -} - - -// int QVulkanWindow::swapChainImageCount() - - -static void _init_f_swapChainImageCount_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_swapChainImageCount_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QVulkanWindow *)cls)->swapChainImageCount ()); -} - - -// QSize QVulkanWindow::swapChainImageSize() - - -static void _init_f_swapChainImageSize_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_swapChainImageSize_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QSize)((QVulkanWindow *)cls)->swapChainImageSize ()); -} - - -// struct VkImageView_T *QVulkanWindow::swapChainImageView(int idx) - - -static void _init_f_swapChainImageView_c767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("idx"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_swapChainImageView_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 ((struct VkImageView_T *)((QVulkanWindow *)cls)->swapChainImageView (arg1)); -} - - -// static QString QVulkanWindow::tr(const char *s, const char *c, int n) - - -static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("c", true, "nullptr"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("n", true, "-1"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - const char *arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - int arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (-1, heap); - ret.write ((QString)QVulkanWindow::tr (arg1, arg2, arg3)); -} - - -namespace gsi -{ - -static gsi::Methods methods_QVulkanWindow () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("staticMetaObject", "@brief Obtains the static MetaObject for this class.", &_init_smo, &_call_smo); - methods += new qt_gsi::GenericMethod ("availablePhysicalDevices", "@brief Method QList QVulkanWindow::availablePhysicalDevices()\n", false, &_init_f_availablePhysicalDevices_0, &_call_f_availablePhysicalDevices_0); - methods += new qt_gsi::GenericMethod ("clipCorrectionMatrix", "@brief Method QMatrix4x4 QVulkanWindow::clipCorrectionMatrix()\n", false, &_init_f_clipCorrectionMatrix_0, &_call_f_clipCorrectionMatrix_0); - methods += new qt_gsi::GenericMethod ("colorFormat", "@brief Method enum VkFormat QVulkanWindow::colorFormat()\n", true, &_init_f_colorFormat_c0, &_call_f_colorFormat_c0); - methods += new qt_gsi::GenericMethod ("concurrentFrameCount", "@brief Method int QVulkanWindow::concurrentFrameCount()\n", true, &_init_f_concurrentFrameCount_c0, &_call_f_concurrentFrameCount_c0); - methods += new qt_gsi::GenericMethod ("createRenderer", "@brief Method QVulkanWindowRenderer *QVulkanWindow::createRenderer()\n", false, &_init_f_createRenderer_0, &_call_f_createRenderer_0); - methods += new qt_gsi::GenericMethod ("currentCommandBuffer", "@brief Method struct VkCommandBuffer_T *QVulkanWindow::currentCommandBuffer()\n", true, &_init_f_currentCommandBuffer_c0, &_call_f_currentCommandBuffer_c0); - methods += new qt_gsi::GenericMethod ("currentFrame", "@brief Method int QVulkanWindow::currentFrame()\n", true, &_init_f_currentFrame_c0, &_call_f_currentFrame_c0); - methods += new qt_gsi::GenericMethod ("currentFramebuffer", "@brief Method struct VkFramebuffer_T *QVulkanWindow::currentFramebuffer()\n", true, &_init_f_currentFramebuffer_c0, &_call_f_currentFramebuffer_c0); - methods += new qt_gsi::GenericMethod ("currentSwapChainImageIndex", "@brief Method int QVulkanWindow::currentSwapChainImageIndex()\n", true, &_init_f_currentSwapChainImageIndex_c0, &_call_f_currentSwapChainImageIndex_c0); - methods += new qt_gsi::GenericMethod ("defaultRenderPass", "@brief Method struct VkRenderPass_T *QVulkanWindow::defaultRenderPass()\n", true, &_init_f_defaultRenderPass_c0, &_call_f_defaultRenderPass_c0); - methods += new qt_gsi::GenericMethod ("depthStencilFormat", "@brief Method enum VkFormat QVulkanWindow::depthStencilFormat()\n", true, &_init_f_depthStencilFormat_c0, &_call_f_depthStencilFormat_c0); - methods += new qt_gsi::GenericMethod ("depthStencilImage", "@brief Method struct VkImage_T *QVulkanWindow::depthStencilImage()\n", true, &_init_f_depthStencilImage_c0, &_call_f_depthStencilImage_c0); - methods += new qt_gsi::GenericMethod ("depthStencilImageView", "@brief Method struct VkImageView_T *QVulkanWindow::depthStencilImageView()\n", true, &_init_f_depthStencilImageView_c0, &_call_f_depthStencilImageView_c0); - methods += new qt_gsi::GenericMethod ("device", "@brief Method struct VkDevice_T *QVulkanWindow::device()\n", true, &_init_f_device_c0, &_call_f_device_c0); - methods += new qt_gsi::GenericMethod ("deviceLocalMemoryIndex", "@brief Method unsigned int QVulkanWindow::deviceLocalMemoryIndex()\n", true, &_init_f_deviceLocalMemoryIndex_c0, &_call_f_deviceLocalMemoryIndex_c0); - methods += new qt_gsi::GenericMethod ("flags", "@brief Method QFlags QVulkanWindow::flags()\n", true, &_init_f_flags_c0, &_call_f_flags_c0); - methods += new qt_gsi::GenericMethod ("frameGrabbed", "@brief Method void QVulkanWindow::frameGrabbed(const QImage &image)\n", false, &_init_f_frameGrabbed_1877, &_call_f_frameGrabbed_1877); - methods += new qt_gsi::GenericMethod ("frameReady", "@brief Method void QVulkanWindow::frameReady()\n", false, &_init_f_frameReady_0, &_call_f_frameReady_0); - methods += new qt_gsi::GenericMethod ("grab", "@brief Method QImage QVulkanWindow::grab()\n", false, &_init_f_grab_0, &_call_f_grab_0); - methods += new qt_gsi::GenericMethod ("graphicsCommandPool", "@brief Method struct VkCommandPool_T *QVulkanWindow::graphicsCommandPool()\n", true, &_init_f_graphicsCommandPool_c0, &_call_f_graphicsCommandPool_c0); - methods += new qt_gsi::GenericMethod ("graphicsQueue", "@brief Method struct VkQueue_T *QVulkanWindow::graphicsQueue()\n", true, &_init_f_graphicsQueue_c0, &_call_f_graphicsQueue_c0); - methods += new qt_gsi::GenericMethod ("graphicsQueueFamilyIndex", "@brief Method unsigned int QVulkanWindow::graphicsQueueFamilyIndex()\n", true, &_init_f_graphicsQueueFamilyIndex_c0, &_call_f_graphicsQueueFamilyIndex_c0); - methods += new qt_gsi::GenericMethod ("hostVisibleMemoryIndex", "@brief Method unsigned int QVulkanWindow::hostVisibleMemoryIndex()\n", true, &_init_f_hostVisibleMemoryIndex_c0, &_call_f_hostVisibleMemoryIndex_c0); - methods += new qt_gsi::GenericMethod ("isValid?", "@brief Method bool QVulkanWindow::isValid()\n", true, &_init_f_isValid_c0, &_call_f_isValid_c0); - methods += new qt_gsi::GenericMethod ("msaaColorImage", "@brief Method struct VkImage_T *QVulkanWindow::msaaColorImage(int idx)\n", true, &_init_f_msaaColorImage_c767, &_call_f_msaaColorImage_c767); - methods += new qt_gsi::GenericMethod ("msaaColorImageView", "@brief Method struct VkImageView_T *QVulkanWindow::msaaColorImageView(int idx)\n", true, &_init_f_msaaColorImageView_c767, &_call_f_msaaColorImageView_c767); - methods += new qt_gsi::GenericMethod ("physicalDevice", "@brief Method struct VkPhysicalDevice_T *QVulkanWindow::physicalDevice()\n", true, &_init_f_physicalDevice_c0, &_call_f_physicalDevice_c0); - methods += new qt_gsi::GenericMethod ("physicalDeviceProperties", "@brief Method const struct VkPhysicalDeviceProperties *QVulkanWindow::physicalDeviceProperties()\n", true, &_init_f_physicalDeviceProperties_c0, &_call_f_physicalDeviceProperties_c0); - methods += new qt_gsi::GenericMethod ("sampleCountFlagBits", "@brief Method enum VkSampleCountFlagBits QVulkanWindow::sampleCountFlagBits()\n", true, &_init_f_sampleCountFlagBits_c0, &_call_f_sampleCountFlagBits_c0); - methods += new qt_gsi::GenericMethod ("setDeviceExtensions", "@brief Method void QVulkanWindow::setDeviceExtensions(const QByteArrayList &extensions)\n", false, &_init_f_setDeviceExtensions_2721, &_call_f_setDeviceExtensions_2721); - methods += new qt_gsi::GenericMethod ("setFlags", "@brief Method void QVulkanWindow::setFlags(QFlags flags)\n", false, &_init_f_setFlags_2964, &_call_f_setFlags_2964); - methods += new qt_gsi::GenericMethod ("setPhysicalDeviceIndex", "@brief Method void QVulkanWindow::setPhysicalDeviceIndex(int idx)\n", false, &_init_f_setPhysicalDeviceIndex_767, &_call_f_setPhysicalDeviceIndex_767); - methods += new qt_gsi::GenericMethod ("setPreferredColorFormats", "@brief Method void QVulkanWindow::setPreferredColorFormats(const QList &formats)\n", false, &_init_f_setPreferredColorFormats_2738, &_call_f_setPreferredColorFormats_2738); - methods += new qt_gsi::GenericMethod ("setQueueCreateInfoModifier", "@brief Method void QVulkanWindow::setQueueCreateInfoModifier(const std::function &)> &modifier)\n", false, &_init_f_setQueueCreateInfoModifier_10764, &_call_f_setQueueCreateInfoModifier_10764); - methods += new qt_gsi::GenericMethod ("setSampleCount", "@brief Method void QVulkanWindow::setSampleCount(int sampleCount)\n", false, &_init_f_setSampleCount_767, &_call_f_setSampleCount_767); - methods += new qt_gsi::GenericMethod ("supportedDeviceExtensions", "@brief Method QVulkanInfoVector QVulkanWindow::supportedDeviceExtensions()\n", false, &_init_f_supportedDeviceExtensions_0, &_call_f_supportedDeviceExtensions_0); - methods += new qt_gsi::GenericMethod ("supportedSampleCounts", "@brief Method QList QVulkanWindow::supportedSampleCounts()\n", false, &_init_f_supportedSampleCounts_0, &_call_f_supportedSampleCounts_0); - methods += new qt_gsi::GenericMethod ("supportsGrab", "@brief Method bool QVulkanWindow::supportsGrab()\n", true, &_init_f_supportsGrab_c0, &_call_f_supportsGrab_c0); - methods += new qt_gsi::GenericMethod ("swapChainImage", "@brief Method struct VkImage_T *QVulkanWindow::swapChainImage(int idx)\n", true, &_init_f_swapChainImage_c767, &_call_f_swapChainImage_c767); - methods += new qt_gsi::GenericMethod ("swapChainImageCount", "@brief Method int QVulkanWindow::swapChainImageCount()\n", true, &_init_f_swapChainImageCount_c0, &_call_f_swapChainImageCount_c0); - methods += new qt_gsi::GenericMethod ("swapChainImageSize", "@brief Method QSize QVulkanWindow::swapChainImageSize()\n", true, &_init_f_swapChainImageSize_c0, &_call_f_swapChainImageSize_c0); - methods += new qt_gsi::GenericMethod ("swapChainImageView", "@brief Method struct VkImageView_T *QVulkanWindow::swapChainImageView(int idx)\n", true, &_init_f_swapChainImageView_c767, &_call_f_swapChainImageView_c767); - methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QVulkanWindow::tr(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013); - return methods; -} - -gsi::Class &qtdecl_QWindow (); - -qt_gsi::QtNativeClass decl_QVulkanWindow (qtdecl_QWindow (), "QtGui", "QVulkanWindow_Native", - methods_QVulkanWindow (), - "@hide\n@alias QVulkanWindow"); - -GSI_QTGUI_PUBLIC gsi::Class &qtdecl_QVulkanWindow () { return decl_QVulkanWindow; } - -} - - -class QVulkanWindow_Adaptor : public QVulkanWindow, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QVulkanWindow_Adaptor(); - - // [adaptor ctor] QVulkanWindow::QVulkanWindow(QWindow *parent) - QVulkanWindow_Adaptor() : QVulkanWindow() - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QVulkanWindow::QVulkanWindow(QWindow *parent) - QVulkanWindow_Adaptor(QWindow *parent) : QVulkanWindow(parent) - { - qt_gsi::QtObjectBase::init (this); - } - - // [expose] bool QVulkanWindow::isSignalConnected(const QMetaMethod &signal) - bool fp_QVulkanWindow_isSignalConnected_c2394 (const QMetaMethod &signal) const { - return QVulkanWindow::isSignalConnected(signal); - } - - // [expose] int QVulkanWindow::receivers(const char *signal) - int fp_QVulkanWindow_receivers_c1731 (const char *signal) const { - return QVulkanWindow::receivers(signal); - } - - // [expose] void *QVulkanWindow::resolveInterface(const char *name, int revision) - void * fp_QVulkanWindow_resolveInterface_c2390 (const char *name, int revision) const { - return QVulkanWindow::resolveInterface(name, revision); - } - - // [expose] QObject *QVulkanWindow::sender() - QObject * fp_QVulkanWindow_sender_c0 () const { - return QVulkanWindow::sender(); - } - - // [expose] int QVulkanWindow::senderSignalIndex() - int fp_QVulkanWindow_senderSignalIndex_c0 () const { - return QVulkanWindow::senderSignalIndex(); - } - - // [adaptor impl] QAccessibleInterface *QVulkanWindow::accessibleRoot() - QAccessibleInterface * cbs_accessibleRoot_c0_0() const - { - return QVulkanWindow::accessibleRoot(); - } - - virtual QAccessibleInterface * accessibleRoot() const - { - if (cb_accessibleRoot_c0_0.can_issue()) { - return cb_accessibleRoot_c0_0.issue(&QVulkanWindow_Adaptor::cbs_accessibleRoot_c0_0); - } else { - return QVulkanWindow::accessibleRoot(); - } - } - - // [adaptor impl] QVulkanWindowRenderer *QVulkanWindow::createRenderer() - QVulkanWindowRenderer * cbs_createRenderer_0_0() - { - return QVulkanWindow::createRenderer(); - } - - virtual QVulkanWindowRenderer * createRenderer() - { - if (cb_createRenderer_0_0.can_issue()) { - return cb_createRenderer_0_0.issue(&QVulkanWindow_Adaptor::cbs_createRenderer_0_0); - } else { - return QVulkanWindow::createRenderer(); - } - } - - // [adaptor impl] bool QVulkanWindow::eventFilter(QObject *watched, QEvent *event) - bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event) - { - return QVulkanWindow::eventFilter(watched, event); - } - - virtual bool eventFilter(QObject *watched, QEvent *event) - { - if (cb_eventFilter_2411_0.can_issue()) { - return cb_eventFilter_2411_0.issue(&QVulkanWindow_Adaptor::cbs_eventFilter_2411_0, watched, event); - } else { - return QVulkanWindow::eventFilter(watched, event); - } - } - - // [adaptor impl] QObject *QVulkanWindow::focusObject() - QObject * cbs_focusObject_c0_0() const - { - return QVulkanWindow::focusObject(); - } - - virtual QObject * focusObject() const - { - if (cb_focusObject_c0_0.can_issue()) { - return cb_focusObject_c0_0.issue(&QVulkanWindow_Adaptor::cbs_focusObject_c0_0); - } else { - return QVulkanWindow::focusObject(); - } - } - - // [adaptor impl] QSurfaceFormat QVulkanWindow::format() - QSurfaceFormat cbs_format_c0_0() const - { - return QVulkanWindow::format(); - } - - virtual QSurfaceFormat format() const - { - if (cb_format_c0_0.can_issue()) { - return cb_format_c0_0.issue(&QVulkanWindow_Adaptor::cbs_format_c0_0); - } else { - return QVulkanWindow::format(); - } - } - - // [adaptor impl] QSize QVulkanWindow::size() - QSize cbs_size_c0_0() const - { - return QVulkanWindow::size(); - } - - virtual QSize size() const - { - if (cb_size_c0_0.can_issue()) { - return cb_size_c0_0.issue(&QVulkanWindow_Adaptor::cbs_size_c0_0); - } else { - return QVulkanWindow::size(); - } - } - - // [adaptor impl] QSurface::SurfaceType QVulkanWindow::surfaceType() - qt_gsi::Converter::target_type cbs_surfaceType_c0_0() const - { - return qt_gsi::CppToQtAdaptor(QVulkanWindow::surfaceType()); - } - - virtual QSurface::SurfaceType surfaceType() const - { - if (cb_surfaceType_c0_0.can_issue()) { - return qt_gsi::QtToCppAdaptor(cb_surfaceType_c0_0.issue::target_type>(&QVulkanWindow_Adaptor::cbs_surfaceType_c0_0)).cref(); - } else { - return QVulkanWindow::surfaceType(); - } - } - - // [adaptor impl] void QVulkanWindow::childEvent(QChildEvent *event) - void cbs_childEvent_1701_0(QChildEvent *event) - { - QVulkanWindow::childEvent(event); - } - - virtual void childEvent(QChildEvent *event) - { - if (cb_childEvent_1701_0.can_issue()) { - cb_childEvent_1701_0.issue(&QVulkanWindow_Adaptor::cbs_childEvent_1701_0, event); - } else { - QVulkanWindow::childEvent(event); - } - } - - // [adaptor impl] void QVulkanWindow::closeEvent(QCloseEvent *) - void cbs_closeEvent_1719_0(QCloseEvent *arg1) - { - QVulkanWindow::closeEvent(arg1); - } - - virtual void closeEvent(QCloseEvent *arg1) - { - if (cb_closeEvent_1719_0.can_issue()) { - cb_closeEvent_1719_0.issue(&QVulkanWindow_Adaptor::cbs_closeEvent_1719_0, arg1); - } else { - QVulkanWindow::closeEvent(arg1); - } - } - - // [adaptor impl] void QVulkanWindow::customEvent(QEvent *event) - void cbs_customEvent_1217_0(QEvent *event) - { - QVulkanWindow::customEvent(event); - } - - virtual void customEvent(QEvent *event) - { - if (cb_customEvent_1217_0.can_issue()) { - cb_customEvent_1217_0.issue(&QVulkanWindow_Adaptor::cbs_customEvent_1217_0, event); - } else { - QVulkanWindow::customEvent(event); - } - } - - // [adaptor impl] void QVulkanWindow::disconnectNotify(const QMetaMethod &signal) - void cbs_disconnectNotify_2394_0(const QMetaMethod &signal) - { - QVulkanWindow::disconnectNotify(signal); - } - - virtual void disconnectNotify(const QMetaMethod &signal) - { - if (cb_disconnectNotify_2394_0.can_issue()) { - cb_disconnectNotify_2394_0.issue(&QVulkanWindow_Adaptor::cbs_disconnectNotify_2394_0, signal); - } else { - QVulkanWindow::disconnectNotify(signal); - } - } - - // [adaptor impl] bool QVulkanWindow::event(QEvent *) - bool cbs_event_1217_0(QEvent *arg1) - { - return QVulkanWindow::event(arg1); - } - - virtual bool event(QEvent *arg1) - { - if (cb_event_1217_0.can_issue()) { - return cb_event_1217_0.issue(&QVulkanWindow_Adaptor::cbs_event_1217_0, arg1); - } else { - return QVulkanWindow::event(arg1); - } - } - - // [adaptor impl] void QVulkanWindow::exposeEvent(QExposeEvent *) - void cbs_exposeEvent_1845_0(QExposeEvent *arg1) - { - QVulkanWindow::exposeEvent(arg1); - } - - virtual void exposeEvent(QExposeEvent *arg1) - { - if (cb_exposeEvent_1845_0.can_issue()) { - cb_exposeEvent_1845_0.issue(&QVulkanWindow_Adaptor::cbs_exposeEvent_1845_0, arg1); - } else { - QVulkanWindow::exposeEvent(arg1); - } - } - - // [adaptor impl] void QVulkanWindow::focusInEvent(QFocusEvent *) - void cbs_focusInEvent_1729_0(QFocusEvent *arg1) - { - QVulkanWindow::focusInEvent(arg1); - } - - virtual void focusInEvent(QFocusEvent *arg1) - { - if (cb_focusInEvent_1729_0.can_issue()) { - cb_focusInEvent_1729_0.issue(&QVulkanWindow_Adaptor::cbs_focusInEvent_1729_0, arg1); - } else { - QVulkanWindow::focusInEvent(arg1); - } - } - - // [adaptor impl] void QVulkanWindow::focusOutEvent(QFocusEvent *) - void cbs_focusOutEvent_1729_0(QFocusEvent *arg1) - { - QVulkanWindow::focusOutEvent(arg1); - } - - virtual void focusOutEvent(QFocusEvent *arg1) - { - if (cb_focusOutEvent_1729_0.can_issue()) { - cb_focusOutEvent_1729_0.issue(&QVulkanWindow_Adaptor::cbs_focusOutEvent_1729_0, arg1); - } else { - QVulkanWindow::focusOutEvent(arg1); - } - } - - // [adaptor impl] void QVulkanWindow::hideEvent(QHideEvent *) - void cbs_hideEvent_1595_0(QHideEvent *arg1) - { - QVulkanWindow::hideEvent(arg1); - } - - virtual void hideEvent(QHideEvent *arg1) - { - if (cb_hideEvent_1595_0.can_issue()) { - cb_hideEvent_1595_0.issue(&QVulkanWindow_Adaptor::cbs_hideEvent_1595_0, arg1); - } else { - QVulkanWindow::hideEvent(arg1); - } - } - - // [adaptor impl] void QVulkanWindow::keyPressEvent(QKeyEvent *) - void cbs_keyPressEvent_1514_0(QKeyEvent *arg1) - { - QVulkanWindow::keyPressEvent(arg1); - } - - virtual void keyPressEvent(QKeyEvent *arg1) - { - if (cb_keyPressEvent_1514_0.can_issue()) { - cb_keyPressEvent_1514_0.issue(&QVulkanWindow_Adaptor::cbs_keyPressEvent_1514_0, arg1); - } else { - QVulkanWindow::keyPressEvent(arg1); - } - } - - // [adaptor impl] void QVulkanWindow::keyReleaseEvent(QKeyEvent *) - void cbs_keyReleaseEvent_1514_0(QKeyEvent *arg1) - { - QVulkanWindow::keyReleaseEvent(arg1); - } - - virtual void keyReleaseEvent(QKeyEvent *arg1) - { - if (cb_keyReleaseEvent_1514_0.can_issue()) { - cb_keyReleaseEvent_1514_0.issue(&QVulkanWindow_Adaptor::cbs_keyReleaseEvent_1514_0, arg1); - } else { - QVulkanWindow::keyReleaseEvent(arg1); - } - } - - // [adaptor impl] void QVulkanWindow::mouseDoubleClickEvent(QMouseEvent *) - void cbs_mouseDoubleClickEvent_1738_0(QMouseEvent *arg1) - { - QVulkanWindow::mouseDoubleClickEvent(arg1); - } - - virtual void mouseDoubleClickEvent(QMouseEvent *arg1) - { - if (cb_mouseDoubleClickEvent_1738_0.can_issue()) { - cb_mouseDoubleClickEvent_1738_0.issue(&QVulkanWindow_Adaptor::cbs_mouseDoubleClickEvent_1738_0, arg1); - } else { - QVulkanWindow::mouseDoubleClickEvent(arg1); - } - } - - // [adaptor impl] void QVulkanWindow::mouseMoveEvent(QMouseEvent *) - void cbs_mouseMoveEvent_1738_0(QMouseEvent *arg1) - { - QVulkanWindow::mouseMoveEvent(arg1); - } - - virtual void mouseMoveEvent(QMouseEvent *arg1) - { - if (cb_mouseMoveEvent_1738_0.can_issue()) { - cb_mouseMoveEvent_1738_0.issue(&QVulkanWindow_Adaptor::cbs_mouseMoveEvent_1738_0, arg1); - } else { - QVulkanWindow::mouseMoveEvent(arg1); - } - } - - // [adaptor impl] void QVulkanWindow::mousePressEvent(QMouseEvent *) - void cbs_mousePressEvent_1738_0(QMouseEvent *arg1) - { - QVulkanWindow::mousePressEvent(arg1); - } - - virtual void mousePressEvent(QMouseEvent *arg1) - { - if (cb_mousePressEvent_1738_0.can_issue()) { - cb_mousePressEvent_1738_0.issue(&QVulkanWindow_Adaptor::cbs_mousePressEvent_1738_0, arg1); - } else { - QVulkanWindow::mousePressEvent(arg1); - } - } - - // [adaptor impl] void QVulkanWindow::mouseReleaseEvent(QMouseEvent *) - void cbs_mouseReleaseEvent_1738_0(QMouseEvent *arg1) - { - QVulkanWindow::mouseReleaseEvent(arg1); - } - - virtual void mouseReleaseEvent(QMouseEvent *arg1) - { - if (cb_mouseReleaseEvent_1738_0.can_issue()) { - cb_mouseReleaseEvent_1738_0.issue(&QVulkanWindow_Adaptor::cbs_mouseReleaseEvent_1738_0, arg1); - } else { - QVulkanWindow::mouseReleaseEvent(arg1); - } - } - - // [adaptor impl] void QVulkanWindow::moveEvent(QMoveEvent *) - void cbs_moveEvent_1624_0(QMoveEvent *arg1) - { - QVulkanWindow::moveEvent(arg1); - } - - virtual void moveEvent(QMoveEvent *arg1) - { - if (cb_moveEvent_1624_0.can_issue()) { - cb_moveEvent_1624_0.issue(&QVulkanWindow_Adaptor::cbs_moveEvent_1624_0, arg1); - } else { - QVulkanWindow::moveEvent(arg1); - } - } - - // [adaptor impl] bool QVulkanWindow::nativeEvent(const QByteArray &eventType, void *message, QIntegerForSizeof::Signed *result) - bool cbs_nativeEvent_6949_0(const QByteArray &eventType, void *message, QIntegerForSizeof::Signed *result) - { - return QVulkanWindow::nativeEvent(eventType, message, result); - } - - virtual bool nativeEvent(const QByteArray &eventType, void *message, QIntegerForSizeof::Signed *result) - { - if (cb_nativeEvent_6949_0.can_issue()) { - return cb_nativeEvent_6949_0.issue::Signed *>(&QVulkanWindow_Adaptor::cbs_nativeEvent_6949_0, eventType, message, result); - } else { - return QVulkanWindow::nativeEvent(eventType, message, result); - } - } - - // [adaptor impl] void QVulkanWindow::paintEvent(QPaintEvent *) - void cbs_paintEvent_1725_0(QPaintEvent *arg1) - { - QVulkanWindow::paintEvent(arg1); - } - - virtual void paintEvent(QPaintEvent *arg1) - { - if (cb_paintEvent_1725_0.can_issue()) { - cb_paintEvent_1725_0.issue(&QVulkanWindow_Adaptor::cbs_paintEvent_1725_0, arg1); - } else { - QVulkanWindow::paintEvent(arg1); - } - } - - // [adaptor impl] void QVulkanWindow::resizeEvent(QResizeEvent *) - void cbs_resizeEvent_1843_0(QResizeEvent *arg1) - { - QVulkanWindow::resizeEvent(arg1); - } - - virtual void resizeEvent(QResizeEvent *arg1) - { - if (cb_resizeEvent_1843_0.can_issue()) { - cb_resizeEvent_1843_0.issue(&QVulkanWindow_Adaptor::cbs_resizeEvent_1843_0, arg1); - } else { - QVulkanWindow::resizeEvent(arg1); - } - } - - // [adaptor impl] void QVulkanWindow::showEvent(QShowEvent *) - void cbs_showEvent_1634_0(QShowEvent *arg1) - { - QVulkanWindow::showEvent(arg1); - } - - virtual void showEvent(QShowEvent *arg1) - { - if (cb_showEvent_1634_0.can_issue()) { - cb_showEvent_1634_0.issue(&QVulkanWindow_Adaptor::cbs_showEvent_1634_0, arg1); - } else { - QVulkanWindow::showEvent(arg1); - } - } - - // [adaptor impl] void QVulkanWindow::tabletEvent(QTabletEvent *) - void cbs_tabletEvent_1821_0(QTabletEvent *arg1) - { - QVulkanWindow::tabletEvent(arg1); - } - - virtual void tabletEvent(QTabletEvent *arg1) - { - if (cb_tabletEvent_1821_0.can_issue()) { - cb_tabletEvent_1821_0.issue(&QVulkanWindow_Adaptor::cbs_tabletEvent_1821_0, arg1); - } else { - QVulkanWindow::tabletEvent(arg1); - } - } - - // [adaptor impl] void QVulkanWindow::timerEvent(QTimerEvent *event) - void cbs_timerEvent_1730_0(QTimerEvent *event) - { - QVulkanWindow::timerEvent(event); - } - - virtual void timerEvent(QTimerEvent *event) - { - if (cb_timerEvent_1730_0.can_issue()) { - cb_timerEvent_1730_0.issue(&QVulkanWindow_Adaptor::cbs_timerEvent_1730_0, event); - } else { - QVulkanWindow::timerEvent(event); - } - } - - // [adaptor impl] void QVulkanWindow::touchEvent(QTouchEvent *) - void cbs_touchEvent_1732_0(QTouchEvent *arg1) - { - QVulkanWindow::touchEvent(arg1); - } - - virtual void touchEvent(QTouchEvent *arg1) - { - if (cb_touchEvent_1732_0.can_issue()) { - cb_touchEvent_1732_0.issue(&QVulkanWindow_Adaptor::cbs_touchEvent_1732_0, arg1); - } else { - QVulkanWindow::touchEvent(arg1); - } - } - - // [adaptor impl] void QVulkanWindow::wheelEvent(QWheelEvent *) - void cbs_wheelEvent_1718_0(QWheelEvent *arg1) - { - QVulkanWindow::wheelEvent(arg1); - } - - virtual void wheelEvent(QWheelEvent *arg1) - { - if (cb_wheelEvent_1718_0.can_issue()) { - cb_wheelEvent_1718_0.issue(&QVulkanWindow_Adaptor::cbs_wheelEvent_1718_0, arg1); - } else { - QVulkanWindow::wheelEvent(arg1); - } - } - - gsi::Callback cb_accessibleRoot_c0_0; - gsi::Callback cb_createRenderer_0_0; - gsi::Callback cb_eventFilter_2411_0; - gsi::Callback cb_focusObject_c0_0; - gsi::Callback cb_format_c0_0; - gsi::Callback cb_size_c0_0; - gsi::Callback cb_surfaceType_c0_0; - gsi::Callback cb_childEvent_1701_0; - gsi::Callback cb_closeEvent_1719_0; - gsi::Callback cb_customEvent_1217_0; - gsi::Callback cb_disconnectNotify_2394_0; - gsi::Callback cb_event_1217_0; - gsi::Callback cb_exposeEvent_1845_0; - gsi::Callback cb_focusInEvent_1729_0; - gsi::Callback cb_focusOutEvent_1729_0; - gsi::Callback cb_hideEvent_1595_0; - gsi::Callback cb_keyPressEvent_1514_0; - gsi::Callback cb_keyReleaseEvent_1514_0; - gsi::Callback cb_mouseDoubleClickEvent_1738_0; - gsi::Callback cb_mouseMoveEvent_1738_0; - gsi::Callback cb_mousePressEvent_1738_0; - gsi::Callback cb_mouseReleaseEvent_1738_0; - gsi::Callback cb_moveEvent_1624_0; - gsi::Callback cb_nativeEvent_6949_0; - gsi::Callback cb_paintEvent_1725_0; - gsi::Callback cb_resizeEvent_1843_0; - gsi::Callback cb_showEvent_1634_0; - gsi::Callback cb_tabletEvent_1821_0; - gsi::Callback cb_timerEvent_1730_0; - gsi::Callback cb_touchEvent_1732_0; - gsi::Callback cb_wheelEvent_1718_0; -}; - -QVulkanWindow_Adaptor::~QVulkanWindow_Adaptor() { } - -// Constructor QVulkanWindow::QVulkanWindow(QWindow *parent) (adaptor class) - -static void _init_ctor_QVulkanWindow_Adaptor_1335 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent", true, "nullptr"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QVulkanWindow_Adaptor_1335 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QWindow *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ret.write (new QVulkanWindow_Adaptor (arg1)); -} - - -// QAccessibleInterface *QVulkanWindow::accessibleRoot() - -static void _init_cbs_accessibleRoot_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_accessibleRoot_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAccessibleInterface *)((QVulkanWindow_Adaptor *)cls)->cbs_accessibleRoot_c0_0 ()); -} - -static void _set_callback_cbs_accessibleRoot_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_accessibleRoot_c0_0 = cb; -} - - -// void QVulkanWindow::childEvent(QChildEvent *event) - -static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_childEvent_1701_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QChildEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow_Adaptor *)cls)->cbs_childEvent_1701_0 (arg1); -} - -static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_childEvent_1701_0 = cb; -} - - -// void QVulkanWindow::closeEvent(QCloseEvent *) - -static void _init_cbs_closeEvent_1719_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_closeEvent_1719_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCloseEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow_Adaptor *)cls)->cbs_closeEvent_1719_0 (arg1); -} - -static void _set_callback_cbs_closeEvent_1719_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_closeEvent_1719_0 = cb; -} - - -// QVulkanWindowRenderer *QVulkanWindow::createRenderer() - -static void _init_cbs_createRenderer_0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_createRenderer_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVulkanWindowRenderer *)((QVulkanWindow_Adaptor *)cls)->cbs_createRenderer_0_0 ()); -} - -static void _set_callback_cbs_createRenderer_0_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_createRenderer_0_0 = cb; -} - - -// void QVulkanWindow::customEvent(QEvent *event) - -static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_customEvent_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow_Adaptor *)cls)->cbs_customEvent_1217_0 (arg1); -} - -static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_customEvent_1217_0 = cb; -} - - -// void QVulkanWindow::disconnectNotify(const QMetaMethod &signal) - -static void _init_cbs_disconnectNotify_2394_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("signal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_disconnectNotify_2394_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMetaMethod &arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow_Adaptor *)cls)->cbs_disconnectNotify_2394_0 (arg1); -} - -static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_disconnectNotify_2394_0 = cb; -} - - -// bool QVulkanWindow::event(QEvent *) - -static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_event_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QEvent *arg1 = args.read (heap); - ret.write ((bool)((QVulkanWindow_Adaptor *)cls)->cbs_event_1217_0 (arg1)); -} - -static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_event_1217_0 = cb; -} - - -// bool QVulkanWindow::eventFilter(QObject *watched, QEvent *event) - -static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("watched"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("event"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_cbs_eventFilter_2411_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = args.read (heap); - QEvent *arg2 = args.read (heap); - ret.write ((bool)((QVulkanWindow_Adaptor *)cls)->cbs_eventFilter_2411_0 (arg1, arg2)); -} - -static void _set_callback_cbs_eventFilter_2411_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_eventFilter_2411_0 = cb; -} - - -// void QVulkanWindow::exposeEvent(QExposeEvent *) - -static void _init_cbs_exposeEvent_1845_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_exposeEvent_1845_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QExposeEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow_Adaptor *)cls)->cbs_exposeEvent_1845_0 (arg1); -} - -static void _set_callback_cbs_exposeEvent_1845_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_exposeEvent_1845_0 = cb; -} - - -// void QVulkanWindow::focusInEvent(QFocusEvent *) - -static void _init_cbs_focusInEvent_1729_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_focusInEvent_1729_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QFocusEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow_Adaptor *)cls)->cbs_focusInEvent_1729_0 (arg1); -} - -static void _set_callback_cbs_focusInEvent_1729_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_focusInEvent_1729_0 = cb; -} - - -// QObject *QVulkanWindow::focusObject() - -static void _init_cbs_focusObject_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_focusObject_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QObject *)((QVulkanWindow_Adaptor *)cls)->cbs_focusObject_c0_0 ()); -} - -static void _set_callback_cbs_focusObject_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_focusObject_c0_0 = cb; -} - - -// void QVulkanWindow::focusOutEvent(QFocusEvent *) - -static void _init_cbs_focusOutEvent_1729_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_focusOutEvent_1729_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QFocusEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow_Adaptor *)cls)->cbs_focusOutEvent_1729_0 (arg1); -} - -static void _set_callback_cbs_focusOutEvent_1729_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_focusOutEvent_1729_0 = cb; -} - - -// QSurfaceFormat QVulkanWindow::format() - -static void _init_cbs_format_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_format_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QSurfaceFormat)((QVulkanWindow_Adaptor *)cls)->cbs_format_c0_0 ()); -} - -static void _set_callback_cbs_format_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_format_c0_0 = cb; -} - - -// void QVulkanWindow::hideEvent(QHideEvent *) - -static void _init_cbs_hideEvent_1595_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_hideEvent_1595_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QHideEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow_Adaptor *)cls)->cbs_hideEvent_1595_0 (arg1); -} - -static void _set_callback_cbs_hideEvent_1595_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_hideEvent_1595_0 = cb; -} - - -// exposed bool QVulkanWindow::isSignalConnected(const QMetaMethod &signal) - -static void _init_fp_isSignalConnected_c2394 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("signal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_fp_isSignalConnected_c2394 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMetaMethod &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QVulkanWindow_Adaptor *)cls)->fp_QVulkanWindow_isSignalConnected_c2394 (arg1)); -} - - -// void QVulkanWindow::keyPressEvent(QKeyEvent *) - -static void _init_cbs_keyPressEvent_1514_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_keyPressEvent_1514_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QKeyEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow_Adaptor *)cls)->cbs_keyPressEvent_1514_0 (arg1); -} - -static void _set_callback_cbs_keyPressEvent_1514_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_keyPressEvent_1514_0 = cb; -} - - -// void QVulkanWindow::keyReleaseEvent(QKeyEvent *) - -static void _init_cbs_keyReleaseEvent_1514_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_keyReleaseEvent_1514_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QKeyEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow_Adaptor *)cls)->cbs_keyReleaseEvent_1514_0 (arg1); -} - -static void _set_callback_cbs_keyReleaseEvent_1514_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_keyReleaseEvent_1514_0 = cb; -} - - -// void QVulkanWindow::mouseDoubleClickEvent(QMouseEvent *) - -static void _init_cbs_mouseDoubleClickEvent_1738_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_mouseDoubleClickEvent_1738_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QMouseEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow_Adaptor *)cls)->cbs_mouseDoubleClickEvent_1738_0 (arg1); -} - -static void _set_callback_cbs_mouseDoubleClickEvent_1738_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_mouseDoubleClickEvent_1738_0 = cb; -} - - -// void QVulkanWindow::mouseMoveEvent(QMouseEvent *) - -static void _init_cbs_mouseMoveEvent_1738_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_mouseMoveEvent_1738_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QMouseEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow_Adaptor *)cls)->cbs_mouseMoveEvent_1738_0 (arg1); -} - -static void _set_callback_cbs_mouseMoveEvent_1738_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_mouseMoveEvent_1738_0 = cb; -} - - -// void QVulkanWindow::mousePressEvent(QMouseEvent *) - -static void _init_cbs_mousePressEvent_1738_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_mousePressEvent_1738_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QMouseEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow_Adaptor *)cls)->cbs_mousePressEvent_1738_0 (arg1); -} - -static void _set_callback_cbs_mousePressEvent_1738_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_mousePressEvent_1738_0 = cb; -} - - -// void QVulkanWindow::mouseReleaseEvent(QMouseEvent *) - -static void _init_cbs_mouseReleaseEvent_1738_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_mouseReleaseEvent_1738_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QMouseEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow_Adaptor *)cls)->cbs_mouseReleaseEvent_1738_0 (arg1); -} - -static void _set_callback_cbs_mouseReleaseEvent_1738_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_mouseReleaseEvent_1738_0 = cb; -} - - -// void QVulkanWindow::moveEvent(QMoveEvent *) - -static void _init_cbs_moveEvent_1624_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_moveEvent_1624_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QMoveEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow_Adaptor *)cls)->cbs_moveEvent_1624_0 (arg1); -} - -static void _set_callback_cbs_moveEvent_1624_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_moveEvent_1624_0 = cb; -} - - -// bool QVulkanWindow::nativeEvent(const QByteArray &eventType, void *message, QIntegerForSizeof::Signed *result) - -static void _init_cbs_nativeEvent_6949_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("eventType"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("message"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("result"); - decl->add_arg::Signed * > (argspec_2); - decl->set_return (); -} - -static void _call_cbs_nativeEvent_6949_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QByteArray &arg1 = args.read (heap); - void *arg2 = args.read (heap); - QIntegerForSizeof::Signed *arg3 = args.read::Signed * > (heap); - ret.write ((bool)((QVulkanWindow_Adaptor *)cls)->cbs_nativeEvent_6949_0 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_nativeEvent_6949_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_nativeEvent_6949_0 = cb; -} - - -// void QVulkanWindow::paintEvent(QPaintEvent *) - -static void _init_cbs_paintEvent_1725_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_paintEvent_1725_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QPaintEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow_Adaptor *)cls)->cbs_paintEvent_1725_0 (arg1); -} - -static void _set_callback_cbs_paintEvent_1725_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_paintEvent_1725_0 = cb; -} - - -// exposed int QVulkanWindow::receivers(const char *signal) - -static void _init_fp_receivers_c1731 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("signal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_fp_receivers_c1731 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - ret.write ((int)((QVulkanWindow_Adaptor *)cls)->fp_QVulkanWindow_receivers_c1731 (arg1)); -} - - -// void QVulkanWindow::resizeEvent(QResizeEvent *) - -static void _init_cbs_resizeEvent_1843_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_resizeEvent_1843_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QResizeEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow_Adaptor *)cls)->cbs_resizeEvent_1843_0 (arg1); -} - -static void _set_callback_cbs_resizeEvent_1843_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_resizeEvent_1843_0 = cb; -} - - -// exposed void *QVulkanWindow::resolveInterface(const char *name, int revision) - -static void _init_fp_resolveInterface_c2390 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("name"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("revision"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_fp_resolveInterface_c2390 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - ret.write ((void *)((QVulkanWindow_Adaptor *)cls)->fp_QVulkanWindow_resolveInterface_c2390 (arg1, arg2)); -} - - -// exposed QObject *QVulkanWindow::sender() - -static void _init_fp_sender_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_sender_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QObject *)((QVulkanWindow_Adaptor *)cls)->fp_QVulkanWindow_sender_c0 ()); -} - - -// exposed int QVulkanWindow::senderSignalIndex() - -static void _init_fp_senderSignalIndex_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QVulkanWindow_Adaptor *)cls)->fp_QVulkanWindow_senderSignalIndex_c0 ()); -} - - -// void QVulkanWindow::showEvent(QShowEvent *) - -static void _init_cbs_showEvent_1634_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_showEvent_1634_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QShowEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow_Adaptor *)cls)->cbs_showEvent_1634_0 (arg1); -} - -static void _set_callback_cbs_showEvent_1634_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_showEvent_1634_0 = cb; -} - - -// QSize QVulkanWindow::size() - -static void _init_cbs_size_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_size_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QSize)((QVulkanWindow_Adaptor *)cls)->cbs_size_c0_0 ()); -} - -static void _set_callback_cbs_size_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_size_c0_0 = cb; -} - - -// QSurface::SurfaceType QVulkanWindow::surfaceType() - -static void _init_cbs_surfaceType_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_cbs_surfaceType_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)((QVulkanWindow_Adaptor *)cls)->cbs_surfaceType_c0_0 ()); -} - -static void _set_callback_cbs_surfaceType_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_surfaceType_c0_0 = cb; -} - - -// void QVulkanWindow::tabletEvent(QTabletEvent *) - -static void _init_cbs_tabletEvent_1821_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_tabletEvent_1821_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QTabletEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow_Adaptor *)cls)->cbs_tabletEvent_1821_0 (arg1); -} - -static void _set_callback_cbs_tabletEvent_1821_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_tabletEvent_1821_0 = cb; -} - - -// void QVulkanWindow::timerEvent(QTimerEvent *event) - -static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_timerEvent_1730_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QTimerEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow_Adaptor *)cls)->cbs_timerEvent_1730_0 (arg1); -} - -static void _set_callback_cbs_timerEvent_1730_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_timerEvent_1730_0 = cb; -} - - -// void QVulkanWindow::touchEvent(QTouchEvent *) - -static void _init_cbs_touchEvent_1732_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_touchEvent_1732_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QTouchEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow_Adaptor *)cls)->cbs_touchEvent_1732_0 (arg1); -} - -static void _set_callback_cbs_touchEvent_1732_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_touchEvent_1732_0 = cb; -} - - -// void QVulkanWindow::wheelEvent(QWheelEvent *) - -static void _init_cbs_wheelEvent_1718_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_wheelEvent_1718_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QWheelEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindow_Adaptor *)cls)->cbs_wheelEvent_1718_0 (arg1); -} - -static void _set_callback_cbs_wheelEvent_1718_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindow_Adaptor *)cls)->cb_wheelEvent_1718_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QVulkanWindow (); - -static gsi::Methods methods_QVulkanWindow_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QVulkanWindow::QVulkanWindow(QWindow *parent)\nThis method creates an object of class QVulkanWindow.", &_init_ctor_QVulkanWindow_Adaptor_1335, &_call_ctor_QVulkanWindow_Adaptor_1335); - methods += new qt_gsi::GenericMethod ("accessibleRoot", "@brief Virtual method QAccessibleInterface *QVulkanWindow::accessibleRoot()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_accessibleRoot_c0_0, &_call_cbs_accessibleRoot_c0_0); - methods += new qt_gsi::GenericMethod ("accessibleRoot", "@hide", true, &_init_cbs_accessibleRoot_c0_0, &_call_cbs_accessibleRoot_c0_0, &_set_callback_cbs_accessibleRoot_c0_0); - methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QVulkanWindow::childEvent(QChildEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0); - methods += new qt_gsi::GenericMethod ("*childEvent", "@hide", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0, &_set_callback_cbs_childEvent_1701_0); - methods += new qt_gsi::GenericMethod ("*closeEvent", "@brief Virtual method void QVulkanWindow::closeEvent(QCloseEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_closeEvent_1719_0, &_call_cbs_closeEvent_1719_0); - methods += new qt_gsi::GenericMethod ("*closeEvent", "@hide", false, &_init_cbs_closeEvent_1719_0, &_call_cbs_closeEvent_1719_0, &_set_callback_cbs_closeEvent_1719_0); - methods += new qt_gsi::GenericMethod ("createRenderer", "@brief Virtual method QVulkanWindowRenderer *QVulkanWindow::createRenderer()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_createRenderer_0_0, &_call_cbs_createRenderer_0_0); - methods += new qt_gsi::GenericMethod ("createRenderer", "@hide", false, &_init_cbs_createRenderer_0_0, &_call_cbs_createRenderer_0_0, &_set_callback_cbs_createRenderer_0_0); - methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QVulkanWindow::customEvent(QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0); - methods += new qt_gsi::GenericMethod ("*customEvent", "@hide", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0, &_set_callback_cbs_customEvent_1217_0); - methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@brief Virtual method void QVulkanWindow::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0); - methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@hide", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0, &_set_callback_cbs_disconnectNotify_2394_0); - methods += new qt_gsi::GenericMethod ("*event", "@brief Virtual method bool QVulkanWindow::event(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0); - methods += new qt_gsi::GenericMethod ("*event", "@hide", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0, &_set_callback_cbs_event_1217_0); - methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Virtual method bool QVulkanWindow::eventFilter(QObject *watched, QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0); - methods += new qt_gsi::GenericMethod ("eventFilter", "@hide", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0, &_set_callback_cbs_eventFilter_2411_0); - methods += new qt_gsi::GenericMethod ("*exposeEvent", "@brief Virtual method void QVulkanWindow::exposeEvent(QExposeEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_exposeEvent_1845_0, &_call_cbs_exposeEvent_1845_0); - methods += new qt_gsi::GenericMethod ("*exposeEvent", "@hide", false, &_init_cbs_exposeEvent_1845_0, &_call_cbs_exposeEvent_1845_0, &_set_callback_cbs_exposeEvent_1845_0); - methods += new qt_gsi::GenericMethod ("*focusInEvent", "@brief Virtual method void QVulkanWindow::focusInEvent(QFocusEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_focusInEvent_1729_0, &_call_cbs_focusInEvent_1729_0); - methods += new qt_gsi::GenericMethod ("*focusInEvent", "@hide", false, &_init_cbs_focusInEvent_1729_0, &_call_cbs_focusInEvent_1729_0, &_set_callback_cbs_focusInEvent_1729_0); - methods += new qt_gsi::GenericMethod ("focusObject", "@brief Virtual method QObject *QVulkanWindow::focusObject()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_focusObject_c0_0, &_call_cbs_focusObject_c0_0); - methods += new qt_gsi::GenericMethod ("focusObject", "@hide", true, &_init_cbs_focusObject_c0_0, &_call_cbs_focusObject_c0_0, &_set_callback_cbs_focusObject_c0_0); - methods += new qt_gsi::GenericMethod ("*focusOutEvent", "@brief Virtual method void QVulkanWindow::focusOutEvent(QFocusEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_focusOutEvent_1729_0, &_call_cbs_focusOutEvent_1729_0); - methods += new qt_gsi::GenericMethod ("*focusOutEvent", "@hide", false, &_init_cbs_focusOutEvent_1729_0, &_call_cbs_focusOutEvent_1729_0, &_set_callback_cbs_focusOutEvent_1729_0); - methods += new qt_gsi::GenericMethod ("format", "@brief Virtual method QSurfaceFormat QVulkanWindow::format()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_format_c0_0, &_call_cbs_format_c0_0); - methods += new qt_gsi::GenericMethod ("format", "@hide", true, &_init_cbs_format_c0_0, &_call_cbs_format_c0_0, &_set_callback_cbs_format_c0_0); - methods += new qt_gsi::GenericMethod ("*hideEvent", "@brief Virtual method void QVulkanWindow::hideEvent(QHideEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_hideEvent_1595_0, &_call_cbs_hideEvent_1595_0); - methods += new qt_gsi::GenericMethod ("*hideEvent", "@hide", false, &_init_cbs_hideEvent_1595_0, &_call_cbs_hideEvent_1595_0, &_set_callback_cbs_hideEvent_1595_0); - methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QVulkanWindow::isSignalConnected(const QMetaMethod &signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_isSignalConnected_c2394, &_call_fp_isSignalConnected_c2394); - methods += new qt_gsi::GenericMethod ("*keyPressEvent", "@brief Virtual method void QVulkanWindow::keyPressEvent(QKeyEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_keyPressEvent_1514_0, &_call_cbs_keyPressEvent_1514_0); - methods += new qt_gsi::GenericMethod ("*keyPressEvent", "@hide", false, &_init_cbs_keyPressEvent_1514_0, &_call_cbs_keyPressEvent_1514_0, &_set_callback_cbs_keyPressEvent_1514_0); - methods += new qt_gsi::GenericMethod ("*keyReleaseEvent", "@brief Virtual method void QVulkanWindow::keyReleaseEvent(QKeyEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_keyReleaseEvent_1514_0, &_call_cbs_keyReleaseEvent_1514_0); - methods += new qt_gsi::GenericMethod ("*keyReleaseEvent", "@hide", false, &_init_cbs_keyReleaseEvent_1514_0, &_call_cbs_keyReleaseEvent_1514_0, &_set_callback_cbs_keyReleaseEvent_1514_0); - methods += new qt_gsi::GenericMethod ("*mouseDoubleClickEvent", "@brief Virtual method void QVulkanWindow::mouseDoubleClickEvent(QMouseEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_mouseDoubleClickEvent_1738_0, &_call_cbs_mouseDoubleClickEvent_1738_0); - methods += new qt_gsi::GenericMethod ("*mouseDoubleClickEvent", "@hide", false, &_init_cbs_mouseDoubleClickEvent_1738_0, &_call_cbs_mouseDoubleClickEvent_1738_0, &_set_callback_cbs_mouseDoubleClickEvent_1738_0); - methods += new qt_gsi::GenericMethod ("*mouseMoveEvent", "@brief Virtual method void QVulkanWindow::mouseMoveEvent(QMouseEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_mouseMoveEvent_1738_0, &_call_cbs_mouseMoveEvent_1738_0); - methods += new qt_gsi::GenericMethod ("*mouseMoveEvent", "@hide", false, &_init_cbs_mouseMoveEvent_1738_0, &_call_cbs_mouseMoveEvent_1738_0, &_set_callback_cbs_mouseMoveEvent_1738_0); - methods += new qt_gsi::GenericMethod ("*mousePressEvent", "@brief Virtual method void QVulkanWindow::mousePressEvent(QMouseEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_mousePressEvent_1738_0, &_call_cbs_mousePressEvent_1738_0); - methods += new qt_gsi::GenericMethod ("*mousePressEvent", "@hide", false, &_init_cbs_mousePressEvent_1738_0, &_call_cbs_mousePressEvent_1738_0, &_set_callback_cbs_mousePressEvent_1738_0); - methods += new qt_gsi::GenericMethod ("*mouseReleaseEvent", "@brief Virtual method void QVulkanWindow::mouseReleaseEvent(QMouseEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_mouseReleaseEvent_1738_0, &_call_cbs_mouseReleaseEvent_1738_0); - methods += new qt_gsi::GenericMethod ("*mouseReleaseEvent", "@hide", false, &_init_cbs_mouseReleaseEvent_1738_0, &_call_cbs_mouseReleaseEvent_1738_0, &_set_callback_cbs_mouseReleaseEvent_1738_0); - methods += new qt_gsi::GenericMethod ("*moveEvent", "@brief Virtual method void QVulkanWindow::moveEvent(QMoveEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_moveEvent_1624_0, &_call_cbs_moveEvent_1624_0); - methods += new qt_gsi::GenericMethod ("*moveEvent", "@hide", false, &_init_cbs_moveEvent_1624_0, &_call_cbs_moveEvent_1624_0, &_set_callback_cbs_moveEvent_1624_0); - methods += new qt_gsi::GenericMethod ("*nativeEvent", "@brief Virtual method bool QVulkanWindow::nativeEvent(const QByteArray &eventType, void *message, QIntegerForSizeof::Signed *result)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_nativeEvent_6949_0, &_call_cbs_nativeEvent_6949_0); - methods += new qt_gsi::GenericMethod ("*nativeEvent", "@hide", false, &_init_cbs_nativeEvent_6949_0, &_call_cbs_nativeEvent_6949_0, &_set_callback_cbs_nativeEvent_6949_0); - methods += new qt_gsi::GenericMethod ("*paintEvent", "@brief Virtual method void QVulkanWindow::paintEvent(QPaintEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_paintEvent_1725_0, &_call_cbs_paintEvent_1725_0); - methods += new qt_gsi::GenericMethod ("*paintEvent", "@hide", false, &_init_cbs_paintEvent_1725_0, &_call_cbs_paintEvent_1725_0, &_set_callback_cbs_paintEvent_1725_0); - methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QVulkanWindow::receivers(const char *signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_receivers_c1731, &_call_fp_receivers_c1731); - methods += new qt_gsi::GenericMethod ("*resizeEvent", "@brief Virtual method void QVulkanWindow::resizeEvent(QResizeEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_resizeEvent_1843_0, &_call_cbs_resizeEvent_1843_0); - methods += new qt_gsi::GenericMethod ("*resizeEvent", "@hide", false, &_init_cbs_resizeEvent_1843_0, &_call_cbs_resizeEvent_1843_0, &_set_callback_cbs_resizeEvent_1843_0); - methods += new qt_gsi::GenericMethod ("*resolveInterface", "@brief Method void *QVulkanWindow::resolveInterface(const char *name, int revision)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_resolveInterface_c2390, &_call_fp_resolveInterface_c2390); - methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QVulkanWindow::sender()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_sender_c0, &_call_fp_sender_c0); - methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QVulkanWindow::senderSignalIndex()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_senderSignalIndex_c0, &_call_fp_senderSignalIndex_c0); - methods += new qt_gsi::GenericMethod ("*showEvent", "@brief Virtual method void QVulkanWindow::showEvent(QShowEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_showEvent_1634_0, &_call_cbs_showEvent_1634_0); - methods += new qt_gsi::GenericMethod ("*showEvent", "@hide", false, &_init_cbs_showEvent_1634_0, &_call_cbs_showEvent_1634_0, &_set_callback_cbs_showEvent_1634_0); - methods += new qt_gsi::GenericMethod ("size", "@brief Virtual method QSize QVulkanWindow::size()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_size_c0_0, &_call_cbs_size_c0_0); - methods += new qt_gsi::GenericMethod ("size", "@hide", true, &_init_cbs_size_c0_0, &_call_cbs_size_c0_0, &_set_callback_cbs_size_c0_0); - methods += new qt_gsi::GenericMethod ("surfaceType", "@brief Virtual method QSurface::SurfaceType QVulkanWindow::surfaceType()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_surfaceType_c0_0, &_call_cbs_surfaceType_c0_0); - methods += new qt_gsi::GenericMethod ("surfaceType", "@hide", true, &_init_cbs_surfaceType_c0_0, &_call_cbs_surfaceType_c0_0, &_set_callback_cbs_surfaceType_c0_0); - methods += new qt_gsi::GenericMethod ("*tabletEvent", "@brief Virtual method void QVulkanWindow::tabletEvent(QTabletEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_tabletEvent_1821_0, &_call_cbs_tabletEvent_1821_0); - methods += new qt_gsi::GenericMethod ("*tabletEvent", "@hide", false, &_init_cbs_tabletEvent_1821_0, &_call_cbs_tabletEvent_1821_0, &_set_callback_cbs_tabletEvent_1821_0); - methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QVulkanWindow::timerEvent(QTimerEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0); - methods += new qt_gsi::GenericMethod ("*timerEvent", "@hide", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0, &_set_callback_cbs_timerEvent_1730_0); - methods += new qt_gsi::GenericMethod ("*touchEvent", "@brief Virtual method void QVulkanWindow::touchEvent(QTouchEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_touchEvent_1732_0, &_call_cbs_touchEvent_1732_0); - methods += new qt_gsi::GenericMethod ("*touchEvent", "@hide", false, &_init_cbs_touchEvent_1732_0, &_call_cbs_touchEvent_1732_0, &_set_callback_cbs_touchEvent_1732_0); - methods += new qt_gsi::GenericMethod ("*wheelEvent", "@brief Virtual method void QVulkanWindow::wheelEvent(QWheelEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_wheelEvent_1718_0, &_call_cbs_wheelEvent_1718_0); - methods += new qt_gsi::GenericMethod ("*wheelEvent", "@hide", false, &_init_cbs_wheelEvent_1718_0, &_call_cbs_wheelEvent_1718_0, &_set_callback_cbs_wheelEvent_1718_0); - return methods; -} - -gsi::Class decl_QVulkanWindow_Adaptor (qtdecl_QVulkanWindow (), "QtGui", "QVulkanWindow", - methods_QVulkanWindow_Adaptor (), - "@qt\n@brief Binding of QVulkanWindow"); - -} - - -// Implementation of the enum wrapper class for QVulkanWindow::Flag -namespace qt_gsi -{ - -static gsi::Enum decl_QVulkanWindow_Flag_Enum ("QtGui", "QVulkanWindow_Flag", - gsi::enum_const ("PersistentResources", QVulkanWindow::PersistentResources, "@brief Enum constant QVulkanWindow::PersistentResources"), - "@qt\n@brief This class represents the QVulkanWindow::Flag enum"); - -static gsi::QFlagsClass decl_QVulkanWindow_Flag_Enums ("QtGui", "QVulkanWindow_QFlags_Flag", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QVulkanWindow_Flag_Enum_in_parent (decl_QVulkanWindow_Flag_Enum.defs ()); -static gsi::ClassExt decl_QVulkanWindow_Flag_Enum_as_child (decl_QVulkanWindow_Flag_Enum, "Flag"); -static gsi::ClassExt decl_QVulkanWindow_Flag_Enums_as_child (decl_QVulkanWindow_Flag_Enums, "QFlags_Flag"); - -} - diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQVulkanWindowRenderer.cc b/src/gsiqt/qt6/QtGui/gsiDeclQVulkanWindowRenderer.cc deleted file mode 100644 index f6b72545e..000000000 --- a/src/gsiqt/qt6/QtGui/gsiDeclQVulkanWindowRenderer.cc +++ /dev/null @@ -1,542 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQVulkanWindowRenderer.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtGuiCommon.h" -#include "gsiDeclQtGuiTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QVulkanWindowRenderer - -// void QVulkanWindowRenderer::initResources() - - -static void _init_f_initResources_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_initResources_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindowRenderer *)cls)->initResources (); -} - - -// void QVulkanWindowRenderer::initSwapChainResources() - - -static void _init_f_initSwapChainResources_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_initSwapChainResources_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindowRenderer *)cls)->initSwapChainResources (); -} - - -// void QVulkanWindowRenderer::logicalDeviceLost() - - -static void _init_f_logicalDeviceLost_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_logicalDeviceLost_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindowRenderer *)cls)->logicalDeviceLost (); -} - - -// void QVulkanWindowRenderer::physicalDeviceLost() - - -static void _init_f_physicalDeviceLost_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_physicalDeviceLost_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindowRenderer *)cls)->physicalDeviceLost (); -} - - -// void QVulkanWindowRenderer::preInitResources() - - -static void _init_f_preInitResources_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_preInitResources_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindowRenderer *)cls)->preInitResources (); -} - - -// void QVulkanWindowRenderer::releaseResources() - - -static void _init_f_releaseResources_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_releaseResources_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindowRenderer *)cls)->releaseResources (); -} - - -// void QVulkanWindowRenderer::releaseSwapChainResources() - - -static void _init_f_releaseSwapChainResources_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_releaseSwapChainResources_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindowRenderer *)cls)->releaseSwapChainResources (); -} - - -// void QVulkanWindowRenderer::startNextFrame() - - -static void _init_f_startNextFrame_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_startNextFrame_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindowRenderer *)cls)->startNextFrame (); -} - - -namespace gsi -{ - -static gsi::Methods methods_QVulkanWindowRenderer () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("initResources", "@brief Method void QVulkanWindowRenderer::initResources()\n", false, &_init_f_initResources_0, &_call_f_initResources_0); - methods += new qt_gsi::GenericMethod ("initSwapChainResources", "@brief Method void QVulkanWindowRenderer::initSwapChainResources()\n", false, &_init_f_initSwapChainResources_0, &_call_f_initSwapChainResources_0); - methods += new qt_gsi::GenericMethod ("logicalDeviceLost", "@brief Method void QVulkanWindowRenderer::logicalDeviceLost()\n", false, &_init_f_logicalDeviceLost_0, &_call_f_logicalDeviceLost_0); - methods += new qt_gsi::GenericMethod ("physicalDeviceLost", "@brief Method void QVulkanWindowRenderer::physicalDeviceLost()\n", false, &_init_f_physicalDeviceLost_0, &_call_f_physicalDeviceLost_0); - methods += new qt_gsi::GenericMethod ("preInitResources", "@brief Method void QVulkanWindowRenderer::preInitResources()\n", false, &_init_f_preInitResources_0, &_call_f_preInitResources_0); - methods += new qt_gsi::GenericMethod ("releaseResources", "@brief Method void QVulkanWindowRenderer::releaseResources()\n", false, &_init_f_releaseResources_0, &_call_f_releaseResources_0); - methods += new qt_gsi::GenericMethod ("releaseSwapChainResources", "@brief Method void QVulkanWindowRenderer::releaseSwapChainResources()\n", false, &_init_f_releaseSwapChainResources_0, &_call_f_releaseSwapChainResources_0); - methods += new qt_gsi::GenericMethod ("startNextFrame", "@brief Method void QVulkanWindowRenderer::startNextFrame()\n", false, &_init_f_startNextFrame_0, &_call_f_startNextFrame_0); - return methods; -} - -gsi::Class decl_QVulkanWindowRenderer ("QtGui", "QVulkanWindowRenderer_Native", - methods_QVulkanWindowRenderer (), - "@hide\n@alias QVulkanWindowRenderer"); - -GSI_QTGUI_PUBLIC gsi::Class &qtdecl_QVulkanWindowRenderer () { return decl_QVulkanWindowRenderer; } - -} - - -class QVulkanWindowRenderer_Adaptor : public QVulkanWindowRenderer, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QVulkanWindowRenderer_Adaptor(); - - // [adaptor ctor] QVulkanWindowRenderer::QVulkanWindowRenderer() - QVulkanWindowRenderer_Adaptor() : QVulkanWindowRenderer() - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor impl] void QVulkanWindowRenderer::initResources() - void cbs_initResources_0_0() - { - QVulkanWindowRenderer::initResources(); - } - - virtual void initResources() - { - if (cb_initResources_0_0.can_issue()) { - cb_initResources_0_0.issue(&QVulkanWindowRenderer_Adaptor::cbs_initResources_0_0); - } else { - QVulkanWindowRenderer::initResources(); - } - } - - // [adaptor impl] void QVulkanWindowRenderer::initSwapChainResources() - void cbs_initSwapChainResources_0_0() - { - QVulkanWindowRenderer::initSwapChainResources(); - } - - virtual void initSwapChainResources() - { - if (cb_initSwapChainResources_0_0.can_issue()) { - cb_initSwapChainResources_0_0.issue(&QVulkanWindowRenderer_Adaptor::cbs_initSwapChainResources_0_0); - } else { - QVulkanWindowRenderer::initSwapChainResources(); - } - } - - // [adaptor impl] void QVulkanWindowRenderer::logicalDeviceLost() - void cbs_logicalDeviceLost_0_0() - { - QVulkanWindowRenderer::logicalDeviceLost(); - } - - virtual void logicalDeviceLost() - { - if (cb_logicalDeviceLost_0_0.can_issue()) { - cb_logicalDeviceLost_0_0.issue(&QVulkanWindowRenderer_Adaptor::cbs_logicalDeviceLost_0_0); - } else { - QVulkanWindowRenderer::logicalDeviceLost(); - } - } - - // [adaptor impl] void QVulkanWindowRenderer::physicalDeviceLost() - void cbs_physicalDeviceLost_0_0() - { - QVulkanWindowRenderer::physicalDeviceLost(); - } - - virtual void physicalDeviceLost() - { - if (cb_physicalDeviceLost_0_0.can_issue()) { - cb_physicalDeviceLost_0_0.issue(&QVulkanWindowRenderer_Adaptor::cbs_physicalDeviceLost_0_0); - } else { - QVulkanWindowRenderer::physicalDeviceLost(); - } - } - - // [adaptor impl] void QVulkanWindowRenderer::preInitResources() - void cbs_preInitResources_0_0() - { - QVulkanWindowRenderer::preInitResources(); - } - - virtual void preInitResources() - { - if (cb_preInitResources_0_0.can_issue()) { - cb_preInitResources_0_0.issue(&QVulkanWindowRenderer_Adaptor::cbs_preInitResources_0_0); - } else { - QVulkanWindowRenderer::preInitResources(); - } - } - - // [adaptor impl] void QVulkanWindowRenderer::releaseResources() - void cbs_releaseResources_0_0() - { - QVulkanWindowRenderer::releaseResources(); - } - - virtual void releaseResources() - { - if (cb_releaseResources_0_0.can_issue()) { - cb_releaseResources_0_0.issue(&QVulkanWindowRenderer_Adaptor::cbs_releaseResources_0_0); - } else { - QVulkanWindowRenderer::releaseResources(); - } - } - - // [adaptor impl] void QVulkanWindowRenderer::releaseSwapChainResources() - void cbs_releaseSwapChainResources_0_0() - { - QVulkanWindowRenderer::releaseSwapChainResources(); - } - - virtual void releaseSwapChainResources() - { - if (cb_releaseSwapChainResources_0_0.can_issue()) { - cb_releaseSwapChainResources_0_0.issue(&QVulkanWindowRenderer_Adaptor::cbs_releaseSwapChainResources_0_0); - } else { - QVulkanWindowRenderer::releaseSwapChainResources(); - } - } - - // [adaptor impl] void QVulkanWindowRenderer::startNextFrame() - void cbs_startNextFrame_0_0() - { - throw qt_gsi::AbstractMethodCalledException("startNextFrame"); - } - - virtual void startNextFrame() - { - if (cb_startNextFrame_0_0.can_issue()) { - cb_startNextFrame_0_0.issue(&QVulkanWindowRenderer_Adaptor::cbs_startNextFrame_0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("startNextFrame"); - } - } - - gsi::Callback cb_initResources_0_0; - gsi::Callback cb_initSwapChainResources_0_0; - gsi::Callback cb_logicalDeviceLost_0_0; - gsi::Callback cb_physicalDeviceLost_0_0; - gsi::Callback cb_preInitResources_0_0; - gsi::Callback cb_releaseResources_0_0; - gsi::Callback cb_releaseSwapChainResources_0_0; - gsi::Callback cb_startNextFrame_0_0; -}; - -QVulkanWindowRenderer_Adaptor::~QVulkanWindowRenderer_Adaptor() { } - -// Constructor QVulkanWindowRenderer::QVulkanWindowRenderer() (adaptor class) - -static void _init_ctor_QVulkanWindowRenderer_Adaptor_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QVulkanWindowRenderer_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QVulkanWindowRenderer_Adaptor ()); -} - - -// void QVulkanWindowRenderer::initResources() - -static void _init_cbs_initResources_0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_initResources_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindowRenderer_Adaptor *)cls)->cbs_initResources_0_0 (); -} - -static void _set_callback_cbs_initResources_0_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindowRenderer_Adaptor *)cls)->cb_initResources_0_0 = cb; -} - - -// void QVulkanWindowRenderer::initSwapChainResources() - -static void _init_cbs_initSwapChainResources_0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_initSwapChainResources_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindowRenderer_Adaptor *)cls)->cbs_initSwapChainResources_0_0 (); -} - -static void _set_callback_cbs_initSwapChainResources_0_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindowRenderer_Adaptor *)cls)->cb_initSwapChainResources_0_0 = cb; -} - - -// void QVulkanWindowRenderer::logicalDeviceLost() - -static void _init_cbs_logicalDeviceLost_0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_logicalDeviceLost_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindowRenderer_Adaptor *)cls)->cbs_logicalDeviceLost_0_0 (); -} - -static void _set_callback_cbs_logicalDeviceLost_0_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindowRenderer_Adaptor *)cls)->cb_logicalDeviceLost_0_0 = cb; -} - - -// void QVulkanWindowRenderer::physicalDeviceLost() - -static void _init_cbs_physicalDeviceLost_0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_physicalDeviceLost_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindowRenderer_Adaptor *)cls)->cbs_physicalDeviceLost_0_0 (); -} - -static void _set_callback_cbs_physicalDeviceLost_0_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindowRenderer_Adaptor *)cls)->cb_physicalDeviceLost_0_0 = cb; -} - - -// void QVulkanWindowRenderer::preInitResources() - -static void _init_cbs_preInitResources_0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_preInitResources_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindowRenderer_Adaptor *)cls)->cbs_preInitResources_0_0 (); -} - -static void _set_callback_cbs_preInitResources_0_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindowRenderer_Adaptor *)cls)->cb_preInitResources_0_0 = cb; -} - - -// void QVulkanWindowRenderer::releaseResources() - -static void _init_cbs_releaseResources_0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_releaseResources_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindowRenderer_Adaptor *)cls)->cbs_releaseResources_0_0 (); -} - -static void _set_callback_cbs_releaseResources_0_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindowRenderer_Adaptor *)cls)->cb_releaseResources_0_0 = cb; -} - - -// void QVulkanWindowRenderer::releaseSwapChainResources() - -static void _init_cbs_releaseSwapChainResources_0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_releaseSwapChainResources_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindowRenderer_Adaptor *)cls)->cbs_releaseSwapChainResources_0_0 (); -} - -static void _set_callback_cbs_releaseSwapChainResources_0_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindowRenderer_Adaptor *)cls)->cb_releaseSwapChainResources_0_0 = cb; -} - - -// void QVulkanWindowRenderer::startNextFrame() - -static void _init_cbs_startNextFrame_0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_startNextFrame_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QVulkanWindowRenderer_Adaptor *)cls)->cbs_startNextFrame_0_0 (); -} - -static void _set_callback_cbs_startNextFrame_0_0 (void *cls, const gsi::Callback &cb) -{ - ((QVulkanWindowRenderer_Adaptor *)cls)->cb_startNextFrame_0_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QVulkanWindowRenderer (); - -static gsi::Methods methods_QVulkanWindowRenderer_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QVulkanWindowRenderer::QVulkanWindowRenderer()\nThis method creates an object of class QVulkanWindowRenderer.", &_init_ctor_QVulkanWindowRenderer_Adaptor_0, &_call_ctor_QVulkanWindowRenderer_Adaptor_0); - methods += new qt_gsi::GenericMethod ("initResources", "@brief Virtual method void QVulkanWindowRenderer::initResources()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_initResources_0_0, &_call_cbs_initResources_0_0); - methods += new qt_gsi::GenericMethod ("initResources", "@hide", false, &_init_cbs_initResources_0_0, &_call_cbs_initResources_0_0, &_set_callback_cbs_initResources_0_0); - methods += new qt_gsi::GenericMethod ("initSwapChainResources", "@brief Virtual method void QVulkanWindowRenderer::initSwapChainResources()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_initSwapChainResources_0_0, &_call_cbs_initSwapChainResources_0_0); - methods += new qt_gsi::GenericMethod ("initSwapChainResources", "@hide", false, &_init_cbs_initSwapChainResources_0_0, &_call_cbs_initSwapChainResources_0_0, &_set_callback_cbs_initSwapChainResources_0_0); - methods += new qt_gsi::GenericMethod ("logicalDeviceLost", "@brief Virtual method void QVulkanWindowRenderer::logicalDeviceLost()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_logicalDeviceLost_0_0, &_call_cbs_logicalDeviceLost_0_0); - methods += new qt_gsi::GenericMethod ("logicalDeviceLost", "@hide", false, &_init_cbs_logicalDeviceLost_0_0, &_call_cbs_logicalDeviceLost_0_0, &_set_callback_cbs_logicalDeviceLost_0_0); - methods += new qt_gsi::GenericMethod ("physicalDeviceLost", "@brief Virtual method void QVulkanWindowRenderer::physicalDeviceLost()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_physicalDeviceLost_0_0, &_call_cbs_physicalDeviceLost_0_0); - methods += new qt_gsi::GenericMethod ("physicalDeviceLost", "@hide", false, &_init_cbs_physicalDeviceLost_0_0, &_call_cbs_physicalDeviceLost_0_0, &_set_callback_cbs_physicalDeviceLost_0_0); - methods += new qt_gsi::GenericMethod ("preInitResources", "@brief Virtual method void QVulkanWindowRenderer::preInitResources()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_preInitResources_0_0, &_call_cbs_preInitResources_0_0); - methods += new qt_gsi::GenericMethod ("preInitResources", "@hide", false, &_init_cbs_preInitResources_0_0, &_call_cbs_preInitResources_0_0, &_set_callback_cbs_preInitResources_0_0); - methods += new qt_gsi::GenericMethod ("releaseResources", "@brief Virtual method void QVulkanWindowRenderer::releaseResources()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_releaseResources_0_0, &_call_cbs_releaseResources_0_0); - methods += new qt_gsi::GenericMethod ("releaseResources", "@hide", false, &_init_cbs_releaseResources_0_0, &_call_cbs_releaseResources_0_0, &_set_callback_cbs_releaseResources_0_0); - methods += new qt_gsi::GenericMethod ("releaseSwapChainResources", "@brief Virtual method void QVulkanWindowRenderer::releaseSwapChainResources()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_releaseSwapChainResources_0_0, &_call_cbs_releaseSwapChainResources_0_0); - methods += new qt_gsi::GenericMethod ("releaseSwapChainResources", "@hide", false, &_init_cbs_releaseSwapChainResources_0_0, &_call_cbs_releaseSwapChainResources_0_0, &_set_callback_cbs_releaseSwapChainResources_0_0); - methods += new qt_gsi::GenericMethod ("startNextFrame", "@brief Virtual method void QVulkanWindowRenderer::startNextFrame()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_startNextFrame_0_0, &_call_cbs_startNextFrame_0_0); - methods += new qt_gsi::GenericMethod ("startNextFrame", "@hide", false, &_init_cbs_startNextFrame_0_0, &_call_cbs_startNextFrame_0_0, &_set_callback_cbs_startNextFrame_0_0); - return methods; -} - -gsi::Class decl_QVulkanWindowRenderer_Adaptor (qtdecl_QVulkanWindowRenderer (), "QtGui", "QVulkanWindowRenderer", - methods_QVulkanWindowRenderer_Adaptor (), - "@qt\n@brief Binding of QVulkanWindowRenderer"); - -} - diff --git a/src/gsiqt/qt6/QtGui/gsiDeclQtGuiTypeTraits.h b/src/gsiqt/qt6/QtGui/gsiDeclQtGuiTypeTraits.h deleted file mode 100644 index 0ec566bbc..000000000 --- a/src/gsiqt/qt6/QtGui/gsiDeclQtGuiTypeTraits.h +++ /dev/null @@ -1,30 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file generated/gsiDeclQtGuiTypeTraits.h -* @brief Type traits for the Qt binding classes -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - diff --git a/src/gsiqt/qt6/QtMultimedia/gsiDeclQAudioFrame.cc b/src/gsiqt/qt6/QtMultimedia/gsiDeclQAudioFrame.cc deleted file mode 100644 index f220a94b0..000000000 --- a/src/gsiqt/qt6/QtMultimedia/gsiDeclQAudioFrame.cc +++ /dev/null @@ -1,173 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAudioFrame.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtMultimediaCommon.h" -#include "gsiDeclQtMultimediaTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// struct QAudioFrame - -// Constructor QAudioFrame::QAudioFrame() - - -static void _init_ctor_QAudioFrame_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QAudioFrame_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QAudioFrame ()); -} - - -// void QAudioFrame::clear() - - -static void _init_f_clear_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clear_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAudioFrame *)cls)->clear (); -} - - -// QAudioFrame::value_type QAudioFrame::operator[](QAudioFormat::AudioChannelPosition pos) - - -static void _init_f_operator_index__c3796 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pos"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__c3796 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write ((QAudioFrame::value_type)((QAudioFrame *)cls)->operator[] (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// void QAudioFrame::setValue(QAudioFormat::AudioChannelPosition pos, QAudioFrame::value_type val) - - -static void _init_f_setValue_c6396 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pos"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("val"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_setValue_c6396 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - QAudioFrame::value_type arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAudioFrame *)cls)->setValue (qt_gsi::QtToCppAdaptor(arg1).cref(), arg2); -} - - -// QAudioFrame::value_type QAudioFrame::value(QAudioFormat::AudioChannelPosition pos) - - -static void _init_f_value_c3796 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pos"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_value_c3796 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write ((QAudioFrame::value_type)((QAudioFrame *)cls)->value (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// static int QAudioFrame::positionToIndex(QAudioFormat::AudioChannelPosition pos) - - -static void _init_f_positionToIndex_3796 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pos"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_positionToIndex_3796 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write ((int)QAudioFrame::positionToIndex (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QAudioFrame () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAudioFrame::QAudioFrame()\nThis method creates an object of class QAudioFrame.", &_init_ctor_QAudioFrame_0, &_call_ctor_QAudioFrame_0); - methods += new qt_gsi::GenericMethod ("clear", "@brief Method void QAudioFrame::clear()\n", false, &_init_f_clear_0, &_call_f_clear_0); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method QAudioFrame::value_type QAudioFrame::operator[](QAudioFormat::AudioChannelPosition pos)\n", true, &_init_f_operator_index__c3796, &_call_f_operator_index__c3796); - methods += new qt_gsi::GenericMethod ("setValue", "@brief Method void QAudioFrame::setValue(QAudioFormat::AudioChannelPosition pos, QAudioFrame::value_type val)\n", true, &_init_f_setValue_c6396, &_call_f_setValue_c6396); - methods += new qt_gsi::GenericMethod ("value", "@brief Method QAudioFrame::value_type QAudioFrame::value(QAudioFormat::AudioChannelPosition pos)\n", true, &_init_f_value_c3796, &_call_f_value_c3796); - methods += new qt_gsi::GenericStaticMethod ("positionToIndex", "@brief Static method int QAudioFrame::positionToIndex(QAudioFormat::AudioChannelPosition pos)\nThis method is static and can be called without an instance.", &_init_f_positionToIndex_3796, &_call_f_positionToIndex_3796); - return methods; -} - -gsi::Class decl_QAudioFrame ("QtMultimedia", "QAudioFrame", - methods_QAudioFrame (), - "@qt\n@brief Binding of QAudioFrame"); - - -GSI_QTMULTIMEDIA_PUBLIC gsi::Class &qtdecl_QAudioFrame () { return decl_QAudioFrame; } - -} - diff --git a/src/gsiqt/qt6/QtMultimedia/gsiDeclQWaveDecoder.cc b/src/gsiqt/qt6/QtMultimedia/gsiDeclQWaveDecoder.cc deleted file mode 100644 index 53d4f1d7e..000000000 --- a/src/gsiqt/qt6/QtMultimedia/gsiDeclQWaveDecoder.cc +++ /dev/null @@ -1,1372 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQWaveDecoder.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtMultimediaCommon.h" -#include - -// ----------------------------------------------------------------------- -// class QWaveDecoder - -// get static meta object - -static void _init_smo (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, gsi::SerialArgs &ret) -{ - ret.write (QWaveDecoder::staticMetaObject); -} - - -// QAudioFormat QWaveDecoder::audioFormat() - - -static void _init_f_audioFormat_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_audioFormat_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAudioFormat)((QWaveDecoder *)cls)->audioFormat ()); -} - - -// qint64 QWaveDecoder::bytesAvailable() - - -static void _init_f_bytesAvailable_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_bytesAvailable_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qint64)((QWaveDecoder *)cls)->bytesAvailable ()); -} - - -// void QWaveDecoder::close() - - -static void _init_f_close_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_close_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QWaveDecoder *)cls)->close (); -} - - -// int QWaveDecoder::duration() - - -static void _init_f_duration_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_duration_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QWaveDecoder *)cls)->duration ()); -} - - -// void QWaveDecoder::formatKnown() - - -static void _init_f_formatKnown_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_formatKnown_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QWaveDecoder *)cls)->formatKnown (); -} - - -// QIODevice *QWaveDecoder::getDevice() - - -static void _init_f_getDevice_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_getDevice_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QIODevice *)((QWaveDecoder *)cls)->getDevice ()); -} - - -// bool QWaveDecoder::isSequential() - - -static void _init_f_isSequential_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isSequential_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QWaveDecoder *)cls)->isSequential ()); -} - - -// bool QWaveDecoder::open(QFlags mode) - - -static void _init_f_open_3621 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("mode"); - decl->add_arg > (argspec_0); - decl->set_return (); -} - -static void _call_f_open_3621 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QFlags arg1 = gsi::arg_reader >() (args, heap); - ret.write ((bool)((QWaveDecoder *)cls)->open (arg1)); -} - - -// void QWaveDecoder::parsingError() - - -static void _init_f_parsingError_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_parsingError_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QWaveDecoder *)cls)->parsingError (); -} - - -// qint64 QWaveDecoder::pos() - - -static void _init_f_pos_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_pos_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qint64)((QWaveDecoder *)cls)->pos ()); -} - - -// bool QWaveDecoder::seek(qint64 pos) - - -static void _init_f_seek_986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pos"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_seek_986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QWaveDecoder *)cls)->seek (arg1)); -} - - -// void QWaveDecoder::setIODevice(QIODevice *device) - - -static void _init_f_setIODevice_1447 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setIODevice_1447 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QIODevice *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QWaveDecoder *)cls)->setIODevice (arg1); -} - - -// qint64 QWaveDecoder::size() - - -static void _init_f_size_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_size_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qint64)((QWaveDecoder *)cls)->size ()); -} - - -// static qint64 QWaveDecoder::headerLength() - - -static void _init_f_headerLength_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_headerLength_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qint64)QWaveDecoder::headerLength ()); -} - - -// static QString QWaveDecoder::tr(const char *s, const char *c, int n) - - -static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("c", true, "nullptr"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("n", true, "-1"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - const char *arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - int arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (-1, heap); - ret.write ((QString)QWaveDecoder::tr (arg1, arg2, arg3)); -} - - -namespace gsi -{ - -static gsi::Methods methods_QWaveDecoder () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("staticMetaObject", "@brief Obtains the static MetaObject for this class.", &_init_smo, &_call_smo); - methods += new qt_gsi::GenericMethod ("audioFormat", "@brief Method QAudioFormat QWaveDecoder::audioFormat()\n", true, &_init_f_audioFormat_c0, &_call_f_audioFormat_c0); - methods += new qt_gsi::GenericMethod ("bytesAvailable", "@brief Method qint64 QWaveDecoder::bytesAvailable()\nThis is a reimplementation of QIODevice::bytesAvailable", true, &_init_f_bytesAvailable_c0, &_call_f_bytesAvailable_c0); - methods += new qt_gsi::GenericMethod ("close", "@brief Method void QWaveDecoder::close()\nThis is a reimplementation of QIODevice::close", false, &_init_f_close_0, &_call_f_close_0); - methods += new qt_gsi::GenericMethod ("duration", "@brief Method int QWaveDecoder::duration()\n", true, &_init_f_duration_c0, &_call_f_duration_c0); - methods += new qt_gsi::GenericMethod ("formatKnown", "@brief Method void QWaveDecoder::formatKnown()\n", false, &_init_f_formatKnown_0, &_call_f_formatKnown_0); - methods += new qt_gsi::GenericMethod ("getDevice", "@brief Method QIODevice *QWaveDecoder::getDevice()\n", false, &_init_f_getDevice_0, &_call_f_getDevice_0); - methods += new qt_gsi::GenericMethod ("isSequential?", "@brief Method bool QWaveDecoder::isSequential()\nThis is a reimplementation of QIODevice::isSequential", true, &_init_f_isSequential_c0, &_call_f_isSequential_c0); - methods += new qt_gsi::GenericMethod ("open", "@brief Method bool QWaveDecoder::open(QFlags mode)\nThis is a reimplementation of QIODevice::open", false, &_init_f_open_3621, &_call_f_open_3621); - methods += new qt_gsi::GenericMethod ("parsingError", "@brief Method void QWaveDecoder::parsingError()\n", false, &_init_f_parsingError_0, &_call_f_parsingError_0); - methods += new qt_gsi::GenericMethod ("pos", "@brief Method qint64 QWaveDecoder::pos()\nThis is a reimplementation of QIODevice::pos", true, &_init_f_pos_c0, &_call_f_pos_c0); - methods += new qt_gsi::GenericMethod ("seek", "@brief Method bool QWaveDecoder::seek(qint64 pos)\nThis is a reimplementation of QIODevice::seek", false, &_init_f_seek_986, &_call_f_seek_986); - methods += new qt_gsi::GenericMethod ("setIODevice", "@brief Method void QWaveDecoder::setIODevice(QIODevice *device)\n", false, &_init_f_setIODevice_1447, &_call_f_setIODevice_1447); - methods += new qt_gsi::GenericMethod ("size", "@brief Method qint64 QWaveDecoder::size()\nThis is a reimplementation of QIODevice::size", true, &_init_f_size_c0, &_call_f_size_c0); - methods += new qt_gsi::GenericStaticMethod ("headerLength", "@brief Static method qint64 QWaveDecoder::headerLength()\nThis method is static and can be called without an instance.", &_init_f_headerLength_0, &_call_f_headerLength_0); - methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QWaveDecoder::tr(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013); - return methods; -} - -gsi::Class &qtdecl_QIODevice (); - -qt_gsi::QtNativeClass decl_QWaveDecoder (qtdecl_QIODevice (), "QtMultimedia", "QWaveDecoder_Native", - methods_QWaveDecoder (), - "@hide\n@alias QWaveDecoder"); - -GSI_QTMULTIMEDIA_PUBLIC gsi::Class &qtdecl_QWaveDecoder () { return decl_QWaveDecoder; } - -} - - -class QWaveDecoder_Adaptor : public QWaveDecoder, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QWaveDecoder_Adaptor(); - - // [adaptor ctor] QWaveDecoder::QWaveDecoder(QIODevice *device, QObject *parent) - QWaveDecoder_Adaptor(QIODevice *device) : QWaveDecoder(device) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QWaveDecoder::QWaveDecoder(QIODevice *device, QObject *parent) - QWaveDecoder_Adaptor(QIODevice *device, QObject *parent) : QWaveDecoder(device, parent) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QWaveDecoder::QWaveDecoder(QIODevice *device, const QAudioFormat &format, QObject *parent) - QWaveDecoder_Adaptor(QIODevice *device, const QAudioFormat &format) : QWaveDecoder(device, format) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QWaveDecoder::QWaveDecoder(QIODevice *device, const QAudioFormat &format, QObject *parent) - QWaveDecoder_Adaptor(QIODevice *device, const QAudioFormat &format, QObject *parent) : QWaveDecoder(device, format, parent) - { - qt_gsi::QtObjectBase::init (this); - } - - // [expose] bool QWaveDecoder::isSignalConnected(const QMetaMethod &signal) - bool fp_QWaveDecoder_isSignalConnected_c2394 (const QMetaMethod &signal) const { - return QWaveDecoder::isSignalConnected(signal); - } - - // [expose] int QWaveDecoder::receivers(const char *signal) - int fp_QWaveDecoder_receivers_c1731 (const char *signal) const { - return QWaveDecoder::receivers(signal); - } - - // [expose] QObject *QWaveDecoder::sender() - QObject * fp_QWaveDecoder_sender_c0 () const { - return QWaveDecoder::sender(); - } - - // [expose] int QWaveDecoder::senderSignalIndex() - int fp_QWaveDecoder_senderSignalIndex_c0 () const { - return QWaveDecoder::senderSignalIndex(); - } - - // [expose] void QWaveDecoder::setErrorString(const QString &errorString) - void fp_QWaveDecoder_setErrorString_2025 (const QString &errorString) { - QWaveDecoder::setErrorString(errorString); - } - - // [expose] void QWaveDecoder::setOpenMode(QFlags openMode) - void fp_QWaveDecoder_setOpenMode_3621 (QFlags openMode) { - QWaveDecoder::setOpenMode(openMode); - } - - // [adaptor impl] bool QWaveDecoder::atEnd() - bool cbs_atEnd_c0_0() const - { - return QWaveDecoder::atEnd(); - } - - virtual bool atEnd() const - { - if (cb_atEnd_c0_0.can_issue()) { - return cb_atEnd_c0_0.issue(&QWaveDecoder_Adaptor::cbs_atEnd_c0_0); - } else { - return QWaveDecoder::atEnd(); - } - } - - // [adaptor impl] qint64 QWaveDecoder::bytesAvailable() - qint64 cbs_bytesAvailable_c0_0() const - { - return QWaveDecoder::bytesAvailable(); - } - - virtual qint64 bytesAvailable() const - { - if (cb_bytesAvailable_c0_0.can_issue()) { - return cb_bytesAvailable_c0_0.issue(&QWaveDecoder_Adaptor::cbs_bytesAvailable_c0_0); - } else { - return QWaveDecoder::bytesAvailable(); - } - } - - // [adaptor impl] qint64 QWaveDecoder::bytesToWrite() - qint64 cbs_bytesToWrite_c0_0() const - { - return QWaveDecoder::bytesToWrite(); - } - - virtual qint64 bytesToWrite() const - { - if (cb_bytesToWrite_c0_0.can_issue()) { - return cb_bytesToWrite_c0_0.issue(&QWaveDecoder_Adaptor::cbs_bytesToWrite_c0_0); - } else { - return QWaveDecoder::bytesToWrite(); - } - } - - // [adaptor impl] bool QWaveDecoder::canReadLine() - bool cbs_canReadLine_c0_0() const - { - return QWaveDecoder::canReadLine(); - } - - virtual bool canReadLine() const - { - if (cb_canReadLine_c0_0.can_issue()) { - return cb_canReadLine_c0_0.issue(&QWaveDecoder_Adaptor::cbs_canReadLine_c0_0); - } else { - return QWaveDecoder::canReadLine(); - } - } - - // [adaptor impl] void QWaveDecoder::close() - void cbs_close_0_0() - { - QWaveDecoder::close(); - } - - virtual void close() - { - if (cb_close_0_0.can_issue()) { - cb_close_0_0.issue(&QWaveDecoder_Adaptor::cbs_close_0_0); - } else { - QWaveDecoder::close(); - } - } - - // [adaptor impl] bool QWaveDecoder::event(QEvent *event) - bool cbs_event_1217_0(QEvent *_event) - { - return QWaveDecoder::event(_event); - } - - virtual bool event(QEvent *_event) - { - if (cb_event_1217_0.can_issue()) { - return cb_event_1217_0.issue(&QWaveDecoder_Adaptor::cbs_event_1217_0, _event); - } else { - return QWaveDecoder::event(_event); - } - } - - // [adaptor impl] bool QWaveDecoder::eventFilter(QObject *watched, QEvent *event) - bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event) - { - return QWaveDecoder::eventFilter(watched, event); - } - - virtual bool eventFilter(QObject *watched, QEvent *event) - { - if (cb_eventFilter_2411_0.can_issue()) { - return cb_eventFilter_2411_0.issue(&QWaveDecoder_Adaptor::cbs_eventFilter_2411_0, watched, event); - } else { - return QWaveDecoder::eventFilter(watched, event); - } - } - - // [adaptor impl] bool QWaveDecoder::isSequential() - bool cbs_isSequential_c0_0() const - { - return QWaveDecoder::isSequential(); - } - - virtual bool isSequential() const - { - if (cb_isSequential_c0_0.can_issue()) { - return cb_isSequential_c0_0.issue(&QWaveDecoder_Adaptor::cbs_isSequential_c0_0); - } else { - return QWaveDecoder::isSequential(); - } - } - - // [adaptor impl] bool QWaveDecoder::open(QFlags mode) - bool cbs_open_3621_0(QFlags mode) - { - return QWaveDecoder::open(mode); - } - - virtual bool open(QFlags mode) - { - if (cb_open_3621_0.can_issue()) { - return cb_open_3621_0.issue >(&QWaveDecoder_Adaptor::cbs_open_3621_0, mode); - } else { - return QWaveDecoder::open(mode); - } - } - - // [adaptor impl] qint64 QWaveDecoder::pos() - qint64 cbs_pos_c0_0() const - { - return QWaveDecoder::pos(); - } - - virtual qint64 pos() const - { - if (cb_pos_c0_0.can_issue()) { - return cb_pos_c0_0.issue(&QWaveDecoder_Adaptor::cbs_pos_c0_0); - } else { - return QWaveDecoder::pos(); - } - } - - // [adaptor impl] bool QWaveDecoder::reset() - bool cbs_reset_0_0() - { - return QWaveDecoder::reset(); - } - - virtual bool reset() - { - if (cb_reset_0_0.can_issue()) { - return cb_reset_0_0.issue(&QWaveDecoder_Adaptor::cbs_reset_0_0); - } else { - return QWaveDecoder::reset(); - } - } - - // [adaptor impl] bool QWaveDecoder::seek(qint64 pos) - bool cbs_seek_986_0(qint64 pos) - { - return QWaveDecoder::seek(pos); - } - - virtual bool seek(qint64 pos) - { - if (cb_seek_986_0.can_issue()) { - return cb_seek_986_0.issue(&QWaveDecoder_Adaptor::cbs_seek_986_0, pos); - } else { - return QWaveDecoder::seek(pos); - } - } - - // [adaptor impl] qint64 QWaveDecoder::size() - qint64 cbs_size_c0_0() const - { - return QWaveDecoder::size(); - } - - virtual qint64 size() const - { - if (cb_size_c0_0.can_issue()) { - return cb_size_c0_0.issue(&QWaveDecoder_Adaptor::cbs_size_c0_0); - } else { - return QWaveDecoder::size(); - } - } - - // [adaptor impl] bool QWaveDecoder::waitForBytesWritten(int msecs) - bool cbs_waitForBytesWritten_767_0(int msecs) - { - return QWaveDecoder::waitForBytesWritten(msecs); - } - - virtual bool waitForBytesWritten(int msecs) - { - if (cb_waitForBytesWritten_767_0.can_issue()) { - return cb_waitForBytesWritten_767_0.issue(&QWaveDecoder_Adaptor::cbs_waitForBytesWritten_767_0, msecs); - } else { - return QWaveDecoder::waitForBytesWritten(msecs); - } - } - - // [adaptor impl] bool QWaveDecoder::waitForReadyRead(int msecs) - bool cbs_waitForReadyRead_767_0(int msecs) - { - return QWaveDecoder::waitForReadyRead(msecs); - } - - virtual bool waitForReadyRead(int msecs) - { - if (cb_waitForReadyRead_767_0.can_issue()) { - return cb_waitForReadyRead_767_0.issue(&QWaveDecoder_Adaptor::cbs_waitForReadyRead_767_0, msecs); - } else { - return QWaveDecoder::waitForReadyRead(msecs); - } - } - - // [adaptor impl] void QWaveDecoder::childEvent(QChildEvent *event) - void cbs_childEvent_1701_0(QChildEvent *event) - { - QWaveDecoder::childEvent(event); - } - - virtual void childEvent(QChildEvent *event) - { - if (cb_childEvent_1701_0.can_issue()) { - cb_childEvent_1701_0.issue(&QWaveDecoder_Adaptor::cbs_childEvent_1701_0, event); - } else { - QWaveDecoder::childEvent(event); - } - } - - // [adaptor impl] void QWaveDecoder::customEvent(QEvent *event) - void cbs_customEvent_1217_0(QEvent *event) - { - QWaveDecoder::customEvent(event); - } - - virtual void customEvent(QEvent *event) - { - if (cb_customEvent_1217_0.can_issue()) { - cb_customEvent_1217_0.issue(&QWaveDecoder_Adaptor::cbs_customEvent_1217_0, event); - } else { - QWaveDecoder::customEvent(event); - } - } - - // [adaptor impl] void QWaveDecoder::disconnectNotify(const QMetaMethod &signal) - void cbs_disconnectNotify_2394_0(const QMetaMethod &signal) - { - QWaveDecoder::disconnectNotify(signal); - } - - virtual void disconnectNotify(const QMetaMethod &signal) - { - if (cb_disconnectNotify_2394_0.can_issue()) { - cb_disconnectNotify_2394_0.issue(&QWaveDecoder_Adaptor::cbs_disconnectNotify_2394_0, signal); - } else { - QWaveDecoder::disconnectNotify(signal); - } - } - - // [adaptor impl] qint64 QWaveDecoder::skipData(qint64 maxSize) - qint64 cbs_skipData_986_0(qint64 maxSize) - { - return QWaveDecoder::skipData(maxSize); - } - - virtual qint64 skipData(qint64 maxSize) - { - if (cb_skipData_986_0.can_issue()) { - return cb_skipData_986_0.issue(&QWaveDecoder_Adaptor::cbs_skipData_986_0, maxSize); - } else { - return QWaveDecoder::skipData(maxSize); - } - } - - // [adaptor impl] void QWaveDecoder::timerEvent(QTimerEvent *event) - void cbs_timerEvent_1730_0(QTimerEvent *event) - { - QWaveDecoder::timerEvent(event); - } - - virtual void timerEvent(QTimerEvent *event) - { - if (cb_timerEvent_1730_0.can_issue()) { - cb_timerEvent_1730_0.issue(&QWaveDecoder_Adaptor::cbs_timerEvent_1730_0, event); - } else { - QWaveDecoder::timerEvent(event); - } - } - - gsi::Callback cb_atEnd_c0_0; - gsi::Callback cb_bytesAvailable_c0_0; - gsi::Callback cb_bytesToWrite_c0_0; - gsi::Callback cb_canReadLine_c0_0; - gsi::Callback cb_close_0_0; - gsi::Callback cb_event_1217_0; - gsi::Callback cb_eventFilter_2411_0; - gsi::Callback cb_isSequential_c0_0; - gsi::Callback cb_open_3621_0; - gsi::Callback cb_pos_c0_0; - gsi::Callback cb_reset_0_0; - gsi::Callback cb_seek_986_0; - gsi::Callback cb_size_c0_0; - gsi::Callback cb_waitForBytesWritten_767_0; - gsi::Callback cb_waitForReadyRead_767_0; - gsi::Callback cb_childEvent_1701_0; - gsi::Callback cb_customEvent_1217_0; - gsi::Callback cb_disconnectNotify_2394_0; - gsi::Callback cb_skipData_986_0; - gsi::Callback cb_timerEvent_1730_0; -}; - -QWaveDecoder_Adaptor::~QWaveDecoder_Adaptor() { } - -// Constructor QWaveDecoder::QWaveDecoder(QIODevice *device, QObject *parent) (adaptor class) - -static void _init_ctor_QWaveDecoder_Adaptor_2641 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("parent", true, "nullptr"); - decl->add_arg (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QWaveDecoder_Adaptor_2641 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QIODevice *arg1 = gsi::arg_reader() (args, heap); - QObject *arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ret.write (new QWaveDecoder_Adaptor (arg1, arg2)); -} - - -// Constructor QWaveDecoder::QWaveDecoder(QIODevice *device, const QAudioFormat &format, QObject *parent) (adaptor class) - -static void _init_ctor_QWaveDecoder_Adaptor_5042 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("format"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent", true, "nullptr"); - decl->add_arg (argspec_2); - decl->set_return_new (); -} - -static void _call_ctor_QWaveDecoder_Adaptor_5042 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QIODevice *arg1 = gsi::arg_reader() (args, heap); - const QAudioFormat &arg2 = gsi::arg_reader() (args, heap); - QObject *arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ret.write (new QWaveDecoder_Adaptor (arg1, arg2, arg3)); -} - - -// bool QWaveDecoder::atEnd() - -static void _init_cbs_atEnd_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_atEnd_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QWaveDecoder_Adaptor *)cls)->cbs_atEnd_c0_0 ()); -} - -static void _set_callback_cbs_atEnd_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QWaveDecoder_Adaptor *)cls)->cb_atEnd_c0_0 = cb; -} - - -// qint64 QWaveDecoder::bytesAvailable() - -static void _init_cbs_bytesAvailable_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_bytesAvailable_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qint64)((QWaveDecoder_Adaptor *)cls)->cbs_bytesAvailable_c0_0 ()); -} - -static void _set_callback_cbs_bytesAvailable_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QWaveDecoder_Adaptor *)cls)->cb_bytesAvailable_c0_0 = cb; -} - - -// qint64 QWaveDecoder::bytesToWrite() - -static void _init_cbs_bytesToWrite_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_bytesToWrite_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qint64)((QWaveDecoder_Adaptor *)cls)->cbs_bytesToWrite_c0_0 ()); -} - -static void _set_callback_cbs_bytesToWrite_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QWaveDecoder_Adaptor *)cls)->cb_bytesToWrite_c0_0 = cb; -} - - -// bool QWaveDecoder::canReadLine() - -static void _init_cbs_canReadLine_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_canReadLine_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QWaveDecoder_Adaptor *)cls)->cbs_canReadLine_c0_0 ()); -} - -static void _set_callback_cbs_canReadLine_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QWaveDecoder_Adaptor *)cls)->cb_canReadLine_c0_0 = cb; -} - - -// void QWaveDecoder::childEvent(QChildEvent *event) - -static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_childEvent_1701_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QChildEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QWaveDecoder_Adaptor *)cls)->cbs_childEvent_1701_0 (arg1); -} - -static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback &cb) -{ - ((QWaveDecoder_Adaptor *)cls)->cb_childEvent_1701_0 = cb; -} - - -// void QWaveDecoder::close() - -static void _init_cbs_close_0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_close_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QWaveDecoder_Adaptor *)cls)->cbs_close_0_0 (); -} - -static void _set_callback_cbs_close_0_0 (void *cls, const gsi::Callback &cb) -{ - ((QWaveDecoder_Adaptor *)cls)->cb_close_0_0 = cb; -} - - -// void QWaveDecoder::customEvent(QEvent *event) - -static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_customEvent_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QWaveDecoder_Adaptor *)cls)->cbs_customEvent_1217_0 (arg1); -} - -static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback &cb) -{ - ((QWaveDecoder_Adaptor *)cls)->cb_customEvent_1217_0 = cb; -} - - -// void QWaveDecoder::disconnectNotify(const QMetaMethod &signal) - -static void _init_cbs_disconnectNotify_2394_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("signal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_disconnectNotify_2394_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMetaMethod &arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QWaveDecoder_Adaptor *)cls)->cbs_disconnectNotify_2394_0 (arg1); -} - -static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Callback &cb) -{ - ((QWaveDecoder_Adaptor *)cls)->cb_disconnectNotify_2394_0 = cb; -} - - -// bool QWaveDecoder::event(QEvent *event) - -static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_event_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QEvent *arg1 = args.read (heap); - ret.write ((bool)((QWaveDecoder_Adaptor *)cls)->cbs_event_1217_0 (arg1)); -} - -static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb) -{ - ((QWaveDecoder_Adaptor *)cls)->cb_event_1217_0 = cb; -} - - -// bool QWaveDecoder::eventFilter(QObject *watched, QEvent *event) - -static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("watched"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("event"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_cbs_eventFilter_2411_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = args.read (heap); - QEvent *arg2 = args.read (heap); - ret.write ((bool)((QWaveDecoder_Adaptor *)cls)->cbs_eventFilter_2411_0 (arg1, arg2)); -} - -static void _set_callback_cbs_eventFilter_2411_0 (void *cls, const gsi::Callback &cb) -{ - ((QWaveDecoder_Adaptor *)cls)->cb_eventFilter_2411_0 = cb; -} - - -// bool QWaveDecoder::isSequential() - -static void _init_cbs_isSequential_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_isSequential_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QWaveDecoder_Adaptor *)cls)->cbs_isSequential_c0_0 ()); -} - -static void _set_callback_cbs_isSequential_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QWaveDecoder_Adaptor *)cls)->cb_isSequential_c0_0 = cb; -} - - -// exposed bool QWaveDecoder::isSignalConnected(const QMetaMethod &signal) - -static void _init_fp_isSignalConnected_c2394 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("signal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_fp_isSignalConnected_c2394 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMetaMethod &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QWaveDecoder_Adaptor *)cls)->fp_QWaveDecoder_isSignalConnected_c2394 (arg1)); -} - - -// bool QWaveDecoder::open(QFlags mode) - -static void _init_cbs_open_3621_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("mode"); - decl->add_arg > (argspec_0); - decl->set_return (); -} - -static void _call_cbs_open_3621_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QFlags arg1 = args.read > (heap); - ret.write ((bool)((QWaveDecoder_Adaptor *)cls)->cbs_open_3621_0 (arg1)); -} - -static void _set_callback_cbs_open_3621_0 (void *cls, const gsi::Callback &cb) -{ - ((QWaveDecoder_Adaptor *)cls)->cb_open_3621_0 = cb; -} - - -// qint64 QWaveDecoder::pos() - -static void _init_cbs_pos_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_pos_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qint64)((QWaveDecoder_Adaptor *)cls)->cbs_pos_c0_0 ()); -} - -static void _set_callback_cbs_pos_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QWaveDecoder_Adaptor *)cls)->cb_pos_c0_0 = cb; -} - - -// exposed int QWaveDecoder::receivers(const char *signal) - -static void _init_fp_receivers_c1731 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("signal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_fp_receivers_c1731 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - ret.write ((int)((QWaveDecoder_Adaptor *)cls)->fp_QWaveDecoder_receivers_c1731 (arg1)); -} - - -// bool QWaveDecoder::reset() - -static void _init_cbs_reset_0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_reset_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QWaveDecoder_Adaptor *)cls)->cbs_reset_0_0 ()); -} - -static void _set_callback_cbs_reset_0_0 (void *cls, const gsi::Callback &cb) -{ - ((QWaveDecoder_Adaptor *)cls)->cb_reset_0_0 = cb; -} - - -// bool QWaveDecoder::seek(qint64 pos) - -static void _init_cbs_seek_986_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pos"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_seek_986_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = args.read (heap); - ret.write ((bool)((QWaveDecoder_Adaptor *)cls)->cbs_seek_986_0 (arg1)); -} - -static void _set_callback_cbs_seek_986_0 (void *cls, const gsi::Callback &cb) -{ - ((QWaveDecoder_Adaptor *)cls)->cb_seek_986_0 = cb; -} - - -// exposed QObject *QWaveDecoder::sender() - -static void _init_fp_sender_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_sender_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QObject *)((QWaveDecoder_Adaptor *)cls)->fp_QWaveDecoder_sender_c0 ()); -} - - -// exposed int QWaveDecoder::senderSignalIndex() - -static void _init_fp_senderSignalIndex_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QWaveDecoder_Adaptor *)cls)->fp_QWaveDecoder_senderSignalIndex_c0 ()); -} - - -// exposed void QWaveDecoder::setErrorString(const QString &errorString) - -static void _init_fp_setErrorString_2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("errorString"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_fp_setErrorString_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QWaveDecoder_Adaptor *)cls)->fp_QWaveDecoder_setErrorString_2025 (arg1); -} - - -// exposed void QWaveDecoder::setOpenMode(QFlags openMode) - -static void _init_fp_setOpenMode_3621 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("openMode"); - decl->add_arg > (argspec_0); - decl->set_return (); -} - -static void _call_fp_setOpenMode_3621 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QFlags arg1 = gsi::arg_reader >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QWaveDecoder_Adaptor *)cls)->fp_QWaveDecoder_setOpenMode_3621 (arg1); -} - - -// qint64 QWaveDecoder::size() - -static void _init_cbs_size_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_size_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qint64)((QWaveDecoder_Adaptor *)cls)->cbs_size_c0_0 ()); -} - -static void _set_callback_cbs_size_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QWaveDecoder_Adaptor *)cls)->cb_size_c0_0 = cb; -} - - -// qint64 QWaveDecoder::skipData(qint64 maxSize) - -static void _init_cbs_skipData_986_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("maxSize"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_skipData_986_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = args.read (heap); - ret.write ((qint64)((QWaveDecoder_Adaptor *)cls)->cbs_skipData_986_0 (arg1)); -} - -static void _set_callback_cbs_skipData_986_0 (void *cls, const gsi::Callback &cb) -{ - ((QWaveDecoder_Adaptor *)cls)->cb_skipData_986_0 = cb; -} - - -// void QWaveDecoder::timerEvent(QTimerEvent *event) - -static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_timerEvent_1730_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QTimerEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QWaveDecoder_Adaptor *)cls)->cbs_timerEvent_1730_0 (arg1); -} - -static void _set_callback_cbs_timerEvent_1730_0 (void *cls, const gsi::Callback &cb) -{ - ((QWaveDecoder_Adaptor *)cls)->cb_timerEvent_1730_0 = cb; -} - - -// bool QWaveDecoder::waitForBytesWritten(int msecs) - -static void _init_cbs_waitForBytesWritten_767_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("msecs"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_waitForBytesWritten_767_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - ret.write ((bool)((QWaveDecoder_Adaptor *)cls)->cbs_waitForBytesWritten_767_0 (arg1)); -} - -static void _set_callback_cbs_waitForBytesWritten_767_0 (void *cls, const gsi::Callback &cb) -{ - ((QWaveDecoder_Adaptor *)cls)->cb_waitForBytesWritten_767_0 = cb; -} - - -// bool QWaveDecoder::waitForReadyRead(int msecs) - -static void _init_cbs_waitForReadyRead_767_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("msecs"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_waitForReadyRead_767_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - ret.write ((bool)((QWaveDecoder_Adaptor *)cls)->cbs_waitForReadyRead_767_0 (arg1)); -} - -static void _set_callback_cbs_waitForReadyRead_767_0 (void *cls, const gsi::Callback &cb) -{ - ((QWaveDecoder_Adaptor *)cls)->cb_waitForReadyRead_767_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QWaveDecoder (); - -static gsi::Methods methods_QWaveDecoder_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QWaveDecoder::QWaveDecoder(QIODevice *device, QObject *parent)\nThis method creates an object of class QWaveDecoder.", &_init_ctor_QWaveDecoder_Adaptor_2641, &_call_ctor_QWaveDecoder_Adaptor_2641); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QWaveDecoder::QWaveDecoder(QIODevice *device, const QAudioFormat &format, QObject *parent)\nThis method creates an object of class QWaveDecoder.", &_init_ctor_QWaveDecoder_Adaptor_5042, &_call_ctor_QWaveDecoder_Adaptor_5042); - methods += new qt_gsi::GenericMethod ("atEnd", "@brief Virtual method bool QWaveDecoder::atEnd()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_atEnd_c0_0, &_call_cbs_atEnd_c0_0); - methods += new qt_gsi::GenericMethod ("atEnd", "@hide", true, &_init_cbs_atEnd_c0_0, &_call_cbs_atEnd_c0_0, &_set_callback_cbs_atEnd_c0_0); - methods += new qt_gsi::GenericMethod ("bytesAvailable", "@brief Virtual method qint64 QWaveDecoder::bytesAvailable()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_bytesAvailable_c0_0, &_call_cbs_bytesAvailable_c0_0); - methods += new qt_gsi::GenericMethod ("bytesAvailable", "@hide", true, &_init_cbs_bytesAvailable_c0_0, &_call_cbs_bytesAvailable_c0_0, &_set_callback_cbs_bytesAvailable_c0_0); - methods += new qt_gsi::GenericMethod ("bytesToWrite", "@brief Virtual method qint64 QWaveDecoder::bytesToWrite()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_bytesToWrite_c0_0, &_call_cbs_bytesToWrite_c0_0); - methods += new qt_gsi::GenericMethod ("bytesToWrite", "@hide", true, &_init_cbs_bytesToWrite_c0_0, &_call_cbs_bytesToWrite_c0_0, &_set_callback_cbs_bytesToWrite_c0_0); - methods += new qt_gsi::GenericMethod ("canReadLine", "@brief Virtual method bool QWaveDecoder::canReadLine()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_canReadLine_c0_0, &_call_cbs_canReadLine_c0_0); - methods += new qt_gsi::GenericMethod ("canReadLine", "@hide", true, &_init_cbs_canReadLine_c0_0, &_call_cbs_canReadLine_c0_0, &_set_callback_cbs_canReadLine_c0_0); - methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QWaveDecoder::childEvent(QChildEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0); - methods += new qt_gsi::GenericMethod ("*childEvent", "@hide", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0, &_set_callback_cbs_childEvent_1701_0); - methods += new qt_gsi::GenericMethod ("close", "@brief Virtual method void QWaveDecoder::close()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_close_0_0, &_call_cbs_close_0_0); - methods += new qt_gsi::GenericMethod ("close", "@hide", false, &_init_cbs_close_0_0, &_call_cbs_close_0_0, &_set_callback_cbs_close_0_0); - methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QWaveDecoder::customEvent(QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0); - methods += new qt_gsi::GenericMethod ("*customEvent", "@hide", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0, &_set_callback_cbs_customEvent_1217_0); - methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@brief Virtual method void QWaveDecoder::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0); - methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@hide", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0, &_set_callback_cbs_disconnectNotify_2394_0); - methods += new qt_gsi::GenericMethod ("event", "@brief Virtual method bool QWaveDecoder::event(QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0); - methods += new qt_gsi::GenericMethod ("event", "@hide", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0, &_set_callback_cbs_event_1217_0); - methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Virtual method bool QWaveDecoder::eventFilter(QObject *watched, QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0); - methods += new qt_gsi::GenericMethod ("eventFilter", "@hide", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0, &_set_callback_cbs_eventFilter_2411_0); - methods += new qt_gsi::GenericMethod ("isSequential", "@brief Virtual method bool QWaveDecoder::isSequential()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_isSequential_c0_0, &_call_cbs_isSequential_c0_0); - methods += new qt_gsi::GenericMethod ("isSequential", "@hide", true, &_init_cbs_isSequential_c0_0, &_call_cbs_isSequential_c0_0, &_set_callback_cbs_isSequential_c0_0); - methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QWaveDecoder::isSignalConnected(const QMetaMethod &signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_isSignalConnected_c2394, &_call_fp_isSignalConnected_c2394); - methods += new qt_gsi::GenericMethod ("open", "@brief Virtual method bool QWaveDecoder::open(QFlags mode)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_open_3621_0, &_call_cbs_open_3621_0); - methods += new qt_gsi::GenericMethod ("open", "@hide", false, &_init_cbs_open_3621_0, &_call_cbs_open_3621_0, &_set_callback_cbs_open_3621_0); - methods += new qt_gsi::GenericMethod ("pos", "@brief Virtual method qint64 QWaveDecoder::pos()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_pos_c0_0, &_call_cbs_pos_c0_0); - methods += new qt_gsi::GenericMethod ("pos", "@hide", true, &_init_cbs_pos_c0_0, &_call_cbs_pos_c0_0, &_set_callback_cbs_pos_c0_0); - methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QWaveDecoder::receivers(const char *signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_receivers_c1731, &_call_fp_receivers_c1731); - methods += new qt_gsi::GenericMethod ("reset", "@brief Virtual method bool QWaveDecoder::reset()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_reset_0_0, &_call_cbs_reset_0_0); - methods += new qt_gsi::GenericMethod ("reset", "@hide", false, &_init_cbs_reset_0_0, &_call_cbs_reset_0_0, &_set_callback_cbs_reset_0_0); - methods += new qt_gsi::GenericMethod ("seek", "@brief Virtual method bool QWaveDecoder::seek(qint64 pos)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_seek_986_0, &_call_cbs_seek_986_0); - methods += new qt_gsi::GenericMethod ("seek", "@hide", false, &_init_cbs_seek_986_0, &_call_cbs_seek_986_0, &_set_callback_cbs_seek_986_0); - methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QWaveDecoder::sender()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_sender_c0, &_call_fp_sender_c0); - methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QWaveDecoder::senderSignalIndex()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_senderSignalIndex_c0, &_call_fp_senderSignalIndex_c0); - methods += new qt_gsi::GenericMethod ("*setErrorString", "@brief Method void QWaveDecoder::setErrorString(const QString &errorString)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_setErrorString_2025, &_call_fp_setErrorString_2025); - methods += new qt_gsi::GenericMethod ("*setOpenMode", "@brief Method void QWaveDecoder::setOpenMode(QFlags openMode)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_setOpenMode_3621, &_call_fp_setOpenMode_3621); - methods += new qt_gsi::GenericMethod ("size", "@brief Virtual method qint64 QWaveDecoder::size()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_size_c0_0, &_call_cbs_size_c0_0); - methods += new qt_gsi::GenericMethod ("size", "@hide", true, &_init_cbs_size_c0_0, &_call_cbs_size_c0_0, &_set_callback_cbs_size_c0_0); - methods += new qt_gsi::GenericMethod ("*skipData", "@brief Virtual method qint64 QWaveDecoder::skipData(qint64 maxSize)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_skipData_986_0, &_call_cbs_skipData_986_0); - methods += new qt_gsi::GenericMethod ("*skipData", "@hide", false, &_init_cbs_skipData_986_0, &_call_cbs_skipData_986_0, &_set_callback_cbs_skipData_986_0); - methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QWaveDecoder::timerEvent(QTimerEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0); - methods += new qt_gsi::GenericMethod ("*timerEvent", "@hide", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0, &_set_callback_cbs_timerEvent_1730_0); - methods += new qt_gsi::GenericMethod ("waitForBytesWritten", "@brief Virtual method bool QWaveDecoder::waitForBytesWritten(int msecs)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_waitForBytesWritten_767_0, &_call_cbs_waitForBytesWritten_767_0); - methods += new qt_gsi::GenericMethod ("waitForBytesWritten", "@hide", false, &_init_cbs_waitForBytesWritten_767_0, &_call_cbs_waitForBytesWritten_767_0, &_set_callback_cbs_waitForBytesWritten_767_0); - methods += new qt_gsi::GenericMethod ("waitForReadyRead", "@brief Virtual method bool QWaveDecoder::waitForReadyRead(int msecs)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_waitForReadyRead_767_0, &_call_cbs_waitForReadyRead_767_0); - methods += new qt_gsi::GenericMethod ("waitForReadyRead", "@hide", false, &_init_cbs_waitForReadyRead_767_0, &_call_cbs_waitForReadyRead_767_0, &_set_callback_cbs_waitForReadyRead_767_0); - return methods; -} - -gsi::Class decl_QWaveDecoder_Adaptor (qtdecl_QWaveDecoder (), "QtMultimedia", "QWaveDecoder", - methods_QWaveDecoder_Adaptor (), - "@qt\n@brief Binding of QWaveDecoder"); - -} - diff --git a/src/gsiqt/qt6/QtMultimedia/gsiDeclQtMultimediaTypeTraits.h b/src/gsiqt/qt6/QtMultimedia/gsiDeclQtMultimediaTypeTraits.h deleted file mode 100644 index ad05591bb..000000000 --- a/src/gsiqt/qt6/QtMultimedia/gsiDeclQtMultimediaTypeTraits.h +++ /dev/null @@ -1,30 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file generated/gsiDeclQtMultimediaTypeTraits.h -* @brief Type traits for the Qt binding classes -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - diff --git a/src/gsiqt/qt6/QtNetwork/gsiDeclQDtlsError.cc b/src/gsiqt/qt6/QtNetwork/gsiDeclQDtlsError.cc new file mode 100644 index 000000000..c627381b3 --- /dev/null +++ b/src/gsiqt/qt6/QtNetwork/gsiDeclQDtlsError.cc @@ -0,0 +1,59 @@ + +/* + + KLayout Layout Viewer + Copyright (C) 2006-2021 Matthias Koefferlein + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +*/ + +/** +* @file gsiDeclQDtlsError.cc +* +* DO NOT EDIT THIS FILE. +* This file has been created automatically +*/ + +#include +#include "gsiQt.h" +#include "gsiQtNetworkCommon.h" +#include + +// ----------------------------------------------------------------------- +// enum QDtlsError + + +// Implementation of the enum wrapper class for ::QDtlsError +namespace qt_gsi +{ + +static gsi::Enum decl_QDtlsError_Enum ("QtNetwork", "QDtlsError", + gsi::enum_const ("NoError", QDtlsError::NoError, "@brief Enum constant QDtlsError::NoError") + + gsi::enum_const ("InvalidInputParameters", QDtlsError::InvalidInputParameters, "@brief Enum constant QDtlsError::InvalidInputParameters") + + gsi::enum_const ("InvalidOperation", QDtlsError::InvalidOperation, "@brief Enum constant QDtlsError::InvalidOperation") + + gsi::enum_const ("UnderlyingSocketError", QDtlsError::UnderlyingSocketError, "@brief Enum constant QDtlsError::UnderlyingSocketError") + + gsi::enum_const ("RemoteClosedConnectionError", QDtlsError::RemoteClosedConnectionError, "@brief Enum constant QDtlsError::RemoteClosedConnectionError") + + gsi::enum_const ("PeerVerificationError", QDtlsError::PeerVerificationError, "@brief Enum constant QDtlsError::PeerVerificationError") + + gsi::enum_const ("TlsInitializationError", QDtlsError::TlsInitializationError, "@brief Enum constant QDtlsError::TlsInitializationError") + + gsi::enum_const ("TlsFatalError", QDtlsError::TlsFatalError, "@brief Enum constant QDtlsError::TlsFatalError") + + gsi::enum_const ("TlsNonFatalError", QDtlsError::TlsNonFatalError, "@brief Enum constant QDtlsError::TlsNonFatalError"), + "@qt\n@brief This class represents the QDtlsError enum"); + +static gsi::QFlagsClass decl_QDtlsError_Enums ("QtNetwork", "QFlags_QDtlsError", + "@qt\n@brief This class represents the QFlags flag set"); + +} + diff --git a/src/gsiqt/qt6/QtNetwork/gsiDeclQTlsPrivate.cc b/src/gsiqt/qt6/QtNetwork/gsiDeclQOcspCertificateStatus.cc similarity index 51% rename from src/gsiqt/qt6/QtNetwork/gsiDeclQTlsPrivate.cc rename to src/gsiqt/qt6/QtNetwork/gsiDeclQOcspCertificateStatus.cc index f934d312b..217d6db35 100644 --- a/src/gsiqt/qt6/QtNetwork/gsiDeclQTlsPrivate.cc +++ b/src/gsiqt/qt6/QtNetwork/gsiDeclQOcspCertificateStatus.cc @@ -21,27 +21,33 @@ */ /** -* @file gsiDeclQTlsPrivate.cc +* @file gsiDeclQOcspCertificateStatus.cc * * DO NOT EDIT THIS FILE. * This file has been created automatically */ -#include +#include #include "gsiQt.h" #include "gsiQtNetworkCommon.h" -#include "gsiDeclQtNetworkTypeTraits.h" #include // ----------------------------------------------------------------------- -// namespace QTlsPrivate +// enum QOcspCertificateStatus -class QTlsPrivate_Namespace { }; -namespace gsi +// Implementation of the enum wrapper class for ::QOcspCertificateStatus +namespace qt_gsi { -gsi::Class decl_QTlsPrivate_Namespace ("QtNetwork", "QTlsPrivate", - gsi::Methods(), - "@qt\n@brief This class represents the QTlsPrivate namespace"); + +static gsi::Enum decl_QOcspCertificateStatus_Enum ("QtNetwork", "QOcspCertificateStatus", + gsi::enum_const ("Good", QOcspCertificateStatus::Good, "@brief Enum constant QOcspCertificateStatus::Good") + + gsi::enum_const ("Revoked", QOcspCertificateStatus::Revoked, "@brief Enum constant QOcspCertificateStatus::Revoked") + + gsi::enum_const ("Unknown", QOcspCertificateStatus::Unknown, "@brief Enum constant QOcspCertificateStatus::Unknown"), + "@qt\n@brief This class represents the QOcspCertificateStatus enum"); + +static gsi::QFlagsClass decl_QOcspCertificateStatus_Enums ("QtNetwork", "QFlags_QOcspCertificateStatus", + "@qt\n@brief This class represents the QFlags flag set"); + } diff --git a/src/gsiqt/qt6/QtNetwork/gsiDeclQOcspResponse.cc b/src/gsiqt/qt6/QtNetwork/gsiDeclQOcspResponse.cc deleted file mode 100644 index ee339962b..000000000 --- a/src/gsiqt/qt6/QtNetwork/gsiDeclQOcspResponse.cc +++ /dev/null @@ -1,197 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQOcspResponse.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include "gsiQt.h" -#include "gsiQtNetworkCommon.h" -#include - -// ----------------------------------------------------------------------- -// class QOcspResponse - -// Constructor QOcspResponse::QOcspResponse() - - -static void _init_ctor_QOcspResponse_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QOcspResponse_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QOcspResponse ()); -} - - -// Constructor QOcspResponse::QOcspResponse(const QOcspResponse &other) - - -static void _init_ctor_QOcspResponse_2646 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QOcspResponse_2646 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QOcspResponse &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QOcspResponse (arg1)); -} - - -// QOcspCertificateStatus QOcspResponse::certificateStatus() - - -static void _init_f_certificateStatus_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_certificateStatus_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QOcspResponse *)cls)->certificateStatus ())); -} - - -// QOcspResponse &QOcspResponse::operator =(const QOcspResponse &other) - - -static void _init_f_operator_eq__2646 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__2646 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QOcspResponse &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QOcspResponse &)((QOcspResponse *)cls)->operator = (arg1)); -} - - -// class QSslCertificate QOcspResponse::responder() - - -static void _init_f_responder_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_responder_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((class QSslCertificate)((QOcspResponse *)cls)->responder ()); -} - - -// QOcspRevocationReason QOcspResponse::revocationReason() - - -static void _init_f_revocationReason_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_revocationReason_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QOcspResponse *)cls)->revocationReason ())); -} - - -// QOcspResponse::QSslCertificate QOcspResponse::subject() - - -static void _init_f_subject_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_subject_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QOcspResponse::QSslCertificate)((QOcspResponse *)cls)->subject ()); -} - - -// void QOcspResponse::swap(QOcspResponse &other) - - -static void _init_f_swap_1951 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_swap_1951 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QOcspResponse &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QOcspResponse *)cls)->swap (arg1); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QOcspResponse () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QOcspResponse::QOcspResponse()\nThis method creates an object of class QOcspResponse.", &_init_ctor_QOcspResponse_0, &_call_ctor_QOcspResponse_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QOcspResponse::QOcspResponse(const QOcspResponse &other)\nThis method creates an object of class QOcspResponse.", &_init_ctor_QOcspResponse_2646, &_call_ctor_QOcspResponse_2646); - methods += new qt_gsi::GenericMethod ("certificateStatus", "@brief Method QOcspCertificateStatus QOcspResponse::certificateStatus()\n", true, &_init_f_certificateStatus_c0, &_call_f_certificateStatus_c0); - methods += new qt_gsi::GenericMethod ("assign", "@brief Method QOcspResponse &QOcspResponse::operator =(const QOcspResponse &other)\n", false, &_init_f_operator_eq__2646, &_call_f_operator_eq__2646); - methods += new qt_gsi::GenericMethod ("responder", "@brief Method class QSslCertificate QOcspResponse::responder()\n", true, &_init_f_responder_c0, &_call_f_responder_c0); - methods += new qt_gsi::GenericMethod ("revocationReason", "@brief Method QOcspRevocationReason QOcspResponse::revocationReason()\n", true, &_init_f_revocationReason_c0, &_call_f_revocationReason_c0); - methods += new qt_gsi::GenericMethod ("subject", "@brief Method QOcspResponse::QSslCertificate QOcspResponse::subject()\n", true, &_init_f_subject_c0, &_call_f_subject_c0); - methods += new qt_gsi::GenericMethod ("swap", "@brief Method void QOcspResponse::swap(QOcspResponse &other)\n", false, &_init_f_swap_1951, &_call_f_swap_1951); - return methods; -} - -gsi::Class decl_QOcspResponse ("QtNetwork", "QOcspResponse", - methods_QOcspResponse (), - "@qt\n@brief Binding of QOcspResponse"); - - -GSI_QTNETWORK_PUBLIC gsi::Class &qtdecl_QOcspResponse () { return decl_QOcspResponse; } - -} - diff --git a/src/gsiqt/qt6/QtNetwork/gsiDeclQOcspRevocationReason.cc b/src/gsiqt/qt6/QtNetwork/gsiDeclQOcspRevocationReason.cc new file mode 100644 index 000000000..05ccb5b87 --- /dev/null +++ b/src/gsiqt/qt6/QtNetwork/gsiDeclQOcspRevocationReason.cc @@ -0,0 +1,59 @@ + +/* + + KLayout Layout Viewer + Copyright (C) 2006-2021 Matthias Koefferlein + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +*/ + +/** +* @file gsiDeclQOcspRevocationReason.cc +* +* DO NOT EDIT THIS FILE. +* This file has been created automatically +*/ + +#include +#include "gsiQt.h" +#include "gsiQtNetworkCommon.h" +#include + +// ----------------------------------------------------------------------- +// enum QOcspRevocationReason + + +// Implementation of the enum wrapper class for ::QOcspRevocationReason +namespace qt_gsi +{ + +static gsi::Enum decl_QOcspRevocationReason_Enum ("QtNetwork", "QOcspRevocationReason", + gsi::enum_const ("None", QOcspRevocationReason::None, "@brief Enum constant QOcspRevocationReason::None") + + gsi::enum_const ("Unspecified", QOcspRevocationReason::Unspecified, "@brief Enum constant QOcspRevocationReason::Unspecified") + + gsi::enum_const ("KeyCompromise", QOcspRevocationReason::KeyCompromise, "@brief Enum constant QOcspRevocationReason::KeyCompromise") + + gsi::enum_const ("CACompromise", QOcspRevocationReason::CACompromise, "@brief Enum constant QOcspRevocationReason::CACompromise") + + gsi::enum_const ("AffiliationChanged", QOcspRevocationReason::AffiliationChanged, "@brief Enum constant QOcspRevocationReason::AffiliationChanged") + + gsi::enum_const ("Superseded", QOcspRevocationReason::Superseded, "@brief Enum constant QOcspRevocationReason::Superseded") + + gsi::enum_const ("CessationOfOperation", QOcspRevocationReason::CessationOfOperation, "@brief Enum constant QOcspRevocationReason::CessationOfOperation") + + gsi::enum_const ("CertificateHold", QOcspRevocationReason::CertificateHold, "@brief Enum constant QOcspRevocationReason::CertificateHold") + + gsi::enum_const ("RemoveFromCRL", QOcspRevocationReason::RemoveFromCRL, "@brief Enum constant QOcspRevocationReason::RemoveFromCRL"), + "@qt\n@brief This class represents the QOcspRevocationReason enum"); + +static gsi::QFlagsClass decl_QOcspRevocationReason_Enums ("QtNetwork", "QFlags_QOcspRevocationReason", + "@qt\n@brief This class represents the QFlags flag set"); + +} + diff --git a/src/gsiqt/qt6/QtNetwork/gsiDeclQtNetworkTypeTraits.h b/src/gsiqt/qt6/QtNetwork/gsiDeclQtNetworkTypeTraits.h deleted file mode 100644 index e43dab277..000000000 --- a/src/gsiqt/qt6/QtNetwork/gsiDeclQtNetworkTypeTraits.h +++ /dev/null @@ -1,30 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file generated/gsiDeclQtNetworkTypeTraits.h -* @brief Type traits for the Qt binding classes -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - diff --git a/src/gsiqt/qt6/QtPrintSupport/gsiDeclQtPrintSupportTypeTraits.h b/src/gsiqt/qt6/QtPrintSupport/gsiDeclQtPrintSupportTypeTraits.h deleted file mode 100644 index c55e6bd6a..000000000 --- a/src/gsiqt/qt6/QtPrintSupport/gsiDeclQtPrintSupportTypeTraits.h +++ /dev/null @@ -1,30 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file generated/gsiDeclQtPrintSupportTypeTraits.h -* @brief Type traits for the Qt binding classes -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - diff --git a/src/gsiqt/qt6/QtSql/gsiDeclQtSqlTypeTraits.h b/src/gsiqt/qt6/QtSql/gsiDeclQtSqlTypeTraits.h deleted file mode 100644 index 74e0387cc..000000000 --- a/src/gsiqt/qt6/QtSql/gsiDeclQtSqlTypeTraits.h +++ /dev/null @@ -1,30 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file generated/gsiDeclQtSqlTypeTraits.h -* @brief Type traits for the Qt binding classes -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - diff --git a/src/gsiqt/qt6/QtSvg/gsiDeclQtSvgTypeTraits.h b/src/gsiqt/qt6/QtSvg/gsiDeclQtSvgTypeTraits.h deleted file mode 100644 index 5b569c325..000000000 --- a/src/gsiqt/qt6/QtSvg/gsiDeclQtSvgTypeTraits.h +++ /dev/null @@ -1,30 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file generated/gsiDeclQtSvgTypeTraits.h -* @brief Type traits for the Qt binding classes -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - diff --git a/src/gsiqt/qt6/QtUiTools/gsiDeclQtUiToolsTypeTraits.h b/src/gsiqt/qt6/QtUiTools/gsiDeclQtUiToolsTypeTraits.h deleted file mode 100644 index bbe9b9b65..000000000 --- a/src/gsiqt/qt6/QtUiTools/gsiDeclQtUiToolsTypeTraits.h +++ /dev/null @@ -1,30 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file generated/gsiDeclQtUiToolsTypeTraits.h -* @brief Type traits for the Qt binding classes -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractFileIconProvider.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractFileIconProvider.cc deleted file mode 100644 index 3c7a49df5..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractFileIconProvider.cc +++ /dev/null @@ -1,447 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAbstractFileIconProvider.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAbstractFileIconProvider - -// QIcon QAbstractFileIconProvider::icon(QAbstractFileIconProvider::IconType) - - -static void _init_f_icon_c3884 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_icon_c3884 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write ((QIcon)((QAbstractFileIconProvider *)cls)->icon (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// QIcon QAbstractFileIconProvider::icon(const QFileInfo &) - - -static void _init_f_icon_c2174 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_icon_c2174 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QFileInfo &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QIcon)((QAbstractFileIconProvider *)cls)->icon (arg1)); -} - - -// QFlags QAbstractFileIconProvider::options() - - -static void _init_f_options_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_options_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QFlags)((QAbstractFileIconProvider *)cls)->options ()); -} - - -// void QAbstractFileIconProvider::setOptions(QFlags) - - -static void _init_f_setOptions_4402 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg > (argspec_0); - decl->set_return (); -} - -static void _call_f_setOptions_4402 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QFlags arg1 = gsi::arg_reader >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractFileIconProvider *)cls)->setOptions (arg1); -} - - -// QString QAbstractFileIconProvider::type(const QFileInfo &) - - -static void _init_f_type_c2174 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_type_c2174 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QFileInfo &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QString)((QAbstractFileIconProvider *)cls)->type (arg1)); -} - - -namespace gsi -{ - -static gsi::Methods methods_QAbstractFileIconProvider () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("icon", "@brief Method QIcon QAbstractFileIconProvider::icon(QAbstractFileIconProvider::IconType)\n", true, &_init_f_icon_c3884, &_call_f_icon_c3884); - methods += new qt_gsi::GenericMethod ("icon", "@brief Method QIcon QAbstractFileIconProvider::icon(const QFileInfo &)\n", true, &_init_f_icon_c2174, &_call_f_icon_c2174); - methods += new qt_gsi::GenericMethod ("options", "@brief Method QFlags QAbstractFileIconProvider::options()\n", true, &_init_f_options_c0, &_call_f_options_c0); - methods += new qt_gsi::GenericMethod ("setOptions", "@brief Method void QAbstractFileIconProvider::setOptions(QFlags)\n", false, &_init_f_setOptions_4402, &_call_f_setOptions_4402); - methods += new qt_gsi::GenericMethod ("type", "@brief Method QString QAbstractFileIconProvider::type(const QFileInfo &)\n", true, &_init_f_type_c2174, &_call_f_type_c2174); - return methods; -} - -gsi::Class decl_QAbstractFileIconProvider ("Qt", "QAbstractFileIconProvider_Native", - methods_QAbstractFileIconProvider (), - "@hide\n@alias QAbstractFileIconProvider"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAbstractFileIconProvider () { return decl_QAbstractFileIconProvider; } - -} - - -class QAbstractFileIconProvider_Adaptor : public QAbstractFileIconProvider, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QAbstractFileIconProvider_Adaptor(); - - // [adaptor ctor] QAbstractFileIconProvider::QAbstractFileIconProvider() - QAbstractFileIconProvider_Adaptor() : QAbstractFileIconProvider() - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor impl] QIcon QAbstractFileIconProvider::icon(QAbstractFileIconProvider::IconType) - QIcon cbs_icon_c3884_0(const qt_gsi::Converter::target_type & arg1) const - { - return QAbstractFileIconProvider::icon(qt_gsi::QtToCppAdaptor(arg1).cref()); - } - - virtual QIcon icon(QAbstractFileIconProvider::IconType arg1) const - { - if (cb_icon_c3884_0.can_issue()) { - return cb_icon_c3884_0.issue::target_type &>(&QAbstractFileIconProvider_Adaptor::cbs_icon_c3884_0, qt_gsi::CppToQtAdaptor(arg1)); - } else { - return QAbstractFileIconProvider::icon(arg1); - } - } - - // [adaptor impl] QIcon QAbstractFileIconProvider::icon(const QFileInfo &) - QIcon cbs_icon_c2174_0(const QFileInfo &arg1) const - { - return QAbstractFileIconProvider::icon(arg1); - } - - virtual QIcon icon(const QFileInfo &arg1) const - { - if (cb_icon_c2174_0.can_issue()) { - return cb_icon_c2174_0.issue(&QAbstractFileIconProvider_Adaptor::cbs_icon_c2174_0, arg1); - } else { - return QAbstractFileIconProvider::icon(arg1); - } - } - - // [adaptor impl] QFlags QAbstractFileIconProvider::options() - QFlags cbs_options_c0_0() const - { - return QAbstractFileIconProvider::options(); - } - - virtual QFlags options() const - { - if (cb_options_c0_0.can_issue()) { - return cb_options_c0_0.issue >(&QAbstractFileIconProvider_Adaptor::cbs_options_c0_0); - } else { - return QAbstractFileIconProvider::options(); - } - } - - // [adaptor impl] void QAbstractFileIconProvider::setOptions(QFlags) - void cbs_setOptions_4402_0(QFlags arg1) - { - QAbstractFileIconProvider::setOptions(arg1); - } - - virtual void setOptions(QFlags arg1) - { - if (cb_setOptions_4402_0.can_issue()) { - cb_setOptions_4402_0.issue >(&QAbstractFileIconProvider_Adaptor::cbs_setOptions_4402_0, arg1); - } else { - QAbstractFileIconProvider::setOptions(arg1); - } - } - - // [adaptor impl] QString QAbstractFileIconProvider::type(const QFileInfo &) - QString cbs_type_c2174_0(const QFileInfo &arg1) const - { - return QAbstractFileIconProvider::type(arg1); - } - - virtual QString type(const QFileInfo &arg1) const - { - if (cb_type_c2174_0.can_issue()) { - return cb_type_c2174_0.issue(&QAbstractFileIconProvider_Adaptor::cbs_type_c2174_0, arg1); - } else { - return QAbstractFileIconProvider::type(arg1); - } - } - - gsi::Callback cb_icon_c3884_0; - gsi::Callback cb_icon_c2174_0; - gsi::Callback cb_options_c0_0; - gsi::Callback cb_setOptions_4402_0; - gsi::Callback cb_type_c2174_0; -}; - -QAbstractFileIconProvider_Adaptor::~QAbstractFileIconProvider_Adaptor() { } - -// Constructor QAbstractFileIconProvider::QAbstractFileIconProvider() (adaptor class) - -static void _init_ctor_QAbstractFileIconProvider_Adaptor_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QAbstractFileIconProvider_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QAbstractFileIconProvider_Adaptor ()); -} - - -// QIcon QAbstractFileIconProvider::icon(QAbstractFileIconProvider::IconType) - -static void _init_cbs_icon_c3884_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_cbs_icon_c3884_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = args.read::target_type & > (heap); - ret.write ((QIcon)((QAbstractFileIconProvider_Adaptor *)cls)->cbs_icon_c3884_0 (arg1)); -} - -static void _set_callback_cbs_icon_c3884_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractFileIconProvider_Adaptor *)cls)->cb_icon_c3884_0 = cb; -} - - -// QIcon QAbstractFileIconProvider::icon(const QFileInfo &) - -static void _init_cbs_icon_c2174_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_icon_c2174_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QFileInfo &arg1 = args.read (heap); - ret.write ((QIcon)((QAbstractFileIconProvider_Adaptor *)cls)->cbs_icon_c2174_0 (arg1)); -} - -static void _set_callback_cbs_icon_c2174_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractFileIconProvider_Adaptor *)cls)->cb_icon_c2174_0 = cb; -} - - -// QFlags QAbstractFileIconProvider::options() - -static void _init_cbs_options_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_cbs_options_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QFlags)((QAbstractFileIconProvider_Adaptor *)cls)->cbs_options_c0_0 ()); -} - -static void _set_callback_cbs_options_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractFileIconProvider_Adaptor *)cls)->cb_options_c0_0 = cb; -} - - -// void QAbstractFileIconProvider::setOptions(QFlags) - -static void _init_cbs_setOptions_4402_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg > (argspec_0); - decl->set_return (); -} - -static void _call_cbs_setOptions_4402_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QFlags arg1 = args.read > (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractFileIconProvider_Adaptor *)cls)->cbs_setOptions_4402_0 (arg1); -} - -static void _set_callback_cbs_setOptions_4402_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractFileIconProvider_Adaptor *)cls)->cb_setOptions_4402_0 = cb; -} - - -// QString QAbstractFileIconProvider::type(const QFileInfo &) - -static void _init_cbs_type_c2174_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_type_c2174_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QFileInfo &arg1 = args.read (heap); - ret.write ((QString)((QAbstractFileIconProvider_Adaptor *)cls)->cbs_type_c2174_0 (arg1)); -} - -static void _set_callback_cbs_type_c2174_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractFileIconProvider_Adaptor *)cls)->cb_type_c2174_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QAbstractFileIconProvider (); - -static gsi::Methods methods_QAbstractFileIconProvider_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractFileIconProvider::QAbstractFileIconProvider()\nThis method creates an object of class QAbstractFileIconProvider.", &_init_ctor_QAbstractFileIconProvider_Adaptor_0, &_call_ctor_QAbstractFileIconProvider_Adaptor_0); - methods += new qt_gsi::GenericMethod ("icon", "@brief Virtual method QIcon QAbstractFileIconProvider::icon(QAbstractFileIconProvider::IconType)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_icon_c3884_0, &_call_cbs_icon_c3884_0); - methods += new qt_gsi::GenericMethod ("icon", "@hide", true, &_init_cbs_icon_c3884_0, &_call_cbs_icon_c3884_0, &_set_callback_cbs_icon_c3884_0); - methods += new qt_gsi::GenericMethod ("icon", "@brief Virtual method QIcon QAbstractFileIconProvider::icon(const QFileInfo &)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_icon_c2174_0, &_call_cbs_icon_c2174_0); - methods += new qt_gsi::GenericMethod ("icon", "@hide", true, &_init_cbs_icon_c2174_0, &_call_cbs_icon_c2174_0, &_set_callback_cbs_icon_c2174_0); - methods += new qt_gsi::GenericMethod ("options", "@brief Virtual method QFlags QAbstractFileIconProvider::options()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_options_c0_0, &_call_cbs_options_c0_0); - methods += new qt_gsi::GenericMethod ("options", "@hide", true, &_init_cbs_options_c0_0, &_call_cbs_options_c0_0, &_set_callback_cbs_options_c0_0); - methods += new qt_gsi::GenericMethod ("setOptions", "@brief Virtual method void QAbstractFileIconProvider::setOptions(QFlags)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setOptions_4402_0, &_call_cbs_setOptions_4402_0); - methods += new qt_gsi::GenericMethod ("setOptions", "@hide", false, &_init_cbs_setOptions_4402_0, &_call_cbs_setOptions_4402_0, &_set_callback_cbs_setOptions_4402_0); - methods += new qt_gsi::GenericMethod ("type", "@brief Virtual method QString QAbstractFileIconProvider::type(const QFileInfo &)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_type_c2174_0, &_call_cbs_type_c2174_0); - methods += new qt_gsi::GenericMethod ("type", "@hide", true, &_init_cbs_type_c2174_0, &_call_cbs_type_c2174_0, &_set_callback_cbs_type_c2174_0); - return methods; -} - -gsi::Class decl_QAbstractFileIconProvider_Adaptor (qtdecl_QAbstractFileIconProvider (), "Qt", "QAbstractFileIconProvider", - methods_QAbstractFileIconProvider_Adaptor (), - "@qt\n@brief Binding of QAbstractFileIconProvider"); - -} - - -// Implementation of the enum wrapper class for QAbstractFileIconProvider::IconType -namespace qt_gsi -{ - -static gsi::Enum decl_QAbstractFileIconProvider_IconType_Enum ("Qt", "QAbstractFileIconProvider_IconType", - gsi::enum_const ("Computer", QAbstractFileIconProvider::Computer, "@brief Enum constant QAbstractFileIconProvider::Computer") + - gsi::enum_const ("Desktop", QAbstractFileIconProvider::Desktop, "@brief Enum constant QAbstractFileIconProvider::Desktop") + - gsi::enum_const ("Trashcan", QAbstractFileIconProvider::Trashcan, "@brief Enum constant QAbstractFileIconProvider::Trashcan") + - gsi::enum_const ("Network", QAbstractFileIconProvider::Network, "@brief Enum constant QAbstractFileIconProvider::Network") + - gsi::enum_const ("Drive", QAbstractFileIconProvider::Drive, "@brief Enum constant QAbstractFileIconProvider::Drive") + - gsi::enum_const ("Folder", QAbstractFileIconProvider::Folder, "@brief Enum constant QAbstractFileIconProvider::Folder") + - gsi::enum_const ("File", QAbstractFileIconProvider::File, "@brief Enum constant QAbstractFileIconProvider::File"), - "@qt\n@brief This class represents the QAbstractFileIconProvider::IconType enum"); - -static gsi::QFlagsClass decl_QAbstractFileIconProvider_IconType_Enums ("Qt", "QAbstractFileIconProvider_QFlags_IconType", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QAbstractFileIconProvider_IconType_Enum_in_parent (decl_QAbstractFileIconProvider_IconType_Enum.defs ()); -static gsi::ClassExt decl_QAbstractFileIconProvider_IconType_Enum_as_child (decl_QAbstractFileIconProvider_IconType_Enum, "IconType"); -static gsi::ClassExt decl_QAbstractFileIconProvider_IconType_Enums_as_child (decl_QAbstractFileIconProvider_IconType_Enums, "QFlags_IconType"); - -} - - -// Implementation of the enum wrapper class for QAbstractFileIconProvider::Option -namespace qt_gsi -{ - -static gsi::Enum decl_QAbstractFileIconProvider_Option_Enum ("Qt", "QAbstractFileIconProvider_Option", - gsi::enum_const ("DontUseCustomDirectoryIcons", QAbstractFileIconProvider::DontUseCustomDirectoryIcons, "@brief Enum constant QAbstractFileIconProvider::DontUseCustomDirectoryIcons"), - "@qt\n@brief This class represents the QAbstractFileIconProvider::Option enum"); - -static gsi::QFlagsClass decl_QAbstractFileIconProvider_Option_Enums ("Qt", "QAbstractFileIconProvider_QFlags_Option", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QAbstractFileIconProvider_Option_Enum_in_parent (decl_QAbstractFileIconProvider_Option_Enum.defs ()); -static gsi::ClassExt decl_QAbstractFileIconProvider_Option_Enum_as_child (decl_QAbstractFileIconProvider_Option_Enum, "Option"); -static gsi::ClassExt decl_QAbstractFileIconProvider_Option_Enums_as_child (decl_QAbstractFileIconProvider_Option_Enums, "QFlags_Option"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractItemModel.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractItemModel.cc deleted file mode 100644 index f1272fc9b..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractItemModel.cc +++ /dev/null @@ -1,4456 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAbstractItemModel.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAbstractItemModel - -// get static meta object - -static void _init_smo (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, gsi::SerialArgs &ret) -{ - ret.write (QAbstractItemModel::staticMetaObject); -} - - -// QModelIndex QAbstractItemModel::buddy(const QModelIndex &index) - - -static void _init_f_buddy_c2395 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_buddy_c2395 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QModelIndex)((QAbstractItemModel *)cls)->buddy (arg1)); -} - - -// bool QAbstractItemModel::canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) - - -static void _init_f_canDropMimeData_c7425 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("action"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("row"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("column"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("parent"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_canDropMimeData_c7425 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMimeData *arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = gsi::arg_reader::target_type & >() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - const QModelIndex &arg5 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAbstractItemModel *)cls)->canDropMimeData (arg1, qt_gsi::QtToCppAdaptor(arg2).cref(), arg3, arg4, arg5)); -} - - -// bool QAbstractItemModel::canFetchMore(const QModelIndex &parent) - - -static void _init_f_canFetchMore_c2395 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_canFetchMore_c2395 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAbstractItemModel *)cls)->canFetchMore (arg1)); -} - - -// bool QAbstractItemModel::checkIndex(const QModelIndex &index, QFlags options) - - -static void _init_f_checkIndex_c6947 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("options", true, "QAbstractItemModel::CheckIndexOption::NoOption"); - decl->add_arg > (argspec_1); - decl->set_return (); -} - -static void _call_f_checkIndex_c6947 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - QFlags arg2 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (QAbstractItemModel::CheckIndexOption::NoOption, heap); - ret.write ((bool)((QAbstractItemModel *)cls)->checkIndex (arg1, arg2)); -} - - -// bool QAbstractItemModel::clearItemData(const QModelIndex &index) - - -static void _init_f_clearItemData_2395 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_clearItemData_2395 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAbstractItemModel *)cls)->clearItemData (arg1)); -} - - -// int QAbstractItemModel::columnCount(const QModelIndex &parent) - - -static void _init_f_columnCount_c2395 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent", true, "QModelIndex()"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_columnCount_c2395 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QModelIndex(), heap); - ret.write ((int)((QAbstractItemModel *)cls)->columnCount (arg1)); -} - - -// QVariant QAbstractItemModel::data(const QModelIndex &index, int role) - - -static void _init_f_data_c3054 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("role", true, "Qt::DisplayRole"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_data_c3054 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (Qt::DisplayRole, heap); - ret.write ((QVariant)((QAbstractItemModel *)cls)->data (arg1, arg2)); -} - - -// bool QAbstractItemModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) - - -static void _init_f_dropMimeData_7425 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("action"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("row"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("column"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("parent"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_dropMimeData_7425 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMimeData *arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = gsi::arg_reader::target_type & >() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - const QModelIndex &arg5 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAbstractItemModel *)cls)->dropMimeData (arg1, qt_gsi::QtToCppAdaptor(arg2).cref(), arg3, arg4, arg5)); -} - - -// void QAbstractItemModel::fetchMore(const QModelIndex &parent) - - -static void _init_f_fetchMore_2395 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_fetchMore_2395 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel *)cls)->fetchMore (arg1); -} - - -// QFlags QAbstractItemModel::flags(const QModelIndex &index) - - -static void _init_f_flags_c2395 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - decl->set_return > (); -} - -static void _call_f_flags_c2395 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - ret.write > ((QFlags)((QAbstractItemModel *)cls)->flags (arg1)); -} - - -// bool QAbstractItemModel::hasChildren(const QModelIndex &parent) - - -static void _init_f_hasChildren_c2395 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent", true, "QModelIndex()"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_hasChildren_c2395 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QModelIndex(), heap); - ret.write ((bool)((QAbstractItemModel *)cls)->hasChildren (arg1)); -} - - -// bool QAbstractItemModel::hasIndex(int row, int column, const QModelIndex &parent) - - -static void _init_f_hasIndex_c3713 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("column"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent", true, "QModelIndex()"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_hasIndex_c3713 (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); - int arg2 = gsi::arg_reader() (args, heap); - const QModelIndex &arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QModelIndex(), heap); - ret.write ((bool)((QAbstractItemModel *)cls)->hasIndex (arg1, arg2, arg3)); -} - - -// QVariant QAbstractItemModel::headerData(int section, Qt::Orientation orientation, int role) - - -static void _init_f_headerData_c3231 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("section"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("orientation"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("role", true, "Qt::DisplayRole"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_headerData_c3231 (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); - const qt_gsi::Converter::target_type & arg2 = gsi::arg_reader::target_type & >() (args, heap); - int arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (Qt::DisplayRole, heap); - ret.write ((QVariant)((QAbstractItemModel *)cls)->headerData (arg1, qt_gsi::QtToCppAdaptor(arg2).cref(), arg3)); -} - - -// QModelIndex QAbstractItemModel::index(int row, int column, const QModelIndex &parent) - - -static void _init_f_index_c3713 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("column"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent", true, "QModelIndex()"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_index_c3713 (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); - int arg2 = gsi::arg_reader() (args, heap); - const QModelIndex &arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QModelIndex(), heap); - ret.write ((QModelIndex)((QAbstractItemModel *)cls)->index (arg1, arg2, arg3)); -} - - -// bool QAbstractItemModel::insertColumn(int column, const QModelIndex &parent) - - -static void _init_f_insertColumn_3054 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("column"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("parent", true, "QModelIndex()"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_insertColumn_3054 (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); - const QModelIndex &arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QModelIndex(), heap); - ret.write ((bool)((QAbstractItemModel *)cls)->insertColumn (arg1, arg2)); -} - - -// bool QAbstractItemModel::insertColumns(int column, int count, const QModelIndex &parent) - - -static void _init_f_insertColumns_3713 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("column"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent", true, "QModelIndex()"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_insertColumns_3713 (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); - int arg2 = gsi::arg_reader() (args, heap); - const QModelIndex &arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QModelIndex(), heap); - ret.write ((bool)((QAbstractItemModel *)cls)->insertColumns (arg1, arg2, arg3)); -} - - -// bool QAbstractItemModel::insertRow(int row, const QModelIndex &parent) - - -static void _init_f_insertRow_3054 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("parent", true, "QModelIndex()"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_insertRow_3054 (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); - const QModelIndex &arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QModelIndex(), heap); - ret.write ((bool)((QAbstractItemModel *)cls)->insertRow (arg1, arg2)); -} - - -// bool QAbstractItemModel::insertRows(int row, int count, const QModelIndex &parent) - - -static void _init_f_insertRows_3713 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent", true, "QModelIndex()"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_insertRows_3713 (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); - int arg2 = gsi::arg_reader() (args, heap); - const QModelIndex &arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QModelIndex(), heap); - ret.write ((bool)((QAbstractItemModel *)cls)->insertRows (arg1, arg2, arg3)); -} - - -// QMap QAbstractItemModel::itemData(const QModelIndex &index) - - -static void _init_f_itemData_c2395 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - decl->set_return > (); -} - -static void _call_f_itemData_c2395 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - ret.write > ((QMap)((QAbstractItemModel *)cls)->itemData (arg1)); -} - - -// QList QAbstractItemModel::match(const QModelIndex &start, int role, const QVariant &value, int hits, QFlags flags) - - -static void _init_f_match_c7932 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("start"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("role"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("value"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("hits", true, "1"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("flags", true, "Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)"); - decl->add_arg > (argspec_4); - decl->set_return > (); -} - -static void _call_f_match_c7932 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - const QVariant &arg3 = gsi::arg_reader() (args, heap); - int arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (1, heap); - QFlags arg5 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap), heap); - ret.write > ((QList)((QAbstractItemModel *)cls)->match (arg1, arg2, arg3, arg4, arg5)); -} - - -// QMimeData *QAbstractItemModel::mimeData(const QList &indexes) - - -static void _init_f_mimeData_c3010 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("indexes"); - decl->add_arg & > (argspec_0); - decl->set_return (); -} - -static void _call_f_mimeData_c3010 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QList &arg1 = gsi::arg_reader & >() (args, heap); - ret.write ((QMimeData *)((QAbstractItemModel *)cls)->mimeData (arg1)); -} - - -// QStringList QAbstractItemModel::mimeTypes() - - -static void _init_f_mimeTypes_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_mimeTypes_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QStringList)((QAbstractItemModel *)cls)->mimeTypes ()); -} - - -// bool QAbstractItemModel::moveColumn(const QModelIndex &sourceParent, int sourceColumn, const QModelIndex &destinationParent, int destinationChild) - - -static void _init_f_moveColumn_6000 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sourceParent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sourceColumn"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("destinationParent"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destinationChild"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_moveColumn_6000 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - const QModelIndex &arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAbstractItemModel *)cls)->moveColumn (arg1, arg2, arg3, arg4)); -} - - -// bool QAbstractItemModel::moveColumns(const QModelIndex &sourceParent, int sourceColumn, int count, const QModelIndex &destinationParent, int destinationChild) - - -static void _init_f_moveColumns_6659 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sourceParent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sourceColumn"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destinationParent"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("destinationChild"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_moveColumns_6659 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const QModelIndex &arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAbstractItemModel *)cls)->moveColumns (arg1, arg2, arg3, arg4, arg5)); -} - - -// bool QAbstractItemModel::moveRow(const QModelIndex &sourceParent, int sourceRow, const QModelIndex &destinationParent, int destinationChild) - - -static void _init_f_moveRow_6000 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sourceParent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sourceRow"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("destinationParent"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destinationChild"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_moveRow_6000 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - const QModelIndex &arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAbstractItemModel *)cls)->moveRow (arg1, arg2, arg3, arg4)); -} - - -// bool QAbstractItemModel::moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) - - -static void _init_f_moveRows_6659 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sourceParent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sourceRow"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destinationParent"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("destinationChild"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_moveRows_6659 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const QModelIndex &arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAbstractItemModel *)cls)->moveRows (arg1, arg2, arg3, arg4, arg5)); -} - - -// void QAbstractItemModel::multiData(const QModelIndex &index, QModelRoleDataSpan roleDataSpan) - - -static void _init_f_multiData_c4483 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("roleDataSpan"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_multiData_c4483 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - QModelRoleDataSpan arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel *)cls)->multiData (arg1, arg2); -} - - -// QModelIndex QAbstractItemModel::parent(const QModelIndex &child) - - -static void _init_f_parent_c2395 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("child"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_parent_c2395 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QModelIndex)((QAbstractItemModel *)cls)->parent (arg1)); -} - - -// QObject *QAbstractItemModel::parent() - - -static void _init_f_parent_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_parent_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QObject *)((QAbstractItemModel *)cls)->parent ()); -} - - -// bool QAbstractItemModel::removeColumn(int column, const QModelIndex &parent) - - -static void _init_f_removeColumn_3054 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("column"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("parent", true, "QModelIndex()"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_removeColumn_3054 (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); - const QModelIndex &arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QModelIndex(), heap); - ret.write ((bool)((QAbstractItemModel *)cls)->removeColumn (arg1, arg2)); -} - - -// bool QAbstractItemModel::removeColumns(int column, int count, const QModelIndex &parent) - - -static void _init_f_removeColumns_3713 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("column"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent", true, "QModelIndex()"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_removeColumns_3713 (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); - int arg2 = gsi::arg_reader() (args, heap); - const QModelIndex &arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QModelIndex(), heap); - ret.write ((bool)((QAbstractItemModel *)cls)->removeColumns (arg1, arg2, arg3)); -} - - -// bool QAbstractItemModel::removeRow(int row, const QModelIndex &parent) - - -static void _init_f_removeRow_3054 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("parent", true, "QModelIndex()"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_removeRow_3054 (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); - const QModelIndex &arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QModelIndex(), heap); - ret.write ((bool)((QAbstractItemModel *)cls)->removeRow (arg1, arg2)); -} - - -// bool QAbstractItemModel::removeRows(int row, int count, const QModelIndex &parent) - - -static void _init_f_removeRows_3713 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent", true, "QModelIndex()"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_removeRows_3713 (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); - int arg2 = gsi::arg_reader() (args, heap); - const QModelIndex &arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QModelIndex(), heap); - ret.write ((bool)((QAbstractItemModel *)cls)->removeRows (arg1, arg2, arg3)); -} - - -// void QAbstractItemModel::revert() - - -static void _init_f_revert_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_revert_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel *)cls)->revert (); -} - - -// QHash QAbstractItemModel::roleNames() - - -static void _init_f_roleNames_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_roleNames_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QHash)((QAbstractItemModel *)cls)->roleNames ()); -} - - -// int QAbstractItemModel::rowCount(const QModelIndex &parent) - - -static void _init_f_rowCount_c2395 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent", true, "QModelIndex()"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_rowCount_c2395 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QModelIndex(), heap); - ret.write ((int)((QAbstractItemModel *)cls)->rowCount (arg1)); -} - - -// bool QAbstractItemModel::setData(const QModelIndex &index, const QVariant &value, int role) - - -static void _init_f_setData_5065 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("value"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("role", true, "Qt::EditRole"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_setData_5065 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - const QVariant &arg2 = gsi::arg_reader() (args, heap); - int arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (Qt::EditRole, heap); - ret.write ((bool)((QAbstractItemModel *)cls)->setData (arg1, arg2, arg3)); -} - - -// bool QAbstractItemModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role) - - -static void _init_f_setHeaderData_5242 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("section"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("orientation"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("value"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("role", true, "Qt::EditRole"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_setHeaderData_5242 (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); - const qt_gsi::Converter::target_type & arg2 = gsi::arg_reader::target_type & >() (args, heap); - const QVariant &arg3 = gsi::arg_reader() (args, heap); - int arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (Qt::EditRole, heap); - ret.write ((bool)((QAbstractItemModel *)cls)->setHeaderData (arg1, qt_gsi::QtToCppAdaptor(arg2).cref(), arg3, arg4)); -} - - -// bool QAbstractItemModel::setItemData(const QModelIndex &index, const QMap &roles) - - -static void _init_f_setItemData_5414 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("roles"); - decl->add_arg & > (argspec_1); - decl->set_return (); -} - -static void _call_f_setItemData_5414 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - const QMap &arg2 = gsi::arg_reader & >() (args, heap); - ret.write ((bool)((QAbstractItemModel *)cls)->setItemData (arg1, arg2)); -} - - -// QModelIndex QAbstractItemModel::sibling(int row, int column, const QModelIndex &idx) - - -static void _init_f_sibling_c3713 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("column"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("idx"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_sibling_c3713 (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); - int arg2 = gsi::arg_reader() (args, heap); - const QModelIndex &arg3 = gsi::arg_reader() (args, heap); - ret.write ((QModelIndex)((QAbstractItemModel *)cls)->sibling (arg1, arg2, arg3)); -} - - -// void QAbstractItemModel::sort(int column, Qt::SortOrder order) - - -static void _init_f_sort_2340 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("column"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("order", true, "Qt::AscendingOrder"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_sort_2340 (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); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::AscendingOrder), heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel *)cls)->sort (arg1, qt_gsi::QtToCppAdaptor(arg2).cref()); -} - - -// QSize QAbstractItemModel::span(const QModelIndex &index) - - -static void _init_f_span_c2395 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_span_c2395 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QSize)((QAbstractItemModel *)cls)->span (arg1)); -} - - -// bool QAbstractItemModel::submit() - - -static void _init_f_submit_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_submit_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QAbstractItemModel *)cls)->submit ()); -} - - -// QFlags QAbstractItemModel::supportedDragActions() - - -static void _init_f_supportedDragActions_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_supportedDragActions_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QFlags)((QAbstractItemModel *)cls)->supportedDragActions ()); -} - - -// QFlags QAbstractItemModel::supportedDropActions() - - -static void _init_f_supportedDropActions_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_supportedDropActions_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QFlags)((QAbstractItemModel *)cls)->supportedDropActions ()); -} - - -// static QString QAbstractItemModel::tr(const char *s, const char *c, int n) - - -static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("c", true, "nullptr"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("n", true, "-1"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - const char *arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - int arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (-1, heap); - ret.write ((QString)QAbstractItemModel::tr (arg1, arg2, arg3)); -} - - -namespace gsi -{ - -static gsi::Methods methods_QAbstractItemModel () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("staticMetaObject", "@brief Obtains the static MetaObject for this class.", &_init_smo, &_call_smo); - methods += new qt_gsi::GenericMethod ("buddy", "@brief Method QModelIndex QAbstractItemModel::buddy(const QModelIndex &index)\n", true, &_init_f_buddy_c2395, &_call_f_buddy_c2395); - methods += new qt_gsi::GenericMethod ("canDropMimeData", "@brief Method bool QAbstractItemModel::canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)\n", true, &_init_f_canDropMimeData_c7425, &_call_f_canDropMimeData_c7425); - methods += new qt_gsi::GenericMethod ("canFetchMore", "@brief Method bool QAbstractItemModel::canFetchMore(const QModelIndex &parent)\n", true, &_init_f_canFetchMore_c2395, &_call_f_canFetchMore_c2395); - methods += new qt_gsi::GenericMethod ("checkIndex", "@brief Method bool QAbstractItemModel::checkIndex(const QModelIndex &index, QFlags options)\n", true, &_init_f_checkIndex_c6947, &_call_f_checkIndex_c6947); - methods += new qt_gsi::GenericMethod ("clearItemData", "@brief Method bool QAbstractItemModel::clearItemData(const QModelIndex &index)\n", false, &_init_f_clearItemData_2395, &_call_f_clearItemData_2395); - methods += new qt_gsi::GenericMethod ("columnCount", "@brief Method int QAbstractItemModel::columnCount(const QModelIndex &parent)\n", true, &_init_f_columnCount_c2395, &_call_f_columnCount_c2395); - methods += new qt_gsi::GenericMethod ("data", "@brief Method QVariant QAbstractItemModel::data(const QModelIndex &index, int role)\n", true, &_init_f_data_c3054, &_call_f_data_c3054); - methods += new qt_gsi::GenericMethod ("dropMimeData", "@brief Method bool QAbstractItemModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)\n", false, &_init_f_dropMimeData_7425, &_call_f_dropMimeData_7425); - methods += new qt_gsi::GenericMethod ("fetchMore", "@brief Method void QAbstractItemModel::fetchMore(const QModelIndex &parent)\n", false, &_init_f_fetchMore_2395, &_call_f_fetchMore_2395); - methods += new qt_gsi::GenericMethod ("flags", "@brief Method QFlags QAbstractItemModel::flags(const QModelIndex &index)\n", true, &_init_f_flags_c2395, &_call_f_flags_c2395); - methods += new qt_gsi::GenericMethod ("hasChildren", "@brief Method bool QAbstractItemModel::hasChildren(const QModelIndex &parent)\n", true, &_init_f_hasChildren_c2395, &_call_f_hasChildren_c2395); - methods += new qt_gsi::GenericMethod ("hasIndex", "@brief Method bool QAbstractItemModel::hasIndex(int row, int column, const QModelIndex &parent)\n", true, &_init_f_hasIndex_c3713, &_call_f_hasIndex_c3713); - methods += new qt_gsi::GenericMethod ("headerData", "@brief Method QVariant QAbstractItemModel::headerData(int section, Qt::Orientation orientation, int role)\n", true, &_init_f_headerData_c3231, &_call_f_headerData_c3231); - methods += new qt_gsi::GenericMethod ("index", "@brief Method QModelIndex QAbstractItemModel::index(int row, int column, const QModelIndex &parent)\n", true, &_init_f_index_c3713, &_call_f_index_c3713); - methods += new qt_gsi::GenericMethod ("insertColumn", "@brief Method bool QAbstractItemModel::insertColumn(int column, const QModelIndex &parent)\n", false, &_init_f_insertColumn_3054, &_call_f_insertColumn_3054); - methods += new qt_gsi::GenericMethod ("insertColumns", "@brief Method bool QAbstractItemModel::insertColumns(int column, int count, const QModelIndex &parent)\n", false, &_init_f_insertColumns_3713, &_call_f_insertColumns_3713); - methods += new qt_gsi::GenericMethod ("insertRow", "@brief Method bool QAbstractItemModel::insertRow(int row, const QModelIndex &parent)\n", false, &_init_f_insertRow_3054, &_call_f_insertRow_3054); - methods += new qt_gsi::GenericMethod ("insertRows", "@brief Method bool QAbstractItemModel::insertRows(int row, int count, const QModelIndex &parent)\n", false, &_init_f_insertRows_3713, &_call_f_insertRows_3713); - methods += new qt_gsi::GenericMethod ("itemData", "@brief Method QMap QAbstractItemModel::itemData(const QModelIndex &index)\n", true, &_init_f_itemData_c2395, &_call_f_itemData_c2395); - methods += new qt_gsi::GenericMethod ("match", "@brief Method QList QAbstractItemModel::match(const QModelIndex &start, int role, const QVariant &value, int hits, QFlags flags)\n", true, &_init_f_match_c7932, &_call_f_match_c7932); - methods += new qt_gsi::GenericMethod ("mimeData", "@brief Method QMimeData *QAbstractItemModel::mimeData(const QList &indexes)\n", true, &_init_f_mimeData_c3010, &_call_f_mimeData_c3010); - methods += new qt_gsi::GenericMethod ("mimeTypes", "@brief Method QStringList QAbstractItemModel::mimeTypes()\n", true, &_init_f_mimeTypes_c0, &_call_f_mimeTypes_c0); - methods += new qt_gsi::GenericMethod ("moveColumn", "@brief Method bool QAbstractItemModel::moveColumn(const QModelIndex &sourceParent, int sourceColumn, const QModelIndex &destinationParent, int destinationChild)\n", false, &_init_f_moveColumn_6000, &_call_f_moveColumn_6000); - methods += new qt_gsi::GenericMethod ("moveColumns", "@brief Method bool QAbstractItemModel::moveColumns(const QModelIndex &sourceParent, int sourceColumn, int count, const QModelIndex &destinationParent, int destinationChild)\n", false, &_init_f_moveColumns_6659, &_call_f_moveColumns_6659); - methods += new qt_gsi::GenericMethod ("moveRow", "@brief Method bool QAbstractItemModel::moveRow(const QModelIndex &sourceParent, int sourceRow, const QModelIndex &destinationParent, int destinationChild)\n", false, &_init_f_moveRow_6000, &_call_f_moveRow_6000); - methods += new qt_gsi::GenericMethod ("moveRows", "@brief Method bool QAbstractItemModel::moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild)\n", false, &_init_f_moveRows_6659, &_call_f_moveRows_6659); - methods += new qt_gsi::GenericMethod ("multiData", "@brief Method void QAbstractItemModel::multiData(const QModelIndex &index, QModelRoleDataSpan roleDataSpan)\n", true, &_init_f_multiData_c4483, &_call_f_multiData_c4483); - methods += new qt_gsi::GenericMethod ("parent", "@brief Method QModelIndex QAbstractItemModel::parent(const QModelIndex &child)\n", true, &_init_f_parent_c2395, &_call_f_parent_c2395); - methods += new qt_gsi::GenericMethod (":parent", "@brief Method QObject *QAbstractItemModel::parent()\n", true, &_init_f_parent_c0, &_call_f_parent_c0); - methods += new qt_gsi::GenericMethod ("removeColumn", "@brief Method bool QAbstractItemModel::removeColumn(int column, const QModelIndex &parent)\n", false, &_init_f_removeColumn_3054, &_call_f_removeColumn_3054); - methods += new qt_gsi::GenericMethod ("removeColumns", "@brief Method bool QAbstractItemModel::removeColumns(int column, int count, const QModelIndex &parent)\n", false, &_init_f_removeColumns_3713, &_call_f_removeColumns_3713); - methods += new qt_gsi::GenericMethod ("removeRow", "@brief Method bool QAbstractItemModel::removeRow(int row, const QModelIndex &parent)\n", false, &_init_f_removeRow_3054, &_call_f_removeRow_3054); - methods += new qt_gsi::GenericMethod ("removeRows", "@brief Method bool QAbstractItemModel::removeRows(int row, int count, const QModelIndex &parent)\n", false, &_init_f_removeRows_3713, &_call_f_removeRows_3713); - methods += new qt_gsi::GenericMethod ("revert", "@brief Method void QAbstractItemModel::revert()\n", false, &_init_f_revert_0, &_call_f_revert_0); - methods += new qt_gsi::GenericMethod ("roleNames", "@brief Method QHash QAbstractItemModel::roleNames()\n", true, &_init_f_roleNames_c0, &_call_f_roleNames_c0); - methods += new qt_gsi::GenericMethod ("rowCount", "@brief Method int QAbstractItemModel::rowCount(const QModelIndex &parent)\n", true, &_init_f_rowCount_c2395, &_call_f_rowCount_c2395); - methods += new qt_gsi::GenericMethod ("setData", "@brief Method bool QAbstractItemModel::setData(const QModelIndex &index, const QVariant &value, int role)\n", false, &_init_f_setData_5065, &_call_f_setData_5065); - methods += new qt_gsi::GenericMethod ("setHeaderData", "@brief Method bool QAbstractItemModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role)\n", false, &_init_f_setHeaderData_5242, &_call_f_setHeaderData_5242); - methods += new qt_gsi::GenericMethod ("setItemData", "@brief Method bool QAbstractItemModel::setItemData(const QModelIndex &index, const QMap &roles)\n", false, &_init_f_setItemData_5414, &_call_f_setItemData_5414); - methods += new qt_gsi::GenericMethod ("sibling", "@brief Method QModelIndex QAbstractItemModel::sibling(int row, int column, const QModelIndex &idx)\n", true, &_init_f_sibling_c3713, &_call_f_sibling_c3713); - methods += new qt_gsi::GenericMethod ("sort", "@brief Method void QAbstractItemModel::sort(int column, Qt::SortOrder order)\n", false, &_init_f_sort_2340, &_call_f_sort_2340); - methods += new qt_gsi::GenericMethod ("span", "@brief Method QSize QAbstractItemModel::span(const QModelIndex &index)\n", true, &_init_f_span_c2395, &_call_f_span_c2395); - methods += new qt_gsi::GenericMethod ("submit", "@brief Method bool QAbstractItemModel::submit()\n", false, &_init_f_submit_0, &_call_f_submit_0); - methods += new qt_gsi::GenericMethod ("supportedDragActions", "@brief Method QFlags QAbstractItemModel::supportedDragActions()\n", true, &_init_f_supportedDragActions_c0, &_call_f_supportedDragActions_c0); - methods += new qt_gsi::GenericMethod ("supportedDropActions", "@brief Method QFlags QAbstractItemModel::supportedDropActions()\n", true, &_init_f_supportedDropActions_c0, &_call_f_supportedDropActions_c0); - methods += gsi::qt_signal ("columnsAboutToBeInserted(const QModelIndex &, int, int)", "columnsAboutToBeInserted", gsi::arg("parent"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractItemModel::columnsAboutToBeInserted(const QModelIndex &parent, int first, int last)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("columnsAboutToBeMoved(const QModelIndex &, int, int, const QModelIndex &, int)", "columnsAboutToBeMoved", gsi::arg("sourceParent"), gsi::arg("sourceStart"), gsi::arg("sourceEnd"), gsi::arg("destinationParent"), gsi::arg("destinationColumn"), "@brief Signal declaration for QAbstractItemModel::columnsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationColumn)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("columnsAboutToBeRemoved(const QModelIndex &, int, int)", "columnsAboutToBeRemoved", gsi::arg("parent"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractItemModel::columnsAboutToBeRemoved(const QModelIndex &parent, int first, int last)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("columnsInserted(const QModelIndex &, int, int)", "columnsInserted", gsi::arg("parent"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractItemModel::columnsInserted(const QModelIndex &parent, int first, int last)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("columnsMoved(const QModelIndex &, int, int, const QModelIndex &, int)", "columnsMoved", gsi::arg("parent"), gsi::arg("start"), gsi::arg("end"), gsi::arg("destination"), gsi::arg("column"), "@brief Signal declaration for QAbstractItemModel::columnsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int column)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("columnsRemoved(const QModelIndex &, int, int)", "columnsRemoved", gsi::arg("parent"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractItemModel::columnsRemoved(const QModelIndex &parent, int first, int last)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal & > ("dataChanged(const QModelIndex &, const QModelIndex &, const QList &)", "dataChanged", gsi::arg("topLeft"), gsi::arg("bottomRight"), gsi::arg("roles"), "@brief Signal declaration for QAbstractItemModel::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList &roles)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QAbstractItemModel::destroyed(QObject *)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal::target_type &, int, int > ("headerDataChanged(Qt::Orientation, int, int)", "headerDataChanged", gsi::arg("orientation"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractItemModel::headerDataChanged(Qt::Orientation orientation, int first, int last)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal &, const qt_gsi::Converter::target_type & > ("layoutAboutToBeChanged(const QList &, QAbstractItemModel::LayoutChangeHint)", "layoutAboutToBeChanged", gsi::arg("parents"), gsi::arg("hint"), "@brief Signal declaration for QAbstractItemModel::layoutAboutToBeChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal &, const qt_gsi::Converter::target_type & > ("layoutChanged(const QList &, QAbstractItemModel::LayoutChangeHint)", "layoutChanged", gsi::arg("parents"), gsi::arg("hint"), "@brief Signal declaration for QAbstractItemModel::layoutChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("modelAboutToBeReset()", "modelAboutToBeReset", "@brief Signal declaration for QAbstractItemModel::modelAboutToBeReset()\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("modelReset()", "modelReset", "@brief Signal declaration for QAbstractItemModel::modelReset()\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("objectNameChanged(const QString &)", "objectNameChanged", gsi::arg("objectName"), "@brief Signal declaration for QAbstractItemModel::objectNameChanged(const QString &objectName)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("rowsAboutToBeInserted(const QModelIndex &, int, int)", "rowsAboutToBeInserted", gsi::arg("parent"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractItemModel::rowsAboutToBeInserted(const QModelIndex &parent, int first, int last)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("rowsAboutToBeMoved(const QModelIndex &, int, int, const QModelIndex &, int)", "rowsAboutToBeMoved", gsi::arg("sourceParent"), gsi::arg("sourceStart"), gsi::arg("sourceEnd"), gsi::arg("destinationParent"), gsi::arg("destinationRow"), "@brief Signal declaration for QAbstractItemModel::rowsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("rowsAboutToBeRemoved(const QModelIndex &, int, int)", "rowsAboutToBeRemoved", gsi::arg("parent"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractItemModel::rowsAboutToBeRemoved(const QModelIndex &parent, int first, int last)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("rowsInserted(const QModelIndex &, int, int)", "rowsInserted", gsi::arg("parent"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractItemModel::rowsInserted(const QModelIndex &parent, int first, int last)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("rowsMoved(const QModelIndex &, int, int, const QModelIndex &, int)", "rowsMoved", gsi::arg("parent"), gsi::arg("start"), gsi::arg("end"), gsi::arg("destination"), gsi::arg("row"), "@brief Signal declaration for QAbstractItemModel::rowsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int row)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("rowsRemoved(const QModelIndex &, int, int)", "rowsRemoved", gsi::arg("parent"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractItemModel::rowsRemoved(const QModelIndex &parent, int first, int last)\nYou can bind a procedure to this signal."); - methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QAbstractItemModel::tr(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013); - return methods; -} - -gsi::Class &qtdecl_QObject (); - -qt_gsi::QtNativeClass decl_QAbstractItemModel (qtdecl_QObject (), "Qt", "QAbstractItemModel_Native", - methods_QAbstractItemModel (), - "@hide\n@alias QAbstractItemModel"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAbstractItemModel () { return decl_QAbstractItemModel; } - -} - - -class QAbstractItemModel_Adaptor : public QAbstractItemModel, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QAbstractItemModel_Adaptor(); - - // [adaptor ctor] QAbstractItemModel::QAbstractItemModel(QObject *parent) - QAbstractItemModel_Adaptor() : QAbstractItemModel() - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QAbstractItemModel::QAbstractItemModel(QObject *parent) - QAbstractItemModel_Adaptor(QObject *parent) : QAbstractItemModel(parent) - { - qt_gsi::QtObjectBase::init (this); - } - - // [expose] void QAbstractItemModel::beginInsertColumns(const QModelIndex &parent, int first, int last) - void fp_QAbstractItemModel_beginInsertColumns_3713 (const QModelIndex &parent, int first, int last) { - QAbstractItemModel::beginInsertColumns(parent, first, last); - } - - // [expose] void QAbstractItemModel::beginInsertRows(const QModelIndex &parent, int first, int last) - void fp_QAbstractItemModel_beginInsertRows_3713 (const QModelIndex &parent, int first, int last) { - QAbstractItemModel::beginInsertRows(parent, first, last); - } - - // [expose] bool QAbstractItemModel::beginMoveColumns(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationColumn) - bool fp_QAbstractItemModel_beginMoveColumns_6659 (const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationColumn) { - return QAbstractItemModel::beginMoveColumns(sourceParent, sourceFirst, sourceLast, destinationParent, destinationColumn); - } - - // [expose] bool QAbstractItemModel::beginMoveRows(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationRow) - bool fp_QAbstractItemModel_beginMoveRows_6659 (const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationRow) { - return QAbstractItemModel::beginMoveRows(sourceParent, sourceFirst, sourceLast, destinationParent, destinationRow); - } - - // [expose] void QAbstractItemModel::beginRemoveColumns(const QModelIndex &parent, int first, int last) - void fp_QAbstractItemModel_beginRemoveColumns_3713 (const QModelIndex &parent, int first, int last) { - QAbstractItemModel::beginRemoveColumns(parent, first, last); - } - - // [expose] void QAbstractItemModel::beginRemoveRows(const QModelIndex &parent, int first, int last) - void fp_QAbstractItemModel_beginRemoveRows_3713 (const QModelIndex &parent, int first, int last) { - QAbstractItemModel::beginRemoveRows(parent, first, last); - } - - // [expose] void QAbstractItemModel::beginResetModel() - void fp_QAbstractItemModel_beginResetModel_0 () { - QAbstractItemModel::beginResetModel(); - } - - // [expose] void QAbstractItemModel::changePersistentIndex(const QModelIndex &from, const QModelIndex &to) - void fp_QAbstractItemModel_changePersistentIndex_4682 (const QModelIndex &from, const QModelIndex &to) { - QAbstractItemModel::changePersistentIndex(from, to); - } - - // [expose] void QAbstractItemModel::changePersistentIndexList(const QList &from, const QList &to) - void fp_QAbstractItemModel_changePersistentIndexList_5912 (const QList &from, const QList &to) { - QAbstractItemModel::changePersistentIndexList(from, to); - } - - // [expose] QModelIndex QAbstractItemModel::createIndex(int row, int column, const void *data) - QModelIndex fp_QAbstractItemModel_createIndex_c3069 (int row, int column, const void *data) const { - return QAbstractItemModel::createIndex(row, column, data); - } - - // [expose] QModelIndex QAbstractItemModel::createIndex(int row, int column, quintptr id) - QModelIndex fp_QAbstractItemModel_createIndex_c2657 (int row, int column, quintptr id) const { - return QAbstractItemModel::createIndex(row, column, id); - } - - // [expose] bool QAbstractItemModel::decodeData(int row, int column, const QModelIndex &parent, QDataStream &stream) - bool fp_QAbstractItemModel_decodeData_5302 (int row, int column, const QModelIndex &parent, QDataStream &stream) { - return QAbstractItemModel::decodeData(row, column, parent, stream); - } - - // [expose] void QAbstractItemModel::encodeData(const QList &indexes, QDataStream &stream) - void fp_QAbstractItemModel_encodeData_c4599 (const QList &indexes, QDataStream &stream) const { - QAbstractItemModel::encodeData(indexes, stream); - } - - // [expose] void QAbstractItemModel::endInsertColumns() - void fp_QAbstractItemModel_endInsertColumns_0 () { - QAbstractItemModel::endInsertColumns(); - } - - // [expose] void QAbstractItemModel::endInsertRows() - void fp_QAbstractItemModel_endInsertRows_0 () { - QAbstractItemModel::endInsertRows(); - } - - // [expose] void QAbstractItemModel::endMoveColumns() - void fp_QAbstractItemModel_endMoveColumns_0 () { - QAbstractItemModel::endMoveColumns(); - } - - // [expose] void QAbstractItemModel::endMoveRows() - void fp_QAbstractItemModel_endMoveRows_0 () { - QAbstractItemModel::endMoveRows(); - } - - // [expose] void QAbstractItemModel::endRemoveColumns() - void fp_QAbstractItemModel_endRemoveColumns_0 () { - QAbstractItemModel::endRemoveColumns(); - } - - // [expose] void QAbstractItemModel::endRemoveRows() - void fp_QAbstractItemModel_endRemoveRows_0 () { - QAbstractItemModel::endRemoveRows(); - } - - // [expose] void QAbstractItemModel::endResetModel() - void fp_QAbstractItemModel_endResetModel_0 () { - QAbstractItemModel::endResetModel(); - } - - // [expose] bool QAbstractItemModel::isSignalConnected(const QMetaMethod &signal) - bool fp_QAbstractItemModel_isSignalConnected_c2394 (const QMetaMethod &signal) const { - return QAbstractItemModel::isSignalConnected(signal); - } - - // [expose] QList QAbstractItemModel::persistentIndexList() - QList fp_QAbstractItemModel_persistentIndexList_c0 () const { - return QAbstractItemModel::persistentIndexList(); - } - - // [expose] int QAbstractItemModel::receivers(const char *signal) - int fp_QAbstractItemModel_receivers_c1731 (const char *signal) const { - return QAbstractItemModel::receivers(signal); - } - - // [expose] QObject *QAbstractItemModel::sender() - QObject * fp_QAbstractItemModel_sender_c0 () const { - return QAbstractItemModel::sender(); - } - - // [expose] int QAbstractItemModel::senderSignalIndex() - int fp_QAbstractItemModel_senderSignalIndex_c0 () const { - return QAbstractItemModel::senderSignalIndex(); - } - - // [adaptor impl] QModelIndex QAbstractItemModel::buddy(const QModelIndex &index) - QModelIndex cbs_buddy_c2395_0(const QModelIndex &index) const - { - return QAbstractItemModel::buddy(index); - } - - virtual QModelIndex buddy(const QModelIndex &index) const - { - if (cb_buddy_c2395_0.can_issue()) { - return cb_buddy_c2395_0.issue(&QAbstractItemModel_Adaptor::cbs_buddy_c2395_0, index); - } else { - return QAbstractItemModel::buddy(index); - } - } - - // [adaptor impl] bool QAbstractItemModel::canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) - bool cbs_canDropMimeData_c7425_0(const QMimeData *data, const qt_gsi::Converter::target_type & action, int row, int column, const QModelIndex &parent) const - { - return QAbstractItemModel::canDropMimeData(data, qt_gsi::QtToCppAdaptor(action).cref(), row, column, parent); - } - - virtual bool canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) const - { - if (cb_canDropMimeData_c7425_0.can_issue()) { - return cb_canDropMimeData_c7425_0.issue::target_type &, int, int, const QModelIndex &>(&QAbstractItemModel_Adaptor::cbs_canDropMimeData_c7425_0, data, qt_gsi::CppToQtAdaptor(action), row, column, parent); - } else { - return QAbstractItemModel::canDropMimeData(data, action, row, column, parent); - } - } - - // [adaptor impl] bool QAbstractItemModel::canFetchMore(const QModelIndex &parent) - bool cbs_canFetchMore_c2395_0(const QModelIndex &parent) const - { - return QAbstractItemModel::canFetchMore(parent); - } - - virtual bool canFetchMore(const QModelIndex &parent) const - { - if (cb_canFetchMore_c2395_0.can_issue()) { - return cb_canFetchMore_c2395_0.issue(&QAbstractItemModel_Adaptor::cbs_canFetchMore_c2395_0, parent); - } else { - return QAbstractItemModel::canFetchMore(parent); - } - } - - // [adaptor impl] bool QAbstractItemModel::clearItemData(const QModelIndex &index) - bool cbs_clearItemData_2395_0(const QModelIndex &index) - { - return QAbstractItemModel::clearItemData(index); - } - - virtual bool clearItemData(const QModelIndex &index) - { - if (cb_clearItemData_2395_0.can_issue()) { - return cb_clearItemData_2395_0.issue(&QAbstractItemModel_Adaptor::cbs_clearItemData_2395_0, index); - } else { - return QAbstractItemModel::clearItemData(index); - } - } - - // [adaptor impl] int QAbstractItemModel::columnCount(const QModelIndex &parent) - int cbs_columnCount_c2395_1(const QModelIndex &parent) const - { - __SUPPRESS_UNUSED_WARNING (parent); - throw qt_gsi::AbstractMethodCalledException("columnCount"); - } - - virtual int columnCount(const QModelIndex &parent) const - { - if (cb_columnCount_c2395_1.can_issue()) { - return cb_columnCount_c2395_1.issue(&QAbstractItemModel_Adaptor::cbs_columnCount_c2395_1, parent); - } else { - throw qt_gsi::AbstractMethodCalledException("columnCount"); - } - } - - // [emitter impl] void QAbstractItemModel::columnsAboutToBeInserted(const QModelIndex &parent, int first, int last) - void emitter_QAbstractItemModel_columnsAboutToBeInserted_7372(const QModelIndex &parent, int first, int last) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (first); - __SUPPRESS_UNUSED_WARNING (last); - throw tl::Exception ("Can't emit private signal 'void QAbstractItemModel::columnsAboutToBeInserted(const QModelIndex &parent, int first, int last)'"); - } - - // [emitter impl] void QAbstractItemModel::columnsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationColumn) - void emitter_QAbstractItemModel_columnsAboutToBeMoved_10318(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationColumn) - { - __SUPPRESS_UNUSED_WARNING (sourceParent); - __SUPPRESS_UNUSED_WARNING (sourceStart); - __SUPPRESS_UNUSED_WARNING (sourceEnd); - __SUPPRESS_UNUSED_WARNING (destinationParent); - __SUPPRESS_UNUSED_WARNING (destinationColumn); - throw tl::Exception ("Can't emit private signal 'void QAbstractItemModel::columnsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationColumn)'"); - } - - // [emitter impl] void QAbstractItemModel::columnsAboutToBeRemoved(const QModelIndex &parent, int first, int last) - void emitter_QAbstractItemModel_columnsAboutToBeRemoved_7372(const QModelIndex &parent, int first, int last) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (first); - __SUPPRESS_UNUSED_WARNING (last); - throw tl::Exception ("Can't emit private signal 'void QAbstractItemModel::columnsAboutToBeRemoved(const QModelIndex &parent, int first, int last)'"); - } - - // [emitter impl] void QAbstractItemModel::columnsInserted(const QModelIndex &parent, int first, int last) - void emitter_QAbstractItemModel_columnsInserted_7372(const QModelIndex &parent, int first, int last) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (first); - __SUPPRESS_UNUSED_WARNING (last); - throw tl::Exception ("Can't emit private signal 'void QAbstractItemModel::columnsInserted(const QModelIndex &parent, int first, int last)'"); - } - - // [emitter impl] void QAbstractItemModel::columnsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int column) - void emitter_QAbstractItemModel_columnsMoved_10318(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int column) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (start); - __SUPPRESS_UNUSED_WARNING (end); - __SUPPRESS_UNUSED_WARNING (destination); - __SUPPRESS_UNUSED_WARNING (column); - throw tl::Exception ("Can't emit private signal 'void QAbstractItemModel::columnsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int column)'"); - } - - // [emitter impl] void QAbstractItemModel::columnsRemoved(const QModelIndex &parent, int first, int last) - void emitter_QAbstractItemModel_columnsRemoved_7372(const QModelIndex &parent, int first, int last) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (first); - __SUPPRESS_UNUSED_WARNING (last); - throw tl::Exception ("Can't emit private signal 'void QAbstractItemModel::columnsRemoved(const QModelIndex &parent, int first, int last)'"); - } - - // [adaptor impl] QVariant QAbstractItemModel::data(const QModelIndex &index, int role) - QVariant cbs_data_c3054_1(const QModelIndex &index, int role) const - { - __SUPPRESS_UNUSED_WARNING (index); - __SUPPRESS_UNUSED_WARNING (role); - throw qt_gsi::AbstractMethodCalledException("data"); - } - - virtual QVariant data(const QModelIndex &index, int role) const - { - if (cb_data_c3054_1.can_issue()) { - return cb_data_c3054_1.issue(&QAbstractItemModel_Adaptor::cbs_data_c3054_1, index, role); - } else { - throw qt_gsi::AbstractMethodCalledException("data"); - } - } - - // [emitter impl] void QAbstractItemModel::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList &roles) - void emitter_QAbstractItemModel_dataChanged_6833(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList &roles) - { - emit QAbstractItemModel::dataChanged(topLeft, bottomRight, roles); - } - - // [emitter impl] void QAbstractItemModel::destroyed(QObject *) - void emitter_QAbstractItemModel_destroyed_1302(QObject *arg1) - { - emit QAbstractItemModel::destroyed(arg1); - } - - // [adaptor impl] bool QAbstractItemModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) - bool cbs_dropMimeData_7425_0(const QMimeData *data, const qt_gsi::Converter::target_type & action, int row, int column, const QModelIndex &parent) - { - return QAbstractItemModel::dropMimeData(data, qt_gsi::QtToCppAdaptor(action).cref(), row, column, parent); - } - - virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) - { - if (cb_dropMimeData_7425_0.can_issue()) { - return cb_dropMimeData_7425_0.issue::target_type &, int, int, const QModelIndex &>(&QAbstractItemModel_Adaptor::cbs_dropMimeData_7425_0, data, qt_gsi::CppToQtAdaptor(action), row, column, parent); - } else { - return QAbstractItemModel::dropMimeData(data, action, row, column, parent); - } - } - - // [adaptor impl] bool QAbstractItemModel::event(QEvent *event) - bool cbs_event_1217_0(QEvent *_event) - { - return QAbstractItemModel::event(_event); - } - - virtual bool event(QEvent *_event) - { - if (cb_event_1217_0.can_issue()) { - return cb_event_1217_0.issue(&QAbstractItemModel_Adaptor::cbs_event_1217_0, _event); - } else { - return QAbstractItemModel::event(_event); - } - } - - // [adaptor impl] bool QAbstractItemModel::eventFilter(QObject *watched, QEvent *event) - bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event) - { - return QAbstractItemModel::eventFilter(watched, event); - } - - virtual bool eventFilter(QObject *watched, QEvent *event) - { - if (cb_eventFilter_2411_0.can_issue()) { - return cb_eventFilter_2411_0.issue(&QAbstractItemModel_Adaptor::cbs_eventFilter_2411_0, watched, event); - } else { - return QAbstractItemModel::eventFilter(watched, event); - } - } - - // [adaptor impl] void QAbstractItemModel::fetchMore(const QModelIndex &parent) - void cbs_fetchMore_2395_0(const QModelIndex &parent) - { - QAbstractItemModel::fetchMore(parent); - } - - virtual void fetchMore(const QModelIndex &parent) - { - if (cb_fetchMore_2395_0.can_issue()) { - cb_fetchMore_2395_0.issue(&QAbstractItemModel_Adaptor::cbs_fetchMore_2395_0, parent); - } else { - QAbstractItemModel::fetchMore(parent); - } - } - - // [adaptor impl] QFlags QAbstractItemModel::flags(const QModelIndex &index) - QFlags cbs_flags_c2395_0(const QModelIndex &index) const - { - return QAbstractItemModel::flags(index); - } - - virtual QFlags flags(const QModelIndex &index) const - { - if (cb_flags_c2395_0.can_issue()) { - return cb_flags_c2395_0.issue, const QModelIndex &>(&QAbstractItemModel_Adaptor::cbs_flags_c2395_0, index); - } else { - return QAbstractItemModel::flags(index); - } - } - - // [adaptor impl] bool QAbstractItemModel::hasChildren(const QModelIndex &parent) - bool cbs_hasChildren_c2395_1(const QModelIndex &parent) const - { - return QAbstractItemModel::hasChildren(parent); - } - - virtual bool hasChildren(const QModelIndex &parent) const - { - if (cb_hasChildren_c2395_1.can_issue()) { - return cb_hasChildren_c2395_1.issue(&QAbstractItemModel_Adaptor::cbs_hasChildren_c2395_1, parent); - } else { - return QAbstractItemModel::hasChildren(parent); - } - } - - // [adaptor impl] QVariant QAbstractItemModel::headerData(int section, Qt::Orientation orientation, int role) - QVariant cbs_headerData_c3231_1(int section, const qt_gsi::Converter::target_type & orientation, int role) const - { - return QAbstractItemModel::headerData(section, qt_gsi::QtToCppAdaptor(orientation).cref(), role); - } - - virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const - { - if (cb_headerData_c3231_1.can_issue()) { - return cb_headerData_c3231_1.issue::target_type &, int>(&QAbstractItemModel_Adaptor::cbs_headerData_c3231_1, section, qt_gsi::CppToQtAdaptor(orientation), role); - } else { - return QAbstractItemModel::headerData(section, orientation, role); - } - } - - // [emitter impl] void QAbstractItemModel::headerDataChanged(Qt::Orientation orientation, int first, int last) - void emitter_QAbstractItemModel_headerDataChanged_3231(Qt::Orientation orientation, int first, int last) - { - emit QAbstractItemModel::headerDataChanged(orientation, first, last); - } - - // [adaptor impl] QModelIndex QAbstractItemModel::index(int row, int column, const QModelIndex &parent) - QModelIndex cbs_index_c3713_1(int row, int column, const QModelIndex &parent) const - { - __SUPPRESS_UNUSED_WARNING (row); - __SUPPRESS_UNUSED_WARNING (column); - __SUPPRESS_UNUSED_WARNING (parent); - throw qt_gsi::AbstractMethodCalledException("index"); - } - - virtual QModelIndex index(int row, int column, const QModelIndex &parent) const - { - if (cb_index_c3713_1.can_issue()) { - return cb_index_c3713_1.issue(&QAbstractItemModel_Adaptor::cbs_index_c3713_1, row, column, parent); - } else { - throw qt_gsi::AbstractMethodCalledException("index"); - } - } - - // [adaptor impl] bool QAbstractItemModel::insertColumns(int column, int count, const QModelIndex &parent) - bool cbs_insertColumns_3713_1(int column, int count, const QModelIndex &parent) - { - return QAbstractItemModel::insertColumns(column, count, parent); - } - - virtual bool insertColumns(int column, int count, const QModelIndex &parent) - { - if (cb_insertColumns_3713_1.can_issue()) { - return cb_insertColumns_3713_1.issue(&QAbstractItemModel_Adaptor::cbs_insertColumns_3713_1, column, count, parent); - } else { - return QAbstractItemModel::insertColumns(column, count, parent); - } - } - - // [adaptor impl] bool QAbstractItemModel::insertRows(int row, int count, const QModelIndex &parent) - bool cbs_insertRows_3713_1(int row, int count, const QModelIndex &parent) - { - return QAbstractItemModel::insertRows(row, count, parent); - } - - virtual bool insertRows(int row, int count, const QModelIndex &parent) - { - if (cb_insertRows_3713_1.can_issue()) { - return cb_insertRows_3713_1.issue(&QAbstractItemModel_Adaptor::cbs_insertRows_3713_1, row, count, parent); - } else { - return QAbstractItemModel::insertRows(row, count, parent); - } - } - - // [adaptor impl] QMap QAbstractItemModel::itemData(const QModelIndex &index) - QMap cbs_itemData_c2395_0(const QModelIndex &index) const - { - return QAbstractItemModel::itemData(index); - } - - virtual QMap itemData(const QModelIndex &index) const - { - if (cb_itemData_c2395_0.can_issue()) { - return cb_itemData_c2395_0.issue, const QModelIndex &>(&QAbstractItemModel_Adaptor::cbs_itemData_c2395_0, index); - } else { - return QAbstractItemModel::itemData(index); - } - } - - // [emitter impl] void QAbstractItemModel::layoutAboutToBeChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint) - void emitter_QAbstractItemModel_layoutAboutToBeChanged_7947(const QList &parents, QAbstractItemModel::LayoutChangeHint hint) - { - emit QAbstractItemModel::layoutAboutToBeChanged(parents, hint); - } - - // [emitter impl] void QAbstractItemModel::layoutChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint) - void emitter_QAbstractItemModel_layoutChanged_7947(const QList &parents, QAbstractItemModel::LayoutChangeHint hint) - { - emit QAbstractItemModel::layoutChanged(parents, hint); - } - - // [adaptor impl] QList QAbstractItemModel::match(const QModelIndex &start, int role, const QVariant &value, int hits, QFlags flags) - QList cbs_match_c7932_2(const QModelIndex &start, int role, const QVariant &value, int hits, QFlags flags) const - { - return QAbstractItemModel::match(start, role, value, hits, flags); - } - - virtual QList match(const QModelIndex &start, int role, const QVariant &value, int hits, QFlags flags) const - { - if (cb_match_c7932_2.can_issue()) { - return cb_match_c7932_2.issue, const QModelIndex &, int, const QVariant &, int, QFlags >(&QAbstractItemModel_Adaptor::cbs_match_c7932_2, start, role, value, hits, flags); - } else { - return QAbstractItemModel::match(start, role, value, hits, flags); - } - } - - // [adaptor impl] QMimeData *QAbstractItemModel::mimeData(const QList &indexes) - QMimeData * cbs_mimeData_c3010_0(const QList &indexes) const - { - return QAbstractItemModel::mimeData(indexes); - } - - virtual QMimeData * mimeData(const QList &indexes) const - { - if (cb_mimeData_c3010_0.can_issue()) { - return cb_mimeData_c3010_0.issue &>(&QAbstractItemModel_Adaptor::cbs_mimeData_c3010_0, indexes); - } else { - return QAbstractItemModel::mimeData(indexes); - } - } - - // [adaptor impl] QStringList QAbstractItemModel::mimeTypes() - QStringList cbs_mimeTypes_c0_0() const - { - return QAbstractItemModel::mimeTypes(); - } - - virtual QStringList mimeTypes() const - { - if (cb_mimeTypes_c0_0.can_issue()) { - return cb_mimeTypes_c0_0.issue(&QAbstractItemModel_Adaptor::cbs_mimeTypes_c0_0); - } else { - return QAbstractItemModel::mimeTypes(); - } - } - - // [emitter impl] void QAbstractItemModel::modelAboutToBeReset() - void emitter_QAbstractItemModel_modelAboutToBeReset_3767() - { - throw tl::Exception ("Can't emit private signal 'void QAbstractItemModel::modelAboutToBeReset()'"); - } - - // [emitter impl] void QAbstractItemModel::modelReset() - void emitter_QAbstractItemModel_modelReset_3767() - { - throw tl::Exception ("Can't emit private signal 'void QAbstractItemModel::modelReset()'"); - } - - // [adaptor impl] bool QAbstractItemModel::moveColumns(const QModelIndex &sourceParent, int sourceColumn, int count, const QModelIndex &destinationParent, int destinationChild) - bool cbs_moveColumns_6659_0(const QModelIndex &sourceParent, int sourceColumn, int count, const QModelIndex &destinationParent, int destinationChild) - { - return QAbstractItemModel::moveColumns(sourceParent, sourceColumn, count, destinationParent, destinationChild); - } - - virtual bool moveColumns(const QModelIndex &sourceParent, int sourceColumn, int count, const QModelIndex &destinationParent, int destinationChild) - { - if (cb_moveColumns_6659_0.can_issue()) { - return cb_moveColumns_6659_0.issue(&QAbstractItemModel_Adaptor::cbs_moveColumns_6659_0, sourceParent, sourceColumn, count, destinationParent, destinationChild); - } else { - return QAbstractItemModel::moveColumns(sourceParent, sourceColumn, count, destinationParent, destinationChild); - } - } - - // [adaptor impl] bool QAbstractItemModel::moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) - bool cbs_moveRows_6659_0(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) - { - return QAbstractItemModel::moveRows(sourceParent, sourceRow, count, destinationParent, destinationChild); - } - - virtual bool moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) - { - if (cb_moveRows_6659_0.can_issue()) { - return cb_moveRows_6659_0.issue(&QAbstractItemModel_Adaptor::cbs_moveRows_6659_0, sourceParent, sourceRow, count, destinationParent, destinationChild); - } else { - return QAbstractItemModel::moveRows(sourceParent, sourceRow, count, destinationParent, destinationChild); - } - } - - // [adaptor impl] void QAbstractItemModel::multiData(const QModelIndex &index, QModelRoleDataSpan roleDataSpan) - void cbs_multiData_c4483_0(const QModelIndex &index, QModelRoleDataSpan roleDataSpan) const - { - QAbstractItemModel::multiData(index, roleDataSpan); - } - - virtual void multiData(const QModelIndex &index, QModelRoleDataSpan roleDataSpan) const - { - if (cb_multiData_c4483_0.can_issue()) { - cb_multiData_c4483_0.issue(&QAbstractItemModel_Adaptor::cbs_multiData_c4483_0, index, roleDataSpan); - } else { - QAbstractItemModel::multiData(index, roleDataSpan); - } - } - - // [emitter impl] void QAbstractItemModel::objectNameChanged(const QString &objectName) - void emitter_QAbstractItemModel_objectNameChanged_4567(const QString &objectName) - { - __SUPPRESS_UNUSED_WARNING (objectName); - throw tl::Exception ("Can't emit private signal 'void QAbstractItemModel::objectNameChanged(const QString &objectName)'"); - } - - // [adaptor impl] QModelIndex QAbstractItemModel::parent(const QModelIndex &child) - QModelIndex cbs_parent_c2395_0(const QModelIndex &child) const - { - __SUPPRESS_UNUSED_WARNING (child); - throw qt_gsi::AbstractMethodCalledException("parent"); - } - - virtual QModelIndex parent(const QModelIndex &child) const - { - if (cb_parent_c2395_0.can_issue()) { - return cb_parent_c2395_0.issue(&QAbstractItemModel_Adaptor::cbs_parent_c2395_0, child); - } else { - throw qt_gsi::AbstractMethodCalledException("parent"); - } - } - - // [adaptor impl] bool QAbstractItemModel::removeColumns(int column, int count, const QModelIndex &parent) - bool cbs_removeColumns_3713_1(int column, int count, const QModelIndex &parent) - { - return QAbstractItemModel::removeColumns(column, count, parent); - } - - virtual bool removeColumns(int column, int count, const QModelIndex &parent) - { - if (cb_removeColumns_3713_1.can_issue()) { - return cb_removeColumns_3713_1.issue(&QAbstractItemModel_Adaptor::cbs_removeColumns_3713_1, column, count, parent); - } else { - return QAbstractItemModel::removeColumns(column, count, parent); - } - } - - // [adaptor impl] bool QAbstractItemModel::removeRows(int row, int count, const QModelIndex &parent) - bool cbs_removeRows_3713_1(int row, int count, const QModelIndex &parent) - { - return QAbstractItemModel::removeRows(row, count, parent); - } - - virtual bool removeRows(int row, int count, const QModelIndex &parent) - { - if (cb_removeRows_3713_1.can_issue()) { - return cb_removeRows_3713_1.issue(&QAbstractItemModel_Adaptor::cbs_removeRows_3713_1, row, count, parent); - } else { - return QAbstractItemModel::removeRows(row, count, parent); - } - } - - // [adaptor impl] void QAbstractItemModel::revert() - void cbs_revert_0_0() - { - QAbstractItemModel::revert(); - } - - virtual void revert() - { - if (cb_revert_0_0.can_issue()) { - cb_revert_0_0.issue(&QAbstractItemModel_Adaptor::cbs_revert_0_0); - } else { - QAbstractItemModel::revert(); - } - } - - // [adaptor impl] QHash QAbstractItemModel::roleNames() - QHash cbs_roleNames_c0_0() const - { - return QAbstractItemModel::roleNames(); - } - - virtual QHash roleNames() const - { - if (cb_roleNames_c0_0.can_issue()) { - return cb_roleNames_c0_0.issue >(&QAbstractItemModel_Adaptor::cbs_roleNames_c0_0); - } else { - return QAbstractItemModel::roleNames(); - } - } - - // [adaptor impl] int QAbstractItemModel::rowCount(const QModelIndex &parent) - int cbs_rowCount_c2395_1(const QModelIndex &parent) const - { - __SUPPRESS_UNUSED_WARNING (parent); - throw qt_gsi::AbstractMethodCalledException("rowCount"); - } - - virtual int rowCount(const QModelIndex &parent) const - { - if (cb_rowCount_c2395_1.can_issue()) { - return cb_rowCount_c2395_1.issue(&QAbstractItemModel_Adaptor::cbs_rowCount_c2395_1, parent); - } else { - throw qt_gsi::AbstractMethodCalledException("rowCount"); - } - } - - // [emitter impl] void QAbstractItemModel::rowsAboutToBeInserted(const QModelIndex &parent, int first, int last) - void emitter_QAbstractItemModel_rowsAboutToBeInserted_7372(const QModelIndex &parent, int first, int last) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (first); - __SUPPRESS_UNUSED_WARNING (last); - throw tl::Exception ("Can't emit private signal 'void QAbstractItemModel::rowsAboutToBeInserted(const QModelIndex &parent, int first, int last)'"); - } - - // [emitter impl] void QAbstractItemModel::rowsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow) - void emitter_QAbstractItemModel_rowsAboutToBeMoved_10318(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow) - { - __SUPPRESS_UNUSED_WARNING (sourceParent); - __SUPPRESS_UNUSED_WARNING (sourceStart); - __SUPPRESS_UNUSED_WARNING (sourceEnd); - __SUPPRESS_UNUSED_WARNING (destinationParent); - __SUPPRESS_UNUSED_WARNING (destinationRow); - throw tl::Exception ("Can't emit private signal 'void QAbstractItemModel::rowsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow)'"); - } - - // [emitter impl] void QAbstractItemModel::rowsAboutToBeRemoved(const QModelIndex &parent, int first, int last) - void emitter_QAbstractItemModel_rowsAboutToBeRemoved_7372(const QModelIndex &parent, int first, int last) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (first); - __SUPPRESS_UNUSED_WARNING (last); - throw tl::Exception ("Can't emit private signal 'void QAbstractItemModel::rowsAboutToBeRemoved(const QModelIndex &parent, int first, int last)'"); - } - - // [emitter impl] void QAbstractItemModel::rowsInserted(const QModelIndex &parent, int first, int last) - void emitter_QAbstractItemModel_rowsInserted_7372(const QModelIndex &parent, int first, int last) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (first); - __SUPPRESS_UNUSED_WARNING (last); - throw tl::Exception ("Can't emit private signal 'void QAbstractItemModel::rowsInserted(const QModelIndex &parent, int first, int last)'"); - } - - // [emitter impl] void QAbstractItemModel::rowsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int row) - void emitter_QAbstractItemModel_rowsMoved_10318(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int row) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (start); - __SUPPRESS_UNUSED_WARNING (end); - __SUPPRESS_UNUSED_WARNING (destination); - __SUPPRESS_UNUSED_WARNING (row); - throw tl::Exception ("Can't emit private signal 'void QAbstractItemModel::rowsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int row)'"); - } - - // [emitter impl] void QAbstractItemModel::rowsRemoved(const QModelIndex &parent, int first, int last) - void emitter_QAbstractItemModel_rowsRemoved_7372(const QModelIndex &parent, int first, int last) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (first); - __SUPPRESS_UNUSED_WARNING (last); - throw tl::Exception ("Can't emit private signal 'void QAbstractItemModel::rowsRemoved(const QModelIndex &parent, int first, int last)'"); - } - - // [adaptor impl] bool QAbstractItemModel::setData(const QModelIndex &index, const QVariant &value, int role) - bool cbs_setData_5065_1(const QModelIndex &index, const QVariant &value, int role) - { - return QAbstractItemModel::setData(index, value, role); - } - - virtual bool setData(const QModelIndex &index, const QVariant &value, int role) - { - if (cb_setData_5065_1.can_issue()) { - return cb_setData_5065_1.issue(&QAbstractItemModel_Adaptor::cbs_setData_5065_1, index, value, role); - } else { - return QAbstractItemModel::setData(index, value, role); - } - } - - // [adaptor impl] bool QAbstractItemModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role) - bool cbs_setHeaderData_5242_1(int section, const qt_gsi::Converter::target_type & orientation, const QVariant &value, int role) - { - return QAbstractItemModel::setHeaderData(section, qt_gsi::QtToCppAdaptor(orientation).cref(), value, role); - } - - virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role) - { - if (cb_setHeaderData_5242_1.can_issue()) { - return cb_setHeaderData_5242_1.issue::target_type &, const QVariant &, int>(&QAbstractItemModel_Adaptor::cbs_setHeaderData_5242_1, section, qt_gsi::CppToQtAdaptor(orientation), value, role); - } else { - return QAbstractItemModel::setHeaderData(section, orientation, value, role); - } - } - - // [adaptor impl] bool QAbstractItemModel::setItemData(const QModelIndex &index, const QMap &roles) - bool cbs_setItemData_5414_0(const QModelIndex &index, const QMap &roles) - { - return QAbstractItemModel::setItemData(index, roles); - } - - virtual bool setItemData(const QModelIndex &index, const QMap &roles) - { - if (cb_setItemData_5414_0.can_issue()) { - return cb_setItemData_5414_0.issue &>(&QAbstractItemModel_Adaptor::cbs_setItemData_5414_0, index, roles); - } else { - return QAbstractItemModel::setItemData(index, roles); - } - } - - // [adaptor impl] QModelIndex QAbstractItemModel::sibling(int row, int column, const QModelIndex &idx) - QModelIndex cbs_sibling_c3713_0(int row, int column, const QModelIndex &idx) const - { - return QAbstractItemModel::sibling(row, column, idx); - } - - virtual QModelIndex sibling(int row, int column, const QModelIndex &idx) const - { - if (cb_sibling_c3713_0.can_issue()) { - return cb_sibling_c3713_0.issue(&QAbstractItemModel_Adaptor::cbs_sibling_c3713_0, row, column, idx); - } else { - return QAbstractItemModel::sibling(row, column, idx); - } - } - - // [adaptor impl] void QAbstractItemModel::sort(int column, Qt::SortOrder order) - void cbs_sort_2340_1(int column, const qt_gsi::Converter::target_type & order) - { - QAbstractItemModel::sort(column, qt_gsi::QtToCppAdaptor(order).cref()); - } - - virtual void sort(int column, Qt::SortOrder order) - { - if (cb_sort_2340_1.can_issue()) { - cb_sort_2340_1.issue::target_type &>(&QAbstractItemModel_Adaptor::cbs_sort_2340_1, column, qt_gsi::CppToQtAdaptor(order)); - } else { - QAbstractItemModel::sort(column, order); - } - } - - // [adaptor impl] QSize QAbstractItemModel::span(const QModelIndex &index) - QSize cbs_span_c2395_0(const QModelIndex &index) const - { - return QAbstractItemModel::span(index); - } - - virtual QSize span(const QModelIndex &index) const - { - if (cb_span_c2395_0.can_issue()) { - return cb_span_c2395_0.issue(&QAbstractItemModel_Adaptor::cbs_span_c2395_0, index); - } else { - return QAbstractItemModel::span(index); - } - } - - // [adaptor impl] bool QAbstractItemModel::submit() - bool cbs_submit_0_0() - { - return QAbstractItemModel::submit(); - } - - virtual bool submit() - { - if (cb_submit_0_0.can_issue()) { - return cb_submit_0_0.issue(&QAbstractItemModel_Adaptor::cbs_submit_0_0); - } else { - return QAbstractItemModel::submit(); - } - } - - // [adaptor impl] QFlags QAbstractItemModel::supportedDragActions() - QFlags cbs_supportedDragActions_c0_0() const - { - return QAbstractItemModel::supportedDragActions(); - } - - virtual QFlags supportedDragActions() const - { - if (cb_supportedDragActions_c0_0.can_issue()) { - return cb_supportedDragActions_c0_0.issue >(&QAbstractItemModel_Adaptor::cbs_supportedDragActions_c0_0); - } else { - return QAbstractItemModel::supportedDragActions(); - } - } - - // [adaptor impl] QFlags QAbstractItemModel::supportedDropActions() - QFlags cbs_supportedDropActions_c0_0() const - { - return QAbstractItemModel::supportedDropActions(); - } - - virtual QFlags supportedDropActions() const - { - if (cb_supportedDropActions_c0_0.can_issue()) { - return cb_supportedDropActions_c0_0.issue >(&QAbstractItemModel_Adaptor::cbs_supportedDropActions_c0_0); - } else { - return QAbstractItemModel::supportedDropActions(); - } - } - - // [adaptor impl] void QAbstractItemModel::childEvent(QChildEvent *event) - void cbs_childEvent_1701_0(QChildEvent *event) - { - QAbstractItemModel::childEvent(event); - } - - virtual void childEvent(QChildEvent *event) - { - if (cb_childEvent_1701_0.can_issue()) { - cb_childEvent_1701_0.issue(&QAbstractItemModel_Adaptor::cbs_childEvent_1701_0, event); - } else { - QAbstractItemModel::childEvent(event); - } - } - - // [adaptor impl] void QAbstractItemModel::customEvent(QEvent *event) - void cbs_customEvent_1217_0(QEvent *event) - { - QAbstractItemModel::customEvent(event); - } - - virtual void customEvent(QEvent *event) - { - if (cb_customEvent_1217_0.can_issue()) { - cb_customEvent_1217_0.issue(&QAbstractItemModel_Adaptor::cbs_customEvent_1217_0, event); - } else { - QAbstractItemModel::customEvent(event); - } - } - - // [adaptor impl] void QAbstractItemModel::disconnectNotify(const QMetaMethod &signal) - void cbs_disconnectNotify_2394_0(const QMetaMethod &signal) - { - QAbstractItemModel::disconnectNotify(signal); - } - - virtual void disconnectNotify(const QMetaMethod &signal) - { - if (cb_disconnectNotify_2394_0.can_issue()) { - cb_disconnectNotify_2394_0.issue(&QAbstractItemModel_Adaptor::cbs_disconnectNotify_2394_0, signal); - } else { - QAbstractItemModel::disconnectNotify(signal); - } - } - - // [adaptor impl] void QAbstractItemModel::resetInternalData() - void cbs_resetInternalData_0_0() - { - QAbstractItemModel::resetInternalData(); - } - - virtual void resetInternalData() - { - if (cb_resetInternalData_0_0.can_issue()) { - cb_resetInternalData_0_0.issue(&QAbstractItemModel_Adaptor::cbs_resetInternalData_0_0); - } else { - QAbstractItemModel::resetInternalData(); - } - } - - // [adaptor impl] void QAbstractItemModel::timerEvent(QTimerEvent *event) - void cbs_timerEvent_1730_0(QTimerEvent *event) - { - QAbstractItemModel::timerEvent(event); - } - - virtual void timerEvent(QTimerEvent *event) - { - if (cb_timerEvent_1730_0.can_issue()) { - cb_timerEvent_1730_0.issue(&QAbstractItemModel_Adaptor::cbs_timerEvent_1730_0, event); - } else { - QAbstractItemModel::timerEvent(event); - } - } - - gsi::Callback cb_buddy_c2395_0; - gsi::Callback cb_canDropMimeData_c7425_0; - gsi::Callback cb_canFetchMore_c2395_0; - gsi::Callback cb_clearItemData_2395_0; - gsi::Callback cb_columnCount_c2395_1; - gsi::Callback cb_data_c3054_1; - gsi::Callback cb_dropMimeData_7425_0; - gsi::Callback cb_event_1217_0; - gsi::Callback cb_eventFilter_2411_0; - gsi::Callback cb_fetchMore_2395_0; - gsi::Callback cb_flags_c2395_0; - gsi::Callback cb_hasChildren_c2395_1; - gsi::Callback cb_headerData_c3231_1; - gsi::Callback cb_index_c3713_1; - gsi::Callback cb_insertColumns_3713_1; - gsi::Callback cb_insertRows_3713_1; - gsi::Callback cb_itemData_c2395_0; - gsi::Callback cb_match_c7932_2; - gsi::Callback cb_mimeData_c3010_0; - gsi::Callback cb_mimeTypes_c0_0; - gsi::Callback cb_moveColumns_6659_0; - gsi::Callback cb_moveRows_6659_0; - gsi::Callback cb_multiData_c4483_0; - gsi::Callback cb_parent_c2395_0; - gsi::Callback cb_removeColumns_3713_1; - gsi::Callback cb_removeRows_3713_1; - gsi::Callback cb_revert_0_0; - gsi::Callback cb_roleNames_c0_0; - gsi::Callback cb_rowCount_c2395_1; - gsi::Callback cb_setData_5065_1; - gsi::Callback cb_setHeaderData_5242_1; - gsi::Callback cb_setItemData_5414_0; - gsi::Callback cb_sibling_c3713_0; - gsi::Callback cb_sort_2340_1; - gsi::Callback cb_span_c2395_0; - gsi::Callback cb_submit_0_0; - gsi::Callback cb_supportedDragActions_c0_0; - gsi::Callback cb_supportedDropActions_c0_0; - gsi::Callback cb_childEvent_1701_0; - gsi::Callback cb_customEvent_1217_0; - gsi::Callback cb_disconnectNotify_2394_0; - gsi::Callback cb_resetInternalData_0_0; - gsi::Callback cb_timerEvent_1730_0; -}; - -QAbstractItemModel_Adaptor::~QAbstractItemModel_Adaptor() { } - -// Constructor QAbstractItemModel::QAbstractItemModel(QObject *parent) (adaptor class) - -static void _init_ctor_QAbstractItemModel_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent", true, "nullptr"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QAbstractItemModel_Adaptor_1302 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ret.write (new QAbstractItemModel_Adaptor (arg1)); -} - - -// exposed void QAbstractItemModel::beginInsertColumns(const QModelIndex &parent, int first, int last) - -static void _init_fp_beginInsertColumns_3713 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_fp_beginInsertColumns_3713 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_beginInsertColumns_3713 (arg1, arg2, arg3); -} - - -// exposed void QAbstractItemModel::beginInsertRows(const QModelIndex &parent, int first, int last) - -static void _init_fp_beginInsertRows_3713 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_fp_beginInsertRows_3713 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_beginInsertRows_3713 (arg1, arg2, arg3); -} - - -// exposed bool QAbstractItemModel::beginMoveColumns(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationColumn) - -static void _init_fp_beginMoveColumns_6659 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sourceParent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sourceFirst"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("sourceLast"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destinationParent"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("destinationColumn"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_fp_beginMoveColumns_6659 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const QModelIndex &arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_beginMoveColumns_6659 (arg1, arg2, arg3, arg4, arg5)); -} - - -// exposed bool QAbstractItemModel::beginMoveRows(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationRow) - -static void _init_fp_beginMoveRows_6659 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sourceParent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sourceFirst"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("sourceLast"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destinationParent"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("destinationRow"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_fp_beginMoveRows_6659 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const QModelIndex &arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_beginMoveRows_6659 (arg1, arg2, arg3, arg4, arg5)); -} - - -// exposed void QAbstractItemModel::beginRemoveColumns(const QModelIndex &parent, int first, int last) - -static void _init_fp_beginRemoveColumns_3713 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_fp_beginRemoveColumns_3713 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_beginRemoveColumns_3713 (arg1, arg2, arg3); -} - - -// exposed void QAbstractItemModel::beginRemoveRows(const QModelIndex &parent, int first, int last) - -static void _init_fp_beginRemoveRows_3713 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_fp_beginRemoveRows_3713 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_beginRemoveRows_3713 (arg1, arg2, arg3); -} - - -// exposed void QAbstractItemModel::beginResetModel() - -static void _init_fp_beginResetModel_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_beginResetModel_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_beginResetModel_0 (); -} - - -// QModelIndex QAbstractItemModel::buddy(const QModelIndex &index) - -static void _init_cbs_buddy_c2395_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_buddy_c2395_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write ((QModelIndex)((QAbstractItemModel_Adaptor *)cls)->cbs_buddy_c2395_0 (arg1)); -} - -static void _set_callback_cbs_buddy_c2395_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_buddy_c2395_0 = cb; -} - - -// bool QAbstractItemModel::canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) - -static void _init_cbs_canDropMimeData_c7425_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("action"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("row"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("column"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("parent"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_cbs_canDropMimeData_c7425_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMimeData *arg1 = args.read (heap); - const qt_gsi::Converter::target_type & arg2 = args.read::target_type & > (heap); - int arg3 = args.read (heap); - int arg4 = args.read (heap); - const QModelIndex &arg5 = args.read (heap); - ret.write ((bool)((QAbstractItemModel_Adaptor *)cls)->cbs_canDropMimeData_c7425_0 (arg1, arg2, arg3, arg4, arg5)); -} - -static void _set_callback_cbs_canDropMimeData_c7425_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_canDropMimeData_c7425_0 = cb; -} - - -// bool QAbstractItemModel::canFetchMore(const QModelIndex &parent) - -static void _init_cbs_canFetchMore_c2395_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_canFetchMore_c2395_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write ((bool)((QAbstractItemModel_Adaptor *)cls)->cbs_canFetchMore_c2395_0 (arg1)); -} - -static void _set_callback_cbs_canFetchMore_c2395_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_canFetchMore_c2395_0 = cb; -} - - -// exposed void QAbstractItemModel::changePersistentIndex(const QModelIndex &from, const QModelIndex &to) - -static void _init_fp_changePersistentIndex_4682 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("from"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("to"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_fp_changePersistentIndex_4682 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - const QModelIndex &arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_changePersistentIndex_4682 (arg1, arg2); -} - - -// exposed void QAbstractItemModel::changePersistentIndexList(const QList &from, const QList &to) - -static void _init_fp_changePersistentIndexList_5912 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("from"); - decl->add_arg & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("to"); - decl->add_arg & > (argspec_1); - decl->set_return (); -} - -static void _call_fp_changePersistentIndexList_5912 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QList &arg1 = gsi::arg_reader & >() (args, heap); - const QList &arg2 = gsi::arg_reader & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_changePersistentIndexList_5912 (arg1, arg2); -} - - -// void QAbstractItemModel::childEvent(QChildEvent *event) - -static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_childEvent_1701_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QChildEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel_Adaptor *)cls)->cbs_childEvent_1701_0 (arg1); -} - -static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_childEvent_1701_0 = cb; -} - - -// bool QAbstractItemModel::clearItemData(const QModelIndex &index) - -static void _init_cbs_clearItemData_2395_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_clearItemData_2395_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write ((bool)((QAbstractItemModel_Adaptor *)cls)->cbs_clearItemData_2395_0 (arg1)); -} - -static void _set_callback_cbs_clearItemData_2395_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_clearItemData_2395_0 = cb; -} - - -// int QAbstractItemModel::columnCount(const QModelIndex &parent) - -static void _init_cbs_columnCount_c2395_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_columnCount_c2395_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write ((int)((QAbstractItemModel_Adaptor *)cls)->cbs_columnCount_c2395_1 (arg1)); -} - -static void _set_callback_cbs_columnCount_c2395_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_columnCount_c2395_1 = cb; -} - - -// emitter void QAbstractItemModel::columnsAboutToBeInserted(const QModelIndex &parent, int first, int last) - -static void _init_emitter_columnsAboutToBeInserted_7372 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_columnsAboutToBeInserted_7372 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractItemModel_Adaptor *)cls)->emitter_QAbstractItemModel_columnsAboutToBeInserted_7372 (arg1, arg2, arg3); -} - - -// emitter void QAbstractItemModel::columnsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationColumn) - -static void _init_emitter_columnsAboutToBeMoved_10318 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sourceParent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sourceStart"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("sourceEnd"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destinationParent"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("destinationColumn"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_emitter_columnsAboutToBeMoved_10318 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const QModelIndex &arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - ((QAbstractItemModel_Adaptor *)cls)->emitter_QAbstractItemModel_columnsAboutToBeMoved_10318 (arg1, arg2, arg3, arg4, arg5); -} - - -// emitter void QAbstractItemModel::columnsAboutToBeRemoved(const QModelIndex &parent, int first, int last) - -static void _init_emitter_columnsAboutToBeRemoved_7372 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_columnsAboutToBeRemoved_7372 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractItemModel_Adaptor *)cls)->emitter_QAbstractItemModel_columnsAboutToBeRemoved_7372 (arg1, arg2, arg3); -} - - -// emitter void QAbstractItemModel::columnsInserted(const QModelIndex &parent, int first, int last) - -static void _init_emitter_columnsInserted_7372 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_columnsInserted_7372 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractItemModel_Adaptor *)cls)->emitter_QAbstractItemModel_columnsInserted_7372 (arg1, arg2, arg3); -} - - -// emitter void QAbstractItemModel::columnsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int column) - -static void _init_emitter_columnsMoved_10318 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("start"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("end"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destination"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("column"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_emitter_columnsMoved_10318 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const QModelIndex &arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - ((QAbstractItemModel_Adaptor *)cls)->emitter_QAbstractItemModel_columnsMoved_10318 (arg1, arg2, arg3, arg4, arg5); -} - - -// emitter void QAbstractItemModel::columnsRemoved(const QModelIndex &parent, int first, int last) - -static void _init_emitter_columnsRemoved_7372 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_columnsRemoved_7372 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractItemModel_Adaptor *)cls)->emitter_QAbstractItemModel_columnsRemoved_7372 (arg1, arg2, arg3); -} - - -// exposed QModelIndex QAbstractItemModel::createIndex(int row, int column, const void *data) - -static void _init_fp_createIndex_c3069 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("column"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("data", true, "nullptr"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_fp_createIndex_c3069 (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); - int arg2 = gsi::arg_reader() (args, heap); - const void *arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ret.write ((QModelIndex)((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_createIndex_c3069 (arg1, arg2, arg3)); -} - - -// exposed QModelIndex QAbstractItemModel::createIndex(int row, int column, quintptr id) - -static void _init_fp_createIndex_c2657 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("column"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("id"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_fp_createIndex_c2657 (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); - int arg2 = gsi::arg_reader() (args, heap); - quintptr arg3 = gsi::arg_reader() (args, heap); - ret.write ((QModelIndex)((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_createIndex_c2657 (arg1, arg2, arg3)); -} - - -// void QAbstractItemModel::customEvent(QEvent *event) - -static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_customEvent_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel_Adaptor *)cls)->cbs_customEvent_1217_0 (arg1); -} - -static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_customEvent_1217_0 = cb; -} - - -// QVariant QAbstractItemModel::data(const QModelIndex &index, int role) - -static void _init_cbs_data_c3054_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("role"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_cbs_data_c3054_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - int arg2 = args.read (heap); - ret.write ((QVariant)((QAbstractItemModel_Adaptor *)cls)->cbs_data_c3054_1 (arg1, arg2)); -} - -static void _set_callback_cbs_data_c3054_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_data_c3054_1 = cb; -} - - -// emitter void QAbstractItemModel::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList &roles) - -static void _init_emitter_dataChanged_6833 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("topLeft"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("bottomRight"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("roles", true, "QList()"); - decl->add_arg & > (argspec_2); - decl->set_return (); -} - -static void _call_emitter_dataChanged_6833 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - const QModelIndex &arg2 = gsi::arg_reader() (args, heap); - const QList &arg3 = args ? gsi::arg_reader & >() (args, heap) : gsi::arg_maker & >() (QList(), heap); - ((QAbstractItemModel_Adaptor *)cls)->emitter_QAbstractItemModel_dataChanged_6833 (arg1, arg2, arg3); -} - - -// exposed bool QAbstractItemModel::decodeData(int row, int column, const QModelIndex &parent, QDataStream &stream) - -static void _init_fp_decodeData_5302 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("column"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("stream"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_fp_decodeData_5302 (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); - int arg2 = gsi::arg_reader() (args, heap); - const QModelIndex &arg3 = gsi::arg_reader() (args, heap); - QDataStream &arg4 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_decodeData_5302 (arg1, arg2, arg3, arg4)); -} - - -// emitter void QAbstractItemModel::destroyed(QObject *) - -static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ((QAbstractItemModel_Adaptor *)cls)->emitter_QAbstractItemModel_destroyed_1302 (arg1); -} - - -// void QAbstractItemModel::disconnectNotify(const QMetaMethod &signal) - -static void _init_cbs_disconnectNotify_2394_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("signal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_disconnectNotify_2394_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMetaMethod &arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel_Adaptor *)cls)->cbs_disconnectNotify_2394_0 (arg1); -} - -static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_disconnectNotify_2394_0 = cb; -} - - -// bool QAbstractItemModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) - -static void _init_cbs_dropMimeData_7425_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("action"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("row"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("column"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("parent"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_cbs_dropMimeData_7425_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMimeData *arg1 = args.read (heap); - const qt_gsi::Converter::target_type & arg2 = args.read::target_type & > (heap); - int arg3 = args.read (heap); - int arg4 = args.read (heap); - const QModelIndex &arg5 = args.read (heap); - ret.write ((bool)((QAbstractItemModel_Adaptor *)cls)->cbs_dropMimeData_7425_0 (arg1, arg2, arg3, arg4, arg5)); -} - -static void _set_callback_cbs_dropMimeData_7425_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_dropMimeData_7425_0 = cb; -} - - -// exposed void QAbstractItemModel::encodeData(const QList &indexes, QDataStream &stream) - -static void _init_fp_encodeData_c4599 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("indexes"); - decl->add_arg & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("stream"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_fp_encodeData_c4599 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QList &arg1 = gsi::arg_reader & >() (args, heap); - QDataStream &arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_encodeData_c4599 (arg1, arg2); -} - - -// exposed void QAbstractItemModel::endInsertColumns() - -static void _init_fp_endInsertColumns_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_endInsertColumns_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_endInsertColumns_0 (); -} - - -// exposed void QAbstractItemModel::endInsertRows() - -static void _init_fp_endInsertRows_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_endInsertRows_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_endInsertRows_0 (); -} - - -// exposed void QAbstractItemModel::endMoveColumns() - -static void _init_fp_endMoveColumns_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_endMoveColumns_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_endMoveColumns_0 (); -} - - -// exposed void QAbstractItemModel::endMoveRows() - -static void _init_fp_endMoveRows_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_endMoveRows_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_endMoveRows_0 (); -} - - -// exposed void QAbstractItemModel::endRemoveColumns() - -static void _init_fp_endRemoveColumns_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_endRemoveColumns_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_endRemoveColumns_0 (); -} - - -// exposed void QAbstractItemModel::endRemoveRows() - -static void _init_fp_endRemoveRows_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_endRemoveRows_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_endRemoveRows_0 (); -} - - -// exposed void QAbstractItemModel::endResetModel() - -static void _init_fp_endResetModel_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_endResetModel_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_endResetModel_0 (); -} - - -// bool QAbstractItemModel::event(QEvent *event) - -static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_event_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QEvent *arg1 = args.read (heap); - ret.write ((bool)((QAbstractItemModel_Adaptor *)cls)->cbs_event_1217_0 (arg1)); -} - -static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_event_1217_0 = cb; -} - - -// bool QAbstractItemModel::eventFilter(QObject *watched, QEvent *event) - -static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("watched"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("event"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_cbs_eventFilter_2411_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = args.read (heap); - QEvent *arg2 = args.read (heap); - ret.write ((bool)((QAbstractItemModel_Adaptor *)cls)->cbs_eventFilter_2411_0 (arg1, arg2)); -} - -static void _set_callback_cbs_eventFilter_2411_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_eventFilter_2411_0 = cb; -} - - -// void QAbstractItemModel::fetchMore(const QModelIndex &parent) - -static void _init_cbs_fetchMore_2395_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_fetchMore_2395_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel_Adaptor *)cls)->cbs_fetchMore_2395_0 (arg1); -} - -static void _set_callback_cbs_fetchMore_2395_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_fetchMore_2395_0 = cb; -} - - -// QFlags QAbstractItemModel::flags(const QModelIndex &index) - -static void _init_cbs_flags_c2395_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - decl->set_return > (); -} - -static void _call_cbs_flags_c2395_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write > ((QFlags)((QAbstractItemModel_Adaptor *)cls)->cbs_flags_c2395_0 (arg1)); -} - -static void _set_callback_cbs_flags_c2395_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_flags_c2395_0 = cb; -} - - -// bool QAbstractItemModel::hasChildren(const QModelIndex &parent) - -static void _init_cbs_hasChildren_c2395_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_hasChildren_c2395_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write ((bool)((QAbstractItemModel_Adaptor *)cls)->cbs_hasChildren_c2395_1 (arg1)); -} - -static void _set_callback_cbs_hasChildren_c2395_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_hasChildren_c2395_1 = cb; -} - - -// QVariant QAbstractItemModel::headerData(int section, Qt::Orientation orientation, int role) - -static void _init_cbs_headerData_c3231_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("section"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("orientation"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("role"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_headerData_c3231_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - const qt_gsi::Converter::target_type & arg2 = args.read::target_type & > (heap); - int arg3 = args.read (heap); - ret.write ((QVariant)((QAbstractItemModel_Adaptor *)cls)->cbs_headerData_c3231_1 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_headerData_c3231_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_headerData_c3231_1 = cb; -} - - -// emitter void QAbstractItemModel::headerDataChanged(Qt::Orientation orientation, int first, int last) - -static void _init_emitter_headerDataChanged_3231 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("orientation"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_headerDataChanged_3231 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractItemModel_Adaptor *)cls)->emitter_QAbstractItemModel_headerDataChanged_3231 (arg1, arg2, arg3); -} - - -// QModelIndex QAbstractItemModel::index(int row, int column, const QModelIndex &parent) - -static void _init_cbs_index_c3713_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("column"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_index_c3713_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - const QModelIndex &arg3 = args.read (heap); - ret.write ((QModelIndex)((QAbstractItemModel_Adaptor *)cls)->cbs_index_c3713_1 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_index_c3713_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_index_c3713_1 = cb; -} - - -// bool QAbstractItemModel::insertColumns(int column, int count, const QModelIndex &parent) - -static void _init_cbs_insertColumns_3713_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("column"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_insertColumns_3713_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - const QModelIndex &arg3 = args.read (heap); - ret.write ((bool)((QAbstractItemModel_Adaptor *)cls)->cbs_insertColumns_3713_1 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_insertColumns_3713_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_insertColumns_3713_1 = cb; -} - - -// bool QAbstractItemModel::insertRows(int row, int count, const QModelIndex &parent) - -static void _init_cbs_insertRows_3713_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_insertRows_3713_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - const QModelIndex &arg3 = args.read (heap); - ret.write ((bool)((QAbstractItemModel_Adaptor *)cls)->cbs_insertRows_3713_1 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_insertRows_3713_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_insertRows_3713_1 = cb; -} - - -// exposed bool QAbstractItemModel::isSignalConnected(const QMetaMethod &signal) - -static void _init_fp_isSignalConnected_c2394 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("signal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_fp_isSignalConnected_c2394 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMetaMethod &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_isSignalConnected_c2394 (arg1)); -} - - -// QMap QAbstractItemModel::itemData(const QModelIndex &index) - -static void _init_cbs_itemData_c2395_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - decl->set_return > (); -} - -static void _call_cbs_itemData_c2395_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write > ((QMap)((QAbstractItemModel_Adaptor *)cls)->cbs_itemData_c2395_0 (arg1)); -} - -static void _set_callback_cbs_itemData_c2395_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_itemData_c2395_0 = cb; -} - - -// emitter void QAbstractItemModel::layoutAboutToBeChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint) - -static void _init_emitter_layoutAboutToBeChanged_7947 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parents", true, "QList()"); - decl->add_arg & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("hint", true, "QAbstractItemModel::NoLayoutChangeHint"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_emitter_layoutAboutToBeChanged_7947 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QList &arg1 = args ? gsi::arg_reader & >() (args, heap) : gsi::arg_maker & >() (QList(), heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, QAbstractItemModel::NoLayoutChangeHint), heap); - ((QAbstractItemModel_Adaptor *)cls)->emitter_QAbstractItemModel_layoutAboutToBeChanged_7947 (arg1, arg2); -} - - -// emitter void QAbstractItemModel::layoutChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint) - -static void _init_emitter_layoutChanged_7947 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parents", true, "QList()"); - decl->add_arg & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("hint", true, "QAbstractItemModel::NoLayoutChangeHint"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_emitter_layoutChanged_7947 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QList &arg1 = args ? gsi::arg_reader & >() (args, heap) : gsi::arg_maker & >() (QList(), heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, QAbstractItemModel::NoLayoutChangeHint), heap); - ((QAbstractItemModel_Adaptor *)cls)->emitter_QAbstractItemModel_layoutChanged_7947 (arg1, arg2); -} - - -// QList QAbstractItemModel::match(const QModelIndex &start, int role, const QVariant &value, int hits, QFlags flags) - -static void _init_cbs_match_c7932_2 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("start"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("role"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("value"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("hits"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("flags"); - decl->add_arg > (argspec_4); - decl->set_return > (); -} - -static void _call_cbs_match_c7932_2 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - int arg2 = args.read (heap); - const QVariant &arg3 = args.read (heap); - int arg4 = args.read (heap); - QFlags arg5 = args.read > (heap); - ret.write > ((QList)((QAbstractItemModel_Adaptor *)cls)->cbs_match_c7932_2 (arg1, arg2, arg3, arg4, arg5)); -} - -static void _set_callback_cbs_match_c7932_2 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_match_c7932_2 = cb; -} - - -// QMimeData *QAbstractItemModel::mimeData(const QList &indexes) - -static void _init_cbs_mimeData_c3010_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("indexes"); - decl->add_arg & > (argspec_0); - decl->set_return (); -} - -static void _call_cbs_mimeData_c3010_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QList &arg1 = args.read & > (heap); - ret.write ((QMimeData *)((QAbstractItemModel_Adaptor *)cls)->cbs_mimeData_c3010_0 (arg1)); -} - -static void _set_callback_cbs_mimeData_c3010_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_mimeData_c3010_0 = cb; -} - - -// QStringList QAbstractItemModel::mimeTypes() - -static void _init_cbs_mimeTypes_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_mimeTypes_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QStringList)((QAbstractItemModel_Adaptor *)cls)->cbs_mimeTypes_c0_0 ()); -} - -static void _set_callback_cbs_mimeTypes_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_mimeTypes_c0_0 = cb; -} - - -// emitter void QAbstractItemModel::modelAboutToBeReset() - -static void _init_emitter_modelAboutToBeReset_3767 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_emitter_modelAboutToBeReset_3767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - ((QAbstractItemModel_Adaptor *)cls)->emitter_QAbstractItemModel_modelAboutToBeReset_3767 (); -} - - -// emitter void QAbstractItemModel::modelReset() - -static void _init_emitter_modelReset_3767 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_emitter_modelReset_3767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - ((QAbstractItemModel_Adaptor *)cls)->emitter_QAbstractItemModel_modelReset_3767 (); -} - - -// bool QAbstractItemModel::moveColumns(const QModelIndex &sourceParent, int sourceColumn, int count, const QModelIndex &destinationParent, int destinationChild) - -static void _init_cbs_moveColumns_6659_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sourceParent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sourceColumn"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destinationParent"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("destinationChild"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_cbs_moveColumns_6659_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - int arg2 = args.read (heap); - int arg3 = args.read (heap); - const QModelIndex &arg4 = args.read (heap); - int arg5 = args.read (heap); - ret.write ((bool)((QAbstractItemModel_Adaptor *)cls)->cbs_moveColumns_6659_0 (arg1, arg2, arg3, arg4, arg5)); -} - -static void _set_callback_cbs_moveColumns_6659_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_moveColumns_6659_0 = cb; -} - - -// bool QAbstractItemModel::moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) - -static void _init_cbs_moveRows_6659_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sourceParent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sourceRow"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destinationParent"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("destinationChild"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_cbs_moveRows_6659_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - int arg2 = args.read (heap); - int arg3 = args.read (heap); - const QModelIndex &arg4 = args.read (heap); - int arg5 = args.read (heap); - ret.write ((bool)((QAbstractItemModel_Adaptor *)cls)->cbs_moveRows_6659_0 (arg1, arg2, arg3, arg4, arg5)); -} - -static void _set_callback_cbs_moveRows_6659_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_moveRows_6659_0 = cb; -} - - -// void QAbstractItemModel::multiData(const QModelIndex &index, QModelRoleDataSpan roleDataSpan) - -static void _init_cbs_multiData_c4483_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("roleDataSpan"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_cbs_multiData_c4483_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - QModelRoleDataSpan arg2 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel_Adaptor *)cls)->cbs_multiData_c4483_0 (arg1, arg2); -} - -static void _set_callback_cbs_multiData_c4483_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_multiData_c4483_0 = cb; -} - - -// emitter void QAbstractItemModel::objectNameChanged(const QString &objectName) - -static void _init_emitter_objectNameChanged_4567 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("objectName"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_emitter_objectNameChanged_4567 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ((QAbstractItemModel_Adaptor *)cls)->emitter_QAbstractItemModel_objectNameChanged_4567 (arg1); -} - - -// QModelIndex QAbstractItemModel::parent(const QModelIndex &child) - -static void _init_cbs_parent_c2395_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("child"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_parent_c2395_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write ((QModelIndex)((QAbstractItemModel_Adaptor *)cls)->cbs_parent_c2395_0 (arg1)); -} - -static void _set_callback_cbs_parent_c2395_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_parent_c2395_0 = cb; -} - - -// exposed QList QAbstractItemModel::persistentIndexList() - -static void _init_fp_persistentIndexList_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_fp_persistentIndexList_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QList)((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_persistentIndexList_c0 ()); -} - - -// exposed int QAbstractItemModel::receivers(const char *signal) - -static void _init_fp_receivers_c1731 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("signal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_fp_receivers_c1731 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - ret.write ((int)((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_receivers_c1731 (arg1)); -} - - -// bool QAbstractItemModel::removeColumns(int column, int count, const QModelIndex &parent) - -static void _init_cbs_removeColumns_3713_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("column"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_removeColumns_3713_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - const QModelIndex &arg3 = args.read (heap); - ret.write ((bool)((QAbstractItemModel_Adaptor *)cls)->cbs_removeColumns_3713_1 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_removeColumns_3713_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_removeColumns_3713_1 = cb; -} - - -// bool QAbstractItemModel::removeRows(int row, int count, const QModelIndex &parent) - -static void _init_cbs_removeRows_3713_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_removeRows_3713_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - const QModelIndex &arg3 = args.read (heap); - ret.write ((bool)((QAbstractItemModel_Adaptor *)cls)->cbs_removeRows_3713_1 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_removeRows_3713_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_removeRows_3713_1 = cb; -} - - -// void QAbstractItemModel::resetInternalData() - -static void _init_cbs_resetInternalData_0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_resetInternalData_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel_Adaptor *)cls)->cbs_resetInternalData_0_0 (); -} - -static void _set_callback_cbs_resetInternalData_0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_resetInternalData_0_0 = cb; -} - - -// void QAbstractItemModel::revert() - -static void _init_cbs_revert_0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_revert_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel_Adaptor *)cls)->cbs_revert_0_0 (); -} - -static void _set_callback_cbs_revert_0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_revert_0_0 = cb; -} - - -// QHash QAbstractItemModel::roleNames() - -static void _init_cbs_roleNames_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_cbs_roleNames_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QHash)((QAbstractItemModel_Adaptor *)cls)->cbs_roleNames_c0_0 ()); -} - -static void _set_callback_cbs_roleNames_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_roleNames_c0_0 = cb; -} - - -// int QAbstractItemModel::rowCount(const QModelIndex &parent) - -static void _init_cbs_rowCount_c2395_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_rowCount_c2395_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write ((int)((QAbstractItemModel_Adaptor *)cls)->cbs_rowCount_c2395_1 (arg1)); -} - -static void _set_callback_cbs_rowCount_c2395_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_rowCount_c2395_1 = cb; -} - - -// emitter void QAbstractItemModel::rowsAboutToBeInserted(const QModelIndex &parent, int first, int last) - -static void _init_emitter_rowsAboutToBeInserted_7372 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_rowsAboutToBeInserted_7372 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractItemModel_Adaptor *)cls)->emitter_QAbstractItemModel_rowsAboutToBeInserted_7372 (arg1, arg2, arg3); -} - - -// emitter void QAbstractItemModel::rowsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow) - -static void _init_emitter_rowsAboutToBeMoved_10318 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sourceParent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sourceStart"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("sourceEnd"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destinationParent"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("destinationRow"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_emitter_rowsAboutToBeMoved_10318 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const QModelIndex &arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - ((QAbstractItemModel_Adaptor *)cls)->emitter_QAbstractItemModel_rowsAboutToBeMoved_10318 (arg1, arg2, arg3, arg4, arg5); -} - - -// emitter void QAbstractItemModel::rowsAboutToBeRemoved(const QModelIndex &parent, int first, int last) - -static void _init_emitter_rowsAboutToBeRemoved_7372 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_rowsAboutToBeRemoved_7372 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractItemModel_Adaptor *)cls)->emitter_QAbstractItemModel_rowsAboutToBeRemoved_7372 (arg1, arg2, arg3); -} - - -// emitter void QAbstractItemModel::rowsInserted(const QModelIndex &parent, int first, int last) - -static void _init_emitter_rowsInserted_7372 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_rowsInserted_7372 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractItemModel_Adaptor *)cls)->emitter_QAbstractItemModel_rowsInserted_7372 (arg1, arg2, arg3); -} - - -// emitter void QAbstractItemModel::rowsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int row) - -static void _init_emitter_rowsMoved_10318 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("start"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("end"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destination"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("row"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_emitter_rowsMoved_10318 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const QModelIndex &arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - ((QAbstractItemModel_Adaptor *)cls)->emitter_QAbstractItemModel_rowsMoved_10318 (arg1, arg2, arg3, arg4, arg5); -} - - -// emitter void QAbstractItemModel::rowsRemoved(const QModelIndex &parent, int first, int last) - -static void _init_emitter_rowsRemoved_7372 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_rowsRemoved_7372 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractItemModel_Adaptor *)cls)->emitter_QAbstractItemModel_rowsRemoved_7372 (arg1, arg2, arg3); -} - - -// exposed QObject *QAbstractItemModel::sender() - -static void _init_fp_sender_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_sender_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QObject *)((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_sender_c0 ()); -} - - -// exposed int QAbstractItemModel::senderSignalIndex() - -static void _init_fp_senderSignalIndex_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_senderSignalIndex_c0 ()); -} - - -// bool QAbstractItemModel::setData(const QModelIndex &index, const QVariant &value, int role) - -static void _init_cbs_setData_5065_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("value"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("role"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_setData_5065_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - const QVariant &arg2 = args.read (heap); - int arg3 = args.read (heap); - ret.write ((bool)((QAbstractItemModel_Adaptor *)cls)->cbs_setData_5065_1 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_setData_5065_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_setData_5065_1 = cb; -} - - -// bool QAbstractItemModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role) - -static void _init_cbs_setHeaderData_5242_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("section"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("orientation"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("value"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("role"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_cbs_setHeaderData_5242_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - const qt_gsi::Converter::target_type & arg2 = args.read::target_type & > (heap); - const QVariant &arg3 = args.read (heap); - int arg4 = args.read (heap); - ret.write ((bool)((QAbstractItemModel_Adaptor *)cls)->cbs_setHeaderData_5242_1 (arg1, arg2, arg3, arg4)); -} - -static void _set_callback_cbs_setHeaderData_5242_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_setHeaderData_5242_1 = cb; -} - - -// bool QAbstractItemModel::setItemData(const QModelIndex &index, const QMap &roles) - -static void _init_cbs_setItemData_5414_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("roles"); - decl->add_arg & > (argspec_1); - decl->set_return (); -} - -static void _call_cbs_setItemData_5414_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - const QMap &arg2 = args.read & > (heap); - ret.write ((bool)((QAbstractItemModel_Adaptor *)cls)->cbs_setItemData_5414_0 (arg1, arg2)); -} - -static void _set_callback_cbs_setItemData_5414_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_setItemData_5414_0 = cb; -} - - -// QModelIndex QAbstractItemModel::sibling(int row, int column, const QModelIndex &idx) - -static void _init_cbs_sibling_c3713_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("column"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("idx"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_sibling_c3713_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - const QModelIndex &arg3 = args.read (heap); - ret.write ((QModelIndex)((QAbstractItemModel_Adaptor *)cls)->cbs_sibling_c3713_0 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_sibling_c3713_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_sibling_c3713_0 = cb; -} - - -// void QAbstractItemModel::sort(int column, Qt::SortOrder order) - -static void _init_cbs_sort_2340_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("column"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("order"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_cbs_sort_2340_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - const qt_gsi::Converter::target_type & arg2 = args.read::target_type & > (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel_Adaptor *)cls)->cbs_sort_2340_1 (arg1, arg2); -} - -static void _set_callback_cbs_sort_2340_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_sort_2340_1 = cb; -} - - -// QSize QAbstractItemModel::span(const QModelIndex &index) - -static void _init_cbs_span_c2395_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_span_c2395_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write ((QSize)((QAbstractItemModel_Adaptor *)cls)->cbs_span_c2395_0 (arg1)); -} - -static void _set_callback_cbs_span_c2395_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_span_c2395_0 = cb; -} - - -// bool QAbstractItemModel::submit() - -static void _init_cbs_submit_0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_submit_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QAbstractItemModel_Adaptor *)cls)->cbs_submit_0_0 ()); -} - -static void _set_callback_cbs_submit_0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_submit_0_0 = cb; -} - - -// QFlags QAbstractItemModel::supportedDragActions() - -static void _init_cbs_supportedDragActions_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_cbs_supportedDragActions_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QFlags)((QAbstractItemModel_Adaptor *)cls)->cbs_supportedDragActions_c0_0 ()); -} - -static void _set_callback_cbs_supportedDragActions_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_supportedDragActions_c0_0 = cb; -} - - -// QFlags QAbstractItemModel::supportedDropActions() - -static void _init_cbs_supportedDropActions_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_cbs_supportedDropActions_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QFlags)((QAbstractItemModel_Adaptor *)cls)->cbs_supportedDropActions_c0_0 ()); -} - -static void _set_callback_cbs_supportedDropActions_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_supportedDropActions_c0_0 = cb; -} - - -// void QAbstractItemModel::timerEvent(QTimerEvent *event) - -static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_timerEvent_1730_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QTimerEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractItemModel_Adaptor *)cls)->cbs_timerEvent_1730_0 (arg1); -} - -static void _set_callback_cbs_timerEvent_1730_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractItemModel_Adaptor *)cls)->cb_timerEvent_1730_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QAbstractItemModel (); - -static gsi::Methods methods_QAbstractItemModel_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractItemModel::QAbstractItemModel(QObject *parent)\nThis method creates an object of class QAbstractItemModel.", &_init_ctor_QAbstractItemModel_Adaptor_1302, &_call_ctor_QAbstractItemModel_Adaptor_1302); - methods += new qt_gsi::GenericMethod ("*beginInsertColumns", "@brief Method void QAbstractItemModel::beginInsertColumns(const QModelIndex &parent, int first, int last)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_beginInsertColumns_3713, &_call_fp_beginInsertColumns_3713); - methods += new qt_gsi::GenericMethod ("*beginInsertRows", "@brief Method void QAbstractItemModel::beginInsertRows(const QModelIndex &parent, int first, int last)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_beginInsertRows_3713, &_call_fp_beginInsertRows_3713); - methods += new qt_gsi::GenericMethod ("*beginMoveColumns", "@brief Method bool QAbstractItemModel::beginMoveColumns(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationColumn)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_beginMoveColumns_6659, &_call_fp_beginMoveColumns_6659); - methods += new qt_gsi::GenericMethod ("*beginMoveRows", "@brief Method bool QAbstractItemModel::beginMoveRows(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationRow)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_beginMoveRows_6659, &_call_fp_beginMoveRows_6659); - methods += new qt_gsi::GenericMethod ("*beginRemoveColumns", "@brief Method void QAbstractItemModel::beginRemoveColumns(const QModelIndex &parent, int first, int last)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_beginRemoveColumns_3713, &_call_fp_beginRemoveColumns_3713); - methods += new qt_gsi::GenericMethod ("*beginRemoveRows", "@brief Method void QAbstractItemModel::beginRemoveRows(const QModelIndex &parent, int first, int last)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_beginRemoveRows_3713, &_call_fp_beginRemoveRows_3713); - methods += new qt_gsi::GenericMethod ("*beginResetModel", "@brief Method void QAbstractItemModel::beginResetModel()\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_beginResetModel_0, &_call_fp_beginResetModel_0); - methods += new qt_gsi::GenericMethod ("buddy", "@brief Virtual method QModelIndex QAbstractItemModel::buddy(const QModelIndex &index)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_buddy_c2395_0, &_call_cbs_buddy_c2395_0); - methods += new qt_gsi::GenericMethod ("buddy", "@hide", true, &_init_cbs_buddy_c2395_0, &_call_cbs_buddy_c2395_0, &_set_callback_cbs_buddy_c2395_0); - methods += new qt_gsi::GenericMethod ("canDropMimeData", "@brief Virtual method bool QAbstractItemModel::canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_canDropMimeData_c7425_0, &_call_cbs_canDropMimeData_c7425_0); - methods += new qt_gsi::GenericMethod ("canDropMimeData", "@hide", true, &_init_cbs_canDropMimeData_c7425_0, &_call_cbs_canDropMimeData_c7425_0, &_set_callback_cbs_canDropMimeData_c7425_0); - methods += new qt_gsi::GenericMethod ("canFetchMore", "@brief Virtual method bool QAbstractItemModel::canFetchMore(const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_canFetchMore_c2395_0, &_call_cbs_canFetchMore_c2395_0); - methods += new qt_gsi::GenericMethod ("canFetchMore", "@hide", true, &_init_cbs_canFetchMore_c2395_0, &_call_cbs_canFetchMore_c2395_0, &_set_callback_cbs_canFetchMore_c2395_0); - methods += new qt_gsi::GenericMethod ("*changePersistentIndex", "@brief Method void QAbstractItemModel::changePersistentIndex(const QModelIndex &from, const QModelIndex &to)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_changePersistentIndex_4682, &_call_fp_changePersistentIndex_4682); - methods += new qt_gsi::GenericMethod ("*changePersistentIndexList", "@brief Method void QAbstractItemModel::changePersistentIndexList(const QList &from, const QList &to)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_changePersistentIndexList_5912, &_call_fp_changePersistentIndexList_5912); - methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QAbstractItemModel::childEvent(QChildEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0); - methods += new qt_gsi::GenericMethod ("*childEvent", "@hide", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0, &_set_callback_cbs_childEvent_1701_0); - methods += new qt_gsi::GenericMethod ("clearItemData", "@brief Virtual method bool QAbstractItemModel::clearItemData(const QModelIndex &index)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_clearItemData_2395_0, &_call_cbs_clearItemData_2395_0); - methods += new qt_gsi::GenericMethod ("clearItemData", "@hide", false, &_init_cbs_clearItemData_2395_0, &_call_cbs_clearItemData_2395_0, &_set_callback_cbs_clearItemData_2395_0); - methods += new qt_gsi::GenericMethod ("columnCount", "@brief Virtual method int QAbstractItemModel::columnCount(const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_columnCount_c2395_1, &_call_cbs_columnCount_c2395_1); - methods += new qt_gsi::GenericMethod ("columnCount", "@hide", true, &_init_cbs_columnCount_c2395_1, &_call_cbs_columnCount_c2395_1, &_set_callback_cbs_columnCount_c2395_1); - methods += new qt_gsi::GenericMethod ("emit_columnsAboutToBeInserted", "@brief Emitter for signal void QAbstractItemModel::columnsAboutToBeInserted(const QModelIndex &parent, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_columnsAboutToBeInserted_7372, &_call_emitter_columnsAboutToBeInserted_7372); - methods += new qt_gsi::GenericMethod ("emit_columnsAboutToBeMoved", "@brief Emitter for signal void QAbstractItemModel::columnsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationColumn)\nCall this method to emit this signal.", false, &_init_emitter_columnsAboutToBeMoved_10318, &_call_emitter_columnsAboutToBeMoved_10318); - methods += new qt_gsi::GenericMethod ("emit_columnsAboutToBeRemoved", "@brief Emitter for signal void QAbstractItemModel::columnsAboutToBeRemoved(const QModelIndex &parent, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_columnsAboutToBeRemoved_7372, &_call_emitter_columnsAboutToBeRemoved_7372); - methods += new qt_gsi::GenericMethod ("emit_columnsInserted", "@brief Emitter for signal void QAbstractItemModel::columnsInserted(const QModelIndex &parent, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_columnsInserted_7372, &_call_emitter_columnsInserted_7372); - methods += new qt_gsi::GenericMethod ("emit_columnsMoved", "@brief Emitter for signal void QAbstractItemModel::columnsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int column)\nCall this method to emit this signal.", false, &_init_emitter_columnsMoved_10318, &_call_emitter_columnsMoved_10318); - methods += new qt_gsi::GenericMethod ("emit_columnsRemoved", "@brief Emitter for signal void QAbstractItemModel::columnsRemoved(const QModelIndex &parent, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_columnsRemoved_7372, &_call_emitter_columnsRemoved_7372); - methods += new qt_gsi::GenericMethod ("*createIndex", "@brief Method QModelIndex QAbstractItemModel::createIndex(int row, int column, const void *data)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_createIndex_c3069, &_call_fp_createIndex_c3069); - methods += new qt_gsi::GenericMethod ("*createIndex", "@brief Method QModelIndex QAbstractItemModel::createIndex(int row, int column, quintptr id)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_createIndex_c2657, &_call_fp_createIndex_c2657); - methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QAbstractItemModel::customEvent(QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0); - methods += new qt_gsi::GenericMethod ("*customEvent", "@hide", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0, &_set_callback_cbs_customEvent_1217_0); - methods += new qt_gsi::GenericMethod ("data", "@brief Virtual method QVariant QAbstractItemModel::data(const QModelIndex &index, int role)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_data_c3054_1, &_call_cbs_data_c3054_1); - methods += new qt_gsi::GenericMethod ("data", "@hide", true, &_init_cbs_data_c3054_1, &_call_cbs_data_c3054_1, &_set_callback_cbs_data_c3054_1); - methods += new qt_gsi::GenericMethod ("emit_dataChanged", "@brief Emitter for signal void QAbstractItemModel::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList &roles)\nCall this method to emit this signal.", false, &_init_emitter_dataChanged_6833, &_call_emitter_dataChanged_6833); - methods += new qt_gsi::GenericMethod ("*decodeData", "@brief Method bool QAbstractItemModel::decodeData(int row, int column, const QModelIndex &parent, QDataStream &stream)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_decodeData_5302, &_call_fp_decodeData_5302); - methods += new qt_gsi::GenericMethod ("emit_destroyed", "@brief Emitter for signal void QAbstractItemModel::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302); - methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@brief Virtual method void QAbstractItemModel::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0); - methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@hide", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0, &_set_callback_cbs_disconnectNotify_2394_0); - methods += new qt_gsi::GenericMethod ("dropMimeData", "@brief Virtual method bool QAbstractItemModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_dropMimeData_7425_0, &_call_cbs_dropMimeData_7425_0); - methods += new qt_gsi::GenericMethod ("dropMimeData", "@hide", false, &_init_cbs_dropMimeData_7425_0, &_call_cbs_dropMimeData_7425_0, &_set_callback_cbs_dropMimeData_7425_0); - methods += new qt_gsi::GenericMethod ("*encodeData", "@brief Method void QAbstractItemModel::encodeData(const QList &indexes, QDataStream &stream)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_encodeData_c4599, &_call_fp_encodeData_c4599); - methods += new qt_gsi::GenericMethod ("*endInsertColumns", "@brief Method void QAbstractItemModel::endInsertColumns()\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_endInsertColumns_0, &_call_fp_endInsertColumns_0); - methods += new qt_gsi::GenericMethod ("*endInsertRows", "@brief Method void QAbstractItemModel::endInsertRows()\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_endInsertRows_0, &_call_fp_endInsertRows_0); - methods += new qt_gsi::GenericMethod ("*endMoveColumns", "@brief Method void QAbstractItemModel::endMoveColumns()\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_endMoveColumns_0, &_call_fp_endMoveColumns_0); - methods += new qt_gsi::GenericMethod ("*endMoveRows", "@brief Method void QAbstractItemModel::endMoveRows()\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_endMoveRows_0, &_call_fp_endMoveRows_0); - methods += new qt_gsi::GenericMethod ("*endRemoveColumns", "@brief Method void QAbstractItemModel::endRemoveColumns()\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_endRemoveColumns_0, &_call_fp_endRemoveColumns_0); - methods += new qt_gsi::GenericMethod ("*endRemoveRows", "@brief Method void QAbstractItemModel::endRemoveRows()\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_endRemoveRows_0, &_call_fp_endRemoveRows_0); - methods += new qt_gsi::GenericMethod ("*endResetModel", "@brief Method void QAbstractItemModel::endResetModel()\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_endResetModel_0, &_call_fp_endResetModel_0); - methods += new qt_gsi::GenericMethod ("event", "@brief Virtual method bool QAbstractItemModel::event(QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0); - methods += new qt_gsi::GenericMethod ("event", "@hide", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0, &_set_callback_cbs_event_1217_0); - methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Virtual method bool QAbstractItemModel::eventFilter(QObject *watched, QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0); - methods += new qt_gsi::GenericMethod ("eventFilter", "@hide", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0, &_set_callback_cbs_eventFilter_2411_0); - methods += new qt_gsi::GenericMethod ("fetchMore", "@brief Virtual method void QAbstractItemModel::fetchMore(const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_fetchMore_2395_0, &_call_cbs_fetchMore_2395_0); - methods += new qt_gsi::GenericMethod ("fetchMore", "@hide", false, &_init_cbs_fetchMore_2395_0, &_call_cbs_fetchMore_2395_0, &_set_callback_cbs_fetchMore_2395_0); - methods += new qt_gsi::GenericMethod ("flags", "@brief Virtual method QFlags QAbstractItemModel::flags(const QModelIndex &index)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_flags_c2395_0, &_call_cbs_flags_c2395_0); - methods += new qt_gsi::GenericMethod ("flags", "@hide", true, &_init_cbs_flags_c2395_0, &_call_cbs_flags_c2395_0, &_set_callback_cbs_flags_c2395_0); - methods += new qt_gsi::GenericMethod ("hasChildren", "@brief Virtual method bool QAbstractItemModel::hasChildren(const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_hasChildren_c2395_1, &_call_cbs_hasChildren_c2395_1); - methods += new qt_gsi::GenericMethod ("hasChildren", "@hide", true, &_init_cbs_hasChildren_c2395_1, &_call_cbs_hasChildren_c2395_1, &_set_callback_cbs_hasChildren_c2395_1); - methods += new qt_gsi::GenericMethod ("headerData", "@brief Virtual method QVariant QAbstractItemModel::headerData(int section, Qt::Orientation orientation, int role)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_headerData_c3231_1, &_call_cbs_headerData_c3231_1); - methods += new qt_gsi::GenericMethod ("headerData", "@hide", true, &_init_cbs_headerData_c3231_1, &_call_cbs_headerData_c3231_1, &_set_callback_cbs_headerData_c3231_1); - methods += new qt_gsi::GenericMethod ("emit_headerDataChanged", "@brief Emitter for signal void QAbstractItemModel::headerDataChanged(Qt::Orientation orientation, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_headerDataChanged_3231, &_call_emitter_headerDataChanged_3231); - methods += new qt_gsi::GenericMethod ("index", "@brief Virtual method QModelIndex QAbstractItemModel::index(int row, int column, const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_index_c3713_1, &_call_cbs_index_c3713_1); - methods += new qt_gsi::GenericMethod ("index", "@hide", true, &_init_cbs_index_c3713_1, &_call_cbs_index_c3713_1, &_set_callback_cbs_index_c3713_1); - methods += new qt_gsi::GenericMethod ("insertColumns", "@brief Virtual method bool QAbstractItemModel::insertColumns(int column, int count, const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_insertColumns_3713_1, &_call_cbs_insertColumns_3713_1); - methods += new qt_gsi::GenericMethod ("insertColumns", "@hide", false, &_init_cbs_insertColumns_3713_1, &_call_cbs_insertColumns_3713_1, &_set_callback_cbs_insertColumns_3713_1); - methods += new qt_gsi::GenericMethod ("insertRows", "@brief Virtual method bool QAbstractItemModel::insertRows(int row, int count, const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_insertRows_3713_1, &_call_cbs_insertRows_3713_1); - methods += new qt_gsi::GenericMethod ("insertRows", "@hide", false, &_init_cbs_insertRows_3713_1, &_call_cbs_insertRows_3713_1, &_set_callback_cbs_insertRows_3713_1); - methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QAbstractItemModel::isSignalConnected(const QMetaMethod &signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_isSignalConnected_c2394, &_call_fp_isSignalConnected_c2394); - methods += new qt_gsi::GenericMethod ("itemData", "@brief Virtual method QMap QAbstractItemModel::itemData(const QModelIndex &index)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_itemData_c2395_0, &_call_cbs_itemData_c2395_0); - methods += new qt_gsi::GenericMethod ("itemData", "@hide", true, &_init_cbs_itemData_c2395_0, &_call_cbs_itemData_c2395_0, &_set_callback_cbs_itemData_c2395_0); - methods += new qt_gsi::GenericMethod ("emit_layoutAboutToBeChanged", "@brief Emitter for signal void QAbstractItemModel::layoutAboutToBeChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint)\nCall this method to emit this signal.", false, &_init_emitter_layoutAboutToBeChanged_7947, &_call_emitter_layoutAboutToBeChanged_7947); - methods += new qt_gsi::GenericMethod ("emit_layoutChanged", "@brief Emitter for signal void QAbstractItemModel::layoutChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint)\nCall this method to emit this signal.", false, &_init_emitter_layoutChanged_7947, &_call_emitter_layoutChanged_7947); - methods += new qt_gsi::GenericMethod ("match", "@brief Virtual method QList QAbstractItemModel::match(const QModelIndex &start, int role, const QVariant &value, int hits, QFlags flags)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_match_c7932_2, &_call_cbs_match_c7932_2); - methods += new qt_gsi::GenericMethod ("match", "@hide", true, &_init_cbs_match_c7932_2, &_call_cbs_match_c7932_2, &_set_callback_cbs_match_c7932_2); - methods += new qt_gsi::GenericMethod ("mimeData", "@brief Virtual method QMimeData *QAbstractItemModel::mimeData(const QList &indexes)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_mimeData_c3010_0, &_call_cbs_mimeData_c3010_0); - methods += new qt_gsi::GenericMethod ("mimeData", "@hide", true, &_init_cbs_mimeData_c3010_0, &_call_cbs_mimeData_c3010_0, &_set_callback_cbs_mimeData_c3010_0); - methods += new qt_gsi::GenericMethod ("mimeTypes", "@brief Virtual method QStringList QAbstractItemModel::mimeTypes()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_mimeTypes_c0_0, &_call_cbs_mimeTypes_c0_0); - methods += new qt_gsi::GenericMethod ("mimeTypes", "@hide", true, &_init_cbs_mimeTypes_c0_0, &_call_cbs_mimeTypes_c0_0, &_set_callback_cbs_mimeTypes_c0_0); - methods += new qt_gsi::GenericMethod ("emit_modelAboutToBeReset", "@brief Emitter for signal void QAbstractItemModel::modelAboutToBeReset()\nCall this method to emit this signal.", false, &_init_emitter_modelAboutToBeReset_3767, &_call_emitter_modelAboutToBeReset_3767); - methods += new qt_gsi::GenericMethod ("emit_modelReset", "@brief Emitter for signal void QAbstractItemModel::modelReset()\nCall this method to emit this signal.", false, &_init_emitter_modelReset_3767, &_call_emitter_modelReset_3767); - methods += new qt_gsi::GenericMethod ("moveColumns", "@brief Virtual method bool QAbstractItemModel::moveColumns(const QModelIndex &sourceParent, int sourceColumn, int count, const QModelIndex &destinationParent, int destinationChild)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_moveColumns_6659_0, &_call_cbs_moveColumns_6659_0); - methods += new qt_gsi::GenericMethod ("moveColumns", "@hide", false, &_init_cbs_moveColumns_6659_0, &_call_cbs_moveColumns_6659_0, &_set_callback_cbs_moveColumns_6659_0); - methods += new qt_gsi::GenericMethod ("moveRows", "@brief Virtual method bool QAbstractItemModel::moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_moveRows_6659_0, &_call_cbs_moveRows_6659_0); - methods += new qt_gsi::GenericMethod ("moveRows", "@hide", false, &_init_cbs_moveRows_6659_0, &_call_cbs_moveRows_6659_0, &_set_callback_cbs_moveRows_6659_0); - methods += new qt_gsi::GenericMethod ("multiData", "@brief Virtual method void QAbstractItemModel::multiData(const QModelIndex &index, QModelRoleDataSpan roleDataSpan)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_multiData_c4483_0, &_call_cbs_multiData_c4483_0); - methods += new qt_gsi::GenericMethod ("multiData", "@hide", true, &_init_cbs_multiData_c4483_0, &_call_cbs_multiData_c4483_0, &_set_callback_cbs_multiData_c4483_0); - methods += new qt_gsi::GenericMethod ("emit_objectNameChanged", "@brief Emitter for signal void QAbstractItemModel::objectNameChanged(const QString &objectName)\nCall this method to emit this signal.", false, &_init_emitter_objectNameChanged_4567, &_call_emitter_objectNameChanged_4567); - methods += new qt_gsi::GenericMethod ("parent", "@brief Virtual method QModelIndex QAbstractItemModel::parent(const QModelIndex &child)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_parent_c2395_0, &_call_cbs_parent_c2395_0); - methods += new qt_gsi::GenericMethod ("parent", "@hide", true, &_init_cbs_parent_c2395_0, &_call_cbs_parent_c2395_0, &_set_callback_cbs_parent_c2395_0); - methods += new qt_gsi::GenericMethod ("*persistentIndexList", "@brief Method QList QAbstractItemModel::persistentIndexList()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_persistentIndexList_c0, &_call_fp_persistentIndexList_c0); - methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QAbstractItemModel::receivers(const char *signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_receivers_c1731, &_call_fp_receivers_c1731); - methods += new qt_gsi::GenericMethod ("removeColumns", "@brief Virtual method bool QAbstractItemModel::removeColumns(int column, int count, const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_removeColumns_3713_1, &_call_cbs_removeColumns_3713_1); - methods += new qt_gsi::GenericMethod ("removeColumns", "@hide", false, &_init_cbs_removeColumns_3713_1, &_call_cbs_removeColumns_3713_1, &_set_callback_cbs_removeColumns_3713_1); - methods += new qt_gsi::GenericMethod ("removeRows", "@brief Virtual method bool QAbstractItemModel::removeRows(int row, int count, const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_removeRows_3713_1, &_call_cbs_removeRows_3713_1); - methods += new qt_gsi::GenericMethod ("removeRows", "@hide", false, &_init_cbs_removeRows_3713_1, &_call_cbs_removeRows_3713_1, &_set_callback_cbs_removeRows_3713_1); - methods += new qt_gsi::GenericMethod ("*resetInternalData", "@brief Virtual method void QAbstractItemModel::resetInternalData()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_resetInternalData_0_0, &_call_cbs_resetInternalData_0_0); - methods += new qt_gsi::GenericMethod ("*resetInternalData", "@hide", false, &_init_cbs_resetInternalData_0_0, &_call_cbs_resetInternalData_0_0, &_set_callback_cbs_resetInternalData_0_0); - methods += new qt_gsi::GenericMethod ("revert", "@brief Virtual method void QAbstractItemModel::revert()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_revert_0_0, &_call_cbs_revert_0_0); - methods += new qt_gsi::GenericMethod ("revert", "@hide", false, &_init_cbs_revert_0_0, &_call_cbs_revert_0_0, &_set_callback_cbs_revert_0_0); - methods += new qt_gsi::GenericMethod ("roleNames", "@brief Virtual method QHash QAbstractItemModel::roleNames()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_roleNames_c0_0, &_call_cbs_roleNames_c0_0); - methods += new qt_gsi::GenericMethod ("roleNames", "@hide", true, &_init_cbs_roleNames_c0_0, &_call_cbs_roleNames_c0_0, &_set_callback_cbs_roleNames_c0_0); - methods += new qt_gsi::GenericMethod ("rowCount", "@brief Virtual method int QAbstractItemModel::rowCount(const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_rowCount_c2395_1, &_call_cbs_rowCount_c2395_1); - methods += new qt_gsi::GenericMethod ("rowCount", "@hide", true, &_init_cbs_rowCount_c2395_1, &_call_cbs_rowCount_c2395_1, &_set_callback_cbs_rowCount_c2395_1); - methods += new qt_gsi::GenericMethod ("emit_rowsAboutToBeInserted", "@brief Emitter for signal void QAbstractItemModel::rowsAboutToBeInserted(const QModelIndex &parent, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_rowsAboutToBeInserted_7372, &_call_emitter_rowsAboutToBeInserted_7372); - methods += new qt_gsi::GenericMethod ("emit_rowsAboutToBeMoved", "@brief Emitter for signal void QAbstractItemModel::rowsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow)\nCall this method to emit this signal.", false, &_init_emitter_rowsAboutToBeMoved_10318, &_call_emitter_rowsAboutToBeMoved_10318); - methods += new qt_gsi::GenericMethod ("emit_rowsAboutToBeRemoved", "@brief Emitter for signal void QAbstractItemModel::rowsAboutToBeRemoved(const QModelIndex &parent, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_rowsAboutToBeRemoved_7372, &_call_emitter_rowsAboutToBeRemoved_7372); - methods += new qt_gsi::GenericMethod ("emit_rowsInserted", "@brief Emitter for signal void QAbstractItemModel::rowsInserted(const QModelIndex &parent, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_rowsInserted_7372, &_call_emitter_rowsInserted_7372); - methods += new qt_gsi::GenericMethod ("emit_rowsMoved", "@brief Emitter for signal void QAbstractItemModel::rowsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int row)\nCall this method to emit this signal.", false, &_init_emitter_rowsMoved_10318, &_call_emitter_rowsMoved_10318); - methods += new qt_gsi::GenericMethod ("emit_rowsRemoved", "@brief Emitter for signal void QAbstractItemModel::rowsRemoved(const QModelIndex &parent, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_rowsRemoved_7372, &_call_emitter_rowsRemoved_7372); - methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QAbstractItemModel::sender()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_sender_c0, &_call_fp_sender_c0); - methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QAbstractItemModel::senderSignalIndex()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_senderSignalIndex_c0, &_call_fp_senderSignalIndex_c0); - methods += new qt_gsi::GenericMethod ("setData", "@brief Virtual method bool QAbstractItemModel::setData(const QModelIndex &index, const QVariant &value, int role)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setData_5065_1, &_call_cbs_setData_5065_1); - methods += new qt_gsi::GenericMethod ("setData", "@hide", false, &_init_cbs_setData_5065_1, &_call_cbs_setData_5065_1, &_set_callback_cbs_setData_5065_1); - methods += new qt_gsi::GenericMethod ("setHeaderData", "@brief Virtual method bool QAbstractItemModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setHeaderData_5242_1, &_call_cbs_setHeaderData_5242_1); - methods += new qt_gsi::GenericMethod ("setHeaderData", "@hide", false, &_init_cbs_setHeaderData_5242_1, &_call_cbs_setHeaderData_5242_1, &_set_callback_cbs_setHeaderData_5242_1); - methods += new qt_gsi::GenericMethod ("setItemData", "@brief Virtual method bool QAbstractItemModel::setItemData(const QModelIndex &index, const QMap &roles)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setItemData_5414_0, &_call_cbs_setItemData_5414_0); - methods += new qt_gsi::GenericMethod ("setItemData", "@hide", false, &_init_cbs_setItemData_5414_0, &_call_cbs_setItemData_5414_0, &_set_callback_cbs_setItemData_5414_0); - methods += new qt_gsi::GenericMethod ("sibling", "@brief Virtual method QModelIndex QAbstractItemModel::sibling(int row, int column, const QModelIndex &idx)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_sibling_c3713_0, &_call_cbs_sibling_c3713_0); - methods += new qt_gsi::GenericMethod ("sibling", "@hide", true, &_init_cbs_sibling_c3713_0, &_call_cbs_sibling_c3713_0, &_set_callback_cbs_sibling_c3713_0); - methods += new qt_gsi::GenericMethod ("sort", "@brief Virtual method void QAbstractItemModel::sort(int column, Qt::SortOrder order)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_sort_2340_1, &_call_cbs_sort_2340_1); - methods += new qt_gsi::GenericMethod ("sort", "@hide", false, &_init_cbs_sort_2340_1, &_call_cbs_sort_2340_1, &_set_callback_cbs_sort_2340_1); - methods += new qt_gsi::GenericMethod ("span", "@brief Virtual method QSize QAbstractItemModel::span(const QModelIndex &index)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_span_c2395_0, &_call_cbs_span_c2395_0); - methods += new qt_gsi::GenericMethod ("span", "@hide", true, &_init_cbs_span_c2395_0, &_call_cbs_span_c2395_0, &_set_callback_cbs_span_c2395_0); - methods += new qt_gsi::GenericMethod ("submit", "@brief Virtual method bool QAbstractItemModel::submit()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_submit_0_0, &_call_cbs_submit_0_0); - methods += new qt_gsi::GenericMethod ("submit", "@hide", false, &_init_cbs_submit_0_0, &_call_cbs_submit_0_0, &_set_callback_cbs_submit_0_0); - methods += new qt_gsi::GenericMethod ("supportedDragActions", "@brief Virtual method QFlags QAbstractItemModel::supportedDragActions()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_supportedDragActions_c0_0, &_call_cbs_supportedDragActions_c0_0); - methods += new qt_gsi::GenericMethod ("supportedDragActions", "@hide", true, &_init_cbs_supportedDragActions_c0_0, &_call_cbs_supportedDragActions_c0_0, &_set_callback_cbs_supportedDragActions_c0_0); - methods += new qt_gsi::GenericMethod ("supportedDropActions", "@brief Virtual method QFlags QAbstractItemModel::supportedDropActions()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_supportedDropActions_c0_0, &_call_cbs_supportedDropActions_c0_0); - methods += new qt_gsi::GenericMethod ("supportedDropActions", "@hide", true, &_init_cbs_supportedDropActions_c0_0, &_call_cbs_supportedDropActions_c0_0, &_set_callback_cbs_supportedDropActions_c0_0); - methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QAbstractItemModel::timerEvent(QTimerEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0); - methods += new qt_gsi::GenericMethod ("*timerEvent", "@hide", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0, &_set_callback_cbs_timerEvent_1730_0); - return methods; -} - -gsi::Class decl_QAbstractItemModel_Adaptor (qtdecl_QAbstractItemModel (), "Qt", "QAbstractItemModel", - methods_QAbstractItemModel_Adaptor (), - "@qt\n@brief Binding of QAbstractItemModel"); - -} - - -// Implementation of the enum wrapper class for QAbstractItemModel::CheckIndexOption -namespace qt_gsi -{ - -static gsi::Enum decl_QAbstractItemModel_CheckIndexOption_Enum ("Qt", "QAbstractItemModel_CheckIndexOption", - gsi::enum_const ("NoOption", QAbstractItemModel::CheckIndexOption::NoOption, "@brief Enum constant QAbstractItemModel::CheckIndexOption::NoOption") + - gsi::enum_const ("IndexIsValid", QAbstractItemModel::CheckIndexOption::IndexIsValid, "@brief Enum constant QAbstractItemModel::CheckIndexOption::IndexIsValid") + - gsi::enum_const ("DoNotUseParent", QAbstractItemModel::CheckIndexOption::DoNotUseParent, "@brief Enum constant QAbstractItemModel::CheckIndexOption::DoNotUseParent") + - gsi::enum_const ("ParentIsInvalid", QAbstractItemModel::CheckIndexOption::ParentIsInvalid, "@brief Enum constant QAbstractItemModel::CheckIndexOption::ParentIsInvalid"), - "@qt\n@brief This class represents the QAbstractItemModel::CheckIndexOption enum"); - -static gsi::QFlagsClass decl_QAbstractItemModel_CheckIndexOption_Enums ("Qt", "QAbstractItemModel_QFlags_CheckIndexOption", - "@qt\n@brief This class represents the QFlags flag set"); - -static gsi::ClassExt decl_QAbstractItemModel_CheckIndexOption_Enum_as_child (decl_QAbstractItemModel_CheckIndexOption_Enum, "CheckIndexOption"); -static gsi::ClassExt decl_QAbstractItemModel_CheckIndexOption_Enums_as_child (decl_QAbstractItemModel_CheckIndexOption_Enums, "QFlags_CheckIndexOption"); - -} - - -// Implementation of the enum wrapper class for QAbstractItemModel::LayoutChangeHint -namespace qt_gsi -{ - -static gsi::Enum decl_QAbstractItemModel_LayoutChangeHint_Enum ("Qt", "QAbstractItemModel_LayoutChangeHint", - gsi::enum_const ("NoLayoutChangeHint", QAbstractItemModel::NoLayoutChangeHint, "@brief Enum constant QAbstractItemModel::NoLayoutChangeHint") + - gsi::enum_const ("VerticalSortHint", QAbstractItemModel::VerticalSortHint, "@brief Enum constant QAbstractItemModel::VerticalSortHint") + - gsi::enum_const ("HorizontalSortHint", QAbstractItemModel::HorizontalSortHint, "@brief Enum constant QAbstractItemModel::HorizontalSortHint"), - "@qt\n@brief This class represents the QAbstractItemModel::LayoutChangeHint enum"); - -static gsi::QFlagsClass decl_QAbstractItemModel_LayoutChangeHint_Enums ("Qt", "QAbstractItemModel_QFlags_LayoutChangeHint", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QAbstractItemModel_LayoutChangeHint_Enum_in_parent (decl_QAbstractItemModel_LayoutChangeHint_Enum.defs ()); -static gsi::ClassExt decl_QAbstractItemModel_LayoutChangeHint_Enum_as_child (decl_QAbstractItemModel_LayoutChangeHint_Enum, "LayoutChangeHint"); -static gsi::ClassExt decl_QAbstractItemModel_LayoutChangeHint_Enums_as_child (decl_QAbstractItemModel_LayoutChangeHint_Enums, "QFlags_LayoutChangeHint"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractListModel.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractListModel.cc deleted file mode 100644 index 0b269eb72..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractListModel.cc +++ /dev/null @@ -1,3363 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAbstractListModel.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAbstractListModel - -// get static meta object - -static void _init_smo (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, gsi::SerialArgs &ret) -{ - ret.write (QAbstractListModel::staticMetaObject); -} - - -// bool QAbstractListModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) - - -static void _init_f_dropMimeData_7425 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("action"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("row"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("column"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("parent"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_dropMimeData_7425 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMimeData *arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = gsi::arg_reader::target_type & >() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - const QModelIndex &arg5 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAbstractListModel *)cls)->dropMimeData (arg1, qt_gsi::QtToCppAdaptor(arg2).cref(), arg3, arg4, arg5)); -} - - -// QFlags QAbstractListModel::flags(const QModelIndex &index) - - -static void _init_f_flags_c2395 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - decl->set_return > (); -} - -static void _call_f_flags_c2395 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - ret.write > ((QFlags)((QAbstractListModel *)cls)->flags (arg1)); -} - - -// QModelIndex QAbstractListModel::index(int row, int column, const QModelIndex &parent) - - -static void _init_f_index_c3713 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("column", true, "0"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent", true, "QModelIndex()"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_index_c3713 (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); - int arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - const QModelIndex &arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QModelIndex(), heap); - ret.write ((QModelIndex)((QAbstractListModel *)cls)->index (arg1, arg2, arg3)); -} - - -// QObject *QAbstractListModel::parent() - - -static void _init_f_parent_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_parent_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QObject *)((QAbstractListModel *)cls)->parent ()); -} - - -// QModelIndex QAbstractListModel::sibling(int row, int column, const QModelIndex &idx) - - -static void _init_f_sibling_c3713 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("column"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("idx"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_sibling_c3713 (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); - int arg2 = gsi::arg_reader() (args, heap); - const QModelIndex &arg3 = gsi::arg_reader() (args, heap); - ret.write ((QModelIndex)((QAbstractListModel *)cls)->sibling (arg1, arg2, arg3)); -} - - -// static QString QAbstractListModel::tr(const char *s, const char *c, int n) - - -static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("c", true, "nullptr"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("n", true, "-1"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - const char *arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - int arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (-1, heap); - ret.write ((QString)QAbstractListModel::tr (arg1, arg2, arg3)); -} - - -namespace gsi -{ - -static gsi::Methods methods_QAbstractListModel () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("staticMetaObject", "@brief Obtains the static MetaObject for this class.", &_init_smo, &_call_smo); - methods += new qt_gsi::GenericMethod ("dropMimeData", "@brief Method bool QAbstractListModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)\nThis is a reimplementation of QAbstractItemModel::dropMimeData", false, &_init_f_dropMimeData_7425, &_call_f_dropMimeData_7425); - methods += new qt_gsi::GenericMethod ("flags", "@brief Method QFlags QAbstractListModel::flags(const QModelIndex &index)\nThis is a reimplementation of QAbstractItemModel::flags", true, &_init_f_flags_c2395, &_call_f_flags_c2395); - methods += new qt_gsi::GenericMethod ("index", "@brief Method QModelIndex QAbstractListModel::index(int row, int column, const QModelIndex &parent)\nThis is a reimplementation of QAbstractItemModel::index", true, &_init_f_index_c3713, &_call_f_index_c3713); - methods += new qt_gsi::GenericMethod (":parent", "@brief Method QObject *QAbstractListModel::parent()\n", true, &_init_f_parent_c0, &_call_f_parent_c0); - methods += new qt_gsi::GenericMethod ("sibling", "@brief Method QModelIndex QAbstractListModel::sibling(int row, int column, const QModelIndex &idx)\nThis is a reimplementation of QAbstractItemModel::sibling", true, &_init_f_sibling_c3713, &_call_f_sibling_c3713); - methods += gsi::qt_signal ("columnsAboutToBeInserted(const QModelIndex &, int, int)", "columnsAboutToBeInserted", gsi::arg("parent"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractListModel::columnsAboutToBeInserted(const QModelIndex &parent, int first, int last)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("columnsAboutToBeMoved(const QModelIndex &, int, int, const QModelIndex &, int)", "columnsAboutToBeMoved", gsi::arg("sourceParent"), gsi::arg("sourceStart"), gsi::arg("sourceEnd"), gsi::arg("destinationParent"), gsi::arg("destinationColumn"), "@brief Signal declaration for QAbstractListModel::columnsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationColumn)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("columnsAboutToBeRemoved(const QModelIndex &, int, int)", "columnsAboutToBeRemoved", gsi::arg("parent"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractListModel::columnsAboutToBeRemoved(const QModelIndex &parent, int first, int last)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("columnsInserted(const QModelIndex &, int, int)", "columnsInserted", gsi::arg("parent"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractListModel::columnsInserted(const QModelIndex &parent, int first, int last)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("columnsMoved(const QModelIndex &, int, int, const QModelIndex &, int)", "columnsMoved", gsi::arg("parent"), gsi::arg("start"), gsi::arg("end"), gsi::arg("destination"), gsi::arg("column"), "@brief Signal declaration for QAbstractListModel::columnsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int column)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("columnsRemoved(const QModelIndex &, int, int)", "columnsRemoved", gsi::arg("parent"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractListModel::columnsRemoved(const QModelIndex &parent, int first, int last)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal & > ("dataChanged(const QModelIndex &, const QModelIndex &, const QList &)", "dataChanged", gsi::arg("topLeft"), gsi::arg("bottomRight"), gsi::arg("roles"), "@brief Signal declaration for QAbstractListModel::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList &roles)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QAbstractListModel::destroyed(QObject *)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal::target_type &, int, int > ("headerDataChanged(Qt::Orientation, int, int)", "headerDataChanged", gsi::arg("orientation"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractListModel::headerDataChanged(Qt::Orientation orientation, int first, int last)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal &, const qt_gsi::Converter::target_type & > ("layoutAboutToBeChanged(const QList &, QAbstractItemModel::LayoutChangeHint)", "layoutAboutToBeChanged", gsi::arg("parents"), gsi::arg("hint"), "@brief Signal declaration for QAbstractListModel::layoutAboutToBeChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal &, const qt_gsi::Converter::target_type & > ("layoutChanged(const QList &, QAbstractItemModel::LayoutChangeHint)", "layoutChanged", gsi::arg("parents"), gsi::arg("hint"), "@brief Signal declaration for QAbstractListModel::layoutChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("modelAboutToBeReset()", "modelAboutToBeReset", "@brief Signal declaration for QAbstractListModel::modelAboutToBeReset()\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("modelReset()", "modelReset", "@brief Signal declaration for QAbstractListModel::modelReset()\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("objectNameChanged(const QString &)", "objectNameChanged", gsi::arg("objectName"), "@brief Signal declaration for QAbstractListModel::objectNameChanged(const QString &objectName)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("rowsAboutToBeInserted(const QModelIndex &, int, int)", "rowsAboutToBeInserted", gsi::arg("parent"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractListModel::rowsAboutToBeInserted(const QModelIndex &parent, int first, int last)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("rowsAboutToBeMoved(const QModelIndex &, int, int, const QModelIndex &, int)", "rowsAboutToBeMoved", gsi::arg("sourceParent"), gsi::arg("sourceStart"), gsi::arg("sourceEnd"), gsi::arg("destinationParent"), gsi::arg("destinationRow"), "@brief Signal declaration for QAbstractListModel::rowsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("rowsAboutToBeRemoved(const QModelIndex &, int, int)", "rowsAboutToBeRemoved", gsi::arg("parent"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractListModel::rowsAboutToBeRemoved(const QModelIndex &parent, int first, int last)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("rowsInserted(const QModelIndex &, int, int)", "rowsInserted", gsi::arg("parent"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractListModel::rowsInserted(const QModelIndex &parent, int first, int last)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("rowsMoved(const QModelIndex &, int, int, const QModelIndex &, int)", "rowsMoved", gsi::arg("parent"), gsi::arg("start"), gsi::arg("end"), gsi::arg("destination"), gsi::arg("row"), "@brief Signal declaration for QAbstractListModel::rowsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int row)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("rowsRemoved(const QModelIndex &, int, int)", "rowsRemoved", gsi::arg("parent"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractListModel::rowsRemoved(const QModelIndex &parent, int first, int last)\nYou can bind a procedure to this signal."); - methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QAbstractListModel::tr(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013); - return methods; -} - -gsi::Class &qtdecl_QAbstractItemModel (); - -qt_gsi::QtNativeClass decl_QAbstractListModel (qtdecl_QAbstractItemModel (), "Qt", "QAbstractListModel_Native", - methods_QAbstractListModel (), - "@hide\n@alias QAbstractListModel"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAbstractListModel () { return decl_QAbstractListModel; } - -} - - -class QAbstractListModel_Adaptor : public QAbstractListModel, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QAbstractListModel_Adaptor(); - - // [adaptor ctor] QAbstractListModel::QAbstractListModel(QObject *parent) - QAbstractListModel_Adaptor() : QAbstractListModel() - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QAbstractListModel::QAbstractListModel(QObject *parent) - QAbstractListModel_Adaptor(QObject *parent) : QAbstractListModel(parent) - { - qt_gsi::QtObjectBase::init (this); - } - - // [expose] void QAbstractListModel::beginInsertColumns(const QModelIndex &parent, int first, int last) - void fp_QAbstractListModel_beginInsertColumns_3713 (const QModelIndex &parent, int first, int last) { - QAbstractListModel::beginInsertColumns(parent, first, last); - } - - // [expose] void QAbstractListModel::beginInsertRows(const QModelIndex &parent, int first, int last) - void fp_QAbstractListModel_beginInsertRows_3713 (const QModelIndex &parent, int first, int last) { - QAbstractListModel::beginInsertRows(parent, first, last); - } - - // [expose] bool QAbstractListModel::beginMoveColumns(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationColumn) - bool fp_QAbstractListModel_beginMoveColumns_6659 (const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationColumn) { - return QAbstractListModel::beginMoveColumns(sourceParent, sourceFirst, sourceLast, destinationParent, destinationColumn); - } - - // [expose] bool QAbstractListModel::beginMoveRows(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationRow) - bool fp_QAbstractListModel_beginMoveRows_6659 (const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationRow) { - return QAbstractListModel::beginMoveRows(sourceParent, sourceFirst, sourceLast, destinationParent, destinationRow); - } - - // [expose] void QAbstractListModel::beginRemoveColumns(const QModelIndex &parent, int first, int last) - void fp_QAbstractListModel_beginRemoveColumns_3713 (const QModelIndex &parent, int first, int last) { - QAbstractListModel::beginRemoveColumns(parent, first, last); - } - - // [expose] void QAbstractListModel::beginRemoveRows(const QModelIndex &parent, int first, int last) - void fp_QAbstractListModel_beginRemoveRows_3713 (const QModelIndex &parent, int first, int last) { - QAbstractListModel::beginRemoveRows(parent, first, last); - } - - // [expose] void QAbstractListModel::beginResetModel() - void fp_QAbstractListModel_beginResetModel_0 () { - QAbstractListModel::beginResetModel(); - } - - // [expose] void QAbstractListModel::changePersistentIndex(const QModelIndex &from, const QModelIndex &to) - void fp_QAbstractListModel_changePersistentIndex_4682 (const QModelIndex &from, const QModelIndex &to) { - QAbstractListModel::changePersistentIndex(from, to); - } - - // [expose] void QAbstractListModel::changePersistentIndexList(const QList &from, const QList &to) - void fp_QAbstractListModel_changePersistentIndexList_5912 (const QList &from, const QList &to) { - QAbstractListModel::changePersistentIndexList(from, to); - } - - // [expose] QModelIndex QAbstractListModel::createIndex(int row, int column, const void *data) - QModelIndex fp_QAbstractListModel_createIndex_c3069 (int row, int column, const void *data) const { - return QAbstractListModel::createIndex(row, column, data); - } - - // [expose] QModelIndex QAbstractListModel::createIndex(int row, int column, quintptr id) - QModelIndex fp_QAbstractListModel_createIndex_c2657 (int row, int column, quintptr id) const { - return QAbstractListModel::createIndex(row, column, id); - } - - // [expose] bool QAbstractListModel::decodeData(int row, int column, const QModelIndex &parent, QDataStream &stream) - bool fp_QAbstractListModel_decodeData_5302 (int row, int column, const QModelIndex &parent, QDataStream &stream) { - return QAbstractListModel::decodeData(row, column, parent, stream); - } - - // [expose] void QAbstractListModel::encodeData(const QList &indexes, QDataStream &stream) - void fp_QAbstractListModel_encodeData_c4599 (const QList &indexes, QDataStream &stream) const { - QAbstractListModel::encodeData(indexes, stream); - } - - // [expose] void QAbstractListModel::endInsertColumns() - void fp_QAbstractListModel_endInsertColumns_0 () { - QAbstractListModel::endInsertColumns(); - } - - // [expose] void QAbstractListModel::endInsertRows() - void fp_QAbstractListModel_endInsertRows_0 () { - QAbstractListModel::endInsertRows(); - } - - // [expose] void QAbstractListModel::endMoveColumns() - void fp_QAbstractListModel_endMoveColumns_0 () { - QAbstractListModel::endMoveColumns(); - } - - // [expose] void QAbstractListModel::endMoveRows() - void fp_QAbstractListModel_endMoveRows_0 () { - QAbstractListModel::endMoveRows(); - } - - // [expose] void QAbstractListModel::endRemoveColumns() - void fp_QAbstractListModel_endRemoveColumns_0 () { - QAbstractListModel::endRemoveColumns(); - } - - // [expose] void QAbstractListModel::endRemoveRows() - void fp_QAbstractListModel_endRemoveRows_0 () { - QAbstractListModel::endRemoveRows(); - } - - // [expose] void QAbstractListModel::endResetModel() - void fp_QAbstractListModel_endResetModel_0 () { - QAbstractListModel::endResetModel(); - } - - // [expose] bool QAbstractListModel::isSignalConnected(const QMetaMethod &signal) - bool fp_QAbstractListModel_isSignalConnected_c2394 (const QMetaMethod &signal) const { - return QAbstractListModel::isSignalConnected(signal); - } - - // [expose] QList QAbstractListModel::persistentIndexList() - QList fp_QAbstractListModel_persistentIndexList_c0 () const { - return QAbstractListModel::persistentIndexList(); - } - - // [expose] int QAbstractListModel::receivers(const char *signal) - int fp_QAbstractListModel_receivers_c1731 (const char *signal) const { - return QAbstractListModel::receivers(signal); - } - - // [expose] QObject *QAbstractListModel::sender() - QObject * fp_QAbstractListModel_sender_c0 () const { - return QAbstractListModel::sender(); - } - - // [expose] int QAbstractListModel::senderSignalIndex() - int fp_QAbstractListModel_senderSignalIndex_c0 () const { - return QAbstractListModel::senderSignalIndex(); - } - - // [adaptor impl] QModelIndex QAbstractListModel::buddy(const QModelIndex &index) - QModelIndex cbs_buddy_c2395_0(const QModelIndex &index) const - { - return QAbstractListModel::buddy(index); - } - - virtual QModelIndex buddy(const QModelIndex &index) const - { - if (cb_buddy_c2395_0.can_issue()) { - return cb_buddy_c2395_0.issue(&QAbstractListModel_Adaptor::cbs_buddy_c2395_0, index); - } else { - return QAbstractListModel::buddy(index); - } - } - - // [adaptor impl] bool QAbstractListModel::canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) - bool cbs_canDropMimeData_c7425_0(const QMimeData *data, const qt_gsi::Converter::target_type & action, int row, int column, const QModelIndex &parent) const - { - return QAbstractListModel::canDropMimeData(data, qt_gsi::QtToCppAdaptor(action).cref(), row, column, parent); - } - - virtual bool canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) const - { - if (cb_canDropMimeData_c7425_0.can_issue()) { - return cb_canDropMimeData_c7425_0.issue::target_type &, int, int, const QModelIndex &>(&QAbstractListModel_Adaptor::cbs_canDropMimeData_c7425_0, data, qt_gsi::CppToQtAdaptor(action), row, column, parent); - } else { - return QAbstractListModel::canDropMimeData(data, action, row, column, parent); - } - } - - // [adaptor impl] bool QAbstractListModel::canFetchMore(const QModelIndex &parent) - bool cbs_canFetchMore_c2395_0(const QModelIndex &parent) const - { - return QAbstractListModel::canFetchMore(parent); - } - - virtual bool canFetchMore(const QModelIndex &parent) const - { - if (cb_canFetchMore_c2395_0.can_issue()) { - return cb_canFetchMore_c2395_0.issue(&QAbstractListModel_Adaptor::cbs_canFetchMore_c2395_0, parent); - } else { - return QAbstractListModel::canFetchMore(parent); - } - } - - // [adaptor impl] bool QAbstractListModel::clearItemData(const QModelIndex &index) - bool cbs_clearItemData_2395_0(const QModelIndex &index) - { - return QAbstractListModel::clearItemData(index); - } - - virtual bool clearItemData(const QModelIndex &index) - { - if (cb_clearItemData_2395_0.can_issue()) { - return cb_clearItemData_2395_0.issue(&QAbstractListModel_Adaptor::cbs_clearItemData_2395_0, index); - } else { - return QAbstractListModel::clearItemData(index); - } - } - - // [emitter impl] void QAbstractListModel::columnsAboutToBeInserted(const QModelIndex &parent, int first, int last) - void emitter_QAbstractListModel_columnsAboutToBeInserted_7372(const QModelIndex &parent, int first, int last) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (first); - __SUPPRESS_UNUSED_WARNING (last); - throw tl::Exception ("Can't emit private signal 'void QAbstractListModel::columnsAboutToBeInserted(const QModelIndex &parent, int first, int last)'"); - } - - // [emitter impl] void QAbstractListModel::columnsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationColumn) - void emitter_QAbstractListModel_columnsAboutToBeMoved_10318(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationColumn) - { - __SUPPRESS_UNUSED_WARNING (sourceParent); - __SUPPRESS_UNUSED_WARNING (sourceStart); - __SUPPRESS_UNUSED_WARNING (sourceEnd); - __SUPPRESS_UNUSED_WARNING (destinationParent); - __SUPPRESS_UNUSED_WARNING (destinationColumn); - throw tl::Exception ("Can't emit private signal 'void QAbstractListModel::columnsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationColumn)'"); - } - - // [emitter impl] void QAbstractListModel::columnsAboutToBeRemoved(const QModelIndex &parent, int first, int last) - void emitter_QAbstractListModel_columnsAboutToBeRemoved_7372(const QModelIndex &parent, int first, int last) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (first); - __SUPPRESS_UNUSED_WARNING (last); - throw tl::Exception ("Can't emit private signal 'void QAbstractListModel::columnsAboutToBeRemoved(const QModelIndex &parent, int first, int last)'"); - } - - // [emitter impl] void QAbstractListModel::columnsInserted(const QModelIndex &parent, int first, int last) - void emitter_QAbstractListModel_columnsInserted_7372(const QModelIndex &parent, int first, int last) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (first); - __SUPPRESS_UNUSED_WARNING (last); - throw tl::Exception ("Can't emit private signal 'void QAbstractListModel::columnsInserted(const QModelIndex &parent, int first, int last)'"); - } - - // [emitter impl] void QAbstractListModel::columnsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int column) - void emitter_QAbstractListModel_columnsMoved_10318(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int column) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (start); - __SUPPRESS_UNUSED_WARNING (end); - __SUPPRESS_UNUSED_WARNING (destination); - __SUPPRESS_UNUSED_WARNING (column); - throw tl::Exception ("Can't emit private signal 'void QAbstractListModel::columnsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int column)'"); - } - - // [emitter impl] void QAbstractListModel::columnsRemoved(const QModelIndex &parent, int first, int last) - void emitter_QAbstractListModel_columnsRemoved_7372(const QModelIndex &parent, int first, int last) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (first); - __SUPPRESS_UNUSED_WARNING (last); - throw tl::Exception ("Can't emit private signal 'void QAbstractListModel::columnsRemoved(const QModelIndex &parent, int first, int last)'"); - } - - // [adaptor impl] QVariant QAbstractListModel::data(const QModelIndex &index, int role) - QVariant cbs_data_c3054_1(const QModelIndex &index, int role) const - { - __SUPPRESS_UNUSED_WARNING (index); - __SUPPRESS_UNUSED_WARNING (role); - throw qt_gsi::AbstractMethodCalledException("data"); - } - - virtual QVariant data(const QModelIndex &index, int role) const - { - if (cb_data_c3054_1.can_issue()) { - return cb_data_c3054_1.issue(&QAbstractListModel_Adaptor::cbs_data_c3054_1, index, role); - } else { - throw qt_gsi::AbstractMethodCalledException("data"); - } - } - - // [emitter impl] void QAbstractListModel::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList &roles) - void emitter_QAbstractListModel_dataChanged_6833(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList &roles) - { - emit QAbstractListModel::dataChanged(topLeft, bottomRight, roles); - } - - // [emitter impl] void QAbstractListModel::destroyed(QObject *) - void emitter_QAbstractListModel_destroyed_1302(QObject *arg1) - { - emit QAbstractListModel::destroyed(arg1); - } - - // [adaptor impl] bool QAbstractListModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) - bool cbs_dropMimeData_7425_0(const QMimeData *data, const qt_gsi::Converter::target_type & action, int row, int column, const QModelIndex &parent) - { - return QAbstractListModel::dropMimeData(data, qt_gsi::QtToCppAdaptor(action).cref(), row, column, parent); - } - - virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) - { - if (cb_dropMimeData_7425_0.can_issue()) { - return cb_dropMimeData_7425_0.issue::target_type &, int, int, const QModelIndex &>(&QAbstractListModel_Adaptor::cbs_dropMimeData_7425_0, data, qt_gsi::CppToQtAdaptor(action), row, column, parent); - } else { - return QAbstractListModel::dropMimeData(data, action, row, column, parent); - } - } - - // [adaptor impl] bool QAbstractListModel::event(QEvent *event) - bool cbs_event_1217_0(QEvent *_event) - { - return QAbstractListModel::event(_event); - } - - virtual bool event(QEvent *_event) - { - if (cb_event_1217_0.can_issue()) { - return cb_event_1217_0.issue(&QAbstractListModel_Adaptor::cbs_event_1217_0, _event); - } else { - return QAbstractListModel::event(_event); - } - } - - // [adaptor impl] bool QAbstractListModel::eventFilter(QObject *watched, QEvent *event) - bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event) - { - return QAbstractListModel::eventFilter(watched, event); - } - - virtual bool eventFilter(QObject *watched, QEvent *event) - { - if (cb_eventFilter_2411_0.can_issue()) { - return cb_eventFilter_2411_0.issue(&QAbstractListModel_Adaptor::cbs_eventFilter_2411_0, watched, event); - } else { - return QAbstractListModel::eventFilter(watched, event); - } - } - - // [adaptor impl] void QAbstractListModel::fetchMore(const QModelIndex &parent) - void cbs_fetchMore_2395_0(const QModelIndex &parent) - { - QAbstractListModel::fetchMore(parent); - } - - virtual void fetchMore(const QModelIndex &parent) - { - if (cb_fetchMore_2395_0.can_issue()) { - cb_fetchMore_2395_0.issue(&QAbstractListModel_Adaptor::cbs_fetchMore_2395_0, parent); - } else { - QAbstractListModel::fetchMore(parent); - } - } - - // [adaptor impl] QFlags QAbstractListModel::flags(const QModelIndex &index) - QFlags cbs_flags_c2395_0(const QModelIndex &index) const - { - return QAbstractListModel::flags(index); - } - - virtual QFlags flags(const QModelIndex &index) const - { - if (cb_flags_c2395_0.can_issue()) { - return cb_flags_c2395_0.issue, const QModelIndex &>(&QAbstractListModel_Adaptor::cbs_flags_c2395_0, index); - } else { - return QAbstractListModel::flags(index); - } - } - - // [adaptor impl] QVariant QAbstractListModel::headerData(int section, Qt::Orientation orientation, int role) - QVariant cbs_headerData_c3231_1(int section, const qt_gsi::Converter::target_type & orientation, int role) const - { - return QAbstractListModel::headerData(section, qt_gsi::QtToCppAdaptor(orientation).cref(), role); - } - - virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const - { - if (cb_headerData_c3231_1.can_issue()) { - return cb_headerData_c3231_1.issue::target_type &, int>(&QAbstractListModel_Adaptor::cbs_headerData_c3231_1, section, qt_gsi::CppToQtAdaptor(orientation), role); - } else { - return QAbstractListModel::headerData(section, orientation, role); - } - } - - // [emitter impl] void QAbstractListModel::headerDataChanged(Qt::Orientation orientation, int first, int last) - void emitter_QAbstractListModel_headerDataChanged_3231(Qt::Orientation orientation, int first, int last) - { - emit QAbstractListModel::headerDataChanged(orientation, first, last); - } - - // [adaptor impl] QModelIndex QAbstractListModel::index(int row, int column, const QModelIndex &parent) - QModelIndex cbs_index_c3713_2(int row, int column, const QModelIndex &parent) const - { - return QAbstractListModel::index(row, column, parent); - } - - virtual QModelIndex index(int row, int column, const QModelIndex &parent) const - { - if (cb_index_c3713_2.can_issue()) { - return cb_index_c3713_2.issue(&QAbstractListModel_Adaptor::cbs_index_c3713_2, row, column, parent); - } else { - return QAbstractListModel::index(row, column, parent); - } - } - - // [adaptor impl] bool QAbstractListModel::insertColumns(int column, int count, const QModelIndex &parent) - bool cbs_insertColumns_3713_1(int column, int count, const QModelIndex &parent) - { - return QAbstractListModel::insertColumns(column, count, parent); - } - - virtual bool insertColumns(int column, int count, const QModelIndex &parent) - { - if (cb_insertColumns_3713_1.can_issue()) { - return cb_insertColumns_3713_1.issue(&QAbstractListModel_Adaptor::cbs_insertColumns_3713_1, column, count, parent); - } else { - return QAbstractListModel::insertColumns(column, count, parent); - } - } - - // [adaptor impl] bool QAbstractListModel::insertRows(int row, int count, const QModelIndex &parent) - bool cbs_insertRows_3713_1(int row, int count, const QModelIndex &parent) - { - return QAbstractListModel::insertRows(row, count, parent); - } - - virtual bool insertRows(int row, int count, const QModelIndex &parent) - { - if (cb_insertRows_3713_1.can_issue()) { - return cb_insertRows_3713_1.issue(&QAbstractListModel_Adaptor::cbs_insertRows_3713_1, row, count, parent); - } else { - return QAbstractListModel::insertRows(row, count, parent); - } - } - - // [adaptor impl] QMap QAbstractListModel::itemData(const QModelIndex &index) - QMap cbs_itemData_c2395_0(const QModelIndex &index) const - { - return QAbstractListModel::itemData(index); - } - - virtual QMap itemData(const QModelIndex &index) const - { - if (cb_itemData_c2395_0.can_issue()) { - return cb_itemData_c2395_0.issue, const QModelIndex &>(&QAbstractListModel_Adaptor::cbs_itemData_c2395_0, index); - } else { - return QAbstractListModel::itemData(index); - } - } - - // [emitter impl] void QAbstractListModel::layoutAboutToBeChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint) - void emitter_QAbstractListModel_layoutAboutToBeChanged_7947(const QList &parents, QAbstractItemModel::LayoutChangeHint hint) - { - emit QAbstractListModel::layoutAboutToBeChanged(parents, hint); - } - - // [emitter impl] void QAbstractListModel::layoutChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint) - void emitter_QAbstractListModel_layoutChanged_7947(const QList &parents, QAbstractItemModel::LayoutChangeHint hint) - { - emit QAbstractListModel::layoutChanged(parents, hint); - } - - // [adaptor impl] QList QAbstractListModel::match(const QModelIndex &start, int role, const QVariant &value, int hits, QFlags flags) - QList cbs_match_c7932_2(const QModelIndex &start, int role, const QVariant &value, int hits, QFlags flags) const - { - return QAbstractListModel::match(start, role, value, hits, flags); - } - - virtual QList match(const QModelIndex &start, int role, const QVariant &value, int hits, QFlags flags) const - { - if (cb_match_c7932_2.can_issue()) { - return cb_match_c7932_2.issue, const QModelIndex &, int, const QVariant &, int, QFlags >(&QAbstractListModel_Adaptor::cbs_match_c7932_2, start, role, value, hits, flags); - } else { - return QAbstractListModel::match(start, role, value, hits, flags); - } - } - - // [adaptor impl] QMimeData *QAbstractListModel::mimeData(const QList &indexes) - QMimeData * cbs_mimeData_c3010_0(const QList &indexes) const - { - return QAbstractListModel::mimeData(indexes); - } - - virtual QMimeData * mimeData(const QList &indexes) const - { - if (cb_mimeData_c3010_0.can_issue()) { - return cb_mimeData_c3010_0.issue &>(&QAbstractListModel_Adaptor::cbs_mimeData_c3010_0, indexes); - } else { - return QAbstractListModel::mimeData(indexes); - } - } - - // [adaptor impl] QStringList QAbstractListModel::mimeTypes() - QStringList cbs_mimeTypes_c0_0() const - { - return QAbstractListModel::mimeTypes(); - } - - virtual QStringList mimeTypes() const - { - if (cb_mimeTypes_c0_0.can_issue()) { - return cb_mimeTypes_c0_0.issue(&QAbstractListModel_Adaptor::cbs_mimeTypes_c0_0); - } else { - return QAbstractListModel::mimeTypes(); - } - } - - // [emitter impl] void QAbstractListModel::modelAboutToBeReset() - void emitter_QAbstractListModel_modelAboutToBeReset_3767() - { - throw tl::Exception ("Can't emit private signal 'void QAbstractListModel::modelAboutToBeReset()'"); - } - - // [emitter impl] void QAbstractListModel::modelReset() - void emitter_QAbstractListModel_modelReset_3767() - { - throw tl::Exception ("Can't emit private signal 'void QAbstractListModel::modelReset()'"); - } - - // [adaptor impl] bool QAbstractListModel::moveColumns(const QModelIndex &sourceParent, int sourceColumn, int count, const QModelIndex &destinationParent, int destinationChild) - bool cbs_moveColumns_6659_0(const QModelIndex &sourceParent, int sourceColumn, int count, const QModelIndex &destinationParent, int destinationChild) - { - return QAbstractListModel::moveColumns(sourceParent, sourceColumn, count, destinationParent, destinationChild); - } - - virtual bool moveColumns(const QModelIndex &sourceParent, int sourceColumn, int count, const QModelIndex &destinationParent, int destinationChild) - { - if (cb_moveColumns_6659_0.can_issue()) { - return cb_moveColumns_6659_0.issue(&QAbstractListModel_Adaptor::cbs_moveColumns_6659_0, sourceParent, sourceColumn, count, destinationParent, destinationChild); - } else { - return QAbstractListModel::moveColumns(sourceParent, sourceColumn, count, destinationParent, destinationChild); - } - } - - // [adaptor impl] bool QAbstractListModel::moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) - bool cbs_moveRows_6659_0(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) - { - return QAbstractListModel::moveRows(sourceParent, sourceRow, count, destinationParent, destinationChild); - } - - virtual bool moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) - { - if (cb_moveRows_6659_0.can_issue()) { - return cb_moveRows_6659_0.issue(&QAbstractListModel_Adaptor::cbs_moveRows_6659_0, sourceParent, sourceRow, count, destinationParent, destinationChild); - } else { - return QAbstractListModel::moveRows(sourceParent, sourceRow, count, destinationParent, destinationChild); - } - } - - // [adaptor impl] void QAbstractListModel::multiData(const QModelIndex &index, QModelRoleDataSpan roleDataSpan) - void cbs_multiData_c4483_0(const QModelIndex &index, QModelRoleDataSpan roleDataSpan) const - { - QAbstractListModel::multiData(index, roleDataSpan); - } - - virtual void multiData(const QModelIndex &index, QModelRoleDataSpan roleDataSpan) const - { - if (cb_multiData_c4483_0.can_issue()) { - cb_multiData_c4483_0.issue(&QAbstractListModel_Adaptor::cbs_multiData_c4483_0, index, roleDataSpan); - } else { - QAbstractListModel::multiData(index, roleDataSpan); - } - } - - // [emitter impl] void QAbstractListModel::objectNameChanged(const QString &objectName) - void emitter_QAbstractListModel_objectNameChanged_4567(const QString &objectName) - { - __SUPPRESS_UNUSED_WARNING (objectName); - throw tl::Exception ("Can't emit private signal 'void QAbstractListModel::objectNameChanged(const QString &objectName)'"); - } - - // [adaptor impl] bool QAbstractListModel::removeColumns(int column, int count, const QModelIndex &parent) - bool cbs_removeColumns_3713_1(int column, int count, const QModelIndex &parent) - { - return QAbstractListModel::removeColumns(column, count, parent); - } - - virtual bool removeColumns(int column, int count, const QModelIndex &parent) - { - if (cb_removeColumns_3713_1.can_issue()) { - return cb_removeColumns_3713_1.issue(&QAbstractListModel_Adaptor::cbs_removeColumns_3713_1, column, count, parent); - } else { - return QAbstractListModel::removeColumns(column, count, parent); - } - } - - // [adaptor impl] bool QAbstractListModel::removeRows(int row, int count, const QModelIndex &parent) - bool cbs_removeRows_3713_1(int row, int count, const QModelIndex &parent) - { - return QAbstractListModel::removeRows(row, count, parent); - } - - virtual bool removeRows(int row, int count, const QModelIndex &parent) - { - if (cb_removeRows_3713_1.can_issue()) { - return cb_removeRows_3713_1.issue(&QAbstractListModel_Adaptor::cbs_removeRows_3713_1, row, count, parent); - } else { - return QAbstractListModel::removeRows(row, count, parent); - } - } - - // [adaptor impl] void QAbstractListModel::revert() - void cbs_revert_0_0() - { - QAbstractListModel::revert(); - } - - virtual void revert() - { - if (cb_revert_0_0.can_issue()) { - cb_revert_0_0.issue(&QAbstractListModel_Adaptor::cbs_revert_0_0); - } else { - QAbstractListModel::revert(); - } - } - - // [adaptor impl] QHash QAbstractListModel::roleNames() - QHash cbs_roleNames_c0_0() const - { - return QAbstractListModel::roleNames(); - } - - virtual QHash roleNames() const - { - if (cb_roleNames_c0_0.can_issue()) { - return cb_roleNames_c0_0.issue >(&QAbstractListModel_Adaptor::cbs_roleNames_c0_0); - } else { - return QAbstractListModel::roleNames(); - } - } - - // [adaptor impl] int QAbstractListModel::rowCount(const QModelIndex &parent) - int cbs_rowCount_c2395_1(const QModelIndex &parent) const - { - __SUPPRESS_UNUSED_WARNING (parent); - throw qt_gsi::AbstractMethodCalledException("rowCount"); - } - - virtual int rowCount(const QModelIndex &parent) const - { - if (cb_rowCount_c2395_1.can_issue()) { - return cb_rowCount_c2395_1.issue(&QAbstractListModel_Adaptor::cbs_rowCount_c2395_1, parent); - } else { - throw qt_gsi::AbstractMethodCalledException("rowCount"); - } - } - - // [emitter impl] void QAbstractListModel::rowsAboutToBeInserted(const QModelIndex &parent, int first, int last) - void emitter_QAbstractListModel_rowsAboutToBeInserted_7372(const QModelIndex &parent, int first, int last) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (first); - __SUPPRESS_UNUSED_WARNING (last); - throw tl::Exception ("Can't emit private signal 'void QAbstractListModel::rowsAboutToBeInserted(const QModelIndex &parent, int first, int last)'"); - } - - // [emitter impl] void QAbstractListModel::rowsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow) - void emitter_QAbstractListModel_rowsAboutToBeMoved_10318(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow) - { - __SUPPRESS_UNUSED_WARNING (sourceParent); - __SUPPRESS_UNUSED_WARNING (sourceStart); - __SUPPRESS_UNUSED_WARNING (sourceEnd); - __SUPPRESS_UNUSED_WARNING (destinationParent); - __SUPPRESS_UNUSED_WARNING (destinationRow); - throw tl::Exception ("Can't emit private signal 'void QAbstractListModel::rowsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow)'"); - } - - // [emitter impl] void QAbstractListModel::rowsAboutToBeRemoved(const QModelIndex &parent, int first, int last) - void emitter_QAbstractListModel_rowsAboutToBeRemoved_7372(const QModelIndex &parent, int first, int last) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (first); - __SUPPRESS_UNUSED_WARNING (last); - throw tl::Exception ("Can't emit private signal 'void QAbstractListModel::rowsAboutToBeRemoved(const QModelIndex &parent, int first, int last)'"); - } - - // [emitter impl] void QAbstractListModel::rowsInserted(const QModelIndex &parent, int first, int last) - void emitter_QAbstractListModel_rowsInserted_7372(const QModelIndex &parent, int first, int last) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (first); - __SUPPRESS_UNUSED_WARNING (last); - throw tl::Exception ("Can't emit private signal 'void QAbstractListModel::rowsInserted(const QModelIndex &parent, int first, int last)'"); - } - - // [emitter impl] void QAbstractListModel::rowsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int row) - void emitter_QAbstractListModel_rowsMoved_10318(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int row) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (start); - __SUPPRESS_UNUSED_WARNING (end); - __SUPPRESS_UNUSED_WARNING (destination); - __SUPPRESS_UNUSED_WARNING (row); - throw tl::Exception ("Can't emit private signal 'void QAbstractListModel::rowsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int row)'"); - } - - // [emitter impl] void QAbstractListModel::rowsRemoved(const QModelIndex &parent, int first, int last) - void emitter_QAbstractListModel_rowsRemoved_7372(const QModelIndex &parent, int first, int last) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (first); - __SUPPRESS_UNUSED_WARNING (last); - throw tl::Exception ("Can't emit private signal 'void QAbstractListModel::rowsRemoved(const QModelIndex &parent, int first, int last)'"); - } - - // [adaptor impl] bool QAbstractListModel::setData(const QModelIndex &index, const QVariant &value, int role) - bool cbs_setData_5065_1(const QModelIndex &index, const QVariant &value, int role) - { - return QAbstractListModel::setData(index, value, role); - } - - virtual bool setData(const QModelIndex &index, const QVariant &value, int role) - { - if (cb_setData_5065_1.can_issue()) { - return cb_setData_5065_1.issue(&QAbstractListModel_Adaptor::cbs_setData_5065_1, index, value, role); - } else { - return QAbstractListModel::setData(index, value, role); - } - } - - // [adaptor impl] bool QAbstractListModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role) - bool cbs_setHeaderData_5242_1(int section, const qt_gsi::Converter::target_type & orientation, const QVariant &value, int role) - { - return QAbstractListModel::setHeaderData(section, qt_gsi::QtToCppAdaptor(orientation).cref(), value, role); - } - - virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role) - { - if (cb_setHeaderData_5242_1.can_issue()) { - return cb_setHeaderData_5242_1.issue::target_type &, const QVariant &, int>(&QAbstractListModel_Adaptor::cbs_setHeaderData_5242_1, section, qt_gsi::CppToQtAdaptor(orientation), value, role); - } else { - return QAbstractListModel::setHeaderData(section, orientation, value, role); - } - } - - // [adaptor impl] bool QAbstractListModel::setItemData(const QModelIndex &index, const QMap &roles) - bool cbs_setItemData_5414_0(const QModelIndex &index, const QMap &roles) - { - return QAbstractListModel::setItemData(index, roles); - } - - virtual bool setItemData(const QModelIndex &index, const QMap &roles) - { - if (cb_setItemData_5414_0.can_issue()) { - return cb_setItemData_5414_0.issue &>(&QAbstractListModel_Adaptor::cbs_setItemData_5414_0, index, roles); - } else { - return QAbstractListModel::setItemData(index, roles); - } - } - - // [adaptor impl] QModelIndex QAbstractListModel::sibling(int row, int column, const QModelIndex &idx) - QModelIndex cbs_sibling_c3713_0(int row, int column, const QModelIndex &idx) const - { - return QAbstractListModel::sibling(row, column, idx); - } - - virtual QModelIndex sibling(int row, int column, const QModelIndex &idx) const - { - if (cb_sibling_c3713_0.can_issue()) { - return cb_sibling_c3713_0.issue(&QAbstractListModel_Adaptor::cbs_sibling_c3713_0, row, column, idx); - } else { - return QAbstractListModel::sibling(row, column, idx); - } - } - - // [adaptor impl] void QAbstractListModel::sort(int column, Qt::SortOrder order) - void cbs_sort_2340_1(int column, const qt_gsi::Converter::target_type & order) - { - QAbstractListModel::sort(column, qt_gsi::QtToCppAdaptor(order).cref()); - } - - virtual void sort(int column, Qt::SortOrder order) - { - if (cb_sort_2340_1.can_issue()) { - cb_sort_2340_1.issue::target_type &>(&QAbstractListModel_Adaptor::cbs_sort_2340_1, column, qt_gsi::CppToQtAdaptor(order)); - } else { - QAbstractListModel::sort(column, order); - } - } - - // [adaptor impl] QSize QAbstractListModel::span(const QModelIndex &index) - QSize cbs_span_c2395_0(const QModelIndex &index) const - { - return QAbstractListModel::span(index); - } - - virtual QSize span(const QModelIndex &index) const - { - if (cb_span_c2395_0.can_issue()) { - return cb_span_c2395_0.issue(&QAbstractListModel_Adaptor::cbs_span_c2395_0, index); - } else { - return QAbstractListModel::span(index); - } - } - - // [adaptor impl] bool QAbstractListModel::submit() - bool cbs_submit_0_0() - { - return QAbstractListModel::submit(); - } - - virtual bool submit() - { - if (cb_submit_0_0.can_issue()) { - return cb_submit_0_0.issue(&QAbstractListModel_Adaptor::cbs_submit_0_0); - } else { - return QAbstractListModel::submit(); - } - } - - // [adaptor impl] QFlags QAbstractListModel::supportedDragActions() - QFlags cbs_supportedDragActions_c0_0() const - { - return QAbstractListModel::supportedDragActions(); - } - - virtual QFlags supportedDragActions() const - { - if (cb_supportedDragActions_c0_0.can_issue()) { - return cb_supportedDragActions_c0_0.issue >(&QAbstractListModel_Adaptor::cbs_supportedDragActions_c0_0); - } else { - return QAbstractListModel::supportedDragActions(); - } - } - - // [adaptor impl] QFlags QAbstractListModel::supportedDropActions() - QFlags cbs_supportedDropActions_c0_0() const - { - return QAbstractListModel::supportedDropActions(); - } - - virtual QFlags supportedDropActions() const - { - if (cb_supportedDropActions_c0_0.can_issue()) { - return cb_supportedDropActions_c0_0.issue >(&QAbstractListModel_Adaptor::cbs_supportedDropActions_c0_0); - } else { - return QAbstractListModel::supportedDropActions(); - } - } - - // [adaptor impl] void QAbstractListModel::childEvent(QChildEvent *event) - void cbs_childEvent_1701_0(QChildEvent *event) - { - QAbstractListModel::childEvent(event); - } - - virtual void childEvent(QChildEvent *event) - { - if (cb_childEvent_1701_0.can_issue()) { - cb_childEvent_1701_0.issue(&QAbstractListModel_Adaptor::cbs_childEvent_1701_0, event); - } else { - QAbstractListModel::childEvent(event); - } - } - - // [adaptor impl] void QAbstractListModel::customEvent(QEvent *event) - void cbs_customEvent_1217_0(QEvent *event) - { - QAbstractListModel::customEvent(event); - } - - virtual void customEvent(QEvent *event) - { - if (cb_customEvent_1217_0.can_issue()) { - cb_customEvent_1217_0.issue(&QAbstractListModel_Adaptor::cbs_customEvent_1217_0, event); - } else { - QAbstractListModel::customEvent(event); - } - } - - // [adaptor impl] void QAbstractListModel::disconnectNotify(const QMetaMethod &signal) - void cbs_disconnectNotify_2394_0(const QMetaMethod &signal) - { - QAbstractListModel::disconnectNotify(signal); - } - - virtual void disconnectNotify(const QMetaMethod &signal) - { - if (cb_disconnectNotify_2394_0.can_issue()) { - cb_disconnectNotify_2394_0.issue(&QAbstractListModel_Adaptor::cbs_disconnectNotify_2394_0, signal); - } else { - QAbstractListModel::disconnectNotify(signal); - } - } - - // [adaptor impl] void QAbstractListModel::resetInternalData() - void cbs_resetInternalData_0_0() - { - QAbstractListModel::resetInternalData(); - } - - virtual void resetInternalData() - { - if (cb_resetInternalData_0_0.can_issue()) { - cb_resetInternalData_0_0.issue(&QAbstractListModel_Adaptor::cbs_resetInternalData_0_0); - } else { - QAbstractListModel::resetInternalData(); - } - } - - // [adaptor impl] void QAbstractListModel::timerEvent(QTimerEvent *event) - void cbs_timerEvent_1730_0(QTimerEvent *event) - { - QAbstractListModel::timerEvent(event); - } - - virtual void timerEvent(QTimerEvent *event) - { - if (cb_timerEvent_1730_0.can_issue()) { - cb_timerEvent_1730_0.issue(&QAbstractListModel_Adaptor::cbs_timerEvent_1730_0, event); - } else { - QAbstractListModel::timerEvent(event); - } - } - - gsi::Callback cb_buddy_c2395_0; - gsi::Callback cb_canDropMimeData_c7425_0; - gsi::Callback cb_canFetchMore_c2395_0; - gsi::Callback cb_clearItemData_2395_0; - gsi::Callback cb_data_c3054_1; - gsi::Callback cb_dropMimeData_7425_0; - gsi::Callback cb_event_1217_0; - gsi::Callback cb_eventFilter_2411_0; - gsi::Callback cb_fetchMore_2395_0; - gsi::Callback cb_flags_c2395_0; - gsi::Callback cb_headerData_c3231_1; - gsi::Callback cb_index_c3713_2; - gsi::Callback cb_insertColumns_3713_1; - gsi::Callback cb_insertRows_3713_1; - gsi::Callback cb_itemData_c2395_0; - gsi::Callback cb_match_c7932_2; - gsi::Callback cb_mimeData_c3010_0; - gsi::Callback cb_mimeTypes_c0_0; - gsi::Callback cb_moveColumns_6659_0; - gsi::Callback cb_moveRows_6659_0; - gsi::Callback cb_multiData_c4483_0; - gsi::Callback cb_removeColumns_3713_1; - gsi::Callback cb_removeRows_3713_1; - gsi::Callback cb_revert_0_0; - gsi::Callback cb_roleNames_c0_0; - gsi::Callback cb_rowCount_c2395_1; - gsi::Callback cb_setData_5065_1; - gsi::Callback cb_setHeaderData_5242_1; - gsi::Callback cb_setItemData_5414_0; - gsi::Callback cb_sibling_c3713_0; - gsi::Callback cb_sort_2340_1; - gsi::Callback cb_span_c2395_0; - gsi::Callback cb_submit_0_0; - gsi::Callback cb_supportedDragActions_c0_0; - gsi::Callback cb_supportedDropActions_c0_0; - gsi::Callback cb_childEvent_1701_0; - gsi::Callback cb_customEvent_1217_0; - gsi::Callback cb_disconnectNotify_2394_0; - gsi::Callback cb_resetInternalData_0_0; - gsi::Callback cb_timerEvent_1730_0; -}; - -QAbstractListModel_Adaptor::~QAbstractListModel_Adaptor() { } - -// Constructor QAbstractListModel::QAbstractListModel(QObject *parent) (adaptor class) - -static void _init_ctor_QAbstractListModel_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent", true, "nullptr"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QAbstractListModel_Adaptor_1302 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ret.write (new QAbstractListModel_Adaptor (arg1)); -} - - -// exposed void QAbstractListModel::beginInsertColumns(const QModelIndex &parent, int first, int last) - -static void _init_fp_beginInsertColumns_3713 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_fp_beginInsertColumns_3713 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_beginInsertColumns_3713 (arg1, arg2, arg3); -} - - -// exposed void QAbstractListModel::beginInsertRows(const QModelIndex &parent, int first, int last) - -static void _init_fp_beginInsertRows_3713 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_fp_beginInsertRows_3713 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_beginInsertRows_3713 (arg1, arg2, arg3); -} - - -// exposed bool QAbstractListModel::beginMoveColumns(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationColumn) - -static void _init_fp_beginMoveColumns_6659 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sourceParent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sourceFirst"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("sourceLast"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destinationParent"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("destinationColumn"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_fp_beginMoveColumns_6659 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const QModelIndex &arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_beginMoveColumns_6659 (arg1, arg2, arg3, arg4, arg5)); -} - - -// exposed bool QAbstractListModel::beginMoveRows(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationRow) - -static void _init_fp_beginMoveRows_6659 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sourceParent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sourceFirst"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("sourceLast"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destinationParent"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("destinationRow"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_fp_beginMoveRows_6659 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const QModelIndex &arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_beginMoveRows_6659 (arg1, arg2, arg3, arg4, arg5)); -} - - -// exposed void QAbstractListModel::beginRemoveColumns(const QModelIndex &parent, int first, int last) - -static void _init_fp_beginRemoveColumns_3713 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_fp_beginRemoveColumns_3713 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_beginRemoveColumns_3713 (arg1, arg2, arg3); -} - - -// exposed void QAbstractListModel::beginRemoveRows(const QModelIndex &parent, int first, int last) - -static void _init_fp_beginRemoveRows_3713 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_fp_beginRemoveRows_3713 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_beginRemoveRows_3713 (arg1, arg2, arg3); -} - - -// exposed void QAbstractListModel::beginResetModel() - -static void _init_fp_beginResetModel_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_beginResetModel_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_beginResetModel_0 (); -} - - -// QModelIndex QAbstractListModel::buddy(const QModelIndex &index) - -static void _init_cbs_buddy_c2395_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_buddy_c2395_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write ((QModelIndex)((QAbstractListModel_Adaptor *)cls)->cbs_buddy_c2395_0 (arg1)); -} - -static void _set_callback_cbs_buddy_c2395_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_buddy_c2395_0 = cb; -} - - -// bool QAbstractListModel::canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) - -static void _init_cbs_canDropMimeData_c7425_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("action"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("row"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("column"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("parent"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_cbs_canDropMimeData_c7425_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMimeData *arg1 = args.read (heap); - const qt_gsi::Converter::target_type & arg2 = args.read::target_type & > (heap); - int arg3 = args.read (heap); - int arg4 = args.read (heap); - const QModelIndex &arg5 = args.read (heap); - ret.write ((bool)((QAbstractListModel_Adaptor *)cls)->cbs_canDropMimeData_c7425_0 (arg1, arg2, arg3, arg4, arg5)); -} - -static void _set_callback_cbs_canDropMimeData_c7425_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_canDropMimeData_c7425_0 = cb; -} - - -// bool QAbstractListModel::canFetchMore(const QModelIndex &parent) - -static void _init_cbs_canFetchMore_c2395_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_canFetchMore_c2395_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write ((bool)((QAbstractListModel_Adaptor *)cls)->cbs_canFetchMore_c2395_0 (arg1)); -} - -static void _set_callback_cbs_canFetchMore_c2395_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_canFetchMore_c2395_0 = cb; -} - - -// exposed void QAbstractListModel::changePersistentIndex(const QModelIndex &from, const QModelIndex &to) - -static void _init_fp_changePersistentIndex_4682 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("from"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("to"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_fp_changePersistentIndex_4682 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - const QModelIndex &arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_changePersistentIndex_4682 (arg1, arg2); -} - - -// exposed void QAbstractListModel::changePersistentIndexList(const QList &from, const QList &to) - -static void _init_fp_changePersistentIndexList_5912 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("from"); - decl->add_arg & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("to"); - decl->add_arg & > (argspec_1); - decl->set_return (); -} - -static void _call_fp_changePersistentIndexList_5912 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QList &arg1 = gsi::arg_reader & >() (args, heap); - const QList &arg2 = gsi::arg_reader & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_changePersistentIndexList_5912 (arg1, arg2); -} - - -// void QAbstractListModel::childEvent(QChildEvent *event) - -static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_childEvent_1701_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QChildEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractListModel_Adaptor *)cls)->cbs_childEvent_1701_0 (arg1); -} - -static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_childEvent_1701_0 = cb; -} - - -// bool QAbstractListModel::clearItemData(const QModelIndex &index) - -static void _init_cbs_clearItemData_2395_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_clearItemData_2395_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write ((bool)((QAbstractListModel_Adaptor *)cls)->cbs_clearItemData_2395_0 (arg1)); -} - -static void _set_callback_cbs_clearItemData_2395_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_clearItemData_2395_0 = cb; -} - - -// emitter void QAbstractListModel::columnsAboutToBeInserted(const QModelIndex &parent, int first, int last) - -static void _init_emitter_columnsAboutToBeInserted_7372 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_columnsAboutToBeInserted_7372 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractListModel_Adaptor *)cls)->emitter_QAbstractListModel_columnsAboutToBeInserted_7372 (arg1, arg2, arg3); -} - - -// emitter void QAbstractListModel::columnsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationColumn) - -static void _init_emitter_columnsAboutToBeMoved_10318 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sourceParent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sourceStart"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("sourceEnd"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destinationParent"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("destinationColumn"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_emitter_columnsAboutToBeMoved_10318 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const QModelIndex &arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - ((QAbstractListModel_Adaptor *)cls)->emitter_QAbstractListModel_columnsAboutToBeMoved_10318 (arg1, arg2, arg3, arg4, arg5); -} - - -// emitter void QAbstractListModel::columnsAboutToBeRemoved(const QModelIndex &parent, int first, int last) - -static void _init_emitter_columnsAboutToBeRemoved_7372 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_columnsAboutToBeRemoved_7372 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractListModel_Adaptor *)cls)->emitter_QAbstractListModel_columnsAboutToBeRemoved_7372 (arg1, arg2, arg3); -} - - -// emitter void QAbstractListModel::columnsInserted(const QModelIndex &parent, int first, int last) - -static void _init_emitter_columnsInserted_7372 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_columnsInserted_7372 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractListModel_Adaptor *)cls)->emitter_QAbstractListModel_columnsInserted_7372 (arg1, arg2, arg3); -} - - -// emitter void QAbstractListModel::columnsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int column) - -static void _init_emitter_columnsMoved_10318 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("start"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("end"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destination"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("column"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_emitter_columnsMoved_10318 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const QModelIndex &arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - ((QAbstractListModel_Adaptor *)cls)->emitter_QAbstractListModel_columnsMoved_10318 (arg1, arg2, arg3, arg4, arg5); -} - - -// emitter void QAbstractListModel::columnsRemoved(const QModelIndex &parent, int first, int last) - -static void _init_emitter_columnsRemoved_7372 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_columnsRemoved_7372 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractListModel_Adaptor *)cls)->emitter_QAbstractListModel_columnsRemoved_7372 (arg1, arg2, arg3); -} - - -// exposed QModelIndex QAbstractListModel::createIndex(int row, int column, const void *data) - -static void _init_fp_createIndex_c3069 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("column"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("data", true, "nullptr"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_fp_createIndex_c3069 (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); - int arg2 = gsi::arg_reader() (args, heap); - const void *arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ret.write ((QModelIndex)((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_createIndex_c3069 (arg1, arg2, arg3)); -} - - -// exposed QModelIndex QAbstractListModel::createIndex(int row, int column, quintptr id) - -static void _init_fp_createIndex_c2657 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("column"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("id"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_fp_createIndex_c2657 (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); - int arg2 = gsi::arg_reader() (args, heap); - quintptr arg3 = gsi::arg_reader() (args, heap); - ret.write ((QModelIndex)((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_createIndex_c2657 (arg1, arg2, arg3)); -} - - -// void QAbstractListModel::customEvent(QEvent *event) - -static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_customEvent_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractListModel_Adaptor *)cls)->cbs_customEvent_1217_0 (arg1); -} - -static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_customEvent_1217_0 = cb; -} - - -// QVariant QAbstractListModel::data(const QModelIndex &index, int role) - -static void _init_cbs_data_c3054_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("role"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_cbs_data_c3054_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - int arg2 = args.read (heap); - ret.write ((QVariant)((QAbstractListModel_Adaptor *)cls)->cbs_data_c3054_1 (arg1, arg2)); -} - -static void _set_callback_cbs_data_c3054_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_data_c3054_1 = cb; -} - - -// emitter void QAbstractListModel::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList &roles) - -static void _init_emitter_dataChanged_6833 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("topLeft"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("bottomRight"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("roles", true, "QList()"); - decl->add_arg & > (argspec_2); - decl->set_return (); -} - -static void _call_emitter_dataChanged_6833 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - const QModelIndex &arg2 = gsi::arg_reader() (args, heap); - const QList &arg3 = args ? gsi::arg_reader & >() (args, heap) : gsi::arg_maker & >() (QList(), heap); - ((QAbstractListModel_Adaptor *)cls)->emitter_QAbstractListModel_dataChanged_6833 (arg1, arg2, arg3); -} - - -// exposed bool QAbstractListModel::decodeData(int row, int column, const QModelIndex &parent, QDataStream &stream) - -static void _init_fp_decodeData_5302 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("column"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("stream"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_fp_decodeData_5302 (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); - int arg2 = gsi::arg_reader() (args, heap); - const QModelIndex &arg3 = gsi::arg_reader() (args, heap); - QDataStream &arg4 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_decodeData_5302 (arg1, arg2, arg3, arg4)); -} - - -// emitter void QAbstractListModel::destroyed(QObject *) - -static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ((QAbstractListModel_Adaptor *)cls)->emitter_QAbstractListModel_destroyed_1302 (arg1); -} - - -// void QAbstractListModel::disconnectNotify(const QMetaMethod &signal) - -static void _init_cbs_disconnectNotify_2394_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("signal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_disconnectNotify_2394_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMetaMethod &arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractListModel_Adaptor *)cls)->cbs_disconnectNotify_2394_0 (arg1); -} - -static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_disconnectNotify_2394_0 = cb; -} - - -// bool QAbstractListModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) - -static void _init_cbs_dropMimeData_7425_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("action"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("row"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("column"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("parent"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_cbs_dropMimeData_7425_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMimeData *arg1 = args.read (heap); - const qt_gsi::Converter::target_type & arg2 = args.read::target_type & > (heap); - int arg3 = args.read (heap); - int arg4 = args.read (heap); - const QModelIndex &arg5 = args.read (heap); - ret.write ((bool)((QAbstractListModel_Adaptor *)cls)->cbs_dropMimeData_7425_0 (arg1, arg2, arg3, arg4, arg5)); -} - -static void _set_callback_cbs_dropMimeData_7425_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_dropMimeData_7425_0 = cb; -} - - -// exposed void QAbstractListModel::encodeData(const QList &indexes, QDataStream &stream) - -static void _init_fp_encodeData_c4599 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("indexes"); - decl->add_arg & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("stream"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_fp_encodeData_c4599 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QList &arg1 = gsi::arg_reader & >() (args, heap); - QDataStream &arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_encodeData_c4599 (arg1, arg2); -} - - -// exposed void QAbstractListModel::endInsertColumns() - -static void _init_fp_endInsertColumns_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_endInsertColumns_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_endInsertColumns_0 (); -} - - -// exposed void QAbstractListModel::endInsertRows() - -static void _init_fp_endInsertRows_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_endInsertRows_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_endInsertRows_0 (); -} - - -// exposed void QAbstractListModel::endMoveColumns() - -static void _init_fp_endMoveColumns_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_endMoveColumns_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_endMoveColumns_0 (); -} - - -// exposed void QAbstractListModel::endMoveRows() - -static void _init_fp_endMoveRows_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_endMoveRows_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_endMoveRows_0 (); -} - - -// exposed void QAbstractListModel::endRemoveColumns() - -static void _init_fp_endRemoveColumns_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_endRemoveColumns_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_endRemoveColumns_0 (); -} - - -// exposed void QAbstractListModel::endRemoveRows() - -static void _init_fp_endRemoveRows_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_endRemoveRows_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_endRemoveRows_0 (); -} - - -// exposed void QAbstractListModel::endResetModel() - -static void _init_fp_endResetModel_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_endResetModel_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_endResetModel_0 (); -} - - -// bool QAbstractListModel::event(QEvent *event) - -static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_event_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QEvent *arg1 = args.read (heap); - ret.write ((bool)((QAbstractListModel_Adaptor *)cls)->cbs_event_1217_0 (arg1)); -} - -static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_event_1217_0 = cb; -} - - -// bool QAbstractListModel::eventFilter(QObject *watched, QEvent *event) - -static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("watched"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("event"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_cbs_eventFilter_2411_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = args.read (heap); - QEvent *arg2 = args.read (heap); - ret.write ((bool)((QAbstractListModel_Adaptor *)cls)->cbs_eventFilter_2411_0 (arg1, arg2)); -} - -static void _set_callback_cbs_eventFilter_2411_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_eventFilter_2411_0 = cb; -} - - -// void QAbstractListModel::fetchMore(const QModelIndex &parent) - -static void _init_cbs_fetchMore_2395_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_fetchMore_2395_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractListModel_Adaptor *)cls)->cbs_fetchMore_2395_0 (arg1); -} - -static void _set_callback_cbs_fetchMore_2395_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_fetchMore_2395_0 = cb; -} - - -// QFlags QAbstractListModel::flags(const QModelIndex &index) - -static void _init_cbs_flags_c2395_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - decl->set_return > (); -} - -static void _call_cbs_flags_c2395_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write > ((QFlags)((QAbstractListModel_Adaptor *)cls)->cbs_flags_c2395_0 (arg1)); -} - -static void _set_callback_cbs_flags_c2395_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_flags_c2395_0 = cb; -} - - -// QVariant QAbstractListModel::headerData(int section, Qt::Orientation orientation, int role) - -static void _init_cbs_headerData_c3231_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("section"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("orientation"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("role"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_headerData_c3231_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - const qt_gsi::Converter::target_type & arg2 = args.read::target_type & > (heap); - int arg3 = args.read (heap); - ret.write ((QVariant)((QAbstractListModel_Adaptor *)cls)->cbs_headerData_c3231_1 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_headerData_c3231_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_headerData_c3231_1 = cb; -} - - -// emitter void QAbstractListModel::headerDataChanged(Qt::Orientation orientation, int first, int last) - -static void _init_emitter_headerDataChanged_3231 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("orientation"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_headerDataChanged_3231 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractListModel_Adaptor *)cls)->emitter_QAbstractListModel_headerDataChanged_3231 (arg1, arg2, arg3); -} - - -// QModelIndex QAbstractListModel::index(int row, int column, const QModelIndex &parent) - -static void _init_cbs_index_c3713_2 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("column"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_index_c3713_2 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - const QModelIndex &arg3 = args.read (heap); - ret.write ((QModelIndex)((QAbstractListModel_Adaptor *)cls)->cbs_index_c3713_2 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_index_c3713_2 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_index_c3713_2 = cb; -} - - -// bool QAbstractListModel::insertColumns(int column, int count, const QModelIndex &parent) - -static void _init_cbs_insertColumns_3713_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("column"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_insertColumns_3713_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - const QModelIndex &arg3 = args.read (heap); - ret.write ((bool)((QAbstractListModel_Adaptor *)cls)->cbs_insertColumns_3713_1 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_insertColumns_3713_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_insertColumns_3713_1 = cb; -} - - -// bool QAbstractListModel::insertRows(int row, int count, const QModelIndex &parent) - -static void _init_cbs_insertRows_3713_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_insertRows_3713_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - const QModelIndex &arg3 = args.read (heap); - ret.write ((bool)((QAbstractListModel_Adaptor *)cls)->cbs_insertRows_3713_1 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_insertRows_3713_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_insertRows_3713_1 = cb; -} - - -// exposed bool QAbstractListModel::isSignalConnected(const QMetaMethod &signal) - -static void _init_fp_isSignalConnected_c2394 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("signal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_fp_isSignalConnected_c2394 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMetaMethod &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_isSignalConnected_c2394 (arg1)); -} - - -// QMap QAbstractListModel::itemData(const QModelIndex &index) - -static void _init_cbs_itemData_c2395_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - decl->set_return > (); -} - -static void _call_cbs_itemData_c2395_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write > ((QMap)((QAbstractListModel_Adaptor *)cls)->cbs_itemData_c2395_0 (arg1)); -} - -static void _set_callback_cbs_itemData_c2395_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_itemData_c2395_0 = cb; -} - - -// emitter void QAbstractListModel::layoutAboutToBeChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint) - -static void _init_emitter_layoutAboutToBeChanged_7947 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parents", true, "QList()"); - decl->add_arg & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("hint", true, "QAbstractItemModel::NoLayoutChangeHint"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_emitter_layoutAboutToBeChanged_7947 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QList &arg1 = args ? gsi::arg_reader & >() (args, heap) : gsi::arg_maker & >() (QList(), heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, QAbstractItemModel::NoLayoutChangeHint), heap); - ((QAbstractListModel_Adaptor *)cls)->emitter_QAbstractListModel_layoutAboutToBeChanged_7947 (arg1, arg2); -} - - -// emitter void QAbstractListModel::layoutChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint) - -static void _init_emitter_layoutChanged_7947 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parents", true, "QList()"); - decl->add_arg & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("hint", true, "QAbstractItemModel::NoLayoutChangeHint"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_emitter_layoutChanged_7947 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QList &arg1 = args ? gsi::arg_reader & >() (args, heap) : gsi::arg_maker & >() (QList(), heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, QAbstractItemModel::NoLayoutChangeHint), heap); - ((QAbstractListModel_Adaptor *)cls)->emitter_QAbstractListModel_layoutChanged_7947 (arg1, arg2); -} - - -// QList QAbstractListModel::match(const QModelIndex &start, int role, const QVariant &value, int hits, QFlags flags) - -static void _init_cbs_match_c7932_2 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("start"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("role"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("value"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("hits"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("flags"); - decl->add_arg > (argspec_4); - decl->set_return > (); -} - -static void _call_cbs_match_c7932_2 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - int arg2 = args.read (heap); - const QVariant &arg3 = args.read (heap); - int arg4 = args.read (heap); - QFlags arg5 = args.read > (heap); - ret.write > ((QList)((QAbstractListModel_Adaptor *)cls)->cbs_match_c7932_2 (arg1, arg2, arg3, arg4, arg5)); -} - -static void _set_callback_cbs_match_c7932_2 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_match_c7932_2 = cb; -} - - -// QMimeData *QAbstractListModel::mimeData(const QList &indexes) - -static void _init_cbs_mimeData_c3010_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("indexes"); - decl->add_arg & > (argspec_0); - decl->set_return (); -} - -static void _call_cbs_mimeData_c3010_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QList &arg1 = args.read & > (heap); - ret.write ((QMimeData *)((QAbstractListModel_Adaptor *)cls)->cbs_mimeData_c3010_0 (arg1)); -} - -static void _set_callback_cbs_mimeData_c3010_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_mimeData_c3010_0 = cb; -} - - -// QStringList QAbstractListModel::mimeTypes() - -static void _init_cbs_mimeTypes_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_mimeTypes_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QStringList)((QAbstractListModel_Adaptor *)cls)->cbs_mimeTypes_c0_0 ()); -} - -static void _set_callback_cbs_mimeTypes_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_mimeTypes_c0_0 = cb; -} - - -// emitter void QAbstractListModel::modelAboutToBeReset() - -static void _init_emitter_modelAboutToBeReset_3767 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_emitter_modelAboutToBeReset_3767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - ((QAbstractListModel_Adaptor *)cls)->emitter_QAbstractListModel_modelAboutToBeReset_3767 (); -} - - -// emitter void QAbstractListModel::modelReset() - -static void _init_emitter_modelReset_3767 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_emitter_modelReset_3767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - ((QAbstractListModel_Adaptor *)cls)->emitter_QAbstractListModel_modelReset_3767 (); -} - - -// bool QAbstractListModel::moveColumns(const QModelIndex &sourceParent, int sourceColumn, int count, const QModelIndex &destinationParent, int destinationChild) - -static void _init_cbs_moveColumns_6659_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sourceParent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sourceColumn"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destinationParent"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("destinationChild"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_cbs_moveColumns_6659_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - int arg2 = args.read (heap); - int arg3 = args.read (heap); - const QModelIndex &arg4 = args.read (heap); - int arg5 = args.read (heap); - ret.write ((bool)((QAbstractListModel_Adaptor *)cls)->cbs_moveColumns_6659_0 (arg1, arg2, arg3, arg4, arg5)); -} - -static void _set_callback_cbs_moveColumns_6659_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_moveColumns_6659_0 = cb; -} - - -// bool QAbstractListModel::moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) - -static void _init_cbs_moveRows_6659_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sourceParent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sourceRow"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destinationParent"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("destinationChild"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_cbs_moveRows_6659_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - int arg2 = args.read (heap); - int arg3 = args.read (heap); - const QModelIndex &arg4 = args.read (heap); - int arg5 = args.read (heap); - ret.write ((bool)((QAbstractListModel_Adaptor *)cls)->cbs_moveRows_6659_0 (arg1, arg2, arg3, arg4, arg5)); -} - -static void _set_callback_cbs_moveRows_6659_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_moveRows_6659_0 = cb; -} - - -// void QAbstractListModel::multiData(const QModelIndex &index, QModelRoleDataSpan roleDataSpan) - -static void _init_cbs_multiData_c4483_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("roleDataSpan"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_cbs_multiData_c4483_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - QModelRoleDataSpan arg2 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractListModel_Adaptor *)cls)->cbs_multiData_c4483_0 (arg1, arg2); -} - -static void _set_callback_cbs_multiData_c4483_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_multiData_c4483_0 = cb; -} - - -// emitter void QAbstractListModel::objectNameChanged(const QString &objectName) - -static void _init_emitter_objectNameChanged_4567 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("objectName"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_emitter_objectNameChanged_4567 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ((QAbstractListModel_Adaptor *)cls)->emitter_QAbstractListModel_objectNameChanged_4567 (arg1); -} - - -// exposed QList QAbstractListModel::persistentIndexList() - -static void _init_fp_persistentIndexList_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_fp_persistentIndexList_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QList)((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_persistentIndexList_c0 ()); -} - - -// exposed int QAbstractListModel::receivers(const char *signal) - -static void _init_fp_receivers_c1731 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("signal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_fp_receivers_c1731 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - ret.write ((int)((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_receivers_c1731 (arg1)); -} - - -// bool QAbstractListModel::removeColumns(int column, int count, const QModelIndex &parent) - -static void _init_cbs_removeColumns_3713_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("column"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_removeColumns_3713_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - const QModelIndex &arg3 = args.read (heap); - ret.write ((bool)((QAbstractListModel_Adaptor *)cls)->cbs_removeColumns_3713_1 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_removeColumns_3713_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_removeColumns_3713_1 = cb; -} - - -// bool QAbstractListModel::removeRows(int row, int count, const QModelIndex &parent) - -static void _init_cbs_removeRows_3713_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_removeRows_3713_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - const QModelIndex &arg3 = args.read (heap); - ret.write ((bool)((QAbstractListModel_Adaptor *)cls)->cbs_removeRows_3713_1 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_removeRows_3713_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_removeRows_3713_1 = cb; -} - - -// void QAbstractListModel::resetInternalData() - -static void _init_cbs_resetInternalData_0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_resetInternalData_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractListModel_Adaptor *)cls)->cbs_resetInternalData_0_0 (); -} - -static void _set_callback_cbs_resetInternalData_0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_resetInternalData_0_0 = cb; -} - - -// void QAbstractListModel::revert() - -static void _init_cbs_revert_0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_revert_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractListModel_Adaptor *)cls)->cbs_revert_0_0 (); -} - -static void _set_callback_cbs_revert_0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_revert_0_0 = cb; -} - - -// QHash QAbstractListModel::roleNames() - -static void _init_cbs_roleNames_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_cbs_roleNames_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QHash)((QAbstractListModel_Adaptor *)cls)->cbs_roleNames_c0_0 ()); -} - -static void _set_callback_cbs_roleNames_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_roleNames_c0_0 = cb; -} - - -// int QAbstractListModel::rowCount(const QModelIndex &parent) - -static void _init_cbs_rowCount_c2395_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_rowCount_c2395_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write ((int)((QAbstractListModel_Adaptor *)cls)->cbs_rowCount_c2395_1 (arg1)); -} - -static void _set_callback_cbs_rowCount_c2395_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_rowCount_c2395_1 = cb; -} - - -// emitter void QAbstractListModel::rowsAboutToBeInserted(const QModelIndex &parent, int first, int last) - -static void _init_emitter_rowsAboutToBeInserted_7372 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_rowsAboutToBeInserted_7372 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractListModel_Adaptor *)cls)->emitter_QAbstractListModel_rowsAboutToBeInserted_7372 (arg1, arg2, arg3); -} - - -// emitter void QAbstractListModel::rowsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow) - -static void _init_emitter_rowsAboutToBeMoved_10318 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sourceParent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sourceStart"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("sourceEnd"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destinationParent"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("destinationRow"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_emitter_rowsAboutToBeMoved_10318 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const QModelIndex &arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - ((QAbstractListModel_Adaptor *)cls)->emitter_QAbstractListModel_rowsAboutToBeMoved_10318 (arg1, arg2, arg3, arg4, arg5); -} - - -// emitter void QAbstractListModel::rowsAboutToBeRemoved(const QModelIndex &parent, int first, int last) - -static void _init_emitter_rowsAboutToBeRemoved_7372 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_rowsAboutToBeRemoved_7372 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractListModel_Adaptor *)cls)->emitter_QAbstractListModel_rowsAboutToBeRemoved_7372 (arg1, arg2, arg3); -} - - -// emitter void QAbstractListModel::rowsInserted(const QModelIndex &parent, int first, int last) - -static void _init_emitter_rowsInserted_7372 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_rowsInserted_7372 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractListModel_Adaptor *)cls)->emitter_QAbstractListModel_rowsInserted_7372 (arg1, arg2, arg3); -} - - -// emitter void QAbstractListModel::rowsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int row) - -static void _init_emitter_rowsMoved_10318 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("start"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("end"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destination"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("row"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_emitter_rowsMoved_10318 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const QModelIndex &arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - ((QAbstractListModel_Adaptor *)cls)->emitter_QAbstractListModel_rowsMoved_10318 (arg1, arg2, arg3, arg4, arg5); -} - - -// emitter void QAbstractListModel::rowsRemoved(const QModelIndex &parent, int first, int last) - -static void _init_emitter_rowsRemoved_7372 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_rowsRemoved_7372 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractListModel_Adaptor *)cls)->emitter_QAbstractListModel_rowsRemoved_7372 (arg1, arg2, arg3); -} - - -// exposed QObject *QAbstractListModel::sender() - -static void _init_fp_sender_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_sender_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QObject *)((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_sender_c0 ()); -} - - -// exposed int QAbstractListModel::senderSignalIndex() - -static void _init_fp_senderSignalIndex_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_senderSignalIndex_c0 ()); -} - - -// bool QAbstractListModel::setData(const QModelIndex &index, const QVariant &value, int role) - -static void _init_cbs_setData_5065_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("value"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("role"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_setData_5065_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - const QVariant &arg2 = args.read (heap); - int arg3 = args.read (heap); - ret.write ((bool)((QAbstractListModel_Adaptor *)cls)->cbs_setData_5065_1 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_setData_5065_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_setData_5065_1 = cb; -} - - -// bool QAbstractListModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role) - -static void _init_cbs_setHeaderData_5242_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("section"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("orientation"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("value"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("role"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_cbs_setHeaderData_5242_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - const qt_gsi::Converter::target_type & arg2 = args.read::target_type & > (heap); - const QVariant &arg3 = args.read (heap); - int arg4 = args.read (heap); - ret.write ((bool)((QAbstractListModel_Adaptor *)cls)->cbs_setHeaderData_5242_1 (arg1, arg2, arg3, arg4)); -} - -static void _set_callback_cbs_setHeaderData_5242_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_setHeaderData_5242_1 = cb; -} - - -// bool QAbstractListModel::setItemData(const QModelIndex &index, const QMap &roles) - -static void _init_cbs_setItemData_5414_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("roles"); - decl->add_arg & > (argspec_1); - decl->set_return (); -} - -static void _call_cbs_setItemData_5414_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - const QMap &arg2 = args.read & > (heap); - ret.write ((bool)((QAbstractListModel_Adaptor *)cls)->cbs_setItemData_5414_0 (arg1, arg2)); -} - -static void _set_callback_cbs_setItemData_5414_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_setItemData_5414_0 = cb; -} - - -// QModelIndex QAbstractListModel::sibling(int row, int column, const QModelIndex &idx) - -static void _init_cbs_sibling_c3713_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("column"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("idx"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_sibling_c3713_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - const QModelIndex &arg3 = args.read (heap); - ret.write ((QModelIndex)((QAbstractListModel_Adaptor *)cls)->cbs_sibling_c3713_0 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_sibling_c3713_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_sibling_c3713_0 = cb; -} - - -// void QAbstractListModel::sort(int column, Qt::SortOrder order) - -static void _init_cbs_sort_2340_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("column"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("order"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_cbs_sort_2340_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - const qt_gsi::Converter::target_type & arg2 = args.read::target_type & > (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractListModel_Adaptor *)cls)->cbs_sort_2340_1 (arg1, arg2); -} - -static void _set_callback_cbs_sort_2340_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_sort_2340_1 = cb; -} - - -// QSize QAbstractListModel::span(const QModelIndex &index) - -static void _init_cbs_span_c2395_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_span_c2395_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write ((QSize)((QAbstractListModel_Adaptor *)cls)->cbs_span_c2395_0 (arg1)); -} - -static void _set_callback_cbs_span_c2395_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_span_c2395_0 = cb; -} - - -// bool QAbstractListModel::submit() - -static void _init_cbs_submit_0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_submit_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QAbstractListModel_Adaptor *)cls)->cbs_submit_0_0 ()); -} - -static void _set_callback_cbs_submit_0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_submit_0_0 = cb; -} - - -// QFlags QAbstractListModel::supportedDragActions() - -static void _init_cbs_supportedDragActions_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_cbs_supportedDragActions_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QFlags)((QAbstractListModel_Adaptor *)cls)->cbs_supportedDragActions_c0_0 ()); -} - -static void _set_callback_cbs_supportedDragActions_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_supportedDragActions_c0_0 = cb; -} - - -// QFlags QAbstractListModel::supportedDropActions() - -static void _init_cbs_supportedDropActions_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_cbs_supportedDropActions_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QFlags)((QAbstractListModel_Adaptor *)cls)->cbs_supportedDropActions_c0_0 ()); -} - -static void _set_callback_cbs_supportedDropActions_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_supportedDropActions_c0_0 = cb; -} - - -// void QAbstractListModel::timerEvent(QTimerEvent *event) - -static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_timerEvent_1730_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QTimerEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractListModel_Adaptor *)cls)->cbs_timerEvent_1730_0 (arg1); -} - -static void _set_callback_cbs_timerEvent_1730_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractListModel_Adaptor *)cls)->cb_timerEvent_1730_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QAbstractListModel (); - -static gsi::Methods methods_QAbstractListModel_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractListModel::QAbstractListModel(QObject *parent)\nThis method creates an object of class QAbstractListModel.", &_init_ctor_QAbstractListModel_Adaptor_1302, &_call_ctor_QAbstractListModel_Adaptor_1302); - methods += new qt_gsi::GenericMethod ("*beginInsertColumns", "@brief Method void QAbstractListModel::beginInsertColumns(const QModelIndex &parent, int first, int last)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_beginInsertColumns_3713, &_call_fp_beginInsertColumns_3713); - methods += new qt_gsi::GenericMethod ("*beginInsertRows", "@brief Method void QAbstractListModel::beginInsertRows(const QModelIndex &parent, int first, int last)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_beginInsertRows_3713, &_call_fp_beginInsertRows_3713); - methods += new qt_gsi::GenericMethod ("*beginMoveColumns", "@brief Method bool QAbstractListModel::beginMoveColumns(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationColumn)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_beginMoveColumns_6659, &_call_fp_beginMoveColumns_6659); - methods += new qt_gsi::GenericMethod ("*beginMoveRows", "@brief Method bool QAbstractListModel::beginMoveRows(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationRow)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_beginMoveRows_6659, &_call_fp_beginMoveRows_6659); - methods += new qt_gsi::GenericMethod ("*beginRemoveColumns", "@brief Method void QAbstractListModel::beginRemoveColumns(const QModelIndex &parent, int first, int last)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_beginRemoveColumns_3713, &_call_fp_beginRemoveColumns_3713); - methods += new qt_gsi::GenericMethod ("*beginRemoveRows", "@brief Method void QAbstractListModel::beginRemoveRows(const QModelIndex &parent, int first, int last)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_beginRemoveRows_3713, &_call_fp_beginRemoveRows_3713); - methods += new qt_gsi::GenericMethod ("*beginResetModel", "@brief Method void QAbstractListModel::beginResetModel()\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_beginResetModel_0, &_call_fp_beginResetModel_0); - methods += new qt_gsi::GenericMethod ("buddy", "@brief Virtual method QModelIndex QAbstractListModel::buddy(const QModelIndex &index)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_buddy_c2395_0, &_call_cbs_buddy_c2395_0); - methods += new qt_gsi::GenericMethod ("buddy", "@hide", true, &_init_cbs_buddy_c2395_0, &_call_cbs_buddy_c2395_0, &_set_callback_cbs_buddy_c2395_0); - methods += new qt_gsi::GenericMethod ("canDropMimeData", "@brief Virtual method bool QAbstractListModel::canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_canDropMimeData_c7425_0, &_call_cbs_canDropMimeData_c7425_0); - methods += new qt_gsi::GenericMethod ("canDropMimeData", "@hide", true, &_init_cbs_canDropMimeData_c7425_0, &_call_cbs_canDropMimeData_c7425_0, &_set_callback_cbs_canDropMimeData_c7425_0); - methods += new qt_gsi::GenericMethod ("canFetchMore", "@brief Virtual method bool QAbstractListModel::canFetchMore(const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_canFetchMore_c2395_0, &_call_cbs_canFetchMore_c2395_0); - methods += new qt_gsi::GenericMethod ("canFetchMore", "@hide", true, &_init_cbs_canFetchMore_c2395_0, &_call_cbs_canFetchMore_c2395_0, &_set_callback_cbs_canFetchMore_c2395_0); - methods += new qt_gsi::GenericMethod ("*changePersistentIndex", "@brief Method void QAbstractListModel::changePersistentIndex(const QModelIndex &from, const QModelIndex &to)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_changePersistentIndex_4682, &_call_fp_changePersistentIndex_4682); - methods += new qt_gsi::GenericMethod ("*changePersistentIndexList", "@brief Method void QAbstractListModel::changePersistentIndexList(const QList &from, const QList &to)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_changePersistentIndexList_5912, &_call_fp_changePersistentIndexList_5912); - methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QAbstractListModel::childEvent(QChildEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0); - methods += new qt_gsi::GenericMethod ("*childEvent", "@hide", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0, &_set_callback_cbs_childEvent_1701_0); - methods += new qt_gsi::GenericMethod ("clearItemData", "@brief Virtual method bool QAbstractListModel::clearItemData(const QModelIndex &index)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_clearItemData_2395_0, &_call_cbs_clearItemData_2395_0); - methods += new qt_gsi::GenericMethod ("clearItemData", "@hide", false, &_init_cbs_clearItemData_2395_0, &_call_cbs_clearItemData_2395_0, &_set_callback_cbs_clearItemData_2395_0); - methods += new qt_gsi::GenericMethod ("emit_columnsAboutToBeInserted", "@brief Emitter for signal void QAbstractListModel::columnsAboutToBeInserted(const QModelIndex &parent, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_columnsAboutToBeInserted_7372, &_call_emitter_columnsAboutToBeInserted_7372); - methods += new qt_gsi::GenericMethod ("emit_columnsAboutToBeMoved", "@brief Emitter for signal void QAbstractListModel::columnsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationColumn)\nCall this method to emit this signal.", false, &_init_emitter_columnsAboutToBeMoved_10318, &_call_emitter_columnsAboutToBeMoved_10318); - methods += new qt_gsi::GenericMethod ("emit_columnsAboutToBeRemoved", "@brief Emitter for signal void QAbstractListModel::columnsAboutToBeRemoved(const QModelIndex &parent, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_columnsAboutToBeRemoved_7372, &_call_emitter_columnsAboutToBeRemoved_7372); - methods += new qt_gsi::GenericMethod ("emit_columnsInserted", "@brief Emitter for signal void QAbstractListModel::columnsInserted(const QModelIndex &parent, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_columnsInserted_7372, &_call_emitter_columnsInserted_7372); - methods += new qt_gsi::GenericMethod ("emit_columnsMoved", "@brief Emitter for signal void QAbstractListModel::columnsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int column)\nCall this method to emit this signal.", false, &_init_emitter_columnsMoved_10318, &_call_emitter_columnsMoved_10318); - methods += new qt_gsi::GenericMethod ("emit_columnsRemoved", "@brief Emitter for signal void QAbstractListModel::columnsRemoved(const QModelIndex &parent, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_columnsRemoved_7372, &_call_emitter_columnsRemoved_7372); - methods += new qt_gsi::GenericMethod ("*createIndex", "@brief Method QModelIndex QAbstractListModel::createIndex(int row, int column, const void *data)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_createIndex_c3069, &_call_fp_createIndex_c3069); - methods += new qt_gsi::GenericMethod ("*createIndex", "@brief Method QModelIndex QAbstractListModel::createIndex(int row, int column, quintptr id)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_createIndex_c2657, &_call_fp_createIndex_c2657); - methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QAbstractListModel::customEvent(QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0); - methods += new qt_gsi::GenericMethod ("*customEvent", "@hide", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0, &_set_callback_cbs_customEvent_1217_0); - methods += new qt_gsi::GenericMethod ("data", "@brief Virtual method QVariant QAbstractListModel::data(const QModelIndex &index, int role)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_data_c3054_1, &_call_cbs_data_c3054_1); - methods += new qt_gsi::GenericMethod ("data", "@hide", true, &_init_cbs_data_c3054_1, &_call_cbs_data_c3054_1, &_set_callback_cbs_data_c3054_1); - methods += new qt_gsi::GenericMethod ("emit_dataChanged", "@brief Emitter for signal void QAbstractListModel::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList &roles)\nCall this method to emit this signal.", false, &_init_emitter_dataChanged_6833, &_call_emitter_dataChanged_6833); - methods += new qt_gsi::GenericMethod ("*decodeData", "@brief Method bool QAbstractListModel::decodeData(int row, int column, const QModelIndex &parent, QDataStream &stream)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_decodeData_5302, &_call_fp_decodeData_5302); - methods += new qt_gsi::GenericMethod ("emit_destroyed", "@brief Emitter for signal void QAbstractListModel::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302); - methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@brief Virtual method void QAbstractListModel::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0); - methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@hide", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0, &_set_callback_cbs_disconnectNotify_2394_0); - methods += new qt_gsi::GenericMethod ("dropMimeData", "@brief Virtual method bool QAbstractListModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_dropMimeData_7425_0, &_call_cbs_dropMimeData_7425_0); - methods += new qt_gsi::GenericMethod ("dropMimeData", "@hide", false, &_init_cbs_dropMimeData_7425_0, &_call_cbs_dropMimeData_7425_0, &_set_callback_cbs_dropMimeData_7425_0); - methods += new qt_gsi::GenericMethod ("*encodeData", "@brief Method void QAbstractListModel::encodeData(const QList &indexes, QDataStream &stream)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_encodeData_c4599, &_call_fp_encodeData_c4599); - methods += new qt_gsi::GenericMethod ("*endInsertColumns", "@brief Method void QAbstractListModel::endInsertColumns()\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_endInsertColumns_0, &_call_fp_endInsertColumns_0); - methods += new qt_gsi::GenericMethod ("*endInsertRows", "@brief Method void QAbstractListModel::endInsertRows()\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_endInsertRows_0, &_call_fp_endInsertRows_0); - methods += new qt_gsi::GenericMethod ("*endMoveColumns", "@brief Method void QAbstractListModel::endMoveColumns()\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_endMoveColumns_0, &_call_fp_endMoveColumns_0); - methods += new qt_gsi::GenericMethod ("*endMoveRows", "@brief Method void QAbstractListModel::endMoveRows()\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_endMoveRows_0, &_call_fp_endMoveRows_0); - methods += new qt_gsi::GenericMethod ("*endRemoveColumns", "@brief Method void QAbstractListModel::endRemoveColumns()\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_endRemoveColumns_0, &_call_fp_endRemoveColumns_0); - methods += new qt_gsi::GenericMethod ("*endRemoveRows", "@brief Method void QAbstractListModel::endRemoveRows()\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_endRemoveRows_0, &_call_fp_endRemoveRows_0); - methods += new qt_gsi::GenericMethod ("*endResetModel", "@brief Method void QAbstractListModel::endResetModel()\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_endResetModel_0, &_call_fp_endResetModel_0); - methods += new qt_gsi::GenericMethod ("event", "@brief Virtual method bool QAbstractListModel::event(QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0); - methods += new qt_gsi::GenericMethod ("event", "@hide", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0, &_set_callback_cbs_event_1217_0); - methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Virtual method bool QAbstractListModel::eventFilter(QObject *watched, QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0); - methods += new qt_gsi::GenericMethod ("eventFilter", "@hide", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0, &_set_callback_cbs_eventFilter_2411_0); - methods += new qt_gsi::GenericMethod ("fetchMore", "@brief Virtual method void QAbstractListModel::fetchMore(const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_fetchMore_2395_0, &_call_cbs_fetchMore_2395_0); - methods += new qt_gsi::GenericMethod ("fetchMore", "@hide", false, &_init_cbs_fetchMore_2395_0, &_call_cbs_fetchMore_2395_0, &_set_callback_cbs_fetchMore_2395_0); - methods += new qt_gsi::GenericMethod ("flags", "@brief Virtual method QFlags QAbstractListModel::flags(const QModelIndex &index)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_flags_c2395_0, &_call_cbs_flags_c2395_0); - methods += new qt_gsi::GenericMethod ("flags", "@hide", true, &_init_cbs_flags_c2395_0, &_call_cbs_flags_c2395_0, &_set_callback_cbs_flags_c2395_0); - methods += new qt_gsi::GenericMethod ("headerData", "@brief Virtual method QVariant QAbstractListModel::headerData(int section, Qt::Orientation orientation, int role)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_headerData_c3231_1, &_call_cbs_headerData_c3231_1); - methods += new qt_gsi::GenericMethod ("headerData", "@hide", true, &_init_cbs_headerData_c3231_1, &_call_cbs_headerData_c3231_1, &_set_callback_cbs_headerData_c3231_1); - methods += new qt_gsi::GenericMethod ("emit_headerDataChanged", "@brief Emitter for signal void QAbstractListModel::headerDataChanged(Qt::Orientation orientation, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_headerDataChanged_3231, &_call_emitter_headerDataChanged_3231); - methods += new qt_gsi::GenericMethod ("index", "@brief Virtual method QModelIndex QAbstractListModel::index(int row, int column, const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_index_c3713_2, &_call_cbs_index_c3713_2); - methods += new qt_gsi::GenericMethod ("index", "@hide", true, &_init_cbs_index_c3713_2, &_call_cbs_index_c3713_2, &_set_callback_cbs_index_c3713_2); - methods += new qt_gsi::GenericMethod ("insertColumns", "@brief Virtual method bool QAbstractListModel::insertColumns(int column, int count, const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_insertColumns_3713_1, &_call_cbs_insertColumns_3713_1); - methods += new qt_gsi::GenericMethod ("insertColumns", "@hide", false, &_init_cbs_insertColumns_3713_1, &_call_cbs_insertColumns_3713_1, &_set_callback_cbs_insertColumns_3713_1); - methods += new qt_gsi::GenericMethod ("insertRows", "@brief Virtual method bool QAbstractListModel::insertRows(int row, int count, const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_insertRows_3713_1, &_call_cbs_insertRows_3713_1); - methods += new qt_gsi::GenericMethod ("insertRows", "@hide", false, &_init_cbs_insertRows_3713_1, &_call_cbs_insertRows_3713_1, &_set_callback_cbs_insertRows_3713_1); - methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QAbstractListModel::isSignalConnected(const QMetaMethod &signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_isSignalConnected_c2394, &_call_fp_isSignalConnected_c2394); - methods += new qt_gsi::GenericMethod ("itemData", "@brief Virtual method QMap QAbstractListModel::itemData(const QModelIndex &index)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_itemData_c2395_0, &_call_cbs_itemData_c2395_0); - methods += new qt_gsi::GenericMethod ("itemData", "@hide", true, &_init_cbs_itemData_c2395_0, &_call_cbs_itemData_c2395_0, &_set_callback_cbs_itemData_c2395_0); - methods += new qt_gsi::GenericMethod ("emit_layoutAboutToBeChanged", "@brief Emitter for signal void QAbstractListModel::layoutAboutToBeChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint)\nCall this method to emit this signal.", false, &_init_emitter_layoutAboutToBeChanged_7947, &_call_emitter_layoutAboutToBeChanged_7947); - methods += new qt_gsi::GenericMethod ("emit_layoutChanged", "@brief Emitter for signal void QAbstractListModel::layoutChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint)\nCall this method to emit this signal.", false, &_init_emitter_layoutChanged_7947, &_call_emitter_layoutChanged_7947); - methods += new qt_gsi::GenericMethod ("match", "@brief Virtual method QList QAbstractListModel::match(const QModelIndex &start, int role, const QVariant &value, int hits, QFlags flags)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_match_c7932_2, &_call_cbs_match_c7932_2); - methods += new qt_gsi::GenericMethod ("match", "@hide", true, &_init_cbs_match_c7932_2, &_call_cbs_match_c7932_2, &_set_callback_cbs_match_c7932_2); - methods += new qt_gsi::GenericMethod ("mimeData", "@brief Virtual method QMimeData *QAbstractListModel::mimeData(const QList &indexes)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_mimeData_c3010_0, &_call_cbs_mimeData_c3010_0); - methods += new qt_gsi::GenericMethod ("mimeData", "@hide", true, &_init_cbs_mimeData_c3010_0, &_call_cbs_mimeData_c3010_0, &_set_callback_cbs_mimeData_c3010_0); - methods += new qt_gsi::GenericMethod ("mimeTypes", "@brief Virtual method QStringList QAbstractListModel::mimeTypes()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_mimeTypes_c0_0, &_call_cbs_mimeTypes_c0_0); - methods += new qt_gsi::GenericMethod ("mimeTypes", "@hide", true, &_init_cbs_mimeTypes_c0_0, &_call_cbs_mimeTypes_c0_0, &_set_callback_cbs_mimeTypes_c0_0); - methods += new qt_gsi::GenericMethod ("emit_modelAboutToBeReset", "@brief Emitter for signal void QAbstractListModel::modelAboutToBeReset()\nCall this method to emit this signal.", false, &_init_emitter_modelAboutToBeReset_3767, &_call_emitter_modelAboutToBeReset_3767); - methods += new qt_gsi::GenericMethod ("emit_modelReset", "@brief Emitter for signal void QAbstractListModel::modelReset()\nCall this method to emit this signal.", false, &_init_emitter_modelReset_3767, &_call_emitter_modelReset_3767); - methods += new qt_gsi::GenericMethod ("moveColumns", "@brief Virtual method bool QAbstractListModel::moveColumns(const QModelIndex &sourceParent, int sourceColumn, int count, const QModelIndex &destinationParent, int destinationChild)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_moveColumns_6659_0, &_call_cbs_moveColumns_6659_0); - methods += new qt_gsi::GenericMethod ("moveColumns", "@hide", false, &_init_cbs_moveColumns_6659_0, &_call_cbs_moveColumns_6659_0, &_set_callback_cbs_moveColumns_6659_0); - methods += new qt_gsi::GenericMethod ("moveRows", "@brief Virtual method bool QAbstractListModel::moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_moveRows_6659_0, &_call_cbs_moveRows_6659_0); - methods += new qt_gsi::GenericMethod ("moveRows", "@hide", false, &_init_cbs_moveRows_6659_0, &_call_cbs_moveRows_6659_0, &_set_callback_cbs_moveRows_6659_0); - methods += new qt_gsi::GenericMethod ("multiData", "@brief Virtual method void QAbstractListModel::multiData(const QModelIndex &index, QModelRoleDataSpan roleDataSpan)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_multiData_c4483_0, &_call_cbs_multiData_c4483_0); - methods += new qt_gsi::GenericMethod ("multiData", "@hide", true, &_init_cbs_multiData_c4483_0, &_call_cbs_multiData_c4483_0, &_set_callback_cbs_multiData_c4483_0); - methods += new qt_gsi::GenericMethod ("emit_objectNameChanged", "@brief Emitter for signal void QAbstractListModel::objectNameChanged(const QString &objectName)\nCall this method to emit this signal.", false, &_init_emitter_objectNameChanged_4567, &_call_emitter_objectNameChanged_4567); - methods += new qt_gsi::GenericMethod ("*persistentIndexList", "@brief Method QList QAbstractListModel::persistentIndexList()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_persistentIndexList_c0, &_call_fp_persistentIndexList_c0); - methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QAbstractListModel::receivers(const char *signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_receivers_c1731, &_call_fp_receivers_c1731); - methods += new qt_gsi::GenericMethod ("removeColumns", "@brief Virtual method bool QAbstractListModel::removeColumns(int column, int count, const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_removeColumns_3713_1, &_call_cbs_removeColumns_3713_1); - methods += new qt_gsi::GenericMethod ("removeColumns", "@hide", false, &_init_cbs_removeColumns_3713_1, &_call_cbs_removeColumns_3713_1, &_set_callback_cbs_removeColumns_3713_1); - methods += new qt_gsi::GenericMethod ("removeRows", "@brief Virtual method bool QAbstractListModel::removeRows(int row, int count, const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_removeRows_3713_1, &_call_cbs_removeRows_3713_1); - methods += new qt_gsi::GenericMethod ("removeRows", "@hide", false, &_init_cbs_removeRows_3713_1, &_call_cbs_removeRows_3713_1, &_set_callback_cbs_removeRows_3713_1); - methods += new qt_gsi::GenericMethod ("*resetInternalData", "@brief Virtual method void QAbstractListModel::resetInternalData()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_resetInternalData_0_0, &_call_cbs_resetInternalData_0_0); - methods += new qt_gsi::GenericMethod ("*resetInternalData", "@hide", false, &_init_cbs_resetInternalData_0_0, &_call_cbs_resetInternalData_0_0, &_set_callback_cbs_resetInternalData_0_0); - methods += new qt_gsi::GenericMethod ("revert", "@brief Virtual method void QAbstractListModel::revert()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_revert_0_0, &_call_cbs_revert_0_0); - methods += new qt_gsi::GenericMethod ("revert", "@hide", false, &_init_cbs_revert_0_0, &_call_cbs_revert_0_0, &_set_callback_cbs_revert_0_0); - methods += new qt_gsi::GenericMethod ("roleNames", "@brief Virtual method QHash QAbstractListModel::roleNames()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_roleNames_c0_0, &_call_cbs_roleNames_c0_0); - methods += new qt_gsi::GenericMethod ("roleNames", "@hide", true, &_init_cbs_roleNames_c0_0, &_call_cbs_roleNames_c0_0, &_set_callback_cbs_roleNames_c0_0); - methods += new qt_gsi::GenericMethod ("rowCount", "@brief Virtual method int QAbstractListModel::rowCount(const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_rowCount_c2395_1, &_call_cbs_rowCount_c2395_1); - methods += new qt_gsi::GenericMethod ("rowCount", "@hide", true, &_init_cbs_rowCount_c2395_1, &_call_cbs_rowCount_c2395_1, &_set_callback_cbs_rowCount_c2395_1); - methods += new qt_gsi::GenericMethod ("emit_rowsAboutToBeInserted", "@brief Emitter for signal void QAbstractListModel::rowsAboutToBeInserted(const QModelIndex &parent, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_rowsAboutToBeInserted_7372, &_call_emitter_rowsAboutToBeInserted_7372); - methods += new qt_gsi::GenericMethod ("emit_rowsAboutToBeMoved", "@brief Emitter for signal void QAbstractListModel::rowsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow)\nCall this method to emit this signal.", false, &_init_emitter_rowsAboutToBeMoved_10318, &_call_emitter_rowsAboutToBeMoved_10318); - methods += new qt_gsi::GenericMethod ("emit_rowsAboutToBeRemoved", "@brief Emitter for signal void QAbstractListModel::rowsAboutToBeRemoved(const QModelIndex &parent, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_rowsAboutToBeRemoved_7372, &_call_emitter_rowsAboutToBeRemoved_7372); - methods += new qt_gsi::GenericMethod ("emit_rowsInserted", "@brief Emitter for signal void QAbstractListModel::rowsInserted(const QModelIndex &parent, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_rowsInserted_7372, &_call_emitter_rowsInserted_7372); - methods += new qt_gsi::GenericMethod ("emit_rowsMoved", "@brief Emitter for signal void QAbstractListModel::rowsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int row)\nCall this method to emit this signal.", false, &_init_emitter_rowsMoved_10318, &_call_emitter_rowsMoved_10318); - methods += new qt_gsi::GenericMethod ("emit_rowsRemoved", "@brief Emitter for signal void QAbstractListModel::rowsRemoved(const QModelIndex &parent, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_rowsRemoved_7372, &_call_emitter_rowsRemoved_7372); - methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QAbstractListModel::sender()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_sender_c0, &_call_fp_sender_c0); - methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QAbstractListModel::senderSignalIndex()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_senderSignalIndex_c0, &_call_fp_senderSignalIndex_c0); - methods += new qt_gsi::GenericMethod ("setData", "@brief Virtual method bool QAbstractListModel::setData(const QModelIndex &index, const QVariant &value, int role)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setData_5065_1, &_call_cbs_setData_5065_1); - methods += new qt_gsi::GenericMethod ("setData", "@hide", false, &_init_cbs_setData_5065_1, &_call_cbs_setData_5065_1, &_set_callback_cbs_setData_5065_1); - methods += new qt_gsi::GenericMethod ("setHeaderData", "@brief Virtual method bool QAbstractListModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setHeaderData_5242_1, &_call_cbs_setHeaderData_5242_1); - methods += new qt_gsi::GenericMethod ("setHeaderData", "@hide", false, &_init_cbs_setHeaderData_5242_1, &_call_cbs_setHeaderData_5242_1, &_set_callback_cbs_setHeaderData_5242_1); - methods += new qt_gsi::GenericMethod ("setItemData", "@brief Virtual method bool QAbstractListModel::setItemData(const QModelIndex &index, const QMap &roles)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setItemData_5414_0, &_call_cbs_setItemData_5414_0); - methods += new qt_gsi::GenericMethod ("setItemData", "@hide", false, &_init_cbs_setItemData_5414_0, &_call_cbs_setItemData_5414_0, &_set_callback_cbs_setItemData_5414_0); - methods += new qt_gsi::GenericMethod ("sibling", "@brief Virtual method QModelIndex QAbstractListModel::sibling(int row, int column, const QModelIndex &idx)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_sibling_c3713_0, &_call_cbs_sibling_c3713_0); - methods += new qt_gsi::GenericMethod ("sibling", "@hide", true, &_init_cbs_sibling_c3713_0, &_call_cbs_sibling_c3713_0, &_set_callback_cbs_sibling_c3713_0); - methods += new qt_gsi::GenericMethod ("sort", "@brief Virtual method void QAbstractListModel::sort(int column, Qt::SortOrder order)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_sort_2340_1, &_call_cbs_sort_2340_1); - methods += new qt_gsi::GenericMethod ("sort", "@hide", false, &_init_cbs_sort_2340_1, &_call_cbs_sort_2340_1, &_set_callback_cbs_sort_2340_1); - methods += new qt_gsi::GenericMethod ("span", "@brief Virtual method QSize QAbstractListModel::span(const QModelIndex &index)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_span_c2395_0, &_call_cbs_span_c2395_0); - methods += new qt_gsi::GenericMethod ("span", "@hide", true, &_init_cbs_span_c2395_0, &_call_cbs_span_c2395_0, &_set_callback_cbs_span_c2395_0); - methods += new qt_gsi::GenericMethod ("submit", "@brief Virtual method bool QAbstractListModel::submit()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_submit_0_0, &_call_cbs_submit_0_0); - methods += new qt_gsi::GenericMethod ("submit", "@hide", false, &_init_cbs_submit_0_0, &_call_cbs_submit_0_0, &_set_callback_cbs_submit_0_0); - methods += new qt_gsi::GenericMethod ("supportedDragActions", "@brief Virtual method QFlags QAbstractListModel::supportedDragActions()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_supportedDragActions_c0_0, &_call_cbs_supportedDragActions_c0_0); - methods += new qt_gsi::GenericMethod ("supportedDragActions", "@hide", true, &_init_cbs_supportedDragActions_c0_0, &_call_cbs_supportedDragActions_c0_0, &_set_callback_cbs_supportedDragActions_c0_0); - methods += new qt_gsi::GenericMethod ("supportedDropActions", "@brief Virtual method QFlags QAbstractListModel::supportedDropActions()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_supportedDropActions_c0_0, &_call_cbs_supportedDropActions_c0_0); - methods += new qt_gsi::GenericMethod ("supportedDropActions", "@hide", true, &_init_cbs_supportedDropActions_c0_0, &_call_cbs_supportedDropActions_c0_0, &_set_callback_cbs_supportedDropActions_c0_0); - methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QAbstractListModel::timerEvent(QTimerEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0); - methods += new qt_gsi::GenericMethod ("*timerEvent", "@hide", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0, &_set_callback_cbs_timerEvent_1730_0); - return methods; -} - -gsi::Class decl_QAbstractListModel_Adaptor (qtdecl_QAbstractListModel (), "Qt", "QAbstractListModel", - methods_QAbstractListModel_Adaptor (), - "@qt\n@brief Binding of QAbstractListModel"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractTableModel.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractTableModel.cc deleted file mode 100644 index b997223c1..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractTableModel.cc +++ /dev/null @@ -1,3405 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAbstractTableModel.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAbstractTableModel - -// get static meta object - -static void _init_smo (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, gsi::SerialArgs &ret) -{ - ret.write (QAbstractTableModel::staticMetaObject); -} - - -// bool QAbstractTableModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) - - -static void _init_f_dropMimeData_7425 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("action"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("row"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("column"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("parent"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_dropMimeData_7425 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMimeData *arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = gsi::arg_reader::target_type & >() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - const QModelIndex &arg5 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAbstractTableModel *)cls)->dropMimeData (arg1, qt_gsi::QtToCppAdaptor(arg2).cref(), arg3, arg4, arg5)); -} - - -// QFlags QAbstractTableModel::flags(const QModelIndex &index) - - -static void _init_f_flags_c2395 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - decl->set_return > (); -} - -static void _call_f_flags_c2395 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - ret.write > ((QFlags)((QAbstractTableModel *)cls)->flags (arg1)); -} - - -// QModelIndex QAbstractTableModel::index(int row, int column, const QModelIndex &parent) - - -static void _init_f_index_c3713 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("column"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent", true, "QModelIndex()"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_index_c3713 (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); - int arg2 = gsi::arg_reader() (args, heap); - const QModelIndex &arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QModelIndex(), heap); - ret.write ((QModelIndex)((QAbstractTableModel *)cls)->index (arg1, arg2, arg3)); -} - - -// QObject *QAbstractTableModel::parent() - - -static void _init_f_parent_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_parent_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QObject *)((QAbstractTableModel *)cls)->parent ()); -} - - -// QModelIndex QAbstractTableModel::sibling(int row, int column, const QModelIndex &idx) - - -static void _init_f_sibling_c3713 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("column"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("idx"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_sibling_c3713 (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); - int arg2 = gsi::arg_reader() (args, heap); - const QModelIndex &arg3 = gsi::arg_reader() (args, heap); - ret.write ((QModelIndex)((QAbstractTableModel *)cls)->sibling (arg1, arg2, arg3)); -} - - -// static QString QAbstractTableModel::tr(const char *s, const char *c, int n) - - -static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("c", true, "nullptr"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("n", true, "-1"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - const char *arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - int arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (-1, heap); - ret.write ((QString)QAbstractTableModel::tr (arg1, arg2, arg3)); -} - - -namespace gsi -{ - -static gsi::Methods methods_QAbstractTableModel () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("staticMetaObject", "@brief Obtains the static MetaObject for this class.", &_init_smo, &_call_smo); - methods += new qt_gsi::GenericMethod ("dropMimeData", "@brief Method bool QAbstractTableModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)\nThis is a reimplementation of QAbstractItemModel::dropMimeData", false, &_init_f_dropMimeData_7425, &_call_f_dropMimeData_7425); - methods += new qt_gsi::GenericMethod ("flags", "@brief Method QFlags QAbstractTableModel::flags(const QModelIndex &index)\nThis is a reimplementation of QAbstractItemModel::flags", true, &_init_f_flags_c2395, &_call_f_flags_c2395); - methods += new qt_gsi::GenericMethod ("index", "@brief Method QModelIndex QAbstractTableModel::index(int row, int column, const QModelIndex &parent)\nThis is a reimplementation of QAbstractItemModel::index", true, &_init_f_index_c3713, &_call_f_index_c3713); - methods += new qt_gsi::GenericMethod (":parent", "@brief Method QObject *QAbstractTableModel::parent()\n", true, &_init_f_parent_c0, &_call_f_parent_c0); - methods += new qt_gsi::GenericMethod ("sibling", "@brief Method QModelIndex QAbstractTableModel::sibling(int row, int column, const QModelIndex &idx)\nThis is a reimplementation of QAbstractItemModel::sibling", true, &_init_f_sibling_c3713, &_call_f_sibling_c3713); - methods += gsi::qt_signal ("columnsAboutToBeInserted(const QModelIndex &, int, int)", "columnsAboutToBeInserted", gsi::arg("parent"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractTableModel::columnsAboutToBeInserted(const QModelIndex &parent, int first, int last)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("columnsAboutToBeMoved(const QModelIndex &, int, int, const QModelIndex &, int)", "columnsAboutToBeMoved", gsi::arg("sourceParent"), gsi::arg("sourceStart"), gsi::arg("sourceEnd"), gsi::arg("destinationParent"), gsi::arg("destinationColumn"), "@brief Signal declaration for QAbstractTableModel::columnsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationColumn)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("columnsAboutToBeRemoved(const QModelIndex &, int, int)", "columnsAboutToBeRemoved", gsi::arg("parent"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractTableModel::columnsAboutToBeRemoved(const QModelIndex &parent, int first, int last)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("columnsInserted(const QModelIndex &, int, int)", "columnsInserted", gsi::arg("parent"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractTableModel::columnsInserted(const QModelIndex &parent, int first, int last)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("columnsMoved(const QModelIndex &, int, int, const QModelIndex &, int)", "columnsMoved", gsi::arg("parent"), gsi::arg("start"), gsi::arg("end"), gsi::arg("destination"), gsi::arg("column"), "@brief Signal declaration for QAbstractTableModel::columnsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int column)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("columnsRemoved(const QModelIndex &, int, int)", "columnsRemoved", gsi::arg("parent"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractTableModel::columnsRemoved(const QModelIndex &parent, int first, int last)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal & > ("dataChanged(const QModelIndex &, const QModelIndex &, const QList &)", "dataChanged", gsi::arg("topLeft"), gsi::arg("bottomRight"), gsi::arg("roles"), "@brief Signal declaration for QAbstractTableModel::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList &roles)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QAbstractTableModel::destroyed(QObject *)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal::target_type &, int, int > ("headerDataChanged(Qt::Orientation, int, int)", "headerDataChanged", gsi::arg("orientation"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractTableModel::headerDataChanged(Qt::Orientation orientation, int first, int last)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal &, const qt_gsi::Converter::target_type & > ("layoutAboutToBeChanged(const QList &, QAbstractItemModel::LayoutChangeHint)", "layoutAboutToBeChanged", gsi::arg("parents"), gsi::arg("hint"), "@brief Signal declaration for QAbstractTableModel::layoutAboutToBeChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal &, const qt_gsi::Converter::target_type & > ("layoutChanged(const QList &, QAbstractItemModel::LayoutChangeHint)", "layoutChanged", gsi::arg("parents"), gsi::arg("hint"), "@brief Signal declaration for QAbstractTableModel::layoutChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("modelAboutToBeReset()", "modelAboutToBeReset", "@brief Signal declaration for QAbstractTableModel::modelAboutToBeReset()\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("modelReset()", "modelReset", "@brief Signal declaration for QAbstractTableModel::modelReset()\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("objectNameChanged(const QString &)", "objectNameChanged", gsi::arg("objectName"), "@brief Signal declaration for QAbstractTableModel::objectNameChanged(const QString &objectName)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("rowsAboutToBeInserted(const QModelIndex &, int, int)", "rowsAboutToBeInserted", gsi::arg("parent"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractTableModel::rowsAboutToBeInserted(const QModelIndex &parent, int first, int last)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("rowsAboutToBeMoved(const QModelIndex &, int, int, const QModelIndex &, int)", "rowsAboutToBeMoved", gsi::arg("sourceParent"), gsi::arg("sourceStart"), gsi::arg("sourceEnd"), gsi::arg("destinationParent"), gsi::arg("destinationRow"), "@brief Signal declaration for QAbstractTableModel::rowsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("rowsAboutToBeRemoved(const QModelIndex &, int, int)", "rowsAboutToBeRemoved", gsi::arg("parent"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractTableModel::rowsAboutToBeRemoved(const QModelIndex &parent, int first, int last)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("rowsInserted(const QModelIndex &, int, int)", "rowsInserted", gsi::arg("parent"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractTableModel::rowsInserted(const QModelIndex &parent, int first, int last)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("rowsMoved(const QModelIndex &, int, int, const QModelIndex &, int)", "rowsMoved", gsi::arg("parent"), gsi::arg("start"), gsi::arg("end"), gsi::arg("destination"), gsi::arg("row"), "@brief Signal declaration for QAbstractTableModel::rowsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int row)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("rowsRemoved(const QModelIndex &, int, int)", "rowsRemoved", gsi::arg("parent"), gsi::arg("first"), gsi::arg("last"), "@brief Signal declaration for QAbstractTableModel::rowsRemoved(const QModelIndex &parent, int first, int last)\nYou can bind a procedure to this signal."); - methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QAbstractTableModel::tr(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013); - return methods; -} - -gsi::Class &qtdecl_QAbstractItemModel (); - -qt_gsi::QtNativeClass decl_QAbstractTableModel (qtdecl_QAbstractItemModel (), "Qt", "QAbstractTableModel_Native", - methods_QAbstractTableModel (), - "@hide\n@alias QAbstractTableModel"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAbstractTableModel () { return decl_QAbstractTableModel; } - -} - - -class QAbstractTableModel_Adaptor : public QAbstractTableModel, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QAbstractTableModel_Adaptor(); - - // [adaptor ctor] QAbstractTableModel::QAbstractTableModel(QObject *parent) - QAbstractTableModel_Adaptor() : QAbstractTableModel() - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QAbstractTableModel::QAbstractTableModel(QObject *parent) - QAbstractTableModel_Adaptor(QObject *parent) : QAbstractTableModel(parent) - { - qt_gsi::QtObjectBase::init (this); - } - - // [expose] void QAbstractTableModel::beginInsertColumns(const QModelIndex &parent, int first, int last) - void fp_QAbstractTableModel_beginInsertColumns_3713 (const QModelIndex &parent, int first, int last) { - QAbstractTableModel::beginInsertColumns(parent, first, last); - } - - // [expose] void QAbstractTableModel::beginInsertRows(const QModelIndex &parent, int first, int last) - void fp_QAbstractTableModel_beginInsertRows_3713 (const QModelIndex &parent, int first, int last) { - QAbstractTableModel::beginInsertRows(parent, first, last); - } - - // [expose] bool QAbstractTableModel::beginMoveColumns(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationColumn) - bool fp_QAbstractTableModel_beginMoveColumns_6659 (const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationColumn) { - return QAbstractTableModel::beginMoveColumns(sourceParent, sourceFirst, sourceLast, destinationParent, destinationColumn); - } - - // [expose] bool QAbstractTableModel::beginMoveRows(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationRow) - bool fp_QAbstractTableModel_beginMoveRows_6659 (const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationRow) { - return QAbstractTableModel::beginMoveRows(sourceParent, sourceFirst, sourceLast, destinationParent, destinationRow); - } - - // [expose] void QAbstractTableModel::beginRemoveColumns(const QModelIndex &parent, int first, int last) - void fp_QAbstractTableModel_beginRemoveColumns_3713 (const QModelIndex &parent, int first, int last) { - QAbstractTableModel::beginRemoveColumns(parent, first, last); - } - - // [expose] void QAbstractTableModel::beginRemoveRows(const QModelIndex &parent, int first, int last) - void fp_QAbstractTableModel_beginRemoveRows_3713 (const QModelIndex &parent, int first, int last) { - QAbstractTableModel::beginRemoveRows(parent, first, last); - } - - // [expose] void QAbstractTableModel::beginResetModel() - void fp_QAbstractTableModel_beginResetModel_0 () { - QAbstractTableModel::beginResetModel(); - } - - // [expose] void QAbstractTableModel::changePersistentIndex(const QModelIndex &from, const QModelIndex &to) - void fp_QAbstractTableModel_changePersistentIndex_4682 (const QModelIndex &from, const QModelIndex &to) { - QAbstractTableModel::changePersistentIndex(from, to); - } - - // [expose] void QAbstractTableModel::changePersistentIndexList(const QList &from, const QList &to) - void fp_QAbstractTableModel_changePersistentIndexList_5912 (const QList &from, const QList &to) { - QAbstractTableModel::changePersistentIndexList(from, to); - } - - // [expose] QModelIndex QAbstractTableModel::createIndex(int row, int column, const void *data) - QModelIndex fp_QAbstractTableModel_createIndex_c3069 (int row, int column, const void *data) const { - return QAbstractTableModel::createIndex(row, column, data); - } - - // [expose] QModelIndex QAbstractTableModel::createIndex(int row, int column, quintptr id) - QModelIndex fp_QAbstractTableModel_createIndex_c2657 (int row, int column, quintptr id) const { - return QAbstractTableModel::createIndex(row, column, id); - } - - // [expose] bool QAbstractTableModel::decodeData(int row, int column, const QModelIndex &parent, QDataStream &stream) - bool fp_QAbstractTableModel_decodeData_5302 (int row, int column, const QModelIndex &parent, QDataStream &stream) { - return QAbstractTableModel::decodeData(row, column, parent, stream); - } - - // [expose] void QAbstractTableModel::encodeData(const QList &indexes, QDataStream &stream) - void fp_QAbstractTableModel_encodeData_c4599 (const QList &indexes, QDataStream &stream) const { - QAbstractTableModel::encodeData(indexes, stream); - } - - // [expose] void QAbstractTableModel::endInsertColumns() - void fp_QAbstractTableModel_endInsertColumns_0 () { - QAbstractTableModel::endInsertColumns(); - } - - // [expose] void QAbstractTableModel::endInsertRows() - void fp_QAbstractTableModel_endInsertRows_0 () { - QAbstractTableModel::endInsertRows(); - } - - // [expose] void QAbstractTableModel::endMoveColumns() - void fp_QAbstractTableModel_endMoveColumns_0 () { - QAbstractTableModel::endMoveColumns(); - } - - // [expose] void QAbstractTableModel::endMoveRows() - void fp_QAbstractTableModel_endMoveRows_0 () { - QAbstractTableModel::endMoveRows(); - } - - // [expose] void QAbstractTableModel::endRemoveColumns() - void fp_QAbstractTableModel_endRemoveColumns_0 () { - QAbstractTableModel::endRemoveColumns(); - } - - // [expose] void QAbstractTableModel::endRemoveRows() - void fp_QAbstractTableModel_endRemoveRows_0 () { - QAbstractTableModel::endRemoveRows(); - } - - // [expose] void QAbstractTableModel::endResetModel() - void fp_QAbstractTableModel_endResetModel_0 () { - QAbstractTableModel::endResetModel(); - } - - // [expose] bool QAbstractTableModel::isSignalConnected(const QMetaMethod &signal) - bool fp_QAbstractTableModel_isSignalConnected_c2394 (const QMetaMethod &signal) const { - return QAbstractTableModel::isSignalConnected(signal); - } - - // [expose] QList QAbstractTableModel::persistentIndexList() - QList fp_QAbstractTableModel_persistentIndexList_c0 () const { - return QAbstractTableModel::persistentIndexList(); - } - - // [expose] int QAbstractTableModel::receivers(const char *signal) - int fp_QAbstractTableModel_receivers_c1731 (const char *signal) const { - return QAbstractTableModel::receivers(signal); - } - - // [expose] QObject *QAbstractTableModel::sender() - QObject * fp_QAbstractTableModel_sender_c0 () const { - return QAbstractTableModel::sender(); - } - - // [expose] int QAbstractTableModel::senderSignalIndex() - int fp_QAbstractTableModel_senderSignalIndex_c0 () const { - return QAbstractTableModel::senderSignalIndex(); - } - - // [adaptor impl] QModelIndex QAbstractTableModel::buddy(const QModelIndex &index) - QModelIndex cbs_buddy_c2395_0(const QModelIndex &index) const - { - return QAbstractTableModel::buddy(index); - } - - virtual QModelIndex buddy(const QModelIndex &index) const - { - if (cb_buddy_c2395_0.can_issue()) { - return cb_buddy_c2395_0.issue(&QAbstractTableModel_Adaptor::cbs_buddy_c2395_0, index); - } else { - return QAbstractTableModel::buddy(index); - } - } - - // [adaptor impl] bool QAbstractTableModel::canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) - bool cbs_canDropMimeData_c7425_0(const QMimeData *data, const qt_gsi::Converter::target_type & action, int row, int column, const QModelIndex &parent) const - { - return QAbstractTableModel::canDropMimeData(data, qt_gsi::QtToCppAdaptor(action).cref(), row, column, parent); - } - - virtual bool canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) const - { - if (cb_canDropMimeData_c7425_0.can_issue()) { - return cb_canDropMimeData_c7425_0.issue::target_type &, int, int, const QModelIndex &>(&QAbstractTableModel_Adaptor::cbs_canDropMimeData_c7425_0, data, qt_gsi::CppToQtAdaptor(action), row, column, parent); - } else { - return QAbstractTableModel::canDropMimeData(data, action, row, column, parent); - } - } - - // [adaptor impl] bool QAbstractTableModel::canFetchMore(const QModelIndex &parent) - bool cbs_canFetchMore_c2395_0(const QModelIndex &parent) const - { - return QAbstractTableModel::canFetchMore(parent); - } - - virtual bool canFetchMore(const QModelIndex &parent) const - { - if (cb_canFetchMore_c2395_0.can_issue()) { - return cb_canFetchMore_c2395_0.issue(&QAbstractTableModel_Adaptor::cbs_canFetchMore_c2395_0, parent); - } else { - return QAbstractTableModel::canFetchMore(parent); - } - } - - // [adaptor impl] bool QAbstractTableModel::clearItemData(const QModelIndex &index) - bool cbs_clearItemData_2395_0(const QModelIndex &index) - { - return QAbstractTableModel::clearItemData(index); - } - - virtual bool clearItemData(const QModelIndex &index) - { - if (cb_clearItemData_2395_0.can_issue()) { - return cb_clearItemData_2395_0.issue(&QAbstractTableModel_Adaptor::cbs_clearItemData_2395_0, index); - } else { - return QAbstractTableModel::clearItemData(index); - } - } - - // [adaptor impl] int QAbstractTableModel::columnCount(const QModelIndex &parent) - int cbs_columnCount_c2395_1(const QModelIndex &parent) const - { - __SUPPRESS_UNUSED_WARNING (parent); - throw qt_gsi::AbstractMethodCalledException("columnCount"); - } - - virtual int columnCount(const QModelIndex &parent) const - { - if (cb_columnCount_c2395_1.can_issue()) { - return cb_columnCount_c2395_1.issue(&QAbstractTableModel_Adaptor::cbs_columnCount_c2395_1, parent); - } else { - throw qt_gsi::AbstractMethodCalledException("columnCount"); - } - } - - // [emitter impl] void QAbstractTableModel::columnsAboutToBeInserted(const QModelIndex &parent, int first, int last) - void emitter_QAbstractTableModel_columnsAboutToBeInserted_7372(const QModelIndex &parent, int first, int last) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (first); - __SUPPRESS_UNUSED_WARNING (last); - throw tl::Exception ("Can't emit private signal 'void QAbstractTableModel::columnsAboutToBeInserted(const QModelIndex &parent, int first, int last)'"); - } - - // [emitter impl] void QAbstractTableModel::columnsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationColumn) - void emitter_QAbstractTableModel_columnsAboutToBeMoved_10318(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationColumn) - { - __SUPPRESS_UNUSED_WARNING (sourceParent); - __SUPPRESS_UNUSED_WARNING (sourceStart); - __SUPPRESS_UNUSED_WARNING (sourceEnd); - __SUPPRESS_UNUSED_WARNING (destinationParent); - __SUPPRESS_UNUSED_WARNING (destinationColumn); - throw tl::Exception ("Can't emit private signal 'void QAbstractTableModel::columnsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationColumn)'"); - } - - // [emitter impl] void QAbstractTableModel::columnsAboutToBeRemoved(const QModelIndex &parent, int first, int last) - void emitter_QAbstractTableModel_columnsAboutToBeRemoved_7372(const QModelIndex &parent, int first, int last) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (first); - __SUPPRESS_UNUSED_WARNING (last); - throw tl::Exception ("Can't emit private signal 'void QAbstractTableModel::columnsAboutToBeRemoved(const QModelIndex &parent, int first, int last)'"); - } - - // [emitter impl] void QAbstractTableModel::columnsInserted(const QModelIndex &parent, int first, int last) - void emitter_QAbstractTableModel_columnsInserted_7372(const QModelIndex &parent, int first, int last) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (first); - __SUPPRESS_UNUSED_WARNING (last); - throw tl::Exception ("Can't emit private signal 'void QAbstractTableModel::columnsInserted(const QModelIndex &parent, int first, int last)'"); - } - - // [emitter impl] void QAbstractTableModel::columnsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int column) - void emitter_QAbstractTableModel_columnsMoved_10318(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int column) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (start); - __SUPPRESS_UNUSED_WARNING (end); - __SUPPRESS_UNUSED_WARNING (destination); - __SUPPRESS_UNUSED_WARNING (column); - throw tl::Exception ("Can't emit private signal 'void QAbstractTableModel::columnsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int column)'"); - } - - // [emitter impl] void QAbstractTableModel::columnsRemoved(const QModelIndex &parent, int first, int last) - void emitter_QAbstractTableModel_columnsRemoved_7372(const QModelIndex &parent, int first, int last) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (first); - __SUPPRESS_UNUSED_WARNING (last); - throw tl::Exception ("Can't emit private signal 'void QAbstractTableModel::columnsRemoved(const QModelIndex &parent, int first, int last)'"); - } - - // [adaptor impl] QVariant QAbstractTableModel::data(const QModelIndex &index, int role) - QVariant cbs_data_c3054_1(const QModelIndex &index, int role) const - { - __SUPPRESS_UNUSED_WARNING (index); - __SUPPRESS_UNUSED_WARNING (role); - throw qt_gsi::AbstractMethodCalledException("data"); - } - - virtual QVariant data(const QModelIndex &index, int role) const - { - if (cb_data_c3054_1.can_issue()) { - return cb_data_c3054_1.issue(&QAbstractTableModel_Adaptor::cbs_data_c3054_1, index, role); - } else { - throw qt_gsi::AbstractMethodCalledException("data"); - } - } - - // [emitter impl] void QAbstractTableModel::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList &roles) - void emitter_QAbstractTableModel_dataChanged_6833(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList &roles) - { - emit QAbstractTableModel::dataChanged(topLeft, bottomRight, roles); - } - - // [emitter impl] void QAbstractTableModel::destroyed(QObject *) - void emitter_QAbstractTableModel_destroyed_1302(QObject *arg1) - { - emit QAbstractTableModel::destroyed(arg1); - } - - // [adaptor impl] bool QAbstractTableModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) - bool cbs_dropMimeData_7425_0(const QMimeData *data, const qt_gsi::Converter::target_type & action, int row, int column, const QModelIndex &parent) - { - return QAbstractTableModel::dropMimeData(data, qt_gsi::QtToCppAdaptor(action).cref(), row, column, parent); - } - - virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) - { - if (cb_dropMimeData_7425_0.can_issue()) { - return cb_dropMimeData_7425_0.issue::target_type &, int, int, const QModelIndex &>(&QAbstractTableModel_Adaptor::cbs_dropMimeData_7425_0, data, qt_gsi::CppToQtAdaptor(action), row, column, parent); - } else { - return QAbstractTableModel::dropMimeData(data, action, row, column, parent); - } - } - - // [adaptor impl] bool QAbstractTableModel::event(QEvent *event) - bool cbs_event_1217_0(QEvent *_event) - { - return QAbstractTableModel::event(_event); - } - - virtual bool event(QEvent *_event) - { - if (cb_event_1217_0.can_issue()) { - return cb_event_1217_0.issue(&QAbstractTableModel_Adaptor::cbs_event_1217_0, _event); - } else { - return QAbstractTableModel::event(_event); - } - } - - // [adaptor impl] bool QAbstractTableModel::eventFilter(QObject *watched, QEvent *event) - bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event) - { - return QAbstractTableModel::eventFilter(watched, event); - } - - virtual bool eventFilter(QObject *watched, QEvent *event) - { - if (cb_eventFilter_2411_0.can_issue()) { - return cb_eventFilter_2411_0.issue(&QAbstractTableModel_Adaptor::cbs_eventFilter_2411_0, watched, event); - } else { - return QAbstractTableModel::eventFilter(watched, event); - } - } - - // [adaptor impl] void QAbstractTableModel::fetchMore(const QModelIndex &parent) - void cbs_fetchMore_2395_0(const QModelIndex &parent) - { - QAbstractTableModel::fetchMore(parent); - } - - virtual void fetchMore(const QModelIndex &parent) - { - if (cb_fetchMore_2395_0.can_issue()) { - cb_fetchMore_2395_0.issue(&QAbstractTableModel_Adaptor::cbs_fetchMore_2395_0, parent); - } else { - QAbstractTableModel::fetchMore(parent); - } - } - - // [adaptor impl] QFlags QAbstractTableModel::flags(const QModelIndex &index) - QFlags cbs_flags_c2395_0(const QModelIndex &index) const - { - return QAbstractTableModel::flags(index); - } - - virtual QFlags flags(const QModelIndex &index) const - { - if (cb_flags_c2395_0.can_issue()) { - return cb_flags_c2395_0.issue, const QModelIndex &>(&QAbstractTableModel_Adaptor::cbs_flags_c2395_0, index); - } else { - return QAbstractTableModel::flags(index); - } - } - - // [adaptor impl] QVariant QAbstractTableModel::headerData(int section, Qt::Orientation orientation, int role) - QVariant cbs_headerData_c3231_1(int section, const qt_gsi::Converter::target_type & orientation, int role) const - { - return QAbstractTableModel::headerData(section, qt_gsi::QtToCppAdaptor(orientation).cref(), role); - } - - virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const - { - if (cb_headerData_c3231_1.can_issue()) { - return cb_headerData_c3231_1.issue::target_type &, int>(&QAbstractTableModel_Adaptor::cbs_headerData_c3231_1, section, qt_gsi::CppToQtAdaptor(orientation), role); - } else { - return QAbstractTableModel::headerData(section, orientation, role); - } - } - - // [emitter impl] void QAbstractTableModel::headerDataChanged(Qt::Orientation orientation, int first, int last) - void emitter_QAbstractTableModel_headerDataChanged_3231(Qt::Orientation orientation, int first, int last) - { - emit QAbstractTableModel::headerDataChanged(orientation, first, last); - } - - // [adaptor impl] QModelIndex QAbstractTableModel::index(int row, int column, const QModelIndex &parent) - QModelIndex cbs_index_c3713_1(int row, int column, const QModelIndex &parent) const - { - return QAbstractTableModel::index(row, column, parent); - } - - virtual QModelIndex index(int row, int column, const QModelIndex &parent) const - { - if (cb_index_c3713_1.can_issue()) { - return cb_index_c3713_1.issue(&QAbstractTableModel_Adaptor::cbs_index_c3713_1, row, column, parent); - } else { - return QAbstractTableModel::index(row, column, parent); - } - } - - // [adaptor impl] bool QAbstractTableModel::insertColumns(int column, int count, const QModelIndex &parent) - bool cbs_insertColumns_3713_1(int column, int count, const QModelIndex &parent) - { - return QAbstractTableModel::insertColumns(column, count, parent); - } - - virtual bool insertColumns(int column, int count, const QModelIndex &parent) - { - if (cb_insertColumns_3713_1.can_issue()) { - return cb_insertColumns_3713_1.issue(&QAbstractTableModel_Adaptor::cbs_insertColumns_3713_1, column, count, parent); - } else { - return QAbstractTableModel::insertColumns(column, count, parent); - } - } - - // [adaptor impl] bool QAbstractTableModel::insertRows(int row, int count, const QModelIndex &parent) - bool cbs_insertRows_3713_1(int row, int count, const QModelIndex &parent) - { - return QAbstractTableModel::insertRows(row, count, parent); - } - - virtual bool insertRows(int row, int count, const QModelIndex &parent) - { - if (cb_insertRows_3713_1.can_issue()) { - return cb_insertRows_3713_1.issue(&QAbstractTableModel_Adaptor::cbs_insertRows_3713_1, row, count, parent); - } else { - return QAbstractTableModel::insertRows(row, count, parent); - } - } - - // [adaptor impl] QMap QAbstractTableModel::itemData(const QModelIndex &index) - QMap cbs_itemData_c2395_0(const QModelIndex &index) const - { - return QAbstractTableModel::itemData(index); - } - - virtual QMap itemData(const QModelIndex &index) const - { - if (cb_itemData_c2395_0.can_issue()) { - return cb_itemData_c2395_0.issue, const QModelIndex &>(&QAbstractTableModel_Adaptor::cbs_itemData_c2395_0, index); - } else { - return QAbstractTableModel::itemData(index); - } - } - - // [emitter impl] void QAbstractTableModel::layoutAboutToBeChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint) - void emitter_QAbstractTableModel_layoutAboutToBeChanged_7947(const QList &parents, QAbstractItemModel::LayoutChangeHint hint) - { - emit QAbstractTableModel::layoutAboutToBeChanged(parents, hint); - } - - // [emitter impl] void QAbstractTableModel::layoutChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint) - void emitter_QAbstractTableModel_layoutChanged_7947(const QList &parents, QAbstractItemModel::LayoutChangeHint hint) - { - emit QAbstractTableModel::layoutChanged(parents, hint); - } - - // [adaptor impl] QList QAbstractTableModel::match(const QModelIndex &start, int role, const QVariant &value, int hits, QFlags flags) - QList cbs_match_c7932_2(const QModelIndex &start, int role, const QVariant &value, int hits, QFlags flags) const - { - return QAbstractTableModel::match(start, role, value, hits, flags); - } - - virtual QList match(const QModelIndex &start, int role, const QVariant &value, int hits, QFlags flags) const - { - if (cb_match_c7932_2.can_issue()) { - return cb_match_c7932_2.issue, const QModelIndex &, int, const QVariant &, int, QFlags >(&QAbstractTableModel_Adaptor::cbs_match_c7932_2, start, role, value, hits, flags); - } else { - return QAbstractTableModel::match(start, role, value, hits, flags); - } - } - - // [adaptor impl] QMimeData *QAbstractTableModel::mimeData(const QList &indexes) - QMimeData * cbs_mimeData_c3010_0(const QList &indexes) const - { - return QAbstractTableModel::mimeData(indexes); - } - - virtual QMimeData * mimeData(const QList &indexes) const - { - if (cb_mimeData_c3010_0.can_issue()) { - return cb_mimeData_c3010_0.issue &>(&QAbstractTableModel_Adaptor::cbs_mimeData_c3010_0, indexes); - } else { - return QAbstractTableModel::mimeData(indexes); - } - } - - // [adaptor impl] QStringList QAbstractTableModel::mimeTypes() - QStringList cbs_mimeTypes_c0_0() const - { - return QAbstractTableModel::mimeTypes(); - } - - virtual QStringList mimeTypes() const - { - if (cb_mimeTypes_c0_0.can_issue()) { - return cb_mimeTypes_c0_0.issue(&QAbstractTableModel_Adaptor::cbs_mimeTypes_c0_0); - } else { - return QAbstractTableModel::mimeTypes(); - } - } - - // [emitter impl] void QAbstractTableModel::modelAboutToBeReset() - void emitter_QAbstractTableModel_modelAboutToBeReset_3767() - { - throw tl::Exception ("Can't emit private signal 'void QAbstractTableModel::modelAboutToBeReset()'"); - } - - // [emitter impl] void QAbstractTableModel::modelReset() - void emitter_QAbstractTableModel_modelReset_3767() - { - throw tl::Exception ("Can't emit private signal 'void QAbstractTableModel::modelReset()'"); - } - - // [adaptor impl] bool QAbstractTableModel::moveColumns(const QModelIndex &sourceParent, int sourceColumn, int count, const QModelIndex &destinationParent, int destinationChild) - bool cbs_moveColumns_6659_0(const QModelIndex &sourceParent, int sourceColumn, int count, const QModelIndex &destinationParent, int destinationChild) - { - return QAbstractTableModel::moveColumns(sourceParent, sourceColumn, count, destinationParent, destinationChild); - } - - virtual bool moveColumns(const QModelIndex &sourceParent, int sourceColumn, int count, const QModelIndex &destinationParent, int destinationChild) - { - if (cb_moveColumns_6659_0.can_issue()) { - return cb_moveColumns_6659_0.issue(&QAbstractTableModel_Adaptor::cbs_moveColumns_6659_0, sourceParent, sourceColumn, count, destinationParent, destinationChild); - } else { - return QAbstractTableModel::moveColumns(sourceParent, sourceColumn, count, destinationParent, destinationChild); - } - } - - // [adaptor impl] bool QAbstractTableModel::moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) - bool cbs_moveRows_6659_0(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) - { - return QAbstractTableModel::moveRows(sourceParent, sourceRow, count, destinationParent, destinationChild); - } - - virtual bool moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) - { - if (cb_moveRows_6659_0.can_issue()) { - return cb_moveRows_6659_0.issue(&QAbstractTableModel_Adaptor::cbs_moveRows_6659_0, sourceParent, sourceRow, count, destinationParent, destinationChild); - } else { - return QAbstractTableModel::moveRows(sourceParent, sourceRow, count, destinationParent, destinationChild); - } - } - - // [adaptor impl] void QAbstractTableModel::multiData(const QModelIndex &index, QModelRoleDataSpan roleDataSpan) - void cbs_multiData_c4483_0(const QModelIndex &index, QModelRoleDataSpan roleDataSpan) const - { - QAbstractTableModel::multiData(index, roleDataSpan); - } - - virtual void multiData(const QModelIndex &index, QModelRoleDataSpan roleDataSpan) const - { - if (cb_multiData_c4483_0.can_issue()) { - cb_multiData_c4483_0.issue(&QAbstractTableModel_Adaptor::cbs_multiData_c4483_0, index, roleDataSpan); - } else { - QAbstractTableModel::multiData(index, roleDataSpan); - } - } - - // [emitter impl] void QAbstractTableModel::objectNameChanged(const QString &objectName) - void emitter_QAbstractTableModel_objectNameChanged_4567(const QString &objectName) - { - __SUPPRESS_UNUSED_WARNING (objectName); - throw tl::Exception ("Can't emit private signal 'void QAbstractTableModel::objectNameChanged(const QString &objectName)'"); - } - - // [adaptor impl] bool QAbstractTableModel::removeColumns(int column, int count, const QModelIndex &parent) - bool cbs_removeColumns_3713_1(int column, int count, const QModelIndex &parent) - { - return QAbstractTableModel::removeColumns(column, count, parent); - } - - virtual bool removeColumns(int column, int count, const QModelIndex &parent) - { - if (cb_removeColumns_3713_1.can_issue()) { - return cb_removeColumns_3713_1.issue(&QAbstractTableModel_Adaptor::cbs_removeColumns_3713_1, column, count, parent); - } else { - return QAbstractTableModel::removeColumns(column, count, parent); - } - } - - // [adaptor impl] bool QAbstractTableModel::removeRows(int row, int count, const QModelIndex &parent) - bool cbs_removeRows_3713_1(int row, int count, const QModelIndex &parent) - { - return QAbstractTableModel::removeRows(row, count, parent); - } - - virtual bool removeRows(int row, int count, const QModelIndex &parent) - { - if (cb_removeRows_3713_1.can_issue()) { - return cb_removeRows_3713_1.issue(&QAbstractTableModel_Adaptor::cbs_removeRows_3713_1, row, count, parent); - } else { - return QAbstractTableModel::removeRows(row, count, parent); - } - } - - // [adaptor impl] void QAbstractTableModel::revert() - void cbs_revert_0_0() - { - QAbstractTableModel::revert(); - } - - virtual void revert() - { - if (cb_revert_0_0.can_issue()) { - cb_revert_0_0.issue(&QAbstractTableModel_Adaptor::cbs_revert_0_0); - } else { - QAbstractTableModel::revert(); - } - } - - // [adaptor impl] QHash QAbstractTableModel::roleNames() - QHash cbs_roleNames_c0_0() const - { - return QAbstractTableModel::roleNames(); - } - - virtual QHash roleNames() const - { - if (cb_roleNames_c0_0.can_issue()) { - return cb_roleNames_c0_0.issue >(&QAbstractTableModel_Adaptor::cbs_roleNames_c0_0); - } else { - return QAbstractTableModel::roleNames(); - } - } - - // [adaptor impl] int QAbstractTableModel::rowCount(const QModelIndex &parent) - int cbs_rowCount_c2395_1(const QModelIndex &parent) const - { - __SUPPRESS_UNUSED_WARNING (parent); - throw qt_gsi::AbstractMethodCalledException("rowCount"); - } - - virtual int rowCount(const QModelIndex &parent) const - { - if (cb_rowCount_c2395_1.can_issue()) { - return cb_rowCount_c2395_1.issue(&QAbstractTableModel_Adaptor::cbs_rowCount_c2395_1, parent); - } else { - throw qt_gsi::AbstractMethodCalledException("rowCount"); - } - } - - // [emitter impl] void QAbstractTableModel::rowsAboutToBeInserted(const QModelIndex &parent, int first, int last) - void emitter_QAbstractTableModel_rowsAboutToBeInserted_7372(const QModelIndex &parent, int first, int last) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (first); - __SUPPRESS_UNUSED_WARNING (last); - throw tl::Exception ("Can't emit private signal 'void QAbstractTableModel::rowsAboutToBeInserted(const QModelIndex &parent, int first, int last)'"); - } - - // [emitter impl] void QAbstractTableModel::rowsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow) - void emitter_QAbstractTableModel_rowsAboutToBeMoved_10318(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow) - { - __SUPPRESS_UNUSED_WARNING (sourceParent); - __SUPPRESS_UNUSED_WARNING (sourceStart); - __SUPPRESS_UNUSED_WARNING (sourceEnd); - __SUPPRESS_UNUSED_WARNING (destinationParent); - __SUPPRESS_UNUSED_WARNING (destinationRow); - throw tl::Exception ("Can't emit private signal 'void QAbstractTableModel::rowsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow)'"); - } - - // [emitter impl] void QAbstractTableModel::rowsAboutToBeRemoved(const QModelIndex &parent, int first, int last) - void emitter_QAbstractTableModel_rowsAboutToBeRemoved_7372(const QModelIndex &parent, int first, int last) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (first); - __SUPPRESS_UNUSED_WARNING (last); - throw tl::Exception ("Can't emit private signal 'void QAbstractTableModel::rowsAboutToBeRemoved(const QModelIndex &parent, int first, int last)'"); - } - - // [emitter impl] void QAbstractTableModel::rowsInserted(const QModelIndex &parent, int first, int last) - void emitter_QAbstractTableModel_rowsInserted_7372(const QModelIndex &parent, int first, int last) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (first); - __SUPPRESS_UNUSED_WARNING (last); - throw tl::Exception ("Can't emit private signal 'void QAbstractTableModel::rowsInserted(const QModelIndex &parent, int first, int last)'"); - } - - // [emitter impl] void QAbstractTableModel::rowsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int row) - void emitter_QAbstractTableModel_rowsMoved_10318(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int row) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (start); - __SUPPRESS_UNUSED_WARNING (end); - __SUPPRESS_UNUSED_WARNING (destination); - __SUPPRESS_UNUSED_WARNING (row); - throw tl::Exception ("Can't emit private signal 'void QAbstractTableModel::rowsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int row)'"); - } - - // [emitter impl] void QAbstractTableModel::rowsRemoved(const QModelIndex &parent, int first, int last) - void emitter_QAbstractTableModel_rowsRemoved_7372(const QModelIndex &parent, int first, int last) - { - __SUPPRESS_UNUSED_WARNING (parent); - __SUPPRESS_UNUSED_WARNING (first); - __SUPPRESS_UNUSED_WARNING (last); - throw tl::Exception ("Can't emit private signal 'void QAbstractTableModel::rowsRemoved(const QModelIndex &parent, int first, int last)'"); - } - - // [adaptor impl] bool QAbstractTableModel::setData(const QModelIndex &index, const QVariant &value, int role) - bool cbs_setData_5065_1(const QModelIndex &index, const QVariant &value, int role) - { - return QAbstractTableModel::setData(index, value, role); - } - - virtual bool setData(const QModelIndex &index, const QVariant &value, int role) - { - if (cb_setData_5065_1.can_issue()) { - return cb_setData_5065_1.issue(&QAbstractTableModel_Adaptor::cbs_setData_5065_1, index, value, role); - } else { - return QAbstractTableModel::setData(index, value, role); - } - } - - // [adaptor impl] bool QAbstractTableModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role) - bool cbs_setHeaderData_5242_1(int section, const qt_gsi::Converter::target_type & orientation, const QVariant &value, int role) - { - return QAbstractTableModel::setHeaderData(section, qt_gsi::QtToCppAdaptor(orientation).cref(), value, role); - } - - virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role) - { - if (cb_setHeaderData_5242_1.can_issue()) { - return cb_setHeaderData_5242_1.issue::target_type &, const QVariant &, int>(&QAbstractTableModel_Adaptor::cbs_setHeaderData_5242_1, section, qt_gsi::CppToQtAdaptor(orientation), value, role); - } else { - return QAbstractTableModel::setHeaderData(section, orientation, value, role); - } - } - - // [adaptor impl] bool QAbstractTableModel::setItemData(const QModelIndex &index, const QMap &roles) - bool cbs_setItemData_5414_0(const QModelIndex &index, const QMap &roles) - { - return QAbstractTableModel::setItemData(index, roles); - } - - virtual bool setItemData(const QModelIndex &index, const QMap &roles) - { - if (cb_setItemData_5414_0.can_issue()) { - return cb_setItemData_5414_0.issue &>(&QAbstractTableModel_Adaptor::cbs_setItemData_5414_0, index, roles); - } else { - return QAbstractTableModel::setItemData(index, roles); - } - } - - // [adaptor impl] QModelIndex QAbstractTableModel::sibling(int row, int column, const QModelIndex &idx) - QModelIndex cbs_sibling_c3713_0(int row, int column, const QModelIndex &idx) const - { - return QAbstractTableModel::sibling(row, column, idx); - } - - virtual QModelIndex sibling(int row, int column, const QModelIndex &idx) const - { - if (cb_sibling_c3713_0.can_issue()) { - return cb_sibling_c3713_0.issue(&QAbstractTableModel_Adaptor::cbs_sibling_c3713_0, row, column, idx); - } else { - return QAbstractTableModel::sibling(row, column, idx); - } - } - - // [adaptor impl] void QAbstractTableModel::sort(int column, Qt::SortOrder order) - void cbs_sort_2340_1(int column, const qt_gsi::Converter::target_type & order) - { - QAbstractTableModel::sort(column, qt_gsi::QtToCppAdaptor(order).cref()); - } - - virtual void sort(int column, Qt::SortOrder order) - { - if (cb_sort_2340_1.can_issue()) { - cb_sort_2340_1.issue::target_type &>(&QAbstractTableModel_Adaptor::cbs_sort_2340_1, column, qt_gsi::CppToQtAdaptor(order)); - } else { - QAbstractTableModel::sort(column, order); - } - } - - // [adaptor impl] QSize QAbstractTableModel::span(const QModelIndex &index) - QSize cbs_span_c2395_0(const QModelIndex &index) const - { - return QAbstractTableModel::span(index); - } - - virtual QSize span(const QModelIndex &index) const - { - if (cb_span_c2395_0.can_issue()) { - return cb_span_c2395_0.issue(&QAbstractTableModel_Adaptor::cbs_span_c2395_0, index); - } else { - return QAbstractTableModel::span(index); - } - } - - // [adaptor impl] bool QAbstractTableModel::submit() - bool cbs_submit_0_0() - { - return QAbstractTableModel::submit(); - } - - virtual bool submit() - { - if (cb_submit_0_0.can_issue()) { - return cb_submit_0_0.issue(&QAbstractTableModel_Adaptor::cbs_submit_0_0); - } else { - return QAbstractTableModel::submit(); - } - } - - // [adaptor impl] QFlags QAbstractTableModel::supportedDragActions() - QFlags cbs_supportedDragActions_c0_0() const - { - return QAbstractTableModel::supportedDragActions(); - } - - virtual QFlags supportedDragActions() const - { - if (cb_supportedDragActions_c0_0.can_issue()) { - return cb_supportedDragActions_c0_0.issue >(&QAbstractTableModel_Adaptor::cbs_supportedDragActions_c0_0); - } else { - return QAbstractTableModel::supportedDragActions(); - } - } - - // [adaptor impl] QFlags QAbstractTableModel::supportedDropActions() - QFlags cbs_supportedDropActions_c0_0() const - { - return QAbstractTableModel::supportedDropActions(); - } - - virtual QFlags supportedDropActions() const - { - if (cb_supportedDropActions_c0_0.can_issue()) { - return cb_supportedDropActions_c0_0.issue >(&QAbstractTableModel_Adaptor::cbs_supportedDropActions_c0_0); - } else { - return QAbstractTableModel::supportedDropActions(); - } - } - - // [adaptor impl] void QAbstractTableModel::childEvent(QChildEvent *event) - void cbs_childEvent_1701_0(QChildEvent *event) - { - QAbstractTableModel::childEvent(event); - } - - virtual void childEvent(QChildEvent *event) - { - if (cb_childEvent_1701_0.can_issue()) { - cb_childEvent_1701_0.issue(&QAbstractTableModel_Adaptor::cbs_childEvent_1701_0, event); - } else { - QAbstractTableModel::childEvent(event); - } - } - - // [adaptor impl] void QAbstractTableModel::customEvent(QEvent *event) - void cbs_customEvent_1217_0(QEvent *event) - { - QAbstractTableModel::customEvent(event); - } - - virtual void customEvent(QEvent *event) - { - if (cb_customEvent_1217_0.can_issue()) { - cb_customEvent_1217_0.issue(&QAbstractTableModel_Adaptor::cbs_customEvent_1217_0, event); - } else { - QAbstractTableModel::customEvent(event); - } - } - - // [adaptor impl] void QAbstractTableModel::disconnectNotify(const QMetaMethod &signal) - void cbs_disconnectNotify_2394_0(const QMetaMethod &signal) - { - QAbstractTableModel::disconnectNotify(signal); - } - - virtual void disconnectNotify(const QMetaMethod &signal) - { - if (cb_disconnectNotify_2394_0.can_issue()) { - cb_disconnectNotify_2394_0.issue(&QAbstractTableModel_Adaptor::cbs_disconnectNotify_2394_0, signal); - } else { - QAbstractTableModel::disconnectNotify(signal); - } - } - - // [adaptor impl] void QAbstractTableModel::resetInternalData() - void cbs_resetInternalData_0_0() - { - QAbstractTableModel::resetInternalData(); - } - - virtual void resetInternalData() - { - if (cb_resetInternalData_0_0.can_issue()) { - cb_resetInternalData_0_0.issue(&QAbstractTableModel_Adaptor::cbs_resetInternalData_0_0); - } else { - QAbstractTableModel::resetInternalData(); - } - } - - // [adaptor impl] void QAbstractTableModel::timerEvent(QTimerEvent *event) - void cbs_timerEvent_1730_0(QTimerEvent *event) - { - QAbstractTableModel::timerEvent(event); - } - - virtual void timerEvent(QTimerEvent *event) - { - if (cb_timerEvent_1730_0.can_issue()) { - cb_timerEvent_1730_0.issue(&QAbstractTableModel_Adaptor::cbs_timerEvent_1730_0, event); - } else { - QAbstractTableModel::timerEvent(event); - } - } - - gsi::Callback cb_buddy_c2395_0; - gsi::Callback cb_canDropMimeData_c7425_0; - gsi::Callback cb_canFetchMore_c2395_0; - gsi::Callback cb_clearItemData_2395_0; - gsi::Callback cb_columnCount_c2395_1; - gsi::Callback cb_data_c3054_1; - gsi::Callback cb_dropMimeData_7425_0; - gsi::Callback cb_event_1217_0; - gsi::Callback cb_eventFilter_2411_0; - gsi::Callback cb_fetchMore_2395_0; - gsi::Callback cb_flags_c2395_0; - gsi::Callback cb_headerData_c3231_1; - gsi::Callback cb_index_c3713_1; - gsi::Callback cb_insertColumns_3713_1; - gsi::Callback cb_insertRows_3713_1; - gsi::Callback cb_itemData_c2395_0; - gsi::Callback cb_match_c7932_2; - gsi::Callback cb_mimeData_c3010_0; - gsi::Callback cb_mimeTypes_c0_0; - gsi::Callback cb_moveColumns_6659_0; - gsi::Callback cb_moveRows_6659_0; - gsi::Callback cb_multiData_c4483_0; - gsi::Callback cb_removeColumns_3713_1; - gsi::Callback cb_removeRows_3713_1; - gsi::Callback cb_revert_0_0; - gsi::Callback cb_roleNames_c0_0; - gsi::Callback cb_rowCount_c2395_1; - gsi::Callback cb_setData_5065_1; - gsi::Callback cb_setHeaderData_5242_1; - gsi::Callback cb_setItemData_5414_0; - gsi::Callback cb_sibling_c3713_0; - gsi::Callback cb_sort_2340_1; - gsi::Callback cb_span_c2395_0; - gsi::Callback cb_submit_0_0; - gsi::Callback cb_supportedDragActions_c0_0; - gsi::Callback cb_supportedDropActions_c0_0; - gsi::Callback cb_childEvent_1701_0; - gsi::Callback cb_customEvent_1217_0; - gsi::Callback cb_disconnectNotify_2394_0; - gsi::Callback cb_resetInternalData_0_0; - gsi::Callback cb_timerEvent_1730_0; -}; - -QAbstractTableModel_Adaptor::~QAbstractTableModel_Adaptor() { } - -// Constructor QAbstractTableModel::QAbstractTableModel(QObject *parent) (adaptor class) - -static void _init_ctor_QAbstractTableModel_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent", true, "nullptr"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QAbstractTableModel_Adaptor_1302 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ret.write (new QAbstractTableModel_Adaptor (arg1)); -} - - -// exposed void QAbstractTableModel::beginInsertColumns(const QModelIndex &parent, int first, int last) - -static void _init_fp_beginInsertColumns_3713 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_fp_beginInsertColumns_3713 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_beginInsertColumns_3713 (arg1, arg2, arg3); -} - - -// exposed void QAbstractTableModel::beginInsertRows(const QModelIndex &parent, int first, int last) - -static void _init_fp_beginInsertRows_3713 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_fp_beginInsertRows_3713 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_beginInsertRows_3713 (arg1, arg2, arg3); -} - - -// exposed bool QAbstractTableModel::beginMoveColumns(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationColumn) - -static void _init_fp_beginMoveColumns_6659 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sourceParent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sourceFirst"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("sourceLast"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destinationParent"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("destinationColumn"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_fp_beginMoveColumns_6659 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const QModelIndex &arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_beginMoveColumns_6659 (arg1, arg2, arg3, arg4, arg5)); -} - - -// exposed bool QAbstractTableModel::beginMoveRows(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationRow) - -static void _init_fp_beginMoveRows_6659 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sourceParent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sourceFirst"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("sourceLast"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destinationParent"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("destinationRow"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_fp_beginMoveRows_6659 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const QModelIndex &arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_beginMoveRows_6659 (arg1, arg2, arg3, arg4, arg5)); -} - - -// exposed void QAbstractTableModel::beginRemoveColumns(const QModelIndex &parent, int first, int last) - -static void _init_fp_beginRemoveColumns_3713 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_fp_beginRemoveColumns_3713 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_beginRemoveColumns_3713 (arg1, arg2, arg3); -} - - -// exposed void QAbstractTableModel::beginRemoveRows(const QModelIndex &parent, int first, int last) - -static void _init_fp_beginRemoveRows_3713 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_fp_beginRemoveRows_3713 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_beginRemoveRows_3713 (arg1, arg2, arg3); -} - - -// exposed void QAbstractTableModel::beginResetModel() - -static void _init_fp_beginResetModel_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_beginResetModel_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_beginResetModel_0 (); -} - - -// QModelIndex QAbstractTableModel::buddy(const QModelIndex &index) - -static void _init_cbs_buddy_c2395_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_buddy_c2395_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write ((QModelIndex)((QAbstractTableModel_Adaptor *)cls)->cbs_buddy_c2395_0 (arg1)); -} - -static void _set_callback_cbs_buddy_c2395_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_buddy_c2395_0 = cb; -} - - -// bool QAbstractTableModel::canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) - -static void _init_cbs_canDropMimeData_c7425_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("action"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("row"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("column"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("parent"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_cbs_canDropMimeData_c7425_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMimeData *arg1 = args.read (heap); - const qt_gsi::Converter::target_type & arg2 = args.read::target_type & > (heap); - int arg3 = args.read (heap); - int arg4 = args.read (heap); - const QModelIndex &arg5 = args.read (heap); - ret.write ((bool)((QAbstractTableModel_Adaptor *)cls)->cbs_canDropMimeData_c7425_0 (arg1, arg2, arg3, arg4, arg5)); -} - -static void _set_callback_cbs_canDropMimeData_c7425_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_canDropMimeData_c7425_0 = cb; -} - - -// bool QAbstractTableModel::canFetchMore(const QModelIndex &parent) - -static void _init_cbs_canFetchMore_c2395_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_canFetchMore_c2395_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write ((bool)((QAbstractTableModel_Adaptor *)cls)->cbs_canFetchMore_c2395_0 (arg1)); -} - -static void _set_callback_cbs_canFetchMore_c2395_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_canFetchMore_c2395_0 = cb; -} - - -// exposed void QAbstractTableModel::changePersistentIndex(const QModelIndex &from, const QModelIndex &to) - -static void _init_fp_changePersistentIndex_4682 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("from"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("to"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_fp_changePersistentIndex_4682 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - const QModelIndex &arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_changePersistentIndex_4682 (arg1, arg2); -} - - -// exposed void QAbstractTableModel::changePersistentIndexList(const QList &from, const QList &to) - -static void _init_fp_changePersistentIndexList_5912 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("from"); - decl->add_arg & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("to"); - decl->add_arg & > (argspec_1); - decl->set_return (); -} - -static void _call_fp_changePersistentIndexList_5912 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QList &arg1 = gsi::arg_reader & >() (args, heap); - const QList &arg2 = gsi::arg_reader & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_changePersistentIndexList_5912 (arg1, arg2); -} - - -// void QAbstractTableModel::childEvent(QChildEvent *event) - -static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_childEvent_1701_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QChildEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTableModel_Adaptor *)cls)->cbs_childEvent_1701_0 (arg1); -} - -static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_childEvent_1701_0 = cb; -} - - -// bool QAbstractTableModel::clearItemData(const QModelIndex &index) - -static void _init_cbs_clearItemData_2395_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_clearItemData_2395_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write ((bool)((QAbstractTableModel_Adaptor *)cls)->cbs_clearItemData_2395_0 (arg1)); -} - -static void _set_callback_cbs_clearItemData_2395_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_clearItemData_2395_0 = cb; -} - - -// int QAbstractTableModel::columnCount(const QModelIndex &parent) - -static void _init_cbs_columnCount_c2395_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_columnCount_c2395_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write ((int)((QAbstractTableModel_Adaptor *)cls)->cbs_columnCount_c2395_1 (arg1)); -} - -static void _set_callback_cbs_columnCount_c2395_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_columnCount_c2395_1 = cb; -} - - -// emitter void QAbstractTableModel::columnsAboutToBeInserted(const QModelIndex &parent, int first, int last) - -static void _init_emitter_columnsAboutToBeInserted_7372 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_columnsAboutToBeInserted_7372 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractTableModel_Adaptor *)cls)->emitter_QAbstractTableModel_columnsAboutToBeInserted_7372 (arg1, arg2, arg3); -} - - -// emitter void QAbstractTableModel::columnsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationColumn) - -static void _init_emitter_columnsAboutToBeMoved_10318 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sourceParent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sourceStart"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("sourceEnd"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destinationParent"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("destinationColumn"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_emitter_columnsAboutToBeMoved_10318 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const QModelIndex &arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - ((QAbstractTableModel_Adaptor *)cls)->emitter_QAbstractTableModel_columnsAboutToBeMoved_10318 (arg1, arg2, arg3, arg4, arg5); -} - - -// emitter void QAbstractTableModel::columnsAboutToBeRemoved(const QModelIndex &parent, int first, int last) - -static void _init_emitter_columnsAboutToBeRemoved_7372 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_columnsAboutToBeRemoved_7372 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractTableModel_Adaptor *)cls)->emitter_QAbstractTableModel_columnsAboutToBeRemoved_7372 (arg1, arg2, arg3); -} - - -// emitter void QAbstractTableModel::columnsInserted(const QModelIndex &parent, int first, int last) - -static void _init_emitter_columnsInserted_7372 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_columnsInserted_7372 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractTableModel_Adaptor *)cls)->emitter_QAbstractTableModel_columnsInserted_7372 (arg1, arg2, arg3); -} - - -// emitter void QAbstractTableModel::columnsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int column) - -static void _init_emitter_columnsMoved_10318 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("start"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("end"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destination"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("column"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_emitter_columnsMoved_10318 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const QModelIndex &arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - ((QAbstractTableModel_Adaptor *)cls)->emitter_QAbstractTableModel_columnsMoved_10318 (arg1, arg2, arg3, arg4, arg5); -} - - -// emitter void QAbstractTableModel::columnsRemoved(const QModelIndex &parent, int first, int last) - -static void _init_emitter_columnsRemoved_7372 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_columnsRemoved_7372 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractTableModel_Adaptor *)cls)->emitter_QAbstractTableModel_columnsRemoved_7372 (arg1, arg2, arg3); -} - - -// exposed QModelIndex QAbstractTableModel::createIndex(int row, int column, const void *data) - -static void _init_fp_createIndex_c3069 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("column"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("data", true, "nullptr"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_fp_createIndex_c3069 (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); - int arg2 = gsi::arg_reader() (args, heap); - const void *arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ret.write ((QModelIndex)((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_createIndex_c3069 (arg1, arg2, arg3)); -} - - -// exposed QModelIndex QAbstractTableModel::createIndex(int row, int column, quintptr id) - -static void _init_fp_createIndex_c2657 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("column"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("id"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_fp_createIndex_c2657 (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); - int arg2 = gsi::arg_reader() (args, heap); - quintptr arg3 = gsi::arg_reader() (args, heap); - ret.write ((QModelIndex)((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_createIndex_c2657 (arg1, arg2, arg3)); -} - - -// void QAbstractTableModel::customEvent(QEvent *event) - -static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_customEvent_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTableModel_Adaptor *)cls)->cbs_customEvent_1217_0 (arg1); -} - -static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_customEvent_1217_0 = cb; -} - - -// QVariant QAbstractTableModel::data(const QModelIndex &index, int role) - -static void _init_cbs_data_c3054_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("role"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_cbs_data_c3054_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - int arg2 = args.read (heap); - ret.write ((QVariant)((QAbstractTableModel_Adaptor *)cls)->cbs_data_c3054_1 (arg1, arg2)); -} - -static void _set_callback_cbs_data_c3054_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_data_c3054_1 = cb; -} - - -// emitter void QAbstractTableModel::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList &roles) - -static void _init_emitter_dataChanged_6833 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("topLeft"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("bottomRight"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("roles", true, "QList()"); - decl->add_arg & > (argspec_2); - decl->set_return (); -} - -static void _call_emitter_dataChanged_6833 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - const QModelIndex &arg2 = gsi::arg_reader() (args, heap); - const QList &arg3 = args ? gsi::arg_reader & >() (args, heap) : gsi::arg_maker & >() (QList(), heap); - ((QAbstractTableModel_Adaptor *)cls)->emitter_QAbstractTableModel_dataChanged_6833 (arg1, arg2, arg3); -} - - -// exposed bool QAbstractTableModel::decodeData(int row, int column, const QModelIndex &parent, QDataStream &stream) - -static void _init_fp_decodeData_5302 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("column"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("stream"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_fp_decodeData_5302 (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); - int arg2 = gsi::arg_reader() (args, heap); - const QModelIndex &arg3 = gsi::arg_reader() (args, heap); - QDataStream &arg4 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_decodeData_5302 (arg1, arg2, arg3, arg4)); -} - - -// emitter void QAbstractTableModel::destroyed(QObject *) - -static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ((QAbstractTableModel_Adaptor *)cls)->emitter_QAbstractTableModel_destroyed_1302 (arg1); -} - - -// void QAbstractTableModel::disconnectNotify(const QMetaMethod &signal) - -static void _init_cbs_disconnectNotify_2394_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("signal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_disconnectNotify_2394_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMetaMethod &arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTableModel_Adaptor *)cls)->cbs_disconnectNotify_2394_0 (arg1); -} - -static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_disconnectNotify_2394_0 = cb; -} - - -// bool QAbstractTableModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) - -static void _init_cbs_dropMimeData_7425_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("action"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("row"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("column"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("parent"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_cbs_dropMimeData_7425_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMimeData *arg1 = args.read (heap); - const qt_gsi::Converter::target_type & arg2 = args.read::target_type & > (heap); - int arg3 = args.read (heap); - int arg4 = args.read (heap); - const QModelIndex &arg5 = args.read (heap); - ret.write ((bool)((QAbstractTableModel_Adaptor *)cls)->cbs_dropMimeData_7425_0 (arg1, arg2, arg3, arg4, arg5)); -} - -static void _set_callback_cbs_dropMimeData_7425_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_dropMimeData_7425_0 = cb; -} - - -// exposed void QAbstractTableModel::encodeData(const QList &indexes, QDataStream &stream) - -static void _init_fp_encodeData_c4599 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("indexes"); - decl->add_arg & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("stream"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_fp_encodeData_c4599 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QList &arg1 = gsi::arg_reader & >() (args, heap); - QDataStream &arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_encodeData_c4599 (arg1, arg2); -} - - -// exposed void QAbstractTableModel::endInsertColumns() - -static void _init_fp_endInsertColumns_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_endInsertColumns_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_endInsertColumns_0 (); -} - - -// exposed void QAbstractTableModel::endInsertRows() - -static void _init_fp_endInsertRows_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_endInsertRows_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_endInsertRows_0 (); -} - - -// exposed void QAbstractTableModel::endMoveColumns() - -static void _init_fp_endMoveColumns_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_endMoveColumns_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_endMoveColumns_0 (); -} - - -// exposed void QAbstractTableModel::endMoveRows() - -static void _init_fp_endMoveRows_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_endMoveRows_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_endMoveRows_0 (); -} - - -// exposed void QAbstractTableModel::endRemoveColumns() - -static void _init_fp_endRemoveColumns_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_endRemoveColumns_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_endRemoveColumns_0 (); -} - - -// exposed void QAbstractTableModel::endRemoveRows() - -static void _init_fp_endRemoveRows_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_endRemoveRows_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_endRemoveRows_0 (); -} - - -// exposed void QAbstractTableModel::endResetModel() - -static void _init_fp_endResetModel_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_endResetModel_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_endResetModel_0 (); -} - - -// bool QAbstractTableModel::event(QEvent *event) - -static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_event_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QEvent *arg1 = args.read (heap); - ret.write ((bool)((QAbstractTableModel_Adaptor *)cls)->cbs_event_1217_0 (arg1)); -} - -static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_event_1217_0 = cb; -} - - -// bool QAbstractTableModel::eventFilter(QObject *watched, QEvent *event) - -static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("watched"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("event"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_cbs_eventFilter_2411_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = args.read (heap); - QEvent *arg2 = args.read (heap); - ret.write ((bool)((QAbstractTableModel_Adaptor *)cls)->cbs_eventFilter_2411_0 (arg1, arg2)); -} - -static void _set_callback_cbs_eventFilter_2411_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_eventFilter_2411_0 = cb; -} - - -// void QAbstractTableModel::fetchMore(const QModelIndex &parent) - -static void _init_cbs_fetchMore_2395_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_fetchMore_2395_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTableModel_Adaptor *)cls)->cbs_fetchMore_2395_0 (arg1); -} - -static void _set_callback_cbs_fetchMore_2395_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_fetchMore_2395_0 = cb; -} - - -// QFlags QAbstractTableModel::flags(const QModelIndex &index) - -static void _init_cbs_flags_c2395_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - decl->set_return > (); -} - -static void _call_cbs_flags_c2395_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write > ((QFlags)((QAbstractTableModel_Adaptor *)cls)->cbs_flags_c2395_0 (arg1)); -} - -static void _set_callback_cbs_flags_c2395_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_flags_c2395_0 = cb; -} - - -// QVariant QAbstractTableModel::headerData(int section, Qt::Orientation orientation, int role) - -static void _init_cbs_headerData_c3231_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("section"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("orientation"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("role"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_headerData_c3231_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - const qt_gsi::Converter::target_type & arg2 = args.read::target_type & > (heap); - int arg3 = args.read (heap); - ret.write ((QVariant)((QAbstractTableModel_Adaptor *)cls)->cbs_headerData_c3231_1 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_headerData_c3231_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_headerData_c3231_1 = cb; -} - - -// emitter void QAbstractTableModel::headerDataChanged(Qt::Orientation orientation, int first, int last) - -static void _init_emitter_headerDataChanged_3231 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("orientation"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_headerDataChanged_3231 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractTableModel_Adaptor *)cls)->emitter_QAbstractTableModel_headerDataChanged_3231 (arg1, arg2, arg3); -} - - -// QModelIndex QAbstractTableModel::index(int row, int column, const QModelIndex &parent) - -static void _init_cbs_index_c3713_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("column"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_index_c3713_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - const QModelIndex &arg3 = args.read (heap); - ret.write ((QModelIndex)((QAbstractTableModel_Adaptor *)cls)->cbs_index_c3713_1 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_index_c3713_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_index_c3713_1 = cb; -} - - -// bool QAbstractTableModel::insertColumns(int column, int count, const QModelIndex &parent) - -static void _init_cbs_insertColumns_3713_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("column"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_insertColumns_3713_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - const QModelIndex &arg3 = args.read (heap); - ret.write ((bool)((QAbstractTableModel_Adaptor *)cls)->cbs_insertColumns_3713_1 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_insertColumns_3713_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_insertColumns_3713_1 = cb; -} - - -// bool QAbstractTableModel::insertRows(int row, int count, const QModelIndex &parent) - -static void _init_cbs_insertRows_3713_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_insertRows_3713_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - const QModelIndex &arg3 = args.read (heap); - ret.write ((bool)((QAbstractTableModel_Adaptor *)cls)->cbs_insertRows_3713_1 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_insertRows_3713_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_insertRows_3713_1 = cb; -} - - -// exposed bool QAbstractTableModel::isSignalConnected(const QMetaMethod &signal) - -static void _init_fp_isSignalConnected_c2394 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("signal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_fp_isSignalConnected_c2394 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMetaMethod &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_isSignalConnected_c2394 (arg1)); -} - - -// QMap QAbstractTableModel::itemData(const QModelIndex &index) - -static void _init_cbs_itemData_c2395_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - decl->set_return > (); -} - -static void _call_cbs_itemData_c2395_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write > ((QMap)((QAbstractTableModel_Adaptor *)cls)->cbs_itemData_c2395_0 (arg1)); -} - -static void _set_callback_cbs_itemData_c2395_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_itemData_c2395_0 = cb; -} - - -// emitter void QAbstractTableModel::layoutAboutToBeChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint) - -static void _init_emitter_layoutAboutToBeChanged_7947 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parents", true, "QList()"); - decl->add_arg & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("hint", true, "QAbstractItemModel::NoLayoutChangeHint"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_emitter_layoutAboutToBeChanged_7947 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QList &arg1 = args ? gsi::arg_reader & >() (args, heap) : gsi::arg_maker & >() (QList(), heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, QAbstractItemModel::NoLayoutChangeHint), heap); - ((QAbstractTableModel_Adaptor *)cls)->emitter_QAbstractTableModel_layoutAboutToBeChanged_7947 (arg1, arg2); -} - - -// emitter void QAbstractTableModel::layoutChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint) - -static void _init_emitter_layoutChanged_7947 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parents", true, "QList()"); - decl->add_arg & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("hint", true, "QAbstractItemModel::NoLayoutChangeHint"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_emitter_layoutChanged_7947 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QList &arg1 = args ? gsi::arg_reader & >() (args, heap) : gsi::arg_maker & >() (QList(), heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, QAbstractItemModel::NoLayoutChangeHint), heap); - ((QAbstractTableModel_Adaptor *)cls)->emitter_QAbstractTableModel_layoutChanged_7947 (arg1, arg2); -} - - -// QList QAbstractTableModel::match(const QModelIndex &start, int role, const QVariant &value, int hits, QFlags flags) - -static void _init_cbs_match_c7932_2 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("start"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("role"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("value"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("hits"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("flags"); - decl->add_arg > (argspec_4); - decl->set_return > (); -} - -static void _call_cbs_match_c7932_2 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - int arg2 = args.read (heap); - const QVariant &arg3 = args.read (heap); - int arg4 = args.read (heap); - QFlags arg5 = args.read > (heap); - ret.write > ((QList)((QAbstractTableModel_Adaptor *)cls)->cbs_match_c7932_2 (arg1, arg2, arg3, arg4, arg5)); -} - -static void _set_callback_cbs_match_c7932_2 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_match_c7932_2 = cb; -} - - -// QMimeData *QAbstractTableModel::mimeData(const QList &indexes) - -static void _init_cbs_mimeData_c3010_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("indexes"); - decl->add_arg & > (argspec_0); - decl->set_return (); -} - -static void _call_cbs_mimeData_c3010_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QList &arg1 = args.read & > (heap); - ret.write ((QMimeData *)((QAbstractTableModel_Adaptor *)cls)->cbs_mimeData_c3010_0 (arg1)); -} - -static void _set_callback_cbs_mimeData_c3010_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_mimeData_c3010_0 = cb; -} - - -// QStringList QAbstractTableModel::mimeTypes() - -static void _init_cbs_mimeTypes_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_mimeTypes_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QStringList)((QAbstractTableModel_Adaptor *)cls)->cbs_mimeTypes_c0_0 ()); -} - -static void _set_callback_cbs_mimeTypes_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_mimeTypes_c0_0 = cb; -} - - -// emitter void QAbstractTableModel::modelAboutToBeReset() - -static void _init_emitter_modelAboutToBeReset_3767 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_emitter_modelAboutToBeReset_3767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - ((QAbstractTableModel_Adaptor *)cls)->emitter_QAbstractTableModel_modelAboutToBeReset_3767 (); -} - - -// emitter void QAbstractTableModel::modelReset() - -static void _init_emitter_modelReset_3767 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_emitter_modelReset_3767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - ((QAbstractTableModel_Adaptor *)cls)->emitter_QAbstractTableModel_modelReset_3767 (); -} - - -// bool QAbstractTableModel::moveColumns(const QModelIndex &sourceParent, int sourceColumn, int count, const QModelIndex &destinationParent, int destinationChild) - -static void _init_cbs_moveColumns_6659_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sourceParent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sourceColumn"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destinationParent"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("destinationChild"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_cbs_moveColumns_6659_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - int arg2 = args.read (heap); - int arg3 = args.read (heap); - const QModelIndex &arg4 = args.read (heap); - int arg5 = args.read (heap); - ret.write ((bool)((QAbstractTableModel_Adaptor *)cls)->cbs_moveColumns_6659_0 (arg1, arg2, arg3, arg4, arg5)); -} - -static void _set_callback_cbs_moveColumns_6659_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_moveColumns_6659_0 = cb; -} - - -// bool QAbstractTableModel::moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) - -static void _init_cbs_moveRows_6659_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sourceParent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sourceRow"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("count"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destinationParent"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("destinationChild"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_cbs_moveRows_6659_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - int arg2 = args.read (heap); - int arg3 = args.read (heap); - const QModelIndex &arg4 = args.read (heap); - int arg5 = args.read (heap); - ret.write ((bool)((QAbstractTableModel_Adaptor *)cls)->cbs_moveRows_6659_0 (arg1, arg2, arg3, arg4, arg5)); -} - -static void _set_callback_cbs_moveRows_6659_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_moveRows_6659_0 = cb; -} - - -// void QAbstractTableModel::multiData(const QModelIndex &index, QModelRoleDataSpan roleDataSpan) - -static void _init_cbs_multiData_c4483_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("roleDataSpan"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_cbs_multiData_c4483_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - QModelRoleDataSpan arg2 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTableModel_Adaptor *)cls)->cbs_multiData_c4483_0 (arg1, arg2); -} - -static void _set_callback_cbs_multiData_c4483_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_multiData_c4483_0 = cb; -} - - -// emitter void QAbstractTableModel::objectNameChanged(const QString &objectName) - -static void _init_emitter_objectNameChanged_4567 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("objectName"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_emitter_objectNameChanged_4567 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ((QAbstractTableModel_Adaptor *)cls)->emitter_QAbstractTableModel_objectNameChanged_4567 (arg1); -} - - -// exposed QList QAbstractTableModel::persistentIndexList() - -static void _init_fp_persistentIndexList_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_fp_persistentIndexList_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QList)((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_persistentIndexList_c0 ()); -} - - -// exposed int QAbstractTableModel::receivers(const char *signal) - -static void _init_fp_receivers_c1731 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("signal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_fp_receivers_c1731 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - ret.write ((int)((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_receivers_c1731 (arg1)); -} - - -// bool QAbstractTableModel::removeColumns(int column, int count, const QModelIndex &parent) - -static void _init_cbs_removeColumns_3713_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("column"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_removeColumns_3713_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - const QModelIndex &arg3 = args.read (heap); - ret.write ((bool)((QAbstractTableModel_Adaptor *)cls)->cbs_removeColumns_3713_1 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_removeColumns_3713_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_removeColumns_3713_1 = cb; -} - - -// bool QAbstractTableModel::removeRows(int row, int count, const QModelIndex &parent) - -static void _init_cbs_removeRows_3713_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("count"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_removeRows_3713_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - const QModelIndex &arg3 = args.read (heap); - ret.write ((bool)((QAbstractTableModel_Adaptor *)cls)->cbs_removeRows_3713_1 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_removeRows_3713_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_removeRows_3713_1 = cb; -} - - -// void QAbstractTableModel::resetInternalData() - -static void _init_cbs_resetInternalData_0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_resetInternalData_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTableModel_Adaptor *)cls)->cbs_resetInternalData_0_0 (); -} - -static void _set_callback_cbs_resetInternalData_0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_resetInternalData_0_0 = cb; -} - - -// void QAbstractTableModel::revert() - -static void _init_cbs_revert_0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_revert_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTableModel_Adaptor *)cls)->cbs_revert_0_0 (); -} - -static void _set_callback_cbs_revert_0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_revert_0_0 = cb; -} - - -// QHash QAbstractTableModel::roleNames() - -static void _init_cbs_roleNames_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_cbs_roleNames_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QHash)((QAbstractTableModel_Adaptor *)cls)->cbs_roleNames_c0_0 ()); -} - -static void _set_callback_cbs_roleNames_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_roleNames_c0_0 = cb; -} - - -// int QAbstractTableModel::rowCount(const QModelIndex &parent) - -static void _init_cbs_rowCount_c2395_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_rowCount_c2395_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write ((int)((QAbstractTableModel_Adaptor *)cls)->cbs_rowCount_c2395_1 (arg1)); -} - -static void _set_callback_cbs_rowCount_c2395_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_rowCount_c2395_1 = cb; -} - - -// emitter void QAbstractTableModel::rowsAboutToBeInserted(const QModelIndex &parent, int first, int last) - -static void _init_emitter_rowsAboutToBeInserted_7372 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_rowsAboutToBeInserted_7372 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractTableModel_Adaptor *)cls)->emitter_QAbstractTableModel_rowsAboutToBeInserted_7372 (arg1, arg2, arg3); -} - - -// emitter void QAbstractTableModel::rowsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow) - -static void _init_emitter_rowsAboutToBeMoved_10318 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sourceParent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sourceStart"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("sourceEnd"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destinationParent"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("destinationRow"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_emitter_rowsAboutToBeMoved_10318 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const QModelIndex &arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - ((QAbstractTableModel_Adaptor *)cls)->emitter_QAbstractTableModel_rowsAboutToBeMoved_10318 (arg1, arg2, arg3, arg4, arg5); -} - - -// emitter void QAbstractTableModel::rowsAboutToBeRemoved(const QModelIndex &parent, int first, int last) - -static void _init_emitter_rowsAboutToBeRemoved_7372 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_rowsAboutToBeRemoved_7372 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractTableModel_Adaptor *)cls)->emitter_QAbstractTableModel_rowsAboutToBeRemoved_7372 (arg1, arg2, arg3); -} - - -// emitter void QAbstractTableModel::rowsInserted(const QModelIndex &parent, int first, int last) - -static void _init_emitter_rowsInserted_7372 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_rowsInserted_7372 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractTableModel_Adaptor *)cls)->emitter_QAbstractTableModel_rowsInserted_7372 (arg1, arg2, arg3); -} - - -// emitter void QAbstractTableModel::rowsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int row) - -static void _init_emitter_rowsMoved_10318 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("start"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("end"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("destination"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("row"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_emitter_rowsMoved_10318 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - const QModelIndex &arg4 = gsi::arg_reader() (args, heap); - int arg5 = gsi::arg_reader() (args, heap); - ((QAbstractTableModel_Adaptor *)cls)->emitter_QAbstractTableModel_rowsMoved_10318 (arg1, arg2, arg3, arg4, arg5); -} - - -// emitter void QAbstractTableModel::rowsRemoved(const QModelIndex &parent, int first, int last) - -static void _init_emitter_rowsRemoved_7372 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("first"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("last"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_emitter_rowsRemoved_7372 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ((QAbstractTableModel_Adaptor *)cls)->emitter_QAbstractTableModel_rowsRemoved_7372 (arg1, arg2, arg3); -} - - -// exposed QObject *QAbstractTableModel::sender() - -static void _init_fp_sender_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_sender_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QObject *)((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_sender_c0 ()); -} - - -// exposed int QAbstractTableModel::senderSignalIndex() - -static void _init_fp_senderSignalIndex_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_senderSignalIndex_c0 ()); -} - - -// bool QAbstractTableModel::setData(const QModelIndex &index, const QVariant &value, int role) - -static void _init_cbs_setData_5065_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("value"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("role"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_setData_5065_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - const QVariant &arg2 = args.read (heap); - int arg3 = args.read (heap); - ret.write ((bool)((QAbstractTableModel_Adaptor *)cls)->cbs_setData_5065_1 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_setData_5065_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_setData_5065_1 = cb; -} - - -// bool QAbstractTableModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role) - -static void _init_cbs_setHeaderData_5242_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("section"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("orientation"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("value"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("role"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_cbs_setHeaderData_5242_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - const qt_gsi::Converter::target_type & arg2 = args.read::target_type & > (heap); - const QVariant &arg3 = args.read (heap); - int arg4 = args.read (heap); - ret.write ((bool)((QAbstractTableModel_Adaptor *)cls)->cbs_setHeaderData_5242_1 (arg1, arg2, arg3, arg4)); -} - -static void _set_callback_cbs_setHeaderData_5242_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_setHeaderData_5242_1 = cb; -} - - -// bool QAbstractTableModel::setItemData(const QModelIndex &index, const QMap &roles) - -static void _init_cbs_setItemData_5414_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("roles"); - decl->add_arg & > (argspec_1); - decl->set_return (); -} - -static void _call_cbs_setItemData_5414_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - const QMap &arg2 = args.read & > (heap); - ret.write ((bool)((QAbstractTableModel_Adaptor *)cls)->cbs_setItemData_5414_0 (arg1, arg2)); -} - -static void _set_callback_cbs_setItemData_5414_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_setItemData_5414_0 = cb; -} - - -// QModelIndex QAbstractTableModel::sibling(int row, int column, const QModelIndex &idx) - -static void _init_cbs_sibling_c3713_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("column"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("idx"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_sibling_c3713_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - const QModelIndex &arg3 = args.read (heap); - ret.write ((QModelIndex)((QAbstractTableModel_Adaptor *)cls)->cbs_sibling_c3713_0 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_sibling_c3713_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_sibling_c3713_0 = cb; -} - - -// void QAbstractTableModel::sort(int column, Qt::SortOrder order) - -static void _init_cbs_sort_2340_1 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("column"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("order"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_cbs_sort_2340_1 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - const qt_gsi::Converter::target_type & arg2 = args.read::target_type & > (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTableModel_Adaptor *)cls)->cbs_sort_2340_1 (arg1, arg2); -} - -static void _set_callback_cbs_sort_2340_1 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_sort_2340_1 = cb; -} - - -// QSize QAbstractTableModel::span(const QModelIndex &index) - -static void _init_cbs_span_c2395_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_span_c2395_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QModelIndex &arg1 = args.read (heap); - ret.write ((QSize)((QAbstractTableModel_Adaptor *)cls)->cbs_span_c2395_0 (arg1)); -} - -static void _set_callback_cbs_span_c2395_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_span_c2395_0 = cb; -} - - -// bool QAbstractTableModel::submit() - -static void _init_cbs_submit_0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_submit_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QAbstractTableModel_Adaptor *)cls)->cbs_submit_0_0 ()); -} - -static void _set_callback_cbs_submit_0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_submit_0_0 = cb; -} - - -// QFlags QAbstractTableModel::supportedDragActions() - -static void _init_cbs_supportedDragActions_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_cbs_supportedDragActions_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QFlags)((QAbstractTableModel_Adaptor *)cls)->cbs_supportedDragActions_c0_0 ()); -} - -static void _set_callback_cbs_supportedDragActions_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_supportedDragActions_c0_0 = cb; -} - - -// QFlags QAbstractTableModel::supportedDropActions() - -static void _init_cbs_supportedDropActions_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_cbs_supportedDropActions_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QFlags)((QAbstractTableModel_Adaptor *)cls)->cbs_supportedDropActions_c0_0 ()); -} - -static void _set_callback_cbs_supportedDropActions_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_supportedDropActions_c0_0 = cb; -} - - -// void QAbstractTableModel::timerEvent(QTimerEvent *event) - -static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_timerEvent_1730_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QTimerEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTableModel_Adaptor *)cls)->cbs_timerEvent_1730_0 (arg1); -} - -static void _set_callback_cbs_timerEvent_1730_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTableModel_Adaptor *)cls)->cb_timerEvent_1730_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QAbstractTableModel (); - -static gsi::Methods methods_QAbstractTableModel_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractTableModel::QAbstractTableModel(QObject *parent)\nThis method creates an object of class QAbstractTableModel.", &_init_ctor_QAbstractTableModel_Adaptor_1302, &_call_ctor_QAbstractTableModel_Adaptor_1302); - methods += new qt_gsi::GenericMethod ("*beginInsertColumns", "@brief Method void QAbstractTableModel::beginInsertColumns(const QModelIndex &parent, int first, int last)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_beginInsertColumns_3713, &_call_fp_beginInsertColumns_3713); - methods += new qt_gsi::GenericMethod ("*beginInsertRows", "@brief Method void QAbstractTableModel::beginInsertRows(const QModelIndex &parent, int first, int last)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_beginInsertRows_3713, &_call_fp_beginInsertRows_3713); - methods += new qt_gsi::GenericMethod ("*beginMoveColumns", "@brief Method bool QAbstractTableModel::beginMoveColumns(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationColumn)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_beginMoveColumns_6659, &_call_fp_beginMoveColumns_6659); - methods += new qt_gsi::GenericMethod ("*beginMoveRows", "@brief Method bool QAbstractTableModel::beginMoveRows(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationRow)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_beginMoveRows_6659, &_call_fp_beginMoveRows_6659); - methods += new qt_gsi::GenericMethod ("*beginRemoveColumns", "@brief Method void QAbstractTableModel::beginRemoveColumns(const QModelIndex &parent, int first, int last)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_beginRemoveColumns_3713, &_call_fp_beginRemoveColumns_3713); - methods += new qt_gsi::GenericMethod ("*beginRemoveRows", "@brief Method void QAbstractTableModel::beginRemoveRows(const QModelIndex &parent, int first, int last)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_beginRemoveRows_3713, &_call_fp_beginRemoveRows_3713); - methods += new qt_gsi::GenericMethod ("*beginResetModel", "@brief Method void QAbstractTableModel::beginResetModel()\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_beginResetModel_0, &_call_fp_beginResetModel_0); - methods += new qt_gsi::GenericMethod ("buddy", "@brief Virtual method QModelIndex QAbstractTableModel::buddy(const QModelIndex &index)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_buddy_c2395_0, &_call_cbs_buddy_c2395_0); - methods += new qt_gsi::GenericMethod ("buddy", "@hide", true, &_init_cbs_buddy_c2395_0, &_call_cbs_buddy_c2395_0, &_set_callback_cbs_buddy_c2395_0); - methods += new qt_gsi::GenericMethod ("canDropMimeData", "@brief Virtual method bool QAbstractTableModel::canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_canDropMimeData_c7425_0, &_call_cbs_canDropMimeData_c7425_0); - methods += new qt_gsi::GenericMethod ("canDropMimeData", "@hide", true, &_init_cbs_canDropMimeData_c7425_0, &_call_cbs_canDropMimeData_c7425_0, &_set_callback_cbs_canDropMimeData_c7425_0); - methods += new qt_gsi::GenericMethod ("canFetchMore", "@brief Virtual method bool QAbstractTableModel::canFetchMore(const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_canFetchMore_c2395_0, &_call_cbs_canFetchMore_c2395_0); - methods += new qt_gsi::GenericMethod ("canFetchMore", "@hide", true, &_init_cbs_canFetchMore_c2395_0, &_call_cbs_canFetchMore_c2395_0, &_set_callback_cbs_canFetchMore_c2395_0); - methods += new qt_gsi::GenericMethod ("*changePersistentIndex", "@brief Method void QAbstractTableModel::changePersistentIndex(const QModelIndex &from, const QModelIndex &to)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_changePersistentIndex_4682, &_call_fp_changePersistentIndex_4682); - methods += new qt_gsi::GenericMethod ("*changePersistentIndexList", "@brief Method void QAbstractTableModel::changePersistentIndexList(const QList &from, const QList &to)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_changePersistentIndexList_5912, &_call_fp_changePersistentIndexList_5912); - methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QAbstractTableModel::childEvent(QChildEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0); - methods += new qt_gsi::GenericMethod ("*childEvent", "@hide", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0, &_set_callback_cbs_childEvent_1701_0); - methods += new qt_gsi::GenericMethod ("clearItemData", "@brief Virtual method bool QAbstractTableModel::clearItemData(const QModelIndex &index)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_clearItemData_2395_0, &_call_cbs_clearItemData_2395_0); - methods += new qt_gsi::GenericMethod ("clearItemData", "@hide", false, &_init_cbs_clearItemData_2395_0, &_call_cbs_clearItemData_2395_0, &_set_callback_cbs_clearItemData_2395_0); - methods += new qt_gsi::GenericMethod ("columnCount", "@brief Virtual method int QAbstractTableModel::columnCount(const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_columnCount_c2395_1, &_call_cbs_columnCount_c2395_1); - methods += new qt_gsi::GenericMethod ("columnCount", "@hide", true, &_init_cbs_columnCount_c2395_1, &_call_cbs_columnCount_c2395_1, &_set_callback_cbs_columnCount_c2395_1); - methods += new qt_gsi::GenericMethod ("emit_columnsAboutToBeInserted", "@brief Emitter for signal void QAbstractTableModel::columnsAboutToBeInserted(const QModelIndex &parent, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_columnsAboutToBeInserted_7372, &_call_emitter_columnsAboutToBeInserted_7372); - methods += new qt_gsi::GenericMethod ("emit_columnsAboutToBeMoved", "@brief Emitter for signal void QAbstractTableModel::columnsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationColumn)\nCall this method to emit this signal.", false, &_init_emitter_columnsAboutToBeMoved_10318, &_call_emitter_columnsAboutToBeMoved_10318); - methods += new qt_gsi::GenericMethod ("emit_columnsAboutToBeRemoved", "@brief Emitter for signal void QAbstractTableModel::columnsAboutToBeRemoved(const QModelIndex &parent, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_columnsAboutToBeRemoved_7372, &_call_emitter_columnsAboutToBeRemoved_7372); - methods += new qt_gsi::GenericMethod ("emit_columnsInserted", "@brief Emitter for signal void QAbstractTableModel::columnsInserted(const QModelIndex &parent, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_columnsInserted_7372, &_call_emitter_columnsInserted_7372); - methods += new qt_gsi::GenericMethod ("emit_columnsMoved", "@brief Emitter for signal void QAbstractTableModel::columnsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int column)\nCall this method to emit this signal.", false, &_init_emitter_columnsMoved_10318, &_call_emitter_columnsMoved_10318); - methods += new qt_gsi::GenericMethod ("emit_columnsRemoved", "@brief Emitter for signal void QAbstractTableModel::columnsRemoved(const QModelIndex &parent, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_columnsRemoved_7372, &_call_emitter_columnsRemoved_7372); - methods += new qt_gsi::GenericMethod ("*createIndex", "@brief Method QModelIndex QAbstractTableModel::createIndex(int row, int column, const void *data)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_createIndex_c3069, &_call_fp_createIndex_c3069); - methods += new qt_gsi::GenericMethod ("*createIndex", "@brief Method QModelIndex QAbstractTableModel::createIndex(int row, int column, quintptr id)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_createIndex_c2657, &_call_fp_createIndex_c2657); - methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QAbstractTableModel::customEvent(QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0); - methods += new qt_gsi::GenericMethod ("*customEvent", "@hide", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0, &_set_callback_cbs_customEvent_1217_0); - methods += new qt_gsi::GenericMethod ("data", "@brief Virtual method QVariant QAbstractTableModel::data(const QModelIndex &index, int role)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_data_c3054_1, &_call_cbs_data_c3054_1); - methods += new qt_gsi::GenericMethod ("data", "@hide", true, &_init_cbs_data_c3054_1, &_call_cbs_data_c3054_1, &_set_callback_cbs_data_c3054_1); - methods += new qt_gsi::GenericMethod ("emit_dataChanged", "@brief Emitter for signal void QAbstractTableModel::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList &roles)\nCall this method to emit this signal.", false, &_init_emitter_dataChanged_6833, &_call_emitter_dataChanged_6833); - methods += new qt_gsi::GenericMethod ("*decodeData", "@brief Method bool QAbstractTableModel::decodeData(int row, int column, const QModelIndex &parent, QDataStream &stream)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_decodeData_5302, &_call_fp_decodeData_5302); - methods += new qt_gsi::GenericMethod ("emit_destroyed", "@brief Emitter for signal void QAbstractTableModel::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302); - methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@brief Virtual method void QAbstractTableModel::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0); - methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@hide", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0, &_set_callback_cbs_disconnectNotify_2394_0); - methods += new qt_gsi::GenericMethod ("dropMimeData", "@brief Virtual method bool QAbstractTableModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_dropMimeData_7425_0, &_call_cbs_dropMimeData_7425_0); - methods += new qt_gsi::GenericMethod ("dropMimeData", "@hide", false, &_init_cbs_dropMimeData_7425_0, &_call_cbs_dropMimeData_7425_0, &_set_callback_cbs_dropMimeData_7425_0); - methods += new qt_gsi::GenericMethod ("*encodeData", "@brief Method void QAbstractTableModel::encodeData(const QList &indexes, QDataStream &stream)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_encodeData_c4599, &_call_fp_encodeData_c4599); - methods += new qt_gsi::GenericMethod ("*endInsertColumns", "@brief Method void QAbstractTableModel::endInsertColumns()\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_endInsertColumns_0, &_call_fp_endInsertColumns_0); - methods += new qt_gsi::GenericMethod ("*endInsertRows", "@brief Method void QAbstractTableModel::endInsertRows()\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_endInsertRows_0, &_call_fp_endInsertRows_0); - methods += new qt_gsi::GenericMethod ("*endMoveColumns", "@brief Method void QAbstractTableModel::endMoveColumns()\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_endMoveColumns_0, &_call_fp_endMoveColumns_0); - methods += new qt_gsi::GenericMethod ("*endMoveRows", "@brief Method void QAbstractTableModel::endMoveRows()\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_endMoveRows_0, &_call_fp_endMoveRows_0); - methods += new qt_gsi::GenericMethod ("*endRemoveColumns", "@brief Method void QAbstractTableModel::endRemoveColumns()\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_endRemoveColumns_0, &_call_fp_endRemoveColumns_0); - methods += new qt_gsi::GenericMethod ("*endRemoveRows", "@brief Method void QAbstractTableModel::endRemoveRows()\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_endRemoveRows_0, &_call_fp_endRemoveRows_0); - methods += new qt_gsi::GenericMethod ("*endResetModel", "@brief Method void QAbstractTableModel::endResetModel()\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_endResetModel_0, &_call_fp_endResetModel_0); - methods += new qt_gsi::GenericMethod ("event", "@brief Virtual method bool QAbstractTableModel::event(QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0); - methods += new qt_gsi::GenericMethod ("event", "@hide", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0, &_set_callback_cbs_event_1217_0); - methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Virtual method bool QAbstractTableModel::eventFilter(QObject *watched, QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0); - methods += new qt_gsi::GenericMethod ("eventFilter", "@hide", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0, &_set_callback_cbs_eventFilter_2411_0); - methods += new qt_gsi::GenericMethod ("fetchMore", "@brief Virtual method void QAbstractTableModel::fetchMore(const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_fetchMore_2395_0, &_call_cbs_fetchMore_2395_0); - methods += new qt_gsi::GenericMethod ("fetchMore", "@hide", false, &_init_cbs_fetchMore_2395_0, &_call_cbs_fetchMore_2395_0, &_set_callback_cbs_fetchMore_2395_0); - methods += new qt_gsi::GenericMethod ("flags", "@brief Virtual method QFlags QAbstractTableModel::flags(const QModelIndex &index)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_flags_c2395_0, &_call_cbs_flags_c2395_0); - methods += new qt_gsi::GenericMethod ("flags", "@hide", true, &_init_cbs_flags_c2395_0, &_call_cbs_flags_c2395_0, &_set_callback_cbs_flags_c2395_0); - methods += new qt_gsi::GenericMethod ("headerData", "@brief Virtual method QVariant QAbstractTableModel::headerData(int section, Qt::Orientation orientation, int role)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_headerData_c3231_1, &_call_cbs_headerData_c3231_1); - methods += new qt_gsi::GenericMethod ("headerData", "@hide", true, &_init_cbs_headerData_c3231_1, &_call_cbs_headerData_c3231_1, &_set_callback_cbs_headerData_c3231_1); - methods += new qt_gsi::GenericMethod ("emit_headerDataChanged", "@brief Emitter for signal void QAbstractTableModel::headerDataChanged(Qt::Orientation orientation, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_headerDataChanged_3231, &_call_emitter_headerDataChanged_3231); - methods += new qt_gsi::GenericMethod ("index", "@brief Virtual method QModelIndex QAbstractTableModel::index(int row, int column, const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_index_c3713_1, &_call_cbs_index_c3713_1); - methods += new qt_gsi::GenericMethod ("index", "@hide", true, &_init_cbs_index_c3713_1, &_call_cbs_index_c3713_1, &_set_callback_cbs_index_c3713_1); - methods += new qt_gsi::GenericMethod ("insertColumns", "@brief Virtual method bool QAbstractTableModel::insertColumns(int column, int count, const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_insertColumns_3713_1, &_call_cbs_insertColumns_3713_1); - methods += new qt_gsi::GenericMethod ("insertColumns", "@hide", false, &_init_cbs_insertColumns_3713_1, &_call_cbs_insertColumns_3713_1, &_set_callback_cbs_insertColumns_3713_1); - methods += new qt_gsi::GenericMethod ("insertRows", "@brief Virtual method bool QAbstractTableModel::insertRows(int row, int count, const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_insertRows_3713_1, &_call_cbs_insertRows_3713_1); - methods += new qt_gsi::GenericMethod ("insertRows", "@hide", false, &_init_cbs_insertRows_3713_1, &_call_cbs_insertRows_3713_1, &_set_callback_cbs_insertRows_3713_1); - methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QAbstractTableModel::isSignalConnected(const QMetaMethod &signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_isSignalConnected_c2394, &_call_fp_isSignalConnected_c2394); - methods += new qt_gsi::GenericMethod ("itemData", "@brief Virtual method QMap QAbstractTableModel::itemData(const QModelIndex &index)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_itemData_c2395_0, &_call_cbs_itemData_c2395_0); - methods += new qt_gsi::GenericMethod ("itemData", "@hide", true, &_init_cbs_itemData_c2395_0, &_call_cbs_itemData_c2395_0, &_set_callback_cbs_itemData_c2395_0); - methods += new qt_gsi::GenericMethod ("emit_layoutAboutToBeChanged", "@brief Emitter for signal void QAbstractTableModel::layoutAboutToBeChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint)\nCall this method to emit this signal.", false, &_init_emitter_layoutAboutToBeChanged_7947, &_call_emitter_layoutAboutToBeChanged_7947); - methods += new qt_gsi::GenericMethod ("emit_layoutChanged", "@brief Emitter for signal void QAbstractTableModel::layoutChanged(const QList &parents, QAbstractItemModel::LayoutChangeHint hint)\nCall this method to emit this signal.", false, &_init_emitter_layoutChanged_7947, &_call_emitter_layoutChanged_7947); - methods += new qt_gsi::GenericMethod ("match", "@brief Virtual method QList QAbstractTableModel::match(const QModelIndex &start, int role, const QVariant &value, int hits, QFlags flags)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_match_c7932_2, &_call_cbs_match_c7932_2); - methods += new qt_gsi::GenericMethod ("match", "@hide", true, &_init_cbs_match_c7932_2, &_call_cbs_match_c7932_2, &_set_callback_cbs_match_c7932_2); - methods += new qt_gsi::GenericMethod ("mimeData", "@brief Virtual method QMimeData *QAbstractTableModel::mimeData(const QList &indexes)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_mimeData_c3010_0, &_call_cbs_mimeData_c3010_0); - methods += new qt_gsi::GenericMethod ("mimeData", "@hide", true, &_init_cbs_mimeData_c3010_0, &_call_cbs_mimeData_c3010_0, &_set_callback_cbs_mimeData_c3010_0); - methods += new qt_gsi::GenericMethod ("mimeTypes", "@brief Virtual method QStringList QAbstractTableModel::mimeTypes()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_mimeTypes_c0_0, &_call_cbs_mimeTypes_c0_0); - methods += new qt_gsi::GenericMethod ("mimeTypes", "@hide", true, &_init_cbs_mimeTypes_c0_0, &_call_cbs_mimeTypes_c0_0, &_set_callback_cbs_mimeTypes_c0_0); - methods += new qt_gsi::GenericMethod ("emit_modelAboutToBeReset", "@brief Emitter for signal void QAbstractTableModel::modelAboutToBeReset()\nCall this method to emit this signal.", false, &_init_emitter_modelAboutToBeReset_3767, &_call_emitter_modelAboutToBeReset_3767); - methods += new qt_gsi::GenericMethod ("emit_modelReset", "@brief Emitter for signal void QAbstractTableModel::modelReset()\nCall this method to emit this signal.", false, &_init_emitter_modelReset_3767, &_call_emitter_modelReset_3767); - methods += new qt_gsi::GenericMethod ("moveColumns", "@brief Virtual method bool QAbstractTableModel::moveColumns(const QModelIndex &sourceParent, int sourceColumn, int count, const QModelIndex &destinationParent, int destinationChild)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_moveColumns_6659_0, &_call_cbs_moveColumns_6659_0); - methods += new qt_gsi::GenericMethod ("moveColumns", "@hide", false, &_init_cbs_moveColumns_6659_0, &_call_cbs_moveColumns_6659_0, &_set_callback_cbs_moveColumns_6659_0); - methods += new qt_gsi::GenericMethod ("moveRows", "@brief Virtual method bool QAbstractTableModel::moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_moveRows_6659_0, &_call_cbs_moveRows_6659_0); - methods += new qt_gsi::GenericMethod ("moveRows", "@hide", false, &_init_cbs_moveRows_6659_0, &_call_cbs_moveRows_6659_0, &_set_callback_cbs_moveRows_6659_0); - methods += new qt_gsi::GenericMethod ("multiData", "@brief Virtual method void QAbstractTableModel::multiData(const QModelIndex &index, QModelRoleDataSpan roleDataSpan)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_multiData_c4483_0, &_call_cbs_multiData_c4483_0); - methods += new qt_gsi::GenericMethod ("multiData", "@hide", true, &_init_cbs_multiData_c4483_0, &_call_cbs_multiData_c4483_0, &_set_callback_cbs_multiData_c4483_0); - methods += new qt_gsi::GenericMethod ("emit_objectNameChanged", "@brief Emitter for signal void QAbstractTableModel::objectNameChanged(const QString &objectName)\nCall this method to emit this signal.", false, &_init_emitter_objectNameChanged_4567, &_call_emitter_objectNameChanged_4567); - methods += new qt_gsi::GenericMethod ("*persistentIndexList", "@brief Method QList QAbstractTableModel::persistentIndexList()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_persistentIndexList_c0, &_call_fp_persistentIndexList_c0); - methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QAbstractTableModel::receivers(const char *signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_receivers_c1731, &_call_fp_receivers_c1731); - methods += new qt_gsi::GenericMethod ("removeColumns", "@brief Virtual method bool QAbstractTableModel::removeColumns(int column, int count, const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_removeColumns_3713_1, &_call_cbs_removeColumns_3713_1); - methods += new qt_gsi::GenericMethod ("removeColumns", "@hide", false, &_init_cbs_removeColumns_3713_1, &_call_cbs_removeColumns_3713_1, &_set_callback_cbs_removeColumns_3713_1); - methods += new qt_gsi::GenericMethod ("removeRows", "@brief Virtual method bool QAbstractTableModel::removeRows(int row, int count, const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_removeRows_3713_1, &_call_cbs_removeRows_3713_1); - methods += new qt_gsi::GenericMethod ("removeRows", "@hide", false, &_init_cbs_removeRows_3713_1, &_call_cbs_removeRows_3713_1, &_set_callback_cbs_removeRows_3713_1); - methods += new qt_gsi::GenericMethod ("*resetInternalData", "@brief Virtual method void QAbstractTableModel::resetInternalData()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_resetInternalData_0_0, &_call_cbs_resetInternalData_0_0); - methods += new qt_gsi::GenericMethod ("*resetInternalData", "@hide", false, &_init_cbs_resetInternalData_0_0, &_call_cbs_resetInternalData_0_0, &_set_callback_cbs_resetInternalData_0_0); - methods += new qt_gsi::GenericMethod ("revert", "@brief Virtual method void QAbstractTableModel::revert()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_revert_0_0, &_call_cbs_revert_0_0); - methods += new qt_gsi::GenericMethod ("revert", "@hide", false, &_init_cbs_revert_0_0, &_call_cbs_revert_0_0, &_set_callback_cbs_revert_0_0); - methods += new qt_gsi::GenericMethod ("roleNames", "@brief Virtual method QHash QAbstractTableModel::roleNames()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_roleNames_c0_0, &_call_cbs_roleNames_c0_0); - methods += new qt_gsi::GenericMethod ("roleNames", "@hide", true, &_init_cbs_roleNames_c0_0, &_call_cbs_roleNames_c0_0, &_set_callback_cbs_roleNames_c0_0); - methods += new qt_gsi::GenericMethod ("rowCount", "@brief Virtual method int QAbstractTableModel::rowCount(const QModelIndex &parent)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_rowCount_c2395_1, &_call_cbs_rowCount_c2395_1); - methods += new qt_gsi::GenericMethod ("rowCount", "@hide", true, &_init_cbs_rowCount_c2395_1, &_call_cbs_rowCount_c2395_1, &_set_callback_cbs_rowCount_c2395_1); - methods += new qt_gsi::GenericMethod ("emit_rowsAboutToBeInserted", "@brief Emitter for signal void QAbstractTableModel::rowsAboutToBeInserted(const QModelIndex &parent, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_rowsAboutToBeInserted_7372, &_call_emitter_rowsAboutToBeInserted_7372); - methods += new qt_gsi::GenericMethod ("emit_rowsAboutToBeMoved", "@brief Emitter for signal void QAbstractTableModel::rowsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow)\nCall this method to emit this signal.", false, &_init_emitter_rowsAboutToBeMoved_10318, &_call_emitter_rowsAboutToBeMoved_10318); - methods += new qt_gsi::GenericMethod ("emit_rowsAboutToBeRemoved", "@brief Emitter for signal void QAbstractTableModel::rowsAboutToBeRemoved(const QModelIndex &parent, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_rowsAboutToBeRemoved_7372, &_call_emitter_rowsAboutToBeRemoved_7372); - methods += new qt_gsi::GenericMethod ("emit_rowsInserted", "@brief Emitter for signal void QAbstractTableModel::rowsInserted(const QModelIndex &parent, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_rowsInserted_7372, &_call_emitter_rowsInserted_7372); - methods += new qt_gsi::GenericMethod ("emit_rowsMoved", "@brief Emitter for signal void QAbstractTableModel::rowsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int row)\nCall this method to emit this signal.", false, &_init_emitter_rowsMoved_10318, &_call_emitter_rowsMoved_10318); - methods += new qt_gsi::GenericMethod ("emit_rowsRemoved", "@brief Emitter for signal void QAbstractTableModel::rowsRemoved(const QModelIndex &parent, int first, int last)\nCall this method to emit this signal.", false, &_init_emitter_rowsRemoved_7372, &_call_emitter_rowsRemoved_7372); - methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QAbstractTableModel::sender()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_sender_c0, &_call_fp_sender_c0); - methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QAbstractTableModel::senderSignalIndex()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_senderSignalIndex_c0, &_call_fp_senderSignalIndex_c0); - methods += new qt_gsi::GenericMethod ("setData", "@brief Virtual method bool QAbstractTableModel::setData(const QModelIndex &index, const QVariant &value, int role)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setData_5065_1, &_call_cbs_setData_5065_1); - methods += new qt_gsi::GenericMethod ("setData", "@hide", false, &_init_cbs_setData_5065_1, &_call_cbs_setData_5065_1, &_set_callback_cbs_setData_5065_1); - methods += new qt_gsi::GenericMethod ("setHeaderData", "@brief Virtual method bool QAbstractTableModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setHeaderData_5242_1, &_call_cbs_setHeaderData_5242_1); - methods += new qt_gsi::GenericMethod ("setHeaderData", "@hide", false, &_init_cbs_setHeaderData_5242_1, &_call_cbs_setHeaderData_5242_1, &_set_callback_cbs_setHeaderData_5242_1); - methods += new qt_gsi::GenericMethod ("setItemData", "@brief Virtual method bool QAbstractTableModel::setItemData(const QModelIndex &index, const QMap &roles)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setItemData_5414_0, &_call_cbs_setItemData_5414_0); - methods += new qt_gsi::GenericMethod ("setItemData", "@hide", false, &_init_cbs_setItemData_5414_0, &_call_cbs_setItemData_5414_0, &_set_callback_cbs_setItemData_5414_0); - methods += new qt_gsi::GenericMethod ("sibling", "@brief Virtual method QModelIndex QAbstractTableModel::sibling(int row, int column, const QModelIndex &idx)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_sibling_c3713_0, &_call_cbs_sibling_c3713_0); - methods += new qt_gsi::GenericMethod ("sibling", "@hide", true, &_init_cbs_sibling_c3713_0, &_call_cbs_sibling_c3713_0, &_set_callback_cbs_sibling_c3713_0); - methods += new qt_gsi::GenericMethod ("sort", "@brief Virtual method void QAbstractTableModel::sort(int column, Qt::SortOrder order)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_sort_2340_1, &_call_cbs_sort_2340_1); - methods += new qt_gsi::GenericMethod ("sort", "@hide", false, &_init_cbs_sort_2340_1, &_call_cbs_sort_2340_1, &_set_callback_cbs_sort_2340_1); - methods += new qt_gsi::GenericMethod ("span", "@brief Virtual method QSize QAbstractTableModel::span(const QModelIndex &index)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_span_c2395_0, &_call_cbs_span_c2395_0); - methods += new qt_gsi::GenericMethod ("span", "@hide", true, &_init_cbs_span_c2395_0, &_call_cbs_span_c2395_0, &_set_callback_cbs_span_c2395_0); - methods += new qt_gsi::GenericMethod ("submit", "@brief Virtual method bool QAbstractTableModel::submit()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_submit_0_0, &_call_cbs_submit_0_0); - methods += new qt_gsi::GenericMethod ("submit", "@hide", false, &_init_cbs_submit_0_0, &_call_cbs_submit_0_0, &_set_callback_cbs_submit_0_0); - methods += new qt_gsi::GenericMethod ("supportedDragActions", "@brief Virtual method QFlags QAbstractTableModel::supportedDragActions()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_supportedDragActions_c0_0, &_call_cbs_supportedDragActions_c0_0); - methods += new qt_gsi::GenericMethod ("supportedDragActions", "@hide", true, &_init_cbs_supportedDragActions_c0_0, &_call_cbs_supportedDragActions_c0_0, &_set_callback_cbs_supportedDragActions_c0_0); - methods += new qt_gsi::GenericMethod ("supportedDropActions", "@brief Virtual method QFlags QAbstractTableModel::supportedDropActions()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_supportedDropActions_c0_0, &_call_cbs_supportedDropActions_c0_0); - methods += new qt_gsi::GenericMethod ("supportedDropActions", "@hide", true, &_init_cbs_supportedDropActions_c0_0, &_call_cbs_supportedDropActions_c0_0, &_set_callback_cbs_supportedDropActions_c0_0); - methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QAbstractTableModel::timerEvent(QTimerEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0); - methods += new qt_gsi::GenericMethod ("*timerEvent", "@hide", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0, &_set_callback_cbs_timerEvent_1730_0); - return methods; -} - -gsi::Class decl_QAbstractTableModel_Adaptor (qtdecl_QAbstractTableModel (), "Qt", "QAbstractTableModel", - methods_QAbstractTableModel_Adaptor (), - "@qt\n@brief Binding of QAbstractTableModel"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractTextDocumentLayout.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractTextDocumentLayout.cc deleted file mode 100644 index 1127c4400..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractTextDocumentLayout.cc +++ /dev/null @@ -1,1485 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAbstractTextDocumentLayout.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAbstractTextDocumentLayout - -// get static meta object - -static void _init_smo (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, gsi::SerialArgs &ret) -{ - ret.write (QAbstractTextDocumentLayout::staticMetaObject); -} - - -// QString QAbstractTextDocumentLayout::anchorAt(const QPointF &pos) - - -static void _init_f_anchorAt_c1986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pos"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_anchorAt_c1986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QPointF &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QString)((QAbstractTextDocumentLayout *)cls)->anchorAt (arg1)); -} - - -// QRectF QAbstractTextDocumentLayout::blockBoundingRect(const QTextBlock &block) - - -static void _init_f_blockBoundingRect_c2306 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("block"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_blockBoundingRect_c2306 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QTextBlock &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QRectF)((QAbstractTextDocumentLayout *)cls)->blockBoundingRect (arg1)); -} - - -// QTextBlock QAbstractTextDocumentLayout::blockWithMarkerAt(const QPointF &pos) - - -static void _init_f_blockWithMarkerAt_c1986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pos"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_blockWithMarkerAt_c1986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QPointF &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QTextBlock)((QAbstractTextDocumentLayout *)cls)->blockWithMarkerAt (arg1)); -} - - -// QTextDocument *QAbstractTextDocumentLayout::document() - - -static void _init_f_document_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_document_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QTextDocument *)((QAbstractTextDocumentLayout *)cls)->document ()); -} - - -// QSizeF QAbstractTextDocumentLayout::documentSize() - - -static void _init_f_documentSize_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_documentSize_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QSizeF)((QAbstractTextDocumentLayout *)cls)->documentSize ()); -} - - -// void QAbstractTextDocumentLayout::draw(QPainter *painter, const QAbstractTextDocumentLayout::PaintContext &context) - - -static void _init_f_draw_6787 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("painter"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("context"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_draw_6787 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QPainter *arg1 = gsi::arg_reader() (args, heap); - const QAbstractTextDocumentLayout::PaintContext &arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTextDocumentLayout *)cls)->draw (arg1, arg2); -} - - -// QTextFormat QAbstractTextDocumentLayout::formatAt(const QPointF &pos) - - -static void _init_f_formatAt_c1986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pos"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_formatAt_c1986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QPointF &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QTextFormat)((QAbstractTextDocumentLayout *)cls)->formatAt (arg1)); -} - - -// QRectF QAbstractTextDocumentLayout::frameBoundingRect(QTextFrame *frame) - - -static void _init_f_frameBoundingRect_c1615 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("frame"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_frameBoundingRect_c1615 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QTextFrame *arg1 = gsi::arg_reader() (args, heap); - ret.write ((QRectF)((QAbstractTextDocumentLayout *)cls)->frameBoundingRect (arg1)); -} - - -// QTextObjectInterface *QAbstractTextDocumentLayout::handlerForObject(int objectType) - - -static void _init_f_handlerForObject_c767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("objectType"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_handlerForObject_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 ((QTextObjectInterface *)((QAbstractTextDocumentLayout *)cls)->handlerForObject (arg1)); -} - - -// int QAbstractTextDocumentLayout::hitTest(const QPointF &point, Qt::HitTestAccuracy accuracy) - - -static void _init_f_hitTest_c4147 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("point"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("accuracy"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_hitTest_c4147 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QPointF &arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = gsi::arg_reader::target_type & >() (args, heap); - ret.write ((int)((QAbstractTextDocumentLayout *)cls)->hitTest (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// QString QAbstractTextDocumentLayout::imageAt(const QPointF &pos) - - -static void _init_f_imageAt_c1986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pos"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_imageAt_c1986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QPointF &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QString)((QAbstractTextDocumentLayout *)cls)->imageAt (arg1)); -} - - -// int QAbstractTextDocumentLayout::pageCount() - - -static void _init_f_pageCount_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_pageCount_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAbstractTextDocumentLayout *)cls)->pageCount ()); -} - - -// QPaintDevice *QAbstractTextDocumentLayout::paintDevice() - - -static void _init_f_paintDevice_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_paintDevice_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QPaintDevice *)((QAbstractTextDocumentLayout *)cls)->paintDevice ()); -} - - -// void QAbstractTextDocumentLayout::registerHandler(int objectType, QObject *component) - - -static void _init_f_registerHandler_1961 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("objectType"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("component"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_registerHandler_1961 (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); - QObject *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTextDocumentLayout *)cls)->registerHandler (arg1, arg2); -} - - -// void QAbstractTextDocumentLayout::setPaintDevice(QPaintDevice *device) - - -static void _init_f_setPaintDevice_1803 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setPaintDevice_1803 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QPaintDevice *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTextDocumentLayout *)cls)->setPaintDevice (arg1); -} - - -// void QAbstractTextDocumentLayout::unregisterHandler(int objectType, QObject *component) - - -static void _init_f_unregisterHandler_1961 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("objectType"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("component", true, "nullptr"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_unregisterHandler_1961 (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); - QObject *arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTextDocumentLayout *)cls)->unregisterHandler (arg1, arg2); -} - - -// static QString QAbstractTextDocumentLayout::tr(const char *s, const char *c, int n) - - -static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("c", true, "nullptr"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("n", true, "-1"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - const char *arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - int arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (-1, heap); - ret.write ((QString)QAbstractTextDocumentLayout::tr (arg1, arg2, arg3)); -} - - -namespace gsi -{ - -static gsi::Methods methods_QAbstractTextDocumentLayout () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("staticMetaObject", "@brief Obtains the static MetaObject for this class.", &_init_smo, &_call_smo); - methods += new qt_gsi::GenericMethod ("anchorAt", "@brief Method QString QAbstractTextDocumentLayout::anchorAt(const QPointF &pos)\n", true, &_init_f_anchorAt_c1986, &_call_f_anchorAt_c1986); - methods += new qt_gsi::GenericMethod ("blockBoundingRect", "@brief Method QRectF QAbstractTextDocumentLayout::blockBoundingRect(const QTextBlock &block)\n", true, &_init_f_blockBoundingRect_c2306, &_call_f_blockBoundingRect_c2306); - methods += new qt_gsi::GenericMethod ("blockWithMarkerAt", "@brief Method QTextBlock QAbstractTextDocumentLayout::blockWithMarkerAt(const QPointF &pos)\n", true, &_init_f_blockWithMarkerAt_c1986, &_call_f_blockWithMarkerAt_c1986); - methods += new qt_gsi::GenericMethod ("document", "@brief Method QTextDocument *QAbstractTextDocumentLayout::document()\n", true, &_init_f_document_c0, &_call_f_document_c0); - methods += new qt_gsi::GenericMethod ("documentSize", "@brief Method QSizeF QAbstractTextDocumentLayout::documentSize()\n", true, &_init_f_documentSize_c0, &_call_f_documentSize_c0); - methods += new qt_gsi::GenericMethod ("draw", "@brief Method void QAbstractTextDocumentLayout::draw(QPainter *painter, const QAbstractTextDocumentLayout::PaintContext &context)\n", false, &_init_f_draw_6787, &_call_f_draw_6787); - methods += new qt_gsi::GenericMethod ("formatAt", "@brief Method QTextFormat QAbstractTextDocumentLayout::formatAt(const QPointF &pos)\n", true, &_init_f_formatAt_c1986, &_call_f_formatAt_c1986); - methods += new qt_gsi::GenericMethod ("frameBoundingRect", "@brief Method QRectF QAbstractTextDocumentLayout::frameBoundingRect(QTextFrame *frame)\n", true, &_init_f_frameBoundingRect_c1615, &_call_f_frameBoundingRect_c1615); - methods += new qt_gsi::GenericMethod ("handlerForObject", "@brief Method QTextObjectInterface *QAbstractTextDocumentLayout::handlerForObject(int objectType)\n", true, &_init_f_handlerForObject_c767, &_call_f_handlerForObject_c767); - methods += new qt_gsi::GenericMethod ("hitTest", "@brief Method int QAbstractTextDocumentLayout::hitTest(const QPointF &point, Qt::HitTestAccuracy accuracy)\n", true, &_init_f_hitTest_c4147, &_call_f_hitTest_c4147); - methods += new qt_gsi::GenericMethod ("imageAt", "@brief Method QString QAbstractTextDocumentLayout::imageAt(const QPointF &pos)\n", true, &_init_f_imageAt_c1986, &_call_f_imageAt_c1986); - methods += new qt_gsi::GenericMethod ("pageCount", "@brief Method int QAbstractTextDocumentLayout::pageCount()\n", true, &_init_f_pageCount_c0, &_call_f_pageCount_c0); - methods += new qt_gsi::GenericMethod (":paintDevice", "@brief Method QPaintDevice *QAbstractTextDocumentLayout::paintDevice()\n", true, &_init_f_paintDevice_c0, &_call_f_paintDevice_c0); - methods += new qt_gsi::GenericMethod ("registerHandler", "@brief Method void QAbstractTextDocumentLayout::registerHandler(int objectType, QObject *component)\n", false, &_init_f_registerHandler_1961, &_call_f_registerHandler_1961); - methods += new qt_gsi::GenericMethod ("setPaintDevice|paintDevice=", "@brief Method void QAbstractTextDocumentLayout::setPaintDevice(QPaintDevice *device)\n", false, &_init_f_setPaintDevice_1803, &_call_f_setPaintDevice_1803); - methods += new qt_gsi::GenericMethod ("unregisterHandler", "@brief Method void QAbstractTextDocumentLayout::unregisterHandler(int objectType, QObject *component)\n", false, &_init_f_unregisterHandler_1961, &_call_f_unregisterHandler_1961); - methods += gsi::qt_signal ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QAbstractTextDocumentLayout::destroyed(QObject *)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("documentSizeChanged(const QSizeF &)", "documentSizeChanged", gsi::arg("newSize"), "@brief Signal declaration for QAbstractTextDocumentLayout::documentSizeChanged(const QSizeF &newSize)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("objectNameChanged(const QString &)", "objectNameChanged", gsi::arg("objectName"), "@brief Signal declaration for QAbstractTextDocumentLayout::objectNameChanged(const QString &objectName)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("pageCountChanged(int)", "pageCountChanged", gsi::arg("newPages"), "@brief Signal declaration for QAbstractTextDocumentLayout::pageCountChanged(int newPages)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("update(const QRectF &)", "update", gsi::arg("arg1"), "@brief Signal declaration for QAbstractTextDocumentLayout::update(const QRectF &)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("updateBlock(const QTextBlock &)", "updateBlock", gsi::arg("block"), "@brief Signal declaration for QAbstractTextDocumentLayout::updateBlock(const QTextBlock &block)\nYou can bind a procedure to this signal."); - methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QAbstractTextDocumentLayout::tr(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013); - return methods; -} - -gsi::Class &qtdecl_QObject (); - -qt_gsi::QtNativeClass decl_QAbstractTextDocumentLayout (qtdecl_QObject (), "Qt", "QAbstractTextDocumentLayout_Native", - methods_QAbstractTextDocumentLayout (), - "@hide\n@alias QAbstractTextDocumentLayout"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAbstractTextDocumentLayout () { return decl_QAbstractTextDocumentLayout; } - -} - - -class QAbstractTextDocumentLayout_Adaptor : public QAbstractTextDocumentLayout, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QAbstractTextDocumentLayout_Adaptor(); - - // [adaptor ctor] QAbstractTextDocumentLayout::QAbstractTextDocumentLayout(QTextDocument *doc) - QAbstractTextDocumentLayout_Adaptor(QTextDocument *doc) : QAbstractTextDocumentLayout(doc) - { - qt_gsi::QtObjectBase::init (this); - } - - // [expose] QTextCharFormat QAbstractTextDocumentLayout::format(int pos) - QTextCharFormat fp_QAbstractTextDocumentLayout_format_767 (int pos) { - return QAbstractTextDocumentLayout::format(pos); - } - - // [expose] int QAbstractTextDocumentLayout::formatIndex(int pos) - int fp_QAbstractTextDocumentLayout_formatIndex_767 (int pos) { - return QAbstractTextDocumentLayout::formatIndex(pos); - } - - // [expose] bool QAbstractTextDocumentLayout::isSignalConnected(const QMetaMethod &signal) - bool fp_QAbstractTextDocumentLayout_isSignalConnected_c2394 (const QMetaMethod &signal) const { - return QAbstractTextDocumentLayout::isSignalConnected(signal); - } - - // [expose] int QAbstractTextDocumentLayout::receivers(const char *signal) - int fp_QAbstractTextDocumentLayout_receivers_c1731 (const char *signal) const { - return QAbstractTextDocumentLayout::receivers(signal); - } - - // [expose] QObject *QAbstractTextDocumentLayout::sender() - QObject * fp_QAbstractTextDocumentLayout_sender_c0 () const { - return QAbstractTextDocumentLayout::sender(); - } - - // [expose] int QAbstractTextDocumentLayout::senderSignalIndex() - int fp_QAbstractTextDocumentLayout_senderSignalIndex_c0 () const { - return QAbstractTextDocumentLayout::senderSignalIndex(); - } - - // [adaptor impl] QRectF QAbstractTextDocumentLayout::blockBoundingRect(const QTextBlock &block) - QRectF cbs_blockBoundingRect_c2306_0(const QTextBlock &block) const - { - __SUPPRESS_UNUSED_WARNING (block); - throw qt_gsi::AbstractMethodCalledException("blockBoundingRect"); - } - - virtual QRectF blockBoundingRect(const QTextBlock &block) const - { - if (cb_blockBoundingRect_c2306_0.can_issue()) { - return cb_blockBoundingRect_c2306_0.issue(&QAbstractTextDocumentLayout_Adaptor::cbs_blockBoundingRect_c2306_0, block); - } else { - throw qt_gsi::AbstractMethodCalledException("blockBoundingRect"); - } - } - - // [emitter impl] void QAbstractTextDocumentLayout::destroyed(QObject *) - void emitter_QAbstractTextDocumentLayout_destroyed_1302(QObject *arg1) - { - emit QAbstractTextDocumentLayout::destroyed(arg1); - } - - // [adaptor impl] QSizeF QAbstractTextDocumentLayout::documentSize() - QSizeF cbs_documentSize_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("documentSize"); - } - - virtual QSizeF documentSize() const - { - if (cb_documentSize_c0_0.can_issue()) { - return cb_documentSize_c0_0.issue(&QAbstractTextDocumentLayout_Adaptor::cbs_documentSize_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("documentSize"); - } - } - - // [emitter impl] void QAbstractTextDocumentLayout::documentSizeChanged(const QSizeF &newSize) - void emitter_QAbstractTextDocumentLayout_documentSizeChanged_1875(const QSizeF &newSize) - { - emit QAbstractTextDocumentLayout::documentSizeChanged(newSize); - } - - // [adaptor impl] void QAbstractTextDocumentLayout::draw(QPainter *painter, const QAbstractTextDocumentLayout::PaintContext &context) - void cbs_draw_6787_0(QPainter *painter, const QAbstractTextDocumentLayout::PaintContext &context) - { - __SUPPRESS_UNUSED_WARNING (painter); - __SUPPRESS_UNUSED_WARNING (context); - throw qt_gsi::AbstractMethodCalledException("draw"); - } - - virtual void draw(QPainter *painter, const QAbstractTextDocumentLayout::PaintContext &context) - { - if (cb_draw_6787_0.can_issue()) { - cb_draw_6787_0.issue(&QAbstractTextDocumentLayout_Adaptor::cbs_draw_6787_0, painter, context); - } else { - throw qt_gsi::AbstractMethodCalledException("draw"); - } - } - - // [adaptor impl] bool QAbstractTextDocumentLayout::event(QEvent *event) - bool cbs_event_1217_0(QEvent *_event) - { - return QAbstractTextDocumentLayout::event(_event); - } - - virtual bool event(QEvent *_event) - { - if (cb_event_1217_0.can_issue()) { - return cb_event_1217_0.issue(&QAbstractTextDocumentLayout_Adaptor::cbs_event_1217_0, _event); - } else { - return QAbstractTextDocumentLayout::event(_event); - } - } - - // [adaptor impl] bool QAbstractTextDocumentLayout::eventFilter(QObject *watched, QEvent *event) - bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event) - { - return QAbstractTextDocumentLayout::eventFilter(watched, event); - } - - virtual bool eventFilter(QObject *watched, QEvent *event) - { - if (cb_eventFilter_2411_0.can_issue()) { - return cb_eventFilter_2411_0.issue(&QAbstractTextDocumentLayout_Adaptor::cbs_eventFilter_2411_0, watched, event); - } else { - return QAbstractTextDocumentLayout::eventFilter(watched, event); - } - } - - // [adaptor impl] QRectF QAbstractTextDocumentLayout::frameBoundingRect(QTextFrame *frame) - QRectF cbs_frameBoundingRect_c1615_0(QTextFrame *frame) const - { - __SUPPRESS_UNUSED_WARNING (frame); - throw qt_gsi::AbstractMethodCalledException("frameBoundingRect"); - } - - virtual QRectF frameBoundingRect(QTextFrame *frame) const - { - if (cb_frameBoundingRect_c1615_0.can_issue()) { - return cb_frameBoundingRect_c1615_0.issue(&QAbstractTextDocumentLayout_Adaptor::cbs_frameBoundingRect_c1615_0, frame); - } else { - throw qt_gsi::AbstractMethodCalledException("frameBoundingRect"); - } - } - - // [adaptor impl] int QAbstractTextDocumentLayout::hitTest(const QPointF &point, Qt::HitTestAccuracy accuracy) - int cbs_hitTest_c4147_0(const QPointF &point, const qt_gsi::Converter::target_type & accuracy) const - { - __SUPPRESS_UNUSED_WARNING (point); - __SUPPRESS_UNUSED_WARNING (accuracy); - throw qt_gsi::AbstractMethodCalledException("hitTest"); - } - - virtual int hitTest(const QPointF &point, Qt::HitTestAccuracy accuracy) const - { - if (cb_hitTest_c4147_0.can_issue()) { - return cb_hitTest_c4147_0.issue::target_type &>(&QAbstractTextDocumentLayout_Adaptor::cbs_hitTest_c4147_0, point, qt_gsi::CppToQtAdaptor(accuracy)); - } else { - throw qt_gsi::AbstractMethodCalledException("hitTest"); - } - } - - // [emitter impl] void QAbstractTextDocumentLayout::objectNameChanged(const QString &objectName) - void emitter_QAbstractTextDocumentLayout_objectNameChanged_4567(const QString &objectName) - { - __SUPPRESS_UNUSED_WARNING (objectName); - throw tl::Exception ("Can't emit private signal 'void QAbstractTextDocumentLayout::objectNameChanged(const QString &objectName)'"); - } - - // [adaptor impl] int QAbstractTextDocumentLayout::pageCount() - int cbs_pageCount_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("pageCount"); - } - - virtual int pageCount() const - { - if (cb_pageCount_c0_0.can_issue()) { - return cb_pageCount_c0_0.issue(&QAbstractTextDocumentLayout_Adaptor::cbs_pageCount_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("pageCount"); - } - } - - // [emitter impl] void QAbstractTextDocumentLayout::pageCountChanged(int newPages) - void emitter_QAbstractTextDocumentLayout_pageCountChanged_767(int newPages) - { - emit QAbstractTextDocumentLayout::pageCountChanged(newPages); - } - - // [emitter impl] void QAbstractTextDocumentLayout::update(const QRectF &) - void emitter_QAbstractTextDocumentLayout_update_1862(const QRectF &arg1) - { - emit QAbstractTextDocumentLayout::update(arg1); - } - - // [emitter impl] void QAbstractTextDocumentLayout::updateBlock(const QTextBlock &block) - void emitter_QAbstractTextDocumentLayout_updateBlock_2306(const QTextBlock &block) - { - emit QAbstractTextDocumentLayout::updateBlock(block); - } - - // [adaptor impl] void QAbstractTextDocumentLayout::childEvent(QChildEvent *event) - void cbs_childEvent_1701_0(QChildEvent *event) - { - QAbstractTextDocumentLayout::childEvent(event); - } - - virtual void childEvent(QChildEvent *event) - { - if (cb_childEvent_1701_0.can_issue()) { - cb_childEvent_1701_0.issue(&QAbstractTextDocumentLayout_Adaptor::cbs_childEvent_1701_0, event); - } else { - QAbstractTextDocumentLayout::childEvent(event); - } - } - - // [adaptor impl] void QAbstractTextDocumentLayout::customEvent(QEvent *event) - void cbs_customEvent_1217_0(QEvent *event) - { - QAbstractTextDocumentLayout::customEvent(event); - } - - virtual void customEvent(QEvent *event) - { - if (cb_customEvent_1217_0.can_issue()) { - cb_customEvent_1217_0.issue(&QAbstractTextDocumentLayout_Adaptor::cbs_customEvent_1217_0, event); - } else { - QAbstractTextDocumentLayout::customEvent(event); - } - } - - // [adaptor impl] void QAbstractTextDocumentLayout::disconnectNotify(const QMetaMethod &signal) - void cbs_disconnectNotify_2394_0(const QMetaMethod &signal) - { - QAbstractTextDocumentLayout::disconnectNotify(signal); - } - - virtual void disconnectNotify(const QMetaMethod &signal) - { - if (cb_disconnectNotify_2394_0.can_issue()) { - cb_disconnectNotify_2394_0.issue(&QAbstractTextDocumentLayout_Adaptor::cbs_disconnectNotify_2394_0, signal); - } else { - QAbstractTextDocumentLayout::disconnectNotify(signal); - } - } - - // [adaptor impl] void QAbstractTextDocumentLayout::documentChanged(int from, int charsRemoved, int charsAdded) - void cbs_documentChanged_2085_0(int from, int charsRemoved, int charsAdded) - { - __SUPPRESS_UNUSED_WARNING (from); - __SUPPRESS_UNUSED_WARNING (charsRemoved); - __SUPPRESS_UNUSED_WARNING (charsAdded); - throw qt_gsi::AbstractMethodCalledException("documentChanged"); - } - - virtual void documentChanged(int from, int charsRemoved, int charsAdded) - { - if (cb_documentChanged_2085_0.can_issue()) { - cb_documentChanged_2085_0.issue(&QAbstractTextDocumentLayout_Adaptor::cbs_documentChanged_2085_0, from, charsRemoved, charsAdded); - } else { - throw qt_gsi::AbstractMethodCalledException("documentChanged"); - } - } - - // [adaptor impl] void QAbstractTextDocumentLayout::drawInlineObject(QPainter *painter, const QRectF &rect, QTextInlineObject object, int posInDocument, const QTextFormat &format) - void cbs_drawInlineObject_8199_0(QPainter *painter, const QRectF &rect, QTextInlineObject object, int posInDocument, const QTextFormat &format) - { - QAbstractTextDocumentLayout::drawInlineObject(painter, rect, object, posInDocument, format); - } - - virtual void drawInlineObject(QPainter *painter, const QRectF &rect, QTextInlineObject object, int posInDocument, const QTextFormat &format) - { - if (cb_drawInlineObject_8199_0.can_issue()) { - cb_drawInlineObject_8199_0.issue(&QAbstractTextDocumentLayout_Adaptor::cbs_drawInlineObject_8199_0, painter, rect, object, posInDocument, format); - } else { - QAbstractTextDocumentLayout::drawInlineObject(painter, rect, object, posInDocument, format); - } - } - - // [adaptor impl] void QAbstractTextDocumentLayout::positionInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat &format) - void cbs_positionInlineObject_5127_0(QTextInlineObject item, int posInDocument, const QTextFormat &format) - { - QAbstractTextDocumentLayout::positionInlineObject(item, posInDocument, format); - } - - virtual void positionInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat &format) - { - if (cb_positionInlineObject_5127_0.can_issue()) { - cb_positionInlineObject_5127_0.issue(&QAbstractTextDocumentLayout_Adaptor::cbs_positionInlineObject_5127_0, item, posInDocument, format); - } else { - QAbstractTextDocumentLayout::positionInlineObject(item, posInDocument, format); - } - } - - // [adaptor impl] void QAbstractTextDocumentLayout::resizeInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat &format) - void cbs_resizeInlineObject_5127_0(QTextInlineObject item, int posInDocument, const QTextFormat &format) - { - QAbstractTextDocumentLayout::resizeInlineObject(item, posInDocument, format); - } - - virtual void resizeInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat &format) - { - if (cb_resizeInlineObject_5127_0.can_issue()) { - cb_resizeInlineObject_5127_0.issue(&QAbstractTextDocumentLayout_Adaptor::cbs_resizeInlineObject_5127_0, item, posInDocument, format); - } else { - QAbstractTextDocumentLayout::resizeInlineObject(item, posInDocument, format); - } - } - - // [adaptor impl] void QAbstractTextDocumentLayout::timerEvent(QTimerEvent *event) - void cbs_timerEvent_1730_0(QTimerEvent *event) - { - QAbstractTextDocumentLayout::timerEvent(event); - } - - virtual void timerEvent(QTimerEvent *event) - { - if (cb_timerEvent_1730_0.can_issue()) { - cb_timerEvent_1730_0.issue(&QAbstractTextDocumentLayout_Adaptor::cbs_timerEvent_1730_0, event); - } else { - QAbstractTextDocumentLayout::timerEvent(event); - } - } - - gsi::Callback cb_blockBoundingRect_c2306_0; - gsi::Callback cb_documentSize_c0_0; - gsi::Callback cb_draw_6787_0; - gsi::Callback cb_event_1217_0; - gsi::Callback cb_eventFilter_2411_0; - gsi::Callback cb_frameBoundingRect_c1615_0; - gsi::Callback cb_hitTest_c4147_0; - gsi::Callback cb_pageCount_c0_0; - gsi::Callback cb_childEvent_1701_0; - gsi::Callback cb_customEvent_1217_0; - gsi::Callback cb_disconnectNotify_2394_0; - gsi::Callback cb_documentChanged_2085_0; - gsi::Callback cb_drawInlineObject_8199_0; - gsi::Callback cb_positionInlineObject_5127_0; - gsi::Callback cb_resizeInlineObject_5127_0; - gsi::Callback cb_timerEvent_1730_0; -}; - -QAbstractTextDocumentLayout_Adaptor::~QAbstractTextDocumentLayout_Adaptor() { } - -// Constructor QAbstractTextDocumentLayout::QAbstractTextDocumentLayout(QTextDocument *doc) (adaptor class) - -static void _init_ctor_QAbstractTextDocumentLayout_Adaptor_1955 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("doc"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QAbstractTextDocumentLayout_Adaptor_1955 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QTextDocument *arg1 = gsi::arg_reader() (args, heap); - ret.write (new QAbstractTextDocumentLayout_Adaptor (arg1)); -} - - -// QRectF QAbstractTextDocumentLayout::blockBoundingRect(const QTextBlock &block) - -static void _init_cbs_blockBoundingRect_c2306_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("block"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_blockBoundingRect_c2306_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QTextBlock &arg1 = args.read (heap); - ret.write ((QRectF)((QAbstractTextDocumentLayout_Adaptor *)cls)->cbs_blockBoundingRect_c2306_0 (arg1)); -} - -static void _set_callback_cbs_blockBoundingRect_c2306_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cb_blockBoundingRect_c2306_0 = cb; -} - - -// void QAbstractTextDocumentLayout::childEvent(QChildEvent *event) - -static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_childEvent_1701_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QChildEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cbs_childEvent_1701_0 (arg1); -} - -static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cb_childEvent_1701_0 = cb; -} - - -// void QAbstractTextDocumentLayout::customEvent(QEvent *event) - -static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_customEvent_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cbs_customEvent_1217_0 (arg1); -} - -static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cb_customEvent_1217_0 = cb; -} - - -// emitter void QAbstractTextDocumentLayout::destroyed(QObject *) - -static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ((QAbstractTextDocumentLayout_Adaptor *)cls)->emitter_QAbstractTextDocumentLayout_destroyed_1302 (arg1); -} - - -// void QAbstractTextDocumentLayout::disconnectNotify(const QMetaMethod &signal) - -static void _init_cbs_disconnectNotify_2394_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("signal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_disconnectNotify_2394_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMetaMethod &arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cbs_disconnectNotify_2394_0 (arg1); -} - -static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cb_disconnectNotify_2394_0 = cb; -} - - -// void QAbstractTextDocumentLayout::documentChanged(int from, int charsRemoved, int charsAdded) - -static void _init_cbs_documentChanged_2085_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("from"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("charsRemoved"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("charsAdded"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_documentChanged_2085_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - int arg3 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cbs_documentChanged_2085_0 (arg1, arg2, arg3); -} - -static void _set_callback_cbs_documentChanged_2085_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cb_documentChanged_2085_0 = cb; -} - - -// QSizeF QAbstractTextDocumentLayout::documentSize() - -static void _init_cbs_documentSize_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_documentSize_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QSizeF)((QAbstractTextDocumentLayout_Adaptor *)cls)->cbs_documentSize_c0_0 ()); -} - -static void _set_callback_cbs_documentSize_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cb_documentSize_c0_0 = cb; -} - - -// emitter void QAbstractTextDocumentLayout::documentSizeChanged(const QSizeF &newSize) - -static void _init_emitter_documentSizeChanged_1875 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("newSize"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_emitter_documentSizeChanged_1875 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QSizeF &arg1 = gsi::arg_reader() (args, heap); - ((QAbstractTextDocumentLayout_Adaptor *)cls)->emitter_QAbstractTextDocumentLayout_documentSizeChanged_1875 (arg1); -} - - -// void QAbstractTextDocumentLayout::draw(QPainter *painter, const QAbstractTextDocumentLayout::PaintContext &context) - -static void _init_cbs_draw_6787_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("painter"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("context"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_cbs_draw_6787_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QPainter *arg1 = args.read (heap); - const QAbstractTextDocumentLayout::PaintContext &arg2 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cbs_draw_6787_0 (arg1, arg2); -} - -static void _set_callback_cbs_draw_6787_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cb_draw_6787_0 = cb; -} - - -// void QAbstractTextDocumentLayout::drawInlineObject(QPainter *painter, const QRectF &rect, QTextInlineObject object, int posInDocument, const QTextFormat &format) - -static void _init_cbs_drawInlineObject_8199_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("painter"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("rect"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("object"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("posInDocument"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("format"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_cbs_drawInlineObject_8199_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QPainter *arg1 = args.read (heap); - const QRectF &arg2 = args.read (heap); - QTextInlineObject arg3 = args.read (heap); - int arg4 = args.read (heap); - const QTextFormat &arg5 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cbs_drawInlineObject_8199_0 (arg1, arg2, arg3, arg4, arg5); -} - -static void _set_callback_cbs_drawInlineObject_8199_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cb_drawInlineObject_8199_0 = cb; -} - - -// bool QAbstractTextDocumentLayout::event(QEvent *event) - -static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_event_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QEvent *arg1 = args.read (heap); - ret.write ((bool)((QAbstractTextDocumentLayout_Adaptor *)cls)->cbs_event_1217_0 (arg1)); -} - -static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cb_event_1217_0 = cb; -} - - -// bool QAbstractTextDocumentLayout::eventFilter(QObject *watched, QEvent *event) - -static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("watched"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("event"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_cbs_eventFilter_2411_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = args.read (heap); - QEvent *arg2 = args.read (heap); - ret.write ((bool)((QAbstractTextDocumentLayout_Adaptor *)cls)->cbs_eventFilter_2411_0 (arg1, arg2)); -} - -static void _set_callback_cbs_eventFilter_2411_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cb_eventFilter_2411_0 = cb; -} - - -// exposed QTextCharFormat QAbstractTextDocumentLayout::format(int pos) - -static void _init_fp_format_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pos"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_fp_format_767 (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 ((QTextCharFormat)((QAbstractTextDocumentLayout_Adaptor *)cls)->fp_QAbstractTextDocumentLayout_format_767 (arg1)); -} - - -// exposed int QAbstractTextDocumentLayout::formatIndex(int pos) - -static void _init_fp_formatIndex_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pos"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_fp_formatIndex_767 (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 ((int)((QAbstractTextDocumentLayout_Adaptor *)cls)->fp_QAbstractTextDocumentLayout_formatIndex_767 (arg1)); -} - - -// QRectF QAbstractTextDocumentLayout::frameBoundingRect(QTextFrame *frame) - -static void _init_cbs_frameBoundingRect_c1615_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("frame"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_frameBoundingRect_c1615_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QTextFrame *arg1 = args.read (heap); - ret.write ((QRectF)((QAbstractTextDocumentLayout_Adaptor *)cls)->cbs_frameBoundingRect_c1615_0 (arg1)); -} - -static void _set_callback_cbs_frameBoundingRect_c1615_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cb_frameBoundingRect_c1615_0 = cb; -} - - -// int QAbstractTextDocumentLayout::hitTest(const QPointF &point, Qt::HitTestAccuracy accuracy) - -static void _init_cbs_hitTest_c4147_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("point"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("accuracy"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_cbs_hitTest_c4147_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QPointF &arg1 = args.read (heap); - const qt_gsi::Converter::target_type & arg2 = args.read::target_type & > (heap); - ret.write ((int)((QAbstractTextDocumentLayout_Adaptor *)cls)->cbs_hitTest_c4147_0 (arg1, arg2)); -} - -static void _set_callback_cbs_hitTest_c4147_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cb_hitTest_c4147_0 = cb; -} - - -// exposed bool QAbstractTextDocumentLayout::isSignalConnected(const QMetaMethod &signal) - -static void _init_fp_isSignalConnected_c2394 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("signal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_fp_isSignalConnected_c2394 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMetaMethod &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAbstractTextDocumentLayout_Adaptor *)cls)->fp_QAbstractTextDocumentLayout_isSignalConnected_c2394 (arg1)); -} - - -// emitter void QAbstractTextDocumentLayout::objectNameChanged(const QString &objectName) - -static void _init_emitter_objectNameChanged_4567 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("objectName"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_emitter_objectNameChanged_4567 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ((QAbstractTextDocumentLayout_Adaptor *)cls)->emitter_QAbstractTextDocumentLayout_objectNameChanged_4567 (arg1); -} - - -// int QAbstractTextDocumentLayout::pageCount() - -static void _init_cbs_pageCount_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_pageCount_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAbstractTextDocumentLayout_Adaptor *)cls)->cbs_pageCount_c0_0 ()); -} - -static void _set_callback_cbs_pageCount_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cb_pageCount_c0_0 = cb; -} - - -// emitter void QAbstractTextDocumentLayout::pageCountChanged(int newPages) - -static void _init_emitter_pageCountChanged_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("newPages"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_emitter_pageCountChanged_767 (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); - ((QAbstractTextDocumentLayout_Adaptor *)cls)->emitter_QAbstractTextDocumentLayout_pageCountChanged_767 (arg1); -} - - -// void QAbstractTextDocumentLayout::positionInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat &format) - -static void _init_cbs_positionInlineObject_5127_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("item"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("posInDocument"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("format"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_positionInlineObject_5127_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QTextInlineObject arg1 = args.read (heap); - int arg2 = args.read (heap); - const QTextFormat &arg3 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cbs_positionInlineObject_5127_0 (arg1, arg2, arg3); -} - -static void _set_callback_cbs_positionInlineObject_5127_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cb_positionInlineObject_5127_0 = cb; -} - - -// exposed int QAbstractTextDocumentLayout::receivers(const char *signal) - -static void _init_fp_receivers_c1731 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("signal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_fp_receivers_c1731 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - ret.write ((int)((QAbstractTextDocumentLayout_Adaptor *)cls)->fp_QAbstractTextDocumentLayout_receivers_c1731 (arg1)); -} - - -// void QAbstractTextDocumentLayout::resizeInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat &format) - -static void _init_cbs_resizeInlineObject_5127_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("item"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("posInDocument"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("format"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_resizeInlineObject_5127_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QTextInlineObject arg1 = args.read (heap); - int arg2 = args.read (heap); - const QTextFormat &arg3 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cbs_resizeInlineObject_5127_0 (arg1, arg2, arg3); -} - -static void _set_callback_cbs_resizeInlineObject_5127_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cb_resizeInlineObject_5127_0 = cb; -} - - -// exposed QObject *QAbstractTextDocumentLayout::sender() - -static void _init_fp_sender_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_sender_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QObject *)((QAbstractTextDocumentLayout_Adaptor *)cls)->fp_QAbstractTextDocumentLayout_sender_c0 ()); -} - - -// exposed int QAbstractTextDocumentLayout::senderSignalIndex() - -static void _init_fp_senderSignalIndex_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAbstractTextDocumentLayout_Adaptor *)cls)->fp_QAbstractTextDocumentLayout_senderSignalIndex_c0 ()); -} - - -// void QAbstractTextDocumentLayout::timerEvent(QTimerEvent *event) - -static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_timerEvent_1730_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QTimerEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cbs_timerEvent_1730_0 (arg1); -} - -static void _set_callback_cbs_timerEvent_1730_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractTextDocumentLayout_Adaptor *)cls)->cb_timerEvent_1730_0 = cb; -} - - -// emitter void QAbstractTextDocumentLayout::update(const QRectF &) - -static void _init_emitter_update_1862 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1", true, "QRectF(0., 0., 1000000000., 1000000000.)"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_emitter_update_1862 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QRectF &arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QRectF(0., 0., 1000000000., 1000000000.), heap); - ((QAbstractTextDocumentLayout_Adaptor *)cls)->emitter_QAbstractTextDocumentLayout_update_1862 (arg1); -} - - -// emitter void QAbstractTextDocumentLayout::updateBlock(const QTextBlock &block) - -static void _init_emitter_updateBlock_2306 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("block"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_emitter_updateBlock_2306 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QTextBlock &arg1 = gsi::arg_reader() (args, heap); - ((QAbstractTextDocumentLayout_Adaptor *)cls)->emitter_QAbstractTextDocumentLayout_updateBlock_2306 (arg1); -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QAbstractTextDocumentLayout (); - -static gsi::Methods methods_QAbstractTextDocumentLayout_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractTextDocumentLayout::QAbstractTextDocumentLayout(QTextDocument *doc)\nThis method creates an object of class QAbstractTextDocumentLayout.", &_init_ctor_QAbstractTextDocumentLayout_Adaptor_1955, &_call_ctor_QAbstractTextDocumentLayout_Adaptor_1955); - methods += new qt_gsi::GenericMethod ("blockBoundingRect", "@brief Virtual method QRectF QAbstractTextDocumentLayout::blockBoundingRect(const QTextBlock &block)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_blockBoundingRect_c2306_0, &_call_cbs_blockBoundingRect_c2306_0); - methods += new qt_gsi::GenericMethod ("blockBoundingRect", "@hide", true, &_init_cbs_blockBoundingRect_c2306_0, &_call_cbs_blockBoundingRect_c2306_0, &_set_callback_cbs_blockBoundingRect_c2306_0); - methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QAbstractTextDocumentLayout::childEvent(QChildEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0); - methods += new qt_gsi::GenericMethod ("*childEvent", "@hide", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0, &_set_callback_cbs_childEvent_1701_0); - methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QAbstractTextDocumentLayout::customEvent(QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0); - methods += new qt_gsi::GenericMethod ("*customEvent", "@hide", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0, &_set_callback_cbs_customEvent_1217_0); - methods += new qt_gsi::GenericMethod ("emit_destroyed", "@brief Emitter for signal void QAbstractTextDocumentLayout::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302); - methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@brief Virtual method void QAbstractTextDocumentLayout::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0); - methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@hide", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0, &_set_callback_cbs_disconnectNotify_2394_0); - methods += new qt_gsi::GenericMethod ("*documentChanged", "@brief Virtual method void QAbstractTextDocumentLayout::documentChanged(int from, int charsRemoved, int charsAdded)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_documentChanged_2085_0, &_call_cbs_documentChanged_2085_0); - methods += new qt_gsi::GenericMethod ("*documentChanged", "@hide", false, &_init_cbs_documentChanged_2085_0, &_call_cbs_documentChanged_2085_0, &_set_callback_cbs_documentChanged_2085_0); - methods += new qt_gsi::GenericMethod ("documentSize", "@brief Virtual method QSizeF QAbstractTextDocumentLayout::documentSize()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_documentSize_c0_0, &_call_cbs_documentSize_c0_0); - methods += new qt_gsi::GenericMethod ("documentSize", "@hide", true, &_init_cbs_documentSize_c0_0, &_call_cbs_documentSize_c0_0, &_set_callback_cbs_documentSize_c0_0); - methods += new qt_gsi::GenericMethod ("emit_documentSizeChanged", "@brief Emitter for signal void QAbstractTextDocumentLayout::documentSizeChanged(const QSizeF &newSize)\nCall this method to emit this signal.", false, &_init_emitter_documentSizeChanged_1875, &_call_emitter_documentSizeChanged_1875); - methods += new qt_gsi::GenericMethod ("draw", "@brief Virtual method void QAbstractTextDocumentLayout::draw(QPainter *painter, const QAbstractTextDocumentLayout::PaintContext &context)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_draw_6787_0, &_call_cbs_draw_6787_0); - methods += new qt_gsi::GenericMethod ("draw", "@hide", false, &_init_cbs_draw_6787_0, &_call_cbs_draw_6787_0, &_set_callback_cbs_draw_6787_0); - methods += new qt_gsi::GenericMethod ("*drawInlineObject", "@brief Virtual method void QAbstractTextDocumentLayout::drawInlineObject(QPainter *painter, const QRectF &rect, QTextInlineObject object, int posInDocument, const QTextFormat &format)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_drawInlineObject_8199_0, &_call_cbs_drawInlineObject_8199_0); - methods += new qt_gsi::GenericMethod ("*drawInlineObject", "@hide", false, &_init_cbs_drawInlineObject_8199_0, &_call_cbs_drawInlineObject_8199_0, &_set_callback_cbs_drawInlineObject_8199_0); - methods += new qt_gsi::GenericMethod ("event", "@brief Virtual method bool QAbstractTextDocumentLayout::event(QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0); - methods += new qt_gsi::GenericMethod ("event", "@hide", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0, &_set_callback_cbs_event_1217_0); - methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Virtual method bool QAbstractTextDocumentLayout::eventFilter(QObject *watched, QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0); - methods += new qt_gsi::GenericMethod ("eventFilter", "@hide", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0, &_set_callback_cbs_eventFilter_2411_0); - methods += new qt_gsi::GenericMethod ("*format", "@brief Method QTextCharFormat QAbstractTextDocumentLayout::format(int pos)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_format_767, &_call_fp_format_767); - methods += new qt_gsi::GenericMethod ("*formatIndex", "@brief Method int QAbstractTextDocumentLayout::formatIndex(int pos)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_formatIndex_767, &_call_fp_formatIndex_767); - methods += new qt_gsi::GenericMethod ("frameBoundingRect", "@brief Virtual method QRectF QAbstractTextDocumentLayout::frameBoundingRect(QTextFrame *frame)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_frameBoundingRect_c1615_0, &_call_cbs_frameBoundingRect_c1615_0); - methods += new qt_gsi::GenericMethod ("frameBoundingRect", "@hide", true, &_init_cbs_frameBoundingRect_c1615_0, &_call_cbs_frameBoundingRect_c1615_0, &_set_callback_cbs_frameBoundingRect_c1615_0); - methods += new qt_gsi::GenericMethod ("hitTest", "@brief Virtual method int QAbstractTextDocumentLayout::hitTest(const QPointF &point, Qt::HitTestAccuracy accuracy)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_hitTest_c4147_0, &_call_cbs_hitTest_c4147_0); - methods += new qt_gsi::GenericMethod ("hitTest", "@hide", true, &_init_cbs_hitTest_c4147_0, &_call_cbs_hitTest_c4147_0, &_set_callback_cbs_hitTest_c4147_0); - methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QAbstractTextDocumentLayout::isSignalConnected(const QMetaMethod &signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_isSignalConnected_c2394, &_call_fp_isSignalConnected_c2394); - methods += new qt_gsi::GenericMethod ("emit_objectNameChanged", "@brief Emitter for signal void QAbstractTextDocumentLayout::objectNameChanged(const QString &objectName)\nCall this method to emit this signal.", false, &_init_emitter_objectNameChanged_4567, &_call_emitter_objectNameChanged_4567); - methods += new qt_gsi::GenericMethod ("pageCount", "@brief Virtual method int QAbstractTextDocumentLayout::pageCount()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_pageCount_c0_0, &_call_cbs_pageCount_c0_0); - methods += new qt_gsi::GenericMethod ("pageCount", "@hide", true, &_init_cbs_pageCount_c0_0, &_call_cbs_pageCount_c0_0, &_set_callback_cbs_pageCount_c0_0); - methods += new qt_gsi::GenericMethod ("emit_pageCountChanged", "@brief Emitter for signal void QAbstractTextDocumentLayout::pageCountChanged(int newPages)\nCall this method to emit this signal.", false, &_init_emitter_pageCountChanged_767, &_call_emitter_pageCountChanged_767); - methods += new qt_gsi::GenericMethod ("*positionInlineObject", "@brief Virtual method void QAbstractTextDocumentLayout::positionInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat &format)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_positionInlineObject_5127_0, &_call_cbs_positionInlineObject_5127_0); - methods += new qt_gsi::GenericMethod ("*positionInlineObject", "@hide", false, &_init_cbs_positionInlineObject_5127_0, &_call_cbs_positionInlineObject_5127_0, &_set_callback_cbs_positionInlineObject_5127_0); - methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QAbstractTextDocumentLayout::receivers(const char *signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_receivers_c1731, &_call_fp_receivers_c1731); - methods += new qt_gsi::GenericMethod ("*resizeInlineObject", "@brief Virtual method void QAbstractTextDocumentLayout::resizeInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat &format)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_resizeInlineObject_5127_0, &_call_cbs_resizeInlineObject_5127_0); - methods += new qt_gsi::GenericMethod ("*resizeInlineObject", "@hide", false, &_init_cbs_resizeInlineObject_5127_0, &_call_cbs_resizeInlineObject_5127_0, &_set_callback_cbs_resizeInlineObject_5127_0); - methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QAbstractTextDocumentLayout::sender()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_sender_c0, &_call_fp_sender_c0); - methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QAbstractTextDocumentLayout::senderSignalIndex()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_senderSignalIndex_c0, &_call_fp_senderSignalIndex_c0); - methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QAbstractTextDocumentLayout::timerEvent(QTimerEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0); - methods += new qt_gsi::GenericMethod ("*timerEvent", "@hide", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0, &_set_callback_cbs_timerEvent_1730_0); - methods += new qt_gsi::GenericMethod ("emit_update", "@brief Emitter for signal void QAbstractTextDocumentLayout::update(const QRectF &)\nCall this method to emit this signal.", false, &_init_emitter_update_1862, &_call_emitter_update_1862); - methods += new qt_gsi::GenericMethod ("emit_updateBlock", "@brief Emitter for signal void QAbstractTextDocumentLayout::updateBlock(const QTextBlock &block)\nCall this method to emit this signal.", false, &_init_emitter_updateBlock_2306, &_call_emitter_updateBlock_2306); - return methods; -} - -gsi::Class decl_QAbstractTextDocumentLayout_Adaptor (qtdecl_QAbstractTextDocumentLayout (), "Qt", "QAbstractTextDocumentLayout", - methods_QAbstractTextDocumentLayout_Adaptor (), - "@qt\n@brief Binding of QAbstractTextDocumentLayout"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractTextDocumentLayout_PaintContext.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractTextDocumentLayout_PaintContext.cc deleted file mode 100644 index 89d1a8fe1..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractTextDocumentLayout_PaintContext.cc +++ /dev/null @@ -1,73 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAbstractTextDocumentLayout_PaintContext.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// struct QAbstractTextDocumentLayout::PaintContext - -// Constructor QAbstractTextDocumentLayout::PaintContext::PaintContext() - - -static void _init_ctor_QAbstractTextDocumentLayout_PaintContext_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QAbstractTextDocumentLayout_PaintContext_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QAbstractTextDocumentLayout::PaintContext ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QAbstractTextDocumentLayout_PaintContext () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractTextDocumentLayout::PaintContext::PaintContext()\nThis method creates an object of class QAbstractTextDocumentLayout::PaintContext.", &_init_ctor_QAbstractTextDocumentLayout_PaintContext_0, &_call_ctor_QAbstractTextDocumentLayout_PaintContext_0); - return methods; -} - -gsi::Class decl_QAbstractTextDocumentLayout_PaintContext ("Qt", "QAbstractTextDocumentLayout_PaintContext", - methods_QAbstractTextDocumentLayout_PaintContext (), - "@qt\n@brief Binding of QAbstractTextDocumentLayout::PaintContext"); - -gsi::ClassExt decl_QAbstractTextDocumentLayout_PaintContext_as_child (decl_QAbstractTextDocumentLayout_PaintContext, "PaintContext"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAbstractTextDocumentLayout_PaintContext () { return decl_QAbstractTextDocumentLayout_PaintContext; } - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractTextDocumentLayout_Selection.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractTextDocumentLayout_Selection.cc deleted file mode 100644 index aa0f8f39e..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractTextDocumentLayout_Selection.cc +++ /dev/null @@ -1,73 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAbstractTextDocumentLayout_Selection.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// struct QAbstractTextDocumentLayout::Selection - -// Constructor QAbstractTextDocumentLayout::Selection::Selection() - - -static void _init_ctor_QAbstractTextDocumentLayout_Selection_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QAbstractTextDocumentLayout_Selection_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QAbstractTextDocumentLayout::Selection ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QAbstractTextDocumentLayout_Selection () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractTextDocumentLayout::Selection::Selection()\nThis method creates an object of class QAbstractTextDocumentLayout::Selection.", &_init_ctor_QAbstractTextDocumentLayout_Selection_0, &_call_ctor_QAbstractTextDocumentLayout_Selection_0); - return methods; -} - -gsi::Class decl_QAbstractTextDocumentLayout_Selection ("Qt", "QAbstractTextDocumentLayout_Selection", - methods_QAbstractTextDocumentLayout_Selection (), - "@qt\n@brief Binding of QAbstractTextDocumentLayout::Selection"); - -gsi::ClassExt decl_QAbstractTextDocumentLayout_Selection_as_child (decl_QAbstractTextDocumentLayout_Selection, "Selection"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAbstractTextDocumentLayout_Selection () { return decl_QAbstractTextDocumentLayout_Selection; } - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractUndoItem.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractUndoItem.cc deleted file mode 100644 index c40627cac..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAbstractUndoItem.cc +++ /dev/null @@ -1,212 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAbstractUndoItem.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAbstractUndoItem - -// void QAbstractUndoItem::redo() - - -static void _init_f_redo_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_redo_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractUndoItem *)cls)->redo (); -} - - -// void QAbstractUndoItem::undo() - - -static void _init_f_undo_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_undo_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractUndoItem *)cls)->undo (); -} - - -namespace gsi -{ - -static gsi::Methods methods_QAbstractUndoItem () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("redo", "@brief Method void QAbstractUndoItem::redo()\n", false, &_init_f_redo_0, &_call_f_redo_0); - methods += new qt_gsi::GenericMethod ("undo", "@brief Method void QAbstractUndoItem::undo()\n", false, &_init_f_undo_0, &_call_f_undo_0); - return methods; -} - -gsi::Class decl_QAbstractUndoItem ("Qt", "QAbstractUndoItem_Native", - methods_QAbstractUndoItem (), - "@hide\n@alias QAbstractUndoItem"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAbstractUndoItem () { return decl_QAbstractUndoItem; } - -} - - -class QAbstractUndoItem_Adaptor : public QAbstractUndoItem, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QAbstractUndoItem_Adaptor(); - - // [adaptor ctor] QAbstractUndoItem::QAbstractUndoItem() - QAbstractUndoItem_Adaptor() : QAbstractUndoItem() - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor impl] void QAbstractUndoItem::redo() - void cbs_redo_0_0() - { - throw qt_gsi::AbstractMethodCalledException("redo"); - } - - virtual void redo() - { - if (cb_redo_0_0.can_issue()) { - cb_redo_0_0.issue(&QAbstractUndoItem_Adaptor::cbs_redo_0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("redo"); - } - } - - // [adaptor impl] void QAbstractUndoItem::undo() - void cbs_undo_0_0() - { - throw qt_gsi::AbstractMethodCalledException("undo"); - } - - virtual void undo() - { - if (cb_undo_0_0.can_issue()) { - cb_undo_0_0.issue(&QAbstractUndoItem_Adaptor::cbs_undo_0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("undo"); - } - } - - gsi::Callback cb_redo_0_0; - gsi::Callback cb_undo_0_0; -}; - -QAbstractUndoItem_Adaptor::~QAbstractUndoItem_Adaptor() { } - -// Constructor QAbstractUndoItem::QAbstractUndoItem() (adaptor class) - -static void _init_ctor_QAbstractUndoItem_Adaptor_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QAbstractUndoItem_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QAbstractUndoItem_Adaptor ()); -} - - -// void QAbstractUndoItem::redo() - -static void _init_cbs_redo_0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_redo_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractUndoItem_Adaptor *)cls)->cbs_redo_0_0 (); -} - -static void _set_callback_cbs_redo_0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractUndoItem_Adaptor *)cls)->cb_redo_0_0 = cb; -} - - -// void QAbstractUndoItem::undo() - -static void _init_cbs_undo_0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_undo_0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAbstractUndoItem_Adaptor *)cls)->cbs_undo_0_0 (); -} - -static void _set_callback_cbs_undo_0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAbstractUndoItem_Adaptor *)cls)->cb_undo_0_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QAbstractUndoItem (); - -static gsi::Methods methods_QAbstractUndoItem_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractUndoItem::QAbstractUndoItem()\nThis method creates an object of class QAbstractUndoItem.", &_init_ctor_QAbstractUndoItem_Adaptor_0, &_call_ctor_QAbstractUndoItem_Adaptor_0); - methods += new qt_gsi::GenericMethod ("redo", "@brief Virtual method void QAbstractUndoItem::redo()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_redo_0_0, &_call_cbs_redo_0_0); - methods += new qt_gsi::GenericMethod ("redo", "@hide", false, &_init_cbs_redo_0_0, &_call_cbs_redo_0_0, &_set_callback_cbs_redo_0_0); - methods += new qt_gsi::GenericMethod ("undo", "@brief Virtual method void QAbstractUndoItem::undo()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_undo_0_0, &_call_cbs_undo_0_0); - methods += new qt_gsi::GenericMethod ("undo", "@hide", false, &_init_cbs_undo_0_0, &_call_cbs_undo_0_0, &_set_callback_cbs_undo_0_0); - return methods; -} - -gsi::Class decl_QAbstractUndoItem_Adaptor (qtdecl_QAbstractUndoItem (), "Qt", "QAbstractUndoItem", - methods_QAbstractUndoItem_Adaptor (), - "@qt\n@brief Binding of QAbstractUndoItem"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessible.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessible.cc deleted file mode 100644 index e11b1a548..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessible.cc +++ /dev/null @@ -1,602 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAccessible.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAccessible - -// static QAccessibleInterface *QAccessible::accessibleInterface(unsigned int uniqueId) - - -static void _init_f_accessibleInterface_1772 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("uniqueId"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_accessibleInterface_1772 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - ret.write ((QAccessibleInterface *)QAccessible::accessibleInterface (arg1)); -} - - -// static void QAccessible::cleanup() - - -static void _init_f_cleanup_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_cleanup_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - QAccessible::cleanup (); -} - - -// static void QAccessible::deleteAccessibleInterface(unsigned int uniqueId) - - -static void _init_f_deleteAccessibleInterface_1772 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("uniqueId"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_deleteAccessibleInterface_1772 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QAccessible::deleteAccessibleInterface (arg1); -} - - -// static void QAccessible::installActivationObserver(QAccessible::ActivationObserver *) - - -static void _init_f_installActivationObserver_3707 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_installActivationObserver_3707 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QAccessible::ActivationObserver *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QAccessible::installActivationObserver (arg1); -} - - -// static bool QAccessible::isActive() - - -static void _init_f_isActive_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isActive_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)QAccessible::isActive ()); -} - - -// static QPair QAccessible::qAccessibleTextBoundaryHelper(const QTextCursor &cursor, QAccessible::TextBoundaryType boundaryType) - - -static void _init_f_qAccessibleTextBoundaryHelper_5659 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("cursor"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("boundaryType"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return > (); -} - -static void _call_f_qAccessibleTextBoundaryHelper_5659 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QTextCursor &arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = gsi::arg_reader::target_type & >() (args, heap); - ret.write > ((QPair)QAccessible::qAccessibleTextBoundaryHelper (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// static QAccessibleInterface *QAccessible::queryAccessibleInterface(QObject *) - - -static void _init_f_queryAccessibleInterface_1302 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_queryAccessibleInterface_1302 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = gsi::arg_reader() (args, heap); - ret.write ((QAccessibleInterface *)QAccessible::queryAccessibleInterface (arg1)); -} - - -// static unsigned int QAccessible::registerAccessibleInterface(QAccessibleInterface *iface) - - -static void _init_f_registerAccessibleInterface_2622 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("iface"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_registerAccessibleInterface_2622 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QAccessibleInterface *arg1 = gsi::arg_reader() (args, heap); - ret.write ((unsigned int)QAccessible::registerAccessibleInterface (arg1)); -} - - -// static void QAccessible::removeActivationObserver(QAccessible::ActivationObserver *) - - -static void _init_f_removeActivationObserver_3707 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_removeActivationObserver_3707 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QAccessible::ActivationObserver *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QAccessible::removeActivationObserver (arg1); -} - - -// static void QAccessible::setActive(bool active) - - -static void _init_f_setActive_864 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("active"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setActive_864 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QAccessible::setActive (arg1); -} - - -// static void QAccessible::setRootObject(QObject *object) - - -static void _init_f_setRootObject_1302 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("object"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setRootObject_1302 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QAccessible::setRootObject (arg1); -} - - -// static unsigned int QAccessible::uniqueId(QAccessibleInterface *iface) - - -static void _init_f_uniqueId_2622 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("iface"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_uniqueId_2622 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QAccessibleInterface *arg1 = gsi::arg_reader() (args, heap); - ret.write ((unsigned int)QAccessible::uniqueId (arg1)); -} - - -// static void QAccessible::updateAccessibility(QAccessibleEvent *event) - - -static void _init_f_updateAccessibility_2223 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_updateAccessibility_2223 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QAccessibleEvent *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QAccessible::updateAccessibility (arg1); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QAccessible () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("accessibleInterface", "@brief Static method QAccessibleInterface *QAccessible::accessibleInterface(unsigned int uniqueId)\nThis method is static and can be called without an instance.", &_init_f_accessibleInterface_1772, &_call_f_accessibleInterface_1772); - methods += new qt_gsi::GenericStaticMethod ("cleanup", "@brief Static method void QAccessible::cleanup()\nThis method is static and can be called without an instance.", &_init_f_cleanup_0, &_call_f_cleanup_0); - methods += new qt_gsi::GenericStaticMethod ("deleteAccessibleInterface", "@brief Static method void QAccessible::deleteAccessibleInterface(unsigned int uniqueId)\nThis method is static and can be called without an instance.", &_init_f_deleteAccessibleInterface_1772, &_call_f_deleteAccessibleInterface_1772); - methods += new qt_gsi::GenericStaticMethod ("installActivationObserver", "@brief Static method void QAccessible::installActivationObserver(QAccessible::ActivationObserver *)\nThis method is static and can be called without an instance.", &_init_f_installActivationObserver_3707, &_call_f_installActivationObserver_3707); - methods += new qt_gsi::GenericStaticMethod ("isActive?|:active", "@brief Static method bool QAccessible::isActive()\nThis method is static and can be called without an instance.", &_init_f_isActive_0, &_call_f_isActive_0); - methods += new qt_gsi::GenericStaticMethod ("qAccessibleTextBoundaryHelper", "@brief Static method QPair QAccessible::qAccessibleTextBoundaryHelper(const QTextCursor &cursor, QAccessible::TextBoundaryType boundaryType)\nThis method is static and can be called without an instance.", &_init_f_qAccessibleTextBoundaryHelper_5659, &_call_f_qAccessibleTextBoundaryHelper_5659); - methods += new qt_gsi::GenericStaticMethod ("queryAccessibleInterface", "@brief Static method QAccessibleInterface *QAccessible::queryAccessibleInterface(QObject *)\nThis method is static and can be called without an instance.", &_init_f_queryAccessibleInterface_1302, &_call_f_queryAccessibleInterface_1302); - methods += new qt_gsi::GenericStaticMethod ("registerAccessibleInterface", "@brief Static method unsigned int QAccessible::registerAccessibleInterface(QAccessibleInterface *iface)\nThis method is static and can be called without an instance.", &_init_f_registerAccessibleInterface_2622, &_call_f_registerAccessibleInterface_2622); - methods += new qt_gsi::GenericStaticMethod ("removeActivationObserver", "@brief Static method void QAccessible::removeActivationObserver(QAccessible::ActivationObserver *)\nThis method is static and can be called without an instance.", &_init_f_removeActivationObserver_3707, &_call_f_removeActivationObserver_3707); - methods += new qt_gsi::GenericStaticMethod ("setActive|active=", "@brief Static method void QAccessible::setActive(bool active)\nThis method is static and can be called without an instance.", &_init_f_setActive_864, &_call_f_setActive_864); - methods += new qt_gsi::GenericStaticMethod ("setRootObject", "@brief Static method void QAccessible::setRootObject(QObject *object)\nThis method is static and can be called without an instance.", &_init_f_setRootObject_1302, &_call_f_setRootObject_1302); - methods += new qt_gsi::GenericStaticMethod ("uniqueId", "@brief Static method unsigned int QAccessible::uniqueId(QAccessibleInterface *iface)\nThis method is static and can be called without an instance.", &_init_f_uniqueId_2622, &_call_f_uniqueId_2622); - methods += new qt_gsi::GenericStaticMethod ("updateAccessibility", "@brief Static method void QAccessible::updateAccessibility(QAccessibleEvent *event)\nThis method is static and can be called without an instance.", &_init_f_updateAccessibility_2223, &_call_f_updateAccessibility_2223); - return methods; -} - -gsi::Class decl_QAccessible ("Qt", "QAccessible", - methods_QAccessible (), - "@qt\n@brief Binding of QAccessible"); - - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAccessible () { return decl_QAccessible; } - -} - - -// Implementation of the enum wrapper class for QAccessible::Event -namespace qt_gsi -{ - -static gsi::Enum decl_QAccessible_Event_Enum ("Qt", "QAccessible_Event", - gsi::enum_const ("SoundPlayed", QAccessible::SoundPlayed, "@brief Enum constant QAccessible::SoundPlayed") + - gsi::enum_const ("Alert", QAccessible::Alert, "@brief Enum constant QAccessible::Alert") + - gsi::enum_const ("ForegroundChanged", QAccessible::ForegroundChanged, "@brief Enum constant QAccessible::ForegroundChanged") + - gsi::enum_const ("MenuStart", QAccessible::MenuStart, "@brief Enum constant QAccessible::MenuStart") + - gsi::enum_const ("MenuEnd", QAccessible::MenuEnd, "@brief Enum constant QAccessible::MenuEnd") + - gsi::enum_const ("PopupMenuStart", QAccessible::PopupMenuStart, "@brief Enum constant QAccessible::PopupMenuStart") + - gsi::enum_const ("PopupMenuEnd", QAccessible::PopupMenuEnd, "@brief Enum constant QAccessible::PopupMenuEnd") + - gsi::enum_const ("ContextHelpStart", QAccessible::ContextHelpStart, "@brief Enum constant QAccessible::ContextHelpStart") + - gsi::enum_const ("ContextHelpEnd", QAccessible::ContextHelpEnd, "@brief Enum constant QAccessible::ContextHelpEnd") + - gsi::enum_const ("DragDropStart", QAccessible::DragDropStart, "@brief Enum constant QAccessible::DragDropStart") + - gsi::enum_const ("DragDropEnd", QAccessible::DragDropEnd, "@brief Enum constant QAccessible::DragDropEnd") + - gsi::enum_const ("DialogStart", QAccessible::DialogStart, "@brief Enum constant QAccessible::DialogStart") + - gsi::enum_const ("DialogEnd", QAccessible::DialogEnd, "@brief Enum constant QAccessible::DialogEnd") + - gsi::enum_const ("ScrollingStart", QAccessible::ScrollingStart, "@brief Enum constant QAccessible::ScrollingStart") + - gsi::enum_const ("ScrollingEnd", QAccessible::ScrollingEnd, "@brief Enum constant QAccessible::ScrollingEnd") + - gsi::enum_const ("MenuCommand", QAccessible::MenuCommand, "@brief Enum constant QAccessible::MenuCommand") + - gsi::enum_const ("ActionChanged", QAccessible::ActionChanged, "@brief Enum constant QAccessible::ActionChanged") + - gsi::enum_const ("ActiveDescendantChanged", QAccessible::ActiveDescendantChanged, "@brief Enum constant QAccessible::ActiveDescendantChanged") + - gsi::enum_const ("AttributeChanged", QAccessible::AttributeChanged, "@brief Enum constant QAccessible::AttributeChanged") + - gsi::enum_const ("DocumentContentChanged", QAccessible::DocumentContentChanged, "@brief Enum constant QAccessible::DocumentContentChanged") + - gsi::enum_const ("DocumentLoadComplete", QAccessible::DocumentLoadComplete, "@brief Enum constant QAccessible::DocumentLoadComplete") + - gsi::enum_const ("DocumentLoadStopped", QAccessible::DocumentLoadStopped, "@brief Enum constant QAccessible::DocumentLoadStopped") + - gsi::enum_const ("DocumentReload", QAccessible::DocumentReload, "@brief Enum constant QAccessible::DocumentReload") + - gsi::enum_const ("HyperlinkEndIndexChanged", QAccessible::HyperlinkEndIndexChanged, "@brief Enum constant QAccessible::HyperlinkEndIndexChanged") + - gsi::enum_const ("HyperlinkNumberOfAnchorsChanged", QAccessible::HyperlinkNumberOfAnchorsChanged, "@brief Enum constant QAccessible::HyperlinkNumberOfAnchorsChanged") + - gsi::enum_const ("HyperlinkSelectedLinkChanged", QAccessible::HyperlinkSelectedLinkChanged, "@brief Enum constant QAccessible::HyperlinkSelectedLinkChanged") + - gsi::enum_const ("HypertextLinkActivated", QAccessible::HypertextLinkActivated, "@brief Enum constant QAccessible::HypertextLinkActivated") + - gsi::enum_const ("HypertextLinkSelected", QAccessible::HypertextLinkSelected, "@brief Enum constant QAccessible::HypertextLinkSelected") + - gsi::enum_const ("HyperlinkStartIndexChanged", QAccessible::HyperlinkStartIndexChanged, "@brief Enum constant QAccessible::HyperlinkStartIndexChanged") + - gsi::enum_const ("HypertextChanged", QAccessible::HypertextChanged, "@brief Enum constant QAccessible::HypertextChanged") + - gsi::enum_const ("HypertextNLinksChanged", QAccessible::HypertextNLinksChanged, "@brief Enum constant QAccessible::HypertextNLinksChanged") + - gsi::enum_const ("ObjectAttributeChanged", QAccessible::ObjectAttributeChanged, "@brief Enum constant QAccessible::ObjectAttributeChanged") + - gsi::enum_const ("PageChanged", QAccessible::PageChanged, "@brief Enum constant QAccessible::PageChanged") + - gsi::enum_const ("SectionChanged", QAccessible::SectionChanged, "@brief Enum constant QAccessible::SectionChanged") + - gsi::enum_const ("TableCaptionChanged", QAccessible::TableCaptionChanged, "@brief Enum constant QAccessible::TableCaptionChanged") + - gsi::enum_const ("TableColumnDescriptionChanged", QAccessible::TableColumnDescriptionChanged, "@brief Enum constant QAccessible::TableColumnDescriptionChanged") + - gsi::enum_const ("TableColumnHeaderChanged", QAccessible::TableColumnHeaderChanged, "@brief Enum constant QAccessible::TableColumnHeaderChanged") + - gsi::enum_const ("TableModelChanged", QAccessible::TableModelChanged, "@brief Enum constant QAccessible::TableModelChanged") + - gsi::enum_const ("TableRowDescriptionChanged", QAccessible::TableRowDescriptionChanged, "@brief Enum constant QAccessible::TableRowDescriptionChanged") + - gsi::enum_const ("TableRowHeaderChanged", QAccessible::TableRowHeaderChanged, "@brief Enum constant QAccessible::TableRowHeaderChanged") + - gsi::enum_const ("TableSummaryChanged", QAccessible::TableSummaryChanged, "@brief Enum constant QAccessible::TableSummaryChanged") + - gsi::enum_const ("TextAttributeChanged", QAccessible::TextAttributeChanged, "@brief Enum constant QAccessible::TextAttributeChanged") + - gsi::enum_const ("TextCaretMoved", QAccessible::TextCaretMoved, "@brief Enum constant QAccessible::TextCaretMoved") + - gsi::enum_const ("TextColumnChanged", QAccessible::TextColumnChanged, "@brief Enum constant QAccessible::TextColumnChanged") + - gsi::enum_const ("TextInserted", QAccessible::TextInserted, "@brief Enum constant QAccessible::TextInserted") + - gsi::enum_const ("TextRemoved", QAccessible::TextRemoved, "@brief Enum constant QAccessible::TextRemoved") + - gsi::enum_const ("TextUpdated", QAccessible::TextUpdated, "@brief Enum constant QAccessible::TextUpdated") + - gsi::enum_const ("TextSelectionChanged", QAccessible::TextSelectionChanged, "@brief Enum constant QAccessible::TextSelectionChanged") + - gsi::enum_const ("VisibleDataChanged", QAccessible::VisibleDataChanged, "@brief Enum constant QAccessible::VisibleDataChanged") + - gsi::enum_const ("ObjectCreated", QAccessible::ObjectCreated, "@brief Enum constant QAccessible::ObjectCreated") + - gsi::enum_const ("ObjectDestroyed", QAccessible::ObjectDestroyed, "@brief Enum constant QAccessible::ObjectDestroyed") + - gsi::enum_const ("ObjectShow", QAccessible::ObjectShow, "@brief Enum constant QAccessible::ObjectShow") + - gsi::enum_const ("ObjectHide", QAccessible::ObjectHide, "@brief Enum constant QAccessible::ObjectHide") + - gsi::enum_const ("ObjectReorder", QAccessible::ObjectReorder, "@brief Enum constant QAccessible::ObjectReorder") + - gsi::enum_const ("Focus", QAccessible::Focus, "@brief Enum constant QAccessible::Focus") + - gsi::enum_const ("Selection", QAccessible::Selection, "@brief Enum constant QAccessible::Selection") + - gsi::enum_const ("SelectionAdd", QAccessible::SelectionAdd, "@brief Enum constant QAccessible::SelectionAdd") + - gsi::enum_const ("SelectionRemove", QAccessible::SelectionRemove, "@brief Enum constant QAccessible::SelectionRemove") + - gsi::enum_const ("SelectionWithin", QAccessible::SelectionWithin, "@brief Enum constant QAccessible::SelectionWithin") + - gsi::enum_const ("StateChanged", QAccessible::StateChanged, "@brief Enum constant QAccessible::StateChanged") + - gsi::enum_const ("LocationChanged", QAccessible::LocationChanged, "@brief Enum constant QAccessible::LocationChanged") + - gsi::enum_const ("NameChanged", QAccessible::NameChanged, "@brief Enum constant QAccessible::NameChanged") + - gsi::enum_const ("DescriptionChanged", QAccessible::DescriptionChanged, "@brief Enum constant QAccessible::DescriptionChanged") + - gsi::enum_const ("ValueChanged", QAccessible::ValueChanged, "@brief Enum constant QAccessible::ValueChanged") + - gsi::enum_const ("ParentChanged", QAccessible::ParentChanged, "@brief Enum constant QAccessible::ParentChanged") + - gsi::enum_const ("HelpChanged", QAccessible::HelpChanged, "@brief Enum constant QAccessible::HelpChanged") + - gsi::enum_const ("DefaultActionChanged", QAccessible::DefaultActionChanged, "@brief Enum constant QAccessible::DefaultActionChanged") + - gsi::enum_const ("AcceleratorChanged", QAccessible::AcceleratorChanged, "@brief Enum constant QAccessible::AcceleratorChanged") + - gsi::enum_const ("InvalidEvent", QAccessible::InvalidEvent, "@brief Enum constant QAccessible::InvalidEvent"), - "@qt\n@brief This class represents the QAccessible::Event enum"); - -static gsi::QFlagsClass decl_QAccessible_Event_Enums ("Qt", "QAccessible_QFlags_Event", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QAccessible_Event_Enum_in_parent (decl_QAccessible_Event_Enum.defs ()); -static gsi::ClassExt decl_QAccessible_Event_Enum_as_child (decl_QAccessible_Event_Enum, "Event"); -static gsi::ClassExt decl_QAccessible_Event_Enums_as_child (decl_QAccessible_Event_Enums, "QFlags_Event"); - -} - - -// Implementation of the enum wrapper class for QAccessible::InterfaceType -namespace qt_gsi -{ - -static gsi::Enum decl_QAccessible_InterfaceType_Enum ("Qt", "QAccessible_InterfaceType", - gsi::enum_const ("TextInterface", QAccessible::TextInterface, "@brief Enum constant QAccessible::TextInterface") + - gsi::enum_const ("EditableTextInterface", QAccessible::EditableTextInterface, "@brief Enum constant QAccessible::EditableTextInterface") + - gsi::enum_const ("ValueInterface", QAccessible::ValueInterface, "@brief Enum constant QAccessible::ValueInterface") + - gsi::enum_const ("ActionInterface", QAccessible::ActionInterface, "@brief Enum constant QAccessible::ActionInterface") + - gsi::enum_const ("ImageInterface", QAccessible::ImageInterface, "@brief Enum constant QAccessible::ImageInterface") + - gsi::enum_const ("TableInterface", QAccessible::TableInterface, "@brief Enum constant QAccessible::TableInterface") + - gsi::enum_const ("TableCellInterface", QAccessible::TableCellInterface, "@brief Enum constant QAccessible::TableCellInterface") + - gsi::enum_const ("HyperlinkInterface", QAccessible::HyperlinkInterface, "@brief Enum constant QAccessible::HyperlinkInterface"), - "@qt\n@brief This class represents the QAccessible::InterfaceType enum"); - -static gsi::QFlagsClass decl_QAccessible_InterfaceType_Enums ("Qt", "QAccessible_QFlags_InterfaceType", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QAccessible_InterfaceType_Enum_in_parent (decl_QAccessible_InterfaceType_Enum.defs ()); -static gsi::ClassExt decl_QAccessible_InterfaceType_Enum_as_child (decl_QAccessible_InterfaceType_Enum, "InterfaceType"); -static gsi::ClassExt decl_QAccessible_InterfaceType_Enums_as_child (decl_QAccessible_InterfaceType_Enums, "QFlags_InterfaceType"); - -} - - -// Implementation of the enum wrapper class for QAccessible::RelationFlag -namespace qt_gsi -{ - -static gsi::Enum decl_QAccessible_RelationFlag_Enum ("Qt", "QAccessible_RelationFlag", - gsi::enum_const ("Label", QAccessible::Label, "@brief Enum constant QAccessible::Label") + - gsi::enum_const ("Labelled", QAccessible::Labelled, "@brief Enum constant QAccessible::Labelled") + - gsi::enum_const ("Controller", QAccessible::Controller, "@brief Enum constant QAccessible::Controller") + - gsi::enum_const ("Controlled", QAccessible::Controlled, "@brief Enum constant QAccessible::Controlled") + - gsi::enum_const ("AllRelations", QAccessible::AllRelations, "@brief Enum constant QAccessible::AllRelations"), - "@qt\n@brief This class represents the QAccessible::RelationFlag enum"); - -static gsi::QFlagsClass decl_QAccessible_RelationFlag_Enums ("Qt", "QAccessible_QFlags_RelationFlag", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QAccessible_RelationFlag_Enum_in_parent (decl_QAccessible_RelationFlag_Enum.defs ()); -static gsi::ClassExt decl_QAccessible_RelationFlag_Enum_as_child (decl_QAccessible_RelationFlag_Enum, "RelationFlag"); -static gsi::ClassExt decl_QAccessible_RelationFlag_Enums_as_child (decl_QAccessible_RelationFlag_Enums, "QFlags_RelationFlag"); - -} - - -// Implementation of the enum wrapper class for QAccessible::Role -namespace qt_gsi -{ - -static gsi::Enum decl_QAccessible_Role_Enum ("Qt", "QAccessible_Role", - gsi::enum_const ("NoRole", QAccessible::NoRole, "@brief Enum constant QAccessible::NoRole") + - gsi::enum_const ("TitleBar", QAccessible::TitleBar, "@brief Enum constant QAccessible::TitleBar") + - gsi::enum_const ("MenuBar", QAccessible::MenuBar, "@brief Enum constant QAccessible::MenuBar") + - gsi::enum_const ("ScrollBar", QAccessible::ScrollBar, "@brief Enum constant QAccessible::ScrollBar") + - gsi::enum_const ("Grip", QAccessible::Grip, "@brief Enum constant QAccessible::Grip") + - gsi::enum_const ("Sound", QAccessible::Sound, "@brief Enum constant QAccessible::Sound") + - gsi::enum_const ("Cursor", QAccessible::Cursor, "@brief Enum constant QAccessible::Cursor") + - gsi::enum_const ("Caret", QAccessible::Caret, "@brief Enum constant QAccessible::Caret") + - gsi::enum_const ("AlertMessage", QAccessible::AlertMessage, "@brief Enum constant QAccessible::AlertMessage") + - gsi::enum_const ("Window", QAccessible::Window, "@brief Enum constant QAccessible::Window") + - gsi::enum_const ("Client", QAccessible::Client, "@brief Enum constant QAccessible::Client") + - gsi::enum_const ("PopupMenu", QAccessible::PopupMenu, "@brief Enum constant QAccessible::PopupMenu") + - gsi::enum_const ("MenuItem", QAccessible::MenuItem, "@brief Enum constant QAccessible::MenuItem") + - gsi::enum_const ("ToolTip", QAccessible::ToolTip, "@brief Enum constant QAccessible::ToolTip") + - gsi::enum_const ("Application", QAccessible::Application, "@brief Enum constant QAccessible::Application") + - gsi::enum_const ("Document", QAccessible::Document, "@brief Enum constant QAccessible::Document") + - gsi::enum_const ("Pane", QAccessible::Pane, "@brief Enum constant QAccessible::Pane") + - gsi::enum_const ("Chart", QAccessible::Chart, "@brief Enum constant QAccessible::Chart") + - gsi::enum_const ("Dialog", QAccessible::Dialog, "@brief Enum constant QAccessible::Dialog") + - gsi::enum_const ("Border", QAccessible::Border, "@brief Enum constant QAccessible::Border") + - gsi::enum_const ("Grouping", QAccessible::Grouping, "@brief Enum constant QAccessible::Grouping") + - gsi::enum_const ("Separator", QAccessible::Separator, "@brief Enum constant QAccessible::Separator") + - gsi::enum_const ("ToolBar", QAccessible::ToolBar, "@brief Enum constant QAccessible::ToolBar") + - gsi::enum_const ("StatusBar", QAccessible::StatusBar, "@brief Enum constant QAccessible::StatusBar") + - gsi::enum_const ("Table", QAccessible::Table, "@brief Enum constant QAccessible::Table") + - gsi::enum_const ("ColumnHeader", QAccessible::ColumnHeader, "@brief Enum constant QAccessible::ColumnHeader") + - gsi::enum_const ("RowHeader", QAccessible::RowHeader, "@brief Enum constant QAccessible::RowHeader") + - gsi::enum_const ("Column", QAccessible::Column, "@brief Enum constant QAccessible::Column") + - gsi::enum_const ("Row", QAccessible::Row, "@brief Enum constant QAccessible::Row") + - gsi::enum_const ("Cell", QAccessible::Cell, "@brief Enum constant QAccessible::Cell") + - gsi::enum_const ("Link", QAccessible::Link, "@brief Enum constant QAccessible::Link") + - gsi::enum_const ("HelpBalloon", QAccessible::HelpBalloon, "@brief Enum constant QAccessible::HelpBalloon") + - gsi::enum_const ("Assistant", QAccessible::Assistant, "@brief Enum constant QAccessible::Assistant") + - gsi::enum_const ("List", QAccessible::List, "@brief Enum constant QAccessible::List") + - gsi::enum_const ("ListItem", QAccessible::ListItem, "@brief Enum constant QAccessible::ListItem") + - gsi::enum_const ("Tree", QAccessible::Tree, "@brief Enum constant QAccessible::Tree") + - gsi::enum_const ("TreeItem", QAccessible::TreeItem, "@brief Enum constant QAccessible::TreeItem") + - gsi::enum_const ("PageTab", QAccessible::PageTab, "@brief Enum constant QAccessible::PageTab") + - gsi::enum_const ("PropertyPage", QAccessible::PropertyPage, "@brief Enum constant QAccessible::PropertyPage") + - gsi::enum_const ("Indicator", QAccessible::Indicator, "@brief Enum constant QAccessible::Indicator") + - gsi::enum_const ("Graphic", QAccessible::Graphic, "@brief Enum constant QAccessible::Graphic") + - gsi::enum_const ("StaticText", QAccessible::StaticText, "@brief Enum constant QAccessible::StaticText") + - gsi::enum_const ("EditableText", QAccessible::EditableText, "@brief Enum constant QAccessible::EditableText") + - gsi::enum_const ("Button", QAccessible::Button, "@brief Enum constant QAccessible::Button") + - gsi::enum_const ("PushButton", QAccessible::PushButton, "@brief Enum constant QAccessible::PushButton") + - gsi::enum_const ("CheckBox", QAccessible::CheckBox, "@brief Enum constant QAccessible::CheckBox") + - gsi::enum_const ("RadioButton", QAccessible::RadioButton, "@brief Enum constant QAccessible::RadioButton") + - gsi::enum_const ("ComboBox", QAccessible::ComboBox, "@brief Enum constant QAccessible::ComboBox") + - gsi::enum_const ("ProgressBar", QAccessible::ProgressBar, "@brief Enum constant QAccessible::ProgressBar") + - gsi::enum_const ("Dial", QAccessible::Dial, "@brief Enum constant QAccessible::Dial") + - gsi::enum_const ("HotkeyField", QAccessible::HotkeyField, "@brief Enum constant QAccessible::HotkeyField") + - gsi::enum_const ("Slider", QAccessible::Slider, "@brief Enum constant QAccessible::Slider") + - gsi::enum_const ("SpinBox", QAccessible::SpinBox, "@brief Enum constant QAccessible::SpinBox") + - gsi::enum_const ("Canvas", QAccessible::Canvas, "@brief Enum constant QAccessible::Canvas") + - gsi::enum_const ("Animation", QAccessible::Animation, "@brief Enum constant QAccessible::Animation") + - gsi::enum_const ("Equation", QAccessible::Equation, "@brief Enum constant QAccessible::Equation") + - gsi::enum_const ("ButtonDropDown", QAccessible::ButtonDropDown, "@brief Enum constant QAccessible::ButtonDropDown") + - gsi::enum_const ("ButtonMenu", QAccessible::ButtonMenu, "@brief Enum constant QAccessible::ButtonMenu") + - gsi::enum_const ("ButtonDropGrid", QAccessible::ButtonDropGrid, "@brief Enum constant QAccessible::ButtonDropGrid") + - gsi::enum_const ("Whitespace", QAccessible::Whitespace, "@brief Enum constant QAccessible::Whitespace") + - gsi::enum_const ("PageTabList", QAccessible::PageTabList, "@brief Enum constant QAccessible::PageTabList") + - gsi::enum_const ("Clock", QAccessible::Clock, "@brief Enum constant QAccessible::Clock") + - gsi::enum_const ("Splitter", QAccessible::Splitter, "@brief Enum constant QAccessible::Splitter") + - gsi::enum_const ("LayeredPane", QAccessible::LayeredPane, "@brief Enum constant QAccessible::LayeredPane") + - gsi::enum_const ("Terminal", QAccessible::Terminal, "@brief Enum constant QAccessible::Terminal") + - gsi::enum_const ("Desktop", QAccessible::Desktop, "@brief Enum constant QAccessible::Desktop") + - gsi::enum_const ("Paragraph", QAccessible::Paragraph, "@brief Enum constant QAccessible::Paragraph") + - gsi::enum_const ("WebDocument", QAccessible::WebDocument, "@brief Enum constant QAccessible::WebDocument") + - gsi::enum_const ("Section", QAccessible::Section, "@brief Enum constant QAccessible::Section") + - gsi::enum_const ("Notification", QAccessible::Notification, "@brief Enum constant QAccessible::Notification") + - gsi::enum_const ("ColorChooser", QAccessible::ColorChooser, "@brief Enum constant QAccessible::ColorChooser") + - gsi::enum_const ("Footer", QAccessible::Footer, "@brief Enum constant QAccessible::Footer") + - gsi::enum_const ("Form", QAccessible::Form, "@brief Enum constant QAccessible::Form") + - gsi::enum_const ("Heading", QAccessible::Heading, "@brief Enum constant QAccessible::Heading") + - gsi::enum_const ("Note", QAccessible::Note, "@brief Enum constant QAccessible::Note") + - gsi::enum_const ("ComplementaryContent", QAccessible::ComplementaryContent, "@brief Enum constant QAccessible::ComplementaryContent") + - gsi::enum_const ("UserRole", QAccessible::UserRole, "@brief Enum constant QAccessible::UserRole"), - "@qt\n@brief This class represents the QAccessible::Role enum"); - -static gsi::QFlagsClass decl_QAccessible_Role_Enums ("Qt", "QAccessible_QFlags_Role", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QAccessible_Role_Enum_in_parent (decl_QAccessible_Role_Enum.defs ()); -static gsi::ClassExt decl_QAccessible_Role_Enum_as_child (decl_QAccessible_Role_Enum, "Role"); -static gsi::ClassExt decl_QAccessible_Role_Enums_as_child (decl_QAccessible_Role_Enums, "QFlags_Role"); - -} - - -// Implementation of the enum wrapper class for QAccessible::Text -namespace qt_gsi -{ - -static gsi::Enum decl_QAccessible_Text_Enum ("Qt", "QAccessible_Text", - gsi::enum_const ("Name", QAccessible::Name, "@brief Enum constant QAccessible::Name") + - gsi::enum_const ("Description", QAccessible::Description, "@brief Enum constant QAccessible::Description") + - gsi::enum_const ("Value", QAccessible::Value, "@brief Enum constant QAccessible::Value") + - gsi::enum_const ("Help", QAccessible::Help, "@brief Enum constant QAccessible::Help") + - gsi::enum_const ("Accelerator", QAccessible::Accelerator, "@brief Enum constant QAccessible::Accelerator") + - gsi::enum_const ("DebugDescription", QAccessible::DebugDescription, "@brief Enum constant QAccessible::DebugDescription") + - gsi::enum_const ("UserText", QAccessible::UserText, "@brief Enum constant QAccessible::UserText"), - "@qt\n@brief This class represents the QAccessible::Text enum"); - -static gsi::QFlagsClass decl_QAccessible_Text_Enums ("Qt", "QAccessible_QFlags_Text", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QAccessible_Text_Enum_in_parent (decl_QAccessible_Text_Enum.defs ()); -static gsi::ClassExt decl_QAccessible_Text_Enum_as_child (decl_QAccessible_Text_Enum, "Text"); -static gsi::ClassExt decl_QAccessible_Text_Enums_as_child (decl_QAccessible_Text_Enums, "QFlags_Text"); - -} - - -// Implementation of the enum wrapper class for QAccessible::TextBoundaryType -namespace qt_gsi -{ - -static gsi::Enum decl_QAccessible_TextBoundaryType_Enum ("Qt", "QAccessible_TextBoundaryType", - gsi::enum_const ("CharBoundary", QAccessible::CharBoundary, "@brief Enum constant QAccessible::CharBoundary") + - gsi::enum_const ("WordBoundary", QAccessible::WordBoundary, "@brief Enum constant QAccessible::WordBoundary") + - gsi::enum_const ("SentenceBoundary", QAccessible::SentenceBoundary, "@brief Enum constant QAccessible::SentenceBoundary") + - gsi::enum_const ("ParagraphBoundary", QAccessible::ParagraphBoundary, "@brief Enum constant QAccessible::ParagraphBoundary") + - gsi::enum_const ("LineBoundary", QAccessible::LineBoundary, "@brief Enum constant QAccessible::LineBoundary") + - gsi::enum_const ("NoBoundary", QAccessible::NoBoundary, "@brief Enum constant QAccessible::NoBoundary"), - "@qt\n@brief This class represents the QAccessible::TextBoundaryType enum"); - -static gsi::QFlagsClass decl_QAccessible_TextBoundaryType_Enums ("Qt", "QAccessible_QFlags_TextBoundaryType", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QAccessible_TextBoundaryType_Enum_in_parent (decl_QAccessible_TextBoundaryType_Enum.defs ()); -static gsi::ClassExt decl_QAccessible_TextBoundaryType_Enum_as_child (decl_QAccessible_TextBoundaryType_Enum, "TextBoundaryType"); -static gsi::ClassExt decl_QAccessible_TextBoundaryType_Enums_as_child (decl_QAccessible_TextBoundaryType_Enums, "QFlags_TextBoundaryType"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleActionInterface.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleActionInterface.cc deleted file mode 100644 index ec2221429..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleActionInterface.cc +++ /dev/null @@ -1,621 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAccessibleActionInterface.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAccessibleActionInterface - -// QStringList QAccessibleActionInterface::actionNames() - - -static void _init_f_actionNames_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_actionNames_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QStringList)((QAccessibleActionInterface *)cls)->actionNames ()); -} - - -// void QAccessibleActionInterface::doAction(const QString &actionName) - - -static void _init_f_doAction_2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("actionName"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_doAction_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleActionInterface *)cls)->doAction (arg1); -} - - -// QStringList QAccessibleActionInterface::keyBindingsForAction(const QString &actionName) - - -static void _init_f_keyBindingsForAction_c2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("actionName"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_keyBindingsForAction_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QStringList)((QAccessibleActionInterface *)cls)->keyBindingsForAction (arg1)); -} - - -// QString QAccessibleActionInterface::localizedActionDescription(const QString &name) - - -static void _init_f_localizedActionDescription_c2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("name"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_localizedActionDescription_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QString)((QAccessibleActionInterface *)cls)->localizedActionDescription (arg1)); -} - - -// QString QAccessibleActionInterface::localizedActionName(const QString &name) - - -static void _init_f_localizedActionName_c2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("name"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_localizedActionName_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QString)((QAccessibleActionInterface *)cls)->localizedActionName (arg1)); -} - - -// static const QString &QAccessibleActionInterface::decreaseAction() - - -static void _init_f_decreaseAction_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_decreaseAction_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((const QString &)QAccessibleActionInterface::decreaseAction ()); -} - - -// static const QString &QAccessibleActionInterface::increaseAction() - - -static void _init_f_increaseAction_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_increaseAction_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((const QString &)QAccessibleActionInterface::increaseAction ()); -} - - -// static QString QAccessibleActionInterface::nextPageAction() - - -static void _init_f_nextPageAction_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_nextPageAction_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)QAccessibleActionInterface::nextPageAction ()); -} - - -// static const QString &QAccessibleActionInterface::pressAction() - - -static void _init_f_pressAction_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_pressAction_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((const QString &)QAccessibleActionInterface::pressAction ()); -} - - -// static QString QAccessibleActionInterface::previousPageAction() - - -static void _init_f_previousPageAction_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_previousPageAction_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)QAccessibleActionInterface::previousPageAction ()); -} - - -// static QString QAccessibleActionInterface::scrollDownAction() - - -static void _init_f_scrollDownAction_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_scrollDownAction_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)QAccessibleActionInterface::scrollDownAction ()); -} - - -// static QString QAccessibleActionInterface::scrollLeftAction() - - -static void _init_f_scrollLeftAction_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_scrollLeftAction_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)QAccessibleActionInterface::scrollLeftAction ()); -} - - -// static QString QAccessibleActionInterface::scrollRightAction() - - -static void _init_f_scrollRightAction_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_scrollRightAction_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)QAccessibleActionInterface::scrollRightAction ()); -} - - -// static QString QAccessibleActionInterface::scrollUpAction() - - -static void _init_f_scrollUpAction_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_scrollUpAction_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)QAccessibleActionInterface::scrollUpAction ()); -} - - -// static const QString &QAccessibleActionInterface::setFocusAction() - - -static void _init_f_setFocusAction_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_setFocusAction_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((const QString &)QAccessibleActionInterface::setFocusAction ()); -} - - -// static const QString &QAccessibleActionInterface::showMenuAction() - - -static void _init_f_showMenuAction_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_showMenuAction_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((const QString &)QAccessibleActionInterface::showMenuAction ()); -} - - -// static const QString &QAccessibleActionInterface::toggleAction() - - -static void _init_f_toggleAction_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toggleAction_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((const QString &)QAccessibleActionInterface::toggleAction ()); -} - - -// static QString QAccessibleActionInterface::tr(const char *sourceText, const char *disambiguation, int n) - - -static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sourceText"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("disambiguation", true, "nullptr"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("n", true, "-1"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - const char *arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - int arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (-1, heap); - ret.write ((QString)QAccessibleActionInterface::tr (arg1, arg2, arg3)); -} - - -namespace gsi -{ - -static gsi::Methods methods_QAccessibleActionInterface () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("actionNames", "@brief Method QStringList QAccessibleActionInterface::actionNames()\n", true, &_init_f_actionNames_c0, &_call_f_actionNames_c0); - methods += new qt_gsi::GenericMethod ("doAction", "@brief Method void QAccessibleActionInterface::doAction(const QString &actionName)\n", false, &_init_f_doAction_2025, &_call_f_doAction_2025); - methods += new qt_gsi::GenericMethod ("keyBindingsForAction", "@brief Method QStringList QAccessibleActionInterface::keyBindingsForAction(const QString &actionName)\n", true, &_init_f_keyBindingsForAction_c2025, &_call_f_keyBindingsForAction_c2025); - methods += new qt_gsi::GenericMethod ("localizedActionDescription", "@brief Method QString QAccessibleActionInterface::localizedActionDescription(const QString &name)\n", true, &_init_f_localizedActionDescription_c2025, &_call_f_localizedActionDescription_c2025); - methods += new qt_gsi::GenericMethod ("localizedActionName", "@brief Method QString QAccessibleActionInterface::localizedActionName(const QString &name)\n", true, &_init_f_localizedActionName_c2025, &_call_f_localizedActionName_c2025); - methods += new qt_gsi::GenericStaticMethod ("decreaseAction", "@brief Static method const QString &QAccessibleActionInterface::decreaseAction()\nThis method is static and can be called without an instance.", &_init_f_decreaseAction_0, &_call_f_decreaseAction_0); - methods += new qt_gsi::GenericStaticMethod ("increaseAction", "@brief Static method const QString &QAccessibleActionInterface::increaseAction()\nThis method is static and can be called without an instance.", &_init_f_increaseAction_0, &_call_f_increaseAction_0); - methods += new qt_gsi::GenericStaticMethod ("nextPageAction", "@brief Static method QString QAccessibleActionInterface::nextPageAction()\nThis method is static and can be called without an instance.", &_init_f_nextPageAction_0, &_call_f_nextPageAction_0); - methods += new qt_gsi::GenericStaticMethod ("pressAction", "@brief Static method const QString &QAccessibleActionInterface::pressAction()\nThis method is static and can be called without an instance.", &_init_f_pressAction_0, &_call_f_pressAction_0); - methods += new qt_gsi::GenericStaticMethod ("previousPageAction", "@brief Static method QString QAccessibleActionInterface::previousPageAction()\nThis method is static and can be called without an instance.", &_init_f_previousPageAction_0, &_call_f_previousPageAction_0); - methods += new qt_gsi::GenericStaticMethod ("scrollDownAction", "@brief Static method QString QAccessibleActionInterface::scrollDownAction()\nThis method is static and can be called without an instance.", &_init_f_scrollDownAction_0, &_call_f_scrollDownAction_0); - methods += new qt_gsi::GenericStaticMethod ("scrollLeftAction", "@brief Static method QString QAccessibleActionInterface::scrollLeftAction()\nThis method is static and can be called without an instance.", &_init_f_scrollLeftAction_0, &_call_f_scrollLeftAction_0); - methods += new qt_gsi::GenericStaticMethod ("scrollRightAction", "@brief Static method QString QAccessibleActionInterface::scrollRightAction()\nThis method is static and can be called without an instance.", &_init_f_scrollRightAction_0, &_call_f_scrollRightAction_0); - methods += new qt_gsi::GenericStaticMethod ("scrollUpAction", "@brief Static method QString QAccessibleActionInterface::scrollUpAction()\nThis method is static and can be called without an instance.", &_init_f_scrollUpAction_0, &_call_f_scrollUpAction_0); - methods += new qt_gsi::GenericStaticMethod ("setFocusAction", "@brief Static method const QString &QAccessibleActionInterface::setFocusAction()\nThis method is static and can be called without an instance.", &_init_f_setFocusAction_0, &_call_f_setFocusAction_0); - methods += new qt_gsi::GenericStaticMethod ("showMenuAction", "@brief Static method const QString &QAccessibleActionInterface::showMenuAction()\nThis method is static and can be called without an instance.", &_init_f_showMenuAction_0, &_call_f_showMenuAction_0); - methods += new qt_gsi::GenericStaticMethod ("toggleAction", "@brief Static method const QString &QAccessibleActionInterface::toggleAction()\nThis method is static and can be called without an instance.", &_init_f_toggleAction_0, &_call_f_toggleAction_0); - methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QAccessibleActionInterface::tr(const char *sourceText, const char *disambiguation, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013); - return methods; -} - -gsi::Class decl_QAccessibleActionInterface ("Qt", "QAccessibleActionInterface_Native", - methods_QAccessibleActionInterface (), - "@hide\n@alias QAccessibleActionInterface"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAccessibleActionInterface () { return decl_QAccessibleActionInterface; } - -} - - -class QAccessibleActionInterface_Adaptor : public QAccessibleActionInterface, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QAccessibleActionInterface_Adaptor(); - - // [adaptor ctor] QAccessibleActionInterface::QAccessibleActionInterface() - QAccessibleActionInterface_Adaptor() : QAccessibleActionInterface() - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor impl] QStringList QAccessibleActionInterface::actionNames() - QStringList cbs_actionNames_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("actionNames"); - } - - virtual QStringList actionNames() const - { - if (cb_actionNames_c0_0.can_issue()) { - return cb_actionNames_c0_0.issue(&QAccessibleActionInterface_Adaptor::cbs_actionNames_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("actionNames"); - } - } - - // [adaptor impl] void QAccessibleActionInterface::doAction(const QString &actionName) - void cbs_doAction_2025_0(const QString &actionName) - { - __SUPPRESS_UNUSED_WARNING (actionName); - throw qt_gsi::AbstractMethodCalledException("doAction"); - } - - virtual void doAction(const QString &actionName) - { - if (cb_doAction_2025_0.can_issue()) { - cb_doAction_2025_0.issue(&QAccessibleActionInterface_Adaptor::cbs_doAction_2025_0, actionName); - } else { - throw qt_gsi::AbstractMethodCalledException("doAction"); - } - } - - // [adaptor impl] QStringList QAccessibleActionInterface::keyBindingsForAction(const QString &actionName) - QStringList cbs_keyBindingsForAction_c2025_0(const QString &actionName) const - { - __SUPPRESS_UNUSED_WARNING (actionName); - throw qt_gsi::AbstractMethodCalledException("keyBindingsForAction"); - } - - virtual QStringList keyBindingsForAction(const QString &actionName) const - { - if (cb_keyBindingsForAction_c2025_0.can_issue()) { - return cb_keyBindingsForAction_c2025_0.issue(&QAccessibleActionInterface_Adaptor::cbs_keyBindingsForAction_c2025_0, actionName); - } else { - throw qt_gsi::AbstractMethodCalledException("keyBindingsForAction"); - } - } - - // [adaptor impl] QString QAccessibleActionInterface::localizedActionDescription(const QString &name) - QString cbs_localizedActionDescription_c2025_0(const QString &name) const - { - return QAccessibleActionInterface::localizedActionDescription(name); - } - - virtual QString localizedActionDescription(const QString &name) const - { - if (cb_localizedActionDescription_c2025_0.can_issue()) { - return cb_localizedActionDescription_c2025_0.issue(&QAccessibleActionInterface_Adaptor::cbs_localizedActionDescription_c2025_0, name); - } else { - return QAccessibleActionInterface::localizedActionDescription(name); - } - } - - // [adaptor impl] QString QAccessibleActionInterface::localizedActionName(const QString &name) - QString cbs_localizedActionName_c2025_0(const QString &name) const - { - return QAccessibleActionInterface::localizedActionName(name); - } - - virtual QString localizedActionName(const QString &name) const - { - if (cb_localizedActionName_c2025_0.can_issue()) { - return cb_localizedActionName_c2025_0.issue(&QAccessibleActionInterface_Adaptor::cbs_localizedActionName_c2025_0, name); - } else { - return QAccessibleActionInterface::localizedActionName(name); - } - } - - gsi::Callback cb_actionNames_c0_0; - gsi::Callback cb_doAction_2025_0; - gsi::Callback cb_keyBindingsForAction_c2025_0; - gsi::Callback cb_localizedActionDescription_c2025_0; - gsi::Callback cb_localizedActionName_c2025_0; -}; - -QAccessibleActionInterface_Adaptor::~QAccessibleActionInterface_Adaptor() { } - -// Constructor QAccessibleActionInterface::QAccessibleActionInterface() (adaptor class) - -static void _init_ctor_QAccessibleActionInterface_Adaptor_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleActionInterface_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QAccessibleActionInterface_Adaptor ()); -} - - -// QStringList QAccessibleActionInterface::actionNames() - -static void _init_cbs_actionNames_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_actionNames_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QStringList)((QAccessibleActionInterface_Adaptor *)cls)->cbs_actionNames_c0_0 ()); -} - -static void _set_callback_cbs_actionNames_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleActionInterface_Adaptor *)cls)->cb_actionNames_c0_0 = cb; -} - - -// void QAccessibleActionInterface::doAction(const QString &actionName) - -static void _init_cbs_doAction_2025_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("actionName"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_doAction_2025_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleActionInterface_Adaptor *)cls)->cbs_doAction_2025_0 (arg1); -} - -static void _set_callback_cbs_doAction_2025_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleActionInterface_Adaptor *)cls)->cb_doAction_2025_0 = cb; -} - - -// QStringList QAccessibleActionInterface::keyBindingsForAction(const QString &actionName) - -static void _init_cbs_keyBindingsForAction_c2025_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("actionName"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_keyBindingsForAction_c2025_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = args.read (heap); - ret.write ((QStringList)((QAccessibleActionInterface_Adaptor *)cls)->cbs_keyBindingsForAction_c2025_0 (arg1)); -} - -static void _set_callback_cbs_keyBindingsForAction_c2025_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleActionInterface_Adaptor *)cls)->cb_keyBindingsForAction_c2025_0 = cb; -} - - -// QString QAccessibleActionInterface::localizedActionDescription(const QString &name) - -static void _init_cbs_localizedActionDescription_c2025_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("name"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_localizedActionDescription_c2025_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = args.read (heap); - ret.write ((QString)((QAccessibleActionInterface_Adaptor *)cls)->cbs_localizedActionDescription_c2025_0 (arg1)); -} - -static void _set_callback_cbs_localizedActionDescription_c2025_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleActionInterface_Adaptor *)cls)->cb_localizedActionDescription_c2025_0 = cb; -} - - -// QString QAccessibleActionInterface::localizedActionName(const QString &name) - -static void _init_cbs_localizedActionName_c2025_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("name"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_localizedActionName_c2025_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = args.read (heap); - ret.write ((QString)((QAccessibleActionInterface_Adaptor *)cls)->cbs_localizedActionName_c2025_0 (arg1)); -} - -static void _set_callback_cbs_localizedActionName_c2025_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleActionInterface_Adaptor *)cls)->cb_localizedActionName_c2025_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QAccessibleActionInterface (); - -static gsi::Methods methods_QAccessibleActionInterface_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleActionInterface::QAccessibleActionInterface()\nThis method creates an object of class QAccessibleActionInterface.", &_init_ctor_QAccessibleActionInterface_Adaptor_0, &_call_ctor_QAccessibleActionInterface_Adaptor_0); - methods += new qt_gsi::GenericMethod ("actionNames", "@brief Virtual method QStringList QAccessibleActionInterface::actionNames()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_actionNames_c0_0, &_call_cbs_actionNames_c0_0); - methods += new qt_gsi::GenericMethod ("actionNames", "@hide", true, &_init_cbs_actionNames_c0_0, &_call_cbs_actionNames_c0_0, &_set_callback_cbs_actionNames_c0_0); - methods += new qt_gsi::GenericMethod ("doAction", "@brief Virtual method void QAccessibleActionInterface::doAction(const QString &actionName)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_doAction_2025_0, &_call_cbs_doAction_2025_0); - methods += new qt_gsi::GenericMethod ("doAction", "@hide", false, &_init_cbs_doAction_2025_0, &_call_cbs_doAction_2025_0, &_set_callback_cbs_doAction_2025_0); - methods += new qt_gsi::GenericMethod ("keyBindingsForAction", "@brief Virtual method QStringList QAccessibleActionInterface::keyBindingsForAction(const QString &actionName)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_keyBindingsForAction_c2025_0, &_call_cbs_keyBindingsForAction_c2025_0); - methods += new qt_gsi::GenericMethod ("keyBindingsForAction", "@hide", true, &_init_cbs_keyBindingsForAction_c2025_0, &_call_cbs_keyBindingsForAction_c2025_0, &_set_callback_cbs_keyBindingsForAction_c2025_0); - methods += new qt_gsi::GenericMethod ("localizedActionDescription", "@brief Virtual method QString QAccessibleActionInterface::localizedActionDescription(const QString &name)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_localizedActionDescription_c2025_0, &_call_cbs_localizedActionDescription_c2025_0); - methods += new qt_gsi::GenericMethod ("localizedActionDescription", "@hide", true, &_init_cbs_localizedActionDescription_c2025_0, &_call_cbs_localizedActionDescription_c2025_0, &_set_callback_cbs_localizedActionDescription_c2025_0); - methods += new qt_gsi::GenericMethod ("localizedActionName", "@brief Virtual method QString QAccessibleActionInterface::localizedActionName(const QString &name)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_localizedActionName_c2025_0, &_call_cbs_localizedActionName_c2025_0); - methods += new qt_gsi::GenericMethod ("localizedActionName", "@hide", true, &_init_cbs_localizedActionName_c2025_0, &_call_cbs_localizedActionName_c2025_0, &_set_callback_cbs_localizedActionName_c2025_0); - return methods; -} - -gsi::Class decl_QAccessibleActionInterface_Adaptor (qtdecl_QAccessibleActionInterface (), "Qt", "QAccessibleActionInterface", - methods_QAccessibleActionInterface_Adaptor (), - "@qt\n@brief Binding of QAccessibleActionInterface"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleEditableTextInterface.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleEditableTextInterface.cc deleted file mode 100644 index bc48aea15..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleEditableTextInterface.cc +++ /dev/null @@ -1,322 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAccessibleEditableTextInterface.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAccessibleEditableTextInterface - -// void QAccessibleEditableTextInterface::deleteText(int startOffset, int endOffset) - - -static void _init_f_deleteText_1426 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("startOffset"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("endOffset"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_deleteText_1426 (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); - int arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleEditableTextInterface *)cls)->deleteText (arg1, arg2); -} - - -// void QAccessibleEditableTextInterface::insertText(int offset, const QString &text) - - -static void _init_f_insertText_2684 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("offset"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("text"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_insertText_2684 (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); - const QString &arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleEditableTextInterface *)cls)->insertText (arg1, arg2); -} - - -// void QAccessibleEditableTextInterface::replaceText(int startOffset, int endOffset, const QString &text) - - -static void _init_f_replaceText_3343 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("startOffset"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("endOffset"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("text"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_replaceText_3343 (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); - int arg2 = gsi::arg_reader() (args, heap); - const QString &arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleEditableTextInterface *)cls)->replaceText (arg1, arg2, arg3); -} - - -namespace gsi -{ - -static gsi::Methods methods_QAccessibleEditableTextInterface () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("deleteText", "@brief Method void QAccessibleEditableTextInterface::deleteText(int startOffset, int endOffset)\n", false, &_init_f_deleteText_1426, &_call_f_deleteText_1426); - methods += new qt_gsi::GenericMethod ("insertText", "@brief Method void QAccessibleEditableTextInterface::insertText(int offset, const QString &text)\n", false, &_init_f_insertText_2684, &_call_f_insertText_2684); - methods += new qt_gsi::GenericMethod ("replaceText", "@brief Method void QAccessibleEditableTextInterface::replaceText(int startOffset, int endOffset, const QString &text)\n", false, &_init_f_replaceText_3343, &_call_f_replaceText_3343); - return methods; -} - -gsi::Class decl_QAccessibleEditableTextInterface ("Qt", "QAccessibleEditableTextInterface_Native", - methods_QAccessibleEditableTextInterface (), - "@hide\n@alias QAccessibleEditableTextInterface"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAccessibleEditableTextInterface () { return decl_QAccessibleEditableTextInterface; } - -} - - -class QAccessibleEditableTextInterface_Adaptor : public QAccessibleEditableTextInterface, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QAccessibleEditableTextInterface_Adaptor(); - - // [adaptor ctor] QAccessibleEditableTextInterface::QAccessibleEditableTextInterface() - QAccessibleEditableTextInterface_Adaptor() : QAccessibleEditableTextInterface() - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor impl] void QAccessibleEditableTextInterface::deleteText(int startOffset, int endOffset) - void cbs_deleteText_1426_0(int startOffset, int endOffset) - { - __SUPPRESS_UNUSED_WARNING (startOffset); - __SUPPRESS_UNUSED_WARNING (endOffset); - throw qt_gsi::AbstractMethodCalledException("deleteText"); - } - - virtual void deleteText(int startOffset, int endOffset) - { - if (cb_deleteText_1426_0.can_issue()) { - cb_deleteText_1426_0.issue(&QAccessibleEditableTextInterface_Adaptor::cbs_deleteText_1426_0, startOffset, endOffset); - } else { - throw qt_gsi::AbstractMethodCalledException("deleteText"); - } - } - - // [adaptor impl] void QAccessibleEditableTextInterface::insertText(int offset, const QString &text) - void cbs_insertText_2684_0(int offset, const QString &text) - { - __SUPPRESS_UNUSED_WARNING (offset); - __SUPPRESS_UNUSED_WARNING (text); - throw qt_gsi::AbstractMethodCalledException("insertText"); - } - - virtual void insertText(int offset, const QString &text) - { - if (cb_insertText_2684_0.can_issue()) { - cb_insertText_2684_0.issue(&QAccessibleEditableTextInterface_Adaptor::cbs_insertText_2684_0, offset, text); - } else { - throw qt_gsi::AbstractMethodCalledException("insertText"); - } - } - - // [adaptor impl] void QAccessibleEditableTextInterface::replaceText(int startOffset, int endOffset, const QString &text) - void cbs_replaceText_3343_0(int startOffset, int endOffset, const QString &text) - { - __SUPPRESS_UNUSED_WARNING (startOffset); - __SUPPRESS_UNUSED_WARNING (endOffset); - __SUPPRESS_UNUSED_WARNING (text); - throw qt_gsi::AbstractMethodCalledException("replaceText"); - } - - virtual void replaceText(int startOffset, int endOffset, const QString &text) - { - if (cb_replaceText_3343_0.can_issue()) { - cb_replaceText_3343_0.issue(&QAccessibleEditableTextInterface_Adaptor::cbs_replaceText_3343_0, startOffset, endOffset, text); - } else { - throw qt_gsi::AbstractMethodCalledException("replaceText"); - } - } - - gsi::Callback cb_deleteText_1426_0; - gsi::Callback cb_insertText_2684_0; - gsi::Callback cb_replaceText_3343_0; -}; - -QAccessibleEditableTextInterface_Adaptor::~QAccessibleEditableTextInterface_Adaptor() { } - -// Constructor QAccessibleEditableTextInterface::QAccessibleEditableTextInterface() (adaptor class) - -static void _init_ctor_QAccessibleEditableTextInterface_Adaptor_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleEditableTextInterface_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QAccessibleEditableTextInterface_Adaptor ()); -} - - -// void QAccessibleEditableTextInterface::deleteText(int startOffset, int endOffset) - -static void _init_cbs_deleteText_1426_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("startOffset"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("endOffset"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_cbs_deleteText_1426_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleEditableTextInterface_Adaptor *)cls)->cbs_deleteText_1426_0 (arg1, arg2); -} - -static void _set_callback_cbs_deleteText_1426_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleEditableTextInterface_Adaptor *)cls)->cb_deleteText_1426_0 = cb; -} - - -// void QAccessibleEditableTextInterface::insertText(int offset, const QString &text) - -static void _init_cbs_insertText_2684_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("offset"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("text"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_cbs_insertText_2684_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - const QString &arg2 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleEditableTextInterface_Adaptor *)cls)->cbs_insertText_2684_0 (arg1, arg2); -} - -static void _set_callback_cbs_insertText_2684_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleEditableTextInterface_Adaptor *)cls)->cb_insertText_2684_0 = cb; -} - - -// void QAccessibleEditableTextInterface::replaceText(int startOffset, int endOffset, const QString &text) - -static void _init_cbs_replaceText_3343_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("startOffset"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("endOffset"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("text"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_replaceText_3343_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - const QString &arg3 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleEditableTextInterface_Adaptor *)cls)->cbs_replaceText_3343_0 (arg1, arg2, arg3); -} - -static void _set_callback_cbs_replaceText_3343_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleEditableTextInterface_Adaptor *)cls)->cb_replaceText_3343_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QAccessibleEditableTextInterface (); - -static gsi::Methods methods_QAccessibleEditableTextInterface_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleEditableTextInterface::QAccessibleEditableTextInterface()\nThis method creates an object of class QAccessibleEditableTextInterface.", &_init_ctor_QAccessibleEditableTextInterface_Adaptor_0, &_call_ctor_QAccessibleEditableTextInterface_Adaptor_0); - methods += new qt_gsi::GenericMethod ("deleteText", "@brief Virtual method void QAccessibleEditableTextInterface::deleteText(int startOffset, int endOffset)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_deleteText_1426_0, &_call_cbs_deleteText_1426_0); - methods += new qt_gsi::GenericMethod ("deleteText", "@hide", false, &_init_cbs_deleteText_1426_0, &_call_cbs_deleteText_1426_0, &_set_callback_cbs_deleteText_1426_0); - methods += new qt_gsi::GenericMethod ("insertText", "@brief Virtual method void QAccessibleEditableTextInterface::insertText(int offset, const QString &text)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_insertText_2684_0, &_call_cbs_insertText_2684_0); - methods += new qt_gsi::GenericMethod ("insertText", "@hide", false, &_init_cbs_insertText_2684_0, &_call_cbs_insertText_2684_0, &_set_callback_cbs_insertText_2684_0); - methods += new qt_gsi::GenericMethod ("replaceText", "@brief Virtual method void QAccessibleEditableTextInterface::replaceText(int startOffset, int endOffset, const QString &text)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_replaceText_3343_0, &_call_cbs_replaceText_3343_0); - methods += new qt_gsi::GenericMethod ("replaceText", "@hide", false, &_init_cbs_replaceText_3343_0, &_call_cbs_replaceText_3343_0, &_set_callback_cbs_replaceText_3343_0); - return methods; -} - -gsi::Class decl_QAccessibleEditableTextInterface_Adaptor (qtdecl_QAccessibleEditableTextInterface (), "Qt", "QAccessibleEditableTextInterface", - methods_QAccessibleEditableTextInterface_Adaptor (), - "@qt\n@brief Binding of QAccessibleEditableTextInterface"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleEvent.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleEvent.cc deleted file mode 100644 index d8253b4b2..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleEvent.cc +++ /dev/null @@ -1,205 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAccessibleEvent.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAccessibleEvent - -// Constructor QAccessibleEvent::QAccessibleEvent(QObject *obj, QAccessible::Event typ) - - -static void _init_ctor_QAccessibleEvent_3347 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("obj"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("typ"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleEvent_3347 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = gsi::arg_reader::target_type & >() (args, heap); - ret.write (new QAccessibleEvent (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// Constructor QAccessibleEvent::QAccessibleEvent(QAccessibleInterface *iface, QAccessible::Event typ) - - -static void _init_ctor_QAccessibleEvent_4667 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("iface"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("typ"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleEvent_4667 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QAccessibleInterface *arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = gsi::arg_reader::target_type & >() (args, heap); - ret.write (new QAccessibleEvent (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// QAccessibleInterface *QAccessibleEvent::accessibleInterface() - - -static void _init_f_accessibleInterface_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_accessibleInterface_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAccessibleInterface *)((QAccessibleEvent *)cls)->accessibleInterface ()); -} - - -// int QAccessibleEvent::child() - - -static void _init_f_child_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_child_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleEvent *)cls)->child ()); -} - - -// QObject *QAccessibleEvent::object() - - -static void _init_f_object_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_object_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QObject *)((QAccessibleEvent *)cls)->object ()); -} - - -// void QAccessibleEvent::setChild(int chld) - - -static void _init_f_setChild_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("chld"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setChild_767 (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); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleEvent *)cls)->setChild (arg1); -} - - -// QAccessible::Event QAccessibleEvent::type() - - -static void _init_f_type_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_type_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QAccessibleEvent *)cls)->type ())); -} - - -// unsigned int QAccessibleEvent::uniqueId() - - -static void _init_f_uniqueId_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_uniqueId_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((unsigned int)((QAccessibleEvent *)cls)->uniqueId ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QAccessibleEvent () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleEvent::QAccessibleEvent(QObject *obj, QAccessible::Event typ)\nThis method creates an object of class QAccessibleEvent.", &_init_ctor_QAccessibleEvent_3347, &_call_ctor_QAccessibleEvent_3347); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleEvent::QAccessibleEvent(QAccessibleInterface *iface, QAccessible::Event typ)\nThis method creates an object of class QAccessibleEvent.", &_init_ctor_QAccessibleEvent_4667, &_call_ctor_QAccessibleEvent_4667); - methods += new qt_gsi::GenericMethod ("accessibleInterface", "@brief Method QAccessibleInterface *QAccessibleEvent::accessibleInterface()\n", true, &_init_f_accessibleInterface_c0, &_call_f_accessibleInterface_c0); - methods += new qt_gsi::GenericMethod (":child", "@brief Method int QAccessibleEvent::child()\n", true, &_init_f_child_c0, &_call_f_child_c0); - methods += new qt_gsi::GenericMethod ("object", "@brief Method QObject *QAccessibleEvent::object()\n", true, &_init_f_object_c0, &_call_f_object_c0); - methods += new qt_gsi::GenericMethod ("setChild|child=", "@brief Method void QAccessibleEvent::setChild(int chld)\n", false, &_init_f_setChild_767, &_call_f_setChild_767); - methods += new qt_gsi::GenericMethod ("type", "@brief Method QAccessible::Event QAccessibleEvent::type()\n", true, &_init_f_type_c0, &_call_f_type_c0); - methods += new qt_gsi::GenericMethod ("uniqueId", "@brief Method unsigned int QAccessibleEvent::uniqueId()\n", true, &_init_f_uniqueId_c0, &_call_f_uniqueId_c0); - return methods; -} - -gsi::Class decl_QAccessibleEvent ("Qt", "QAccessibleEvent", - methods_QAccessibleEvent (), - "@qt\n@brief Binding of QAccessibleEvent"); - - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAccessibleEvent () { return decl_QAccessibleEvent; } - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleHyperlinkInterface.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleHyperlinkInterface.cc deleted file mode 100644 index 4e04dcb43..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleHyperlinkInterface.cc +++ /dev/null @@ -1,367 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAccessibleHyperlinkInterface.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAccessibleHyperlinkInterface - -// QString QAccessibleHyperlinkInterface::anchor() - - -static void _init_f_anchor_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_anchor_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QAccessibleHyperlinkInterface *)cls)->anchor ()); -} - - -// QString QAccessibleHyperlinkInterface::anchorTarget() - - -static void _init_f_anchorTarget_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_anchorTarget_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QAccessibleHyperlinkInterface *)cls)->anchorTarget ()); -} - - -// int QAccessibleHyperlinkInterface::endIndex() - - -static void _init_f_endIndex_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_endIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleHyperlinkInterface *)cls)->endIndex ()); -} - - -// bool QAccessibleHyperlinkInterface::isValid() - - -static void _init_f_isValid_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isValid_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QAccessibleHyperlinkInterface *)cls)->isValid ()); -} - - -// int QAccessibleHyperlinkInterface::startIndex() - - -static void _init_f_startIndex_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_startIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleHyperlinkInterface *)cls)->startIndex ()); -} - - -namespace gsi -{ - -static gsi::Methods methods_QAccessibleHyperlinkInterface () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("anchor", "@brief Method QString QAccessibleHyperlinkInterface::anchor()\n", true, &_init_f_anchor_c0, &_call_f_anchor_c0); - methods += new qt_gsi::GenericMethod ("anchorTarget", "@brief Method QString QAccessibleHyperlinkInterface::anchorTarget()\n", true, &_init_f_anchorTarget_c0, &_call_f_anchorTarget_c0); - methods += new qt_gsi::GenericMethod ("endIndex", "@brief Method int QAccessibleHyperlinkInterface::endIndex()\n", true, &_init_f_endIndex_c0, &_call_f_endIndex_c0); - methods += new qt_gsi::GenericMethod ("isValid?", "@brief Method bool QAccessibleHyperlinkInterface::isValid()\n", true, &_init_f_isValid_c0, &_call_f_isValid_c0); - methods += new qt_gsi::GenericMethod ("startIndex", "@brief Method int QAccessibleHyperlinkInterface::startIndex()\n", true, &_init_f_startIndex_c0, &_call_f_startIndex_c0); - return methods; -} - -gsi::Class decl_QAccessibleHyperlinkInterface ("Qt", "QAccessibleHyperlinkInterface_Native", - methods_QAccessibleHyperlinkInterface (), - "@hide\n@alias QAccessibleHyperlinkInterface"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAccessibleHyperlinkInterface () { return decl_QAccessibleHyperlinkInterface; } - -} - - -class QAccessibleHyperlinkInterface_Adaptor : public QAccessibleHyperlinkInterface, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QAccessibleHyperlinkInterface_Adaptor(); - - // [adaptor ctor] QAccessibleHyperlinkInterface::QAccessibleHyperlinkInterface() - QAccessibleHyperlinkInterface_Adaptor() : QAccessibleHyperlinkInterface() - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor impl] QString QAccessibleHyperlinkInterface::anchor() - QString cbs_anchor_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("anchor"); - } - - virtual QString anchor() const - { - if (cb_anchor_c0_0.can_issue()) { - return cb_anchor_c0_0.issue(&QAccessibleHyperlinkInterface_Adaptor::cbs_anchor_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("anchor"); - } - } - - // [adaptor impl] QString QAccessibleHyperlinkInterface::anchorTarget() - QString cbs_anchorTarget_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("anchorTarget"); - } - - virtual QString anchorTarget() const - { - if (cb_anchorTarget_c0_0.can_issue()) { - return cb_anchorTarget_c0_0.issue(&QAccessibleHyperlinkInterface_Adaptor::cbs_anchorTarget_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("anchorTarget"); - } - } - - // [adaptor impl] int QAccessibleHyperlinkInterface::endIndex() - int cbs_endIndex_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("endIndex"); - } - - virtual int endIndex() const - { - if (cb_endIndex_c0_0.can_issue()) { - return cb_endIndex_c0_0.issue(&QAccessibleHyperlinkInterface_Adaptor::cbs_endIndex_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("endIndex"); - } - } - - // [adaptor impl] bool QAccessibleHyperlinkInterface::isValid() - bool cbs_isValid_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("isValid"); - } - - virtual bool isValid() const - { - if (cb_isValid_c0_0.can_issue()) { - return cb_isValid_c0_0.issue(&QAccessibleHyperlinkInterface_Adaptor::cbs_isValid_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("isValid"); - } - } - - // [adaptor impl] int QAccessibleHyperlinkInterface::startIndex() - int cbs_startIndex_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("startIndex"); - } - - virtual int startIndex() const - { - if (cb_startIndex_c0_0.can_issue()) { - return cb_startIndex_c0_0.issue(&QAccessibleHyperlinkInterface_Adaptor::cbs_startIndex_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("startIndex"); - } - } - - gsi::Callback cb_anchor_c0_0; - gsi::Callback cb_anchorTarget_c0_0; - gsi::Callback cb_endIndex_c0_0; - gsi::Callback cb_isValid_c0_0; - gsi::Callback cb_startIndex_c0_0; -}; - -QAccessibleHyperlinkInterface_Adaptor::~QAccessibleHyperlinkInterface_Adaptor() { } - -// Constructor QAccessibleHyperlinkInterface::QAccessibleHyperlinkInterface() (adaptor class) - -static void _init_ctor_QAccessibleHyperlinkInterface_Adaptor_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleHyperlinkInterface_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QAccessibleHyperlinkInterface_Adaptor ()); -} - - -// QString QAccessibleHyperlinkInterface::anchor() - -static void _init_cbs_anchor_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_anchor_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QAccessibleHyperlinkInterface_Adaptor *)cls)->cbs_anchor_c0_0 ()); -} - -static void _set_callback_cbs_anchor_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleHyperlinkInterface_Adaptor *)cls)->cb_anchor_c0_0 = cb; -} - - -// QString QAccessibleHyperlinkInterface::anchorTarget() - -static void _init_cbs_anchorTarget_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_anchorTarget_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QAccessibleHyperlinkInterface_Adaptor *)cls)->cbs_anchorTarget_c0_0 ()); -} - -static void _set_callback_cbs_anchorTarget_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleHyperlinkInterface_Adaptor *)cls)->cb_anchorTarget_c0_0 = cb; -} - - -// int QAccessibleHyperlinkInterface::endIndex() - -static void _init_cbs_endIndex_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_endIndex_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleHyperlinkInterface_Adaptor *)cls)->cbs_endIndex_c0_0 ()); -} - -static void _set_callback_cbs_endIndex_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleHyperlinkInterface_Adaptor *)cls)->cb_endIndex_c0_0 = cb; -} - - -// bool QAccessibleHyperlinkInterface::isValid() - -static void _init_cbs_isValid_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_isValid_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QAccessibleHyperlinkInterface_Adaptor *)cls)->cbs_isValid_c0_0 ()); -} - -static void _set_callback_cbs_isValid_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleHyperlinkInterface_Adaptor *)cls)->cb_isValid_c0_0 = cb; -} - - -// int QAccessibleHyperlinkInterface::startIndex() - -static void _init_cbs_startIndex_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_startIndex_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleHyperlinkInterface_Adaptor *)cls)->cbs_startIndex_c0_0 ()); -} - -static void _set_callback_cbs_startIndex_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleHyperlinkInterface_Adaptor *)cls)->cb_startIndex_c0_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QAccessibleHyperlinkInterface (); - -static gsi::Methods methods_QAccessibleHyperlinkInterface_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleHyperlinkInterface::QAccessibleHyperlinkInterface()\nThis method creates an object of class QAccessibleHyperlinkInterface.", &_init_ctor_QAccessibleHyperlinkInterface_Adaptor_0, &_call_ctor_QAccessibleHyperlinkInterface_Adaptor_0); - methods += new qt_gsi::GenericMethod ("anchor", "@brief Virtual method QString QAccessibleHyperlinkInterface::anchor()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_anchor_c0_0, &_call_cbs_anchor_c0_0); - methods += new qt_gsi::GenericMethod ("anchor", "@hide", true, &_init_cbs_anchor_c0_0, &_call_cbs_anchor_c0_0, &_set_callback_cbs_anchor_c0_0); - methods += new qt_gsi::GenericMethod ("anchorTarget", "@brief Virtual method QString QAccessibleHyperlinkInterface::anchorTarget()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_anchorTarget_c0_0, &_call_cbs_anchorTarget_c0_0); - methods += new qt_gsi::GenericMethod ("anchorTarget", "@hide", true, &_init_cbs_anchorTarget_c0_0, &_call_cbs_anchorTarget_c0_0, &_set_callback_cbs_anchorTarget_c0_0); - methods += new qt_gsi::GenericMethod ("endIndex", "@brief Virtual method int QAccessibleHyperlinkInterface::endIndex()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_endIndex_c0_0, &_call_cbs_endIndex_c0_0); - methods += new qt_gsi::GenericMethod ("endIndex", "@hide", true, &_init_cbs_endIndex_c0_0, &_call_cbs_endIndex_c0_0, &_set_callback_cbs_endIndex_c0_0); - methods += new qt_gsi::GenericMethod ("isValid", "@brief Virtual method bool QAccessibleHyperlinkInterface::isValid()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_isValid_c0_0, &_call_cbs_isValid_c0_0); - methods += new qt_gsi::GenericMethod ("isValid", "@hide", true, &_init_cbs_isValid_c0_0, &_call_cbs_isValid_c0_0, &_set_callback_cbs_isValid_c0_0); - methods += new qt_gsi::GenericMethod ("startIndex", "@brief Virtual method int QAccessibleHyperlinkInterface::startIndex()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_startIndex_c0_0, &_call_cbs_startIndex_c0_0); - methods += new qt_gsi::GenericMethod ("startIndex", "@hide", true, &_init_cbs_startIndex_c0_0, &_call_cbs_startIndex_c0_0, &_set_callback_cbs_startIndex_c0_0); - return methods; -} - -gsi::Class decl_QAccessibleHyperlinkInterface_Adaptor (qtdecl_QAccessibleHyperlinkInterface (), "Qt", "QAccessibleHyperlinkInterface", - methods_QAccessibleHyperlinkInterface_Adaptor (), - "@qt\n@brief Binding of QAccessibleHyperlinkInterface"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleImageInterface.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleImageInterface.cc deleted file mode 100644 index ac012c8d6..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleImageInterface.cc +++ /dev/null @@ -1,263 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAccessibleImageInterface.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAccessibleImageInterface - -// QString QAccessibleImageInterface::imageDescription() - - -static void _init_f_imageDescription_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_imageDescription_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QAccessibleImageInterface *)cls)->imageDescription ()); -} - - -// QPoint QAccessibleImageInterface::imagePosition() - - -static void _init_f_imagePosition_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_imagePosition_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QPoint)((QAccessibleImageInterface *)cls)->imagePosition ()); -} - - -// QSize QAccessibleImageInterface::imageSize() - - -static void _init_f_imageSize_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_imageSize_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QSize)((QAccessibleImageInterface *)cls)->imageSize ()); -} - - -namespace gsi -{ - -static gsi::Methods methods_QAccessibleImageInterface () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("imageDescription", "@brief Method QString QAccessibleImageInterface::imageDescription()\n", true, &_init_f_imageDescription_c0, &_call_f_imageDescription_c0); - methods += new qt_gsi::GenericMethod ("imagePosition", "@brief Method QPoint QAccessibleImageInterface::imagePosition()\n", true, &_init_f_imagePosition_c0, &_call_f_imagePosition_c0); - methods += new qt_gsi::GenericMethod ("imageSize", "@brief Method QSize QAccessibleImageInterface::imageSize()\n", true, &_init_f_imageSize_c0, &_call_f_imageSize_c0); - return methods; -} - -gsi::Class decl_QAccessibleImageInterface ("Qt", "QAccessibleImageInterface_Native", - methods_QAccessibleImageInterface (), - "@hide\n@alias QAccessibleImageInterface"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAccessibleImageInterface () { return decl_QAccessibleImageInterface; } - -} - - -class QAccessibleImageInterface_Adaptor : public QAccessibleImageInterface, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QAccessibleImageInterface_Adaptor(); - - // [adaptor ctor] QAccessibleImageInterface::QAccessibleImageInterface() - QAccessibleImageInterface_Adaptor() : QAccessibleImageInterface() - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor impl] QString QAccessibleImageInterface::imageDescription() - QString cbs_imageDescription_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("imageDescription"); - } - - virtual QString imageDescription() const - { - if (cb_imageDescription_c0_0.can_issue()) { - return cb_imageDescription_c0_0.issue(&QAccessibleImageInterface_Adaptor::cbs_imageDescription_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("imageDescription"); - } - } - - // [adaptor impl] QPoint QAccessibleImageInterface::imagePosition() - QPoint cbs_imagePosition_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("imagePosition"); - } - - virtual QPoint imagePosition() const - { - if (cb_imagePosition_c0_0.can_issue()) { - return cb_imagePosition_c0_0.issue(&QAccessibleImageInterface_Adaptor::cbs_imagePosition_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("imagePosition"); - } - } - - // [adaptor impl] QSize QAccessibleImageInterface::imageSize() - QSize cbs_imageSize_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("imageSize"); - } - - virtual QSize imageSize() const - { - if (cb_imageSize_c0_0.can_issue()) { - return cb_imageSize_c0_0.issue(&QAccessibleImageInterface_Adaptor::cbs_imageSize_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("imageSize"); - } - } - - gsi::Callback cb_imageDescription_c0_0; - gsi::Callback cb_imagePosition_c0_0; - gsi::Callback cb_imageSize_c0_0; -}; - -QAccessibleImageInterface_Adaptor::~QAccessibleImageInterface_Adaptor() { } - -// Constructor QAccessibleImageInterface::QAccessibleImageInterface() (adaptor class) - -static void _init_ctor_QAccessibleImageInterface_Adaptor_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleImageInterface_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QAccessibleImageInterface_Adaptor ()); -} - - -// QString QAccessibleImageInterface::imageDescription() - -static void _init_cbs_imageDescription_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_imageDescription_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QAccessibleImageInterface_Adaptor *)cls)->cbs_imageDescription_c0_0 ()); -} - -static void _set_callback_cbs_imageDescription_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleImageInterface_Adaptor *)cls)->cb_imageDescription_c0_0 = cb; -} - - -// QPoint QAccessibleImageInterface::imagePosition() - -static void _init_cbs_imagePosition_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_imagePosition_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QPoint)((QAccessibleImageInterface_Adaptor *)cls)->cbs_imagePosition_c0_0 ()); -} - -static void _set_callback_cbs_imagePosition_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleImageInterface_Adaptor *)cls)->cb_imagePosition_c0_0 = cb; -} - - -// QSize QAccessibleImageInterface::imageSize() - -static void _init_cbs_imageSize_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_imageSize_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QSize)((QAccessibleImageInterface_Adaptor *)cls)->cbs_imageSize_c0_0 ()); -} - -static void _set_callback_cbs_imageSize_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleImageInterface_Adaptor *)cls)->cb_imageSize_c0_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QAccessibleImageInterface (); - -static gsi::Methods methods_QAccessibleImageInterface_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleImageInterface::QAccessibleImageInterface()\nThis method creates an object of class QAccessibleImageInterface.", &_init_ctor_QAccessibleImageInterface_Adaptor_0, &_call_ctor_QAccessibleImageInterface_Adaptor_0); - methods += new qt_gsi::GenericMethod ("imageDescription", "@brief Virtual method QString QAccessibleImageInterface::imageDescription()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_imageDescription_c0_0, &_call_cbs_imageDescription_c0_0); - methods += new qt_gsi::GenericMethod ("imageDescription", "@hide", true, &_init_cbs_imageDescription_c0_0, &_call_cbs_imageDescription_c0_0, &_set_callback_cbs_imageDescription_c0_0); - methods += new qt_gsi::GenericMethod ("imagePosition", "@brief Virtual method QPoint QAccessibleImageInterface::imagePosition()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_imagePosition_c0_0, &_call_cbs_imagePosition_c0_0); - methods += new qt_gsi::GenericMethod ("imagePosition", "@hide", true, &_init_cbs_imagePosition_c0_0, &_call_cbs_imagePosition_c0_0, &_set_callback_cbs_imagePosition_c0_0); - methods += new qt_gsi::GenericMethod ("imageSize", "@brief Virtual method QSize QAccessibleImageInterface::imageSize()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_imageSize_c0_0, &_call_cbs_imageSize_c0_0); - methods += new qt_gsi::GenericMethod ("imageSize", "@hide", true, &_init_cbs_imageSize_c0_0, &_call_cbs_imageSize_c0_0, &_set_callback_cbs_imageSize_c0_0); - return methods; -} - -gsi::Class decl_QAccessibleImageInterface_Adaptor (qtdecl_QAccessibleImageInterface (), "Qt", "QAccessibleImageInterface", - methods_QAccessibleImageInterface_Adaptor (), - "@qt\n@brief Binding of QAccessibleImageInterface"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleInterface.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleInterface.cc deleted file mode 100644 index 7936a8b79..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleInterface.cc +++ /dev/null @@ -1,441 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAccessibleInterface.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAccessibleInterface - -// QColor QAccessibleInterface::backgroundColor() - - -static void _init_f_backgroundColor_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_backgroundColor_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QColor)((QAccessibleInterface *)cls)->backgroundColor ()); -} - - -// QAccessibleInterface *QAccessibleInterface::child(int index) - - -static void _init_f_child_c767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("index"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_child_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 ((QAccessibleInterface *)((QAccessibleInterface *)cls)->child (arg1)); -} - - -// QAccessibleInterface *QAccessibleInterface::childAt(int x, int y) - - -static void _init_f_childAt_c1426 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("x"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("y"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_childAt_c1426 (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); - int arg2 = gsi::arg_reader() (args, heap); - ret.write ((QAccessibleInterface *)((QAccessibleInterface *)cls)->childAt (arg1, arg2)); -} - - -// int QAccessibleInterface::childCount() - - -static void _init_f_childCount_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_childCount_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleInterface *)cls)->childCount ()); -} - - -// QAccessibleInterface *QAccessibleInterface::focusChild() - - -static void _init_f_focusChild_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_focusChild_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAccessibleInterface *)((QAccessibleInterface *)cls)->focusChild ()); -} - - -// QColor QAccessibleInterface::foregroundColor() - - -static void _init_f_foregroundColor_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_foregroundColor_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QColor)((QAccessibleInterface *)cls)->foregroundColor ()); -} - - -// QAccessibleHyperlinkInterface *QAccessibleInterface::hyperlinkInterface() - - -static void _init_f_hyperlinkInterface_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_hyperlinkInterface_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAccessibleHyperlinkInterface *)((QAccessibleInterface *)cls)->hyperlinkInterface ()); -} - - -// int QAccessibleInterface::indexOfChild(const QAccessibleInterface *) - - -static void _init_f_indexOfChild_c3317 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_indexOfChild_c3317 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QAccessibleInterface *arg1 = gsi::arg_reader() (args, heap); - ret.write ((int)((QAccessibleInterface *)cls)->indexOfChild (arg1)); -} - - -// void *QAccessibleInterface::interface_cast(QAccessible::InterfaceType) - - -static void _init_f_interface_cast_2970 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_interface_cast_2970 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write ((void *)((QAccessibleInterface *)cls)->interface_cast (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// bool QAccessibleInterface::isValid() - - -static void _init_f_isValid_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isValid_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QAccessibleInterface *)cls)->isValid ()); -} - - -// QObject *QAccessibleInterface::object() - - -static void _init_f_object_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_object_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QObject *)((QAccessibleInterface *)cls)->object ()); -} - - -// QAccessibleInterface *QAccessibleInterface::parent() - - -static void _init_f_parent_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_parent_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAccessibleInterface *)((QAccessibleInterface *)cls)->parent ()); -} - - -// QRect QAccessibleInterface::rect() - - -static void _init_f_rect_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_rect_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QRect)((QAccessibleInterface *)cls)->rect ()); -} - - -// QList > QAccessibleInterface::relations(QFlags match) - - -static void _init_f_relations_c3543 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("match", true, "QAccessible::AllRelations"); - decl->add_arg > (argspec_0); - decl->set_return > > (); -} - -static void _call_f_relations_c3543 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QFlags arg1 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (QAccessible::AllRelations, heap); - ret.write > > ((QList >)((QAccessibleInterface *)cls)->relations (arg1)); -} - - -// QAccessible::Role QAccessibleInterface::role() - - -static void _init_f_role_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_role_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QAccessibleInterface *)cls)->role ())); -} - - -// void QAccessibleInterface::setText(QAccessible::Text t, const QString &text) - - -static void _init_f_setText_3977 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("t"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("text"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_setText_3977 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - const QString &arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleInterface *)cls)->setText (qt_gsi::QtToCppAdaptor(arg1).cref(), arg2); -} - - -// QAccessible::State QAccessibleInterface::state() - - -static void _init_f_state_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_state_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAccessible::State)((QAccessibleInterface *)cls)->state ()); -} - - -// QAccessibleTableCellInterface *QAccessibleInterface::tableCellInterface() - - -static void _init_f_tableCellInterface_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_tableCellInterface_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAccessibleTableCellInterface *)((QAccessibleInterface *)cls)->tableCellInterface ()); -} - - -// QString QAccessibleInterface::text(QAccessible::Text t) - - -static void _init_f_text_c2060 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("t"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_text_c2060 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write ((QString)((QAccessibleInterface *)cls)->text (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// void QAccessibleInterface::virtual_hook(int id, void *data) - - -static void _init_f_virtual_hook_1715 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("id"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("data"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_virtual_hook_1715 (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); - void *arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleInterface *)cls)->virtual_hook (arg1, arg2); -} - - -// QWindow *QAccessibleInterface::window() - - -static void _init_f_window_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_window_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QWindow *)((QAccessibleInterface *)cls)->window ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QAccessibleInterface () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("backgroundColor", "@brief Method QColor QAccessibleInterface::backgroundColor()\n", true, &_init_f_backgroundColor_c0, &_call_f_backgroundColor_c0); - methods += new qt_gsi::GenericMethod ("child", "@brief Method QAccessibleInterface *QAccessibleInterface::child(int index)\n", true, &_init_f_child_c767, &_call_f_child_c767); - methods += new qt_gsi::GenericMethod ("childAt", "@brief Method QAccessibleInterface *QAccessibleInterface::childAt(int x, int y)\n", true, &_init_f_childAt_c1426, &_call_f_childAt_c1426); - methods += new qt_gsi::GenericMethod ("childCount", "@brief Method int QAccessibleInterface::childCount()\n", true, &_init_f_childCount_c0, &_call_f_childCount_c0); - methods += new qt_gsi::GenericMethod ("focusChild", "@brief Method QAccessibleInterface *QAccessibleInterface::focusChild()\n", true, &_init_f_focusChild_c0, &_call_f_focusChild_c0); - methods += new qt_gsi::GenericMethod ("foregroundColor", "@brief Method QColor QAccessibleInterface::foregroundColor()\n", true, &_init_f_foregroundColor_c0, &_call_f_foregroundColor_c0); - methods += new qt_gsi::GenericMethod ("hyperlinkInterface", "@brief Method QAccessibleHyperlinkInterface *QAccessibleInterface::hyperlinkInterface()\n", false, &_init_f_hyperlinkInterface_0, &_call_f_hyperlinkInterface_0); - methods += new qt_gsi::GenericMethod ("indexOfChild", "@brief Method int QAccessibleInterface::indexOfChild(const QAccessibleInterface *)\n", true, &_init_f_indexOfChild_c3317, &_call_f_indexOfChild_c3317); - methods += new qt_gsi::GenericMethod ("interface_cast", "@brief Method void *QAccessibleInterface::interface_cast(QAccessible::InterfaceType)\n", false, &_init_f_interface_cast_2970, &_call_f_interface_cast_2970); - methods += new qt_gsi::GenericMethod ("isValid?", "@brief Method bool QAccessibleInterface::isValid()\n", true, &_init_f_isValid_c0, &_call_f_isValid_c0); - methods += new qt_gsi::GenericMethod ("object", "@brief Method QObject *QAccessibleInterface::object()\n", true, &_init_f_object_c0, &_call_f_object_c0); - methods += new qt_gsi::GenericMethod ("parent", "@brief Method QAccessibleInterface *QAccessibleInterface::parent()\n", true, &_init_f_parent_c0, &_call_f_parent_c0); - methods += new qt_gsi::GenericMethod ("rect", "@brief Method QRect QAccessibleInterface::rect()\n", true, &_init_f_rect_c0, &_call_f_rect_c0); - methods += new qt_gsi::GenericMethod ("relations", "@brief Method QList > QAccessibleInterface::relations(QFlags match)\n", true, &_init_f_relations_c3543, &_call_f_relations_c3543); - methods += new qt_gsi::GenericMethod ("role", "@brief Method QAccessible::Role QAccessibleInterface::role()\n", true, &_init_f_role_c0, &_call_f_role_c0); - methods += new qt_gsi::GenericMethod ("setText", "@brief Method void QAccessibleInterface::setText(QAccessible::Text t, const QString &text)\n", false, &_init_f_setText_3977, &_call_f_setText_3977); - methods += new qt_gsi::GenericMethod ("state", "@brief Method QAccessible::State QAccessibleInterface::state()\n", true, &_init_f_state_c0, &_call_f_state_c0); - methods += new qt_gsi::GenericMethod ("tableCellInterface", "@brief Method QAccessibleTableCellInterface *QAccessibleInterface::tableCellInterface()\n", false, &_init_f_tableCellInterface_0, &_call_f_tableCellInterface_0); - methods += new qt_gsi::GenericMethod ("text", "@brief Method QString QAccessibleInterface::text(QAccessible::Text t)\n", true, &_init_f_text_c2060, &_call_f_text_c2060); - methods += new qt_gsi::GenericMethod ("virtual_hook", "@brief Method void QAccessibleInterface::virtual_hook(int id, void *data)\n", false, &_init_f_virtual_hook_1715, &_call_f_virtual_hook_1715); - methods += new qt_gsi::GenericMethod ("window", "@brief Method QWindow *QAccessibleInterface::window()\n", true, &_init_f_window_c0, &_call_f_window_c0); - return methods; -} - -gsi::Class decl_QAccessibleInterface ("Qt", "QAccessibleInterface", - methods_QAccessibleInterface (), - "@qt\n@brief Binding of QAccessibleInterface"); - - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAccessibleInterface () { return decl_QAccessibleInterface; } - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleObject.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleObject.cc deleted file mode 100644 index fb9218296..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleObject.cc +++ /dev/null @@ -1,160 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAccessibleObject.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAccessibleObject - -// QAccessibleInterface *QAccessibleObject::childAt(int x, int y) - - -static void _init_f_childAt_c1426 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("x"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("y"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_childAt_c1426 (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); - int arg2 = gsi::arg_reader() (args, heap); - ret.write ((QAccessibleInterface *)((QAccessibleObject *)cls)->childAt (arg1, arg2)); -} - - -// bool QAccessibleObject::isValid() - - -static void _init_f_isValid_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isValid_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QAccessibleObject *)cls)->isValid ()); -} - - -// QObject *QAccessibleObject::object() - - -static void _init_f_object_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_object_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QObject *)((QAccessibleObject *)cls)->object ()); -} - - -// QRect QAccessibleObject::rect() - - -static void _init_f_rect_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_rect_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QRect)((QAccessibleObject *)cls)->rect ()); -} - - -// void QAccessibleObject::setText(QAccessible::Text t, const QString &text) - - -static void _init_f_setText_3977 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("t"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("text"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_setText_3977 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - const QString &arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleObject *)cls)->setText (qt_gsi::QtToCppAdaptor(arg1).cref(), arg2); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QAccessibleObject () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("childAt", "@brief Method QAccessibleInterface *QAccessibleObject::childAt(int x, int y)\nThis is a reimplementation of QAccessibleInterface::childAt", true, &_init_f_childAt_c1426, &_call_f_childAt_c1426); - methods += new qt_gsi::GenericMethod ("isValid?", "@brief Method bool QAccessibleObject::isValid()\nThis is a reimplementation of QAccessibleInterface::isValid", true, &_init_f_isValid_c0, &_call_f_isValid_c0); - methods += new qt_gsi::GenericMethod ("object", "@brief Method QObject *QAccessibleObject::object()\nThis is a reimplementation of QAccessibleInterface::object", true, &_init_f_object_c0, &_call_f_object_c0); - methods += new qt_gsi::GenericMethod ("rect", "@brief Method QRect QAccessibleObject::rect()\nThis is a reimplementation of QAccessibleInterface::rect", true, &_init_f_rect_c0, &_call_f_rect_c0); - methods += new qt_gsi::GenericMethod ("setText", "@brief Method void QAccessibleObject::setText(QAccessible::Text t, const QString &text)\nThis is a reimplementation of QAccessibleInterface::setText", false, &_init_f_setText_3977, &_call_f_setText_3977); - return methods; -} - -gsi::Class &qtdecl_QAccessibleInterface (); - -gsi::Class decl_QAccessibleObject (qtdecl_QAccessibleInterface (), "Qt", "QAccessibleObject", - methods_QAccessibleObject (), - "@qt\n@brief Binding of QAccessibleObject"); - - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAccessibleObject () { return decl_QAccessibleObject; } - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleStateChangeEvent.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleStateChangeEvent.cc deleted file mode 100644 index c24ae57b0..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleStateChangeEvent.cc +++ /dev/null @@ -1,194 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAccessibleStateChangeEvent.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAccessibleStateChangeEvent - -// QAccessible::State QAccessibleStateChangeEvent::changedStates() - - -static void _init_f_changedStates_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_changedStates_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAccessible::State)((QAccessibleStateChangeEvent *)cls)->changedStates ()); -} - - -namespace gsi -{ - -static gsi::Methods methods_QAccessibleStateChangeEvent () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("changedStates", "@brief Method QAccessible::State QAccessibleStateChangeEvent::changedStates()\n", true, &_init_f_changedStates_c0, &_call_f_changedStates_c0); - return methods; -} - -gsi::Class &qtdecl_QAccessibleEvent (); - -gsi::Class decl_QAccessibleStateChangeEvent (qtdecl_QAccessibleEvent (), "Qt", "QAccessibleStateChangeEvent_Native", - methods_QAccessibleStateChangeEvent (), - "@hide\n@alias QAccessibleStateChangeEvent"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAccessibleStateChangeEvent () { return decl_QAccessibleStateChangeEvent; } - -} - - -class QAccessibleStateChangeEvent_Adaptor : public QAccessibleStateChangeEvent, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QAccessibleStateChangeEvent_Adaptor(); - - // [adaptor ctor] QAccessibleStateChangeEvent::QAccessibleStateChangeEvent(QObject *obj, QAccessible::State state) - QAccessibleStateChangeEvent_Adaptor(QObject *obj, QAccessible::State state) : QAccessibleStateChangeEvent(obj, state) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QAccessibleStateChangeEvent::QAccessibleStateChangeEvent(QAccessibleInterface *iface, QAccessible::State state) - QAccessibleStateChangeEvent_Adaptor(QAccessibleInterface *iface, QAccessible::State state) : QAccessibleStateChangeEvent(iface, state) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor impl] QAccessibleInterface *QAccessibleStateChangeEvent::accessibleInterface() - QAccessibleInterface * cbs_accessibleInterface_c0_0() const - { - return QAccessibleStateChangeEvent::accessibleInterface(); - } - - virtual QAccessibleInterface * accessibleInterface() const - { - if (cb_accessibleInterface_c0_0.can_issue()) { - return cb_accessibleInterface_c0_0.issue(&QAccessibleStateChangeEvent_Adaptor::cbs_accessibleInterface_c0_0); - } else { - return QAccessibleStateChangeEvent::accessibleInterface(); - } - } - - gsi::Callback cb_accessibleInterface_c0_0; -}; - -QAccessibleStateChangeEvent_Adaptor::~QAccessibleStateChangeEvent_Adaptor() { } - -// Constructor QAccessibleStateChangeEvent::QAccessibleStateChangeEvent(QObject *obj, QAccessible::State state) (adaptor class) - -static void _init_ctor_QAccessibleStateChangeEvent_Adaptor_3346 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("obj"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("state"); - decl->add_arg (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleStateChangeEvent_Adaptor_3346 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = gsi::arg_reader() (args, heap); - QAccessible::State arg2 = gsi::arg_reader() (args, heap); - ret.write (new QAccessibleStateChangeEvent_Adaptor (arg1, arg2)); -} - - -// Constructor QAccessibleStateChangeEvent::QAccessibleStateChangeEvent(QAccessibleInterface *iface, QAccessible::State state) (adaptor class) - -static void _init_ctor_QAccessibleStateChangeEvent_Adaptor_4666 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("iface"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("state"); - decl->add_arg (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleStateChangeEvent_Adaptor_4666 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QAccessibleInterface *arg1 = gsi::arg_reader() (args, heap); - QAccessible::State arg2 = gsi::arg_reader() (args, heap); - ret.write (new QAccessibleStateChangeEvent_Adaptor (arg1, arg2)); -} - - -// QAccessibleInterface *QAccessibleStateChangeEvent::accessibleInterface() - -static void _init_cbs_accessibleInterface_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_accessibleInterface_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAccessibleInterface *)((QAccessibleStateChangeEvent_Adaptor *)cls)->cbs_accessibleInterface_c0_0 ()); -} - -static void _set_callback_cbs_accessibleInterface_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleStateChangeEvent_Adaptor *)cls)->cb_accessibleInterface_c0_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QAccessibleStateChangeEvent (); - -static gsi::Methods methods_QAccessibleStateChangeEvent_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleStateChangeEvent::QAccessibleStateChangeEvent(QObject *obj, QAccessible::State state)\nThis method creates an object of class QAccessibleStateChangeEvent.", &_init_ctor_QAccessibleStateChangeEvent_Adaptor_3346, &_call_ctor_QAccessibleStateChangeEvent_Adaptor_3346); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleStateChangeEvent::QAccessibleStateChangeEvent(QAccessibleInterface *iface, QAccessible::State state)\nThis method creates an object of class QAccessibleStateChangeEvent.", &_init_ctor_QAccessibleStateChangeEvent_Adaptor_4666, &_call_ctor_QAccessibleStateChangeEvent_Adaptor_4666); - methods += new qt_gsi::GenericMethod ("accessibleInterface", "@brief Virtual method QAccessibleInterface *QAccessibleStateChangeEvent::accessibleInterface()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0); - methods += new qt_gsi::GenericMethod ("accessibleInterface", "@hide", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0, &_set_callback_cbs_accessibleInterface_c0_0); - return methods; -} - -gsi::Class decl_QAccessibleStateChangeEvent_Adaptor (qtdecl_QAccessibleStateChangeEvent (), "Qt", "QAccessibleStateChangeEvent", - methods_QAccessibleStateChangeEvent_Adaptor (), - "@qt\n@brief Binding of QAccessibleStateChangeEvent"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTableCellInterface.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTableCellInterface.cc deleted file mode 100644 index 2841fa874..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTableCellInterface.cc +++ /dev/null @@ -1,527 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAccessibleTableCellInterface.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAccessibleTableCellInterface - -// int QAccessibleTableCellInterface::columnExtent() - - -static void _init_f_columnExtent_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_columnExtent_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTableCellInterface *)cls)->columnExtent ()); -} - - -// QList QAccessibleTableCellInterface::columnHeaderCells() - - -static void _init_f_columnHeaderCells_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_columnHeaderCells_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QList)((QAccessibleTableCellInterface *)cls)->columnHeaderCells ()); -} - - -// int QAccessibleTableCellInterface::columnIndex() - - -static void _init_f_columnIndex_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_columnIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTableCellInterface *)cls)->columnIndex ()); -} - - -// bool QAccessibleTableCellInterface::isSelected() - - -static void _init_f_isSelected_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isSelected_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QAccessibleTableCellInterface *)cls)->isSelected ()); -} - - -// int QAccessibleTableCellInterface::rowExtent() - - -static void _init_f_rowExtent_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_rowExtent_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTableCellInterface *)cls)->rowExtent ()); -} - - -// QList QAccessibleTableCellInterface::rowHeaderCells() - - -static void _init_f_rowHeaderCells_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_rowHeaderCells_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QList)((QAccessibleTableCellInterface *)cls)->rowHeaderCells ()); -} - - -// int QAccessibleTableCellInterface::rowIndex() - - -static void _init_f_rowIndex_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_rowIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTableCellInterface *)cls)->rowIndex ()); -} - - -// QAccessibleInterface *QAccessibleTableCellInterface::table() - - -static void _init_f_table_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_table_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAccessibleInterface *)((QAccessibleTableCellInterface *)cls)->table ()); -} - - -namespace gsi -{ - -static gsi::Methods methods_QAccessibleTableCellInterface () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("columnExtent", "@brief Method int QAccessibleTableCellInterface::columnExtent()\n", true, &_init_f_columnExtent_c0, &_call_f_columnExtent_c0); - methods += new qt_gsi::GenericMethod ("columnHeaderCells", "@brief Method QList QAccessibleTableCellInterface::columnHeaderCells()\n", true, &_init_f_columnHeaderCells_c0, &_call_f_columnHeaderCells_c0); - methods += new qt_gsi::GenericMethod ("columnIndex", "@brief Method int QAccessibleTableCellInterface::columnIndex()\n", true, &_init_f_columnIndex_c0, &_call_f_columnIndex_c0); - methods += new qt_gsi::GenericMethod ("isSelected?", "@brief Method bool QAccessibleTableCellInterface::isSelected()\n", true, &_init_f_isSelected_c0, &_call_f_isSelected_c0); - methods += new qt_gsi::GenericMethod ("rowExtent", "@brief Method int QAccessibleTableCellInterface::rowExtent()\n", true, &_init_f_rowExtent_c0, &_call_f_rowExtent_c0); - methods += new qt_gsi::GenericMethod ("rowHeaderCells", "@brief Method QList QAccessibleTableCellInterface::rowHeaderCells()\n", true, &_init_f_rowHeaderCells_c0, &_call_f_rowHeaderCells_c0); - methods += new qt_gsi::GenericMethod ("rowIndex", "@brief Method int QAccessibleTableCellInterface::rowIndex()\n", true, &_init_f_rowIndex_c0, &_call_f_rowIndex_c0); - methods += new qt_gsi::GenericMethod ("table", "@brief Method QAccessibleInterface *QAccessibleTableCellInterface::table()\n", true, &_init_f_table_c0, &_call_f_table_c0); - return methods; -} - -gsi::Class decl_QAccessibleTableCellInterface ("Qt", "QAccessibleTableCellInterface_Native", - methods_QAccessibleTableCellInterface (), - "@hide\n@alias QAccessibleTableCellInterface"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAccessibleTableCellInterface () { return decl_QAccessibleTableCellInterface; } - -} - - -class QAccessibleTableCellInterface_Adaptor : public QAccessibleTableCellInterface, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QAccessibleTableCellInterface_Adaptor(); - - // [adaptor ctor] QAccessibleTableCellInterface::QAccessibleTableCellInterface() - QAccessibleTableCellInterface_Adaptor() : QAccessibleTableCellInterface() - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor impl] int QAccessibleTableCellInterface::columnExtent() - int cbs_columnExtent_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("columnExtent"); - } - - virtual int columnExtent() const - { - if (cb_columnExtent_c0_0.can_issue()) { - return cb_columnExtent_c0_0.issue(&QAccessibleTableCellInterface_Adaptor::cbs_columnExtent_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("columnExtent"); - } - } - - // [adaptor impl] QList QAccessibleTableCellInterface::columnHeaderCells() - QList cbs_columnHeaderCells_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("columnHeaderCells"); - } - - virtual QList columnHeaderCells() const - { - if (cb_columnHeaderCells_c0_0.can_issue()) { - return cb_columnHeaderCells_c0_0.issue >(&QAccessibleTableCellInterface_Adaptor::cbs_columnHeaderCells_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("columnHeaderCells"); - } - } - - // [adaptor impl] int QAccessibleTableCellInterface::columnIndex() - int cbs_columnIndex_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("columnIndex"); - } - - virtual int columnIndex() const - { - if (cb_columnIndex_c0_0.can_issue()) { - return cb_columnIndex_c0_0.issue(&QAccessibleTableCellInterface_Adaptor::cbs_columnIndex_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("columnIndex"); - } - } - - // [adaptor impl] bool QAccessibleTableCellInterface::isSelected() - bool cbs_isSelected_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("isSelected"); - } - - virtual bool isSelected() const - { - if (cb_isSelected_c0_0.can_issue()) { - return cb_isSelected_c0_0.issue(&QAccessibleTableCellInterface_Adaptor::cbs_isSelected_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("isSelected"); - } - } - - // [adaptor impl] int QAccessibleTableCellInterface::rowExtent() - int cbs_rowExtent_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("rowExtent"); - } - - virtual int rowExtent() const - { - if (cb_rowExtent_c0_0.can_issue()) { - return cb_rowExtent_c0_0.issue(&QAccessibleTableCellInterface_Adaptor::cbs_rowExtent_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("rowExtent"); - } - } - - // [adaptor impl] QList QAccessibleTableCellInterface::rowHeaderCells() - QList cbs_rowHeaderCells_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("rowHeaderCells"); - } - - virtual QList rowHeaderCells() const - { - if (cb_rowHeaderCells_c0_0.can_issue()) { - return cb_rowHeaderCells_c0_0.issue >(&QAccessibleTableCellInterface_Adaptor::cbs_rowHeaderCells_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("rowHeaderCells"); - } - } - - // [adaptor impl] int QAccessibleTableCellInterface::rowIndex() - int cbs_rowIndex_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("rowIndex"); - } - - virtual int rowIndex() const - { - if (cb_rowIndex_c0_0.can_issue()) { - return cb_rowIndex_c0_0.issue(&QAccessibleTableCellInterface_Adaptor::cbs_rowIndex_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("rowIndex"); - } - } - - // [adaptor impl] QAccessibleInterface *QAccessibleTableCellInterface::table() - QAccessibleInterface * cbs_table_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("table"); - } - - virtual QAccessibleInterface * table() const - { - if (cb_table_c0_0.can_issue()) { - return cb_table_c0_0.issue(&QAccessibleTableCellInterface_Adaptor::cbs_table_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("table"); - } - } - - gsi::Callback cb_columnExtent_c0_0; - gsi::Callback cb_columnHeaderCells_c0_0; - gsi::Callback cb_columnIndex_c0_0; - gsi::Callback cb_isSelected_c0_0; - gsi::Callback cb_rowExtent_c0_0; - gsi::Callback cb_rowHeaderCells_c0_0; - gsi::Callback cb_rowIndex_c0_0; - gsi::Callback cb_table_c0_0; -}; - -QAccessibleTableCellInterface_Adaptor::~QAccessibleTableCellInterface_Adaptor() { } - -// Constructor QAccessibleTableCellInterface::QAccessibleTableCellInterface() (adaptor class) - -static void _init_ctor_QAccessibleTableCellInterface_Adaptor_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleTableCellInterface_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QAccessibleTableCellInterface_Adaptor ()); -} - - -// int QAccessibleTableCellInterface::columnExtent() - -static void _init_cbs_columnExtent_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_columnExtent_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTableCellInterface_Adaptor *)cls)->cbs_columnExtent_c0_0 ()); -} - -static void _set_callback_cbs_columnExtent_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableCellInterface_Adaptor *)cls)->cb_columnExtent_c0_0 = cb; -} - - -// QList QAccessibleTableCellInterface::columnHeaderCells() - -static void _init_cbs_columnHeaderCells_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_cbs_columnHeaderCells_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QList)((QAccessibleTableCellInterface_Adaptor *)cls)->cbs_columnHeaderCells_c0_0 ()); -} - -static void _set_callback_cbs_columnHeaderCells_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableCellInterface_Adaptor *)cls)->cb_columnHeaderCells_c0_0 = cb; -} - - -// int QAccessibleTableCellInterface::columnIndex() - -static void _init_cbs_columnIndex_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_columnIndex_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTableCellInterface_Adaptor *)cls)->cbs_columnIndex_c0_0 ()); -} - -static void _set_callback_cbs_columnIndex_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableCellInterface_Adaptor *)cls)->cb_columnIndex_c0_0 = cb; -} - - -// bool QAccessibleTableCellInterface::isSelected() - -static void _init_cbs_isSelected_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_isSelected_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QAccessibleTableCellInterface_Adaptor *)cls)->cbs_isSelected_c0_0 ()); -} - -static void _set_callback_cbs_isSelected_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableCellInterface_Adaptor *)cls)->cb_isSelected_c0_0 = cb; -} - - -// int QAccessibleTableCellInterface::rowExtent() - -static void _init_cbs_rowExtent_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_rowExtent_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTableCellInterface_Adaptor *)cls)->cbs_rowExtent_c0_0 ()); -} - -static void _set_callback_cbs_rowExtent_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableCellInterface_Adaptor *)cls)->cb_rowExtent_c0_0 = cb; -} - - -// QList QAccessibleTableCellInterface::rowHeaderCells() - -static void _init_cbs_rowHeaderCells_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_cbs_rowHeaderCells_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QList)((QAccessibleTableCellInterface_Adaptor *)cls)->cbs_rowHeaderCells_c0_0 ()); -} - -static void _set_callback_cbs_rowHeaderCells_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableCellInterface_Adaptor *)cls)->cb_rowHeaderCells_c0_0 = cb; -} - - -// int QAccessibleTableCellInterface::rowIndex() - -static void _init_cbs_rowIndex_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_rowIndex_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTableCellInterface_Adaptor *)cls)->cbs_rowIndex_c0_0 ()); -} - -static void _set_callback_cbs_rowIndex_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableCellInterface_Adaptor *)cls)->cb_rowIndex_c0_0 = cb; -} - - -// QAccessibleInterface *QAccessibleTableCellInterface::table() - -static void _init_cbs_table_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_table_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAccessibleInterface *)((QAccessibleTableCellInterface_Adaptor *)cls)->cbs_table_c0_0 ()); -} - -static void _set_callback_cbs_table_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableCellInterface_Adaptor *)cls)->cb_table_c0_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QAccessibleTableCellInterface (); - -static gsi::Methods methods_QAccessibleTableCellInterface_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTableCellInterface::QAccessibleTableCellInterface()\nThis method creates an object of class QAccessibleTableCellInterface.", &_init_ctor_QAccessibleTableCellInterface_Adaptor_0, &_call_ctor_QAccessibleTableCellInterface_Adaptor_0); - methods += new qt_gsi::GenericMethod ("columnExtent", "@brief Virtual method int QAccessibleTableCellInterface::columnExtent()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_columnExtent_c0_0, &_call_cbs_columnExtent_c0_0); - methods += new qt_gsi::GenericMethod ("columnExtent", "@hide", true, &_init_cbs_columnExtent_c0_0, &_call_cbs_columnExtent_c0_0, &_set_callback_cbs_columnExtent_c0_0); - methods += new qt_gsi::GenericMethod ("columnHeaderCells", "@brief Virtual method QList QAccessibleTableCellInterface::columnHeaderCells()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_columnHeaderCells_c0_0, &_call_cbs_columnHeaderCells_c0_0); - methods += new qt_gsi::GenericMethod ("columnHeaderCells", "@hide", true, &_init_cbs_columnHeaderCells_c0_0, &_call_cbs_columnHeaderCells_c0_0, &_set_callback_cbs_columnHeaderCells_c0_0); - methods += new qt_gsi::GenericMethod ("columnIndex", "@brief Virtual method int QAccessibleTableCellInterface::columnIndex()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_columnIndex_c0_0, &_call_cbs_columnIndex_c0_0); - methods += new qt_gsi::GenericMethod ("columnIndex", "@hide", true, &_init_cbs_columnIndex_c0_0, &_call_cbs_columnIndex_c0_0, &_set_callback_cbs_columnIndex_c0_0); - methods += new qt_gsi::GenericMethod ("isSelected", "@brief Virtual method bool QAccessibleTableCellInterface::isSelected()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_isSelected_c0_0, &_call_cbs_isSelected_c0_0); - methods += new qt_gsi::GenericMethod ("isSelected", "@hide", true, &_init_cbs_isSelected_c0_0, &_call_cbs_isSelected_c0_0, &_set_callback_cbs_isSelected_c0_0); - methods += new qt_gsi::GenericMethod ("rowExtent", "@brief Virtual method int QAccessibleTableCellInterface::rowExtent()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_rowExtent_c0_0, &_call_cbs_rowExtent_c0_0); - methods += new qt_gsi::GenericMethod ("rowExtent", "@hide", true, &_init_cbs_rowExtent_c0_0, &_call_cbs_rowExtent_c0_0, &_set_callback_cbs_rowExtent_c0_0); - methods += new qt_gsi::GenericMethod ("rowHeaderCells", "@brief Virtual method QList QAccessibleTableCellInterface::rowHeaderCells()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_rowHeaderCells_c0_0, &_call_cbs_rowHeaderCells_c0_0); - methods += new qt_gsi::GenericMethod ("rowHeaderCells", "@hide", true, &_init_cbs_rowHeaderCells_c0_0, &_call_cbs_rowHeaderCells_c0_0, &_set_callback_cbs_rowHeaderCells_c0_0); - methods += new qt_gsi::GenericMethod ("rowIndex", "@brief Virtual method int QAccessibleTableCellInterface::rowIndex()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_rowIndex_c0_0, &_call_cbs_rowIndex_c0_0); - methods += new qt_gsi::GenericMethod ("rowIndex", "@hide", true, &_init_cbs_rowIndex_c0_0, &_call_cbs_rowIndex_c0_0, &_set_callback_cbs_rowIndex_c0_0); - methods += new qt_gsi::GenericMethod ("table", "@brief Virtual method QAccessibleInterface *QAccessibleTableCellInterface::table()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_table_c0_0, &_call_cbs_table_c0_0); - methods += new qt_gsi::GenericMethod ("table", "@hide", true, &_init_cbs_table_c0_0, &_call_cbs_table_c0_0, &_set_callback_cbs_table_c0_0); - return methods; -} - -gsi::Class decl_QAccessibleTableCellInterface_Adaptor (qtdecl_QAccessibleTableCellInterface (), "Qt", "QAccessibleTableCellInterface", - methods_QAccessibleTableCellInterface_Adaptor (), - "@qt\n@brief Binding of QAccessibleTableCellInterface"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTableInterface.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTableInterface.cc deleted file mode 100644 index 4ce5f5b35..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTableInterface.cc +++ /dev/null @@ -1,1263 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAccessibleTableInterface.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAccessibleTableInterface - -// QAccessibleInterface *QAccessibleTableInterface::caption() - - -static void _init_f_caption_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_caption_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAccessibleInterface *)((QAccessibleTableInterface *)cls)->caption ()); -} - - -// QAccessibleInterface *QAccessibleTableInterface::cellAt(int row, int column) - - -static void _init_f_cellAt_c1426 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("column"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_cellAt_c1426 (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); - int arg2 = gsi::arg_reader() (args, heap); - ret.write ((QAccessibleInterface *)((QAccessibleTableInterface *)cls)->cellAt (arg1, arg2)); -} - - -// int QAccessibleTableInterface::columnCount() - - -static void _init_f_columnCount_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_columnCount_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTableInterface *)cls)->columnCount ()); -} - - -// QString QAccessibleTableInterface::columnDescription(int column) - - -static void _init_f_columnDescription_c767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("column"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_columnDescription_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 ((QString)((QAccessibleTableInterface *)cls)->columnDescription (arg1)); -} - - -// bool QAccessibleTableInterface::isColumnSelected(int column) - - -static void _init_f_isColumnSelected_c767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("column"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_isColumnSelected_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 ((bool)((QAccessibleTableInterface *)cls)->isColumnSelected (arg1)); -} - - -// bool QAccessibleTableInterface::isRowSelected(int row) - - -static void _init_f_isRowSelected_c767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_isRowSelected_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 ((bool)((QAccessibleTableInterface *)cls)->isRowSelected (arg1)); -} - - -// void QAccessibleTableInterface::modelChange(QAccessibleTableModelChangeEvent *event) - - -static void _init_f_modelChange_3790 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_modelChange_3790 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QAccessibleTableModelChangeEvent *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleTableInterface *)cls)->modelChange (arg1); -} - - -// int QAccessibleTableInterface::rowCount() - - -static void _init_f_rowCount_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_rowCount_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTableInterface *)cls)->rowCount ()); -} - - -// QString QAccessibleTableInterface::rowDescription(int row) - - -static void _init_f_rowDescription_c767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_rowDescription_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 ((QString)((QAccessibleTableInterface *)cls)->rowDescription (arg1)); -} - - -// bool QAccessibleTableInterface::selectColumn(int column) - - -static void _init_f_selectColumn_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("column"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_selectColumn_767 (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 ((bool)((QAccessibleTableInterface *)cls)->selectColumn (arg1)); -} - - -// bool QAccessibleTableInterface::selectRow(int row) - - -static void _init_f_selectRow_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_selectRow_767 (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 ((bool)((QAccessibleTableInterface *)cls)->selectRow (arg1)); -} - - -// int QAccessibleTableInterface::selectedCellCount() - - -static void _init_f_selectedCellCount_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_selectedCellCount_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTableInterface *)cls)->selectedCellCount ()); -} - - -// QList QAccessibleTableInterface::selectedCells() - - -static void _init_f_selectedCells_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_selectedCells_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QList)((QAccessibleTableInterface *)cls)->selectedCells ()); -} - - -// int QAccessibleTableInterface::selectedColumnCount() - - -static void _init_f_selectedColumnCount_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_selectedColumnCount_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTableInterface *)cls)->selectedColumnCount ()); -} - - -// QList QAccessibleTableInterface::selectedColumns() - - -static void _init_f_selectedColumns_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_selectedColumns_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QList)((QAccessibleTableInterface *)cls)->selectedColumns ()); -} - - -// int QAccessibleTableInterface::selectedRowCount() - - -static void _init_f_selectedRowCount_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_selectedRowCount_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTableInterface *)cls)->selectedRowCount ()); -} - - -// QList QAccessibleTableInterface::selectedRows() - - -static void _init_f_selectedRows_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_selectedRows_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QList)((QAccessibleTableInterface *)cls)->selectedRows ()); -} - - -// QAccessibleInterface *QAccessibleTableInterface::summary() - - -static void _init_f_summary_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_summary_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAccessibleInterface *)((QAccessibleTableInterface *)cls)->summary ()); -} - - -// bool QAccessibleTableInterface::unselectColumn(int column) - - -static void _init_f_unselectColumn_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("column"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_unselectColumn_767 (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 ((bool)((QAccessibleTableInterface *)cls)->unselectColumn (arg1)); -} - - -// bool QAccessibleTableInterface::unselectRow(int row) - - -static void _init_f_unselectRow_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_unselectRow_767 (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 ((bool)((QAccessibleTableInterface *)cls)->unselectRow (arg1)); -} - - -namespace gsi -{ - -static gsi::Methods methods_QAccessibleTableInterface () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("caption", "@brief Method QAccessibleInterface *QAccessibleTableInterface::caption()\n", true, &_init_f_caption_c0, &_call_f_caption_c0); - methods += new qt_gsi::GenericMethod ("cellAt", "@brief Method QAccessibleInterface *QAccessibleTableInterface::cellAt(int row, int column)\n", true, &_init_f_cellAt_c1426, &_call_f_cellAt_c1426); - methods += new qt_gsi::GenericMethod ("columnCount", "@brief Method int QAccessibleTableInterface::columnCount()\n", true, &_init_f_columnCount_c0, &_call_f_columnCount_c0); - methods += new qt_gsi::GenericMethod ("columnDescription", "@brief Method QString QAccessibleTableInterface::columnDescription(int column)\n", true, &_init_f_columnDescription_c767, &_call_f_columnDescription_c767); - methods += new qt_gsi::GenericMethod ("isColumnSelected?", "@brief Method bool QAccessibleTableInterface::isColumnSelected(int column)\n", true, &_init_f_isColumnSelected_c767, &_call_f_isColumnSelected_c767); - methods += new qt_gsi::GenericMethod ("isRowSelected?", "@brief Method bool QAccessibleTableInterface::isRowSelected(int row)\n", true, &_init_f_isRowSelected_c767, &_call_f_isRowSelected_c767); - methods += new qt_gsi::GenericMethod ("modelChange", "@brief Method void QAccessibleTableInterface::modelChange(QAccessibleTableModelChangeEvent *event)\n", false, &_init_f_modelChange_3790, &_call_f_modelChange_3790); - methods += new qt_gsi::GenericMethod ("rowCount", "@brief Method int QAccessibleTableInterface::rowCount()\n", true, &_init_f_rowCount_c0, &_call_f_rowCount_c0); - methods += new qt_gsi::GenericMethod ("rowDescription", "@brief Method QString QAccessibleTableInterface::rowDescription(int row)\n", true, &_init_f_rowDescription_c767, &_call_f_rowDescription_c767); - methods += new qt_gsi::GenericMethod ("selectColumn", "@brief Method bool QAccessibleTableInterface::selectColumn(int column)\n", false, &_init_f_selectColumn_767, &_call_f_selectColumn_767); - methods += new qt_gsi::GenericMethod ("selectRow", "@brief Method bool QAccessibleTableInterface::selectRow(int row)\n", false, &_init_f_selectRow_767, &_call_f_selectRow_767); - methods += new qt_gsi::GenericMethod ("selectedCellCount", "@brief Method int QAccessibleTableInterface::selectedCellCount()\n", true, &_init_f_selectedCellCount_c0, &_call_f_selectedCellCount_c0); - methods += new qt_gsi::GenericMethod ("selectedCells", "@brief Method QList QAccessibleTableInterface::selectedCells()\n", true, &_init_f_selectedCells_c0, &_call_f_selectedCells_c0); - methods += new qt_gsi::GenericMethod ("selectedColumnCount", "@brief Method int QAccessibleTableInterface::selectedColumnCount()\n", true, &_init_f_selectedColumnCount_c0, &_call_f_selectedColumnCount_c0); - methods += new qt_gsi::GenericMethod ("selectedColumns", "@brief Method QList QAccessibleTableInterface::selectedColumns()\n", true, &_init_f_selectedColumns_c0, &_call_f_selectedColumns_c0); - methods += new qt_gsi::GenericMethod ("selectedRowCount", "@brief Method int QAccessibleTableInterface::selectedRowCount()\n", true, &_init_f_selectedRowCount_c0, &_call_f_selectedRowCount_c0); - methods += new qt_gsi::GenericMethod ("selectedRows", "@brief Method QList QAccessibleTableInterface::selectedRows()\n", true, &_init_f_selectedRows_c0, &_call_f_selectedRows_c0); - methods += new qt_gsi::GenericMethod ("summary", "@brief Method QAccessibleInterface *QAccessibleTableInterface::summary()\n", true, &_init_f_summary_c0, &_call_f_summary_c0); - methods += new qt_gsi::GenericMethod ("unselectColumn", "@brief Method bool QAccessibleTableInterface::unselectColumn(int column)\n", false, &_init_f_unselectColumn_767, &_call_f_unselectColumn_767); - methods += new qt_gsi::GenericMethod ("unselectRow", "@brief Method bool QAccessibleTableInterface::unselectRow(int row)\n", false, &_init_f_unselectRow_767, &_call_f_unselectRow_767); - return methods; -} - -gsi::Class decl_QAccessibleTableInterface ("Qt", "QAccessibleTableInterface_Native", - methods_QAccessibleTableInterface (), - "@hide\n@alias QAccessibleTableInterface"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAccessibleTableInterface () { return decl_QAccessibleTableInterface; } - -} - - -class QAccessibleTableInterface_Adaptor : public QAccessibleTableInterface, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QAccessibleTableInterface_Adaptor(); - - // [adaptor ctor] QAccessibleTableInterface::QAccessibleTableInterface() - QAccessibleTableInterface_Adaptor() : QAccessibleTableInterface() - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor impl] QAccessibleInterface *QAccessibleTableInterface::caption() - QAccessibleInterface * cbs_caption_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("caption"); - } - - virtual QAccessibleInterface * caption() const - { - if (cb_caption_c0_0.can_issue()) { - return cb_caption_c0_0.issue(&QAccessibleTableInterface_Adaptor::cbs_caption_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("caption"); - } - } - - // [adaptor impl] QAccessibleInterface *QAccessibleTableInterface::cellAt(int row, int column) - QAccessibleInterface * cbs_cellAt_c1426_0(int row, int column) const - { - __SUPPRESS_UNUSED_WARNING (row); - __SUPPRESS_UNUSED_WARNING (column); - throw qt_gsi::AbstractMethodCalledException("cellAt"); - } - - virtual QAccessibleInterface * cellAt(int row, int column) const - { - if (cb_cellAt_c1426_0.can_issue()) { - return cb_cellAt_c1426_0.issue(&QAccessibleTableInterface_Adaptor::cbs_cellAt_c1426_0, row, column); - } else { - throw qt_gsi::AbstractMethodCalledException("cellAt"); - } - } - - // [adaptor impl] int QAccessibleTableInterface::columnCount() - int cbs_columnCount_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("columnCount"); - } - - virtual int columnCount() const - { - if (cb_columnCount_c0_0.can_issue()) { - return cb_columnCount_c0_0.issue(&QAccessibleTableInterface_Adaptor::cbs_columnCount_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("columnCount"); - } - } - - // [adaptor impl] QString QAccessibleTableInterface::columnDescription(int column) - QString cbs_columnDescription_c767_0(int column) const - { - __SUPPRESS_UNUSED_WARNING (column); - throw qt_gsi::AbstractMethodCalledException("columnDescription"); - } - - virtual QString columnDescription(int column) const - { - if (cb_columnDescription_c767_0.can_issue()) { - return cb_columnDescription_c767_0.issue(&QAccessibleTableInterface_Adaptor::cbs_columnDescription_c767_0, column); - } else { - throw qt_gsi::AbstractMethodCalledException("columnDescription"); - } - } - - // [adaptor impl] bool QAccessibleTableInterface::isColumnSelected(int column) - bool cbs_isColumnSelected_c767_0(int column) const - { - __SUPPRESS_UNUSED_WARNING (column); - throw qt_gsi::AbstractMethodCalledException("isColumnSelected"); - } - - virtual bool isColumnSelected(int column) const - { - if (cb_isColumnSelected_c767_0.can_issue()) { - return cb_isColumnSelected_c767_0.issue(&QAccessibleTableInterface_Adaptor::cbs_isColumnSelected_c767_0, column); - } else { - throw qt_gsi::AbstractMethodCalledException("isColumnSelected"); - } - } - - // [adaptor impl] bool QAccessibleTableInterface::isRowSelected(int row) - bool cbs_isRowSelected_c767_0(int row) const - { - __SUPPRESS_UNUSED_WARNING (row); - throw qt_gsi::AbstractMethodCalledException("isRowSelected"); - } - - virtual bool isRowSelected(int row) const - { - if (cb_isRowSelected_c767_0.can_issue()) { - return cb_isRowSelected_c767_0.issue(&QAccessibleTableInterface_Adaptor::cbs_isRowSelected_c767_0, row); - } else { - throw qt_gsi::AbstractMethodCalledException("isRowSelected"); - } - } - - // [adaptor impl] void QAccessibleTableInterface::modelChange(QAccessibleTableModelChangeEvent *event) - void cbs_modelChange_3790_0(QAccessibleTableModelChangeEvent *event) - { - __SUPPRESS_UNUSED_WARNING (event); - throw qt_gsi::AbstractMethodCalledException("modelChange"); - } - - virtual void modelChange(QAccessibleTableModelChangeEvent *event) - { - if (cb_modelChange_3790_0.can_issue()) { - cb_modelChange_3790_0.issue(&QAccessibleTableInterface_Adaptor::cbs_modelChange_3790_0, event); - } else { - throw qt_gsi::AbstractMethodCalledException("modelChange"); - } - } - - // [adaptor impl] int QAccessibleTableInterface::rowCount() - int cbs_rowCount_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("rowCount"); - } - - virtual int rowCount() const - { - if (cb_rowCount_c0_0.can_issue()) { - return cb_rowCount_c0_0.issue(&QAccessibleTableInterface_Adaptor::cbs_rowCount_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("rowCount"); - } - } - - // [adaptor impl] QString QAccessibleTableInterface::rowDescription(int row) - QString cbs_rowDescription_c767_0(int row) const - { - __SUPPRESS_UNUSED_WARNING (row); - throw qt_gsi::AbstractMethodCalledException("rowDescription"); - } - - virtual QString rowDescription(int row) const - { - if (cb_rowDescription_c767_0.can_issue()) { - return cb_rowDescription_c767_0.issue(&QAccessibleTableInterface_Adaptor::cbs_rowDescription_c767_0, row); - } else { - throw qt_gsi::AbstractMethodCalledException("rowDescription"); - } - } - - // [adaptor impl] bool QAccessibleTableInterface::selectColumn(int column) - bool cbs_selectColumn_767_0(int column) - { - __SUPPRESS_UNUSED_WARNING (column); - throw qt_gsi::AbstractMethodCalledException("selectColumn"); - } - - virtual bool selectColumn(int column) - { - if (cb_selectColumn_767_0.can_issue()) { - return cb_selectColumn_767_0.issue(&QAccessibleTableInterface_Adaptor::cbs_selectColumn_767_0, column); - } else { - throw qt_gsi::AbstractMethodCalledException("selectColumn"); - } - } - - // [adaptor impl] bool QAccessibleTableInterface::selectRow(int row) - bool cbs_selectRow_767_0(int row) - { - __SUPPRESS_UNUSED_WARNING (row); - throw qt_gsi::AbstractMethodCalledException("selectRow"); - } - - virtual bool selectRow(int row) - { - if (cb_selectRow_767_0.can_issue()) { - return cb_selectRow_767_0.issue(&QAccessibleTableInterface_Adaptor::cbs_selectRow_767_0, row); - } else { - throw qt_gsi::AbstractMethodCalledException("selectRow"); - } - } - - // [adaptor impl] int QAccessibleTableInterface::selectedCellCount() - int cbs_selectedCellCount_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("selectedCellCount"); - } - - virtual int selectedCellCount() const - { - if (cb_selectedCellCount_c0_0.can_issue()) { - return cb_selectedCellCount_c0_0.issue(&QAccessibleTableInterface_Adaptor::cbs_selectedCellCount_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("selectedCellCount"); - } - } - - // [adaptor impl] QList QAccessibleTableInterface::selectedCells() - QList cbs_selectedCells_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("selectedCells"); - } - - virtual QList selectedCells() const - { - if (cb_selectedCells_c0_0.can_issue()) { - return cb_selectedCells_c0_0.issue >(&QAccessibleTableInterface_Adaptor::cbs_selectedCells_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("selectedCells"); - } - } - - // [adaptor impl] int QAccessibleTableInterface::selectedColumnCount() - int cbs_selectedColumnCount_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("selectedColumnCount"); - } - - virtual int selectedColumnCount() const - { - if (cb_selectedColumnCount_c0_0.can_issue()) { - return cb_selectedColumnCount_c0_0.issue(&QAccessibleTableInterface_Adaptor::cbs_selectedColumnCount_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("selectedColumnCount"); - } - } - - // [adaptor impl] QList QAccessibleTableInterface::selectedColumns() - QList cbs_selectedColumns_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("selectedColumns"); - } - - virtual QList selectedColumns() const - { - if (cb_selectedColumns_c0_0.can_issue()) { - return cb_selectedColumns_c0_0.issue >(&QAccessibleTableInterface_Adaptor::cbs_selectedColumns_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("selectedColumns"); - } - } - - // [adaptor impl] int QAccessibleTableInterface::selectedRowCount() - int cbs_selectedRowCount_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("selectedRowCount"); - } - - virtual int selectedRowCount() const - { - if (cb_selectedRowCount_c0_0.can_issue()) { - return cb_selectedRowCount_c0_0.issue(&QAccessibleTableInterface_Adaptor::cbs_selectedRowCount_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("selectedRowCount"); - } - } - - // [adaptor impl] QList QAccessibleTableInterface::selectedRows() - QList cbs_selectedRows_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("selectedRows"); - } - - virtual QList selectedRows() const - { - if (cb_selectedRows_c0_0.can_issue()) { - return cb_selectedRows_c0_0.issue >(&QAccessibleTableInterface_Adaptor::cbs_selectedRows_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("selectedRows"); - } - } - - // [adaptor impl] QAccessibleInterface *QAccessibleTableInterface::summary() - QAccessibleInterface * cbs_summary_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("summary"); - } - - virtual QAccessibleInterface * summary() const - { - if (cb_summary_c0_0.can_issue()) { - return cb_summary_c0_0.issue(&QAccessibleTableInterface_Adaptor::cbs_summary_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("summary"); - } - } - - // [adaptor impl] bool QAccessibleTableInterface::unselectColumn(int column) - bool cbs_unselectColumn_767_0(int column) - { - __SUPPRESS_UNUSED_WARNING (column); - throw qt_gsi::AbstractMethodCalledException("unselectColumn"); - } - - virtual bool unselectColumn(int column) - { - if (cb_unselectColumn_767_0.can_issue()) { - return cb_unselectColumn_767_0.issue(&QAccessibleTableInterface_Adaptor::cbs_unselectColumn_767_0, column); - } else { - throw qt_gsi::AbstractMethodCalledException("unselectColumn"); - } - } - - // [adaptor impl] bool QAccessibleTableInterface::unselectRow(int row) - bool cbs_unselectRow_767_0(int row) - { - __SUPPRESS_UNUSED_WARNING (row); - throw qt_gsi::AbstractMethodCalledException("unselectRow"); - } - - virtual bool unselectRow(int row) - { - if (cb_unselectRow_767_0.can_issue()) { - return cb_unselectRow_767_0.issue(&QAccessibleTableInterface_Adaptor::cbs_unselectRow_767_0, row); - } else { - throw qt_gsi::AbstractMethodCalledException("unselectRow"); - } - } - - gsi::Callback cb_caption_c0_0; - gsi::Callback cb_cellAt_c1426_0; - gsi::Callback cb_columnCount_c0_0; - gsi::Callback cb_columnDescription_c767_0; - gsi::Callback cb_isColumnSelected_c767_0; - gsi::Callback cb_isRowSelected_c767_0; - gsi::Callback cb_modelChange_3790_0; - gsi::Callback cb_rowCount_c0_0; - gsi::Callback cb_rowDescription_c767_0; - gsi::Callback cb_selectColumn_767_0; - gsi::Callback cb_selectRow_767_0; - gsi::Callback cb_selectedCellCount_c0_0; - gsi::Callback cb_selectedCells_c0_0; - gsi::Callback cb_selectedColumnCount_c0_0; - gsi::Callback cb_selectedColumns_c0_0; - gsi::Callback cb_selectedRowCount_c0_0; - gsi::Callback cb_selectedRows_c0_0; - gsi::Callback cb_summary_c0_0; - gsi::Callback cb_unselectColumn_767_0; - gsi::Callback cb_unselectRow_767_0; -}; - -QAccessibleTableInterface_Adaptor::~QAccessibleTableInterface_Adaptor() { } - -// Constructor QAccessibleTableInterface::QAccessibleTableInterface() (adaptor class) - -static void _init_ctor_QAccessibleTableInterface_Adaptor_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleTableInterface_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QAccessibleTableInterface_Adaptor ()); -} - - -// QAccessibleInterface *QAccessibleTableInterface::caption() - -static void _init_cbs_caption_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_caption_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAccessibleInterface *)((QAccessibleTableInterface_Adaptor *)cls)->cbs_caption_c0_0 ()); -} - -static void _set_callback_cbs_caption_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableInterface_Adaptor *)cls)->cb_caption_c0_0 = cb; -} - - -// QAccessibleInterface *QAccessibleTableInterface::cellAt(int row, int column) - -static void _init_cbs_cellAt_c1426_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("column"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_cbs_cellAt_c1426_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - ret.write ((QAccessibleInterface *)((QAccessibleTableInterface_Adaptor *)cls)->cbs_cellAt_c1426_0 (arg1, arg2)); -} - -static void _set_callback_cbs_cellAt_c1426_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableInterface_Adaptor *)cls)->cb_cellAt_c1426_0 = cb; -} - - -// int QAccessibleTableInterface::columnCount() - -static void _init_cbs_columnCount_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_columnCount_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTableInterface_Adaptor *)cls)->cbs_columnCount_c0_0 ()); -} - -static void _set_callback_cbs_columnCount_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableInterface_Adaptor *)cls)->cb_columnCount_c0_0 = cb; -} - - -// QString QAccessibleTableInterface::columnDescription(int column) - -static void _init_cbs_columnDescription_c767_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("column"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_columnDescription_c767_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - ret.write ((QString)((QAccessibleTableInterface_Adaptor *)cls)->cbs_columnDescription_c767_0 (arg1)); -} - -static void _set_callback_cbs_columnDescription_c767_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableInterface_Adaptor *)cls)->cb_columnDescription_c767_0 = cb; -} - - -// bool QAccessibleTableInterface::isColumnSelected(int column) - -static void _init_cbs_isColumnSelected_c767_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("column"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_isColumnSelected_c767_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - ret.write ((bool)((QAccessibleTableInterface_Adaptor *)cls)->cbs_isColumnSelected_c767_0 (arg1)); -} - -static void _set_callback_cbs_isColumnSelected_c767_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableInterface_Adaptor *)cls)->cb_isColumnSelected_c767_0 = cb; -} - - -// bool QAccessibleTableInterface::isRowSelected(int row) - -static void _init_cbs_isRowSelected_c767_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_isRowSelected_c767_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - ret.write ((bool)((QAccessibleTableInterface_Adaptor *)cls)->cbs_isRowSelected_c767_0 (arg1)); -} - -static void _set_callback_cbs_isRowSelected_c767_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableInterface_Adaptor *)cls)->cb_isRowSelected_c767_0 = cb; -} - - -// void QAccessibleTableInterface::modelChange(QAccessibleTableModelChangeEvent *event) - -static void _init_cbs_modelChange_3790_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_modelChange_3790_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QAccessibleTableModelChangeEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleTableInterface_Adaptor *)cls)->cbs_modelChange_3790_0 (arg1); -} - -static void _set_callback_cbs_modelChange_3790_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableInterface_Adaptor *)cls)->cb_modelChange_3790_0 = cb; -} - - -// int QAccessibleTableInterface::rowCount() - -static void _init_cbs_rowCount_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_rowCount_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTableInterface_Adaptor *)cls)->cbs_rowCount_c0_0 ()); -} - -static void _set_callback_cbs_rowCount_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableInterface_Adaptor *)cls)->cb_rowCount_c0_0 = cb; -} - - -// QString QAccessibleTableInterface::rowDescription(int row) - -static void _init_cbs_rowDescription_c767_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_rowDescription_c767_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - ret.write ((QString)((QAccessibleTableInterface_Adaptor *)cls)->cbs_rowDescription_c767_0 (arg1)); -} - -static void _set_callback_cbs_rowDescription_c767_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableInterface_Adaptor *)cls)->cb_rowDescription_c767_0 = cb; -} - - -// bool QAccessibleTableInterface::selectColumn(int column) - -static void _init_cbs_selectColumn_767_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("column"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_selectColumn_767_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - ret.write ((bool)((QAccessibleTableInterface_Adaptor *)cls)->cbs_selectColumn_767_0 (arg1)); -} - -static void _set_callback_cbs_selectColumn_767_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableInterface_Adaptor *)cls)->cb_selectColumn_767_0 = cb; -} - - -// bool QAccessibleTableInterface::selectRow(int row) - -static void _init_cbs_selectRow_767_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_selectRow_767_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - ret.write ((bool)((QAccessibleTableInterface_Adaptor *)cls)->cbs_selectRow_767_0 (arg1)); -} - -static void _set_callback_cbs_selectRow_767_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableInterface_Adaptor *)cls)->cb_selectRow_767_0 = cb; -} - - -// int QAccessibleTableInterface::selectedCellCount() - -static void _init_cbs_selectedCellCount_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_selectedCellCount_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTableInterface_Adaptor *)cls)->cbs_selectedCellCount_c0_0 ()); -} - -static void _set_callback_cbs_selectedCellCount_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableInterface_Adaptor *)cls)->cb_selectedCellCount_c0_0 = cb; -} - - -// QList QAccessibleTableInterface::selectedCells() - -static void _init_cbs_selectedCells_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_cbs_selectedCells_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QList)((QAccessibleTableInterface_Adaptor *)cls)->cbs_selectedCells_c0_0 ()); -} - -static void _set_callback_cbs_selectedCells_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableInterface_Adaptor *)cls)->cb_selectedCells_c0_0 = cb; -} - - -// int QAccessibleTableInterface::selectedColumnCount() - -static void _init_cbs_selectedColumnCount_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_selectedColumnCount_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTableInterface_Adaptor *)cls)->cbs_selectedColumnCount_c0_0 ()); -} - -static void _set_callback_cbs_selectedColumnCount_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableInterface_Adaptor *)cls)->cb_selectedColumnCount_c0_0 = cb; -} - - -// QList QAccessibleTableInterface::selectedColumns() - -static void _init_cbs_selectedColumns_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_cbs_selectedColumns_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QList)((QAccessibleTableInterface_Adaptor *)cls)->cbs_selectedColumns_c0_0 ()); -} - -static void _set_callback_cbs_selectedColumns_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableInterface_Adaptor *)cls)->cb_selectedColumns_c0_0 = cb; -} - - -// int QAccessibleTableInterface::selectedRowCount() - -static void _init_cbs_selectedRowCount_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_selectedRowCount_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTableInterface_Adaptor *)cls)->cbs_selectedRowCount_c0_0 ()); -} - -static void _set_callback_cbs_selectedRowCount_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableInterface_Adaptor *)cls)->cb_selectedRowCount_c0_0 = cb; -} - - -// QList QAccessibleTableInterface::selectedRows() - -static void _init_cbs_selectedRows_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_cbs_selectedRows_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QList)((QAccessibleTableInterface_Adaptor *)cls)->cbs_selectedRows_c0_0 ()); -} - -static void _set_callback_cbs_selectedRows_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableInterface_Adaptor *)cls)->cb_selectedRows_c0_0 = cb; -} - - -// QAccessibleInterface *QAccessibleTableInterface::summary() - -static void _init_cbs_summary_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_summary_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAccessibleInterface *)((QAccessibleTableInterface_Adaptor *)cls)->cbs_summary_c0_0 ()); -} - -static void _set_callback_cbs_summary_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableInterface_Adaptor *)cls)->cb_summary_c0_0 = cb; -} - - -// bool QAccessibleTableInterface::unselectColumn(int column) - -static void _init_cbs_unselectColumn_767_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("column"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_unselectColumn_767_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - ret.write ((bool)((QAccessibleTableInterface_Adaptor *)cls)->cbs_unselectColumn_767_0 (arg1)); -} - -static void _set_callback_cbs_unselectColumn_767_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableInterface_Adaptor *)cls)->cb_unselectColumn_767_0 = cb; -} - - -// bool QAccessibleTableInterface::unselectRow(int row) - -static void _init_cbs_unselectRow_767_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_unselectRow_767_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - ret.write ((bool)((QAccessibleTableInterface_Adaptor *)cls)->cbs_unselectRow_767_0 (arg1)); -} - -static void _set_callback_cbs_unselectRow_767_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableInterface_Adaptor *)cls)->cb_unselectRow_767_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QAccessibleTableInterface (); - -static gsi::Methods methods_QAccessibleTableInterface_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTableInterface::QAccessibleTableInterface()\nThis method creates an object of class QAccessibleTableInterface.", &_init_ctor_QAccessibleTableInterface_Adaptor_0, &_call_ctor_QAccessibleTableInterface_Adaptor_0); - methods += new qt_gsi::GenericMethod ("caption", "@brief Virtual method QAccessibleInterface *QAccessibleTableInterface::caption()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_caption_c0_0, &_call_cbs_caption_c0_0); - methods += new qt_gsi::GenericMethod ("caption", "@hide", true, &_init_cbs_caption_c0_0, &_call_cbs_caption_c0_0, &_set_callback_cbs_caption_c0_0); - methods += new qt_gsi::GenericMethod ("cellAt", "@brief Virtual method QAccessibleInterface *QAccessibleTableInterface::cellAt(int row, int column)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_cellAt_c1426_0, &_call_cbs_cellAt_c1426_0); - methods += new qt_gsi::GenericMethod ("cellAt", "@hide", true, &_init_cbs_cellAt_c1426_0, &_call_cbs_cellAt_c1426_0, &_set_callback_cbs_cellAt_c1426_0); - methods += new qt_gsi::GenericMethod ("columnCount", "@brief Virtual method int QAccessibleTableInterface::columnCount()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_columnCount_c0_0, &_call_cbs_columnCount_c0_0); - methods += new qt_gsi::GenericMethod ("columnCount", "@hide", true, &_init_cbs_columnCount_c0_0, &_call_cbs_columnCount_c0_0, &_set_callback_cbs_columnCount_c0_0); - methods += new qt_gsi::GenericMethod ("columnDescription", "@brief Virtual method QString QAccessibleTableInterface::columnDescription(int column)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_columnDescription_c767_0, &_call_cbs_columnDescription_c767_0); - methods += new qt_gsi::GenericMethod ("columnDescription", "@hide", true, &_init_cbs_columnDescription_c767_0, &_call_cbs_columnDescription_c767_0, &_set_callback_cbs_columnDescription_c767_0); - methods += new qt_gsi::GenericMethod ("isColumnSelected", "@brief Virtual method bool QAccessibleTableInterface::isColumnSelected(int column)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_isColumnSelected_c767_0, &_call_cbs_isColumnSelected_c767_0); - methods += new qt_gsi::GenericMethod ("isColumnSelected", "@hide", true, &_init_cbs_isColumnSelected_c767_0, &_call_cbs_isColumnSelected_c767_0, &_set_callback_cbs_isColumnSelected_c767_0); - methods += new qt_gsi::GenericMethod ("isRowSelected", "@brief Virtual method bool QAccessibleTableInterface::isRowSelected(int row)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_isRowSelected_c767_0, &_call_cbs_isRowSelected_c767_0); - methods += new qt_gsi::GenericMethod ("isRowSelected", "@hide", true, &_init_cbs_isRowSelected_c767_0, &_call_cbs_isRowSelected_c767_0, &_set_callback_cbs_isRowSelected_c767_0); - methods += new qt_gsi::GenericMethod ("modelChange", "@brief Virtual method void QAccessibleTableInterface::modelChange(QAccessibleTableModelChangeEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_modelChange_3790_0, &_call_cbs_modelChange_3790_0); - methods += new qt_gsi::GenericMethod ("modelChange", "@hide", false, &_init_cbs_modelChange_3790_0, &_call_cbs_modelChange_3790_0, &_set_callback_cbs_modelChange_3790_0); - methods += new qt_gsi::GenericMethod ("rowCount", "@brief Virtual method int QAccessibleTableInterface::rowCount()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_rowCount_c0_0, &_call_cbs_rowCount_c0_0); - methods += new qt_gsi::GenericMethod ("rowCount", "@hide", true, &_init_cbs_rowCount_c0_0, &_call_cbs_rowCount_c0_0, &_set_callback_cbs_rowCount_c0_0); - methods += new qt_gsi::GenericMethod ("rowDescription", "@brief Virtual method QString QAccessibleTableInterface::rowDescription(int row)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_rowDescription_c767_0, &_call_cbs_rowDescription_c767_0); - methods += new qt_gsi::GenericMethod ("rowDescription", "@hide", true, &_init_cbs_rowDescription_c767_0, &_call_cbs_rowDescription_c767_0, &_set_callback_cbs_rowDescription_c767_0); - methods += new qt_gsi::GenericMethod ("selectColumn", "@brief Virtual method bool QAccessibleTableInterface::selectColumn(int column)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_selectColumn_767_0, &_call_cbs_selectColumn_767_0); - methods += new qt_gsi::GenericMethod ("selectColumn", "@hide", false, &_init_cbs_selectColumn_767_0, &_call_cbs_selectColumn_767_0, &_set_callback_cbs_selectColumn_767_0); - methods += new qt_gsi::GenericMethod ("selectRow", "@brief Virtual method bool QAccessibleTableInterface::selectRow(int row)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_selectRow_767_0, &_call_cbs_selectRow_767_0); - methods += new qt_gsi::GenericMethod ("selectRow", "@hide", false, &_init_cbs_selectRow_767_0, &_call_cbs_selectRow_767_0, &_set_callback_cbs_selectRow_767_0); - methods += new qt_gsi::GenericMethod ("selectedCellCount", "@brief Virtual method int QAccessibleTableInterface::selectedCellCount()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_selectedCellCount_c0_0, &_call_cbs_selectedCellCount_c0_0); - methods += new qt_gsi::GenericMethod ("selectedCellCount", "@hide", true, &_init_cbs_selectedCellCount_c0_0, &_call_cbs_selectedCellCount_c0_0, &_set_callback_cbs_selectedCellCount_c0_0); - methods += new qt_gsi::GenericMethod ("selectedCells", "@brief Virtual method QList QAccessibleTableInterface::selectedCells()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_selectedCells_c0_0, &_call_cbs_selectedCells_c0_0); - methods += new qt_gsi::GenericMethod ("selectedCells", "@hide", true, &_init_cbs_selectedCells_c0_0, &_call_cbs_selectedCells_c0_0, &_set_callback_cbs_selectedCells_c0_0); - methods += new qt_gsi::GenericMethod ("selectedColumnCount", "@brief Virtual method int QAccessibleTableInterface::selectedColumnCount()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_selectedColumnCount_c0_0, &_call_cbs_selectedColumnCount_c0_0); - methods += new qt_gsi::GenericMethod ("selectedColumnCount", "@hide", true, &_init_cbs_selectedColumnCount_c0_0, &_call_cbs_selectedColumnCount_c0_0, &_set_callback_cbs_selectedColumnCount_c0_0); - methods += new qt_gsi::GenericMethod ("selectedColumns", "@brief Virtual method QList QAccessibleTableInterface::selectedColumns()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_selectedColumns_c0_0, &_call_cbs_selectedColumns_c0_0); - methods += new qt_gsi::GenericMethod ("selectedColumns", "@hide", true, &_init_cbs_selectedColumns_c0_0, &_call_cbs_selectedColumns_c0_0, &_set_callback_cbs_selectedColumns_c0_0); - methods += new qt_gsi::GenericMethod ("selectedRowCount", "@brief Virtual method int QAccessibleTableInterface::selectedRowCount()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_selectedRowCount_c0_0, &_call_cbs_selectedRowCount_c0_0); - methods += new qt_gsi::GenericMethod ("selectedRowCount", "@hide", true, &_init_cbs_selectedRowCount_c0_0, &_call_cbs_selectedRowCount_c0_0, &_set_callback_cbs_selectedRowCount_c0_0); - methods += new qt_gsi::GenericMethod ("selectedRows", "@brief Virtual method QList QAccessibleTableInterface::selectedRows()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_selectedRows_c0_0, &_call_cbs_selectedRows_c0_0); - methods += new qt_gsi::GenericMethod ("selectedRows", "@hide", true, &_init_cbs_selectedRows_c0_0, &_call_cbs_selectedRows_c0_0, &_set_callback_cbs_selectedRows_c0_0); - methods += new qt_gsi::GenericMethod ("summary", "@brief Virtual method QAccessibleInterface *QAccessibleTableInterface::summary()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_summary_c0_0, &_call_cbs_summary_c0_0); - methods += new qt_gsi::GenericMethod ("summary", "@hide", true, &_init_cbs_summary_c0_0, &_call_cbs_summary_c0_0, &_set_callback_cbs_summary_c0_0); - methods += new qt_gsi::GenericMethod ("unselectColumn", "@brief Virtual method bool QAccessibleTableInterface::unselectColumn(int column)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_unselectColumn_767_0, &_call_cbs_unselectColumn_767_0); - methods += new qt_gsi::GenericMethod ("unselectColumn", "@hide", false, &_init_cbs_unselectColumn_767_0, &_call_cbs_unselectColumn_767_0, &_set_callback_cbs_unselectColumn_767_0); - methods += new qt_gsi::GenericMethod ("unselectRow", "@brief Virtual method bool QAccessibleTableInterface::unselectRow(int row)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_unselectRow_767_0, &_call_cbs_unselectRow_767_0); - methods += new qt_gsi::GenericMethod ("unselectRow", "@hide", false, &_init_cbs_unselectRow_767_0, &_call_cbs_unselectRow_767_0, &_set_callback_cbs_unselectRow_767_0); - return methods; -} - -gsi::Class decl_QAccessibleTableInterface_Adaptor (qtdecl_QAccessibleTableInterface (), "Qt", "QAccessibleTableInterface", - methods_QAccessibleTableInterface_Adaptor (), - "@qt\n@brief Binding of QAccessibleTableInterface"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTableModelChangeEvent.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTableModelChangeEvent.cc deleted file mode 100644 index 7562f0333..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTableModelChangeEvent.cc +++ /dev/null @@ -1,387 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAccessibleTableModelChangeEvent.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAccessibleTableModelChangeEvent - -// int QAccessibleTableModelChangeEvent::firstColumn() - - -static void _init_f_firstColumn_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_firstColumn_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTableModelChangeEvent *)cls)->firstColumn ()); -} - - -// int QAccessibleTableModelChangeEvent::firstRow() - - -static void _init_f_firstRow_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_firstRow_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTableModelChangeEvent *)cls)->firstRow ()); -} - - -// int QAccessibleTableModelChangeEvent::lastColumn() - - -static void _init_f_lastColumn_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_lastColumn_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTableModelChangeEvent *)cls)->lastColumn ()); -} - - -// int QAccessibleTableModelChangeEvent::lastRow() - - -static void _init_f_lastRow_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_lastRow_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTableModelChangeEvent *)cls)->lastRow ()); -} - - -// QAccessibleTableModelChangeEvent::ModelChangeType QAccessibleTableModelChangeEvent::modelChangeType() - - -static void _init_f_modelChangeType_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_modelChangeType_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QAccessibleTableModelChangeEvent *)cls)->modelChangeType ())); -} - - -// void QAccessibleTableModelChangeEvent::setFirstColumn(int col) - - -static void _init_f_setFirstColumn_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("col"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setFirstColumn_767 (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); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleTableModelChangeEvent *)cls)->setFirstColumn (arg1); -} - - -// void QAccessibleTableModelChangeEvent::setFirstRow(int row) - - -static void _init_f_setFirstRow_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setFirstRow_767 (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); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleTableModelChangeEvent *)cls)->setFirstRow (arg1); -} - - -// void QAccessibleTableModelChangeEvent::setLastColumn(int col) - - -static void _init_f_setLastColumn_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("col"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setLastColumn_767 (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); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleTableModelChangeEvent *)cls)->setLastColumn (arg1); -} - - -// void QAccessibleTableModelChangeEvent::setLastRow(int row) - - -static void _init_f_setLastRow_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("row"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setLastRow_767 (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); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleTableModelChangeEvent *)cls)->setLastRow (arg1); -} - - -// void QAccessibleTableModelChangeEvent::setModelChangeType(QAccessibleTableModelChangeEvent::ModelChangeType changeType) - - -static void _init_f_setModelChangeType_5217 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("changeType"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_setModelChangeType_5217 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleTableModelChangeEvent *)cls)->setModelChangeType (qt_gsi::QtToCppAdaptor(arg1).cref()); -} - - -namespace gsi -{ - -static gsi::Methods methods_QAccessibleTableModelChangeEvent () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod (":firstColumn", "@brief Method int QAccessibleTableModelChangeEvent::firstColumn()\n", true, &_init_f_firstColumn_c0, &_call_f_firstColumn_c0); - methods += new qt_gsi::GenericMethod (":firstRow", "@brief Method int QAccessibleTableModelChangeEvent::firstRow()\n", true, &_init_f_firstRow_c0, &_call_f_firstRow_c0); - methods += new qt_gsi::GenericMethod (":lastColumn", "@brief Method int QAccessibleTableModelChangeEvent::lastColumn()\n", true, &_init_f_lastColumn_c0, &_call_f_lastColumn_c0); - methods += new qt_gsi::GenericMethod (":lastRow", "@brief Method int QAccessibleTableModelChangeEvent::lastRow()\n", true, &_init_f_lastRow_c0, &_call_f_lastRow_c0); - methods += new qt_gsi::GenericMethod (":modelChangeType", "@brief Method QAccessibleTableModelChangeEvent::ModelChangeType QAccessibleTableModelChangeEvent::modelChangeType()\n", true, &_init_f_modelChangeType_c0, &_call_f_modelChangeType_c0); - methods += new qt_gsi::GenericMethod ("setFirstColumn|firstColumn=", "@brief Method void QAccessibleTableModelChangeEvent::setFirstColumn(int col)\n", false, &_init_f_setFirstColumn_767, &_call_f_setFirstColumn_767); - methods += new qt_gsi::GenericMethod ("setFirstRow|firstRow=", "@brief Method void QAccessibleTableModelChangeEvent::setFirstRow(int row)\n", false, &_init_f_setFirstRow_767, &_call_f_setFirstRow_767); - methods += new qt_gsi::GenericMethod ("setLastColumn|lastColumn=", "@brief Method void QAccessibleTableModelChangeEvent::setLastColumn(int col)\n", false, &_init_f_setLastColumn_767, &_call_f_setLastColumn_767); - methods += new qt_gsi::GenericMethod ("setLastRow|lastRow=", "@brief Method void QAccessibleTableModelChangeEvent::setLastRow(int row)\n", false, &_init_f_setLastRow_767, &_call_f_setLastRow_767); - methods += new qt_gsi::GenericMethod ("setModelChangeType|modelChangeType=", "@brief Method void QAccessibleTableModelChangeEvent::setModelChangeType(QAccessibleTableModelChangeEvent::ModelChangeType changeType)\n", false, &_init_f_setModelChangeType_5217, &_call_f_setModelChangeType_5217); - return methods; -} - -gsi::Class &qtdecl_QAccessibleEvent (); - -gsi::Class decl_QAccessibleTableModelChangeEvent (qtdecl_QAccessibleEvent (), "Qt", "QAccessibleTableModelChangeEvent_Native", - methods_QAccessibleTableModelChangeEvent (), - "@hide\n@alias QAccessibleTableModelChangeEvent"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAccessibleTableModelChangeEvent () { return decl_QAccessibleTableModelChangeEvent; } - -} - - -class QAccessibleTableModelChangeEvent_Adaptor : public QAccessibleTableModelChangeEvent, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QAccessibleTableModelChangeEvent_Adaptor(); - - // [adaptor ctor] QAccessibleTableModelChangeEvent::QAccessibleTableModelChangeEvent(QObject *obj, QAccessibleTableModelChangeEvent::ModelChangeType changeType) - QAccessibleTableModelChangeEvent_Adaptor(QObject *obj, QAccessibleTableModelChangeEvent::ModelChangeType changeType) : QAccessibleTableModelChangeEvent(obj, changeType) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QAccessibleTableModelChangeEvent::QAccessibleTableModelChangeEvent(QAccessibleInterface *iface, QAccessibleTableModelChangeEvent::ModelChangeType changeType) - QAccessibleTableModelChangeEvent_Adaptor(QAccessibleInterface *iface, QAccessibleTableModelChangeEvent::ModelChangeType changeType) : QAccessibleTableModelChangeEvent(iface, changeType) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor impl] QAccessibleInterface *QAccessibleTableModelChangeEvent::accessibleInterface() - QAccessibleInterface * cbs_accessibleInterface_c0_0() const - { - return QAccessibleTableModelChangeEvent::accessibleInterface(); - } - - virtual QAccessibleInterface * accessibleInterface() const - { - if (cb_accessibleInterface_c0_0.can_issue()) { - return cb_accessibleInterface_c0_0.issue(&QAccessibleTableModelChangeEvent_Adaptor::cbs_accessibleInterface_c0_0); - } else { - return QAccessibleTableModelChangeEvent::accessibleInterface(); - } - } - - gsi::Callback cb_accessibleInterface_c0_0; -}; - -QAccessibleTableModelChangeEvent_Adaptor::~QAccessibleTableModelChangeEvent_Adaptor() { } - -// Constructor QAccessibleTableModelChangeEvent::QAccessibleTableModelChangeEvent(QObject *obj, QAccessibleTableModelChangeEvent::ModelChangeType changeType) (adaptor class) - -static void _init_ctor_QAccessibleTableModelChangeEvent_Adaptor_6411 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("obj"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("changeType"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleTableModelChangeEvent_Adaptor_6411 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = gsi::arg_reader::target_type & >() (args, heap); - ret.write (new QAccessibleTableModelChangeEvent_Adaptor (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// Constructor QAccessibleTableModelChangeEvent::QAccessibleTableModelChangeEvent(QAccessibleInterface *iface, QAccessibleTableModelChangeEvent::ModelChangeType changeType) (adaptor class) - -static void _init_ctor_QAccessibleTableModelChangeEvent_Adaptor_7731 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("iface"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("changeType"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleTableModelChangeEvent_Adaptor_7731 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QAccessibleInterface *arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = gsi::arg_reader::target_type & >() (args, heap); - ret.write (new QAccessibleTableModelChangeEvent_Adaptor (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// QAccessibleInterface *QAccessibleTableModelChangeEvent::accessibleInterface() - -static void _init_cbs_accessibleInterface_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_accessibleInterface_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAccessibleInterface *)((QAccessibleTableModelChangeEvent_Adaptor *)cls)->cbs_accessibleInterface_c0_0 ()); -} - -static void _set_callback_cbs_accessibleInterface_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTableModelChangeEvent_Adaptor *)cls)->cb_accessibleInterface_c0_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QAccessibleTableModelChangeEvent (); - -static gsi::Methods methods_QAccessibleTableModelChangeEvent_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTableModelChangeEvent::QAccessibleTableModelChangeEvent(QObject *obj, QAccessibleTableModelChangeEvent::ModelChangeType changeType)\nThis method creates an object of class QAccessibleTableModelChangeEvent.", &_init_ctor_QAccessibleTableModelChangeEvent_Adaptor_6411, &_call_ctor_QAccessibleTableModelChangeEvent_Adaptor_6411); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTableModelChangeEvent::QAccessibleTableModelChangeEvent(QAccessibleInterface *iface, QAccessibleTableModelChangeEvent::ModelChangeType changeType)\nThis method creates an object of class QAccessibleTableModelChangeEvent.", &_init_ctor_QAccessibleTableModelChangeEvent_Adaptor_7731, &_call_ctor_QAccessibleTableModelChangeEvent_Adaptor_7731); - methods += new qt_gsi::GenericMethod ("accessibleInterface", "@brief Virtual method QAccessibleInterface *QAccessibleTableModelChangeEvent::accessibleInterface()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0); - methods += new qt_gsi::GenericMethod ("accessibleInterface", "@hide", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0, &_set_callback_cbs_accessibleInterface_c0_0); - return methods; -} - -gsi::Class decl_QAccessibleTableModelChangeEvent_Adaptor (qtdecl_QAccessibleTableModelChangeEvent (), "Qt", "QAccessibleTableModelChangeEvent", - methods_QAccessibleTableModelChangeEvent_Adaptor (), - "@qt\n@brief Binding of QAccessibleTableModelChangeEvent"); - -} - - -// Implementation of the enum wrapper class for QAccessibleTableModelChangeEvent::ModelChangeType -namespace qt_gsi -{ - -static gsi::Enum decl_QAccessibleTableModelChangeEvent_ModelChangeType_Enum ("Qt", "QAccessibleTableModelChangeEvent_ModelChangeType", - gsi::enum_const ("ModelReset", QAccessibleTableModelChangeEvent::ModelReset, "@brief Enum constant QAccessibleTableModelChangeEvent::ModelReset") + - gsi::enum_const ("DataChanged", QAccessibleTableModelChangeEvent::DataChanged, "@brief Enum constant QAccessibleTableModelChangeEvent::DataChanged") + - gsi::enum_const ("RowsInserted", QAccessibleTableModelChangeEvent::RowsInserted, "@brief Enum constant QAccessibleTableModelChangeEvent::RowsInserted") + - gsi::enum_const ("ColumnsInserted", QAccessibleTableModelChangeEvent::ColumnsInserted, "@brief Enum constant QAccessibleTableModelChangeEvent::ColumnsInserted") + - gsi::enum_const ("RowsRemoved", QAccessibleTableModelChangeEvent::RowsRemoved, "@brief Enum constant QAccessibleTableModelChangeEvent::RowsRemoved") + - gsi::enum_const ("ColumnsRemoved", QAccessibleTableModelChangeEvent::ColumnsRemoved, "@brief Enum constant QAccessibleTableModelChangeEvent::ColumnsRemoved"), - "@qt\n@brief This class represents the QAccessibleTableModelChangeEvent::ModelChangeType enum"); - -static gsi::QFlagsClass decl_QAccessibleTableModelChangeEvent_ModelChangeType_Enums ("Qt", "QAccessibleTableModelChangeEvent_QFlags_ModelChangeType", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QAccessibleTableModelChangeEvent_ModelChangeType_Enum_in_parent (decl_QAccessibleTableModelChangeEvent_ModelChangeType_Enum.defs ()); -static gsi::ClassExt decl_QAccessibleTableModelChangeEvent_ModelChangeType_Enum_as_child (decl_QAccessibleTableModelChangeEvent_ModelChangeType_Enum, "ModelChangeType"); -static gsi::ClassExt decl_QAccessibleTableModelChangeEvent_ModelChangeType_Enums_as_child (decl_QAccessibleTableModelChangeEvent_ModelChangeType_Enums, "QFlags_ModelChangeType"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTextCursorEvent.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTextCursorEvent.cc deleted file mode 100644 index 816a2b23a..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTextCursorEvent.cc +++ /dev/null @@ -1,215 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAccessibleTextCursorEvent.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAccessibleTextCursorEvent - -// int QAccessibleTextCursorEvent::cursorPosition() - - -static void _init_f_cursorPosition_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_cursorPosition_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTextCursorEvent *)cls)->cursorPosition ()); -} - - -// void QAccessibleTextCursorEvent::setCursorPosition(int position) - - -static void _init_f_setCursorPosition_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("position"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setCursorPosition_767 (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); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleTextCursorEvent *)cls)->setCursorPosition (arg1); -} - - -namespace gsi -{ - -static gsi::Methods methods_QAccessibleTextCursorEvent () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod (":cursorPosition", "@brief Method int QAccessibleTextCursorEvent::cursorPosition()\n", true, &_init_f_cursorPosition_c0, &_call_f_cursorPosition_c0); - methods += new qt_gsi::GenericMethod ("setCursorPosition|cursorPosition=", "@brief Method void QAccessibleTextCursorEvent::setCursorPosition(int position)\n", false, &_init_f_setCursorPosition_767, &_call_f_setCursorPosition_767); - return methods; -} - -gsi::Class &qtdecl_QAccessibleEvent (); - -gsi::Class decl_QAccessibleTextCursorEvent (qtdecl_QAccessibleEvent (), "Qt", "QAccessibleTextCursorEvent_Native", - methods_QAccessibleTextCursorEvent (), - "@hide\n@alias QAccessibleTextCursorEvent"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAccessibleTextCursorEvent () { return decl_QAccessibleTextCursorEvent; } - -} - - -class QAccessibleTextCursorEvent_Adaptor : public QAccessibleTextCursorEvent, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QAccessibleTextCursorEvent_Adaptor(); - - // [adaptor ctor] QAccessibleTextCursorEvent::QAccessibleTextCursorEvent(QObject *obj, int cursorPos) - QAccessibleTextCursorEvent_Adaptor(QObject *obj, int cursorPos) : QAccessibleTextCursorEvent(obj, cursorPos) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QAccessibleTextCursorEvent::QAccessibleTextCursorEvent(QAccessibleInterface *iface, int cursorPos) - QAccessibleTextCursorEvent_Adaptor(QAccessibleInterface *iface, int cursorPos) : QAccessibleTextCursorEvent(iface, cursorPos) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor impl] QAccessibleInterface *QAccessibleTextCursorEvent::accessibleInterface() - QAccessibleInterface * cbs_accessibleInterface_c0_0() const - { - return QAccessibleTextCursorEvent::accessibleInterface(); - } - - virtual QAccessibleInterface * accessibleInterface() const - { - if (cb_accessibleInterface_c0_0.can_issue()) { - return cb_accessibleInterface_c0_0.issue(&QAccessibleTextCursorEvent_Adaptor::cbs_accessibleInterface_c0_0); - } else { - return QAccessibleTextCursorEvent::accessibleInterface(); - } - } - - gsi::Callback cb_accessibleInterface_c0_0; -}; - -QAccessibleTextCursorEvent_Adaptor::~QAccessibleTextCursorEvent_Adaptor() { } - -// Constructor QAccessibleTextCursorEvent::QAccessibleTextCursorEvent(QObject *obj, int cursorPos) (adaptor class) - -static void _init_ctor_QAccessibleTextCursorEvent_Adaptor_1961 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("obj"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cursorPos"); - decl->add_arg (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleTextCursorEvent_Adaptor_1961 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - ret.write (new QAccessibleTextCursorEvent_Adaptor (arg1, arg2)); -} - - -// Constructor QAccessibleTextCursorEvent::QAccessibleTextCursorEvent(QAccessibleInterface *iface, int cursorPos) (adaptor class) - -static void _init_ctor_QAccessibleTextCursorEvent_Adaptor_3281 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("iface"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cursorPos"); - decl->add_arg (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleTextCursorEvent_Adaptor_3281 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QAccessibleInterface *arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - ret.write (new QAccessibleTextCursorEvent_Adaptor (arg1, arg2)); -} - - -// QAccessibleInterface *QAccessibleTextCursorEvent::accessibleInterface() - -static void _init_cbs_accessibleInterface_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_accessibleInterface_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAccessibleInterface *)((QAccessibleTextCursorEvent_Adaptor *)cls)->cbs_accessibleInterface_c0_0 ()); -} - -static void _set_callback_cbs_accessibleInterface_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTextCursorEvent_Adaptor *)cls)->cb_accessibleInterface_c0_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QAccessibleTextCursorEvent (); - -static gsi::Methods methods_QAccessibleTextCursorEvent_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTextCursorEvent::QAccessibleTextCursorEvent(QObject *obj, int cursorPos)\nThis method creates an object of class QAccessibleTextCursorEvent.", &_init_ctor_QAccessibleTextCursorEvent_Adaptor_1961, &_call_ctor_QAccessibleTextCursorEvent_Adaptor_1961); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTextCursorEvent::QAccessibleTextCursorEvent(QAccessibleInterface *iface, int cursorPos)\nThis method creates an object of class QAccessibleTextCursorEvent.", &_init_ctor_QAccessibleTextCursorEvent_Adaptor_3281, &_call_ctor_QAccessibleTextCursorEvent_Adaptor_3281); - methods += new qt_gsi::GenericMethod ("accessibleInterface", "@brief Virtual method QAccessibleInterface *QAccessibleTextCursorEvent::accessibleInterface()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0); - methods += new qt_gsi::GenericMethod ("accessibleInterface", "@hide", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0, &_set_callback_cbs_accessibleInterface_c0_0); - return methods; -} - -gsi::Class decl_QAccessibleTextCursorEvent_Adaptor (qtdecl_QAccessibleTextCursorEvent (), "Qt", "QAccessibleTextCursorEvent", - methods_QAccessibleTextCursorEvent_Adaptor (), - "@qt\n@brief Binding of QAccessibleTextCursorEvent"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTextInsertEvent.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTextInsertEvent.cc deleted file mode 100644 index 2abd3378c..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTextInsertEvent.cc +++ /dev/null @@ -1,216 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAccessibleTextInsertEvent.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAccessibleTextInsertEvent - -// int QAccessibleTextInsertEvent::changePosition() - - -static void _init_f_changePosition_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_changePosition_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTextInsertEvent *)cls)->changePosition ()); -} - - -// QString QAccessibleTextInsertEvent::textInserted() - - -static void _init_f_textInserted_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_textInserted_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QAccessibleTextInsertEvent *)cls)->textInserted ()); -} - - -namespace gsi -{ - -static gsi::Methods methods_QAccessibleTextInsertEvent () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("changePosition", "@brief Method int QAccessibleTextInsertEvent::changePosition()\n", true, &_init_f_changePosition_c0, &_call_f_changePosition_c0); - methods += new qt_gsi::GenericMethod ("textInserted", "@brief Method QString QAccessibleTextInsertEvent::textInserted()\n", true, &_init_f_textInserted_c0, &_call_f_textInserted_c0); - return methods; -} - -gsi::Class &qtdecl_QAccessibleTextCursorEvent (); - -gsi::Class decl_QAccessibleTextInsertEvent (qtdecl_QAccessibleTextCursorEvent (), "Qt", "QAccessibleTextInsertEvent_Native", - methods_QAccessibleTextInsertEvent (), - "@hide\n@alias QAccessibleTextInsertEvent"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAccessibleTextInsertEvent () { return decl_QAccessibleTextInsertEvent; } - -} - - -class QAccessibleTextInsertEvent_Adaptor : public QAccessibleTextInsertEvent, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QAccessibleTextInsertEvent_Adaptor(); - - // [adaptor ctor] QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QObject *obj, int position, const QString &text) - QAccessibleTextInsertEvent_Adaptor(QObject *obj, int position, const QString &text) : QAccessibleTextInsertEvent(obj, position, text) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QAccessibleInterface *iface, int position, const QString &text) - QAccessibleTextInsertEvent_Adaptor(QAccessibleInterface *iface, int position, const QString &text) : QAccessibleTextInsertEvent(iface, position, text) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor impl] QAccessibleInterface *QAccessibleTextInsertEvent::accessibleInterface() - QAccessibleInterface * cbs_accessibleInterface_c0_0() const - { - return QAccessibleTextInsertEvent::accessibleInterface(); - } - - virtual QAccessibleInterface * accessibleInterface() const - { - if (cb_accessibleInterface_c0_0.can_issue()) { - return cb_accessibleInterface_c0_0.issue(&QAccessibleTextInsertEvent_Adaptor::cbs_accessibleInterface_c0_0); - } else { - return QAccessibleTextInsertEvent::accessibleInterface(); - } - } - - gsi::Callback cb_accessibleInterface_c0_0; -}; - -QAccessibleTextInsertEvent_Adaptor::~QAccessibleTextInsertEvent_Adaptor() { } - -// Constructor QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QObject *obj, int position, const QString &text) (adaptor class) - -static void _init_ctor_QAccessibleTextInsertEvent_Adaptor_3878 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("obj"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("position"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("text"); - decl->add_arg (argspec_2); - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleTextInsertEvent_Adaptor_3878 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - const QString &arg3 = gsi::arg_reader() (args, heap); - ret.write (new QAccessibleTextInsertEvent_Adaptor (arg1, arg2, arg3)); -} - - -// Constructor QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QAccessibleInterface *iface, int position, const QString &text) (adaptor class) - -static void _init_ctor_QAccessibleTextInsertEvent_Adaptor_5198 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("iface"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("position"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("text"); - decl->add_arg (argspec_2); - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleTextInsertEvent_Adaptor_5198 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QAccessibleInterface *arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - const QString &arg3 = gsi::arg_reader() (args, heap); - ret.write (new QAccessibleTextInsertEvent_Adaptor (arg1, arg2, arg3)); -} - - -// QAccessibleInterface *QAccessibleTextInsertEvent::accessibleInterface() - -static void _init_cbs_accessibleInterface_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_accessibleInterface_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAccessibleInterface *)((QAccessibleTextInsertEvent_Adaptor *)cls)->cbs_accessibleInterface_c0_0 ()); -} - -static void _set_callback_cbs_accessibleInterface_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTextInsertEvent_Adaptor *)cls)->cb_accessibleInterface_c0_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QAccessibleTextInsertEvent (); - -static gsi::Methods methods_QAccessibleTextInsertEvent_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QObject *obj, int position, const QString &text)\nThis method creates an object of class QAccessibleTextInsertEvent.", &_init_ctor_QAccessibleTextInsertEvent_Adaptor_3878, &_call_ctor_QAccessibleTextInsertEvent_Adaptor_3878); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTextInsertEvent::QAccessibleTextInsertEvent(QAccessibleInterface *iface, int position, const QString &text)\nThis method creates an object of class QAccessibleTextInsertEvent.", &_init_ctor_QAccessibleTextInsertEvent_Adaptor_5198, &_call_ctor_QAccessibleTextInsertEvent_Adaptor_5198); - methods += new qt_gsi::GenericMethod ("accessibleInterface", "@brief Virtual method QAccessibleInterface *QAccessibleTextInsertEvent::accessibleInterface()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0); - methods += new qt_gsi::GenericMethod ("accessibleInterface", "@hide", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0, &_set_callback_cbs_accessibleInterface_c0_0); - return methods; -} - -gsi::Class decl_QAccessibleTextInsertEvent_Adaptor (qtdecl_QAccessibleTextInsertEvent (), "Qt", "QAccessibleTextInsertEvent", - methods_QAccessibleTextInsertEvent_Adaptor (), - "@qt\n@brief Binding of QAccessibleTextInsertEvent"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTextInterface.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTextInterface.cc deleted file mode 100644 index 2768eea85..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTextInterface.cc +++ /dev/null @@ -1,1195 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAccessibleTextInterface.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAccessibleTextInterface - -// void QAccessibleTextInterface::addSelection(int startOffset, int endOffset) - - -static void _init_f_addSelection_1426 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("startOffset"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("endOffset"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_addSelection_1426 (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); - int arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleTextInterface *)cls)->addSelection (arg1, arg2); -} - - -// QString QAccessibleTextInterface::attributes(int offset, int *startOffset, int *endOffset) - - -static void _init_f_attributes_c2457 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("offset"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("startOffset"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("endOffset"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_attributes_c2457 (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); - int *arg2 = gsi::arg_reader() (args, heap); - int *arg3 = gsi::arg_reader() (args, heap); - ret.write ((QString)((QAccessibleTextInterface *)cls)->attributes (arg1, arg2, arg3)); -} - - -// int QAccessibleTextInterface::characterCount() - - -static void _init_f_characterCount_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_characterCount_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTextInterface *)cls)->characterCount ()); -} - - -// QRect QAccessibleTextInterface::characterRect(int offset) - - -static void _init_f_characterRect_c767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("offset"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_characterRect_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 ((QRect)((QAccessibleTextInterface *)cls)->characterRect (arg1)); -} - - -// int QAccessibleTextInterface::cursorPosition() - - -static void _init_f_cursorPosition_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_cursorPosition_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTextInterface *)cls)->cursorPosition ()); -} - - -// int QAccessibleTextInterface::offsetAtPoint(const QPoint &point) - - -static void _init_f_offsetAtPoint_c1916 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("point"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_offsetAtPoint_c1916 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QPoint &arg1 = gsi::arg_reader() (args, heap); - ret.write ((int)((QAccessibleTextInterface *)cls)->offsetAtPoint (arg1)); -} - - -// void QAccessibleTextInterface::removeSelection(int selectionIndex) - - -static void _init_f_removeSelection_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("selectionIndex"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_removeSelection_767 (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); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleTextInterface *)cls)->removeSelection (arg1); -} - - -// void QAccessibleTextInterface::scrollToSubstring(int startIndex, int endIndex) - - -static void _init_f_scrollToSubstring_1426 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("startIndex"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("endIndex"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_scrollToSubstring_1426 (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); - int arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleTextInterface *)cls)->scrollToSubstring (arg1, arg2); -} - - -// void QAccessibleTextInterface::selection(int selectionIndex, int *startOffset, int *endOffset) - - -static void _init_f_selection_c2457 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("selectionIndex"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("startOffset"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("endOffset"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_selection_c2457 (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); - int *arg2 = gsi::arg_reader() (args, heap); - int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleTextInterface *)cls)->selection (arg1, arg2, arg3); -} - - -// int QAccessibleTextInterface::selectionCount() - - -static void _init_f_selectionCount_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_selectionCount_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTextInterface *)cls)->selectionCount ()); -} - - -// void QAccessibleTextInterface::setCursorPosition(int position) - - -static void _init_f_setCursorPosition_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("position"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setCursorPosition_767 (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); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleTextInterface *)cls)->setCursorPosition (arg1); -} - - -// void QAccessibleTextInterface::setSelection(int selectionIndex, int startOffset, int endOffset) - - -static void _init_f_setSelection_2085 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("selectionIndex"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("startOffset"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("endOffset"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_setSelection_2085 (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); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleTextInterface *)cls)->setSelection (arg1, arg2, arg3); -} - - -// QString QAccessibleTextInterface::text(int startOffset, int endOffset) - - -static void _init_f_text_c1426 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("startOffset"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("endOffset"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_text_c1426 (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); - int arg2 = gsi::arg_reader() (args, heap); - ret.write ((QString)((QAccessibleTextInterface *)cls)->text (arg1, arg2)); -} - - -// QString QAccessibleTextInterface::textAfterOffset(int offset, QAccessible::TextBoundaryType boundaryType, int *startOffset, int *endOffset) - - -static void _init_f_textAfterOffset_c5663 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("offset"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("boundaryType"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("startOffset"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("endOffset"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_textAfterOffset_c5663 (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); - const qt_gsi::Converter::target_type & arg2 = gsi::arg_reader::target_type & >() (args, heap); - int *arg3 = gsi::arg_reader() (args, heap); - int *arg4 = gsi::arg_reader() (args, heap); - ret.write ((QString)((QAccessibleTextInterface *)cls)->textAfterOffset (arg1, qt_gsi::QtToCppAdaptor(arg2).cref(), arg3, arg4)); -} - - -// QString QAccessibleTextInterface::textAtOffset(int offset, QAccessible::TextBoundaryType boundaryType, int *startOffset, int *endOffset) - - -static void _init_f_textAtOffset_c5663 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("offset"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("boundaryType"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("startOffset"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("endOffset"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_textAtOffset_c5663 (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); - const qt_gsi::Converter::target_type & arg2 = gsi::arg_reader::target_type & >() (args, heap); - int *arg3 = gsi::arg_reader() (args, heap); - int *arg4 = gsi::arg_reader() (args, heap); - ret.write ((QString)((QAccessibleTextInterface *)cls)->textAtOffset (arg1, qt_gsi::QtToCppAdaptor(arg2).cref(), arg3, arg4)); -} - - -// QString QAccessibleTextInterface::textBeforeOffset(int offset, QAccessible::TextBoundaryType boundaryType, int *startOffset, int *endOffset) - - -static void _init_f_textBeforeOffset_c5663 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("offset"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("boundaryType"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("startOffset"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("endOffset"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_textBeforeOffset_c5663 (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); - const qt_gsi::Converter::target_type & arg2 = gsi::arg_reader::target_type & >() (args, heap); - int *arg3 = gsi::arg_reader() (args, heap); - int *arg4 = gsi::arg_reader() (args, heap); - ret.write ((QString)((QAccessibleTextInterface *)cls)->textBeforeOffset (arg1, qt_gsi::QtToCppAdaptor(arg2).cref(), arg3, arg4)); -} - - -namespace gsi -{ - -static gsi::Methods methods_QAccessibleTextInterface () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("addSelection", "@brief Method void QAccessibleTextInterface::addSelection(int startOffset, int endOffset)\n", false, &_init_f_addSelection_1426, &_call_f_addSelection_1426); - methods += new qt_gsi::GenericMethod ("attributes", "@brief Method QString QAccessibleTextInterface::attributes(int offset, int *startOffset, int *endOffset)\n", true, &_init_f_attributes_c2457, &_call_f_attributes_c2457); - methods += new qt_gsi::GenericMethod ("characterCount", "@brief Method int QAccessibleTextInterface::characterCount()\n", true, &_init_f_characterCount_c0, &_call_f_characterCount_c0); - methods += new qt_gsi::GenericMethod ("characterRect", "@brief Method QRect QAccessibleTextInterface::characterRect(int offset)\n", true, &_init_f_characterRect_c767, &_call_f_characterRect_c767); - methods += new qt_gsi::GenericMethod (":cursorPosition", "@brief Method int QAccessibleTextInterface::cursorPosition()\n", true, &_init_f_cursorPosition_c0, &_call_f_cursorPosition_c0); - methods += new qt_gsi::GenericMethod ("offsetAtPoint", "@brief Method int QAccessibleTextInterface::offsetAtPoint(const QPoint &point)\n", true, &_init_f_offsetAtPoint_c1916, &_call_f_offsetAtPoint_c1916); - methods += new qt_gsi::GenericMethod ("removeSelection", "@brief Method void QAccessibleTextInterface::removeSelection(int selectionIndex)\n", false, &_init_f_removeSelection_767, &_call_f_removeSelection_767); - methods += new qt_gsi::GenericMethod ("scrollToSubstring", "@brief Method void QAccessibleTextInterface::scrollToSubstring(int startIndex, int endIndex)\n", false, &_init_f_scrollToSubstring_1426, &_call_f_scrollToSubstring_1426); - methods += new qt_gsi::GenericMethod ("selection", "@brief Method void QAccessibleTextInterface::selection(int selectionIndex, int *startOffset, int *endOffset)\n", true, &_init_f_selection_c2457, &_call_f_selection_c2457); - methods += new qt_gsi::GenericMethod ("selectionCount", "@brief Method int QAccessibleTextInterface::selectionCount()\n", true, &_init_f_selectionCount_c0, &_call_f_selectionCount_c0); - methods += new qt_gsi::GenericMethod ("setCursorPosition|cursorPosition=", "@brief Method void QAccessibleTextInterface::setCursorPosition(int position)\n", false, &_init_f_setCursorPosition_767, &_call_f_setCursorPosition_767); - methods += new qt_gsi::GenericMethod ("setSelection", "@brief Method void QAccessibleTextInterface::setSelection(int selectionIndex, int startOffset, int endOffset)\n", false, &_init_f_setSelection_2085, &_call_f_setSelection_2085); - methods += new qt_gsi::GenericMethod ("text", "@brief Method QString QAccessibleTextInterface::text(int startOffset, int endOffset)\n", true, &_init_f_text_c1426, &_call_f_text_c1426); - methods += new qt_gsi::GenericMethod ("textAfterOffset", "@brief Method QString QAccessibleTextInterface::textAfterOffset(int offset, QAccessible::TextBoundaryType boundaryType, int *startOffset, int *endOffset)\n", true, &_init_f_textAfterOffset_c5663, &_call_f_textAfterOffset_c5663); - methods += new qt_gsi::GenericMethod ("textAtOffset", "@brief Method QString QAccessibleTextInterface::textAtOffset(int offset, QAccessible::TextBoundaryType boundaryType, int *startOffset, int *endOffset)\n", true, &_init_f_textAtOffset_c5663, &_call_f_textAtOffset_c5663); - methods += new qt_gsi::GenericMethod ("textBeforeOffset", "@brief Method QString QAccessibleTextInterface::textBeforeOffset(int offset, QAccessible::TextBoundaryType boundaryType, int *startOffset, int *endOffset)\n", true, &_init_f_textBeforeOffset_c5663, &_call_f_textBeforeOffset_c5663); - return methods; -} - -gsi::Class decl_QAccessibleTextInterface ("Qt", "QAccessibleTextInterface_Native", - methods_QAccessibleTextInterface (), - "@hide\n@alias QAccessibleTextInterface"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAccessibleTextInterface () { return decl_QAccessibleTextInterface; } - -} - - -class QAccessibleTextInterface_Adaptor : public QAccessibleTextInterface, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QAccessibleTextInterface_Adaptor(); - - // [adaptor ctor] QAccessibleTextInterface::QAccessibleTextInterface() - QAccessibleTextInterface_Adaptor() : QAccessibleTextInterface() - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor impl] void QAccessibleTextInterface::addSelection(int startOffset, int endOffset) - void cbs_addSelection_1426_0(int startOffset, int endOffset) - { - __SUPPRESS_UNUSED_WARNING (startOffset); - __SUPPRESS_UNUSED_WARNING (endOffset); - throw qt_gsi::AbstractMethodCalledException("addSelection"); - } - - virtual void addSelection(int startOffset, int endOffset) - { - if (cb_addSelection_1426_0.can_issue()) { - cb_addSelection_1426_0.issue(&QAccessibleTextInterface_Adaptor::cbs_addSelection_1426_0, startOffset, endOffset); - } else { - throw qt_gsi::AbstractMethodCalledException("addSelection"); - } - } - - // [adaptor impl] QString QAccessibleTextInterface::attributes(int offset, int *startOffset, int *endOffset) - QString cbs_attributes_c2457_0(int offset, int *startOffset, int *endOffset) const - { - __SUPPRESS_UNUSED_WARNING (offset); - __SUPPRESS_UNUSED_WARNING (startOffset); - __SUPPRESS_UNUSED_WARNING (endOffset); - throw qt_gsi::AbstractMethodCalledException("attributes"); - } - - virtual QString attributes(int offset, int *startOffset, int *endOffset) const - { - if (cb_attributes_c2457_0.can_issue()) { - return cb_attributes_c2457_0.issue(&QAccessibleTextInterface_Adaptor::cbs_attributes_c2457_0, offset, startOffset, endOffset); - } else { - throw qt_gsi::AbstractMethodCalledException("attributes"); - } - } - - // [adaptor impl] int QAccessibleTextInterface::characterCount() - int cbs_characterCount_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("characterCount"); - } - - virtual int characterCount() const - { - if (cb_characterCount_c0_0.can_issue()) { - return cb_characterCount_c0_0.issue(&QAccessibleTextInterface_Adaptor::cbs_characterCount_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("characterCount"); - } - } - - // [adaptor impl] QRect QAccessibleTextInterface::characterRect(int offset) - QRect cbs_characterRect_c767_0(int offset) const - { - __SUPPRESS_UNUSED_WARNING (offset); - throw qt_gsi::AbstractMethodCalledException("characterRect"); - } - - virtual QRect characterRect(int offset) const - { - if (cb_characterRect_c767_0.can_issue()) { - return cb_characterRect_c767_0.issue(&QAccessibleTextInterface_Adaptor::cbs_characterRect_c767_0, offset); - } else { - throw qt_gsi::AbstractMethodCalledException("characterRect"); - } - } - - // [adaptor impl] int QAccessibleTextInterface::cursorPosition() - int cbs_cursorPosition_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("cursorPosition"); - } - - virtual int cursorPosition() const - { - if (cb_cursorPosition_c0_0.can_issue()) { - return cb_cursorPosition_c0_0.issue(&QAccessibleTextInterface_Adaptor::cbs_cursorPosition_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("cursorPosition"); - } - } - - // [adaptor impl] int QAccessibleTextInterface::offsetAtPoint(const QPoint &point) - int cbs_offsetAtPoint_c1916_0(const QPoint &point) const - { - __SUPPRESS_UNUSED_WARNING (point); - throw qt_gsi::AbstractMethodCalledException("offsetAtPoint"); - } - - virtual int offsetAtPoint(const QPoint &point) const - { - if (cb_offsetAtPoint_c1916_0.can_issue()) { - return cb_offsetAtPoint_c1916_0.issue(&QAccessibleTextInterface_Adaptor::cbs_offsetAtPoint_c1916_0, point); - } else { - throw qt_gsi::AbstractMethodCalledException("offsetAtPoint"); - } - } - - // [adaptor impl] void QAccessibleTextInterface::removeSelection(int selectionIndex) - void cbs_removeSelection_767_0(int selectionIndex) - { - __SUPPRESS_UNUSED_WARNING (selectionIndex); - throw qt_gsi::AbstractMethodCalledException("removeSelection"); - } - - virtual void removeSelection(int selectionIndex) - { - if (cb_removeSelection_767_0.can_issue()) { - cb_removeSelection_767_0.issue(&QAccessibleTextInterface_Adaptor::cbs_removeSelection_767_0, selectionIndex); - } else { - throw qt_gsi::AbstractMethodCalledException("removeSelection"); - } - } - - // [adaptor impl] void QAccessibleTextInterface::scrollToSubstring(int startIndex, int endIndex) - void cbs_scrollToSubstring_1426_0(int startIndex, int endIndex) - { - __SUPPRESS_UNUSED_WARNING (startIndex); - __SUPPRESS_UNUSED_WARNING (endIndex); - throw qt_gsi::AbstractMethodCalledException("scrollToSubstring"); - } - - virtual void scrollToSubstring(int startIndex, int endIndex) - { - if (cb_scrollToSubstring_1426_0.can_issue()) { - cb_scrollToSubstring_1426_0.issue(&QAccessibleTextInterface_Adaptor::cbs_scrollToSubstring_1426_0, startIndex, endIndex); - } else { - throw qt_gsi::AbstractMethodCalledException("scrollToSubstring"); - } - } - - // [adaptor impl] void QAccessibleTextInterface::selection(int selectionIndex, int *startOffset, int *endOffset) - void cbs_selection_c2457_0(int selectionIndex, int *startOffset, int *endOffset) const - { - __SUPPRESS_UNUSED_WARNING (selectionIndex); - __SUPPRESS_UNUSED_WARNING (startOffset); - __SUPPRESS_UNUSED_WARNING (endOffset); - throw qt_gsi::AbstractMethodCalledException("selection"); - } - - virtual void selection(int selectionIndex, int *startOffset, int *endOffset) const - { - if (cb_selection_c2457_0.can_issue()) { - cb_selection_c2457_0.issue(&QAccessibleTextInterface_Adaptor::cbs_selection_c2457_0, selectionIndex, startOffset, endOffset); - } else { - throw qt_gsi::AbstractMethodCalledException("selection"); - } - } - - // [adaptor impl] int QAccessibleTextInterface::selectionCount() - int cbs_selectionCount_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("selectionCount"); - } - - virtual int selectionCount() const - { - if (cb_selectionCount_c0_0.can_issue()) { - return cb_selectionCount_c0_0.issue(&QAccessibleTextInterface_Adaptor::cbs_selectionCount_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("selectionCount"); - } - } - - // [adaptor impl] void QAccessibleTextInterface::setCursorPosition(int position) - void cbs_setCursorPosition_767_0(int position) - { - __SUPPRESS_UNUSED_WARNING (position); - throw qt_gsi::AbstractMethodCalledException("setCursorPosition"); - } - - virtual void setCursorPosition(int position) - { - if (cb_setCursorPosition_767_0.can_issue()) { - cb_setCursorPosition_767_0.issue(&QAccessibleTextInterface_Adaptor::cbs_setCursorPosition_767_0, position); - } else { - throw qt_gsi::AbstractMethodCalledException("setCursorPosition"); - } - } - - // [adaptor impl] void QAccessibleTextInterface::setSelection(int selectionIndex, int startOffset, int endOffset) - void cbs_setSelection_2085_0(int selectionIndex, int startOffset, int endOffset) - { - __SUPPRESS_UNUSED_WARNING (selectionIndex); - __SUPPRESS_UNUSED_WARNING (startOffset); - __SUPPRESS_UNUSED_WARNING (endOffset); - throw qt_gsi::AbstractMethodCalledException("setSelection"); - } - - virtual void setSelection(int selectionIndex, int startOffset, int endOffset) - { - if (cb_setSelection_2085_0.can_issue()) { - cb_setSelection_2085_0.issue(&QAccessibleTextInterface_Adaptor::cbs_setSelection_2085_0, selectionIndex, startOffset, endOffset); - } else { - throw qt_gsi::AbstractMethodCalledException("setSelection"); - } - } - - // [adaptor impl] QString QAccessibleTextInterface::text(int startOffset, int endOffset) - QString cbs_text_c1426_0(int startOffset, int endOffset) const - { - __SUPPRESS_UNUSED_WARNING (startOffset); - __SUPPRESS_UNUSED_WARNING (endOffset); - throw qt_gsi::AbstractMethodCalledException("text"); - } - - virtual QString text(int startOffset, int endOffset) const - { - if (cb_text_c1426_0.can_issue()) { - return cb_text_c1426_0.issue(&QAccessibleTextInterface_Adaptor::cbs_text_c1426_0, startOffset, endOffset); - } else { - throw qt_gsi::AbstractMethodCalledException("text"); - } - } - - // [adaptor impl] QString QAccessibleTextInterface::textAfterOffset(int offset, QAccessible::TextBoundaryType boundaryType, int *startOffset, int *endOffset) - QString cbs_textAfterOffset_c5663_0(int offset, const qt_gsi::Converter::target_type & boundaryType, int *startOffset, int *endOffset) const - { - return QAccessibleTextInterface::textAfterOffset(offset, qt_gsi::QtToCppAdaptor(boundaryType).cref(), startOffset, endOffset); - } - - virtual QString textAfterOffset(int offset, QAccessible::TextBoundaryType boundaryType, int *startOffset, int *endOffset) const - { - if (cb_textAfterOffset_c5663_0.can_issue()) { - return cb_textAfterOffset_c5663_0.issue::target_type &, int *, int *>(&QAccessibleTextInterface_Adaptor::cbs_textAfterOffset_c5663_0, offset, qt_gsi::CppToQtAdaptor(boundaryType), startOffset, endOffset); - } else { - return QAccessibleTextInterface::textAfterOffset(offset, boundaryType, startOffset, endOffset); - } - } - - // [adaptor impl] QString QAccessibleTextInterface::textAtOffset(int offset, QAccessible::TextBoundaryType boundaryType, int *startOffset, int *endOffset) - QString cbs_textAtOffset_c5663_0(int offset, const qt_gsi::Converter::target_type & boundaryType, int *startOffset, int *endOffset) const - { - return QAccessibleTextInterface::textAtOffset(offset, qt_gsi::QtToCppAdaptor(boundaryType).cref(), startOffset, endOffset); - } - - virtual QString textAtOffset(int offset, QAccessible::TextBoundaryType boundaryType, int *startOffset, int *endOffset) const - { - if (cb_textAtOffset_c5663_0.can_issue()) { - return cb_textAtOffset_c5663_0.issue::target_type &, int *, int *>(&QAccessibleTextInterface_Adaptor::cbs_textAtOffset_c5663_0, offset, qt_gsi::CppToQtAdaptor(boundaryType), startOffset, endOffset); - } else { - return QAccessibleTextInterface::textAtOffset(offset, boundaryType, startOffset, endOffset); - } - } - - // [adaptor impl] QString QAccessibleTextInterface::textBeforeOffset(int offset, QAccessible::TextBoundaryType boundaryType, int *startOffset, int *endOffset) - QString cbs_textBeforeOffset_c5663_0(int offset, const qt_gsi::Converter::target_type & boundaryType, int *startOffset, int *endOffset) const - { - return QAccessibleTextInterface::textBeforeOffset(offset, qt_gsi::QtToCppAdaptor(boundaryType).cref(), startOffset, endOffset); - } - - virtual QString textBeforeOffset(int offset, QAccessible::TextBoundaryType boundaryType, int *startOffset, int *endOffset) const - { - if (cb_textBeforeOffset_c5663_0.can_issue()) { - return cb_textBeforeOffset_c5663_0.issue::target_type &, int *, int *>(&QAccessibleTextInterface_Adaptor::cbs_textBeforeOffset_c5663_0, offset, qt_gsi::CppToQtAdaptor(boundaryType), startOffset, endOffset); - } else { - return QAccessibleTextInterface::textBeforeOffset(offset, boundaryType, startOffset, endOffset); - } - } - - gsi::Callback cb_addSelection_1426_0; - gsi::Callback cb_attributes_c2457_0; - gsi::Callback cb_characterCount_c0_0; - gsi::Callback cb_characterRect_c767_0; - gsi::Callback cb_cursorPosition_c0_0; - gsi::Callback cb_offsetAtPoint_c1916_0; - gsi::Callback cb_removeSelection_767_0; - gsi::Callback cb_scrollToSubstring_1426_0; - gsi::Callback cb_selection_c2457_0; - gsi::Callback cb_selectionCount_c0_0; - gsi::Callback cb_setCursorPosition_767_0; - gsi::Callback cb_setSelection_2085_0; - gsi::Callback cb_text_c1426_0; - gsi::Callback cb_textAfterOffset_c5663_0; - gsi::Callback cb_textAtOffset_c5663_0; - gsi::Callback cb_textBeforeOffset_c5663_0; -}; - -QAccessibleTextInterface_Adaptor::~QAccessibleTextInterface_Adaptor() { } - -// Constructor QAccessibleTextInterface::QAccessibleTextInterface() (adaptor class) - -static void _init_ctor_QAccessibleTextInterface_Adaptor_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleTextInterface_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QAccessibleTextInterface_Adaptor ()); -} - - -// void QAccessibleTextInterface::addSelection(int startOffset, int endOffset) - -static void _init_cbs_addSelection_1426_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("startOffset"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("endOffset"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_cbs_addSelection_1426_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleTextInterface_Adaptor *)cls)->cbs_addSelection_1426_0 (arg1, arg2); -} - -static void _set_callback_cbs_addSelection_1426_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTextInterface_Adaptor *)cls)->cb_addSelection_1426_0 = cb; -} - - -// QString QAccessibleTextInterface::attributes(int offset, int *startOffset, int *endOffset) - -static void _init_cbs_attributes_c2457_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("offset"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("startOffset"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("endOffset"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_attributes_c2457_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int *arg2 = args.read (heap); - int *arg3 = args.read (heap); - ret.write ((QString)((QAccessibleTextInterface_Adaptor *)cls)->cbs_attributes_c2457_0 (arg1, arg2, arg3)); -} - -static void _set_callback_cbs_attributes_c2457_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTextInterface_Adaptor *)cls)->cb_attributes_c2457_0 = cb; -} - - -// int QAccessibleTextInterface::characterCount() - -static void _init_cbs_characterCount_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_characterCount_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTextInterface_Adaptor *)cls)->cbs_characterCount_c0_0 ()); -} - -static void _set_callback_cbs_characterCount_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTextInterface_Adaptor *)cls)->cb_characterCount_c0_0 = cb; -} - - -// QRect QAccessibleTextInterface::characterRect(int offset) - -static void _init_cbs_characterRect_c767_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("offset"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_characterRect_c767_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - ret.write ((QRect)((QAccessibleTextInterface_Adaptor *)cls)->cbs_characterRect_c767_0 (arg1)); -} - -static void _set_callback_cbs_characterRect_c767_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTextInterface_Adaptor *)cls)->cb_characterRect_c767_0 = cb; -} - - -// int QAccessibleTextInterface::cursorPosition() - -static void _init_cbs_cursorPosition_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_cursorPosition_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTextInterface_Adaptor *)cls)->cbs_cursorPosition_c0_0 ()); -} - -static void _set_callback_cbs_cursorPosition_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTextInterface_Adaptor *)cls)->cb_cursorPosition_c0_0 = cb; -} - - -// int QAccessibleTextInterface::offsetAtPoint(const QPoint &point) - -static void _init_cbs_offsetAtPoint_c1916_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("point"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_offsetAtPoint_c1916_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QPoint &arg1 = args.read (heap); - ret.write ((int)((QAccessibleTextInterface_Adaptor *)cls)->cbs_offsetAtPoint_c1916_0 (arg1)); -} - -static void _set_callback_cbs_offsetAtPoint_c1916_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTextInterface_Adaptor *)cls)->cb_offsetAtPoint_c1916_0 = cb; -} - - -// void QAccessibleTextInterface::removeSelection(int selectionIndex) - -static void _init_cbs_removeSelection_767_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("selectionIndex"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_removeSelection_767_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleTextInterface_Adaptor *)cls)->cbs_removeSelection_767_0 (arg1); -} - -static void _set_callback_cbs_removeSelection_767_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTextInterface_Adaptor *)cls)->cb_removeSelection_767_0 = cb; -} - - -// void QAccessibleTextInterface::scrollToSubstring(int startIndex, int endIndex) - -static void _init_cbs_scrollToSubstring_1426_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("startIndex"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("endIndex"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_cbs_scrollToSubstring_1426_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleTextInterface_Adaptor *)cls)->cbs_scrollToSubstring_1426_0 (arg1, arg2); -} - -static void _set_callback_cbs_scrollToSubstring_1426_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTextInterface_Adaptor *)cls)->cb_scrollToSubstring_1426_0 = cb; -} - - -// void QAccessibleTextInterface::selection(int selectionIndex, int *startOffset, int *endOffset) - -static void _init_cbs_selection_c2457_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("selectionIndex"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("startOffset"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("endOffset"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_selection_c2457_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int *arg2 = args.read (heap); - int *arg3 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleTextInterface_Adaptor *)cls)->cbs_selection_c2457_0 (arg1, arg2, arg3); -} - -static void _set_callback_cbs_selection_c2457_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTextInterface_Adaptor *)cls)->cb_selection_c2457_0 = cb; -} - - -// int QAccessibleTextInterface::selectionCount() - -static void _init_cbs_selectionCount_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_selectionCount_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTextInterface_Adaptor *)cls)->cbs_selectionCount_c0_0 ()); -} - -static void _set_callback_cbs_selectionCount_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTextInterface_Adaptor *)cls)->cb_selectionCount_c0_0 = cb; -} - - -// void QAccessibleTextInterface::setCursorPosition(int position) - -static void _init_cbs_setCursorPosition_767_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("position"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_setCursorPosition_767_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleTextInterface_Adaptor *)cls)->cbs_setCursorPosition_767_0 (arg1); -} - -static void _set_callback_cbs_setCursorPosition_767_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTextInterface_Adaptor *)cls)->cb_setCursorPosition_767_0 = cb; -} - - -// void QAccessibleTextInterface::setSelection(int selectionIndex, int startOffset, int endOffset) - -static void _init_cbs_setSelection_2085_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("selectionIndex"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("startOffset"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("endOffset"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_cbs_setSelection_2085_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - int arg3 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleTextInterface_Adaptor *)cls)->cbs_setSelection_2085_0 (arg1, arg2, arg3); -} - -static void _set_callback_cbs_setSelection_2085_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTextInterface_Adaptor *)cls)->cb_setSelection_2085_0 = cb; -} - - -// QString QAccessibleTextInterface::text(int startOffset, int endOffset) - -static void _init_cbs_text_c1426_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("startOffset"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("endOffset"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_cbs_text_c1426_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - int arg2 = args.read (heap); - ret.write ((QString)((QAccessibleTextInterface_Adaptor *)cls)->cbs_text_c1426_0 (arg1, arg2)); -} - -static void _set_callback_cbs_text_c1426_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTextInterface_Adaptor *)cls)->cb_text_c1426_0 = cb; -} - - -// QString QAccessibleTextInterface::textAfterOffset(int offset, QAccessible::TextBoundaryType boundaryType, int *startOffset, int *endOffset) - -static void _init_cbs_textAfterOffset_c5663_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("offset"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("boundaryType"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("startOffset"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("endOffset"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_cbs_textAfterOffset_c5663_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - const qt_gsi::Converter::target_type & arg2 = args.read::target_type & > (heap); - int *arg3 = args.read (heap); - int *arg4 = args.read (heap); - ret.write ((QString)((QAccessibleTextInterface_Adaptor *)cls)->cbs_textAfterOffset_c5663_0 (arg1, arg2, arg3, arg4)); -} - -static void _set_callback_cbs_textAfterOffset_c5663_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTextInterface_Adaptor *)cls)->cb_textAfterOffset_c5663_0 = cb; -} - - -// QString QAccessibleTextInterface::textAtOffset(int offset, QAccessible::TextBoundaryType boundaryType, int *startOffset, int *endOffset) - -static void _init_cbs_textAtOffset_c5663_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("offset"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("boundaryType"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("startOffset"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("endOffset"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_cbs_textAtOffset_c5663_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - const qt_gsi::Converter::target_type & arg2 = args.read::target_type & > (heap); - int *arg3 = args.read (heap); - int *arg4 = args.read (heap); - ret.write ((QString)((QAccessibleTextInterface_Adaptor *)cls)->cbs_textAtOffset_c5663_0 (arg1, arg2, arg3, arg4)); -} - -static void _set_callback_cbs_textAtOffset_c5663_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTextInterface_Adaptor *)cls)->cb_textAtOffset_c5663_0 = cb; -} - - -// QString QAccessibleTextInterface::textBeforeOffset(int offset, QAccessible::TextBoundaryType boundaryType, int *startOffset, int *endOffset) - -static void _init_cbs_textBeforeOffset_c5663_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("offset"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("boundaryType"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("startOffset"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("endOffset"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_cbs_textBeforeOffset_c5663_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args.read (heap); - const qt_gsi::Converter::target_type & arg2 = args.read::target_type & > (heap); - int *arg3 = args.read (heap); - int *arg4 = args.read (heap); - ret.write ((QString)((QAccessibleTextInterface_Adaptor *)cls)->cbs_textBeforeOffset_c5663_0 (arg1, arg2, arg3, arg4)); -} - -static void _set_callback_cbs_textBeforeOffset_c5663_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTextInterface_Adaptor *)cls)->cb_textBeforeOffset_c5663_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QAccessibleTextInterface (); - -static gsi::Methods methods_QAccessibleTextInterface_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTextInterface::QAccessibleTextInterface()\nThis method creates an object of class QAccessibleTextInterface.", &_init_ctor_QAccessibleTextInterface_Adaptor_0, &_call_ctor_QAccessibleTextInterface_Adaptor_0); - methods += new qt_gsi::GenericMethod ("addSelection", "@brief Virtual method void QAccessibleTextInterface::addSelection(int startOffset, int endOffset)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_addSelection_1426_0, &_call_cbs_addSelection_1426_0); - methods += new qt_gsi::GenericMethod ("addSelection", "@hide", false, &_init_cbs_addSelection_1426_0, &_call_cbs_addSelection_1426_0, &_set_callback_cbs_addSelection_1426_0); - methods += new qt_gsi::GenericMethod ("attributes", "@brief Virtual method QString QAccessibleTextInterface::attributes(int offset, int *startOffset, int *endOffset)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_attributes_c2457_0, &_call_cbs_attributes_c2457_0); - methods += new qt_gsi::GenericMethod ("attributes", "@hide", true, &_init_cbs_attributes_c2457_0, &_call_cbs_attributes_c2457_0, &_set_callback_cbs_attributes_c2457_0); - methods += new qt_gsi::GenericMethod ("characterCount", "@brief Virtual method int QAccessibleTextInterface::characterCount()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_characterCount_c0_0, &_call_cbs_characterCount_c0_0); - methods += new qt_gsi::GenericMethod ("characterCount", "@hide", true, &_init_cbs_characterCount_c0_0, &_call_cbs_characterCount_c0_0, &_set_callback_cbs_characterCount_c0_0); - methods += new qt_gsi::GenericMethod ("characterRect", "@brief Virtual method QRect QAccessibleTextInterface::characterRect(int offset)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_characterRect_c767_0, &_call_cbs_characterRect_c767_0); - methods += new qt_gsi::GenericMethod ("characterRect", "@hide", true, &_init_cbs_characterRect_c767_0, &_call_cbs_characterRect_c767_0, &_set_callback_cbs_characterRect_c767_0); - methods += new qt_gsi::GenericMethod ("cursorPosition", "@brief Virtual method int QAccessibleTextInterface::cursorPosition()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_cursorPosition_c0_0, &_call_cbs_cursorPosition_c0_0); - methods += new qt_gsi::GenericMethod ("cursorPosition", "@hide", true, &_init_cbs_cursorPosition_c0_0, &_call_cbs_cursorPosition_c0_0, &_set_callback_cbs_cursorPosition_c0_0); - methods += new qt_gsi::GenericMethod ("offsetAtPoint", "@brief Virtual method int QAccessibleTextInterface::offsetAtPoint(const QPoint &point)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_offsetAtPoint_c1916_0, &_call_cbs_offsetAtPoint_c1916_0); - methods += new qt_gsi::GenericMethod ("offsetAtPoint", "@hide", true, &_init_cbs_offsetAtPoint_c1916_0, &_call_cbs_offsetAtPoint_c1916_0, &_set_callback_cbs_offsetAtPoint_c1916_0); - methods += new qt_gsi::GenericMethod ("removeSelection", "@brief Virtual method void QAccessibleTextInterface::removeSelection(int selectionIndex)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_removeSelection_767_0, &_call_cbs_removeSelection_767_0); - methods += new qt_gsi::GenericMethod ("removeSelection", "@hide", false, &_init_cbs_removeSelection_767_0, &_call_cbs_removeSelection_767_0, &_set_callback_cbs_removeSelection_767_0); - methods += new qt_gsi::GenericMethod ("scrollToSubstring", "@brief Virtual method void QAccessibleTextInterface::scrollToSubstring(int startIndex, int endIndex)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_scrollToSubstring_1426_0, &_call_cbs_scrollToSubstring_1426_0); - methods += new qt_gsi::GenericMethod ("scrollToSubstring", "@hide", false, &_init_cbs_scrollToSubstring_1426_0, &_call_cbs_scrollToSubstring_1426_0, &_set_callback_cbs_scrollToSubstring_1426_0); - methods += new qt_gsi::GenericMethod ("selection", "@brief Virtual method void QAccessibleTextInterface::selection(int selectionIndex, int *startOffset, int *endOffset)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_selection_c2457_0, &_call_cbs_selection_c2457_0); - methods += new qt_gsi::GenericMethod ("selection", "@hide", true, &_init_cbs_selection_c2457_0, &_call_cbs_selection_c2457_0, &_set_callback_cbs_selection_c2457_0); - methods += new qt_gsi::GenericMethod ("selectionCount", "@brief Virtual method int QAccessibleTextInterface::selectionCount()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_selectionCount_c0_0, &_call_cbs_selectionCount_c0_0); - methods += new qt_gsi::GenericMethod ("selectionCount", "@hide", true, &_init_cbs_selectionCount_c0_0, &_call_cbs_selectionCount_c0_0, &_set_callback_cbs_selectionCount_c0_0); - methods += new qt_gsi::GenericMethod ("setCursorPosition", "@brief Virtual method void QAccessibleTextInterface::setCursorPosition(int position)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setCursorPosition_767_0, &_call_cbs_setCursorPosition_767_0); - methods += new qt_gsi::GenericMethod ("setCursorPosition", "@hide", false, &_init_cbs_setCursorPosition_767_0, &_call_cbs_setCursorPosition_767_0, &_set_callback_cbs_setCursorPosition_767_0); - methods += new qt_gsi::GenericMethod ("setSelection", "@brief Virtual method void QAccessibleTextInterface::setSelection(int selectionIndex, int startOffset, int endOffset)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setSelection_2085_0, &_call_cbs_setSelection_2085_0); - methods += new qt_gsi::GenericMethod ("setSelection", "@hide", false, &_init_cbs_setSelection_2085_0, &_call_cbs_setSelection_2085_0, &_set_callback_cbs_setSelection_2085_0); - methods += new qt_gsi::GenericMethod ("text", "@brief Virtual method QString QAccessibleTextInterface::text(int startOffset, int endOffset)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_text_c1426_0, &_call_cbs_text_c1426_0); - methods += new qt_gsi::GenericMethod ("text", "@hide", true, &_init_cbs_text_c1426_0, &_call_cbs_text_c1426_0, &_set_callback_cbs_text_c1426_0); - methods += new qt_gsi::GenericMethod ("textAfterOffset", "@brief Virtual method QString QAccessibleTextInterface::textAfterOffset(int offset, QAccessible::TextBoundaryType boundaryType, int *startOffset, int *endOffset)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_textAfterOffset_c5663_0, &_call_cbs_textAfterOffset_c5663_0); - methods += new qt_gsi::GenericMethod ("textAfterOffset", "@hide", true, &_init_cbs_textAfterOffset_c5663_0, &_call_cbs_textAfterOffset_c5663_0, &_set_callback_cbs_textAfterOffset_c5663_0); - methods += new qt_gsi::GenericMethod ("textAtOffset", "@brief Virtual method QString QAccessibleTextInterface::textAtOffset(int offset, QAccessible::TextBoundaryType boundaryType, int *startOffset, int *endOffset)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_textAtOffset_c5663_0, &_call_cbs_textAtOffset_c5663_0); - methods += new qt_gsi::GenericMethod ("textAtOffset", "@hide", true, &_init_cbs_textAtOffset_c5663_0, &_call_cbs_textAtOffset_c5663_0, &_set_callback_cbs_textAtOffset_c5663_0); - methods += new qt_gsi::GenericMethod ("textBeforeOffset", "@brief Virtual method QString QAccessibleTextInterface::textBeforeOffset(int offset, QAccessible::TextBoundaryType boundaryType, int *startOffset, int *endOffset)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_textBeforeOffset_c5663_0, &_call_cbs_textBeforeOffset_c5663_0); - methods += new qt_gsi::GenericMethod ("textBeforeOffset", "@hide", true, &_init_cbs_textBeforeOffset_c5663_0, &_call_cbs_textBeforeOffset_c5663_0, &_set_callback_cbs_textBeforeOffset_c5663_0); - return methods; -} - -gsi::Class decl_QAccessibleTextInterface_Adaptor (qtdecl_QAccessibleTextInterface (), "Qt", "QAccessibleTextInterface", - methods_QAccessibleTextInterface_Adaptor (), - "@qt\n@brief Binding of QAccessibleTextInterface"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTextRemoveEvent.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTextRemoveEvent.cc deleted file mode 100644 index a37693c61..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTextRemoveEvent.cc +++ /dev/null @@ -1,216 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAccessibleTextRemoveEvent.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAccessibleTextRemoveEvent - -// int QAccessibleTextRemoveEvent::changePosition() - - -static void _init_f_changePosition_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_changePosition_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTextRemoveEvent *)cls)->changePosition ()); -} - - -// QString QAccessibleTextRemoveEvent::textRemoved() - - -static void _init_f_textRemoved_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_textRemoved_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QAccessibleTextRemoveEvent *)cls)->textRemoved ()); -} - - -namespace gsi -{ - -static gsi::Methods methods_QAccessibleTextRemoveEvent () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("changePosition", "@brief Method int QAccessibleTextRemoveEvent::changePosition()\n", true, &_init_f_changePosition_c0, &_call_f_changePosition_c0); - methods += new qt_gsi::GenericMethod ("textRemoved", "@brief Method QString QAccessibleTextRemoveEvent::textRemoved()\n", true, &_init_f_textRemoved_c0, &_call_f_textRemoved_c0); - return methods; -} - -gsi::Class &qtdecl_QAccessibleTextCursorEvent (); - -gsi::Class decl_QAccessibleTextRemoveEvent (qtdecl_QAccessibleTextCursorEvent (), "Qt", "QAccessibleTextRemoveEvent_Native", - methods_QAccessibleTextRemoveEvent (), - "@hide\n@alias QAccessibleTextRemoveEvent"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAccessibleTextRemoveEvent () { return decl_QAccessibleTextRemoveEvent; } - -} - - -class QAccessibleTextRemoveEvent_Adaptor : public QAccessibleTextRemoveEvent, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QAccessibleTextRemoveEvent_Adaptor(); - - // [adaptor ctor] QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QObject *obj, int position, const QString &text) - QAccessibleTextRemoveEvent_Adaptor(QObject *obj, int position, const QString &text) : QAccessibleTextRemoveEvent(obj, position, text) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QAccessibleInterface *iface, int position, const QString &text) - QAccessibleTextRemoveEvent_Adaptor(QAccessibleInterface *iface, int position, const QString &text) : QAccessibleTextRemoveEvent(iface, position, text) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor impl] QAccessibleInterface *QAccessibleTextRemoveEvent::accessibleInterface() - QAccessibleInterface * cbs_accessibleInterface_c0_0() const - { - return QAccessibleTextRemoveEvent::accessibleInterface(); - } - - virtual QAccessibleInterface * accessibleInterface() const - { - if (cb_accessibleInterface_c0_0.can_issue()) { - return cb_accessibleInterface_c0_0.issue(&QAccessibleTextRemoveEvent_Adaptor::cbs_accessibleInterface_c0_0); - } else { - return QAccessibleTextRemoveEvent::accessibleInterface(); - } - } - - gsi::Callback cb_accessibleInterface_c0_0; -}; - -QAccessibleTextRemoveEvent_Adaptor::~QAccessibleTextRemoveEvent_Adaptor() { } - -// Constructor QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QObject *obj, int position, const QString &text) (adaptor class) - -static void _init_ctor_QAccessibleTextRemoveEvent_Adaptor_3878 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("obj"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("position"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("text"); - decl->add_arg (argspec_2); - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleTextRemoveEvent_Adaptor_3878 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - const QString &arg3 = gsi::arg_reader() (args, heap); - ret.write (new QAccessibleTextRemoveEvent_Adaptor (arg1, arg2, arg3)); -} - - -// Constructor QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QAccessibleInterface *iface, int position, const QString &text) (adaptor class) - -static void _init_ctor_QAccessibleTextRemoveEvent_Adaptor_5198 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("iface"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("position"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("text"); - decl->add_arg (argspec_2); - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleTextRemoveEvent_Adaptor_5198 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QAccessibleInterface *arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - const QString &arg3 = gsi::arg_reader() (args, heap); - ret.write (new QAccessibleTextRemoveEvent_Adaptor (arg1, arg2, arg3)); -} - - -// QAccessibleInterface *QAccessibleTextRemoveEvent::accessibleInterface() - -static void _init_cbs_accessibleInterface_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_accessibleInterface_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAccessibleInterface *)((QAccessibleTextRemoveEvent_Adaptor *)cls)->cbs_accessibleInterface_c0_0 ()); -} - -static void _set_callback_cbs_accessibleInterface_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTextRemoveEvent_Adaptor *)cls)->cb_accessibleInterface_c0_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QAccessibleTextRemoveEvent (); - -static gsi::Methods methods_QAccessibleTextRemoveEvent_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QObject *obj, int position, const QString &text)\nThis method creates an object of class QAccessibleTextRemoveEvent.", &_init_ctor_QAccessibleTextRemoveEvent_Adaptor_3878, &_call_ctor_QAccessibleTextRemoveEvent_Adaptor_3878); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTextRemoveEvent::QAccessibleTextRemoveEvent(QAccessibleInterface *iface, int position, const QString &text)\nThis method creates an object of class QAccessibleTextRemoveEvent.", &_init_ctor_QAccessibleTextRemoveEvent_Adaptor_5198, &_call_ctor_QAccessibleTextRemoveEvent_Adaptor_5198); - methods += new qt_gsi::GenericMethod ("accessibleInterface", "@brief Virtual method QAccessibleInterface *QAccessibleTextRemoveEvent::accessibleInterface()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0); - methods += new qt_gsi::GenericMethod ("accessibleInterface", "@hide", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0, &_set_callback_cbs_accessibleInterface_c0_0); - return methods; -} - -gsi::Class decl_QAccessibleTextRemoveEvent_Adaptor (qtdecl_QAccessibleTextRemoveEvent (), "Qt", "QAccessibleTextRemoveEvent", - methods_QAccessibleTextRemoveEvent_Adaptor (), - "@qt\n@brief Binding of QAccessibleTextRemoveEvent"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTextSelectionEvent.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTextSelectionEvent.cc deleted file mode 100644 index 4bdf3f4f9..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTextSelectionEvent.cc +++ /dev/null @@ -1,240 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAccessibleTextSelectionEvent.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAccessibleTextSelectionEvent - -// int QAccessibleTextSelectionEvent::selectionEnd() - - -static void _init_f_selectionEnd_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_selectionEnd_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTextSelectionEvent *)cls)->selectionEnd ()); -} - - -// int QAccessibleTextSelectionEvent::selectionStart() - - -static void _init_f_selectionStart_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_selectionStart_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTextSelectionEvent *)cls)->selectionStart ()); -} - - -// void QAccessibleTextSelectionEvent::setSelection(int start, int end) - - -static void _init_f_setSelection_1426 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("start"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("end"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_setSelection_1426 (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); - int arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleTextSelectionEvent *)cls)->setSelection (arg1, arg2); -} - - -namespace gsi -{ - -static gsi::Methods methods_QAccessibleTextSelectionEvent () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("selectionEnd", "@brief Method int QAccessibleTextSelectionEvent::selectionEnd()\n", true, &_init_f_selectionEnd_c0, &_call_f_selectionEnd_c0); - methods += new qt_gsi::GenericMethod ("selectionStart", "@brief Method int QAccessibleTextSelectionEvent::selectionStart()\n", true, &_init_f_selectionStart_c0, &_call_f_selectionStart_c0); - methods += new qt_gsi::GenericMethod ("setSelection", "@brief Method void QAccessibleTextSelectionEvent::setSelection(int start, int end)\n", false, &_init_f_setSelection_1426, &_call_f_setSelection_1426); - return methods; -} - -gsi::Class &qtdecl_QAccessibleTextCursorEvent (); - -gsi::Class decl_QAccessibleTextSelectionEvent (qtdecl_QAccessibleTextCursorEvent (), "Qt", "QAccessibleTextSelectionEvent_Native", - methods_QAccessibleTextSelectionEvent (), - "@hide\n@alias QAccessibleTextSelectionEvent"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAccessibleTextSelectionEvent () { return decl_QAccessibleTextSelectionEvent; } - -} - - -class QAccessibleTextSelectionEvent_Adaptor : public QAccessibleTextSelectionEvent, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QAccessibleTextSelectionEvent_Adaptor(); - - // [adaptor ctor] QAccessibleTextSelectionEvent::QAccessibleTextSelectionEvent(QObject *obj, int start, int end) - QAccessibleTextSelectionEvent_Adaptor(QObject *obj, int start, int end) : QAccessibleTextSelectionEvent(obj, start, end) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QAccessibleTextSelectionEvent::QAccessibleTextSelectionEvent(QAccessibleInterface *iface, int start, int end) - QAccessibleTextSelectionEvent_Adaptor(QAccessibleInterface *iface, int start, int end) : QAccessibleTextSelectionEvent(iface, start, end) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor impl] QAccessibleInterface *QAccessibleTextSelectionEvent::accessibleInterface() - QAccessibleInterface * cbs_accessibleInterface_c0_0() const - { - return QAccessibleTextSelectionEvent::accessibleInterface(); - } - - virtual QAccessibleInterface * accessibleInterface() const - { - if (cb_accessibleInterface_c0_0.can_issue()) { - return cb_accessibleInterface_c0_0.issue(&QAccessibleTextSelectionEvent_Adaptor::cbs_accessibleInterface_c0_0); - } else { - return QAccessibleTextSelectionEvent::accessibleInterface(); - } - } - - gsi::Callback cb_accessibleInterface_c0_0; -}; - -QAccessibleTextSelectionEvent_Adaptor::~QAccessibleTextSelectionEvent_Adaptor() { } - -// Constructor QAccessibleTextSelectionEvent::QAccessibleTextSelectionEvent(QObject *obj, int start, int end) (adaptor class) - -static void _init_ctor_QAccessibleTextSelectionEvent_Adaptor_2620 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("obj"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("start"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("end"); - decl->add_arg (argspec_2); - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleTextSelectionEvent_Adaptor_2620 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ret.write (new QAccessibleTextSelectionEvent_Adaptor (arg1, arg2, arg3)); -} - - -// Constructor QAccessibleTextSelectionEvent::QAccessibleTextSelectionEvent(QAccessibleInterface *iface, int start, int end) (adaptor class) - -static void _init_ctor_QAccessibleTextSelectionEvent_Adaptor_3940 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("iface"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("start"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("end"); - decl->add_arg (argspec_2); - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleTextSelectionEvent_Adaptor_3940 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QAccessibleInterface *arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ret.write (new QAccessibleTextSelectionEvent_Adaptor (arg1, arg2, arg3)); -} - - -// QAccessibleInterface *QAccessibleTextSelectionEvent::accessibleInterface() - -static void _init_cbs_accessibleInterface_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_accessibleInterface_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAccessibleInterface *)((QAccessibleTextSelectionEvent_Adaptor *)cls)->cbs_accessibleInterface_c0_0 ()); -} - -static void _set_callback_cbs_accessibleInterface_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTextSelectionEvent_Adaptor *)cls)->cb_accessibleInterface_c0_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QAccessibleTextSelectionEvent (); - -static gsi::Methods methods_QAccessibleTextSelectionEvent_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTextSelectionEvent::QAccessibleTextSelectionEvent(QObject *obj, int start, int end)\nThis method creates an object of class QAccessibleTextSelectionEvent.", &_init_ctor_QAccessibleTextSelectionEvent_Adaptor_2620, &_call_ctor_QAccessibleTextSelectionEvent_Adaptor_2620); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTextSelectionEvent::QAccessibleTextSelectionEvent(QAccessibleInterface *iface, int start, int end)\nThis method creates an object of class QAccessibleTextSelectionEvent.", &_init_ctor_QAccessibleTextSelectionEvent_Adaptor_3940, &_call_ctor_QAccessibleTextSelectionEvent_Adaptor_3940); - methods += new qt_gsi::GenericMethod ("accessibleInterface", "@brief Virtual method QAccessibleInterface *QAccessibleTextSelectionEvent::accessibleInterface()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0); - methods += new qt_gsi::GenericMethod ("accessibleInterface", "@hide", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0, &_set_callback_cbs_accessibleInterface_c0_0); - return methods; -} - -gsi::Class decl_QAccessibleTextSelectionEvent_Adaptor (qtdecl_QAccessibleTextSelectionEvent (), "Qt", "QAccessibleTextSelectionEvent", - methods_QAccessibleTextSelectionEvent_Adaptor (), - "@qt\n@brief Binding of QAccessibleTextSelectionEvent"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTextUpdateEvent.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTextUpdateEvent.cc deleted file mode 100644 index 591c525cf..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleTextUpdateEvent.cc +++ /dev/null @@ -1,238 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAccessibleTextUpdateEvent.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAccessibleTextUpdateEvent - -// int QAccessibleTextUpdateEvent::changePosition() - - -static void _init_f_changePosition_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_changePosition_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAccessibleTextUpdateEvent *)cls)->changePosition ()); -} - - -// QString QAccessibleTextUpdateEvent::textInserted() - - -static void _init_f_textInserted_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_textInserted_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QAccessibleTextUpdateEvent *)cls)->textInserted ()); -} - - -// QString QAccessibleTextUpdateEvent::textRemoved() - - -static void _init_f_textRemoved_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_textRemoved_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QAccessibleTextUpdateEvent *)cls)->textRemoved ()); -} - - -namespace gsi -{ - -static gsi::Methods methods_QAccessibleTextUpdateEvent () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("changePosition", "@brief Method int QAccessibleTextUpdateEvent::changePosition()\n", true, &_init_f_changePosition_c0, &_call_f_changePosition_c0); - methods += new qt_gsi::GenericMethod ("textInserted", "@brief Method QString QAccessibleTextUpdateEvent::textInserted()\n", true, &_init_f_textInserted_c0, &_call_f_textInserted_c0); - methods += new qt_gsi::GenericMethod ("textRemoved", "@brief Method QString QAccessibleTextUpdateEvent::textRemoved()\n", true, &_init_f_textRemoved_c0, &_call_f_textRemoved_c0); - return methods; -} - -gsi::Class &qtdecl_QAccessibleTextCursorEvent (); - -gsi::Class decl_QAccessibleTextUpdateEvent (qtdecl_QAccessibleTextCursorEvent (), "Qt", "QAccessibleTextUpdateEvent_Native", - methods_QAccessibleTextUpdateEvent (), - "@hide\n@alias QAccessibleTextUpdateEvent"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAccessibleTextUpdateEvent () { return decl_QAccessibleTextUpdateEvent; } - -} - - -class QAccessibleTextUpdateEvent_Adaptor : public QAccessibleTextUpdateEvent, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QAccessibleTextUpdateEvent_Adaptor(); - - // [adaptor ctor] QAccessibleTextUpdateEvent::QAccessibleTextUpdateEvent(QObject *obj, int position, const QString &oldText, const QString &text) - QAccessibleTextUpdateEvent_Adaptor(QObject *obj, int position, const QString &oldText, const QString &text) : QAccessibleTextUpdateEvent(obj, position, oldText, text) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QAccessibleTextUpdateEvent::QAccessibleTextUpdateEvent(QAccessibleInterface *iface, int position, const QString &oldText, const QString &text) - QAccessibleTextUpdateEvent_Adaptor(QAccessibleInterface *iface, int position, const QString &oldText, const QString &text) : QAccessibleTextUpdateEvent(iface, position, oldText, text) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor impl] QAccessibleInterface *QAccessibleTextUpdateEvent::accessibleInterface() - QAccessibleInterface * cbs_accessibleInterface_c0_0() const - { - return QAccessibleTextUpdateEvent::accessibleInterface(); - } - - virtual QAccessibleInterface * accessibleInterface() const - { - if (cb_accessibleInterface_c0_0.can_issue()) { - return cb_accessibleInterface_c0_0.issue(&QAccessibleTextUpdateEvent_Adaptor::cbs_accessibleInterface_c0_0); - } else { - return QAccessibleTextUpdateEvent::accessibleInterface(); - } - } - - gsi::Callback cb_accessibleInterface_c0_0; -}; - -QAccessibleTextUpdateEvent_Adaptor::~QAccessibleTextUpdateEvent_Adaptor() { } - -// Constructor QAccessibleTextUpdateEvent::QAccessibleTextUpdateEvent(QObject *obj, int position, const QString &oldText, const QString &text) (adaptor class) - -static void _init_ctor_QAccessibleTextUpdateEvent_Adaptor_5795 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("obj"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("position"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("oldText"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("text"); - decl->add_arg (argspec_3); - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleTextUpdateEvent_Adaptor_5795 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - const QString &arg3 = gsi::arg_reader() (args, heap); - const QString &arg4 = gsi::arg_reader() (args, heap); - ret.write (new QAccessibleTextUpdateEvent_Adaptor (arg1, arg2, arg3, arg4)); -} - - -// Constructor QAccessibleTextUpdateEvent::QAccessibleTextUpdateEvent(QAccessibleInterface *iface, int position, const QString &oldText, const QString &text) (adaptor class) - -static void _init_ctor_QAccessibleTextUpdateEvent_Adaptor_7115 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("iface"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("position"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("oldText"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("text"); - decl->add_arg (argspec_3); - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleTextUpdateEvent_Adaptor_7115 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QAccessibleInterface *arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - const QString &arg3 = gsi::arg_reader() (args, heap); - const QString &arg4 = gsi::arg_reader() (args, heap); - ret.write (new QAccessibleTextUpdateEvent_Adaptor (arg1, arg2, arg3, arg4)); -} - - -// QAccessibleInterface *QAccessibleTextUpdateEvent::accessibleInterface() - -static void _init_cbs_accessibleInterface_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_accessibleInterface_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAccessibleInterface *)((QAccessibleTextUpdateEvent_Adaptor *)cls)->cbs_accessibleInterface_c0_0 ()); -} - -static void _set_callback_cbs_accessibleInterface_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleTextUpdateEvent_Adaptor *)cls)->cb_accessibleInterface_c0_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QAccessibleTextUpdateEvent (); - -static gsi::Methods methods_QAccessibleTextUpdateEvent_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTextUpdateEvent::QAccessibleTextUpdateEvent(QObject *obj, int position, const QString &oldText, const QString &text)\nThis method creates an object of class QAccessibleTextUpdateEvent.", &_init_ctor_QAccessibleTextUpdateEvent_Adaptor_5795, &_call_ctor_QAccessibleTextUpdateEvent_Adaptor_5795); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleTextUpdateEvent::QAccessibleTextUpdateEvent(QAccessibleInterface *iface, int position, const QString &oldText, const QString &text)\nThis method creates an object of class QAccessibleTextUpdateEvent.", &_init_ctor_QAccessibleTextUpdateEvent_Adaptor_7115, &_call_ctor_QAccessibleTextUpdateEvent_Adaptor_7115); - methods += new qt_gsi::GenericMethod ("accessibleInterface", "@brief Virtual method QAccessibleInterface *QAccessibleTextUpdateEvent::accessibleInterface()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0); - methods += new qt_gsi::GenericMethod ("accessibleInterface", "@hide", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0, &_set_callback_cbs_accessibleInterface_c0_0); - return methods; -} - -gsi::Class decl_QAccessibleTextUpdateEvent_Adaptor (qtdecl_QAccessibleTextUpdateEvent (), "Qt", "QAccessibleTextUpdateEvent", - methods_QAccessibleTextUpdateEvent_Adaptor (), - "@qt\n@brief Binding of QAccessibleTextUpdateEvent"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleValueChangeEvent.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleValueChangeEvent.cc deleted file mode 100644 index 04cf0dda1..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleValueChangeEvent.cc +++ /dev/null @@ -1,215 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAccessibleValueChangeEvent.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAccessibleValueChangeEvent - -// void QAccessibleValueChangeEvent::setValue(const QVariant &val) - - -static void _init_f_setValue_2119 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("val"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setValue_2119 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QVariant &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleValueChangeEvent *)cls)->setValue (arg1); -} - - -// QVariant QAccessibleValueChangeEvent::value() - - -static void _init_f_value_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_value_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVariant)((QAccessibleValueChangeEvent *)cls)->value ()); -} - - -namespace gsi -{ - -static gsi::Methods methods_QAccessibleValueChangeEvent () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("setValue|value=", "@brief Method void QAccessibleValueChangeEvent::setValue(const QVariant &val)\n", false, &_init_f_setValue_2119, &_call_f_setValue_2119); - methods += new qt_gsi::GenericMethod (":value", "@brief Method QVariant QAccessibleValueChangeEvent::value()\n", true, &_init_f_value_c0, &_call_f_value_c0); - return methods; -} - -gsi::Class &qtdecl_QAccessibleEvent (); - -gsi::Class decl_QAccessibleValueChangeEvent (qtdecl_QAccessibleEvent (), "Qt", "QAccessibleValueChangeEvent_Native", - methods_QAccessibleValueChangeEvent (), - "@hide\n@alias QAccessibleValueChangeEvent"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAccessibleValueChangeEvent () { return decl_QAccessibleValueChangeEvent; } - -} - - -class QAccessibleValueChangeEvent_Adaptor : public QAccessibleValueChangeEvent, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QAccessibleValueChangeEvent_Adaptor(); - - // [adaptor ctor] QAccessibleValueChangeEvent::QAccessibleValueChangeEvent(QObject *obj, const QVariant &val) - QAccessibleValueChangeEvent_Adaptor(QObject *obj, const QVariant &val) : QAccessibleValueChangeEvent(obj, val) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QAccessibleValueChangeEvent::QAccessibleValueChangeEvent(QAccessibleInterface *iface, const QVariant &val) - QAccessibleValueChangeEvent_Adaptor(QAccessibleInterface *iface, const QVariant &val) : QAccessibleValueChangeEvent(iface, val) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor impl] QAccessibleInterface *QAccessibleValueChangeEvent::accessibleInterface() - QAccessibleInterface * cbs_accessibleInterface_c0_0() const - { - return QAccessibleValueChangeEvent::accessibleInterface(); - } - - virtual QAccessibleInterface * accessibleInterface() const - { - if (cb_accessibleInterface_c0_0.can_issue()) { - return cb_accessibleInterface_c0_0.issue(&QAccessibleValueChangeEvent_Adaptor::cbs_accessibleInterface_c0_0); - } else { - return QAccessibleValueChangeEvent::accessibleInterface(); - } - } - - gsi::Callback cb_accessibleInterface_c0_0; -}; - -QAccessibleValueChangeEvent_Adaptor::~QAccessibleValueChangeEvent_Adaptor() { } - -// Constructor QAccessibleValueChangeEvent::QAccessibleValueChangeEvent(QObject *obj, const QVariant &val) (adaptor class) - -static void _init_ctor_QAccessibleValueChangeEvent_Adaptor_3313 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("obj"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("val"); - decl->add_arg (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleValueChangeEvent_Adaptor_3313 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = gsi::arg_reader() (args, heap); - const QVariant &arg2 = gsi::arg_reader() (args, heap); - ret.write (new QAccessibleValueChangeEvent_Adaptor (arg1, arg2)); -} - - -// Constructor QAccessibleValueChangeEvent::QAccessibleValueChangeEvent(QAccessibleInterface *iface, const QVariant &val) (adaptor class) - -static void _init_ctor_QAccessibleValueChangeEvent_Adaptor_4633 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("iface"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("val"); - decl->add_arg (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleValueChangeEvent_Adaptor_4633 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QAccessibleInterface *arg1 = gsi::arg_reader() (args, heap); - const QVariant &arg2 = gsi::arg_reader() (args, heap); - ret.write (new QAccessibleValueChangeEvent_Adaptor (arg1, arg2)); -} - - -// QAccessibleInterface *QAccessibleValueChangeEvent::accessibleInterface() - -static void _init_cbs_accessibleInterface_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_accessibleInterface_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAccessibleInterface *)((QAccessibleValueChangeEvent_Adaptor *)cls)->cbs_accessibleInterface_c0_0 ()); -} - -static void _set_callback_cbs_accessibleInterface_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleValueChangeEvent_Adaptor *)cls)->cb_accessibleInterface_c0_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QAccessibleValueChangeEvent (); - -static gsi::Methods methods_QAccessibleValueChangeEvent_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleValueChangeEvent::QAccessibleValueChangeEvent(QObject *obj, const QVariant &val)\nThis method creates an object of class QAccessibleValueChangeEvent.", &_init_ctor_QAccessibleValueChangeEvent_Adaptor_3313, &_call_ctor_QAccessibleValueChangeEvent_Adaptor_3313); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleValueChangeEvent::QAccessibleValueChangeEvent(QAccessibleInterface *iface, const QVariant &val)\nThis method creates an object of class QAccessibleValueChangeEvent.", &_init_ctor_QAccessibleValueChangeEvent_Adaptor_4633, &_call_ctor_QAccessibleValueChangeEvent_Adaptor_4633); - methods += new qt_gsi::GenericMethod ("accessibleInterface", "@brief Virtual method QAccessibleInterface *QAccessibleValueChangeEvent::accessibleInterface()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0); - methods += new qt_gsi::GenericMethod ("accessibleInterface", "@hide", true, &_init_cbs_accessibleInterface_c0_0, &_call_cbs_accessibleInterface_c0_0, &_set_callback_cbs_accessibleInterface_c0_0); - return methods; -} - -gsi::Class decl_QAccessibleValueChangeEvent_Adaptor (qtdecl_QAccessibleValueChangeEvent (), "Qt", "QAccessibleValueChangeEvent", - methods_QAccessibleValueChangeEvent_Adaptor (), - "@qt\n@brief Binding of QAccessibleValueChangeEvent"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleValueInterface.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleValueInterface.cc deleted file mode 100644 index d276c1897..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessibleValueInterface.cc +++ /dev/null @@ -1,378 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAccessibleValueInterface.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAccessibleValueInterface - -// QVariant QAccessibleValueInterface::currentValue() - - -static void _init_f_currentValue_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_currentValue_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVariant)((QAccessibleValueInterface *)cls)->currentValue ()); -} - - -// QVariant QAccessibleValueInterface::maximumValue() - - -static void _init_f_maximumValue_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_maximumValue_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVariant)((QAccessibleValueInterface *)cls)->maximumValue ()); -} - - -// QVariant QAccessibleValueInterface::minimumStepSize() - - -static void _init_f_minimumStepSize_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_minimumStepSize_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVariant)((QAccessibleValueInterface *)cls)->minimumStepSize ()); -} - - -// QVariant QAccessibleValueInterface::minimumValue() - - -static void _init_f_minimumValue_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_minimumValue_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVariant)((QAccessibleValueInterface *)cls)->minimumValue ()); -} - - -// void QAccessibleValueInterface::setCurrentValue(const QVariant &value) - - -static void _init_f_setCurrentValue_2119 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("value"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setCurrentValue_2119 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QVariant &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleValueInterface *)cls)->setCurrentValue (arg1); -} - - -namespace gsi -{ - -static gsi::Methods methods_QAccessibleValueInterface () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod (":currentValue", "@brief Method QVariant QAccessibleValueInterface::currentValue()\n", true, &_init_f_currentValue_c0, &_call_f_currentValue_c0); - methods += new qt_gsi::GenericMethod ("maximumValue", "@brief Method QVariant QAccessibleValueInterface::maximumValue()\n", true, &_init_f_maximumValue_c0, &_call_f_maximumValue_c0); - methods += new qt_gsi::GenericMethod ("minimumStepSize", "@brief Method QVariant QAccessibleValueInterface::minimumStepSize()\n", true, &_init_f_minimumStepSize_c0, &_call_f_minimumStepSize_c0); - methods += new qt_gsi::GenericMethod ("minimumValue", "@brief Method QVariant QAccessibleValueInterface::minimumValue()\n", true, &_init_f_minimumValue_c0, &_call_f_minimumValue_c0); - methods += new qt_gsi::GenericMethod ("setCurrentValue|currentValue=", "@brief Method void QAccessibleValueInterface::setCurrentValue(const QVariant &value)\n", false, &_init_f_setCurrentValue_2119, &_call_f_setCurrentValue_2119); - return methods; -} - -gsi::Class decl_QAccessibleValueInterface ("Qt", "QAccessibleValueInterface_Native", - methods_QAccessibleValueInterface (), - "@hide\n@alias QAccessibleValueInterface"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAccessibleValueInterface () { return decl_QAccessibleValueInterface; } - -} - - -class QAccessibleValueInterface_Adaptor : public QAccessibleValueInterface, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QAccessibleValueInterface_Adaptor(); - - // [adaptor ctor] QAccessibleValueInterface::QAccessibleValueInterface() - QAccessibleValueInterface_Adaptor() : QAccessibleValueInterface() - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor impl] QVariant QAccessibleValueInterface::currentValue() - QVariant cbs_currentValue_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("currentValue"); - } - - virtual QVariant currentValue() const - { - if (cb_currentValue_c0_0.can_issue()) { - return cb_currentValue_c0_0.issue(&QAccessibleValueInterface_Adaptor::cbs_currentValue_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("currentValue"); - } - } - - // [adaptor impl] QVariant QAccessibleValueInterface::maximumValue() - QVariant cbs_maximumValue_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("maximumValue"); - } - - virtual QVariant maximumValue() const - { - if (cb_maximumValue_c0_0.can_issue()) { - return cb_maximumValue_c0_0.issue(&QAccessibleValueInterface_Adaptor::cbs_maximumValue_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("maximumValue"); - } - } - - // [adaptor impl] QVariant QAccessibleValueInterface::minimumStepSize() - QVariant cbs_minimumStepSize_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("minimumStepSize"); - } - - virtual QVariant minimumStepSize() const - { - if (cb_minimumStepSize_c0_0.can_issue()) { - return cb_minimumStepSize_c0_0.issue(&QAccessibleValueInterface_Adaptor::cbs_minimumStepSize_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("minimumStepSize"); - } - } - - // [adaptor impl] QVariant QAccessibleValueInterface::minimumValue() - QVariant cbs_minimumValue_c0_0() const - { - throw qt_gsi::AbstractMethodCalledException("minimumValue"); - } - - virtual QVariant minimumValue() const - { - if (cb_minimumValue_c0_0.can_issue()) { - return cb_minimumValue_c0_0.issue(&QAccessibleValueInterface_Adaptor::cbs_minimumValue_c0_0); - } else { - throw qt_gsi::AbstractMethodCalledException("minimumValue"); - } - } - - // [adaptor impl] void QAccessibleValueInterface::setCurrentValue(const QVariant &value) - void cbs_setCurrentValue_2119_0(const QVariant &value) - { - __SUPPRESS_UNUSED_WARNING (value); - throw qt_gsi::AbstractMethodCalledException("setCurrentValue"); - } - - virtual void setCurrentValue(const QVariant &value) - { - if (cb_setCurrentValue_2119_0.can_issue()) { - cb_setCurrentValue_2119_0.issue(&QAccessibleValueInterface_Adaptor::cbs_setCurrentValue_2119_0, value); - } else { - throw qt_gsi::AbstractMethodCalledException("setCurrentValue"); - } - } - - gsi::Callback cb_currentValue_c0_0; - gsi::Callback cb_maximumValue_c0_0; - gsi::Callback cb_minimumStepSize_c0_0; - gsi::Callback cb_minimumValue_c0_0; - gsi::Callback cb_setCurrentValue_2119_0; -}; - -QAccessibleValueInterface_Adaptor::~QAccessibleValueInterface_Adaptor() { } - -// Constructor QAccessibleValueInterface::QAccessibleValueInterface() (adaptor class) - -static void _init_ctor_QAccessibleValueInterface_Adaptor_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QAccessibleValueInterface_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QAccessibleValueInterface_Adaptor ()); -} - - -// QVariant QAccessibleValueInterface::currentValue() - -static void _init_cbs_currentValue_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_currentValue_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVariant)((QAccessibleValueInterface_Adaptor *)cls)->cbs_currentValue_c0_0 ()); -} - -static void _set_callback_cbs_currentValue_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleValueInterface_Adaptor *)cls)->cb_currentValue_c0_0 = cb; -} - - -// QVariant QAccessibleValueInterface::maximumValue() - -static void _init_cbs_maximumValue_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_maximumValue_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVariant)((QAccessibleValueInterface_Adaptor *)cls)->cbs_maximumValue_c0_0 ()); -} - -static void _set_callback_cbs_maximumValue_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleValueInterface_Adaptor *)cls)->cb_maximumValue_c0_0 = cb; -} - - -// QVariant QAccessibleValueInterface::minimumStepSize() - -static void _init_cbs_minimumStepSize_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_minimumStepSize_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVariant)((QAccessibleValueInterface_Adaptor *)cls)->cbs_minimumStepSize_c0_0 ()); -} - -static void _set_callback_cbs_minimumStepSize_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleValueInterface_Adaptor *)cls)->cb_minimumStepSize_c0_0 = cb; -} - - -// QVariant QAccessibleValueInterface::minimumValue() - -static void _init_cbs_minimumValue_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_minimumValue_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVariant)((QAccessibleValueInterface_Adaptor *)cls)->cbs_minimumValue_c0_0 ()); -} - -static void _set_callback_cbs_minimumValue_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleValueInterface_Adaptor *)cls)->cb_minimumValue_c0_0 = cb; -} - - -// void QAccessibleValueInterface::setCurrentValue(const QVariant &value) - -static void _init_cbs_setCurrentValue_2119_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("value"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_setCurrentValue_2119_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QVariant &arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessibleValueInterface_Adaptor *)cls)->cbs_setCurrentValue_2119_0 (arg1); -} - -static void _set_callback_cbs_setCurrentValue_2119_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessibleValueInterface_Adaptor *)cls)->cb_setCurrentValue_2119_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QAccessibleValueInterface (); - -static gsi::Methods methods_QAccessibleValueInterface_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessibleValueInterface::QAccessibleValueInterface()\nThis method creates an object of class QAccessibleValueInterface.", &_init_ctor_QAccessibleValueInterface_Adaptor_0, &_call_ctor_QAccessibleValueInterface_Adaptor_0); - methods += new qt_gsi::GenericMethod ("currentValue", "@brief Virtual method QVariant QAccessibleValueInterface::currentValue()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_currentValue_c0_0, &_call_cbs_currentValue_c0_0); - methods += new qt_gsi::GenericMethod ("currentValue", "@hide", true, &_init_cbs_currentValue_c0_0, &_call_cbs_currentValue_c0_0, &_set_callback_cbs_currentValue_c0_0); - methods += new qt_gsi::GenericMethod ("maximumValue", "@brief Virtual method QVariant QAccessibleValueInterface::maximumValue()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_maximumValue_c0_0, &_call_cbs_maximumValue_c0_0); - methods += new qt_gsi::GenericMethod ("maximumValue", "@hide", true, &_init_cbs_maximumValue_c0_0, &_call_cbs_maximumValue_c0_0, &_set_callback_cbs_maximumValue_c0_0); - methods += new qt_gsi::GenericMethod ("minimumStepSize", "@brief Virtual method QVariant QAccessibleValueInterface::minimumStepSize()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_minimumStepSize_c0_0, &_call_cbs_minimumStepSize_c0_0); - methods += new qt_gsi::GenericMethod ("minimumStepSize", "@hide", true, &_init_cbs_minimumStepSize_c0_0, &_call_cbs_minimumStepSize_c0_0, &_set_callback_cbs_minimumStepSize_c0_0); - methods += new qt_gsi::GenericMethod ("minimumValue", "@brief Virtual method QVariant QAccessibleValueInterface::minimumValue()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_minimumValue_c0_0, &_call_cbs_minimumValue_c0_0); - methods += new qt_gsi::GenericMethod ("minimumValue", "@hide", true, &_init_cbs_minimumValue_c0_0, &_call_cbs_minimumValue_c0_0, &_set_callback_cbs_minimumValue_c0_0); - methods += new qt_gsi::GenericMethod ("setCurrentValue", "@brief Virtual method void QAccessibleValueInterface::setCurrentValue(const QVariant &value)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setCurrentValue_2119_0, &_call_cbs_setCurrentValue_2119_0); - methods += new qt_gsi::GenericMethod ("setCurrentValue", "@hide", false, &_init_cbs_setCurrentValue_2119_0, &_call_cbs_setCurrentValue_2119_0, &_set_callback_cbs_setCurrentValue_2119_0); - return methods; -} - -gsi::Class decl_QAccessibleValueInterface_Adaptor (qtdecl_QAccessibleValueInterface (), "Qt", "QAccessibleValueInterface", - methods_QAccessibleValueInterface_Adaptor (), - "@qt\n@brief Binding of QAccessibleValueInterface"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessible_ActivationObserver.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessible_ActivationObserver.cc deleted file mode 100644 index 03a9fe9ee..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessible_ActivationObserver.cc +++ /dev/null @@ -1,167 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAccessible_ActivationObserver.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAccessible::ActivationObserver - -// void QAccessible::ActivationObserver::accessibilityActiveChanged(bool active) - - -static void _init_f_accessibilityActiveChanged_864 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("active"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_accessibilityActiveChanged_864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessible::ActivationObserver *)cls)->accessibilityActiveChanged (arg1); -} - - -namespace gsi -{ - -static gsi::Methods methods_QAccessible_ActivationObserver () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("accessibilityActiveChanged", "@brief Method void QAccessible::ActivationObserver::accessibilityActiveChanged(bool active)\n", false, &_init_f_accessibilityActiveChanged_864, &_call_f_accessibilityActiveChanged_864); - return methods; -} - -gsi::Class decl_QAccessible_ActivationObserver ("Qt", "QAccessible_ActivationObserver_Native", - methods_QAccessible_ActivationObserver (), - "@hide\n@alias QAccessible_ActivationObserver"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAccessible_ActivationObserver () { return decl_QAccessible_ActivationObserver; } - -} - - -class QAccessible_ActivationObserver_Adaptor : public QAccessible::ActivationObserver, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QAccessible_ActivationObserver_Adaptor(); - - // [adaptor ctor] QAccessible::ActivationObserver::ActivationObserver() - QAccessible_ActivationObserver_Adaptor() : QAccessible::ActivationObserver() - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor impl] void QAccessible::ActivationObserver::accessibilityActiveChanged(bool active) - void cbs_accessibilityActiveChanged_864_0(bool active) - { - __SUPPRESS_UNUSED_WARNING (active); - throw qt_gsi::AbstractMethodCalledException("accessibilityActiveChanged"); - } - - virtual void accessibilityActiveChanged(bool active) - { - if (cb_accessibilityActiveChanged_864_0.can_issue()) { - cb_accessibilityActiveChanged_864_0.issue(&QAccessible_ActivationObserver_Adaptor::cbs_accessibilityActiveChanged_864_0, active); - } else { - throw qt_gsi::AbstractMethodCalledException("accessibilityActiveChanged"); - } - } - - gsi::Callback cb_accessibilityActiveChanged_864_0; -}; - -QAccessible_ActivationObserver_Adaptor::~QAccessible_ActivationObserver_Adaptor() { } - -// Constructor QAccessible::ActivationObserver::ActivationObserver() (adaptor class) - -static void _init_ctor_QAccessible_ActivationObserver_Adaptor_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QAccessible_ActivationObserver_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QAccessible_ActivationObserver_Adaptor ()); -} - - -// void QAccessible::ActivationObserver::accessibilityActiveChanged(bool active) - -static void _init_cbs_accessibilityActiveChanged_864_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("active"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_accessibilityActiveChanged_864_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAccessible_ActivationObserver_Adaptor *)cls)->cbs_accessibilityActiveChanged_864_0 (arg1); -} - -static void _set_callback_cbs_accessibilityActiveChanged_864_0 (void *cls, const gsi::Callback &cb) -{ - ((QAccessible_ActivationObserver_Adaptor *)cls)->cb_accessibilityActiveChanged_864_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QAccessible_ActivationObserver (); - -static gsi::Methods methods_QAccessible_ActivationObserver_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessible::ActivationObserver::ActivationObserver()\nThis method creates an object of class QAccessible::ActivationObserver.", &_init_ctor_QAccessible_ActivationObserver_Adaptor_0, &_call_ctor_QAccessible_ActivationObserver_Adaptor_0); - methods += new qt_gsi::GenericMethod ("accessibilityActiveChanged", "@brief Virtual method void QAccessible::ActivationObserver::accessibilityActiveChanged(bool active)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_accessibilityActiveChanged_864_0, &_call_cbs_accessibilityActiveChanged_864_0); - methods += new qt_gsi::GenericMethod ("accessibilityActiveChanged", "@hide", false, &_init_cbs_accessibilityActiveChanged_864_0, &_call_cbs_accessibilityActiveChanged_864_0, &_set_callback_cbs_accessibilityActiveChanged_864_0); - return methods; -} - -gsi::Class decl_QAccessible_ActivationObserver_Adaptor (qtdecl_QAccessible_ActivationObserver (), "Qt", "QAccessible_ActivationObserver", - methods_QAccessible_ActivationObserver_Adaptor (), - "@qt\n@brief Binding of QAccessible::ActivationObserver"); - -gsi::ClassExt decl_QAccessible_ActivationObserver_as_child (decl_QAccessible_ActivationObserver_Adaptor, "ActivationObserver"); -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessible_State.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessible_State.cc deleted file mode 100644 index 1643269c5..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAccessible_State.cc +++ /dev/null @@ -1,73 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAccessible_State.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// struct QAccessible::State - -// Constructor QAccessible::State::State() - - -static void _init_ctor_QAccessible_State_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QAccessible_State_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QAccessible::State ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QAccessible_State () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAccessible::State::State()\nThis method creates an object of class QAccessible::State.", &_init_ctor_QAccessible_State_0, &_call_ctor_QAccessible_State_0); - return methods; -} - -gsi::Class decl_QAccessible_State ("Qt", "QAccessible_State", - methods_QAccessible_State (), - "@qt\n@brief Binding of QAccessible::State"); - -gsi::ClassExt decl_QAccessible_State_as_child (decl_QAccessible_State, "State"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAccessible_State () { return decl_QAccessible_State; } - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAction.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAction.cc deleted file mode 100644 index 2d5871183..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAction.cc +++ /dev/null @@ -1,1824 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAction.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAction - -// get static meta object - -static void _init_smo (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, gsi::SerialArgs &ret) -{ - ret.write (QAction::staticMetaObject); -} - - -// QActionGroup *QAction::actionGroup() - - -static void _init_f_actionGroup_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_actionGroup_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QActionGroup *)((QAction *)cls)->actionGroup ()); -} - - -// void QAction::activate(QAction::ActionEvent event) - - -static void _init_f_activate_2359 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_activate_2359 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->activate (qt_gsi::QtToCppAdaptor(arg1).cref()); -} - - -// QList QAction::associatedObjects() - - -static void _init_f_associatedObjects_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_associatedObjects_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QList)((QAction *)cls)->associatedObjects ()); -} - - -// bool QAction::autoRepeat() - - -static void _init_f_autoRepeat_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_autoRepeat_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QAction *)cls)->autoRepeat ()); -} - - -// void QAction::checkableChanged(bool checkable) - - -static void _init_f_checkableChanged_864 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("checkable"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_checkableChanged_864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->checkableChanged (arg1); -} - - -// QVariant QAction::data() - - -static void _init_f_data_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_data_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QVariant)((QAction *)cls)->data ()); -} - - -// void QAction::enabledChanged(bool enabled) - - -static void _init_f_enabledChanged_864 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("enabled"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_enabledChanged_864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->enabledChanged (arg1); -} - - -// QFont QAction::font() - - -static void _init_f_font_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_font_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QFont)((QAction *)cls)->font ()); -} - - -// void QAction::hover() - - -static void _init_f_hover_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_hover_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->hover (); -} - - -// QIcon QAction::icon() - - -static void _init_f_icon_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_icon_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QIcon)((QAction *)cls)->icon ()); -} - - -// QString QAction::iconText() - - -static void _init_f_iconText_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_iconText_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QAction *)cls)->iconText ()); -} - - -// bool QAction::isCheckable() - - -static void _init_f_isCheckable_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isCheckable_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QAction *)cls)->isCheckable ()); -} - - -// bool QAction::isChecked() - - -static void _init_f_isChecked_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isChecked_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QAction *)cls)->isChecked ()); -} - - -// bool QAction::isEnabled() - - -static void _init_f_isEnabled_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isEnabled_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QAction *)cls)->isEnabled ()); -} - - -// bool QAction::isIconVisibleInMenu() - - -static void _init_f_isIconVisibleInMenu_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isIconVisibleInMenu_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QAction *)cls)->isIconVisibleInMenu ()); -} - - -// bool QAction::isSeparator() - - -static void _init_f_isSeparator_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isSeparator_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QAction *)cls)->isSeparator ()); -} - - -// bool QAction::isShortcutVisibleInContextMenu() - - -static void _init_f_isShortcutVisibleInContextMenu_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isShortcutVisibleInContextMenu_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QAction *)cls)->isShortcutVisibleInContextMenu ()); -} - - -// bool QAction::isVisible() - - -static void _init_f_isVisible_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isVisible_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QAction *)cls)->isVisible ()); -} - - -// QAction::MenuRole QAction::menuRole() - - -static void _init_f_menuRole_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_menuRole_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QAction *)cls)->menuRole ())); -} - - -// QAction::Priority QAction::priority() - - -static void _init_f_priority_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_priority_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QAction *)cls)->priority ())); -} - - -// void QAction::resetEnabled() - - -static void _init_f_resetEnabled_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_resetEnabled_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->resetEnabled (); -} - - -// void QAction::setActionGroup(QActionGroup *group) - - -static void _init_f_setActionGroup_1834 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("group"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setActionGroup_1834 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QActionGroup *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->setActionGroup (arg1); -} - - -// void QAction::setAutoRepeat(bool) - - -static void _init_f_setAutoRepeat_864 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setAutoRepeat_864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->setAutoRepeat (arg1); -} - - -// void QAction::setCheckable(bool) - - -static void _init_f_setCheckable_864 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setCheckable_864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->setCheckable (arg1); -} - - -// void QAction::setChecked(bool) - - -static void _init_f_setChecked_864 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setChecked_864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->setChecked (arg1); -} - - -// void QAction::setData(const QVariant &var) - - -static void _init_f_setData_2119 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("var"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setData_2119 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QVariant &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->setData (arg1); -} - - -// void QAction::setDisabled(bool b) - - -static void _init_f_setDisabled_864 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("b"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setDisabled_864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->setDisabled (arg1); -} - - -// void QAction::setEnabled(bool) - - -static void _init_f_setEnabled_864 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setEnabled_864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->setEnabled (arg1); -} - - -// void QAction::setFont(const QFont &font) - - -static void _init_f_setFont_1801 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("font"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setFont_1801 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QFont &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->setFont (arg1); -} - - -// void QAction::setIcon(const QIcon &icon) - - -static void _init_f_setIcon_1787 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("icon"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setIcon_1787 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QIcon &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->setIcon (arg1); -} - - -// void QAction::setIconText(const QString &text) - - -static void _init_f_setIconText_2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("text"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setIconText_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->setIconText (arg1); -} - - -// void QAction::setIconVisibleInMenu(bool visible) - - -static void _init_f_setIconVisibleInMenu_864 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("visible"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setIconVisibleInMenu_864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->setIconVisibleInMenu (arg1); -} - - -// void QAction::setMenuRole(QAction::MenuRole menuRole) - - -static void _init_f_setMenuRole_2046 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("menuRole"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_setMenuRole_2046 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->setMenuRole (qt_gsi::QtToCppAdaptor(arg1).cref()); -} - - -// void QAction::setPriority(QAction::Priority priority) - - -static void _init_f_setPriority_2105 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("priority"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_setPriority_2105 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->setPriority (qt_gsi::QtToCppAdaptor(arg1).cref()); -} - - -// void QAction::setSeparator(bool b) - - -static void _init_f_setSeparator_864 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("b"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setSeparator_864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->setSeparator (arg1); -} - - -// void QAction::setShortcut(const QKeySequence &shortcut) - - -static void _init_f_setShortcut_2516 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("shortcut"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setShortcut_2516 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QKeySequence &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->setShortcut (arg1); -} - - -// void QAction::setShortcutContext(Qt::ShortcutContext context) - - -static void _init_f_setShortcutContext_2350 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("context"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_setShortcutContext_2350 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->setShortcutContext (qt_gsi::QtToCppAdaptor(arg1).cref()); -} - - -// void QAction::setShortcutVisibleInContextMenu(bool show) - - -static void _init_f_setShortcutVisibleInContextMenu_864 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("show"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setShortcutVisibleInContextMenu_864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->setShortcutVisibleInContextMenu (arg1); -} - - -// void QAction::setShortcuts(const QList &shortcuts) - - -static void _init_f_setShortcuts_3131 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("shortcuts"); - decl->add_arg & > (argspec_0); - decl->set_return (); -} - -static void _call_f_setShortcuts_3131 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QList &arg1 = gsi::arg_reader & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->setShortcuts (arg1); -} - - -// void QAction::setShortcuts(QKeySequence::StandardKey) - - -static void _init_f_setShortcuts_2869 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_setShortcuts_2869 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->setShortcuts (qt_gsi::QtToCppAdaptor(arg1).cref()); -} - - -// void QAction::setStatusTip(const QString &statusTip) - - -static void _init_f_setStatusTip_2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("statusTip"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setStatusTip_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->setStatusTip (arg1); -} - - -// void QAction::setText(const QString &text) - - -static void _init_f_setText_2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("text"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setText_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->setText (arg1); -} - - -// void QAction::setToolTip(const QString &tip) - - -static void _init_f_setToolTip_2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("tip"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setToolTip_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->setToolTip (arg1); -} - - -// void QAction::setVisible(bool) - - -static void _init_f_setVisible_864 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setVisible_864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->setVisible (arg1); -} - - -// void QAction::setWhatsThis(const QString &what) - - -static void _init_f_setWhatsThis_2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("what"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setWhatsThis_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->setWhatsThis (arg1); -} - - -// QKeySequence QAction::shortcut() - - -static void _init_f_shortcut_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_shortcut_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QKeySequence)((QAction *)cls)->shortcut ()); -} - - -// Qt::ShortcutContext QAction::shortcutContext() - - -static void _init_f_shortcutContext_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_shortcutContext_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QAction *)cls)->shortcutContext ())); -} - - -// QList QAction::shortcuts() - - -static void _init_f_shortcuts_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_shortcuts_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QList)((QAction *)cls)->shortcuts ()); -} - - -// bool QAction::showStatusText(QObject *object) - - -static void _init_f_showStatusText_1302 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("object", true, "nullptr"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_showStatusText_1302 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ret.write ((bool)((QAction *)cls)->showStatusText (arg1)); -} - - -// QString QAction::statusTip() - - -static void _init_f_statusTip_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_statusTip_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QAction *)cls)->statusTip ()); -} - - -// QString QAction::text() - - -static void _init_f_text_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_text_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QAction *)cls)->text ()); -} - - -// void QAction::toggle() - - -static void _init_f_toggle_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toggle_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->toggle (); -} - - -// QString QAction::toolTip() - - -static void _init_f_toolTip_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toolTip_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QAction *)cls)->toolTip ()); -} - - -// void QAction::trigger() - - -static void _init_f_trigger_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_trigger_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->trigger (); -} - - -// void QAction::visibleChanged() - - -static void _init_f_visibleChanged_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_visibleChanged_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction *)cls)->visibleChanged (); -} - - -// QString QAction::whatsThis() - - -static void _init_f_whatsThis_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_whatsThis_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QAction *)cls)->whatsThis ()); -} - - -// static QString QAction::tr(const char *s, const char *c, int n) - - -static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("c", true, "nullptr"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("n", true, "-1"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - const char *arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - int arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (-1, heap); - ret.write ((QString)QAction::tr (arg1, arg2, arg3)); -} - - -namespace gsi -{ - -static gsi::Methods methods_QAction () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("staticMetaObject", "@brief Obtains the static MetaObject for this class.", &_init_smo, &_call_smo); - methods += new qt_gsi::GenericMethod (":actionGroup", "@brief Method QActionGroup *QAction::actionGroup()\n", true, &_init_f_actionGroup_c0, &_call_f_actionGroup_c0); - methods += new qt_gsi::GenericMethod ("activate", "@brief Method void QAction::activate(QAction::ActionEvent event)\n", false, &_init_f_activate_2359, &_call_f_activate_2359); - methods += new qt_gsi::GenericMethod ("associatedObjects", "@brief Method QList QAction::associatedObjects()\n", true, &_init_f_associatedObjects_c0, &_call_f_associatedObjects_c0); - methods += new qt_gsi::GenericMethod (":autoRepeat", "@brief Method bool QAction::autoRepeat()\n", true, &_init_f_autoRepeat_c0, &_call_f_autoRepeat_c0); - methods += new qt_gsi::GenericMethod ("checkableChanged", "@brief Method void QAction::checkableChanged(bool checkable)\n", false, &_init_f_checkableChanged_864, &_call_f_checkableChanged_864); - methods += new qt_gsi::GenericMethod (":data", "@brief Method QVariant QAction::data()\n", true, &_init_f_data_c0, &_call_f_data_c0); - methods += new qt_gsi::GenericMethod ("enabledChanged", "@brief Method void QAction::enabledChanged(bool enabled)\n", false, &_init_f_enabledChanged_864, &_call_f_enabledChanged_864); - methods += new qt_gsi::GenericMethod (":font", "@brief Method QFont QAction::font()\n", true, &_init_f_font_c0, &_call_f_font_c0); - methods += new qt_gsi::GenericMethod ("hover", "@brief Method void QAction::hover()\n", false, &_init_f_hover_0, &_call_f_hover_0); - methods += new qt_gsi::GenericMethod (":icon", "@brief Method QIcon QAction::icon()\n", true, &_init_f_icon_c0, &_call_f_icon_c0); - methods += new qt_gsi::GenericMethod (":iconText", "@brief Method QString QAction::iconText()\n", true, &_init_f_iconText_c0, &_call_f_iconText_c0); - methods += new qt_gsi::GenericMethod ("isCheckable?|:checkable", "@brief Method bool QAction::isCheckable()\n", true, &_init_f_isCheckable_c0, &_call_f_isCheckable_c0); - methods += new qt_gsi::GenericMethod ("isChecked?|:checked", "@brief Method bool QAction::isChecked()\n", true, &_init_f_isChecked_c0, &_call_f_isChecked_c0); - methods += new qt_gsi::GenericMethod ("isEnabled?|:enabled", "@brief Method bool QAction::isEnabled()\n", true, &_init_f_isEnabled_c0, &_call_f_isEnabled_c0); - methods += new qt_gsi::GenericMethod ("isIconVisibleInMenu?|:iconVisibleInMenu", "@brief Method bool QAction::isIconVisibleInMenu()\n", true, &_init_f_isIconVisibleInMenu_c0, &_call_f_isIconVisibleInMenu_c0); - methods += new qt_gsi::GenericMethod ("isSeparator?|:separator", "@brief Method bool QAction::isSeparator()\n", true, &_init_f_isSeparator_c0, &_call_f_isSeparator_c0); - methods += new qt_gsi::GenericMethod ("isShortcutVisibleInContextMenu?", "@brief Method bool QAction::isShortcutVisibleInContextMenu()\n", true, &_init_f_isShortcutVisibleInContextMenu_c0, &_call_f_isShortcutVisibleInContextMenu_c0); - methods += new qt_gsi::GenericMethod ("isVisible?|:visible", "@brief Method bool QAction::isVisible()\n", true, &_init_f_isVisible_c0, &_call_f_isVisible_c0); - methods += new qt_gsi::GenericMethod (":menuRole", "@brief Method QAction::MenuRole QAction::menuRole()\n", true, &_init_f_menuRole_c0, &_call_f_menuRole_c0); - methods += new qt_gsi::GenericMethod (":priority", "@brief Method QAction::Priority QAction::priority()\n", true, &_init_f_priority_c0, &_call_f_priority_c0); - methods += new qt_gsi::GenericMethod ("resetEnabled", "@brief Method void QAction::resetEnabled()\n", false, &_init_f_resetEnabled_0, &_call_f_resetEnabled_0); - methods += new qt_gsi::GenericMethod ("setActionGroup|actionGroup=", "@brief Method void QAction::setActionGroup(QActionGroup *group)\n", false, &_init_f_setActionGroup_1834, &_call_f_setActionGroup_1834); - methods += new qt_gsi::GenericMethod ("setAutoRepeat|autoRepeat=", "@brief Method void QAction::setAutoRepeat(bool)\n", false, &_init_f_setAutoRepeat_864, &_call_f_setAutoRepeat_864); - methods += new qt_gsi::GenericMethod ("setCheckable|checkable=", "@brief Method void QAction::setCheckable(bool)\n", false, &_init_f_setCheckable_864, &_call_f_setCheckable_864); - methods += new qt_gsi::GenericMethod ("setChecked|checked=", "@brief Method void QAction::setChecked(bool)\n", false, &_init_f_setChecked_864, &_call_f_setChecked_864); - methods += new qt_gsi::GenericMethod ("setData|data=", "@brief Method void QAction::setData(const QVariant &var)\n", false, &_init_f_setData_2119, &_call_f_setData_2119); - methods += new qt_gsi::GenericMethod ("setDisabled", "@brief Method void QAction::setDisabled(bool b)\n", false, &_init_f_setDisabled_864, &_call_f_setDisabled_864); - methods += new qt_gsi::GenericMethod ("setEnabled|enabled=", "@brief Method void QAction::setEnabled(bool)\n", false, &_init_f_setEnabled_864, &_call_f_setEnabled_864); - methods += new qt_gsi::GenericMethod ("setFont|font=", "@brief Method void QAction::setFont(const QFont &font)\n", false, &_init_f_setFont_1801, &_call_f_setFont_1801); - methods += new qt_gsi::GenericMethod ("setIcon|icon=", "@brief Method void QAction::setIcon(const QIcon &icon)\n", false, &_init_f_setIcon_1787, &_call_f_setIcon_1787); - methods += new qt_gsi::GenericMethod ("setIconText|iconText=", "@brief Method void QAction::setIconText(const QString &text)\n", false, &_init_f_setIconText_2025, &_call_f_setIconText_2025); - methods += new qt_gsi::GenericMethod ("setIconVisibleInMenu|iconVisibleInMenu=", "@brief Method void QAction::setIconVisibleInMenu(bool visible)\n", false, &_init_f_setIconVisibleInMenu_864, &_call_f_setIconVisibleInMenu_864); - methods += new qt_gsi::GenericMethod ("setMenuRole|menuRole=", "@brief Method void QAction::setMenuRole(QAction::MenuRole menuRole)\n", false, &_init_f_setMenuRole_2046, &_call_f_setMenuRole_2046); - methods += new qt_gsi::GenericMethod ("setPriority|priority=", "@brief Method void QAction::setPriority(QAction::Priority priority)\n", false, &_init_f_setPriority_2105, &_call_f_setPriority_2105); - methods += new qt_gsi::GenericMethod ("setSeparator|separator=", "@brief Method void QAction::setSeparator(bool b)\n", false, &_init_f_setSeparator_864, &_call_f_setSeparator_864); - methods += new qt_gsi::GenericMethod ("setShortcut|shortcut=", "@brief Method void QAction::setShortcut(const QKeySequence &shortcut)\n", false, &_init_f_setShortcut_2516, &_call_f_setShortcut_2516); - methods += new qt_gsi::GenericMethod ("setShortcutContext|shortcutContext=", "@brief Method void QAction::setShortcutContext(Qt::ShortcutContext context)\n", false, &_init_f_setShortcutContext_2350, &_call_f_setShortcutContext_2350); - methods += new qt_gsi::GenericMethod ("setShortcutVisibleInContextMenu", "@brief Method void QAction::setShortcutVisibleInContextMenu(bool show)\n", false, &_init_f_setShortcutVisibleInContextMenu_864, &_call_f_setShortcutVisibleInContextMenu_864); - methods += new qt_gsi::GenericMethod ("setShortcuts|shortcuts=", "@brief Method void QAction::setShortcuts(const QList &shortcuts)\n", false, &_init_f_setShortcuts_3131, &_call_f_setShortcuts_3131); - methods += new qt_gsi::GenericMethod ("setShortcuts|shortcuts=", "@brief Method void QAction::setShortcuts(QKeySequence::StandardKey)\n", false, &_init_f_setShortcuts_2869, &_call_f_setShortcuts_2869); - methods += new qt_gsi::GenericMethod ("setStatusTip|statusTip=", "@brief Method void QAction::setStatusTip(const QString &statusTip)\n", false, &_init_f_setStatusTip_2025, &_call_f_setStatusTip_2025); - methods += new qt_gsi::GenericMethod ("setText|text=", "@brief Method void QAction::setText(const QString &text)\n", false, &_init_f_setText_2025, &_call_f_setText_2025); - methods += new qt_gsi::GenericMethod ("setToolTip|toolTip=", "@brief Method void QAction::setToolTip(const QString &tip)\n", false, &_init_f_setToolTip_2025, &_call_f_setToolTip_2025); - methods += new qt_gsi::GenericMethod ("setVisible|visible=", "@brief Method void QAction::setVisible(bool)\n", false, &_init_f_setVisible_864, &_call_f_setVisible_864); - methods += new qt_gsi::GenericMethod ("setWhatsThis|whatsThis=", "@brief Method void QAction::setWhatsThis(const QString &what)\n", false, &_init_f_setWhatsThis_2025, &_call_f_setWhatsThis_2025); - methods += new qt_gsi::GenericMethod (":shortcut", "@brief Method QKeySequence QAction::shortcut()\n", true, &_init_f_shortcut_c0, &_call_f_shortcut_c0); - methods += new qt_gsi::GenericMethod (":shortcutContext", "@brief Method Qt::ShortcutContext QAction::shortcutContext()\n", true, &_init_f_shortcutContext_c0, &_call_f_shortcutContext_c0); - methods += new qt_gsi::GenericMethod (":shortcuts", "@brief Method QList QAction::shortcuts()\n", true, &_init_f_shortcuts_c0, &_call_f_shortcuts_c0); - methods += new qt_gsi::GenericMethod ("showStatusText", "@brief Method bool QAction::showStatusText(QObject *object)\n", false, &_init_f_showStatusText_1302, &_call_f_showStatusText_1302); - methods += new qt_gsi::GenericMethod (":statusTip", "@brief Method QString QAction::statusTip()\n", true, &_init_f_statusTip_c0, &_call_f_statusTip_c0); - methods += new qt_gsi::GenericMethod (":text", "@brief Method QString QAction::text()\n", true, &_init_f_text_c0, &_call_f_text_c0); - methods += new qt_gsi::GenericMethod ("toggle", "@brief Method void QAction::toggle()\n", false, &_init_f_toggle_0, &_call_f_toggle_0); - methods += new qt_gsi::GenericMethod (":toolTip", "@brief Method QString QAction::toolTip()\n", true, &_init_f_toolTip_c0, &_call_f_toolTip_c0); - methods += new qt_gsi::GenericMethod ("trigger", "@brief Method void QAction::trigger()\n", false, &_init_f_trigger_0, &_call_f_trigger_0); - methods += new qt_gsi::GenericMethod ("visibleChanged", "@brief Method void QAction::visibleChanged()\n", false, &_init_f_visibleChanged_0, &_call_f_visibleChanged_0); - methods += new qt_gsi::GenericMethod (":whatsThis", "@brief Method QString QAction::whatsThis()\n", true, &_init_f_whatsThis_c0, &_call_f_whatsThis_c0); - methods += gsi::qt_signal ("changed()", "changed", "@brief Signal declaration for QAction::changed()\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QAction::destroyed(QObject *)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("hovered()", "hovered", "@brief Signal declaration for QAction::hovered()\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("objectNameChanged(const QString &)", "objectNameChanged", gsi::arg("objectName"), "@brief Signal declaration for QAction::objectNameChanged(const QString &objectName)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("toggled(bool)", "toggled", gsi::arg("arg1"), "@brief Signal declaration for QAction::toggled(bool)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("triggered(bool)", "triggered", gsi::arg("checked"), "@brief Signal declaration for QAction::triggered(bool checked)\nYou can bind a procedure to this signal."); - methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QAction::tr(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013); - return methods; -} - -gsi::Class &qtdecl_QObject (); - -qt_gsi::QtNativeClass decl_QAction (qtdecl_QObject (), "Qt", "QAction_Native", - methods_QAction (), - "@hide\n@alias QAction"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAction () { return decl_QAction; } - -} - - -class QAction_Adaptor : public QAction, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QAction_Adaptor(); - - // [adaptor ctor] QAction::QAction(QObject *parent) - QAction_Adaptor() : QAction() - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QAction::QAction(QObject *parent) - QAction_Adaptor(QObject *parent) : QAction(parent) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QAction::QAction(const QString &text, QObject *parent) - QAction_Adaptor(const QString &text) : QAction(text) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QAction::QAction(const QString &text, QObject *parent) - QAction_Adaptor(const QString &text, QObject *parent) : QAction(text, parent) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QAction::QAction(const QIcon &icon, const QString &text, QObject *parent) - QAction_Adaptor(const QIcon &icon, const QString &text) : QAction(icon, text) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QAction::QAction(const QIcon &icon, const QString &text, QObject *parent) - QAction_Adaptor(const QIcon &icon, const QString &text, QObject *parent) : QAction(icon, text, parent) - { - qt_gsi::QtObjectBase::init (this); - } - - // [expose] bool QAction::isSignalConnected(const QMetaMethod &signal) - bool fp_QAction_isSignalConnected_c2394 (const QMetaMethod &signal) const { - return QAction::isSignalConnected(signal); - } - - // [expose] int QAction::receivers(const char *signal) - int fp_QAction_receivers_c1731 (const char *signal) const { - return QAction::receivers(signal); - } - - // [expose] QObject *QAction::sender() - QObject * fp_QAction_sender_c0 () const { - return QAction::sender(); - } - - // [expose] int QAction::senderSignalIndex() - int fp_QAction_senderSignalIndex_c0 () const { - return QAction::senderSignalIndex(); - } - - // [emitter impl] void QAction::changed() - void emitter_QAction_changed_0() - { - emit QAction::changed(); - } - - // [emitter impl] void QAction::destroyed(QObject *) - void emitter_QAction_destroyed_1302(QObject *arg1) - { - emit QAction::destroyed(arg1); - } - - // [adaptor impl] bool QAction::eventFilter(QObject *watched, QEvent *event) - bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event) - { - return QAction::eventFilter(watched, event); - } - - virtual bool eventFilter(QObject *watched, QEvent *event) - { - if (cb_eventFilter_2411_0.can_issue()) { - return cb_eventFilter_2411_0.issue(&QAction_Adaptor::cbs_eventFilter_2411_0, watched, event); - } else { - return QAction::eventFilter(watched, event); - } - } - - // [emitter impl] void QAction::hovered() - void emitter_QAction_hovered_0() - { - emit QAction::hovered(); - } - - // [emitter impl] void QAction::objectNameChanged(const QString &objectName) - void emitter_QAction_objectNameChanged_4567(const QString &objectName) - { - __SUPPRESS_UNUSED_WARNING (objectName); - throw tl::Exception ("Can't emit private signal 'void QAction::objectNameChanged(const QString &objectName)'"); - } - - // [emitter impl] void QAction::toggled(bool) - void emitter_QAction_toggled_864(bool arg1) - { - emit QAction::toggled(arg1); - } - - // [emitter impl] void QAction::triggered(bool checked) - void emitter_QAction_triggered_864(bool checked) - { - emit QAction::triggered(checked); - } - - // [adaptor impl] void QAction::childEvent(QChildEvent *event) - void cbs_childEvent_1701_0(QChildEvent *event) - { - QAction::childEvent(event); - } - - virtual void childEvent(QChildEvent *event) - { - if (cb_childEvent_1701_0.can_issue()) { - cb_childEvent_1701_0.issue(&QAction_Adaptor::cbs_childEvent_1701_0, event); - } else { - QAction::childEvent(event); - } - } - - // [adaptor impl] void QAction::customEvent(QEvent *event) - void cbs_customEvent_1217_0(QEvent *event) - { - QAction::customEvent(event); - } - - virtual void customEvent(QEvent *event) - { - if (cb_customEvent_1217_0.can_issue()) { - cb_customEvent_1217_0.issue(&QAction_Adaptor::cbs_customEvent_1217_0, event); - } else { - QAction::customEvent(event); - } - } - - // [adaptor impl] void QAction::disconnectNotify(const QMetaMethod &signal) - void cbs_disconnectNotify_2394_0(const QMetaMethod &signal) - { - QAction::disconnectNotify(signal); - } - - virtual void disconnectNotify(const QMetaMethod &signal) - { - if (cb_disconnectNotify_2394_0.can_issue()) { - cb_disconnectNotify_2394_0.issue(&QAction_Adaptor::cbs_disconnectNotify_2394_0, signal); - } else { - QAction::disconnectNotify(signal); - } - } - - // [adaptor impl] bool QAction::event(QEvent *) - bool cbs_event_1217_0(QEvent *arg1) - { - return QAction::event(arg1); - } - - virtual bool event(QEvent *arg1) - { - if (cb_event_1217_0.can_issue()) { - return cb_event_1217_0.issue(&QAction_Adaptor::cbs_event_1217_0, arg1); - } else { - return QAction::event(arg1); - } - } - - // [adaptor impl] void QAction::timerEvent(QTimerEvent *event) - void cbs_timerEvent_1730_0(QTimerEvent *event) - { - QAction::timerEvent(event); - } - - virtual void timerEvent(QTimerEvent *event) - { - if (cb_timerEvent_1730_0.can_issue()) { - cb_timerEvent_1730_0.issue(&QAction_Adaptor::cbs_timerEvent_1730_0, event); - } else { - QAction::timerEvent(event); - } - } - - gsi::Callback cb_eventFilter_2411_0; - gsi::Callback cb_childEvent_1701_0; - gsi::Callback cb_customEvent_1217_0; - gsi::Callback cb_disconnectNotify_2394_0; - gsi::Callback cb_event_1217_0; - gsi::Callback cb_timerEvent_1730_0; -}; - -QAction_Adaptor::~QAction_Adaptor() { } - -// Constructor QAction::QAction(QObject *parent) (adaptor class) - -static void _init_ctor_QAction_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parent", true, "nullptr"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QAction_Adaptor_1302 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ret.write (new QAction_Adaptor (arg1)); -} - - -// Constructor QAction::QAction(const QString &text, QObject *parent) (adaptor class) - -static void _init_ctor_QAction_Adaptor_3219 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("text"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("parent", true, "nullptr"); - decl->add_arg (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QAction_Adaptor_3219 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - QObject *arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ret.write (new QAction_Adaptor (arg1, arg2)); -} - - -// Constructor QAction::QAction(const QIcon &icon, const QString &text, QObject *parent) (adaptor class) - -static void _init_ctor_QAction_Adaptor_4898 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("icon"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("text"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("parent", true, "nullptr"); - decl->add_arg (argspec_2); - decl->set_return_new (); -} - -static void _call_ctor_QAction_Adaptor_4898 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QIcon &arg1 = gsi::arg_reader() (args, heap); - const QString &arg2 = gsi::arg_reader() (args, heap); - QObject *arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ret.write (new QAction_Adaptor (arg1, arg2, arg3)); -} - - -// emitter void QAction::changed() - -static void _init_emitter_changed_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_emitter_changed_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - ((QAction_Adaptor *)cls)->emitter_QAction_changed_0 (); -} - - -// void QAction::childEvent(QChildEvent *event) - -static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_childEvent_1701_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QChildEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction_Adaptor *)cls)->cbs_childEvent_1701_0 (arg1); -} - -static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback &cb) -{ - ((QAction_Adaptor *)cls)->cb_childEvent_1701_0 = cb; -} - - -// void QAction::customEvent(QEvent *event) - -static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_customEvent_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction_Adaptor *)cls)->cbs_customEvent_1217_0 (arg1); -} - -static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback &cb) -{ - ((QAction_Adaptor *)cls)->cb_customEvent_1217_0 = cb; -} - - -// emitter void QAction::destroyed(QObject *) - -static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ((QAction_Adaptor *)cls)->emitter_QAction_destroyed_1302 (arg1); -} - - -// void QAction::disconnectNotify(const QMetaMethod &signal) - -static void _init_cbs_disconnectNotify_2394_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("signal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_disconnectNotify_2394_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMetaMethod &arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction_Adaptor *)cls)->cbs_disconnectNotify_2394_0 (arg1); -} - -static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Callback &cb) -{ - ((QAction_Adaptor *)cls)->cb_disconnectNotify_2394_0 = cb; -} - - -// bool QAction::event(QEvent *) - -static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_event_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QEvent *arg1 = args.read (heap); - ret.write ((bool)((QAction_Adaptor *)cls)->cbs_event_1217_0 (arg1)); -} - -static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb) -{ - ((QAction_Adaptor *)cls)->cb_event_1217_0 = cb; -} - - -// bool QAction::eventFilter(QObject *watched, QEvent *event) - -static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("watched"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("event"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_cbs_eventFilter_2411_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = args.read (heap); - QEvent *arg2 = args.read (heap); - ret.write ((bool)((QAction_Adaptor *)cls)->cbs_eventFilter_2411_0 (arg1, arg2)); -} - -static void _set_callback_cbs_eventFilter_2411_0 (void *cls, const gsi::Callback &cb) -{ - ((QAction_Adaptor *)cls)->cb_eventFilter_2411_0 = cb; -} - - -// emitter void QAction::hovered() - -static void _init_emitter_hovered_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_emitter_hovered_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - ((QAction_Adaptor *)cls)->emitter_QAction_hovered_0 (); -} - - -// exposed bool QAction::isSignalConnected(const QMetaMethod &signal) - -static void _init_fp_isSignalConnected_c2394 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("signal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_fp_isSignalConnected_c2394 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMetaMethod &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QAction_Adaptor *)cls)->fp_QAction_isSignalConnected_c2394 (arg1)); -} - - -// emitter void QAction::objectNameChanged(const QString &objectName) - -static void _init_emitter_objectNameChanged_4567 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("objectName"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_emitter_objectNameChanged_4567 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ((QAction_Adaptor *)cls)->emitter_QAction_objectNameChanged_4567 (arg1); -} - - -// exposed int QAction::receivers(const char *signal) - -static void _init_fp_receivers_c1731 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("signal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_fp_receivers_c1731 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - ret.write ((int)((QAction_Adaptor *)cls)->fp_QAction_receivers_c1731 (arg1)); -} - - -// exposed QObject *QAction::sender() - -static void _init_fp_sender_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_sender_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QObject *)((QAction_Adaptor *)cls)->fp_QAction_sender_c0 ()); -} - - -// exposed int QAction::senderSignalIndex() - -static void _init_fp_senderSignalIndex_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QAction_Adaptor *)cls)->fp_QAction_senderSignalIndex_c0 ()); -} - - -// void QAction::timerEvent(QTimerEvent *event) - -static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_timerEvent_1730_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QTimerEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QAction_Adaptor *)cls)->cbs_timerEvent_1730_0 (arg1); -} - -static void _set_callback_cbs_timerEvent_1730_0 (void *cls, const gsi::Callback &cb) -{ - ((QAction_Adaptor *)cls)->cb_timerEvent_1730_0 = cb; -} - - -// emitter void QAction::toggled(bool) - -static void _init_emitter_toggled_864 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_emitter_toggled_864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = gsi::arg_reader() (args, heap); - ((QAction_Adaptor *)cls)->emitter_QAction_toggled_864 (arg1); -} - - -// emitter void QAction::triggered(bool checked) - -static void _init_emitter_triggered_864 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("checked", true, "false"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_emitter_triggered_864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (false, heap); - ((QAction_Adaptor *)cls)->emitter_QAction_triggered_864 (arg1); -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QAction (); - -static gsi::Methods methods_QAction_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAction::QAction(QObject *parent)\nThis method creates an object of class QAction.", &_init_ctor_QAction_Adaptor_1302, &_call_ctor_QAction_Adaptor_1302); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAction::QAction(const QString &text, QObject *parent)\nThis method creates an object of class QAction.", &_init_ctor_QAction_Adaptor_3219, &_call_ctor_QAction_Adaptor_3219); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAction::QAction(const QIcon &icon, const QString &text, QObject *parent)\nThis method creates an object of class QAction.", &_init_ctor_QAction_Adaptor_4898, &_call_ctor_QAction_Adaptor_4898); - methods += new qt_gsi::GenericMethod ("emit_changed", "@brief Emitter for signal void QAction::changed()\nCall this method to emit this signal.", false, &_init_emitter_changed_0, &_call_emitter_changed_0); - methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QAction::childEvent(QChildEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0); - methods += new qt_gsi::GenericMethod ("*childEvent", "@hide", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0, &_set_callback_cbs_childEvent_1701_0); - methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QAction::customEvent(QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0); - methods += new qt_gsi::GenericMethod ("*customEvent", "@hide", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0, &_set_callback_cbs_customEvent_1217_0); - methods += new qt_gsi::GenericMethod ("emit_destroyed", "@brief Emitter for signal void QAction::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302); - methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@brief Virtual method void QAction::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0); - methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@hide", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0, &_set_callback_cbs_disconnectNotify_2394_0); - methods += new qt_gsi::GenericMethod ("*event", "@brief Virtual method bool QAction::event(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0); - methods += new qt_gsi::GenericMethod ("*event", "@hide", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0, &_set_callback_cbs_event_1217_0); - methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Virtual method bool QAction::eventFilter(QObject *watched, QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0); - methods += new qt_gsi::GenericMethod ("eventFilter", "@hide", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0, &_set_callback_cbs_eventFilter_2411_0); - methods += new qt_gsi::GenericMethod ("emit_hovered", "@brief Emitter for signal void QAction::hovered()\nCall this method to emit this signal.", false, &_init_emitter_hovered_0, &_call_emitter_hovered_0); - methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QAction::isSignalConnected(const QMetaMethod &signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_isSignalConnected_c2394, &_call_fp_isSignalConnected_c2394); - methods += new qt_gsi::GenericMethod ("emit_objectNameChanged", "@brief Emitter for signal void QAction::objectNameChanged(const QString &objectName)\nCall this method to emit this signal.", false, &_init_emitter_objectNameChanged_4567, &_call_emitter_objectNameChanged_4567); - methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QAction::receivers(const char *signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_receivers_c1731, &_call_fp_receivers_c1731); - methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QAction::sender()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_sender_c0, &_call_fp_sender_c0); - methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QAction::senderSignalIndex()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_senderSignalIndex_c0, &_call_fp_senderSignalIndex_c0); - methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QAction::timerEvent(QTimerEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0); - methods += new qt_gsi::GenericMethod ("*timerEvent", "@hide", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0, &_set_callback_cbs_timerEvent_1730_0); - methods += new qt_gsi::GenericMethod ("emit_toggled", "@brief Emitter for signal void QAction::toggled(bool)\nCall this method to emit this signal.", false, &_init_emitter_toggled_864, &_call_emitter_toggled_864); - methods += new qt_gsi::GenericMethod ("emit_triggered", "@brief Emitter for signal void QAction::triggered(bool checked)\nCall this method to emit this signal.", false, &_init_emitter_triggered_864, &_call_emitter_triggered_864); - return methods; -} - -gsi::Class decl_QAction_Adaptor (qtdecl_QAction (), "Qt", "QAction", - methods_QAction_Adaptor (), - "@qt\n@brief Binding of QAction"); - -} - - -// Implementation of the enum wrapper class for QAction::ActionEvent -namespace qt_gsi -{ - -static gsi::Enum decl_QAction_ActionEvent_Enum ("Qt", "QAction_ActionEvent", - gsi::enum_const ("Trigger", QAction::Trigger, "@brief Enum constant QAction::Trigger") + - gsi::enum_const ("Hover", QAction::Hover, "@brief Enum constant QAction::Hover"), - "@qt\n@brief This class represents the QAction::ActionEvent enum"); - -static gsi::QFlagsClass decl_QAction_ActionEvent_Enums ("Qt", "QAction_QFlags_ActionEvent", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QAction_ActionEvent_Enum_in_parent (decl_QAction_ActionEvent_Enum.defs ()); -static gsi::ClassExt decl_QAction_ActionEvent_Enum_as_child (decl_QAction_ActionEvent_Enum, "ActionEvent"); -static gsi::ClassExt decl_QAction_ActionEvent_Enums_as_child (decl_QAction_ActionEvent_Enums, "QFlags_ActionEvent"); - -} - - -// Implementation of the enum wrapper class for QAction::MenuRole -namespace qt_gsi -{ - -static gsi::Enum decl_QAction_MenuRole_Enum ("Qt", "QAction_MenuRole", - gsi::enum_const ("NoRole", QAction::NoRole, "@brief Enum constant QAction::NoRole") + - gsi::enum_const ("TextHeuristicRole", QAction::TextHeuristicRole, "@brief Enum constant QAction::TextHeuristicRole") + - gsi::enum_const ("ApplicationSpecificRole", QAction::ApplicationSpecificRole, "@brief Enum constant QAction::ApplicationSpecificRole") + - gsi::enum_const ("AboutQtRole", QAction::AboutQtRole, "@brief Enum constant QAction::AboutQtRole") + - gsi::enum_const ("AboutRole", QAction::AboutRole, "@brief Enum constant QAction::AboutRole") + - gsi::enum_const ("PreferencesRole", QAction::PreferencesRole, "@brief Enum constant QAction::PreferencesRole") + - gsi::enum_const ("QuitRole", QAction::QuitRole, "@brief Enum constant QAction::QuitRole"), - "@qt\n@brief This class represents the QAction::MenuRole enum"); - -static gsi::QFlagsClass decl_QAction_MenuRole_Enums ("Qt", "QAction_QFlags_MenuRole", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QAction_MenuRole_Enum_in_parent (decl_QAction_MenuRole_Enum.defs ()); -static gsi::ClassExt decl_QAction_MenuRole_Enum_as_child (decl_QAction_MenuRole_Enum, "MenuRole"); -static gsi::ClassExt decl_QAction_MenuRole_Enums_as_child (decl_QAction_MenuRole_Enums, "QFlags_MenuRole"); - -} - - -// Implementation of the enum wrapper class for QAction::Priority -namespace qt_gsi -{ - -static gsi::Enum decl_QAction_Priority_Enum ("Qt", "QAction_Priority", - gsi::enum_const ("LowPriority", QAction::LowPriority, "@brief Enum constant QAction::LowPriority") + - gsi::enum_const ("NormalPriority", QAction::NormalPriority, "@brief Enum constant QAction::NormalPriority") + - gsi::enum_const ("HighPriority", QAction::HighPriority, "@brief Enum constant QAction::HighPriority"), - "@qt\n@brief This class represents the QAction::Priority enum"); - -static gsi::QFlagsClass decl_QAction_Priority_Enums ("Qt", "QAction_QFlags_Priority", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QAction_Priority_Enum_in_parent (decl_QAction_Priority_Enum.defs ()); -static gsi::ClassExt decl_QAction_Priority_Enum_as_child (decl_QAction_Priority_Enum, "Priority"); -static gsi::ClassExt decl_QAction_Priority_Enums_as_child (decl_QAction_Priority_Enums, "QFlags_Priority"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQActionEvent.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQActionEvent.cc deleted file mode 100644 index 141add3b6..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQActionEvent.cc +++ /dev/null @@ -1,248 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQActionEvent.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QActionEvent - -// QAction *QActionEvent::action() - - -static void _init_f_action_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_action_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAction *)((QActionEvent *)cls)->action ()); -} - - -// QAction *QActionEvent::before() - - -static void _init_f_before_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_before_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAction *)((QActionEvent *)cls)->before ()); -} - - -// 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 -{ - -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; -} - -gsi::Class &qtdecl_QEvent (); - -gsi::Class decl_QActionEvent (qtdecl_QEvent (), "Qt", "QActionEvent_Native", - methods_QActionEvent (), - "@hide\n@alias QActionEvent"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QActionEvent () { return decl_QActionEvent; } - -} - - -class QActionEvent_Adaptor : public QActionEvent, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QActionEvent_Adaptor(); - - // [adaptor ctor] QActionEvent::QActionEvent(int type, QAction *action, QAction *before) - QActionEvent_Adaptor(int type, QAction *action) : QActionEvent(type, action) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QActionEvent::QActionEvent(int type, QAction *action, QAction *before) - QActionEvent_Adaptor(int type, QAction *action, QAction *before) : QActionEvent(type, action, before) - { - 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) - { - QActionEvent::setAccepted(accepted); - } - - virtual void setAccepted(bool accepted) - { - if (cb_setAccepted_864_0.can_issue()) { - cb_setAccepted_864_0.issue(&QActionEvent_Adaptor::cbs_setAccepted_864_0, accepted); - } else { - QActionEvent::setAccepted(accepted); - } - } - - gsi::Callback cb_clone_c0_0; - gsi::Callback cb_setAccepted_864_0; -}; - -QActionEvent_Adaptor::~QActionEvent_Adaptor() { } - -// Constructor QActionEvent::QActionEvent(int type, QAction *action, QAction *before) (adaptor class) - -static void _init_ctor_QActionEvent_Adaptor_3169 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("type"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("action"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("before", true, "nullptr"); - decl->add_arg (argspec_2); - decl->set_return_new (); -} - -static void _call_ctor_QActionEvent_Adaptor_3169 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = gsi::arg_reader() (args, heap); - QAction *arg2 = gsi::arg_reader() (args, heap); - QAction *arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ret.write (new QActionEvent_Adaptor (arg1, arg2, arg3)); -} - - -// 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) -{ - static gsi::ArgSpecBase argspec_0 ("accepted"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_setAccepted_864_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QActionEvent_Adaptor *)cls)->cbs_setAccepted_864_0 (arg1); -} - -static void _set_callback_cbs_setAccepted_864_0 (void *cls, const gsi::Callback &cb) -{ - ((QActionEvent_Adaptor *)cls)->cb_setAccepted_864_0 = cb; -} - - -namespace gsi -{ - -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; -} - -gsi::Class decl_QActionEvent_Adaptor (qtdecl_QActionEvent (), "Qt", "QActionEvent", - methods_QActionEvent_Adaptor (), - "@qt\n@brief Binding of QActionEvent"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAdoptSharedDataTag.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAdoptSharedDataTag.cc deleted file mode 100644 index e41a73d63..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAdoptSharedDataTag.cc +++ /dev/null @@ -1,72 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAdoptSharedDataTag.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// struct QAdoptSharedDataTag - -// Constructor QAdoptSharedDataTag::QAdoptSharedDataTag() - - -static void _init_ctor_QAdoptSharedDataTag_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QAdoptSharedDataTag_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QAdoptSharedDataTag ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QAdoptSharedDataTag () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAdoptSharedDataTag::QAdoptSharedDataTag()\nThis method creates an object of class QAdoptSharedDataTag.", &_init_ctor_QAdoptSharedDataTag_0, &_call_ctor_QAdoptSharedDataTag_0); - return methods; -} - -gsi::Class decl_QAdoptSharedDataTag ("Qt", "QAdoptSharedDataTag", - methods_QAdoptSharedDataTag (), - "@qt\n@brief Binding of QAdoptSharedDataTag"); - - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAdoptSharedDataTag () { return decl_QAdoptSharedDataTag; } - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQAnyStringView.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQAnyStringView.cc deleted file mode 100644 index 751bbfbe5..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQAnyStringView.cc +++ /dev/null @@ -1,402 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQAnyStringView.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QAnyStringView - -// Constructor QAnyStringView::QAnyStringView() - - -static void _init_ctor_QAnyStringView_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QAnyStringView_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QAnyStringView ()); -} - - -// Constructor QAnyStringView::QAnyStringView(std::nullptr_t) - - -static void _init_ctor_QAnyStringView_1879 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QAnyStringView_1879 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - std::nullptr_t arg1 = gsi::arg_reader() (args, heap); - ret.write (new QAnyStringView (arg1)); -} - - -// Constructor QAnyStringView::QAnyStringView(const QByteArray &str) - - -static void _init_ctor_QAnyStringView_2309 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("str"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QAnyStringView_2309 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QByteArray &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QAnyStringView (arg1)); -} - - -// Constructor QAnyStringView::QAnyStringView(const QString &str) - - -static void _init_ctor_QAnyStringView_2025 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("str"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QAnyStringView_2025 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QAnyStringView (arg1)); -} - - -// Constructor QAnyStringView::QAnyStringView(QLatin1String str) - - -static void _init_ctor_QAnyStringView_1701 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("str"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QAnyStringView_1701 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - ret.write (new QAnyStringView (arg1)); -} - - -// Constructor QAnyStringView::QAnyStringView(const QChar &c) - - -static void _init_ctor_QAnyStringView_1776 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QAnyStringView_1776 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write (new QAnyStringView (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// Constructor QAnyStringView::QAnyStringView(QStringView v) - - -static void _init_ctor_QAnyStringView_1559 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("v"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QAnyStringView_1559 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QStringView arg1 = gsi::arg_reader() (args, heap); - ret.write (new QAnyStringView (arg1)); -} - - -// QChar QAnyStringView::back() - - -static void _init_f_back_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_back_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QAnyStringView *)cls)->back ())); -} - - -// const void *QAnyStringView::data() - - -static void _init_f_data_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_data_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((const void *)((QAnyStringView *)cls)->data ()); -} - - -// bool QAnyStringView::empty() - - -static void _init_f_empty_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_empty_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QAnyStringView *)cls)->empty ()); -} - - -// QChar QAnyStringView::front() - - -static void _init_f_front_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_front_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QAnyStringView *)cls)->front ())); -} - - -// bool QAnyStringView::isEmpty() - - -static void _init_f_isEmpty_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isEmpty_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QAnyStringView *)cls)->isEmpty ()); -} - - -// bool QAnyStringView::isNull() - - -static void _init_f_isNull_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isNull_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QAnyStringView *)cls)->isNull ()); -} - - -// qsizetype QAnyStringView::length() - - -static void _init_f_length_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_length_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qsizetype)((QAnyStringView *)cls)->length ()); -} - - -// qsizetype QAnyStringView::size() - - -static void _init_f_size_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_size_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qsizetype)((QAnyStringView *)cls)->size ()); -} - - -// qsizetype QAnyStringView::size_bytes() - - -static void _init_f_size_bytes_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_size_bytes_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qsizetype)((QAnyStringView *)cls)->size_bytes ()); -} - - -// QString QAnyStringView::toString() - - -static void _init_f_toString_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toString_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QAnyStringView *)cls)->toString ()); -} - - -// static int QAnyStringView::compare(QAnyStringView lhs, QAnyStringView rhs, Qt::CaseSensitivity cs) - - -static void _init_f_compare_5818 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("lhs"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("rhs"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("cs", true, "Qt::CaseSensitive"); - decl->add_arg::target_type & > (argspec_2); - decl->set_return (); -} - -static void _call_f_compare_5818 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QAnyStringView arg1 = gsi::arg_reader() (args, heap); - QAnyStringView arg2 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg3 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CaseSensitive), heap); - ret.write ((int)QAnyStringView::compare (arg1, arg2, qt_gsi::QtToCppAdaptor(arg3).cref())); -} - - -// static bool QAnyStringView::equal(QAnyStringView lhs, QAnyStringView rhs) - - -static void _init_f_equal_3602 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("lhs"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("rhs"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_equal_3602 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QAnyStringView arg1 = gsi::arg_reader() (args, heap); - QAnyStringView arg2 = gsi::arg_reader() (args, heap); - ret.write ((bool)QAnyStringView::equal (arg1, arg2)); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QAnyStringView () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAnyStringView::QAnyStringView()\nThis method creates an object of class QAnyStringView.", &_init_ctor_QAnyStringView_0, &_call_ctor_QAnyStringView_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAnyStringView::QAnyStringView(std::nullptr_t)\nThis method creates an object of class QAnyStringView.", &_init_ctor_QAnyStringView_1879, &_call_ctor_QAnyStringView_1879); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAnyStringView::QAnyStringView(const QByteArray &str)\nThis method creates an object of class QAnyStringView.", &_init_ctor_QAnyStringView_2309, &_call_ctor_QAnyStringView_2309); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAnyStringView::QAnyStringView(const QString &str)\nThis method creates an object of class QAnyStringView.", &_init_ctor_QAnyStringView_2025, &_call_ctor_QAnyStringView_2025); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAnyStringView::QAnyStringView(QLatin1String str)\nThis method creates an object of class QAnyStringView.", &_init_ctor_QAnyStringView_1701, &_call_ctor_QAnyStringView_1701); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAnyStringView::QAnyStringView(const QChar &c)\nThis method creates an object of class QAnyStringView.", &_init_ctor_QAnyStringView_1776, &_call_ctor_QAnyStringView_1776); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAnyStringView::QAnyStringView(QStringView v)\nThis method creates an object of class QAnyStringView.", &_init_ctor_QAnyStringView_1559, &_call_ctor_QAnyStringView_1559); - methods += new qt_gsi::GenericMethod ("back", "@brief Method QChar QAnyStringView::back()\n", true, &_init_f_back_c0, &_call_f_back_c0); - methods += new qt_gsi::GenericMethod ("data", "@brief Method const void *QAnyStringView::data()\n", true, &_init_f_data_c0, &_call_f_data_c0); - methods += new qt_gsi::GenericMethod ("empty", "@brief Method bool QAnyStringView::empty()\n", true, &_init_f_empty_c0, &_call_f_empty_c0); - methods += new qt_gsi::GenericMethod ("front", "@brief Method QChar QAnyStringView::front()\n", true, &_init_f_front_c0, &_call_f_front_c0); - methods += new qt_gsi::GenericMethod ("isEmpty?", "@brief Method bool QAnyStringView::isEmpty()\n", true, &_init_f_isEmpty_c0, &_call_f_isEmpty_c0); - methods += new qt_gsi::GenericMethod ("isNull?", "@brief Method bool QAnyStringView::isNull()\n", true, &_init_f_isNull_c0, &_call_f_isNull_c0); - methods += new qt_gsi::GenericMethod ("length", "@brief Method qsizetype QAnyStringView::length()\n", true, &_init_f_length_c0, &_call_f_length_c0); - methods += new qt_gsi::GenericMethod ("size", "@brief Method qsizetype QAnyStringView::size()\n", true, &_init_f_size_c0, &_call_f_size_c0); - methods += new qt_gsi::GenericMethod ("size_bytes", "@brief Method qsizetype QAnyStringView::size_bytes()\n", true, &_init_f_size_bytes_c0, &_call_f_size_bytes_c0); - methods += new qt_gsi::GenericMethod ("toString", "@brief Method QString QAnyStringView::toString()\n", true, &_init_f_toString_c0, &_call_f_toString_c0); - methods += new qt_gsi::GenericStaticMethod ("compare", "@brief Static method int QAnyStringView::compare(QAnyStringView lhs, QAnyStringView rhs, Qt::CaseSensitivity cs)\nThis method is static and can be called without an instance.", &_init_f_compare_5818, &_call_f_compare_5818); - methods += new qt_gsi::GenericStaticMethod ("equal", "@brief Static method bool QAnyStringView::equal(QAnyStringView lhs, QAnyStringView rhs)\nThis method is static and can be called without an instance.", &_init_f_equal_3602, &_call_f_equal_3602); - return methods; -} - -gsi::Class decl_QAnyStringView ("Qt", "QAnyStringView", - methods_QAnyStringView (), - "@qt\n@brief Binding of QAnyStringView"); - - -GSI_QT_PUBLIC gsi::Class &qtdecl_QAnyStringView () { return decl_QAnyStringView; } - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQApplicationStateChangeEvent.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQApplicationStateChangeEvent.cc deleted file mode 100644 index adf5b29c3..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQApplicationStateChangeEvent.cc +++ /dev/null @@ -1,219 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQApplicationStateChangeEvent.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QApplicationStateChangeEvent - -// Qt::ApplicationState QApplicationStateChangeEvent::applicationState() - - -static void _init_f_applicationState_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_applicationState_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QApplicationStateChangeEvent *)cls)->applicationState ())); -} - - -// 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; -} - -gsi::Class &qtdecl_QEvent (); - -gsi::Class decl_QApplicationStateChangeEvent (qtdecl_QEvent (), "Qt", "QApplicationStateChangeEvent_Native", - methods_QApplicationStateChangeEvent (), - "@hide\n@alias QApplicationStateChangeEvent"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QApplicationStateChangeEvent () { return decl_QApplicationStateChangeEvent; } - -} - - -class QApplicationStateChangeEvent_Adaptor : public QApplicationStateChangeEvent, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QApplicationStateChangeEvent_Adaptor(); - - // [adaptor ctor] QApplicationStateChangeEvent::QApplicationStateChangeEvent(Qt::ApplicationState state) - QApplicationStateChangeEvent_Adaptor(Qt::ApplicationState state) : QApplicationStateChangeEvent(state) - { - 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) - { - QApplicationStateChangeEvent::setAccepted(accepted); - } - - virtual void setAccepted(bool accepted) - { - if (cb_setAccepted_864_0.can_issue()) { - cb_setAccepted_864_0.issue(&QApplicationStateChangeEvent_Adaptor::cbs_setAccepted_864_0, accepted); - } else { - QApplicationStateChangeEvent::setAccepted(accepted); - } - } - - gsi::Callback cb_clone_c0_0; - gsi::Callback cb_setAccepted_864_0; -}; - -QApplicationStateChangeEvent_Adaptor::~QApplicationStateChangeEvent_Adaptor() { } - -// Constructor QApplicationStateChangeEvent::QApplicationStateChangeEvent(Qt::ApplicationState state) (adaptor class) - -static void _init_ctor_QApplicationStateChangeEvent_Adaptor_2402 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("state"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QApplicationStateChangeEvent_Adaptor_2402 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write (new QApplicationStateChangeEvent_Adaptor (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// 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) -{ - static gsi::ArgSpecBase argspec_0 ("accepted"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_setAccepted_864_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QApplicationStateChangeEvent_Adaptor *)cls)->cbs_setAccepted_864_0 (arg1); -} - -static void _set_callback_cbs_setAccepted_864_0 (void *cls, const gsi::Callback &cb) -{ - ((QApplicationStateChangeEvent_Adaptor *)cls)->cb_setAccepted_864_0 = cb; -} - - -namespace gsi -{ - -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; -} - -gsi::Class decl_QApplicationStateChangeEvent_Adaptor (qtdecl_QApplicationStateChangeEvent (), "Qt", "QApplicationStateChangeEvent", - methods_QApplicationStateChangeEvent_Adaptor (), - "@qt\n@brief Binding of QApplicationStateChangeEvent"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQBasicMutex.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQBasicMutex.cc deleted file mode 100644 index b037c2b4d..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQBasicMutex.cc +++ /dev/null @@ -1,138 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQBasicMutex.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QBasicMutex - -// Constructor QBasicMutex::QBasicMutex() - - -static void _init_ctor_QBasicMutex_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QBasicMutex_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QBasicMutex ()); -} - - -// void QBasicMutex::lock() - - -static void _init_f_lock_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_lock_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QBasicMutex *)cls)->lock (); -} - - -// bool QBasicMutex::tryLock() - - -static void _init_f_tryLock_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_tryLock_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QBasicMutex *)cls)->tryLock ()); -} - - -// bool QBasicMutex::try_lock() - - -static void _init_f_try_lock_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_try_lock_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QBasicMutex *)cls)->try_lock ()); -} - - -// void QBasicMutex::unlock() - - -static void _init_f_unlock_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_unlock_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QBasicMutex *)cls)->unlock (); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QBasicMutex () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBasicMutex::QBasicMutex()\nThis method creates an object of class QBasicMutex.", &_init_ctor_QBasicMutex_0, &_call_ctor_QBasicMutex_0); - methods += new qt_gsi::GenericMethod ("lock", "@brief Method void QBasicMutex::lock()\n", false, &_init_f_lock_0, &_call_f_lock_0); - methods += new qt_gsi::GenericMethod ("tryLock", "@brief Method bool QBasicMutex::tryLock()\n", false, &_init_f_tryLock_0, &_call_f_tryLock_0); - methods += new qt_gsi::GenericMethod ("try_lock", "@brief Method bool QBasicMutex::try_lock()\n", false, &_init_f_try_lock_0, &_call_f_try_lock_0); - methods += new qt_gsi::GenericMethod ("unlock", "@brief Method void QBasicMutex::unlock()\n", false, &_init_f_unlock_0, &_call_f_unlock_0); - return methods; -} - -gsi::Class decl_QBasicMutex ("Qt", "QBasicMutex", - methods_QBasicMutex (), - "@qt\n@brief Binding of QBasicMutex"); - - -GSI_QT_PUBLIC gsi::Class &qtdecl_QBasicMutex () { return decl_QBasicMutex; } - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQBindingStatus.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQBindingStatus.cc deleted file mode 100644 index 3476eaaf6..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQBindingStatus.cc +++ /dev/null @@ -1,72 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQBindingStatus.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// struct QBindingStatus - -// Constructor QBindingStatus::QBindingStatus() - - -static void _init_ctor_QBindingStatus_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QBindingStatus_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QBindingStatus ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QBindingStatus () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBindingStatus::QBindingStatus()\nThis method creates an object of class QBindingStatus.", &_init_ctor_QBindingStatus_0, &_call_ctor_QBindingStatus_0); - return methods; -} - -gsi::Class decl_QBindingStatus ("Qt", "QBindingStatus", - methods_QBindingStatus (), - "@qt\n@brief Binding of QBindingStatus"); - - -GSI_QT_PUBLIC gsi::Class &qtdecl_QBindingStatus () { return decl_QBindingStatus; } - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQBindingStorage.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQBindingStorage.cc deleted file mode 100644 index 3dfeeb903..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQBindingStorage.cc +++ /dev/null @@ -1,174 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQBindingStorage.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QBindingStorage - -// Constructor QBindingStorage::QBindingStorage() - - -static void _init_ctor_QBindingStorage_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QBindingStorage_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QBindingStorage ()); -} - - -// QtPrivate::QPropertyBindingData *QBindingStorage::bindingData(const QUntypedPropertyData *data) - - -static void _init_f_bindingData_c3390 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_bindingData_c3390 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QUntypedPropertyData *arg1 = gsi::arg_reader() (args, heap); - ret.write ((QtPrivate::QPropertyBindingData *)((QBindingStorage *)cls)->bindingData (arg1)); -} - - -// QtPrivate::QPropertyBindingData *QBindingStorage::bindingData(QUntypedPropertyData *data, bool create) - - -static void _init_f_bindingData_3451 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("create"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_bindingData_3451 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QUntypedPropertyData *arg1 = gsi::arg_reader() (args, heap); - bool arg2 = gsi::arg_reader() (args, heap); - ret.write ((QtPrivate::QPropertyBindingData *)((QBindingStorage *)cls)->bindingData (arg1, arg2)); -} - - -// bool QBindingStorage::isEmpty() - - -static void _init_f_isEmpty_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isEmpty_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QBindingStorage *)cls)->isEmpty ()); -} - - -// void QBindingStorage::maybeUpdateBindingAndRegister(const QUntypedPropertyData *data) - - -static void _init_f_maybeUpdateBindingAndRegister_c3390 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_maybeUpdateBindingAndRegister_c3390 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QUntypedPropertyData *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QBindingStorage *)cls)->maybeUpdateBindingAndRegister (arg1); -} - - -// void QBindingStorage::registerDependency(const QUntypedPropertyData *data) - - -static void _init_f_registerDependency_c3390 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("data"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_registerDependency_c3390 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QUntypedPropertyData *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QBindingStorage *)cls)->registerDependency (arg1); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QBindingStorage () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBindingStorage::QBindingStorage()\nThis method creates an object of class QBindingStorage.", &_init_ctor_QBindingStorage_0, &_call_ctor_QBindingStorage_0); - methods += new qt_gsi::GenericMethod ("bindingData", "@brief Method QtPrivate::QPropertyBindingData *QBindingStorage::bindingData(const QUntypedPropertyData *data)\n", true, &_init_f_bindingData_c3390, &_call_f_bindingData_c3390); - methods += new qt_gsi::GenericMethod ("bindingData", "@brief Method QtPrivate::QPropertyBindingData *QBindingStorage::bindingData(QUntypedPropertyData *data, bool create)\n", false, &_init_f_bindingData_3451, &_call_f_bindingData_3451); - methods += new qt_gsi::GenericMethod ("isEmpty?", "@brief Method bool QBindingStorage::isEmpty()\n", false, &_init_f_isEmpty_0, &_call_f_isEmpty_0); - methods += new qt_gsi::GenericMethod ("maybeUpdateBindingAndRegister", "@brief Method void QBindingStorage::maybeUpdateBindingAndRegister(const QUntypedPropertyData *data)\n", true, &_init_f_maybeUpdateBindingAndRegister_c3390, &_call_f_maybeUpdateBindingAndRegister_c3390); - methods += new qt_gsi::GenericMethod ("registerDependency", "@brief Method void QBindingStorage::registerDependency(const QUntypedPropertyData *data)\n", true, &_init_f_registerDependency_c3390, &_call_f_registerDependency_c3390); - return methods; -} - -gsi::Class decl_QBindingStorage ("Qt", "QBindingStorage", - methods_QBindingStorage (), - "@qt\n@brief Binding of QBindingStorage"); - - -GSI_QT_PUBLIC gsi::Class &qtdecl_QBindingStorage () { return decl_QBindingStorage; } - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQBitmap.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQBitmap.cc deleted file mode 100644 index 3b01537f6..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQBitmap.cc +++ /dev/null @@ -1,602 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQBitmap.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QBitmap - -// void QBitmap::clear() - - -static void _init_f_clear_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_clear_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QBitmap *)cls)->clear (); -} - - -// QBitmap &QBitmap::operator=(const QPixmap &) - - -static void _init_f_operator_eq__2017 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__2017 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QPixmap &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QBitmap &)((QBitmap *)cls)->operator= (arg1)); -} - - -// void QBitmap::swap(QBitmap &other) - - -static void _init_f_swap_1304 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_swap_1304 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QBitmap &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QBitmap *)cls)->swap (arg1); -} - - -// QBitmap QBitmap::transformed(const QTransform &matrix) - - -static void _init_f_transformed_c2350 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("matrix"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_transformed_c2350 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QTransform &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QBitmap)((QBitmap *)cls)->transformed (arg1)); -} - - -// static QBitmap QBitmap::fromData(const QSize &size, const unsigned char *bits, QImage::Format monoFormat) - - -static void _init_f_fromData_6058 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("size"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("bits"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("monoFormat", true, "QImage::Format_MonoLSB"); - decl->add_arg::target_type & > (argspec_2); - decl->set_return (); -} - -static void _call_f_fromData_6058 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QSize &arg1 = gsi::arg_reader() (args, heap); - const unsigned char *arg2 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg3 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, QImage::Format_MonoLSB), heap); - ret.write ((QBitmap)QBitmap::fromData (arg1, arg2, qt_gsi::QtToCppAdaptor(arg3).cref())); -} - - -// static QBitmap QBitmap::fromImage(const QImage &image, QFlags flags) - - -static void _init_f_fromImage_5137 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("image"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("flags", true, "Qt::AutoColor"); - decl->add_arg > (argspec_1); - decl->set_return (); -} - -static void _call_f_fromImage_5137 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QImage &arg1 = gsi::arg_reader() (args, heap); - QFlags arg2 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (Qt::AutoColor, heap); - ret.write ((QBitmap)QBitmap::fromImage (arg1, arg2)); -} - - -// static QBitmap QBitmap::fromPixmap(const QPixmap &pixmap) - - -static void _init_f_fromPixmap_2017 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pixmap"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_fromPixmap_2017 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QPixmap &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QBitmap)QBitmap::fromPixmap (arg1)); -} - - -namespace gsi -{ - -static gsi::Methods methods_QBitmap () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clear", "@brief Method void QBitmap::clear()\n", false, &_init_f_clear_0, &_call_f_clear_0); - methods += new qt_gsi::GenericMethod ("assign", "@brief Method QBitmap &QBitmap::operator=(const QPixmap &)\n", false, &_init_f_operator_eq__2017, &_call_f_operator_eq__2017); - methods += new qt_gsi::GenericMethod ("swap", "@brief Method void QBitmap::swap(QBitmap &other)\n", false, &_init_f_swap_1304, &_call_f_swap_1304); - methods += new qt_gsi::GenericMethod ("transformed", "@brief Method QBitmap QBitmap::transformed(const QTransform &matrix)\n", true, &_init_f_transformed_c2350, &_call_f_transformed_c2350); - methods += new qt_gsi::GenericStaticMethod ("fromData", "@brief Static method QBitmap QBitmap::fromData(const QSize &size, const unsigned char *bits, QImage::Format monoFormat)\nThis method is static and can be called without an instance.", &_init_f_fromData_6058, &_call_f_fromData_6058); - methods += new qt_gsi::GenericStaticMethod ("fromImage", "@brief Static method QBitmap QBitmap::fromImage(const QImage &image, QFlags flags)\nThis method is static and can be called without an instance.", &_init_f_fromImage_5137, &_call_f_fromImage_5137); - methods += new qt_gsi::GenericStaticMethod ("fromPixmap", "@brief Static method QBitmap QBitmap::fromPixmap(const QPixmap &pixmap)\nThis method is static and can be called without an instance.", &_init_f_fromPixmap_2017, &_call_f_fromPixmap_2017); - return methods; -} - -gsi::Class &qtdecl_QPixmap (); - -gsi::Class decl_QBitmap (qtdecl_QPixmap (), "Qt", "QBitmap_Native", - methods_QBitmap (), - "@hide\n@alias QBitmap"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QBitmap () { return decl_QBitmap; } - -} - - -class QBitmap_Adaptor : public QBitmap, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QBitmap_Adaptor(); - - // [adaptor ctor] QBitmap::QBitmap() - QBitmap_Adaptor() : QBitmap() - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QBitmap::QBitmap(const QPixmap &) - QBitmap_Adaptor(const QPixmap &arg1) : QBitmap(arg1) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QBitmap::QBitmap(int w, int h) - QBitmap_Adaptor(int w, int h) : QBitmap(w, h) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QBitmap::QBitmap(const QSize &) - QBitmap_Adaptor(const QSize &arg1) : QBitmap(arg1) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QBitmap::QBitmap(const QString &fileName, const char *format) - QBitmap_Adaptor(const QString &fileName) : QBitmap(fileName) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QBitmap::QBitmap(const QString &fileName, const char *format) - QBitmap_Adaptor(const QString &fileName, const char *format) : QBitmap(fileName, format) - { - qt_gsi::QtObjectBase::init (this); - } - - // [expose] QPixmap QBitmap::fromImageInPlace(QImage &image, QFlags flags) - static QPixmap fp_QBitmap_fromImageInPlace_4442 (QImage &image, QFlags flags) { - return QBitmap::fromImageInPlace(image, flags); - } - - // [adaptor impl] QPaintEngine *QBitmap::paintEngine() - QPaintEngine * cbs_paintEngine_c0_0() const - { - return QBitmap::paintEngine(); - } - - virtual QPaintEngine * paintEngine() const - { - if (cb_paintEngine_c0_0.can_issue()) { - return cb_paintEngine_c0_0.issue(&QBitmap_Adaptor::cbs_paintEngine_c0_0); - } else { - return QBitmap::paintEngine(); - } - } - - // [adaptor impl] void QBitmap::initPainter(QPainter *painter) - void cbs_initPainter_c1426_0(QPainter *painter) const - { - QBitmap::initPainter(painter); - } - - virtual void initPainter(QPainter *painter) const - { - if (cb_initPainter_c1426_0.can_issue()) { - cb_initPainter_c1426_0.issue(&QBitmap_Adaptor::cbs_initPainter_c1426_0, painter); - } else { - QBitmap::initPainter(painter); - } - } - - // [adaptor impl] int QBitmap::metric(QPaintDevice::PaintDeviceMetric) - int cbs_metric_c3445_0(const qt_gsi::Converter::target_type & arg1) const - { - return QBitmap::metric(qt_gsi::QtToCppAdaptor(arg1).cref()); - } - - virtual int metric(QPaintDevice::PaintDeviceMetric arg1) const - { - if (cb_metric_c3445_0.can_issue()) { - return cb_metric_c3445_0.issue::target_type &>(&QBitmap_Adaptor::cbs_metric_c3445_0, qt_gsi::CppToQtAdaptor(arg1)); - } else { - return QBitmap::metric(arg1); - } - } - - // [adaptor impl] QPaintDevice *QBitmap::redirected(QPoint *offset) - QPaintDevice * cbs_redirected_c1225_0(QPoint *offset) const - { - return QBitmap::redirected(offset); - } - - virtual QPaintDevice * redirected(QPoint *offset) const - { - if (cb_redirected_c1225_0.can_issue()) { - return cb_redirected_c1225_0.issue(&QBitmap_Adaptor::cbs_redirected_c1225_0, offset); - } else { - return QBitmap::redirected(offset); - } - } - - // [adaptor impl] QPainter *QBitmap::sharedPainter() - QPainter * cbs_sharedPainter_c0_0() const - { - return QBitmap::sharedPainter(); - } - - virtual QPainter * sharedPainter() const - { - if (cb_sharedPainter_c0_0.can_issue()) { - return cb_sharedPainter_c0_0.issue(&QBitmap_Adaptor::cbs_sharedPainter_c0_0); - } else { - return QBitmap::sharedPainter(); - } - } - - gsi::Callback cb_paintEngine_c0_0; - gsi::Callback cb_initPainter_c1426_0; - gsi::Callback cb_metric_c3445_0; - gsi::Callback cb_redirected_c1225_0; - gsi::Callback cb_sharedPainter_c0_0; -}; - -QBitmap_Adaptor::~QBitmap_Adaptor() { } - -// Constructor QBitmap::QBitmap() (adaptor class) - -static void _init_ctor_QBitmap_Adaptor_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QBitmap_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QBitmap_Adaptor ()); -} - - -// Constructor QBitmap::QBitmap(const QPixmap &) (adaptor class) - -static void _init_ctor_QBitmap_Adaptor_2017 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QBitmap_Adaptor_2017 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QPixmap &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QBitmap_Adaptor (arg1)); -} - - -// Constructor QBitmap::QBitmap(int w, int h) (adaptor class) - -static void _init_ctor_QBitmap_Adaptor_1426 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("w"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("h"); - decl->add_arg (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QBitmap_Adaptor_1426 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - ret.write (new QBitmap_Adaptor (arg1, arg2)); -} - - -// Constructor QBitmap::QBitmap(const QSize &) (adaptor class) - -static void _init_ctor_QBitmap_Adaptor_1805 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QBitmap_Adaptor_1805 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QSize &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QBitmap_Adaptor (arg1)); -} - - -// Constructor QBitmap::QBitmap(const QString &fileName, const char *format) (adaptor class) - -static void _init_ctor_QBitmap_Adaptor_3648 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("fileName"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("format", true, "nullptr"); - decl->add_arg (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QBitmap_Adaptor_3648 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - const char *arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ret.write (new QBitmap_Adaptor (arg1, arg2)); -} - - -// exposed QPixmap QBitmap::fromImageInPlace(QImage &image, QFlags flags) - -static void _init_fp_fromImageInPlace_4442 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("image"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("flags", true, "Qt::AutoColor"); - decl->add_arg > (argspec_1); - decl->set_return (); -} - -static void _call_fp_fromImageInPlace_4442 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QImage &arg1 = gsi::arg_reader() (args, heap); - QFlags arg2 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (Qt::AutoColor, heap); - ret.write ((QPixmap)QBitmap_Adaptor::fp_QBitmap_fromImageInPlace_4442 (arg1, arg2)); -} - - -// void QBitmap::initPainter(QPainter *painter) - -static void _init_cbs_initPainter_c1426_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("painter"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_initPainter_c1426_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QPainter *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QBitmap_Adaptor *)cls)->cbs_initPainter_c1426_0 (arg1); -} - -static void _set_callback_cbs_initPainter_c1426_0 (void *cls, const gsi::Callback &cb) -{ - ((QBitmap_Adaptor *)cls)->cb_initPainter_c1426_0 = cb; -} - - -// int QBitmap::metric(QPaintDevice::PaintDeviceMetric) - -static void _init_cbs_metric_c3445_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_cbs_metric_c3445_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = args.read::target_type & > (heap); - ret.write ((int)((QBitmap_Adaptor *)cls)->cbs_metric_c3445_0 (arg1)); -} - -static void _set_callback_cbs_metric_c3445_0 (void *cls, const gsi::Callback &cb) -{ - ((QBitmap_Adaptor *)cls)->cb_metric_c3445_0 = cb; -} - - -// QPaintEngine *QBitmap::paintEngine() - -static void _init_cbs_paintEngine_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_paintEngine_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QPaintEngine *)((QBitmap_Adaptor *)cls)->cbs_paintEngine_c0_0 ()); -} - -static void _set_callback_cbs_paintEngine_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QBitmap_Adaptor *)cls)->cb_paintEngine_c0_0 = cb; -} - - -// QPaintDevice *QBitmap::redirected(QPoint *offset) - -static void _init_cbs_redirected_c1225_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("offset"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_redirected_c1225_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QPoint *arg1 = args.read (heap); - ret.write ((QPaintDevice *)((QBitmap_Adaptor *)cls)->cbs_redirected_c1225_0 (arg1)); -} - -static void _set_callback_cbs_redirected_c1225_0 (void *cls, const gsi::Callback &cb) -{ - ((QBitmap_Adaptor *)cls)->cb_redirected_c1225_0 = cb; -} - - -// QPainter *QBitmap::sharedPainter() - -static void _init_cbs_sharedPainter_c0_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_cbs_sharedPainter_c0_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QPainter *)((QBitmap_Adaptor *)cls)->cbs_sharedPainter_c0_0 ()); -} - -static void _set_callback_cbs_sharedPainter_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QBitmap_Adaptor *)cls)->cb_sharedPainter_c0_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QBitmap (); - -static gsi::Methods methods_QBitmap_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBitmap::QBitmap()\nThis method creates an object of class QBitmap.", &_init_ctor_QBitmap_Adaptor_0, &_call_ctor_QBitmap_Adaptor_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBitmap::QBitmap(const QPixmap &)\nThis method creates an object of class QBitmap.", &_init_ctor_QBitmap_Adaptor_2017, &_call_ctor_QBitmap_Adaptor_2017); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBitmap::QBitmap(int w, int h)\nThis method creates an object of class QBitmap.", &_init_ctor_QBitmap_Adaptor_1426, &_call_ctor_QBitmap_Adaptor_1426); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBitmap::QBitmap(const QSize &)\nThis method creates an object of class QBitmap.", &_init_ctor_QBitmap_Adaptor_1805, &_call_ctor_QBitmap_Adaptor_1805); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBitmap::QBitmap(const QString &fileName, const char *format)\nThis method creates an object of class QBitmap.", &_init_ctor_QBitmap_Adaptor_3648, &_call_ctor_QBitmap_Adaptor_3648); - methods += new qt_gsi::GenericStaticMethod ("*fromImageInPlace", "@brief Method QPixmap QBitmap::fromImageInPlace(QImage &image, QFlags flags)\nThis method is protected and can only be called from inside a derived class.", &_init_fp_fromImageInPlace_4442, &_call_fp_fromImageInPlace_4442); - methods += new qt_gsi::GenericMethod ("*initPainter", "@brief Virtual method void QBitmap::initPainter(QPainter *painter)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_initPainter_c1426_0, &_call_cbs_initPainter_c1426_0); - methods += new qt_gsi::GenericMethod ("*initPainter", "@hide", true, &_init_cbs_initPainter_c1426_0, &_call_cbs_initPainter_c1426_0, &_set_callback_cbs_initPainter_c1426_0); - methods += new qt_gsi::GenericMethod ("*metric", "@brief Virtual method int QBitmap::metric(QPaintDevice::PaintDeviceMetric)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_metric_c3445_0, &_call_cbs_metric_c3445_0); - methods += new qt_gsi::GenericMethod ("*metric", "@hide", true, &_init_cbs_metric_c3445_0, &_call_cbs_metric_c3445_0, &_set_callback_cbs_metric_c3445_0); - methods += new qt_gsi::GenericMethod ("paintEngine", "@brief Virtual method QPaintEngine *QBitmap::paintEngine()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_paintEngine_c0_0, &_call_cbs_paintEngine_c0_0); - methods += new qt_gsi::GenericMethod ("paintEngine", "@hide", true, &_init_cbs_paintEngine_c0_0, &_call_cbs_paintEngine_c0_0, &_set_callback_cbs_paintEngine_c0_0); - methods += new qt_gsi::GenericMethod ("*redirected", "@brief Virtual method QPaintDevice *QBitmap::redirected(QPoint *offset)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_redirected_c1225_0, &_call_cbs_redirected_c1225_0); - methods += new qt_gsi::GenericMethod ("*redirected", "@hide", true, &_init_cbs_redirected_c1225_0, &_call_cbs_redirected_c1225_0, &_set_callback_cbs_redirected_c1225_0); - methods += new qt_gsi::GenericMethod ("*sharedPainter", "@brief Virtual method QPainter *QBitmap::sharedPainter()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_sharedPainter_c0_0, &_call_cbs_sharedPainter_c0_0); - methods += new qt_gsi::GenericMethod ("*sharedPainter", "@hide", true, &_init_cbs_sharedPainter_c0_0, &_call_cbs_sharedPainter_c0_0, &_set_callback_cbs_sharedPainter_c0_0); - return methods; -} - -gsi::Class decl_QBitmap_Adaptor (qtdecl_QBitmap (), "Qt", "QBitmap", - methods_QBitmap_Adaptor (), - "@qt\n@brief Binding of QBitmap"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQBrush.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQBrush.cc deleted file mode 100644 index 53454f7d4..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQBrush.cc +++ /dev/null @@ -1,604 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQBrush.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QBrush - -// Constructor QBrush::QBrush() - - -static void _init_ctor_QBrush_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QBrush_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QBrush ()); -} - - -// Constructor QBrush::QBrush(Qt::BrushStyle bs) - - -static void _init_ctor_QBrush_1794 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("bs"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QBrush_1794 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write (new QBrush (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// Constructor QBrush::QBrush(const QColor &color, Qt::BrushStyle bs) - - -static void _init_ctor_QBrush_3591 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("color"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("bs", true, "Qt::SolidPattern"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QBrush_3591 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QColor &arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::SolidPattern), heap); - ret.write (new QBrush (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// Constructor QBrush::QBrush(Qt::GlobalColor color, Qt::BrushStyle bs) - - -static void _init_ctor_QBrush_3539 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("color"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("bs", true, "Qt::SolidPattern"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QBrush_3539 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::SolidPattern), heap); - ret.write (new QBrush (qt_gsi::QtToCppAdaptor(arg1).cref(), qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// Constructor QBrush::QBrush(const QColor &color, const QPixmap &pixmap) - - -static void _init_ctor_QBrush_3814 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("color"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pixmap"); - decl->add_arg (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QBrush_3814 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QColor &arg1 = gsi::arg_reader() (args, heap); - const QPixmap &arg2 = gsi::arg_reader() (args, heap); - ret.write (new QBrush (arg1, arg2)); -} - - -// Constructor QBrush::QBrush(Qt::GlobalColor color, const QPixmap &pixmap) - - -static void _init_ctor_QBrush_3762 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("color"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pixmap"); - decl->add_arg (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QBrush_3762 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - const QPixmap &arg2 = gsi::arg_reader() (args, heap); - ret.write (new QBrush (qt_gsi::QtToCppAdaptor(arg1).cref(), arg2)); -} - - -// Constructor QBrush::QBrush(const QPixmap &pixmap) - - -static void _init_ctor_QBrush_2017 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pixmap"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QBrush_2017 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QPixmap &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QBrush (arg1)); -} - - -// Constructor QBrush::QBrush(const QImage &image) - - -static void _init_ctor_QBrush_1877 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("image"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QBrush_1877 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QImage &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QBrush (arg1)); -} - - -// Constructor QBrush::QBrush(const QBrush &brush) - - -static void _init_ctor_QBrush_1910 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("brush"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QBrush_1910 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QBrush &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QBrush (arg1)); -} - - -// Constructor QBrush::QBrush(const QGradient &gradient) - - -static void _init_ctor_QBrush_2208 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("gradient"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QBrush_2208 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QGradient &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QBrush (arg1)); -} - - -// const QColor &QBrush::color() - - -static void _init_f_color_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_color_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((const QColor &)((QBrush *)cls)->color ()); -} - - -// const QGradient *QBrush::gradient() - - -static void _init_f_gradient_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_gradient_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((const QGradient *)((QBrush *)cls)->gradient ()); -} - - -// bool QBrush::isDetached() - - -static void _init_f_isDetached_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isDetached_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QBrush *)cls)->isDetached ()); -} - - -// bool QBrush::isOpaque() - - -static void _init_f_isOpaque_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isOpaque_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QBrush *)cls)->isOpaque ()); -} - - -// bool QBrush::operator!=(const QBrush &b) - - -static void _init_f_operator_excl__eq__c1910 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("b"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_excl__eq__c1910 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QBrush &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QBrush *)cls)->operator!= (arg1)); -} - - -// QBrush &QBrush::operator=(const QBrush &brush) - - -static void _init_f_operator_eq__1910 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("brush"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__1910 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QBrush &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QBrush &)((QBrush *)cls)->operator= (arg1)); -} - - -// bool QBrush::operator==(const QBrush &b) - - -static void _init_f_operator_eq__eq__c1910 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("b"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__eq__c1910 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QBrush &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QBrush *)cls)->operator== (arg1)); -} - - -// void QBrush::setColor(const QColor &color) - - -static void _init_f_setColor_1905 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("color"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setColor_1905 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QColor &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QBrush *)cls)->setColor (arg1); -} - - -// void QBrush::setColor(Qt::GlobalColor color) - - -static void _init_f_setColor_1853 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("color"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_setColor_1853 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QBrush *)cls)->setColor (qt_gsi::QtToCppAdaptor(arg1).cref()); -} - - -// void QBrush::setStyle(Qt::BrushStyle) - - -static void _init_f_setStyle_1794 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_setStyle_1794 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QBrush *)cls)->setStyle (qt_gsi::QtToCppAdaptor(arg1).cref()); -} - - -// void QBrush::setTexture(const QPixmap &pixmap) - - -static void _init_f_setTexture_2017 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pixmap"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setTexture_2017 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QPixmap &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QBrush *)cls)->setTexture (arg1); -} - - -// void QBrush::setTextureImage(const QImage &image) - - -static void _init_f_setTextureImage_1877 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("image"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setTextureImage_1877 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QImage &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QBrush *)cls)->setTextureImage (arg1); -} - - -// void QBrush::setTransform(const QTransform &) - - -static void _init_f_setTransform_2350 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setTransform_2350 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QTransform &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QBrush *)cls)->setTransform (arg1); -} - - -// Qt::BrushStyle QBrush::style() - - -static void _init_f_style_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_style_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QBrush *)cls)->style ())); -} - - -// void QBrush::swap(QBrush &other) - - -static void _init_f_swap_1215 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_swap_1215 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QBrush &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QBrush *)cls)->swap (arg1); -} - - -// QPixmap QBrush::texture() - - -static void _init_f_texture_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_texture_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QPixmap)((QBrush *)cls)->texture ()); -} - - -// QImage QBrush::textureImage() - - -static void _init_f_textureImage_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_textureImage_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QImage)((QBrush *)cls)->textureImage ()); -} - - -// QTransform QBrush::transform() - - -static void _init_f_transform_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_transform_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QTransform)((QBrush *)cls)->transform ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QBrush () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBrush::QBrush()\nThis method creates an object of class QBrush.", &_init_ctor_QBrush_0, &_call_ctor_QBrush_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBrush::QBrush(Qt::BrushStyle bs)\nThis method creates an object of class QBrush.", &_init_ctor_QBrush_1794, &_call_ctor_QBrush_1794); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBrush::QBrush(const QColor &color, Qt::BrushStyle bs)\nThis method creates an object of class QBrush.", &_init_ctor_QBrush_3591, &_call_ctor_QBrush_3591); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBrush::QBrush(Qt::GlobalColor color, Qt::BrushStyle bs)\nThis method creates an object of class QBrush.", &_init_ctor_QBrush_3539, &_call_ctor_QBrush_3539); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBrush::QBrush(const QColor &color, const QPixmap &pixmap)\nThis method creates an object of class QBrush.", &_init_ctor_QBrush_3814, &_call_ctor_QBrush_3814); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBrush::QBrush(Qt::GlobalColor color, const QPixmap &pixmap)\nThis method creates an object of class QBrush.", &_init_ctor_QBrush_3762, &_call_ctor_QBrush_3762); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBrush::QBrush(const QPixmap &pixmap)\nThis method creates an object of class QBrush.", &_init_ctor_QBrush_2017, &_call_ctor_QBrush_2017); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBrush::QBrush(const QImage &image)\nThis method creates an object of class QBrush.", &_init_ctor_QBrush_1877, &_call_ctor_QBrush_1877); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBrush::QBrush(const QBrush &brush)\nThis method creates an object of class QBrush.", &_init_ctor_QBrush_1910, &_call_ctor_QBrush_1910); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBrush::QBrush(const QGradient &gradient)\nThis method creates an object of class QBrush.", &_init_ctor_QBrush_2208, &_call_ctor_QBrush_2208); - methods += new qt_gsi::GenericMethod (":color", "@brief Method const QColor &QBrush::color()\n", true, &_init_f_color_c0, &_call_f_color_c0); - methods += new qt_gsi::GenericMethod ("gradient", "@brief Method const QGradient *QBrush::gradient()\n", true, &_init_f_gradient_c0, &_call_f_gradient_c0); - methods += new qt_gsi::GenericMethod ("isDetached?", "@brief Method bool QBrush::isDetached()\n", true, &_init_f_isDetached_c0, &_call_f_isDetached_c0); - methods += new qt_gsi::GenericMethod ("isOpaque?", "@brief Method bool QBrush::isOpaque()\n", true, &_init_f_isOpaque_c0, &_call_f_isOpaque_c0); - methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QBrush::operator!=(const QBrush &b)\n", true, &_init_f_operator_excl__eq__c1910, &_call_f_operator_excl__eq__c1910); - methods += new qt_gsi::GenericMethod ("assign", "@brief Method QBrush &QBrush::operator=(const QBrush &brush)\n", false, &_init_f_operator_eq__1910, &_call_f_operator_eq__1910); - methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QBrush::operator==(const QBrush &b)\n", true, &_init_f_operator_eq__eq__c1910, &_call_f_operator_eq__eq__c1910); - methods += new qt_gsi::GenericMethod ("setColor|color=", "@brief Method void QBrush::setColor(const QColor &color)\n", false, &_init_f_setColor_1905, &_call_f_setColor_1905); - methods += new qt_gsi::GenericMethod ("setColor|color=", "@brief Method void QBrush::setColor(Qt::GlobalColor color)\n", false, &_init_f_setColor_1853, &_call_f_setColor_1853); - methods += new qt_gsi::GenericMethod ("setStyle|style=", "@brief Method void QBrush::setStyle(Qt::BrushStyle)\n", false, &_init_f_setStyle_1794, &_call_f_setStyle_1794); - methods += new qt_gsi::GenericMethod ("setTexture|texture=", "@brief Method void QBrush::setTexture(const QPixmap &pixmap)\n", false, &_init_f_setTexture_2017, &_call_f_setTexture_2017); - methods += new qt_gsi::GenericMethod ("setTextureImage|textureImage=", "@brief Method void QBrush::setTextureImage(const QImage &image)\n", false, &_init_f_setTextureImage_1877, &_call_f_setTextureImage_1877); - methods += new qt_gsi::GenericMethod ("setTransform|transform=", "@brief Method void QBrush::setTransform(const QTransform &)\n", false, &_init_f_setTransform_2350, &_call_f_setTransform_2350); - methods += new qt_gsi::GenericMethod (":style", "@brief Method Qt::BrushStyle QBrush::style()\n", true, &_init_f_style_c0, &_call_f_style_c0); - methods += new qt_gsi::GenericMethod ("swap", "@brief Method void QBrush::swap(QBrush &other)\n", false, &_init_f_swap_1215, &_call_f_swap_1215); - methods += new qt_gsi::GenericMethod (":texture", "@brief Method QPixmap QBrush::texture()\n", true, &_init_f_texture_c0, &_call_f_texture_c0); - methods += new qt_gsi::GenericMethod (":textureImage", "@brief Method QImage QBrush::textureImage()\n", true, &_init_f_textureImage_c0, &_call_f_textureImage_c0); - methods += new qt_gsi::GenericMethod (":transform", "@brief Method QTransform QBrush::transform()\n", true, &_init_f_transform_c0, &_call_f_transform_c0); - return methods; -} - -gsi::Class decl_QBrush ("Qt", "QBrush", - methods_QBrush (), - "@qt\n@brief Binding of QBrush"); - - -GSI_QT_PUBLIC gsi::Class &qtdecl_QBrush () { return decl_QBrush; } - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQBrushDataPointerDeleter.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQBrushDataPointerDeleter.cc deleted file mode 100644 index f63fd540f..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQBrushDataPointerDeleter.cc +++ /dev/null @@ -1,93 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQBrushDataPointerDeleter.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// struct QBrushDataPointerDeleter - -// Constructor QBrushDataPointerDeleter::QBrushDataPointerDeleter() - - -static void _init_ctor_QBrushDataPointerDeleter_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QBrushDataPointerDeleter_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QBrushDataPointerDeleter ()); -} - - -// void QBrushDataPointerDeleter::operator()(QBrushData *d) - - -static void _init_f_operator_func__c1597 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("d"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_func__c1597 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QBrushData *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QBrushDataPointerDeleter *)cls)->operator() (arg1); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QBrushDataPointerDeleter () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QBrushDataPointerDeleter::QBrushDataPointerDeleter()\nThis method creates an object of class QBrushDataPointerDeleter.", &_init_ctor_QBrushDataPointerDeleter_0, &_call_ctor_QBrushDataPointerDeleter_0); - methods += new qt_gsi::GenericMethod ("()", "@brief Method void QBrushDataPointerDeleter::operator()(QBrushData *d)\n", true, &_init_f_operator_func__c1597, &_call_f_operator_func__c1597); - return methods; -} - -gsi::Class decl_QBrushDataPointerDeleter ("Qt", "QBrushDataPointerDeleter", - methods_QBrushDataPointerDeleter (), - "@qt\n@brief Binding of QBrushDataPointerDeleter"); - - -GSI_QT_PUBLIC gsi::Class &qtdecl_QBrushDataPointerDeleter () { return decl_QBrushDataPointerDeleter; } - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQByteArrayView.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQByteArrayView.cc deleted file mode 100644 index 59439e8c5..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQByteArrayView.cc +++ /dev/null @@ -1,892 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQByteArrayView.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QByteArrayView - -// Constructor QByteArrayView::QByteArrayView() - - -static void _init_ctor_QByteArrayView_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QByteArrayView_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QByteArrayView ()); -} - - -// Constructor QByteArrayView::QByteArrayView(std::nullptr_t) - - -static void _init_ctor_QByteArrayView_1879 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QByteArrayView_1879 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - std::nullptr_t arg1 = gsi::arg_reader() (args, heap); - ret.write (new QByteArrayView (arg1)); -} - - -// char QByteArrayView::at(qsizetype n) - - -static void _init_f_at_c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_at_c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((char)((QByteArrayView *)cls)->at (arg1)); -} - - -// char QByteArrayView::back() - - -static void _init_f_back_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_back_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((char)((QByteArrayView *)cls)->back ()); -} - - -// const char *QByteArrayView::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 ((const char *)((QByteArrayView *)cls)->begin ()); -} - - -// const char *QByteArrayView::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 ((const char *)((QByteArrayView *)cls)->cbegin ()); -} - - -// const char *QByteArrayView::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 ((const char *)((QByteArrayView *)cls)->cend ()); -} - - -// void QByteArrayView::chop(qsizetype n) - - -static void _init_f_chop_1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_chop_1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QByteArrayView *)cls)->chop (arg1); -} - - -// QByteArrayView QByteArrayView::chopped(qsizetype len) - - -static void _init_f_chopped_c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("len"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_chopped_c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QByteArrayView)((QByteArrayView *)cls)->chopped (arg1)); -} - - -// int QByteArrayView::compare(QByteArrayView a, Qt::CaseSensitivity cs) - - -static void _init_f_compare_c4059 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("a"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cs", true, "Qt::CaseSensitive"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_compare_c4059 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QByteArrayView arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CaseSensitive), heap); - ret.write ((int)((QByteArrayView *)cls)->compare (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// const char *QByteArrayView::constData() - - -static void _init_f_constData_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_constData_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((const char *)((QByteArrayView *)cls)->constData ()); -} - - -// bool QByteArrayView::contains(QByteArrayView a) - - -static void _init_f_contains_c1843 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("a"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_contains_c1843 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QByteArrayView arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QByteArrayView *)cls)->contains (arg1)); -} - - -// bool QByteArrayView::contains(char c) - - -static void _init_f_contains_c850 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_contains_c850 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - char arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QByteArrayView *)cls)->contains (arg1)); -} - - -// qsizetype QByteArrayView::count(QByteArrayView a) - - -static void _init_f_count_c1843 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("a"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_count_c1843 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QByteArrayView arg1 = gsi::arg_reader() (args, heap); - ret.write ((qsizetype)((QByteArrayView *)cls)->count (arg1)); -} - - -// qsizetype QByteArrayView::count(char ch) - - -static void _init_f_count_c850 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("ch"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_count_c850 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - char arg1 = gsi::arg_reader() (args, heap); - ret.write ((qsizetype)((QByteArrayView *)cls)->count (arg1)); -} - - -// std::reverse_iterator QByteArrayView::crbegin() - - -static void _init_f_crbegin_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_crbegin_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((std::reverse_iterator)((QByteArrayView *)cls)->crbegin ()); -} - - -// std::reverse_iterator QByteArrayView::crend() - - -static void _init_f_crend_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_crend_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((std::reverse_iterator)((QByteArrayView *)cls)->crend ()); -} - - -// const char *QByteArrayView::data() - - -static void _init_f_data_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_data_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((const char *)((QByteArrayView *)cls)->data ()); -} - - -// bool QByteArrayView::empty() - - -static void _init_f_empty_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_empty_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QByteArrayView *)cls)->empty ()); -} - - -// const char *QByteArrayView::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 ((const char *)((QByteArrayView *)cls)->end ()); -} - - -// bool QByteArrayView::endsWith(QByteArrayView other) - - -static void _init_f_endsWith_c1843 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_endsWith_c1843 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QByteArrayView arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QByteArrayView *)cls)->endsWith (arg1)); -} - - -// bool QByteArrayView::endsWith(char c) - - -static void _init_f_endsWith_c850 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_endsWith_c850 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - char arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QByteArrayView *)cls)->endsWith (arg1)); -} - - -// QByteArrayView QByteArrayView::first(qsizetype n) - - -static void _init_f_first_c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_first_c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QByteArrayView)((QByteArrayView *)cls)->first (arg1)); -} - - -// char QByteArrayView::first() - - -static void _init_f_first_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_first_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((char)((QByteArrayView *)cls)->first ()); -} - - -// char QByteArrayView::front() - - -static void _init_f_front_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_front_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((char)((QByteArrayView *)cls)->front ()); -} - - -// qsizetype QByteArrayView::indexOf(QByteArrayView a, qsizetype from) - - -static void _init_f_indexOf_c3177 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("a"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("from", true, "0"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_indexOf_c3177 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QByteArrayView arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - ret.write ((qsizetype)((QByteArrayView *)cls)->indexOf (arg1, arg2)); -} - - -// qsizetype QByteArrayView::indexOf(char ch, qsizetype from) - - -static void _init_f_indexOf_c2184 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("ch"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("from", true, "0"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_indexOf_c2184 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - char arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - ret.write ((qsizetype)((QByteArrayView *)cls)->indexOf (arg1, arg2)); -} - - -// bool QByteArrayView::isEmpty() - - -static void _init_f_isEmpty_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isEmpty_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QByteArrayView *)cls)->isEmpty ()); -} - - -// bool QByteArrayView::isNull() - - -static void _init_f_isNull_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isNull_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QByteArrayView *)cls)->isNull ()); -} - - -// QByteArrayView QByteArrayView::last(qsizetype n) - - -static void _init_f_last_c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_last_c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QByteArrayView)((QByteArrayView *)cls)->last (arg1)); -} - - -// char QByteArrayView::last() - - -static void _init_f_last_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_last_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((char)((QByteArrayView *)cls)->last ()); -} - - -// qsizetype QByteArrayView::lastIndexOf(QByteArrayView a) - - -static void _init_f_lastIndexOf_c1843 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("a"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_lastIndexOf_c1843 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QByteArrayView arg1 = gsi::arg_reader() (args, heap); - ret.write ((qsizetype)((QByteArrayView *)cls)->lastIndexOf (arg1)); -} - - -// qsizetype QByteArrayView::lastIndexOf(QByteArrayView a, qsizetype from) - - -static void _init_f_lastIndexOf_c3177 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("a"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("from"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_lastIndexOf_c3177 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QByteArrayView arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = gsi::arg_reader() (args, heap); - ret.write ((qsizetype)((QByteArrayView *)cls)->lastIndexOf (arg1, arg2)); -} - - -// qsizetype QByteArrayView::lastIndexOf(char ch, qsizetype from) - - -static void _init_f_lastIndexOf_c2184 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("ch"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("from", true, "-1"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_lastIndexOf_c2184 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - char arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (-1, heap); - ret.write ((qsizetype)((QByteArrayView *)cls)->lastIndexOf (arg1, arg2)); -} - - -// qsizetype QByteArrayView::length() - - -static void _init_f_length_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_length_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qsizetype)((QByteArrayView *)cls)->length ()); -} - - -// char QByteArrayView::operator[](qsizetype n) - - -static void _init_f_operator_index__c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((char)((QByteArrayView *)cls)->operator[] (arg1)); -} - - -// std::reverse_iterator QByteArrayView::rbegin() - - -static void _init_f_rbegin_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_rbegin_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((std::reverse_iterator)((QByteArrayView *)cls)->rbegin ()); -} - - -// std::reverse_iterator QByteArrayView::rend() - - -static void _init_f_rend_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_rend_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((std::reverse_iterator)((QByteArrayView *)cls)->rend ()); -} - - -// qsizetype QByteArrayView::size() - - -static void _init_f_size_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_size_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qsizetype)((QByteArrayView *)cls)->size ()); -} - - -// QByteArrayView QByteArrayView::sliced(qsizetype pos) - - -static void _init_f_sliced_c1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pos"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_sliced_c1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - ret.write ((QByteArrayView)((QByteArrayView *)cls)->sliced (arg1)); -} - - -// QByteArrayView QByteArrayView::sliced(qsizetype pos, qsizetype n) - - -static void _init_f_sliced_c2776 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pos"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("n"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_sliced_c2776 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - qsizetype arg2 = gsi::arg_reader() (args, heap); - ret.write ((QByteArrayView)((QByteArrayView *)cls)->sliced (arg1, arg2)); -} - - -// bool QByteArrayView::startsWith(QByteArrayView other) - - -static void _init_f_startsWith_c1843 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_startsWith_c1843 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QByteArrayView arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QByteArrayView *)cls)->startsWith (arg1)); -} - - -// bool QByteArrayView::startsWith(char c) - - -static void _init_f_startsWith_c850 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_startsWith_c850 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - char arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QByteArrayView *)cls)->startsWith (arg1)); -} - - -// QByteArray QByteArrayView::toByteArray() - - -static void _init_f_toByteArray_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toByteArray_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QByteArray)((QByteArrayView *)cls)->toByteArray ()); -} - - -// void QByteArrayView::truncate(qsizetype n) - - -static void _init_f_truncate_1442 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("n"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_truncate_1442 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qsizetype arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QByteArrayView *)cls)->truncate (arg1); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QByteArrayView () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QByteArrayView::QByteArrayView()\nThis method creates an object of class QByteArrayView.", &_init_ctor_QByteArrayView_0, &_call_ctor_QByteArrayView_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QByteArrayView::QByteArrayView(std::nullptr_t)\nThis method creates an object of class QByteArrayView.", &_init_ctor_QByteArrayView_1879, &_call_ctor_QByteArrayView_1879); - methods += new qt_gsi::GenericMethod ("at", "@brief Method char QByteArrayView::at(qsizetype n)\n", true, &_init_f_at_c1442, &_call_f_at_c1442); - methods += new qt_gsi::GenericMethod ("back", "@brief Method char QByteArrayView::back()\n", true, &_init_f_back_c0, &_call_f_back_c0); - methods += new qt_gsi::GenericMethod ("begin", "@brief Method const char *QByteArrayView::begin()\n", true, &_init_f_begin_c0, &_call_f_begin_c0); - methods += new qt_gsi::GenericMethod ("cbegin", "@brief Method const char *QByteArrayView::cbegin()\n", true, &_init_f_cbegin_c0, &_call_f_cbegin_c0); - methods += new qt_gsi::GenericMethod ("cend", "@brief Method const char *QByteArrayView::cend()\n", true, &_init_f_cend_c0, &_call_f_cend_c0); - methods += new qt_gsi::GenericMethod ("chop", "@brief Method void QByteArrayView::chop(qsizetype n)\n", false, &_init_f_chop_1442, &_call_f_chop_1442); - methods += new qt_gsi::GenericMethod ("chopped", "@brief Method QByteArrayView QByteArrayView::chopped(qsizetype len)\n", true, &_init_f_chopped_c1442, &_call_f_chopped_c1442); - methods += new qt_gsi::GenericMethod ("compare", "@brief Method int QByteArrayView::compare(QByteArrayView a, Qt::CaseSensitivity cs)\n", true, &_init_f_compare_c4059, &_call_f_compare_c4059); - methods += new qt_gsi::GenericMethod ("constData", "@brief Method const char *QByteArrayView::constData()\n", true, &_init_f_constData_c0, &_call_f_constData_c0); - methods += new qt_gsi::GenericMethod ("contains", "@brief Method bool QByteArrayView::contains(QByteArrayView a)\n", true, &_init_f_contains_c1843, &_call_f_contains_c1843); - methods += new qt_gsi::GenericMethod ("contains", "@brief Method bool QByteArrayView::contains(char c)\n", true, &_init_f_contains_c850, &_call_f_contains_c850); - methods += new qt_gsi::GenericMethod ("count", "@brief Method qsizetype QByteArrayView::count(QByteArrayView a)\n", true, &_init_f_count_c1843, &_call_f_count_c1843); - methods += new qt_gsi::GenericMethod ("count", "@brief Method qsizetype QByteArrayView::count(char ch)\n", true, &_init_f_count_c850, &_call_f_count_c850); - methods += new qt_gsi::GenericMethod ("crbegin", "@brief Method std::reverse_iterator QByteArrayView::crbegin()\n", true, &_init_f_crbegin_c0, &_call_f_crbegin_c0); - methods += new qt_gsi::GenericMethod ("crend", "@brief Method std::reverse_iterator QByteArrayView::crend()\n", true, &_init_f_crend_c0, &_call_f_crend_c0); - methods += new qt_gsi::GenericMethod ("data", "@brief Method const char *QByteArrayView::data()\n", true, &_init_f_data_c0, &_call_f_data_c0); - methods += new qt_gsi::GenericMethod ("empty", "@brief Method bool QByteArrayView::empty()\n", true, &_init_f_empty_c0, &_call_f_empty_c0); - methods += new qt_gsi::GenericMethod ("end", "@brief Method const char *QByteArrayView::end()\n", true, &_init_f_end_c0, &_call_f_end_c0); - methods += new qt_gsi::GenericMethod ("endsWith", "@brief Method bool QByteArrayView::endsWith(QByteArrayView other)\n", true, &_init_f_endsWith_c1843, &_call_f_endsWith_c1843); - methods += new qt_gsi::GenericMethod ("endsWith", "@brief Method bool QByteArrayView::endsWith(char c)\n", true, &_init_f_endsWith_c850, &_call_f_endsWith_c850); - methods += new qt_gsi::GenericMethod ("first", "@brief Method QByteArrayView QByteArrayView::first(qsizetype n)\n", true, &_init_f_first_c1442, &_call_f_first_c1442); - methods += new qt_gsi::GenericMethod ("first", "@brief Method char QByteArrayView::first()\n", true, &_init_f_first_c0, &_call_f_first_c0); - methods += new qt_gsi::GenericMethod ("front", "@brief Method char QByteArrayView::front()\n", true, &_init_f_front_c0, &_call_f_front_c0); - methods += new qt_gsi::GenericMethod ("indexOf", "@brief Method qsizetype QByteArrayView::indexOf(QByteArrayView a, qsizetype from)\n", true, &_init_f_indexOf_c3177, &_call_f_indexOf_c3177); - methods += new qt_gsi::GenericMethod ("indexOf", "@brief Method qsizetype QByteArrayView::indexOf(char ch, qsizetype from)\n", true, &_init_f_indexOf_c2184, &_call_f_indexOf_c2184); - methods += new qt_gsi::GenericMethod ("isEmpty?", "@brief Method bool QByteArrayView::isEmpty()\n", true, &_init_f_isEmpty_c0, &_call_f_isEmpty_c0); - methods += new qt_gsi::GenericMethod ("isNull?", "@brief Method bool QByteArrayView::isNull()\n", true, &_init_f_isNull_c0, &_call_f_isNull_c0); - methods += new qt_gsi::GenericMethod ("last", "@brief Method QByteArrayView QByteArrayView::last(qsizetype n)\n", true, &_init_f_last_c1442, &_call_f_last_c1442); - methods += new qt_gsi::GenericMethod ("last", "@brief Method char QByteArrayView::last()\n", true, &_init_f_last_c0, &_call_f_last_c0); - methods += new qt_gsi::GenericMethod ("lastIndexOf", "@brief Method qsizetype QByteArrayView::lastIndexOf(QByteArrayView a)\n", true, &_init_f_lastIndexOf_c1843, &_call_f_lastIndexOf_c1843); - methods += new qt_gsi::GenericMethod ("lastIndexOf", "@brief Method qsizetype QByteArrayView::lastIndexOf(QByteArrayView a, qsizetype from)\n", true, &_init_f_lastIndexOf_c3177, &_call_f_lastIndexOf_c3177); - methods += new qt_gsi::GenericMethod ("lastIndexOf", "@brief Method qsizetype QByteArrayView::lastIndexOf(char ch, qsizetype from)\n", true, &_init_f_lastIndexOf_c2184, &_call_f_lastIndexOf_c2184); - methods += new qt_gsi::GenericMethod ("length", "@brief Method qsizetype QByteArrayView::length()\n", true, &_init_f_length_c0, &_call_f_length_c0); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method char QByteArrayView::operator[](qsizetype n)\n", true, &_init_f_operator_index__c1442, &_call_f_operator_index__c1442); - methods += new qt_gsi::GenericMethod ("rbegin", "@brief Method std::reverse_iterator QByteArrayView::rbegin()\n", true, &_init_f_rbegin_c0, &_call_f_rbegin_c0); - methods += new qt_gsi::GenericMethod ("rend", "@brief Method std::reverse_iterator QByteArrayView::rend()\n", true, &_init_f_rend_c0, &_call_f_rend_c0); - methods += new qt_gsi::GenericMethod ("size", "@brief Method qsizetype QByteArrayView::size()\n", true, &_init_f_size_c0, &_call_f_size_c0); - methods += new qt_gsi::GenericMethod ("sliced", "@brief Method QByteArrayView QByteArrayView::sliced(qsizetype pos)\n", true, &_init_f_sliced_c1442, &_call_f_sliced_c1442); - methods += new qt_gsi::GenericMethod ("sliced", "@brief Method QByteArrayView QByteArrayView::sliced(qsizetype pos, qsizetype n)\n", true, &_init_f_sliced_c2776, &_call_f_sliced_c2776); - methods += new qt_gsi::GenericMethod ("startsWith", "@brief Method bool QByteArrayView::startsWith(QByteArrayView other)\n", true, &_init_f_startsWith_c1843, &_call_f_startsWith_c1843); - methods += new qt_gsi::GenericMethod ("startsWith", "@brief Method bool QByteArrayView::startsWith(char c)\n", true, &_init_f_startsWith_c850, &_call_f_startsWith_c850); - methods += new qt_gsi::GenericMethod ("toByteArray", "@brief Method QByteArray QByteArrayView::toByteArray()\n", true, &_init_f_toByteArray_c0, &_call_f_toByteArray_c0); - methods += new qt_gsi::GenericMethod ("truncate", "@brief Method void QByteArrayView::truncate(qsizetype n)\n", false, &_init_f_truncate_1442, &_call_f_truncate_1442); - return methods; -} - -gsi::Class decl_QByteArrayView ("Qt", "QByteArrayView", - methods_QByteArrayView (), - "@qt\n@brief Binding of QByteArrayView"); - - -GSI_QT_PUBLIC gsi::Class &qtdecl_QByteArrayView () { return decl_QByteArrayView; } - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQCalendar.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQCalendar.cc deleted file mode 100644 index 05d2bb6d7..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQCalendar.cc +++ /dev/null @@ -1,709 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQCalendar.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QCalendar - -// Constructor QCalendar::QCalendar() - - -static void _init_ctor_QCalendar_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QCalendar_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QCalendar ()); -} - - -// Constructor QCalendar::QCalendar(QCalendar::System system) - - -static void _init_ctor_QCalendar_2072 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("system"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCalendar_2072 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write (new QCalendar (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// Constructor QCalendar::QCalendar(QLatin1String name) - - -static void _init_ctor_QCalendar_1701 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("name"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCalendar_1701 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCalendar (arg1)); -} - - -// Constructor QCalendar::QCalendar(QStringView name) - - -static void _init_ctor_QCalendar_1559 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("name"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCalendar_1559 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QStringView arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCalendar (arg1)); -} - - -// Constructor QCalendar::QCalendar(QCalendar::SystemId id) - - -static void _init_ctor_QCalendar_2245 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("id"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCalendar_2245 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCalendar::SystemId arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCalendar (arg1)); -} - - -// QDate QCalendar::dateFromParts(int year, int month, int day) - - -static void _init_f_dateFromParts_c2085 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("year"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("month"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("day"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_dateFromParts_c2085 (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); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ret.write ((QDate)((QCalendar *)cls)->dateFromParts (arg1, arg2, arg3)); -} - - -// QDate QCalendar::dateFromParts(const QCalendar::YearMonthDay &parts) - - -static void _init_f_dateFromParts_c3509 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("parts"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_dateFromParts_c3509 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCalendar::YearMonthDay &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QDate)((QCalendar *)cls)->dateFromParts (arg1)); -} - - -// QString QCalendar::dateTimeToString(QStringView format, const QDateTime &datetime, QDate dateOnly, QTime timeOnly, const QLocale &locale) - - -static void _init_f_dateTimeToString_c7103 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("format"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("datetime"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("dateOnly"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("timeOnly"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("locale"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_dateTimeToString_c7103 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QStringView arg1 = gsi::arg_reader() (args, heap); - const QDateTime &arg2 = gsi::arg_reader() (args, heap); - QDate arg3 = gsi::arg_reader() (args, heap); - QTime arg4 = gsi::arg_reader() (args, heap); - const QLocale &arg5 = gsi::arg_reader() (args, heap); - ret.write ((QString)((QCalendar *)cls)->dateTimeToString (arg1, arg2, arg3, arg4, arg5)); -} - - -// int QCalendar::dayOfWeek(QDate date) - - -static void _init_f_dayOfWeek_c899 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("date"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_dayOfWeek_c899 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QDate arg1 = gsi::arg_reader() (args, heap); - ret.write ((int)((QCalendar *)cls)->dayOfWeek (arg1)); -} - - -// int QCalendar::daysInMonth(int month, int year) - - -static void _init_f_daysInMonth_c1426 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("month"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("year", true, "QCalendar::Unspecified"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_daysInMonth_c1426 (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); - int arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QCalendar::Unspecified, heap); - ret.write ((int)((QCalendar *)cls)->daysInMonth (arg1, arg2)); -} - - -// int QCalendar::daysInYear(int year) - - -static void _init_f_daysInYear_c767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("year"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_daysInYear_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 ((int)((QCalendar *)cls)->daysInYear (arg1)); -} - - -// bool QCalendar::hasYearZero() - - -static void _init_f_hasYearZero_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_hasYearZero_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCalendar *)cls)->hasYearZero ()); -} - - -// bool QCalendar::isDateValid(int year, int month, int day) - - -static void _init_f_isDateValid_c2085 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("year"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("month"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("day"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_isDateValid_c2085 (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); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCalendar *)cls)->isDateValid (arg1, arg2, arg3)); -} - - -// bool QCalendar::isGregorian() - - -static void _init_f_isGregorian_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isGregorian_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCalendar *)cls)->isGregorian ()); -} - - -// bool QCalendar::isLeapYear(int year) - - -static void _init_f_isLeapYear_c767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("year"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_isLeapYear_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 ((bool)((QCalendar *)cls)->isLeapYear (arg1)); -} - - -// bool QCalendar::isLunar() - - -static void _init_f_isLunar_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isLunar_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCalendar *)cls)->isLunar ()); -} - - -// bool QCalendar::isLuniSolar() - - -static void _init_f_isLuniSolar_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isLuniSolar_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCalendar *)cls)->isLuniSolar ()); -} - - -// bool QCalendar::isProleptic() - - -static void _init_f_isProleptic_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isProleptic_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCalendar *)cls)->isProleptic ()); -} - - -// bool QCalendar::isSolar() - - -static void _init_f_isSolar_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isSolar_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCalendar *)cls)->isSolar ()); -} - - -// bool QCalendar::isValid() - - -static void _init_f_isValid_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isValid_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCalendar *)cls)->isValid ()); -} - - -// int QCalendar::maximumDaysInMonth() - - -static void _init_f_maximumDaysInMonth_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_maximumDaysInMonth_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QCalendar *)cls)->maximumDaysInMonth ()); -} - - -// int QCalendar::maximumMonthsInYear() - - -static void _init_f_maximumMonthsInYear_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_maximumMonthsInYear_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QCalendar *)cls)->maximumMonthsInYear ()); -} - - -// int QCalendar::minimumDaysInMonth() - - -static void _init_f_minimumDaysInMonth_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_minimumDaysInMonth_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QCalendar *)cls)->minimumDaysInMonth ()); -} - - -// QString QCalendar::monthName(const QLocale &locale, int month, int year, QLocale::FormatType format) - - -static void _init_f_monthName_c5456 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("locale"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("month"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("year", true, "QCalendar::Unspecified"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("format", true, "QLocale::LongFormat"); - decl->add_arg::target_type & > (argspec_3); - decl->set_return (); -} - -static void _call_f_monthName_c5456 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QLocale &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QCalendar::Unspecified, heap); - const qt_gsi::Converter::target_type & arg4 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, QLocale::LongFormat), heap); - ret.write ((QString)((QCalendar *)cls)->monthName (arg1, arg2, arg3, qt_gsi::QtToCppAdaptor(arg4).cref())); -} - - -// int QCalendar::monthsInYear(int year) - - -static void _init_f_monthsInYear_c767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("year"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_monthsInYear_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 ((int)((QCalendar *)cls)->monthsInYear (arg1)); -} - - -// QString QCalendar::name() - - -static void _init_f_name_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_name_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QCalendar *)cls)->name ()); -} - - -// QCalendar::YearMonthDay QCalendar::partsFromDate(QDate date) - - -static void _init_f_partsFromDate_c899 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("date"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_partsFromDate_c899 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QDate arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCalendar::YearMonthDay)((QCalendar *)cls)->partsFromDate (arg1)); -} - - -// QString QCalendar::standaloneMonthName(const QLocale &locale, int month, int year, QLocale::FormatType format) - - -static void _init_f_standaloneMonthName_c5456 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("locale"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("month"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("year", true, "QCalendar::Unspecified"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("format", true, "QLocale::LongFormat"); - decl->add_arg::target_type & > (argspec_3); - decl->set_return (); -} - -static void _call_f_standaloneMonthName_c5456 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QLocale &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QCalendar::Unspecified, heap); - const qt_gsi::Converter::target_type & arg4 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, QLocale::LongFormat), heap); - ret.write ((QString)((QCalendar *)cls)->standaloneMonthName (arg1, arg2, arg3, qt_gsi::QtToCppAdaptor(arg4).cref())); -} - - -// QString QCalendar::standaloneWeekDayName(const QLocale &locale, int day, QLocale::FormatType format) - - -static void _init_f_standaloneWeekDayName_c4797 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("locale"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("day"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("format", true, "QLocale::LongFormat"); - decl->add_arg::target_type & > (argspec_2); - decl->set_return (); -} - -static void _call_f_standaloneWeekDayName_c4797 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QLocale &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg3 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, QLocale::LongFormat), heap); - ret.write ((QString)((QCalendar *)cls)->standaloneWeekDayName (arg1, arg2, qt_gsi::QtToCppAdaptor(arg3).cref())); -} - - -// QString QCalendar::weekDayName(const QLocale &locale, int day, QLocale::FormatType format) - - -static void _init_f_weekDayName_c4797 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("locale"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("day"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("format", true, "QLocale::LongFormat"); - decl->add_arg::target_type & > (argspec_2); - decl->set_return (); -} - -static void _call_f_weekDayName_c4797 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QLocale &arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg3 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, QLocale::LongFormat), heap); - ret.write ((QString)((QCalendar *)cls)->weekDayName (arg1, arg2, qt_gsi::QtToCppAdaptor(arg3).cref())); -} - - -// static QStringList QCalendar::availableCalendars() - - -static void _init_f_availableCalendars_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_availableCalendars_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QStringList)QCalendar::availableCalendars ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QCalendar () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCalendar::QCalendar()\nThis method creates an object of class QCalendar.", &_init_ctor_QCalendar_0, &_call_ctor_QCalendar_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCalendar::QCalendar(QCalendar::System system)\nThis method creates an object of class QCalendar.", &_init_ctor_QCalendar_2072, &_call_ctor_QCalendar_2072); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCalendar::QCalendar(QLatin1String name)\nThis method creates an object of class QCalendar.", &_init_ctor_QCalendar_1701, &_call_ctor_QCalendar_1701); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCalendar::QCalendar(QStringView name)\nThis method creates an object of class QCalendar.", &_init_ctor_QCalendar_1559, &_call_ctor_QCalendar_1559); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCalendar::QCalendar(QCalendar::SystemId id)\nThis method creates an object of class QCalendar.", &_init_ctor_QCalendar_2245, &_call_ctor_QCalendar_2245); - methods += new qt_gsi::GenericMethod ("dateFromParts", "@brief Method QDate QCalendar::dateFromParts(int year, int month, int day)\n", true, &_init_f_dateFromParts_c2085, &_call_f_dateFromParts_c2085); - methods += new qt_gsi::GenericMethod ("dateFromParts", "@brief Method QDate QCalendar::dateFromParts(const QCalendar::YearMonthDay &parts)\n", true, &_init_f_dateFromParts_c3509, &_call_f_dateFromParts_c3509); - methods += new qt_gsi::GenericMethod ("dateTimeToString", "@brief Method QString QCalendar::dateTimeToString(QStringView format, const QDateTime &datetime, QDate dateOnly, QTime timeOnly, const QLocale &locale)\n", true, &_init_f_dateTimeToString_c7103, &_call_f_dateTimeToString_c7103); - methods += new qt_gsi::GenericMethod ("dayOfWeek", "@brief Method int QCalendar::dayOfWeek(QDate date)\n", true, &_init_f_dayOfWeek_c899, &_call_f_dayOfWeek_c899); - methods += new qt_gsi::GenericMethod ("daysInMonth", "@brief Method int QCalendar::daysInMonth(int month, int year)\n", true, &_init_f_daysInMonth_c1426, &_call_f_daysInMonth_c1426); - methods += new qt_gsi::GenericMethod ("daysInYear", "@brief Method int QCalendar::daysInYear(int year)\n", true, &_init_f_daysInYear_c767, &_call_f_daysInYear_c767); - methods += new qt_gsi::GenericMethod ("hasYearZero", "@brief Method bool QCalendar::hasYearZero()\n", true, &_init_f_hasYearZero_c0, &_call_f_hasYearZero_c0); - methods += new qt_gsi::GenericMethod ("isDateValid?", "@brief Method bool QCalendar::isDateValid(int year, int month, int day)\n", true, &_init_f_isDateValid_c2085, &_call_f_isDateValid_c2085); - methods += new qt_gsi::GenericMethod ("isGregorian?", "@brief Method bool QCalendar::isGregorian()\n", true, &_init_f_isGregorian_c0, &_call_f_isGregorian_c0); - methods += new qt_gsi::GenericMethod ("isLeapYear?", "@brief Method bool QCalendar::isLeapYear(int year)\n", true, &_init_f_isLeapYear_c767, &_call_f_isLeapYear_c767); - methods += new qt_gsi::GenericMethod ("isLunar?", "@brief Method bool QCalendar::isLunar()\n", true, &_init_f_isLunar_c0, &_call_f_isLunar_c0); - methods += new qt_gsi::GenericMethod ("isLuniSolar?", "@brief Method bool QCalendar::isLuniSolar()\n", true, &_init_f_isLuniSolar_c0, &_call_f_isLuniSolar_c0); - methods += new qt_gsi::GenericMethod ("isProleptic?", "@brief Method bool QCalendar::isProleptic()\n", true, &_init_f_isProleptic_c0, &_call_f_isProleptic_c0); - methods += new qt_gsi::GenericMethod ("isSolar?", "@brief Method bool QCalendar::isSolar()\n", true, &_init_f_isSolar_c0, &_call_f_isSolar_c0); - methods += new qt_gsi::GenericMethod ("isValid?", "@brief Method bool QCalendar::isValid()\n", true, &_init_f_isValid_c0, &_call_f_isValid_c0); - methods += new qt_gsi::GenericMethod ("maximumDaysInMonth", "@brief Method int QCalendar::maximumDaysInMonth()\n", true, &_init_f_maximumDaysInMonth_c0, &_call_f_maximumDaysInMonth_c0); - methods += new qt_gsi::GenericMethod ("maximumMonthsInYear", "@brief Method int QCalendar::maximumMonthsInYear()\n", true, &_init_f_maximumMonthsInYear_c0, &_call_f_maximumMonthsInYear_c0); - methods += new qt_gsi::GenericMethod ("minimumDaysInMonth", "@brief Method int QCalendar::minimumDaysInMonth()\n", true, &_init_f_minimumDaysInMonth_c0, &_call_f_minimumDaysInMonth_c0); - methods += new qt_gsi::GenericMethod ("monthName", "@brief Method QString QCalendar::monthName(const QLocale &locale, int month, int year, QLocale::FormatType format)\n", true, &_init_f_monthName_c5456, &_call_f_monthName_c5456); - methods += new qt_gsi::GenericMethod ("monthsInYear", "@brief Method int QCalendar::monthsInYear(int year)\n", true, &_init_f_monthsInYear_c767, &_call_f_monthsInYear_c767); - methods += new qt_gsi::GenericMethod ("name", "@brief Method QString QCalendar::name()\n", true, &_init_f_name_c0, &_call_f_name_c0); - methods += new qt_gsi::GenericMethod ("partsFromDate", "@brief Method QCalendar::YearMonthDay QCalendar::partsFromDate(QDate date)\n", true, &_init_f_partsFromDate_c899, &_call_f_partsFromDate_c899); - methods += new qt_gsi::GenericMethod ("standaloneMonthName", "@brief Method QString QCalendar::standaloneMonthName(const QLocale &locale, int month, int year, QLocale::FormatType format)\n", true, &_init_f_standaloneMonthName_c5456, &_call_f_standaloneMonthName_c5456); - methods += new qt_gsi::GenericMethod ("standaloneWeekDayName", "@brief Method QString QCalendar::standaloneWeekDayName(const QLocale &locale, int day, QLocale::FormatType format)\n", true, &_init_f_standaloneWeekDayName_c4797, &_call_f_standaloneWeekDayName_c4797); - methods += new qt_gsi::GenericMethod ("weekDayName", "@brief Method QString QCalendar::weekDayName(const QLocale &locale, int day, QLocale::FormatType format)\n", true, &_init_f_weekDayName_c4797, &_call_f_weekDayName_c4797); - methods += new qt_gsi::GenericStaticMethod ("availableCalendars", "@brief Static method QStringList QCalendar::availableCalendars()\nThis method is static and can be called without an instance.", &_init_f_availableCalendars_0, &_call_f_availableCalendars_0); - return methods; -} - -gsi::Class decl_QCalendar ("Qt", "QCalendar", - methods_QCalendar (), - "@qt\n@brief Binding of QCalendar"); - - -GSI_QT_PUBLIC gsi::Class &qtdecl_QCalendar () { return decl_QCalendar; } - -} - - -// Implementation of the enum wrapper class for QCalendar::System -namespace qt_gsi -{ - -static gsi::Enum decl_QCalendar_System_Enum ("Qt", "QCalendar_System", - gsi::enum_const ("Gregorian", QCalendar::System::Gregorian, "@brief Enum constant QCalendar::System::Gregorian") + - gsi::enum_const ("Julian", QCalendar::System::Julian, "@brief Enum constant QCalendar::System::Julian") + - gsi::enum_const ("Milankovic", QCalendar::System::Milankovic, "@brief Enum constant QCalendar::System::Milankovic") + - gsi::enum_const ("Jalali", QCalendar::System::Jalali, "@brief Enum constant QCalendar::System::Jalali") + - gsi::enum_const ("IslamicCivil", QCalendar::System::IslamicCivil, "@brief Enum constant QCalendar::System::IslamicCivil") + - gsi::enum_const ("Last", QCalendar::System::Last, "@brief Enum constant QCalendar::System::Last") + - gsi::enum_const ("User", QCalendar::System::User, "@brief Enum constant QCalendar::System::User"), - "@qt\n@brief This class represents the QCalendar::System enum"); - -static gsi::QFlagsClass decl_QCalendar_System_Enums ("Qt", "QCalendar_QFlags_System", - "@qt\n@brief This class represents the QFlags flag set"); - -static gsi::ClassExt decl_QCalendar_System_Enum_as_child (decl_QCalendar_System_Enum, "System"); -static gsi::ClassExt decl_QCalendar_System_Enums_as_child (decl_QCalendar_System_Enums, "QFlags_System"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQCalendar_SystemId.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQCalendar_SystemId.cc deleted file mode 100644 index 6808106f2..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQCalendar_SystemId.cc +++ /dev/null @@ -1,105 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQCalendar_SystemId.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QCalendar::SystemId - -// Constructor QCalendar::SystemId::SystemId() - - -static void _init_ctor_QCalendar_SystemId_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QCalendar_SystemId_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QCalendar::SystemId ()); -} - - -// unsigned long int QCalendar::SystemId::index() - - -static void _init_f_index_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_index_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((unsigned long int)((QCalendar::SystemId *)cls)->index ()); -} - - -// bool QCalendar::SystemId::isValid() - - -static void _init_f_isValid_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isValid_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCalendar::SystemId *)cls)->isValid ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QCalendar_SystemId () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCalendar::SystemId::SystemId()\nThis method creates an object of class QCalendar::SystemId.", &_init_ctor_QCalendar_SystemId_0, &_call_ctor_QCalendar_SystemId_0); - methods += new qt_gsi::GenericMethod ("index", "@brief Method unsigned long int QCalendar::SystemId::index()\n", true, &_init_f_index_c0, &_call_f_index_c0); - methods += new qt_gsi::GenericMethod ("isValid?", "@brief Method bool QCalendar::SystemId::isValid()\n", true, &_init_f_isValid_c0, &_call_f_isValid_c0); - return methods; -} - -gsi::Class decl_QCalendar_SystemId ("Qt", "QCalendar_SystemId", - methods_QCalendar_SystemId (), - "@qt\n@brief Binding of QCalendar::SystemId"); - -gsi::ClassExt decl_QCalendar_SystemId_as_child (decl_QCalendar_SystemId, "SystemId"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QCalendar_SystemId () { return decl_QCalendar_SystemId; } - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQCalendar_YearMonthDay.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQCalendar_YearMonthDay.cc deleted file mode 100644 index 8abbf60b9..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQCalendar_YearMonthDay.cc +++ /dev/null @@ -1,115 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQCalendar_YearMonthDay.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// struct QCalendar::YearMonthDay - -// Constructor QCalendar::YearMonthDay::YearMonthDay() - - -static void _init_ctor_QCalendar_YearMonthDay_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QCalendar_YearMonthDay_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QCalendar::YearMonthDay ()); -} - - -// Constructor QCalendar::YearMonthDay::YearMonthDay(int y, int m, int d) - - -static void _init_ctor_QCalendar_YearMonthDay_2085 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("y"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("m", true, "1"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("d", true, "1"); - decl->add_arg (argspec_2); - decl->set_return_new (); -} - -static void _call_ctor_QCalendar_YearMonthDay_2085 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = gsi::arg_reader() (args, heap); - int arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (1, heap); - int arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (1, heap); - ret.write (new QCalendar::YearMonthDay (arg1, arg2, arg3)); -} - - -// bool QCalendar::YearMonthDay::isValid() - - -static void _init_f_isValid_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isValid_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QCalendar::YearMonthDay *)cls)->isValid ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QCalendar_YearMonthDay () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCalendar::YearMonthDay::YearMonthDay()\nThis method creates an object of class QCalendar::YearMonthDay.", &_init_ctor_QCalendar_YearMonthDay_0, &_call_ctor_QCalendar_YearMonthDay_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCalendar::YearMonthDay::YearMonthDay(int y, int m, int d)\nThis method creates an object of class QCalendar::YearMonthDay.", &_init_ctor_QCalendar_YearMonthDay_2085, &_call_ctor_QCalendar_YearMonthDay_2085); - methods += new qt_gsi::GenericMethod ("isValid?", "@brief Method bool QCalendar::YearMonthDay::isValid()\n", true, &_init_f_isValid_c0, &_call_f_isValid_c0); - return methods; -} - -gsi::Class decl_QCalendar_YearMonthDay ("Qt", "QCalendar_YearMonthDay", - methods_QCalendar_YearMonthDay (), - "@qt\n@brief Binding of QCalendar::YearMonthDay"); - -gsi::ClassExt decl_QCalendar_YearMonthDay_as_child (decl_QCalendar_YearMonthDay, "YearMonthDay"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QCalendar_YearMonthDay () { return decl_QCalendar_YearMonthDay; } - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQChildEvent.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQChildEvent.cc deleted file mode 100644 index c717b2beb..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQChildEvent.cc +++ /dev/null @@ -1,271 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQChildEvent.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QChildEvent - -// bool QChildEvent::added() - - -static void _init_f_added_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_added_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QChildEvent *)cls)->added ()); -} - - -// QObject *QChildEvent::child() - - -static void _init_f_child_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_child_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QObject *)((QChildEvent *)cls)->child ()); -} - - -// QChildEvent *QChildEvent::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 ((QChildEvent *)((QChildEvent *)cls)->clone ()); -} - - -// bool QChildEvent::polished() - - -static void _init_f_polished_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_polished_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QChildEvent *)cls)->polished ()); -} - - -// bool QChildEvent::removed() - - -static void _init_f_removed_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_removed_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QChildEvent *)cls)->removed ()); -} - - -namespace gsi -{ - -static gsi::Methods methods_QChildEvent () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("added", "@brief Method bool QChildEvent::added()\n", true, &_init_f_added_c0, &_call_f_added_c0); - methods += new qt_gsi::GenericMethod ("child", "@brief Method QObject *QChildEvent::child()\n", true, &_init_f_child_c0, &_call_f_child_c0); - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QChildEvent *QChildEvent::clone()\nThis is a reimplementation of QEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); - methods += new qt_gsi::GenericMethod ("polished", "@brief Method bool QChildEvent::polished()\n", true, &_init_f_polished_c0, &_call_f_polished_c0); - methods += new qt_gsi::GenericMethod ("removed", "@brief Method bool QChildEvent::removed()\n", true, &_init_f_removed_c0, &_call_f_removed_c0); - return methods; -} - -gsi::Class &qtdecl_QEvent (); - -gsi::Class decl_QChildEvent (qtdecl_QEvent (), "Qt", "QChildEvent_Native", - methods_QChildEvent (), - "@hide\n@alias QChildEvent"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QChildEvent () { return decl_QChildEvent; } - -} - - -class QChildEvent_Adaptor : public QChildEvent, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QChildEvent_Adaptor(); - - // [adaptor ctor] QChildEvent::QChildEvent(QEvent::Type type, QObject *child) - QChildEvent_Adaptor(QEvent::Type type, QObject *child) : QChildEvent(type, child) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor impl] QChildEvent *QChildEvent::clone() - QChildEvent * cbs_clone_c0_0() const - { - return QChildEvent::clone(); - } - - virtual QChildEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QChildEvent_Adaptor::cbs_clone_c0_0); - } else { - return QChildEvent::clone(); - } - } - - // [adaptor impl] void QChildEvent::setAccepted(bool accepted) - void cbs_setAccepted_864_0(bool accepted) - { - QChildEvent::setAccepted(accepted); - } - - virtual void setAccepted(bool accepted) - { - if (cb_setAccepted_864_0.can_issue()) { - cb_setAccepted_864_0.issue(&QChildEvent_Adaptor::cbs_setAccepted_864_0, accepted); - } else { - QChildEvent::setAccepted(accepted); - } - } - - gsi::Callback cb_clone_c0_0; - gsi::Callback cb_setAccepted_864_0; -}; - -QChildEvent_Adaptor::~QChildEvent_Adaptor() { } - -// Constructor QChildEvent::QChildEvent(QEvent::Type type, QObject *child) (adaptor class) - -static void _init_ctor_QChildEvent_Adaptor_2759 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("type"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("child"); - decl->add_arg (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QChildEvent_Adaptor_2759 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - QObject *arg2 = gsi::arg_reader() (args, heap); - ret.write (new QChildEvent_Adaptor (qt_gsi::QtToCppAdaptor(arg1).cref(), arg2)); -} - - -// QChildEvent *QChildEvent::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 ((QChildEvent *)((QChildEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QChildEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - -// void QChildEvent::setAccepted(bool accepted) - -static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("accepted"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_setAccepted_864_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QChildEvent_Adaptor *)cls)->cbs_setAccepted_864_0 (arg1); -} - -static void _set_callback_cbs_setAccepted_864_0 (void *cls, const gsi::Callback &cb) -{ - ((QChildEvent_Adaptor *)cls)->cb_setAccepted_864_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QChildEvent (); - -static gsi::Methods methods_QChildEvent_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QChildEvent::QChildEvent(QEvent::Type type, QObject *child)\nThis method creates an object of class QChildEvent.", &_init_ctor_QChildEvent_Adaptor_2759, &_call_ctor_QChildEvent_Adaptor_2759); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QChildEvent *QChildEvent::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 QChildEvent::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; -} - -gsi::Class decl_QChildEvent_Adaptor (qtdecl_QChildEvent (), "Qt", "QChildEvent", - methods_QChildEvent_Adaptor (), - "@qt\n@brief Binding of QChildEvent"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQCloseEvent.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQCloseEvent.cc deleted file mode 100644 index c3a3aeb1b..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQCloseEvent.cc +++ /dev/null @@ -1,184 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQCloseEvent.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QCloseEvent - -namespace gsi -{ - -static gsi::Methods methods_QCloseEvent () { - gsi::Methods methods; - return methods; -} - -gsi::Class &qtdecl_QEvent (); - -gsi::Class decl_QCloseEvent (qtdecl_QEvent (), "Qt", "QCloseEvent_Native", - methods_QCloseEvent (), - "@hide\n@alias QCloseEvent"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QCloseEvent () { return decl_QCloseEvent; } - -} - - -class QCloseEvent_Adaptor : public QCloseEvent, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QCloseEvent_Adaptor(); - - // [adaptor ctor] QCloseEvent::QCloseEvent() - QCloseEvent_Adaptor() : QCloseEvent() - { - 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) - { - QCloseEvent::setAccepted(accepted); - } - - virtual void setAccepted(bool accepted) - { - if (cb_setAccepted_864_0.can_issue()) { - cb_setAccepted_864_0.issue(&QCloseEvent_Adaptor::cbs_setAccepted_864_0, accepted); - } else { - QCloseEvent::setAccepted(accepted); - } - } - - gsi::Callback cb_clone_c0_0; - gsi::Callback cb_setAccepted_864_0; -}; - -QCloseEvent_Adaptor::~QCloseEvent_Adaptor() { } - -// Constructor QCloseEvent::QCloseEvent() (adaptor class) - -static void _init_ctor_QCloseEvent_Adaptor_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QCloseEvent_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QCloseEvent_Adaptor ()); -} - - -// 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) -{ - static gsi::ArgSpecBase argspec_0 ("accepted"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_setAccepted_864_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCloseEvent_Adaptor *)cls)->cbs_setAccepted_864_0 (arg1); -} - -static void _set_callback_cbs_setAccepted_864_0 (void *cls, const gsi::Callback &cb) -{ - ((QCloseEvent_Adaptor *)cls)->cb_setAccepted_864_0 = cb; -} - - -namespace gsi -{ - -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; -} - -gsi::Class decl_QCloseEvent_Adaptor (qtdecl_QCloseEvent (), "Qt", "QCloseEvent", - methods_QCloseEvent_Adaptor (), - "@qt\n@brief Binding of QCloseEvent"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQColor.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQColor.cc deleted file mode 100644 index 1a0d290f8..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQColor.cc +++ /dev/null @@ -1,2322 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQColor.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QColor - -// Constructor QColor::QColor() - - -static void _init_ctor_QColor_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QColor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QColor ()); -} - - -// Constructor QColor::QColor(Qt::GlobalColor color) - - -static void _init_ctor_QColor_1853 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("color"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QColor_1853 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write (new QColor (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// Constructor QColor::QColor(int r, int g, int b, int a) - - -static void _init_ctor_QColor_2744 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("r"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("g"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("b"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("a", true, "255"); - decl->add_arg (argspec_3); - decl->set_return_new (); -} - -static void _call_ctor_QColor_2744 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (255, heap); - ret.write (new QColor (arg1, arg2, arg3, arg4)); -} - - -// Constructor QColor::QColor(unsigned int rgb) - - -static void _init_ctor_QColor_1772 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("rgb"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QColor_1772 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - ret.write (new QColor (arg1)); -} - - -// Constructor QColor::QColor(QRgba64 rgba64) - - -static void _init_ctor_QColor_1003 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("rgba64"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QColor_1003 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QRgba64 arg1 = gsi::arg_reader() (args, heap); - ret.write (new QColor (arg1)); -} - - -// Constructor QColor::QColor(QStringView name) - - -static void _init_ctor_QColor_1559 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("name"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QColor_1559 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QStringView arg1 = gsi::arg_reader() (args, heap); - ret.write (new QColor (arg1)); -} - - -// Constructor QColor::QColor(const char *aname) - - -static void _init_ctor_QColor_1731 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("aname"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QColor_1731 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - ret.write (new QColor (arg1)); -} - - -// Constructor QColor::QColor(QLatin1String name) - - -static void _init_ctor_QColor_1701 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("name"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QColor_1701 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - ret.write (new QColor (arg1)); -} - - -// Constructor QColor::QColor(QColor::Spec spec) - - -static void _init_ctor_QColor_1539 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("spec"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QColor_1539 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write (new QColor (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// Constructor QColor::QColor(QColor::Spec spec, unsigned short int a1, unsigned short int a2, unsigned short int a3, unsigned short int a4, unsigned short int a5) - - -static void _init_ctor_QColor_13379 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("spec"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("a1"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("a2"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("a3"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("a4"); - decl->add_arg (argspec_4); - static gsi::ArgSpecBase argspec_5 ("a5", true, "0"); - decl->add_arg (argspec_5); - decl->set_return_new (); -} - -static void _call_ctor_QColor_13379 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - unsigned short int arg2 = gsi::arg_reader() (args, heap); - unsigned short int arg3 = gsi::arg_reader() (args, heap); - unsigned short int arg4 = gsi::arg_reader() (args, heap); - unsigned short int arg5 = gsi::arg_reader() (args, heap); - unsigned short int arg6 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - ret.write (new QColor (qt_gsi::QtToCppAdaptor(arg1).cref(), arg2, arg3, arg4, arg5, arg6)); -} - - -// int QColor::alpha() - - -static void _init_f_alpha_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_alpha_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QColor *)cls)->alpha ()); -} - - -// float QColor::alphaF() - - -static void _init_f_alphaF_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_alphaF_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((float)((QColor *)cls)->alphaF ()); -} - - -// int QColor::black() - - -static void _init_f_black_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_black_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QColor *)cls)->black ()); -} - - -// float QColor::blackF() - - -static void _init_f_blackF_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_blackF_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((float)((QColor *)cls)->blackF ()); -} - - -// int QColor::blue() - - -static void _init_f_blue_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_blue_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QColor *)cls)->blue ()); -} - - -// float QColor::blueF() - - -static void _init_f_blueF_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_blueF_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((float)((QColor *)cls)->blueF ()); -} - - -// QColor QColor::convertTo(QColor::Spec colorSpec) - - -static void _init_f_convertTo_c1539 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("colorSpec"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_convertTo_c1539 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write ((QColor)((QColor *)cls)->convertTo (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// int QColor::cyan() - - -static void _init_f_cyan_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_cyan_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QColor *)cls)->cyan ()); -} - - -// float QColor::cyanF() - - -static void _init_f_cyanF_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_cyanF_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((float)((QColor *)cls)->cyanF ()); -} - - -// QColor QColor::darker(int f) - - -static void _init_f_darker_c767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("f", true, "200"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_darker_c767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (200, heap); - ret.write ((QColor)((QColor *)cls)->darker (arg1)); -} - - -// void QColor::getCmyk(int *c, int *m, int *y, int *k, int *a) - - -static void _init_f_getCmyk_c4333 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("m"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("y"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("k"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("a", true, "nullptr"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_getCmyk_c4333 (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); - int *arg2 = gsi::arg_reader() (args, heap); - int *arg3 = gsi::arg_reader() (args, heap); - int *arg4 = gsi::arg_reader() (args, heap); - int *arg5 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->getCmyk (arg1, arg2, arg3, arg4, arg5); -} - - -// void QColor::getCmykF(float *c, float *m, float *y, float *k, float *a) - - -static void _init_f_getCmykF_c5348 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("m"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("y"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("k"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("a", true, "nullptr"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_getCmykF_c5348 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - float *arg1 = gsi::arg_reader() (args, heap); - float *arg2 = gsi::arg_reader() (args, heap); - float *arg3 = gsi::arg_reader() (args, heap); - float *arg4 = gsi::arg_reader() (args, heap); - float *arg5 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->getCmykF (arg1, arg2, arg3, arg4, arg5); -} - - -// void QColor::getHsl(int *h, int *s, int *l, int *a) - - -static void _init_f_getHsl_c3488 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("h"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("s"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("l"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("a", true, "nullptr"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_getHsl_c3488 (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); - int *arg2 = gsi::arg_reader() (args, heap); - int *arg3 = gsi::arg_reader() (args, heap); - int *arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->getHsl (arg1, arg2, arg3, arg4); -} - - -// void QColor::getHslF(float *h, float *s, float *l, float *a) - - -static void _init_f_getHslF_c4300 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("h"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("s"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("l"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("a", true, "nullptr"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_getHslF_c4300 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - float *arg1 = gsi::arg_reader() (args, heap); - float *arg2 = gsi::arg_reader() (args, heap); - float *arg3 = gsi::arg_reader() (args, heap); - float *arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->getHslF (arg1, arg2, arg3, arg4); -} - - -// void QColor::getHsv(int *h, int *s, int *v, int *a) - - -static void _init_f_getHsv_c3488 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("h"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("s"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("v"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("a", true, "nullptr"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_getHsv_c3488 (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); - int *arg2 = gsi::arg_reader() (args, heap); - int *arg3 = gsi::arg_reader() (args, heap); - int *arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->getHsv (arg1, arg2, arg3, arg4); -} - - -// void QColor::getHsvF(float *h, float *s, float *v, float *a) - - -static void _init_f_getHsvF_c4300 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("h"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("s"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("v"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("a", true, "nullptr"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_getHsvF_c4300 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - float *arg1 = gsi::arg_reader() (args, heap); - float *arg2 = gsi::arg_reader() (args, heap); - float *arg3 = gsi::arg_reader() (args, heap); - float *arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->getHsvF (arg1, arg2, arg3, arg4); -} - - -// void QColor::getRgb(int *r, int *g, int *b, int *a) - - -static void _init_f_getRgb_c3488 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("r"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("g"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("b"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("a", true, "nullptr"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_getRgb_c3488 (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); - int *arg2 = gsi::arg_reader() (args, heap); - int *arg3 = gsi::arg_reader() (args, heap); - int *arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->getRgb (arg1, arg2, arg3, arg4); -} - - -// void QColor::getRgbF(float *r, float *g, float *b, float *a) - - -static void _init_f_getRgbF_c4300 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("r"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("g"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("b"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("a", true, "nullptr"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_getRgbF_c4300 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - float *arg1 = gsi::arg_reader() (args, heap); - float *arg2 = gsi::arg_reader() (args, heap); - float *arg3 = gsi::arg_reader() (args, heap); - float *arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->getRgbF (arg1, arg2, arg3, arg4); -} - - -// int QColor::green() - - -static void _init_f_green_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_green_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QColor *)cls)->green ()); -} - - -// float QColor::greenF() - - -static void _init_f_greenF_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_greenF_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((float)((QColor *)cls)->greenF ()); -} - - -// int QColor::hslHue() - - -static void _init_f_hslHue_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_hslHue_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QColor *)cls)->hslHue ()); -} - - -// float QColor::hslHueF() - - -static void _init_f_hslHueF_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_hslHueF_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((float)((QColor *)cls)->hslHueF ()); -} - - -// int QColor::hslSaturation() - - -static void _init_f_hslSaturation_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_hslSaturation_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QColor *)cls)->hslSaturation ()); -} - - -// float QColor::hslSaturationF() - - -static void _init_f_hslSaturationF_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_hslSaturationF_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((float)((QColor *)cls)->hslSaturationF ()); -} - - -// int QColor::hsvHue() - - -static void _init_f_hsvHue_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_hsvHue_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QColor *)cls)->hsvHue ()); -} - - -// float QColor::hsvHueF() - - -static void _init_f_hsvHueF_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_hsvHueF_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((float)((QColor *)cls)->hsvHueF ()); -} - - -// int QColor::hsvSaturation() - - -static void _init_f_hsvSaturation_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_hsvSaturation_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QColor *)cls)->hsvSaturation ()); -} - - -// float QColor::hsvSaturationF() - - -static void _init_f_hsvSaturationF_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_hsvSaturationF_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((float)((QColor *)cls)->hsvSaturationF ()); -} - - -// int QColor::hue() - - -static void _init_f_hue_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_hue_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QColor *)cls)->hue ()); -} - - -// float QColor::hueF() - - -static void _init_f_hueF_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_hueF_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((float)((QColor *)cls)->hueF ()); -} - - -// bool QColor::isValid() - - -static void _init_f_isValid_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isValid_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QColor *)cls)->isValid ()); -} - - -// QColor QColor::lighter(int f) - - -static void _init_f_lighter_c767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("f", true, "150"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_lighter_c767 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (150, heap); - ret.write ((QColor)((QColor *)cls)->lighter (arg1)); -} - - -// int QColor::lightness() - - -static void _init_f_lightness_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_lightness_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QColor *)cls)->lightness ()); -} - - -// float QColor::lightnessF() - - -static void _init_f_lightnessF_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_lightnessF_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((float)((QColor *)cls)->lightnessF ()); -} - - -// int QColor::magenta() - - -static void _init_f_magenta_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_magenta_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QColor *)cls)->magenta ()); -} - - -// float QColor::magentaF() - - -static void _init_f_magentaF_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_magentaF_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((float)((QColor *)cls)->magentaF ()); -} - - -// QString QColor::name(QColor::NameFormat format) - - -static void _init_f_name_c2146 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("format", true, "QColor::HexRgb"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_name_c2146 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, QColor::HexRgb), heap); - ret.write ((QString)((QColor *)cls)->name (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// bool QColor::operator!=(const QColor &c) - - -static void _init_f_operator_excl__eq__c1905 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_excl__eq__c1905 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QColor &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QColor *)cls)->operator!= (arg1)); -} - - -// QColor &QColor::operator=(Qt::GlobalColor color) - - -static void _init_f_operator_eq__1853 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("color"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__1853 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write ((QColor &)((QColor *)cls)->operator= (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// bool QColor::operator==(const QColor &c) - - -static void _init_f_operator_eq__eq__c1905 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__eq__c1905 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QColor &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QColor *)cls)->operator== (arg1)); -} - - -// int QColor::red() - - -static void _init_f_red_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_red_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QColor *)cls)->red ()); -} - - -// float QColor::redF() - - -static void _init_f_redF_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_redF_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((float)((QColor *)cls)->redF ()); -} - - -// unsigned int QColor::rgb() - - -static void _init_f_rgb_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_rgb_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((unsigned int)((QColor *)cls)->rgb ()); -} - - -// unsigned int QColor::rgba() - - -static void _init_f_rgba_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_rgba_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((unsigned int)((QColor *)cls)->rgba ()); -} - - -// QRgba64 QColor::rgba64() - - -static void _init_f_rgba64_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_rgba64_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QRgba64)((QColor *)cls)->rgba64 ()); -} - - -// int QColor::saturation() - - -static void _init_f_saturation_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_saturation_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QColor *)cls)->saturation ()); -} - - -// float QColor::saturationF() - - -static void _init_f_saturationF_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_saturationF_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((float)((QColor *)cls)->saturationF ()); -} - - -// void QColor::setAlpha(int alpha) - - -static void _init_f_setAlpha_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("alpha"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setAlpha_767 (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); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->setAlpha (arg1); -} - - -// void QColor::setAlphaF(float alpha) - - -static void _init_f_setAlphaF_970 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("alpha"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setAlphaF_970 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - float arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->setAlphaF (arg1); -} - - -// void QColor::setBlue(int blue) - - -static void _init_f_setBlue_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("blue"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setBlue_767 (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); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->setBlue (arg1); -} - - -// void QColor::setBlueF(float blue) - - -static void _init_f_setBlueF_970 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("blue"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setBlueF_970 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - float arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->setBlueF (arg1); -} - - -// void QColor::setCmyk(int c, int m, int y, int k, int a) - - -static void _init_f_setCmyk_3403 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("m"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("y"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("k"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("a", true, "255"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_setCmyk_3403 (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); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - int arg5 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (255, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->setCmyk (arg1, arg2, arg3, arg4, arg5); -} - - -// void QColor::setCmykF(float c, float m, float y, float k, float a) - - -static void _init_f_setCmykF_4418 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("m"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("y"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("k"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("a", true, "1.0"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_setCmykF_4418 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - float arg1 = gsi::arg_reader() (args, heap); - float arg2 = gsi::arg_reader() (args, heap); - float arg3 = gsi::arg_reader() (args, heap); - float arg4 = gsi::arg_reader() (args, heap); - float arg5 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (1.0, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->setCmykF (arg1, arg2, arg3, arg4, arg5); -} - - -// void QColor::setGreen(int green) - - -static void _init_f_setGreen_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("green"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setGreen_767 (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); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->setGreen (arg1); -} - - -// void QColor::setGreenF(float green) - - -static void _init_f_setGreenF_970 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("green"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setGreenF_970 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - float arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->setGreenF (arg1); -} - - -// void QColor::setHsl(int h, int s, int l, int a) - - -static void _init_f_setHsl_2744 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("h"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("s"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("l"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("a", true, "255"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_setHsl_2744 (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); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (255, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->setHsl (arg1, arg2, arg3, arg4); -} - - -// void QColor::setHslF(float h, float s, float l, float a) - - -static void _init_f_setHslF_3556 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("h"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("s"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("l"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("a", true, "1.0"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_setHslF_3556 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - float arg1 = gsi::arg_reader() (args, heap); - float arg2 = gsi::arg_reader() (args, heap); - float arg3 = gsi::arg_reader() (args, heap); - float arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (1.0, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->setHslF (arg1, arg2, arg3, arg4); -} - - -// void QColor::setHsv(int h, int s, int v, int a) - - -static void _init_f_setHsv_2744 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("h"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("s"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("v"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("a", true, "255"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_setHsv_2744 (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); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (255, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->setHsv (arg1, arg2, arg3, arg4); -} - - -// void QColor::setHsvF(float h, float s, float v, float a) - - -static void _init_f_setHsvF_3556 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("h"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("s"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("v"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("a", true, "1.0"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_setHsvF_3556 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - float arg1 = gsi::arg_reader() (args, heap); - float arg2 = gsi::arg_reader() (args, heap); - float arg3 = gsi::arg_reader() (args, heap); - float arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (1.0, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->setHsvF (arg1, arg2, arg3, arg4); -} - - -// void QColor::setNamedColor(const QString &name) - - -static void _init_f_setNamedColor_2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("name"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setNamedColor_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->setNamedColor (arg1); -} - - -// void QColor::setNamedColor(QStringView name) - - -static void _init_f_setNamedColor_1559 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("name"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setNamedColor_1559 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QStringView arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->setNamedColor (arg1); -} - - -// void QColor::setNamedColor(QLatin1String name) - - -static void _init_f_setNamedColor_1701 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("name"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setNamedColor_1701 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->setNamedColor (arg1); -} - - -// void QColor::setRed(int red) - - -static void _init_f_setRed_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("red"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setRed_767 (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); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->setRed (arg1); -} - - -// void QColor::setRedF(float red) - - -static void _init_f_setRedF_970 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("red"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setRedF_970 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - float arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->setRedF (arg1); -} - - -// void QColor::setRgb(int r, int g, int b, int a) - - -static void _init_f_setRgb_2744 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("r"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("g"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("b"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("a", true, "255"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_setRgb_2744 (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); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (255, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->setRgb (arg1, arg2, arg3, arg4); -} - - -// void QColor::setRgb(unsigned int rgb) - - -static void _init_f_setRgb_1772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("rgb"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setRgb_1772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->setRgb (arg1); -} - - -// void QColor::setRgbF(float r, float g, float b, float a) - - -static void _init_f_setRgbF_3556 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("r"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("g"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("b"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("a", true, "1.0"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_setRgbF_3556 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - float arg1 = gsi::arg_reader() (args, heap); - float arg2 = gsi::arg_reader() (args, heap); - float arg3 = gsi::arg_reader() (args, heap); - float arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (1.0, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->setRgbF (arg1, arg2, arg3, arg4); -} - - -// void QColor::setRgba(unsigned int rgba) - - -static void _init_f_setRgba_1772 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("rgba"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setRgba_1772 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->setRgba (arg1); -} - - -// void QColor::setRgba64(QRgba64 rgba) - - -static void _init_f_setRgba64_1003 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("rgba"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setRgba64_1003 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QRgba64 arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QColor *)cls)->setRgba64 (arg1); -} - - -// QColor::Spec QColor::spec() - - -static void _init_f_spec_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_spec_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QColor *)cls)->spec ())); -} - - -// QColor QColor::toCmyk() - - -static void _init_f_toCmyk_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toCmyk_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QColor)((QColor *)cls)->toCmyk ()); -} - - -// QColor QColor::toExtendedRgb() - - -static void _init_f_toExtendedRgb_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toExtendedRgb_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QColor)((QColor *)cls)->toExtendedRgb ()); -} - - -// QColor QColor::toHsl() - - -static void _init_f_toHsl_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toHsl_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QColor)((QColor *)cls)->toHsl ()); -} - - -// QColor QColor::toHsv() - - -static void _init_f_toHsv_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toHsv_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QColor)((QColor *)cls)->toHsv ()); -} - - -// QColor QColor::toRgb() - - -static void _init_f_toRgb_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toRgb_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QColor)((QColor *)cls)->toRgb ()); -} - - -// int QColor::value() - - -static void _init_f_value_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_value_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QColor *)cls)->value ()); -} - - -// float QColor::valueF() - - -static void _init_f_valueF_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_valueF_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((float)((QColor *)cls)->valueF ()); -} - - -// int QColor::yellow() - - -static void _init_f_yellow_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_yellow_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QColor *)cls)->yellow ()); -} - - -// float QColor::yellowF() - - -static void _init_f_yellowF_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_yellowF_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((float)((QColor *)cls)->yellowF ()); -} - - -// static QStringList QColor::colorNames() - - -static void _init_f_colorNames_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_colorNames_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QStringList)QColor::colorNames ()); -} - - -// static QColor QColor::fromCmyk(int c, int m, int y, int k, int a) - - -static void _init_f_fromCmyk_3403 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("m"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("y"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("k"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("a", true, "255"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_fromCmyk_3403 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = gsi::arg_reader() (args, heap); - int arg5 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (255, heap); - ret.write ((QColor)QColor::fromCmyk (arg1, arg2, arg3, arg4, arg5)); -} - - -// static QColor QColor::fromCmykF(float c, float m, float y, float k, float a) - - -static void _init_f_fromCmykF_4418 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("m"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("y"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("k"); - decl->add_arg (argspec_3); - static gsi::ArgSpecBase argspec_4 ("a", true, "1.0"); - decl->add_arg (argspec_4); - decl->set_return (); -} - -static void _call_f_fromCmykF_4418 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - float arg1 = gsi::arg_reader() (args, heap); - float arg2 = gsi::arg_reader() (args, heap); - float arg3 = gsi::arg_reader() (args, heap); - float arg4 = gsi::arg_reader() (args, heap); - float arg5 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (1.0, heap); - ret.write ((QColor)QColor::fromCmykF (arg1, arg2, arg3, arg4, arg5)); -} - - -// static QColor QColor::fromHsl(int h, int s, int l, int a) - - -static void _init_f_fromHsl_2744 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("h"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("s"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("l"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("a", true, "255"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_fromHsl_2744 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (255, heap); - ret.write ((QColor)QColor::fromHsl (arg1, arg2, arg3, arg4)); -} - - -// static QColor QColor::fromHslF(float h, float s, float l, float a) - - -static void _init_f_fromHslF_3556 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("h"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("s"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("l"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("a", true, "1.0"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_fromHslF_3556 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - float arg1 = gsi::arg_reader() (args, heap); - float arg2 = gsi::arg_reader() (args, heap); - float arg3 = gsi::arg_reader() (args, heap); - float arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (1.0, heap); - ret.write ((QColor)QColor::fromHslF (arg1, arg2, arg3, arg4)); -} - - -// static QColor QColor::fromHsv(int h, int s, int v, int a) - - -static void _init_f_fromHsv_2744 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("h"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("s"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("v"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("a", true, "255"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_fromHsv_2744 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (255, heap); - ret.write ((QColor)QColor::fromHsv (arg1, arg2, arg3, arg4)); -} - - -// static QColor QColor::fromHsvF(float h, float s, float v, float a) - - -static void _init_f_fromHsvF_3556 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("h"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("s"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("v"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("a", true, "1.0"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_fromHsvF_3556 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - float arg1 = gsi::arg_reader() (args, heap); - float arg2 = gsi::arg_reader() (args, heap); - float arg3 = gsi::arg_reader() (args, heap); - float arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (1.0, heap); - ret.write ((QColor)QColor::fromHsvF (arg1, arg2, arg3, arg4)); -} - - -// static QColor QColor::fromRgb(unsigned int rgb) - - -static void _init_f_fromRgb_1772 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("rgb"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_fromRgb_1772 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - ret.write ((QColor)QColor::fromRgb (arg1)); -} - - -// static QColor QColor::fromRgb(int r, int g, int b, int a) - - -static void _init_f_fromRgb_2744 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("r"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("g"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("b"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("a", true, "255"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_fromRgb_2744 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - int arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (255, heap); - ret.write ((QColor)QColor::fromRgb (arg1, arg2, arg3, arg4)); -} - - -// static QColor QColor::fromRgbF(float r, float g, float b, float a) - - -static void _init_f_fromRgbF_3556 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("r"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("g"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("b"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("a", true, "1.0"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_fromRgbF_3556 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - float arg1 = gsi::arg_reader() (args, heap); - float arg2 = gsi::arg_reader() (args, heap); - float arg3 = gsi::arg_reader() (args, heap); - float arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (1.0, heap); - ret.write ((QColor)QColor::fromRgbF (arg1, arg2, arg3, arg4)); -} - - -// static QColor QColor::fromRgba(unsigned int rgba) - - -static void _init_f_fromRgba_1772 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("rgba"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_fromRgba_1772 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned int arg1 = gsi::arg_reader() (args, heap); - ret.write ((QColor)QColor::fromRgba (arg1)); -} - - -// static QColor QColor::fromRgba64(unsigned short int r, unsigned short int g, unsigned short int b, unsigned short int a) - - -static void _init_f_fromRgba64_9580 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("r"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("g"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("b"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("a", true, "USHRT_MAX"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_fromRgba64_9580 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - unsigned short int arg1 = gsi::arg_reader() (args, heap); - unsigned short int arg2 = gsi::arg_reader() (args, heap); - unsigned short int arg3 = gsi::arg_reader() (args, heap); - unsigned short int arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (USHRT_MAX, heap); - ret.write ((QColor)QColor::fromRgba64 (arg1, arg2, arg3, arg4)); -} - - -// static QColor QColor::fromRgba64(QRgba64 rgba) - - -static void _init_f_fromRgba64_1003 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("rgba"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_fromRgba64_1003 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QRgba64 arg1 = gsi::arg_reader() (args, heap); - ret.write ((QColor)QColor::fromRgba64 (arg1)); -} - - -// static bool QColor::isValidColor(const QString &name) - - -static void _init_f_isValidColor_2025 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("name"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_isValidColor_2025 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)QColor::isValidColor (arg1)); -} - - -// static bool QColor::isValidColor(QStringView) - - -static void _init_f_isValidColor_1559 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_isValidColor_1559 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QStringView arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)QColor::isValidColor (arg1)); -} - - -// static bool QColor::isValidColor(QLatin1String) - - -static void _init_f_isValidColor_1701 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_isValidColor_1701 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QLatin1String arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)QColor::isValidColor (arg1)); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QColor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QColor::QColor()\nThis method creates an object of class QColor.", &_init_ctor_QColor_0, &_call_ctor_QColor_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QColor::QColor(Qt::GlobalColor color)\nThis method creates an object of class QColor.", &_init_ctor_QColor_1853, &_call_ctor_QColor_1853); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QColor::QColor(int r, int g, int b, int a)\nThis method creates an object of class QColor.", &_init_ctor_QColor_2744, &_call_ctor_QColor_2744); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QColor::QColor(unsigned int rgb)\nThis method creates an object of class QColor.", &_init_ctor_QColor_1772, &_call_ctor_QColor_1772); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QColor::QColor(QRgba64 rgba64)\nThis method creates an object of class QColor.", &_init_ctor_QColor_1003, &_call_ctor_QColor_1003); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QColor::QColor(QStringView name)\nThis method creates an object of class QColor.", &_init_ctor_QColor_1559, &_call_ctor_QColor_1559); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QColor::QColor(const char *aname)\nThis method creates an object of class QColor.", &_init_ctor_QColor_1731, &_call_ctor_QColor_1731); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QColor::QColor(QLatin1String name)\nThis method creates an object of class QColor.", &_init_ctor_QColor_1701, &_call_ctor_QColor_1701); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QColor::QColor(QColor::Spec spec)\nThis method creates an object of class QColor.", &_init_ctor_QColor_1539, &_call_ctor_QColor_1539); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QColor::QColor(QColor::Spec spec, unsigned short int a1, unsigned short int a2, unsigned short int a3, unsigned short int a4, unsigned short int a5)\nThis method creates an object of class QColor.", &_init_ctor_QColor_13379, &_call_ctor_QColor_13379); - methods += new qt_gsi::GenericMethod (":alpha", "@brief Method int QColor::alpha()\n", true, &_init_f_alpha_c0, &_call_f_alpha_c0); - methods += new qt_gsi::GenericMethod (":alphaF", "@brief Method float QColor::alphaF()\n", true, &_init_f_alphaF_c0, &_call_f_alphaF_c0); - methods += new qt_gsi::GenericMethod ("black", "@brief Method int QColor::black()\n", true, &_init_f_black_c0, &_call_f_black_c0); - methods += new qt_gsi::GenericMethod ("blackF", "@brief Method float QColor::blackF()\n", true, &_init_f_blackF_c0, &_call_f_blackF_c0); - methods += new qt_gsi::GenericMethod (":blue", "@brief Method int QColor::blue()\n", true, &_init_f_blue_c0, &_call_f_blue_c0); - methods += new qt_gsi::GenericMethod (":blueF", "@brief Method float QColor::blueF()\n", true, &_init_f_blueF_c0, &_call_f_blueF_c0); - methods += new qt_gsi::GenericMethod ("convertTo", "@brief Method QColor QColor::convertTo(QColor::Spec colorSpec)\n", true, &_init_f_convertTo_c1539, &_call_f_convertTo_c1539); - methods += new qt_gsi::GenericMethod ("cyan", "@brief Method int QColor::cyan()\n", true, &_init_f_cyan_c0, &_call_f_cyan_c0); - methods += new qt_gsi::GenericMethod ("cyanF", "@brief Method float QColor::cyanF()\n", true, &_init_f_cyanF_c0, &_call_f_cyanF_c0); - methods += new qt_gsi::GenericMethod ("darker", "@brief Method QColor QColor::darker(int f)\n", true, &_init_f_darker_c767, &_call_f_darker_c767); - methods += new qt_gsi::GenericMethod ("getCmyk", "@brief Method void QColor::getCmyk(int *c, int *m, int *y, int *k, int *a)\n", true, &_init_f_getCmyk_c4333, &_call_f_getCmyk_c4333); - methods += new qt_gsi::GenericMethod ("getCmykF", "@brief Method void QColor::getCmykF(float *c, float *m, float *y, float *k, float *a)\n", true, &_init_f_getCmykF_c5348, &_call_f_getCmykF_c5348); - methods += new qt_gsi::GenericMethod ("getHsl", "@brief Method void QColor::getHsl(int *h, int *s, int *l, int *a)\n", true, &_init_f_getHsl_c3488, &_call_f_getHsl_c3488); - methods += new qt_gsi::GenericMethod ("getHslF", "@brief Method void QColor::getHslF(float *h, float *s, float *l, float *a)\n", true, &_init_f_getHslF_c4300, &_call_f_getHslF_c4300); - methods += new qt_gsi::GenericMethod ("getHsv", "@brief Method void QColor::getHsv(int *h, int *s, int *v, int *a)\n", true, &_init_f_getHsv_c3488, &_call_f_getHsv_c3488); - methods += new qt_gsi::GenericMethod ("getHsvF", "@brief Method void QColor::getHsvF(float *h, float *s, float *v, float *a)\n", true, &_init_f_getHsvF_c4300, &_call_f_getHsvF_c4300); - methods += new qt_gsi::GenericMethod ("getRgb", "@brief Method void QColor::getRgb(int *r, int *g, int *b, int *a)\n", true, &_init_f_getRgb_c3488, &_call_f_getRgb_c3488); - methods += new qt_gsi::GenericMethod ("getRgbF", "@brief Method void QColor::getRgbF(float *r, float *g, float *b, float *a)\n", true, &_init_f_getRgbF_c4300, &_call_f_getRgbF_c4300); - methods += new qt_gsi::GenericMethod (":green", "@brief Method int QColor::green()\n", true, &_init_f_green_c0, &_call_f_green_c0); - methods += new qt_gsi::GenericMethod (":greenF", "@brief Method float QColor::greenF()\n", true, &_init_f_greenF_c0, &_call_f_greenF_c0); - methods += new qt_gsi::GenericMethod ("hslHue", "@brief Method int QColor::hslHue()\n", true, &_init_f_hslHue_c0, &_call_f_hslHue_c0); - methods += new qt_gsi::GenericMethod ("hslHueF", "@brief Method float QColor::hslHueF()\n", true, &_init_f_hslHueF_c0, &_call_f_hslHueF_c0); - methods += new qt_gsi::GenericMethod ("hslSaturation", "@brief Method int QColor::hslSaturation()\n", true, &_init_f_hslSaturation_c0, &_call_f_hslSaturation_c0); - methods += new qt_gsi::GenericMethod ("hslSaturationF", "@brief Method float QColor::hslSaturationF()\n", true, &_init_f_hslSaturationF_c0, &_call_f_hslSaturationF_c0); - methods += new qt_gsi::GenericMethod ("hsvHue", "@brief Method int QColor::hsvHue()\n", true, &_init_f_hsvHue_c0, &_call_f_hsvHue_c0); - methods += new qt_gsi::GenericMethod ("hsvHueF", "@brief Method float QColor::hsvHueF()\n", true, &_init_f_hsvHueF_c0, &_call_f_hsvHueF_c0); - methods += new qt_gsi::GenericMethod ("hsvSaturation", "@brief Method int QColor::hsvSaturation()\n", true, &_init_f_hsvSaturation_c0, &_call_f_hsvSaturation_c0); - methods += new qt_gsi::GenericMethod ("hsvSaturationF", "@brief Method float QColor::hsvSaturationF()\n", true, &_init_f_hsvSaturationF_c0, &_call_f_hsvSaturationF_c0); - methods += new qt_gsi::GenericMethod ("hue", "@brief Method int QColor::hue()\n", true, &_init_f_hue_c0, &_call_f_hue_c0); - methods += new qt_gsi::GenericMethod ("hueF", "@brief Method float QColor::hueF()\n", true, &_init_f_hueF_c0, &_call_f_hueF_c0); - methods += new qt_gsi::GenericMethod ("isValid?", "@brief Method bool QColor::isValid()\n", true, &_init_f_isValid_c0, &_call_f_isValid_c0); - methods += new qt_gsi::GenericMethod ("lighter", "@brief Method QColor QColor::lighter(int f)\n", true, &_init_f_lighter_c767, &_call_f_lighter_c767); - methods += new qt_gsi::GenericMethod ("lightness", "@brief Method int QColor::lightness()\n", true, &_init_f_lightness_c0, &_call_f_lightness_c0); - methods += new qt_gsi::GenericMethod ("lightnessF", "@brief Method float QColor::lightnessF()\n", true, &_init_f_lightnessF_c0, &_call_f_lightnessF_c0); - methods += new qt_gsi::GenericMethod ("magenta", "@brief Method int QColor::magenta()\n", true, &_init_f_magenta_c0, &_call_f_magenta_c0); - methods += new qt_gsi::GenericMethod ("magentaF", "@brief Method float QColor::magentaF()\n", true, &_init_f_magentaF_c0, &_call_f_magentaF_c0); - methods += new qt_gsi::GenericMethod ("name", "@brief Method QString QColor::name(QColor::NameFormat format)\n", true, &_init_f_name_c2146, &_call_f_name_c2146); - methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QColor::operator!=(const QColor &c)\n", true, &_init_f_operator_excl__eq__c1905, &_call_f_operator_excl__eq__c1905); - methods += new qt_gsi::GenericMethod ("assign", "@brief Method QColor &QColor::operator=(Qt::GlobalColor color)\n", false, &_init_f_operator_eq__1853, &_call_f_operator_eq__1853); - methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QColor::operator==(const QColor &c)\n", true, &_init_f_operator_eq__eq__c1905, &_call_f_operator_eq__eq__c1905); - methods += new qt_gsi::GenericMethod (":red", "@brief Method int QColor::red()\n", true, &_init_f_red_c0, &_call_f_red_c0); - methods += new qt_gsi::GenericMethod (":redF", "@brief Method float QColor::redF()\n", true, &_init_f_redF_c0, &_call_f_redF_c0); - methods += new qt_gsi::GenericMethod (":rgb", "@brief Method unsigned int QColor::rgb()\n", true, &_init_f_rgb_c0, &_call_f_rgb_c0); - methods += new qt_gsi::GenericMethod (":rgba", "@brief Method unsigned int QColor::rgba()\n", true, &_init_f_rgba_c0, &_call_f_rgba_c0); - methods += new qt_gsi::GenericMethod ("rgba64", "@brief Method QRgba64 QColor::rgba64()\n", true, &_init_f_rgba64_c0, &_call_f_rgba64_c0); - methods += new qt_gsi::GenericMethod ("saturation", "@brief Method int QColor::saturation()\n", true, &_init_f_saturation_c0, &_call_f_saturation_c0); - methods += new qt_gsi::GenericMethod ("saturationF", "@brief Method float QColor::saturationF()\n", true, &_init_f_saturationF_c0, &_call_f_saturationF_c0); - methods += new qt_gsi::GenericMethod ("setAlpha|alpha=", "@brief Method void QColor::setAlpha(int alpha)\n", false, &_init_f_setAlpha_767, &_call_f_setAlpha_767); - methods += new qt_gsi::GenericMethod ("setAlphaF|alphaF=", "@brief Method void QColor::setAlphaF(float alpha)\n", false, &_init_f_setAlphaF_970, &_call_f_setAlphaF_970); - methods += new qt_gsi::GenericMethod ("setBlue|blue=", "@brief Method void QColor::setBlue(int blue)\n", false, &_init_f_setBlue_767, &_call_f_setBlue_767); - methods += new qt_gsi::GenericMethod ("setBlueF|blueF=", "@brief Method void QColor::setBlueF(float blue)\n", false, &_init_f_setBlueF_970, &_call_f_setBlueF_970); - methods += new qt_gsi::GenericMethod ("setCmyk", "@brief Method void QColor::setCmyk(int c, int m, int y, int k, int a)\n", false, &_init_f_setCmyk_3403, &_call_f_setCmyk_3403); - methods += new qt_gsi::GenericMethod ("setCmykF", "@brief Method void QColor::setCmykF(float c, float m, float y, float k, float a)\n", false, &_init_f_setCmykF_4418, &_call_f_setCmykF_4418); - methods += new qt_gsi::GenericMethod ("setGreen|green=", "@brief Method void QColor::setGreen(int green)\n", false, &_init_f_setGreen_767, &_call_f_setGreen_767); - methods += new qt_gsi::GenericMethod ("setGreenF|greenF=", "@brief Method void QColor::setGreenF(float green)\n", false, &_init_f_setGreenF_970, &_call_f_setGreenF_970); - methods += new qt_gsi::GenericMethod ("setHsl", "@brief Method void QColor::setHsl(int h, int s, int l, int a)\n", false, &_init_f_setHsl_2744, &_call_f_setHsl_2744); - methods += new qt_gsi::GenericMethod ("setHslF", "@brief Method void QColor::setHslF(float h, float s, float l, float a)\n", false, &_init_f_setHslF_3556, &_call_f_setHslF_3556); - methods += new qt_gsi::GenericMethod ("setHsv", "@brief Method void QColor::setHsv(int h, int s, int v, int a)\n", false, &_init_f_setHsv_2744, &_call_f_setHsv_2744); - methods += new qt_gsi::GenericMethod ("setHsvF", "@brief Method void QColor::setHsvF(float h, float s, float v, float a)\n", false, &_init_f_setHsvF_3556, &_call_f_setHsvF_3556); - methods += new qt_gsi::GenericMethod ("setNamedColor", "@brief Method void QColor::setNamedColor(const QString &name)\n", false, &_init_f_setNamedColor_2025, &_call_f_setNamedColor_2025); - methods += new qt_gsi::GenericMethod ("setNamedColor", "@brief Method void QColor::setNamedColor(QStringView name)\n", false, &_init_f_setNamedColor_1559, &_call_f_setNamedColor_1559); - methods += new qt_gsi::GenericMethod ("setNamedColor", "@brief Method void QColor::setNamedColor(QLatin1String name)\n", false, &_init_f_setNamedColor_1701, &_call_f_setNamedColor_1701); - methods += new qt_gsi::GenericMethod ("setRed|red=", "@brief Method void QColor::setRed(int red)\n", false, &_init_f_setRed_767, &_call_f_setRed_767); - methods += new qt_gsi::GenericMethod ("setRedF|redF=", "@brief Method void QColor::setRedF(float red)\n", false, &_init_f_setRedF_970, &_call_f_setRedF_970); - methods += new qt_gsi::GenericMethod ("setRgb", "@brief Method void QColor::setRgb(int r, int g, int b, int a)\n", false, &_init_f_setRgb_2744, &_call_f_setRgb_2744); - methods += new qt_gsi::GenericMethod ("setRgb|rgb=", "@brief Method void QColor::setRgb(unsigned int rgb)\n", false, &_init_f_setRgb_1772, &_call_f_setRgb_1772); - methods += new qt_gsi::GenericMethod ("setRgbF", "@brief Method void QColor::setRgbF(float r, float g, float b, float a)\n", false, &_init_f_setRgbF_3556, &_call_f_setRgbF_3556); - methods += new qt_gsi::GenericMethod ("setRgba|rgba=", "@brief Method void QColor::setRgba(unsigned int rgba)\n", false, &_init_f_setRgba_1772, &_call_f_setRgba_1772); - methods += new qt_gsi::GenericMethod ("setRgba64", "@brief Method void QColor::setRgba64(QRgba64 rgba)\n", false, &_init_f_setRgba64_1003, &_call_f_setRgba64_1003); - methods += new qt_gsi::GenericMethod ("spec", "@brief Method QColor::Spec QColor::spec()\n", true, &_init_f_spec_c0, &_call_f_spec_c0); - methods += new qt_gsi::GenericMethod ("toCmyk", "@brief Method QColor QColor::toCmyk()\n", true, &_init_f_toCmyk_c0, &_call_f_toCmyk_c0); - methods += new qt_gsi::GenericMethod ("toExtendedRgb", "@brief Method QColor QColor::toExtendedRgb()\n", true, &_init_f_toExtendedRgb_c0, &_call_f_toExtendedRgb_c0); - methods += new qt_gsi::GenericMethod ("toHsl", "@brief Method QColor QColor::toHsl()\n", true, &_init_f_toHsl_c0, &_call_f_toHsl_c0); - methods += new qt_gsi::GenericMethod ("toHsv", "@brief Method QColor QColor::toHsv()\n", true, &_init_f_toHsv_c0, &_call_f_toHsv_c0); - methods += new qt_gsi::GenericMethod ("toRgb", "@brief Method QColor QColor::toRgb()\n", true, &_init_f_toRgb_c0, &_call_f_toRgb_c0); - methods += new qt_gsi::GenericMethod ("value", "@brief Method int QColor::value()\n", true, &_init_f_value_c0, &_call_f_value_c0); - methods += new qt_gsi::GenericMethod ("valueF", "@brief Method float QColor::valueF()\n", true, &_init_f_valueF_c0, &_call_f_valueF_c0); - methods += new qt_gsi::GenericMethod ("yellow", "@brief Method int QColor::yellow()\n", true, &_init_f_yellow_c0, &_call_f_yellow_c0); - methods += new qt_gsi::GenericMethod ("yellowF", "@brief Method float QColor::yellowF()\n", true, &_init_f_yellowF_c0, &_call_f_yellowF_c0); - methods += new qt_gsi::GenericStaticMethod ("colorNames", "@brief Static method QStringList QColor::colorNames()\nThis method is static and can be called without an instance.", &_init_f_colorNames_0, &_call_f_colorNames_0); - methods += new qt_gsi::GenericStaticMethod ("fromCmyk", "@brief Static method QColor QColor::fromCmyk(int c, int m, int y, int k, int a)\nThis method is static and can be called without an instance.", &_init_f_fromCmyk_3403, &_call_f_fromCmyk_3403); - methods += new qt_gsi::GenericStaticMethod ("fromCmykF", "@brief Static method QColor QColor::fromCmykF(float c, float m, float y, float k, float a)\nThis method is static and can be called without an instance.", &_init_f_fromCmykF_4418, &_call_f_fromCmykF_4418); - methods += new qt_gsi::GenericStaticMethod ("fromHsl", "@brief Static method QColor QColor::fromHsl(int h, int s, int l, int a)\nThis method is static and can be called without an instance.", &_init_f_fromHsl_2744, &_call_f_fromHsl_2744); - methods += new qt_gsi::GenericStaticMethod ("fromHslF", "@brief Static method QColor QColor::fromHslF(float h, float s, float l, float a)\nThis method is static and can be called without an instance.", &_init_f_fromHslF_3556, &_call_f_fromHslF_3556); - methods += new qt_gsi::GenericStaticMethod ("fromHsv", "@brief Static method QColor QColor::fromHsv(int h, int s, int v, int a)\nThis method is static and can be called without an instance.", &_init_f_fromHsv_2744, &_call_f_fromHsv_2744); - methods += new qt_gsi::GenericStaticMethod ("fromHsvF", "@brief Static method QColor QColor::fromHsvF(float h, float s, float v, float a)\nThis method is static and can be called without an instance.", &_init_f_fromHsvF_3556, &_call_f_fromHsvF_3556); - methods += new qt_gsi::GenericStaticMethod ("fromRgb", "@brief Static method QColor QColor::fromRgb(unsigned int rgb)\nThis method is static and can be called without an instance.", &_init_f_fromRgb_1772, &_call_f_fromRgb_1772); - methods += new qt_gsi::GenericStaticMethod ("fromRgb", "@brief Static method QColor QColor::fromRgb(int r, int g, int b, int a)\nThis method is static and can be called without an instance.", &_init_f_fromRgb_2744, &_call_f_fromRgb_2744); - methods += new qt_gsi::GenericStaticMethod ("fromRgbF", "@brief Static method QColor QColor::fromRgbF(float r, float g, float b, float a)\nThis method is static and can be called without an instance.", &_init_f_fromRgbF_3556, &_call_f_fromRgbF_3556); - methods += new qt_gsi::GenericStaticMethod ("fromRgba", "@brief Static method QColor QColor::fromRgba(unsigned int rgba)\nThis method is static and can be called without an instance.", &_init_f_fromRgba_1772, &_call_f_fromRgba_1772); - methods += new qt_gsi::GenericStaticMethod ("fromRgba64", "@brief Static method QColor QColor::fromRgba64(unsigned short int r, unsigned short int g, unsigned short int b, unsigned short int a)\nThis method is static and can be called without an instance.", &_init_f_fromRgba64_9580, &_call_f_fromRgba64_9580); - methods += new qt_gsi::GenericStaticMethod ("fromRgba64", "@brief Static method QColor QColor::fromRgba64(QRgba64 rgba)\nThis method is static and can be called without an instance.", &_init_f_fromRgba64_1003, &_call_f_fromRgba64_1003); - methods += new qt_gsi::GenericStaticMethod ("isValidColor?", "@brief Static method bool QColor::isValidColor(const QString &name)\nThis method is static and can be called without an instance.", &_init_f_isValidColor_2025, &_call_f_isValidColor_2025); - methods += new qt_gsi::GenericStaticMethod ("isValidColor?", "@brief Static method bool QColor::isValidColor(QStringView)\nThis method is static and can be called without an instance.", &_init_f_isValidColor_1559, &_call_f_isValidColor_1559); - methods += new qt_gsi::GenericStaticMethod ("isValidColor?", "@brief Static method bool QColor::isValidColor(QLatin1String)\nThis method is static and can be called without an instance.", &_init_f_isValidColor_1701, &_call_f_isValidColor_1701); - return methods; -} - -gsi::Class decl_QColor ("Qt", "QColor", - methods_QColor (), - "@qt\n@brief Binding of QColor"); - - -GSI_QT_PUBLIC gsi::Class &qtdecl_QColor () { return decl_QColor; } - -} - - -// Implementation of the enum wrapper class for QColor::NameFormat -namespace qt_gsi -{ - -static gsi::Enum decl_QColor_NameFormat_Enum ("Qt", "QColor_NameFormat", - gsi::enum_const ("HexRgb", QColor::HexRgb, "@brief Enum constant QColor::HexRgb") + - gsi::enum_const ("HexArgb", QColor::HexArgb, "@brief Enum constant QColor::HexArgb"), - "@qt\n@brief This class represents the QColor::NameFormat enum"); - -static gsi::QFlagsClass decl_QColor_NameFormat_Enums ("Qt", "QColor_QFlags_NameFormat", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QColor_NameFormat_Enum_in_parent (decl_QColor_NameFormat_Enum.defs ()); -static gsi::ClassExt decl_QColor_NameFormat_Enum_as_child (decl_QColor_NameFormat_Enum, "NameFormat"); -static gsi::ClassExt decl_QColor_NameFormat_Enums_as_child (decl_QColor_NameFormat_Enums, "QFlags_NameFormat"); - -} - - -// Implementation of the enum wrapper class for QColor::Spec -namespace qt_gsi -{ - -static gsi::Enum decl_QColor_Spec_Enum ("Qt", "QColor_Spec", - gsi::enum_const ("Invalid", QColor::Invalid, "@brief Enum constant QColor::Invalid") + - gsi::enum_const ("Rgb", QColor::Rgb, "@brief Enum constant QColor::Rgb") + - gsi::enum_const ("Hsv", QColor::Hsv, "@brief Enum constant QColor::Hsv") + - gsi::enum_const ("Cmyk", QColor::Cmyk, "@brief Enum constant QColor::Cmyk") + - gsi::enum_const ("Hsl", QColor::Hsl, "@brief Enum constant QColor::Hsl") + - gsi::enum_const ("ExtendedRgb", QColor::ExtendedRgb, "@brief Enum constant QColor::ExtendedRgb"), - "@qt\n@brief This class represents the QColor::Spec enum"); - -static gsi::QFlagsClass decl_QColor_Spec_Enums ("Qt", "QColor_QFlags_Spec", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QColor_Spec_Enum_in_parent (decl_QColor_Spec_Enum.defs ()); -static gsi::ClassExt decl_QColor_Spec_Enum_as_child (decl_QColor_Spec_Enum, "Spec"); -static gsi::ClassExt decl_QColor_Spec_Enums_as_child (decl_QColor_Spec_Enums, "QFlags_Spec"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQConicalGradient.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQConicalGradient.cc deleted file mode 100644 index be2e88a75..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQConicalGradient.cc +++ /dev/null @@ -1,224 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQConicalGradient.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QConicalGradient - -// Constructor QConicalGradient::QConicalGradient() - - -static void _init_ctor_QConicalGradient_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QConicalGradient_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QConicalGradient ()); -} - - -// Constructor QConicalGradient::QConicalGradient(const QPointF ¢er, double startAngle) - - -static void _init_ctor_QConicalGradient_2949 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("center"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("startAngle"); - decl->add_arg (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QConicalGradient_2949 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QPointF &arg1 = gsi::arg_reader() (args, heap); - double arg2 = gsi::arg_reader() (args, heap); - ret.write (new QConicalGradient (arg1, arg2)); -} - - -// Constructor QConicalGradient::QConicalGradient(double cx, double cy, double startAngle) - - -static void _init_ctor_QConicalGradient_2997 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("cx"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cy"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("startAngle"); - decl->add_arg (argspec_2); - decl->set_return_new (); -} - -static void _call_ctor_QConicalGradient_2997 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - double arg1 = gsi::arg_reader() (args, heap); - double arg2 = gsi::arg_reader() (args, heap); - double arg3 = gsi::arg_reader() (args, heap); - ret.write (new QConicalGradient (arg1, arg2, arg3)); -} - - -// double QConicalGradient::angle() - - -static void _init_f_angle_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_angle_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((double)((QConicalGradient *)cls)->angle ()); -} - - -// QPointF QConicalGradient::center() - - -static void _init_f_center_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_center_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QPointF)((QConicalGradient *)cls)->center ()); -} - - -// void QConicalGradient::setAngle(double angle) - - -static void _init_f_setAngle_1071 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("angle"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setAngle_1071 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - double arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QConicalGradient *)cls)->setAngle (arg1); -} - - -// void QConicalGradient::setCenter(const QPointF ¢er) - - -static void _init_f_setCenter_1986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("center"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setCenter_1986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QPointF &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QConicalGradient *)cls)->setCenter (arg1); -} - - -// void QConicalGradient::setCenter(double x, double y) - - -static void _init_f_setCenter_2034 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("x"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("y"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_setCenter_2034 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - double arg1 = gsi::arg_reader() (args, heap); - double arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QConicalGradient *)cls)->setCenter (arg1, arg2); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QConicalGradient () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QConicalGradient::QConicalGradient()\nThis method creates an object of class QConicalGradient.", &_init_ctor_QConicalGradient_0, &_call_ctor_QConicalGradient_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QConicalGradient::QConicalGradient(const QPointF ¢er, double startAngle)\nThis method creates an object of class QConicalGradient.", &_init_ctor_QConicalGradient_2949, &_call_ctor_QConicalGradient_2949); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QConicalGradient::QConicalGradient(double cx, double cy, double startAngle)\nThis method creates an object of class QConicalGradient.", &_init_ctor_QConicalGradient_2997, &_call_ctor_QConicalGradient_2997); - methods += new qt_gsi::GenericMethod (":angle", "@brief Method double QConicalGradient::angle()\n", true, &_init_f_angle_c0, &_call_f_angle_c0); - methods += new qt_gsi::GenericMethod (":center", "@brief Method QPointF QConicalGradient::center()\n", true, &_init_f_center_c0, &_call_f_center_c0); - methods += new qt_gsi::GenericMethod ("setAngle|angle=", "@brief Method void QConicalGradient::setAngle(double angle)\n", false, &_init_f_setAngle_1071, &_call_f_setAngle_1071); - methods += new qt_gsi::GenericMethod ("setCenter|center=", "@brief Method void QConicalGradient::setCenter(const QPointF ¢er)\n", false, &_init_f_setCenter_1986, &_call_f_setCenter_1986); - methods += new qt_gsi::GenericMethod ("setCenter", "@brief Method void QConicalGradient::setCenter(double x, double y)\n", false, &_init_f_setCenter_2034, &_call_f_setCenter_2034); - return methods; -} - -gsi::Class &qtdecl_QGradient (); - -gsi::Class decl_QConicalGradient (qtdecl_QGradient (), "Qt", "QConicalGradient", - methods_QConicalGradient (), - "@qt\n@brief Binding of QConicalGradient"); - - -GSI_QT_PUBLIC gsi::Class &qtdecl_QConicalGradient () { return decl_QConicalGradient; } - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQContextMenuEvent.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQContextMenuEvent.cc deleted file mode 100644 index 73532a601..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQContextMenuEvent.cc +++ /dev/null @@ -1,423 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQContextMenuEvent.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// 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() - - -static void _init_f_globalPos_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_globalPos_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((const QPoint &)((QContextMenuEvent *)cls)->globalPos ()); -} - - -// int QContextMenuEvent::globalX() - - -static void _init_f_globalX_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_globalX_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QContextMenuEvent *)cls)->globalX ()); -} - - -// int QContextMenuEvent::globalY() - - -static void _init_f_globalY_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_globalY_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QContextMenuEvent *)cls)->globalY ()); -} - - -// const QPoint &QContextMenuEvent::pos() - - -static void _init_f_pos_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_pos_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((const QPoint &)((QContextMenuEvent *)cls)->pos ()); -} - - -// QContextMenuEvent::Reason QContextMenuEvent::reason() - - -static void _init_f_reason_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_reason_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QContextMenuEvent *)cls)->reason ())); -} - - -// int QContextMenuEvent::x() - - -static void _init_f_x_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_x_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QContextMenuEvent *)cls)->x ()); -} - - -// int QContextMenuEvent::y() - - -static void _init_f_y_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_y_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QContextMenuEvent *)cls)->y ()); -} - - -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); - methods += new qt_gsi::GenericMethod ("pos", "@brief Method const QPoint &QContextMenuEvent::pos()\n", true, &_init_f_pos_c0, &_call_f_pos_c0); - methods += new qt_gsi::GenericMethod ("reason", "@brief Method QContextMenuEvent::Reason QContextMenuEvent::reason()\n", true, &_init_f_reason_c0, &_call_f_reason_c0); - methods += new qt_gsi::GenericMethod ("x", "@brief Method int QContextMenuEvent::x()\n", true, &_init_f_x_c0, &_call_f_x_c0); - methods += new qt_gsi::GenericMethod ("y", "@brief Method int QContextMenuEvent::y()\n", true, &_init_f_y_c0, &_call_f_y_c0); - return methods; -} - -gsi::Class &qtdecl_QInputEvent (); - -gsi::Class decl_QContextMenuEvent (qtdecl_QInputEvent (), "Qt", "QContextMenuEvent_Native", - methods_QContextMenuEvent (), - "@hide\n@alias QContextMenuEvent"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QContextMenuEvent () { return decl_QContextMenuEvent; } - -} - - -class QContextMenuEvent_Adaptor : public QContextMenuEvent, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QContextMenuEvent_Adaptor(); - - // [adaptor ctor] QContextMenuEvent::QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint &pos, const QPoint &globalPos, QFlags modifiers) - QContextMenuEvent_Adaptor(QContextMenuEvent::Reason reason, const QPoint &pos, const QPoint &globalPos) : QContextMenuEvent(reason, pos, globalPos) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QContextMenuEvent::QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint &pos, const QPoint &globalPos, QFlags modifiers) - QContextMenuEvent_Adaptor(QContextMenuEvent::Reason reason, const QPoint &pos, const QPoint &globalPos, QFlags modifiers) : QContextMenuEvent(reason, pos, globalPos, modifiers) - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor ctor] QContextMenuEvent::QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint &pos) - QContextMenuEvent_Adaptor(QContextMenuEvent::Reason reason, const QPoint &pos) : QContextMenuEvent(reason, pos) - { - 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) - { - QContextMenuEvent::setAccepted(accepted); - } - - virtual void setAccepted(bool accepted) - { - if (cb_setAccepted_864_0.can_issue()) { - cb_setAccepted_864_0.issue(&QContextMenuEvent_Adaptor::cbs_setAccepted_864_0, accepted); - } else { - QContextMenuEvent::setAccepted(accepted); - } - } - - // [adaptor impl] void QContextMenuEvent::setTimestamp(quint64 timestamp) - void cbs_setTimestamp_1103_0(quint64 timestamp) - { - QContextMenuEvent::setTimestamp(timestamp); - } - - virtual void setTimestamp(quint64 timestamp) - { - if (cb_setTimestamp_1103_0.can_issue()) { - cb_setTimestamp_1103_0.issue(&QContextMenuEvent_Adaptor::cbs_setTimestamp_1103_0, timestamp); - } else { - QContextMenuEvent::setTimestamp(timestamp); - } - } - - gsi::Callback cb_clone_c0_0; - gsi::Callback cb_setAccepted_864_0; - gsi::Callback cb_setTimestamp_1103_0; -}; - -QContextMenuEvent_Adaptor::~QContextMenuEvent_Adaptor() { } - -// Constructor QContextMenuEvent::QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint &pos, const QPoint &globalPos, QFlags modifiers) (adaptor class) - -static void _init_ctor_QContextMenuEvent_Adaptor_9494 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("reason"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pos"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("globalPos"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("modifiers", true, "Qt::NoModifier"); - decl->add_arg > (argspec_3); - decl->set_return_new (); -} - -static void _call_ctor_QContextMenuEvent_Adaptor_9494 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - const QPoint &arg2 = gsi::arg_reader() (args, heap); - const QPoint &arg3 = gsi::arg_reader() (args, heap); - QFlags arg4 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (Qt::NoModifier, heap); - ret.write (new QContextMenuEvent_Adaptor (qt_gsi::QtToCppAdaptor(arg1).cref(), arg2, arg3, arg4)); -} - - -// Constructor QContextMenuEvent::QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint &pos) (adaptor class) - -static void _init_ctor_QContextMenuEvent_Adaptor_4717 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("reason"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("pos"); - decl->add_arg (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QContextMenuEvent_Adaptor_4717 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - const QPoint &arg2 = gsi::arg_reader() (args, heap); - ret.write (new QContextMenuEvent_Adaptor (qt_gsi::QtToCppAdaptor(arg1).cref(), arg2)); -} - - -// 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) -{ - static gsi::ArgSpecBase argspec_0 ("accepted"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_setAccepted_864_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QContextMenuEvent_Adaptor *)cls)->cbs_setAccepted_864_0 (arg1); -} - -static void _set_callback_cbs_setAccepted_864_0 (void *cls, const gsi::Callback &cb) -{ - ((QContextMenuEvent_Adaptor *)cls)->cb_setAccepted_864_0 = cb; -} - - -// void QContextMenuEvent::setTimestamp(quint64 timestamp) - -static void _init_cbs_setTimestamp_1103_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("timestamp"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_setTimestamp_1103_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - quint64 arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QContextMenuEvent_Adaptor *)cls)->cbs_setTimestamp_1103_0 (arg1); -} - -static void _set_callback_cbs_setTimestamp_1103_0 (void *cls, const gsi::Callback &cb) -{ - ((QContextMenuEvent_Adaptor *)cls)->cb_setTimestamp_1103_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QContextMenuEvent (); - -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); - methods += new qt_gsi::GenericMethod ("setTimestamp", "@hide", false, &_init_cbs_setTimestamp_1103_0, &_call_cbs_setTimestamp_1103_0, &_set_callback_cbs_setTimestamp_1103_0); - return methods; -} - -gsi::Class decl_QContextMenuEvent_Adaptor (qtdecl_QContextMenuEvent (), "Qt", "QContextMenuEvent", - methods_QContextMenuEvent_Adaptor (), - "@qt\n@brief Binding of QContextMenuEvent"); - -} - - -// Implementation of the enum wrapper class for QContextMenuEvent::Reason -namespace qt_gsi -{ - -static gsi::Enum decl_QContextMenuEvent_Reason_Enum ("Qt", "QContextMenuEvent_Reason", - gsi::enum_const ("Mouse", QContextMenuEvent::Mouse, "@brief Enum constant QContextMenuEvent::Mouse") + - gsi::enum_const ("Keyboard", QContextMenuEvent::Keyboard, "@brief Enum constant QContextMenuEvent::Keyboard") + - gsi::enum_const ("Other", QContextMenuEvent::Other, "@brief Enum constant QContextMenuEvent::Other"), - "@qt\n@brief This class represents the QContextMenuEvent::Reason enum"); - -static gsi::QFlagsClass decl_QContextMenuEvent_Reason_Enums ("Qt", "QContextMenuEvent_QFlags_Reason", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QContextMenuEvent_Reason_Enum_in_parent (decl_QContextMenuEvent_Reason_Enum.defs ()); -static gsi::ClassExt decl_QContextMenuEvent_Reason_Enum_as_child (decl_QContextMenuEvent_Reason_Enum, "Reason"); -static gsi::ClassExt decl_QContextMenuEvent_Reason_Enums_as_child (decl_QContextMenuEvent_Reason_Enums, "QFlags_Reason"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQCoreApplication.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQCoreApplication.cc deleted file mode 100644 index 22815074d..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQCoreApplication.cc +++ /dev/null @@ -1,1483 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQCoreApplication.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QCoreApplication - -// get static meta object - -static void _init_smo (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, gsi::SerialArgs &ret) -{ - ret.write (QCoreApplication::staticMetaObject); -} - - -// void QCoreApplication::installNativeEventFilter(QAbstractNativeEventFilter *filterObj) - - -static void _init_f_installNativeEventFilter_3266 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("filterObj"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_installNativeEventFilter_3266 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QAbstractNativeEventFilter *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCoreApplication *)cls)->installNativeEventFilter (arg1); -} - - -// void QCoreApplication::removeNativeEventFilter(QAbstractNativeEventFilter *filterObj) - - -static void _init_f_removeNativeEventFilter_3266 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("filterObj"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_removeNativeEventFilter_3266 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QAbstractNativeEventFilter *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCoreApplication *)cls)->removeNativeEventFilter (arg1); -} - - -// static void QCoreApplication::addLibraryPath(const QString &) - - -static void _init_f_addLibraryPath_2025 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_addLibraryPath_2025 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QCoreApplication::addLibraryPath (arg1); -} - - -// static QString QCoreApplication::applicationDirPath() - - -static void _init_f_applicationDirPath_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_applicationDirPath_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)QCoreApplication::applicationDirPath ()); -} - - -// static QString QCoreApplication::applicationFilePath() - - -static void _init_f_applicationFilePath_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_applicationFilePath_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)QCoreApplication::applicationFilePath ()); -} - - -// static QString QCoreApplication::applicationName() - - -static void _init_f_applicationName_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_applicationName_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)QCoreApplication::applicationName ()); -} - - -// static qint64 QCoreApplication::applicationPid() - - -static void _init_f_applicationPid_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_applicationPid_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qint64)QCoreApplication::applicationPid ()); -} - - -// static QString QCoreApplication::applicationVersion() - - -static void _init_f_applicationVersion_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_applicationVersion_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)QCoreApplication::applicationVersion ()); -} - - -// static QStringList QCoreApplication::arguments() - - -static void _init_f_arguments_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_arguments_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QStringList)QCoreApplication::arguments ()); -} - - -// static bool QCoreApplication::closingDown() - - -static void _init_f_closingDown_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_closingDown_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)QCoreApplication::closingDown ()); -} - - -// static QAbstractEventDispatcher *QCoreApplication::eventDispatcher() - - -static void _init_f_eventDispatcher_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_eventDispatcher_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QAbstractEventDispatcher *)QCoreApplication::eventDispatcher ()); -} - - -// static int QCoreApplication::exec() - - -static void _init_f_exec_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_exec_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)QCoreApplication::exec ()); -} - - -// static void QCoreApplication::exit(int retcode) - - -static void _init_f_exit_767 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("retcode", true, "0"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_exit_767 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QCoreApplication::exit (arg1); -} - - -// static bool QCoreApplication::installTranslator(QTranslator *messageFile) - - -static void _init_f_installTranslator_1769 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("messageFile"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_installTranslator_1769 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QTranslator *arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)QCoreApplication::installTranslator (arg1)); -} - - -// static QCoreApplication *QCoreApplication::instance() - - -static void _init_f_instance_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_instance_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QCoreApplication *)QCoreApplication::instance ()); -} - - -// static bool QCoreApplication::isQuitLockEnabled() - - -static void _init_f_isQuitLockEnabled_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isQuitLockEnabled_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)QCoreApplication::isQuitLockEnabled ()); -} - - -// static bool QCoreApplication::isSetuidAllowed() - - -static void _init_f_isSetuidAllowed_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isSetuidAllowed_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)QCoreApplication::isSetuidAllowed ()); -} - - -// static QStringList QCoreApplication::libraryPaths() - - -static void _init_f_libraryPaths_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_libraryPaths_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QStringList)QCoreApplication::libraryPaths ()); -} - - -// static QString QCoreApplication::organizationDomain() - - -static void _init_f_organizationDomain_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_organizationDomain_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)QCoreApplication::organizationDomain ()); -} - - -// static QString QCoreApplication::organizationName() - - -static void _init_f_organizationName_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_organizationName_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)QCoreApplication::organizationName ()); -} - - -// static void QCoreApplication::postEvent(QObject *receiver, QEvent *event, int priority) - - -static void _init_f_postEvent_3070 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("receiver"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("event"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("priority", true, "Qt::NormalEventPriority"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_postEvent_3070 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = gsi::arg_reader() (args, heap); - QEvent *arg2 = gsi::arg_reader() (args, heap); - qt_gsi::qt_keep (arg2); - int arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (Qt::NormalEventPriority, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QCoreApplication::postEvent (arg1, arg2, arg3); -} - - -// static void QCoreApplication::processEvents(QFlags flags) - - -static void _init_f_processEvents_3995 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("flags", true, "QEventLoop::AllEvents"); - decl->add_arg > (argspec_0); - decl->set_return (); -} - -static void _call_f_processEvents_3995 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QFlags arg1 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (QEventLoop::AllEvents, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QCoreApplication::processEvents (arg1); -} - - -// static void QCoreApplication::processEvents(QFlags flags, int maxtime) - - -static void _init_f_processEvents_4654 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("flags"); - decl->add_arg > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("maxtime"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_processEvents_4654 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QFlags arg1 = gsi::arg_reader >() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QCoreApplication::processEvents (arg1, arg2); -} - - -// static void QCoreApplication::quit() - - -static void _init_f_quit_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_quit_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - QCoreApplication::quit (); -} - - -// static void QCoreApplication::removeLibraryPath(const QString &) - - -static void _init_f_removeLibraryPath_2025 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_removeLibraryPath_2025 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QCoreApplication::removeLibraryPath (arg1); -} - - -// static void QCoreApplication::removePostedEvents(QObject *receiver, int eventType) - - -static void _init_f_removePostedEvents_1961 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("receiver"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("eventType", true, "0"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_removePostedEvents_1961 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = gsi::arg_reader() (args, heap); - int arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QCoreApplication::removePostedEvents (arg1, arg2); -} - - -// static bool QCoreApplication::removeTranslator(QTranslator *messageFile) - - -static void _init_f_removeTranslator_1769 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("messageFile"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_removeTranslator_1769 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QTranslator *arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)QCoreApplication::removeTranslator (arg1)); -} - - -// static bool QCoreApplication::sendEvent(QObject *receiver, QEvent *event) - - -static void _init_f_sendEvent_2411 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("receiver"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("event"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_sendEvent_2411 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = gsi::arg_reader() (args, heap); - QEvent *arg2 = gsi::arg_reader() (args, heap); - ret.write ((bool)QCoreApplication::sendEvent (arg1, arg2)); -} - - -// static void QCoreApplication::sendPostedEvents(QObject *receiver, int event_type) - - -static void _init_f_sendPostedEvents_1961 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("receiver", true, "nullptr"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("event_type", true, "0"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_sendPostedEvents_1961 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - int arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QCoreApplication::sendPostedEvents (arg1, arg2); -} - - -// static void QCoreApplication::setApplicationName(const QString &application) - - -static void _init_f_setApplicationName_2025 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("application"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setApplicationName_2025 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QCoreApplication::setApplicationName (arg1); -} - - -// static void QCoreApplication::setApplicationVersion(const QString &version) - - -static void _init_f_setApplicationVersion_2025 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("version"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setApplicationVersion_2025 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QCoreApplication::setApplicationVersion (arg1); -} - - -// static void QCoreApplication::setAttribute(Qt::ApplicationAttribute attribute, bool on) - - -static void _init_f_setAttribute_3593 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("attribute"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("on", true, "true"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_setAttribute_3593 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - bool arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (true, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QCoreApplication::setAttribute (qt_gsi::QtToCppAdaptor(arg1).cref(), arg2); -} - - -// static void QCoreApplication::setEventDispatcher(QAbstractEventDispatcher *eventDispatcher) - - -static void _init_f_setEventDispatcher_3068 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("eventDispatcher"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setEventDispatcher_3068 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QAbstractEventDispatcher *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QCoreApplication::setEventDispatcher (arg1); -} - - -// static void QCoreApplication::setLibraryPaths(const QStringList &) - - -static void _init_f_setLibraryPaths_2437 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setLibraryPaths_2437 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QStringList &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QCoreApplication::setLibraryPaths (arg1); -} - - -// static void QCoreApplication::setOrganizationDomain(const QString &orgDomain) - - -static void _init_f_setOrganizationDomain_2025 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("orgDomain"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setOrganizationDomain_2025 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QCoreApplication::setOrganizationDomain (arg1); -} - - -// static void QCoreApplication::setOrganizationName(const QString &orgName) - - -static void _init_f_setOrganizationName_2025 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("orgName"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setOrganizationName_2025 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QCoreApplication::setOrganizationName (arg1); -} - - -// static void QCoreApplication::setQuitLockEnabled(bool enabled) - - -static void _init_f_setQuitLockEnabled_864 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("enabled"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setQuitLockEnabled_864 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QCoreApplication::setQuitLockEnabled (arg1); -} - - -// static void QCoreApplication::setSetuidAllowed(bool allow) - - -static void _init_f_setSetuidAllowed_864 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("allow"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setSetuidAllowed_864 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QCoreApplication::setSetuidAllowed (arg1); -} - - -// static bool QCoreApplication::startingUp() - - -static void _init_f_startingUp_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_startingUp_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)QCoreApplication::startingUp ()); -} - - -// static bool QCoreApplication::testAttribute(Qt::ApplicationAttribute attribute) - - -static void _init_f_testAttribute_2837 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("attribute"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_testAttribute_2837 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write ((bool)QCoreApplication::testAttribute (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// static QString QCoreApplication::tr(const char *s, const char *c, int n) - - -static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("s"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("c", true, "nullptr"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("n", true, "-1"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - const char *arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - int arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (-1, heap); - ret.write ((QString)QCoreApplication::tr (arg1, arg2, arg3)); -} - - -// static QString QCoreApplication::translate(const char *context, const char *key, const char *disambiguation, int n) - - -static void _init_f_translate_5636 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("context"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("key"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("disambiguation", true, "nullptr"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("n", true, "-1"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_translate_5636 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - const char *arg2 = gsi::arg_reader() (args, heap); - const char *arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - int arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (-1, heap); - ret.write ((QString)QCoreApplication::translate (arg1, arg2, arg3, arg4)); -} - - -namespace gsi -{ - -static gsi::Methods methods_QCoreApplication () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("staticMetaObject", "@brief Obtains the static MetaObject for this class.", &_init_smo, &_call_smo); - methods += new qt_gsi::GenericMethod ("installNativeEventFilter", "@brief Method void QCoreApplication::installNativeEventFilter(QAbstractNativeEventFilter *filterObj)\n", false, &_init_f_installNativeEventFilter_3266, &_call_f_installNativeEventFilter_3266); - methods += new qt_gsi::GenericMethod ("removeNativeEventFilter", "@brief Method void QCoreApplication::removeNativeEventFilter(QAbstractNativeEventFilter *filterObj)\n", false, &_init_f_removeNativeEventFilter_3266, &_call_f_removeNativeEventFilter_3266); - methods += gsi::qt_signal ("aboutToQuit()", "aboutToQuit", "@brief Signal declaration for QCoreApplication::aboutToQuit()\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("applicationNameChanged()", "applicationNameChanged", "@brief Signal declaration for QCoreApplication::applicationNameChanged()\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("applicationVersionChanged()", "applicationVersionChanged", "@brief Signal declaration for QCoreApplication::applicationVersionChanged()\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QCoreApplication::destroyed(QObject *)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("objectNameChanged(const QString &)", "objectNameChanged", gsi::arg("objectName"), "@brief Signal declaration for QCoreApplication::objectNameChanged(const QString &objectName)\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("organizationDomainChanged()", "organizationDomainChanged", "@brief Signal declaration for QCoreApplication::organizationDomainChanged()\nYou can bind a procedure to this signal."); - methods += gsi::qt_signal ("organizationNameChanged()", "organizationNameChanged", "@brief Signal declaration for QCoreApplication::organizationNameChanged()\nYou can bind a procedure to this signal."); - methods += new qt_gsi::GenericStaticMethod ("addLibraryPath", "@brief Static method void QCoreApplication::addLibraryPath(const QString &)\nThis method is static and can be called without an instance.", &_init_f_addLibraryPath_2025, &_call_f_addLibraryPath_2025); - methods += new qt_gsi::GenericStaticMethod ("applicationDirPath", "@brief Static method QString QCoreApplication::applicationDirPath()\nThis method is static and can be called without an instance.", &_init_f_applicationDirPath_0, &_call_f_applicationDirPath_0); - methods += new qt_gsi::GenericStaticMethod ("applicationFilePath", "@brief Static method QString QCoreApplication::applicationFilePath()\nThis method is static and can be called without an instance.", &_init_f_applicationFilePath_0, &_call_f_applicationFilePath_0); - methods += new qt_gsi::GenericStaticMethod (":applicationName", "@brief Static method QString QCoreApplication::applicationName()\nThis method is static and can be called without an instance.", &_init_f_applicationName_0, &_call_f_applicationName_0); - methods += new qt_gsi::GenericStaticMethod ("applicationPid", "@brief Static method qint64 QCoreApplication::applicationPid()\nThis method is static and can be called without an instance.", &_init_f_applicationPid_0, &_call_f_applicationPid_0); - methods += new qt_gsi::GenericStaticMethod (":applicationVersion", "@brief Static method QString QCoreApplication::applicationVersion()\nThis method is static and can be called without an instance.", &_init_f_applicationVersion_0, &_call_f_applicationVersion_0); - methods += new qt_gsi::GenericStaticMethod ("arguments", "@brief Static method QStringList QCoreApplication::arguments()\nThis method is static and can be called without an instance.", &_init_f_arguments_0, &_call_f_arguments_0); - methods += new qt_gsi::GenericStaticMethod ("closingDown", "@brief Static method bool QCoreApplication::closingDown()\nThis method is static and can be called without an instance.", &_init_f_closingDown_0, &_call_f_closingDown_0); - methods += new qt_gsi::GenericStaticMethod (":eventDispatcher", "@brief Static method QAbstractEventDispatcher *QCoreApplication::eventDispatcher()\nThis method is static and can be called without an instance.", &_init_f_eventDispatcher_0, &_call_f_eventDispatcher_0); - methods += new qt_gsi::GenericStaticMethod ("exec", "@brief Static method int QCoreApplication::exec()\nThis method is static and can be called without an instance.", &_init_f_exec_0, &_call_f_exec_0); - methods += new qt_gsi::GenericStaticMethod ("exit", "@brief Static method void QCoreApplication::exit(int retcode)\nThis method is static and can be called without an instance.", &_init_f_exit_767, &_call_f_exit_767); - methods += new qt_gsi::GenericStaticMethod ("installTranslator", "@brief Static method bool QCoreApplication::installTranslator(QTranslator *messageFile)\nThis method is static and can be called without an instance.", &_init_f_installTranslator_1769, &_call_f_installTranslator_1769); - methods += new qt_gsi::GenericStaticMethod ("instance", "@brief Static method QCoreApplication *QCoreApplication::instance()\nThis method is static and can be called without an instance.", &_init_f_instance_0, &_call_f_instance_0); - methods += new qt_gsi::GenericStaticMethod ("isQuitLockEnabled?|:quitLockEnabled", "@brief Static method bool QCoreApplication::isQuitLockEnabled()\nThis method is static and can be called without an instance.", &_init_f_isQuitLockEnabled_0, &_call_f_isQuitLockEnabled_0); - methods += new qt_gsi::GenericStaticMethod ("isSetuidAllowed?|:setuidAllowed", "@brief Static method bool QCoreApplication::isSetuidAllowed()\nThis method is static and can be called without an instance.", &_init_f_isSetuidAllowed_0, &_call_f_isSetuidAllowed_0); - methods += new qt_gsi::GenericStaticMethod (":libraryPaths", "@brief Static method QStringList QCoreApplication::libraryPaths()\nThis method is static and can be called without an instance.", &_init_f_libraryPaths_0, &_call_f_libraryPaths_0); - methods += new qt_gsi::GenericStaticMethod (":organizationDomain", "@brief Static method QString QCoreApplication::organizationDomain()\nThis method is static and can be called without an instance.", &_init_f_organizationDomain_0, &_call_f_organizationDomain_0); - methods += new qt_gsi::GenericStaticMethod (":organizationName", "@brief Static method QString QCoreApplication::organizationName()\nThis method is static and can be called without an instance.", &_init_f_organizationName_0, &_call_f_organizationName_0); - methods += new qt_gsi::GenericStaticMethod ("postEvent", "@brief Static method void QCoreApplication::postEvent(QObject *receiver, QEvent *event, int priority)\nThis method is static and can be called without an instance.", &_init_f_postEvent_3070, &_call_f_postEvent_3070); - methods += new qt_gsi::GenericStaticMethod ("processEvents", "@brief Static method void QCoreApplication::processEvents(QFlags flags)\nThis method is static and can be called without an instance.", &_init_f_processEvents_3995, &_call_f_processEvents_3995); - methods += new qt_gsi::GenericStaticMethod ("processEvents", "@brief Static method void QCoreApplication::processEvents(QFlags flags, int maxtime)\nThis method is static and can be called without an instance.", &_init_f_processEvents_4654, &_call_f_processEvents_4654); - methods += new qt_gsi::GenericStaticMethod ("quit", "@brief Static method void QCoreApplication::quit()\nThis method is static and can be called without an instance.", &_init_f_quit_0, &_call_f_quit_0); - methods += new qt_gsi::GenericStaticMethod ("removeLibraryPath", "@brief Static method void QCoreApplication::removeLibraryPath(const QString &)\nThis method is static and can be called without an instance.", &_init_f_removeLibraryPath_2025, &_call_f_removeLibraryPath_2025); - methods += new qt_gsi::GenericStaticMethod ("removePostedEvents", "@brief Static method void QCoreApplication::removePostedEvents(QObject *receiver, int eventType)\nThis method is static and can be called without an instance.", &_init_f_removePostedEvents_1961, &_call_f_removePostedEvents_1961); - methods += new qt_gsi::GenericStaticMethod ("removeTranslator", "@brief Static method bool QCoreApplication::removeTranslator(QTranslator *messageFile)\nThis method is static and can be called without an instance.", &_init_f_removeTranslator_1769, &_call_f_removeTranslator_1769); - methods += new qt_gsi::GenericStaticMethod ("sendEvent", "@brief Static method bool QCoreApplication::sendEvent(QObject *receiver, QEvent *event)\nThis method is static and can be called without an instance.", &_init_f_sendEvent_2411, &_call_f_sendEvent_2411); - methods += new qt_gsi::GenericStaticMethod ("sendPostedEvents", "@brief Static method void QCoreApplication::sendPostedEvents(QObject *receiver, int event_type)\nThis method is static and can be called without an instance.", &_init_f_sendPostedEvents_1961, &_call_f_sendPostedEvents_1961); - methods += new qt_gsi::GenericStaticMethod ("setApplicationName|applicationName=", "@brief Static method void QCoreApplication::setApplicationName(const QString &application)\nThis method is static and can be called without an instance.", &_init_f_setApplicationName_2025, &_call_f_setApplicationName_2025); - methods += new qt_gsi::GenericStaticMethod ("setApplicationVersion|applicationVersion=", "@brief Static method void QCoreApplication::setApplicationVersion(const QString &version)\nThis method is static and can be called without an instance.", &_init_f_setApplicationVersion_2025, &_call_f_setApplicationVersion_2025); - methods += new qt_gsi::GenericStaticMethod ("setAttribute", "@brief Static method void QCoreApplication::setAttribute(Qt::ApplicationAttribute attribute, bool on)\nThis method is static and can be called without an instance.", &_init_f_setAttribute_3593, &_call_f_setAttribute_3593); - methods += new qt_gsi::GenericStaticMethod ("setEventDispatcher|eventDispatcher=", "@brief Static method void QCoreApplication::setEventDispatcher(QAbstractEventDispatcher *eventDispatcher)\nThis method is static and can be called without an instance.", &_init_f_setEventDispatcher_3068, &_call_f_setEventDispatcher_3068); - methods += new qt_gsi::GenericStaticMethod ("setLibraryPaths|libraryPaths=", "@brief Static method void QCoreApplication::setLibraryPaths(const QStringList &)\nThis method is static and can be called without an instance.", &_init_f_setLibraryPaths_2437, &_call_f_setLibraryPaths_2437); - methods += new qt_gsi::GenericStaticMethod ("setOrganizationDomain|organizationDomain=", "@brief Static method void QCoreApplication::setOrganizationDomain(const QString &orgDomain)\nThis method is static and can be called without an instance.", &_init_f_setOrganizationDomain_2025, &_call_f_setOrganizationDomain_2025); - methods += new qt_gsi::GenericStaticMethod ("setOrganizationName|organizationName=", "@brief Static method void QCoreApplication::setOrganizationName(const QString &orgName)\nThis method is static and can be called without an instance.", &_init_f_setOrganizationName_2025, &_call_f_setOrganizationName_2025); - methods += new qt_gsi::GenericStaticMethod ("setQuitLockEnabled|quitLockEnabled=", "@brief Static method void QCoreApplication::setQuitLockEnabled(bool enabled)\nThis method is static and can be called without an instance.", &_init_f_setQuitLockEnabled_864, &_call_f_setQuitLockEnabled_864); - methods += new qt_gsi::GenericStaticMethod ("setSetuidAllowed|setuidAllowed=", "@brief Static method void QCoreApplication::setSetuidAllowed(bool allow)\nThis method is static and can be called without an instance.", &_init_f_setSetuidAllowed_864, &_call_f_setSetuidAllowed_864); - methods += new qt_gsi::GenericStaticMethod ("startingUp", "@brief Static method bool QCoreApplication::startingUp()\nThis method is static and can be called without an instance.", &_init_f_startingUp_0, &_call_f_startingUp_0); - methods += new qt_gsi::GenericStaticMethod ("testAttribute", "@brief Static method bool QCoreApplication::testAttribute(Qt::ApplicationAttribute attribute)\nThis method is static and can be called without an instance.", &_init_f_testAttribute_2837, &_call_f_testAttribute_2837); - methods += new qt_gsi::GenericStaticMethod ("tr", "@brief Static method QString QCoreApplication::tr(const char *s, const char *c, int n)\nThis method is static and can be called without an instance.", &_init_f_tr_4013, &_call_f_tr_4013); - methods += new qt_gsi::GenericStaticMethod ("translate", "@brief Static method QString QCoreApplication::translate(const char *context, const char *key, const char *disambiguation, int n)\nThis method is static and can be called without an instance.", &_init_f_translate_5636, &_call_f_translate_5636); - return methods; -} - -gsi::Class &qtdecl_QObject (); - -qt_gsi::QtNativeClass decl_QCoreApplication (qtdecl_QObject (), "Qt", "QCoreApplication_Native", - methods_QCoreApplication (), - "@hide\n@alias QCoreApplication"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QCoreApplication () { return decl_QCoreApplication; } - -} - - -class QCoreApplication_Adaptor : public QCoreApplication, public qt_gsi::QtObjectBase -{ -public: - static QCoreApplication *ctor_QCoreApplication_Adaptor_args(const std::vector &args) - { - // QCoreApplication needs static sources, so we give it some. - static char **argv = 0; - static std::vector args_copy; - static int argc = 0; - - if (argv != 0) { - throw tl::Exception(tl::to_string(QObject::tr("QCoreApplication cannot be instantiated twice"))); - } - argv = new char *[args.size ()]; - args_copy = args; - argc = int (args.size ()); - for (std::vector::const_iterator a = args_copy.begin (); a != args_copy.end (); ++a) { - argv[a - args_copy.begin ()] = (char *) a->c_str (); - } - - return new QCoreApplication_Adaptor (argc, argv); - } - - QCoreApplication_Adaptor (int &argc, char **argv) : QCoreApplication (argc, argv) { } - - virtual ~QCoreApplication_Adaptor(); - - // [expose] bool QCoreApplication::isSignalConnected(const QMetaMethod &signal) - bool fp_QCoreApplication_isSignalConnected_c2394 (const QMetaMethod &signal) const { - return QCoreApplication::isSignalConnected(signal); - } - - // [expose] int QCoreApplication::receivers(const char *signal) - int fp_QCoreApplication_receivers_c1731 (const char *signal) const { - return QCoreApplication::receivers(signal); - } - - // [expose] void *QCoreApplication::resolveInterface(const char *name, int revision) - void * fp_QCoreApplication_resolveInterface_c2390 (const char *name, int revision) const { - return QCoreApplication::resolveInterface(name, revision); - } - - // [expose] QObject *QCoreApplication::sender() - QObject * fp_QCoreApplication_sender_c0 () const { - return QCoreApplication::sender(); - } - - // [expose] int QCoreApplication::senderSignalIndex() - int fp_QCoreApplication_senderSignalIndex_c0 () const { - return QCoreApplication::senderSignalIndex(); - } - - // [emitter impl] void QCoreApplication::aboutToQuit() - void emitter_QCoreApplication_aboutToQuit_3584() - { - throw tl::Exception ("Can't emit private signal 'void QCoreApplication::aboutToQuit()'"); - } - - // [emitter impl] void QCoreApplication::applicationNameChanged() - void emitter_QCoreApplication_applicationNameChanged_0() - { - emit QCoreApplication::applicationNameChanged(); - } - - // [emitter impl] void QCoreApplication::applicationVersionChanged() - void emitter_QCoreApplication_applicationVersionChanged_0() - { - emit QCoreApplication::applicationVersionChanged(); - } - - // [emitter impl] void QCoreApplication::destroyed(QObject *) - void emitter_QCoreApplication_destroyed_1302(QObject *arg1) - { - emit QCoreApplication::destroyed(arg1); - } - - // [adaptor impl] bool QCoreApplication::eventFilter(QObject *watched, QEvent *event) - bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event) - { - return QCoreApplication::eventFilter(watched, event); - } - - virtual bool eventFilter(QObject *watched, QEvent *event) - { - if (cb_eventFilter_2411_0.can_issue()) { - return cb_eventFilter_2411_0.issue(&QCoreApplication_Adaptor::cbs_eventFilter_2411_0, watched, event); - } else { - return QCoreApplication::eventFilter(watched, event); - } - } - - // [emitter impl] void QCoreApplication::objectNameChanged(const QString &objectName) - void emitter_QCoreApplication_objectNameChanged_4567(const QString &objectName) - { - __SUPPRESS_UNUSED_WARNING (objectName); - throw tl::Exception ("Can't emit private signal 'void QCoreApplication::objectNameChanged(const QString &objectName)'"); - } - - // [emitter impl] void QCoreApplication::organizationDomainChanged() - void emitter_QCoreApplication_organizationDomainChanged_0() - { - emit QCoreApplication::organizationDomainChanged(); - } - - // [emitter impl] void QCoreApplication::organizationNameChanged() - void emitter_QCoreApplication_organizationNameChanged_0() - { - emit QCoreApplication::organizationNameChanged(); - } - - // [adaptor impl] void QCoreApplication::childEvent(QChildEvent *event) - void cbs_childEvent_1701_0(QChildEvent *event) - { - QCoreApplication::childEvent(event); - } - - virtual void childEvent(QChildEvent *event) - { - if (cb_childEvent_1701_0.can_issue()) { - cb_childEvent_1701_0.issue(&QCoreApplication_Adaptor::cbs_childEvent_1701_0, event); - } else { - QCoreApplication::childEvent(event); - } - } - - // [adaptor impl] void QCoreApplication::customEvent(QEvent *event) - void cbs_customEvent_1217_0(QEvent *event) - { - QCoreApplication::customEvent(event); - } - - virtual void customEvent(QEvent *event) - { - if (cb_customEvent_1217_0.can_issue()) { - cb_customEvent_1217_0.issue(&QCoreApplication_Adaptor::cbs_customEvent_1217_0, event); - } else { - QCoreApplication::customEvent(event); - } - } - - // [adaptor impl] void QCoreApplication::disconnectNotify(const QMetaMethod &signal) - void cbs_disconnectNotify_2394_0(const QMetaMethod &signal) - { - QCoreApplication::disconnectNotify(signal); - } - - virtual void disconnectNotify(const QMetaMethod &signal) - { - if (cb_disconnectNotify_2394_0.can_issue()) { - cb_disconnectNotify_2394_0.issue(&QCoreApplication_Adaptor::cbs_disconnectNotify_2394_0, signal); - } else { - QCoreApplication::disconnectNotify(signal); - } - } - - // [adaptor impl] bool QCoreApplication::event(QEvent *) - bool cbs_event_1217_0(QEvent *arg1) - { - return QCoreApplication::event(arg1); - } - - virtual bool event(QEvent *arg1) - { - if (cb_event_1217_0.can_issue()) { - return cb_event_1217_0.issue(&QCoreApplication_Adaptor::cbs_event_1217_0, arg1); - } else { - return QCoreApplication::event(arg1); - } - } - - // [adaptor impl] void QCoreApplication::timerEvent(QTimerEvent *event) - void cbs_timerEvent_1730_0(QTimerEvent *event) - { - QCoreApplication::timerEvent(event); - } - - virtual void timerEvent(QTimerEvent *event) - { - if (cb_timerEvent_1730_0.can_issue()) { - cb_timerEvent_1730_0.issue(&QCoreApplication_Adaptor::cbs_timerEvent_1730_0, event); - } else { - QCoreApplication::timerEvent(event); - } - } - - gsi::Callback cb_eventFilter_2411_0; - gsi::Callback cb_childEvent_1701_0; - gsi::Callback cb_customEvent_1217_0; - gsi::Callback cb_disconnectNotify_2394_0; - gsi::Callback cb_event_1217_0; - gsi::Callback cb_timerEvent_1730_0; -}; - -QCoreApplication_Adaptor::~QCoreApplication_Adaptor() { } - -// emitter void QCoreApplication::aboutToQuit() - -static void _init_emitter_aboutToQuit_3584 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_emitter_aboutToQuit_3584 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - ((QCoreApplication_Adaptor *)cls)->emitter_QCoreApplication_aboutToQuit_3584 (); -} - - -// emitter void QCoreApplication::applicationNameChanged() - -static void _init_emitter_applicationNameChanged_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_emitter_applicationNameChanged_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - ((QCoreApplication_Adaptor *)cls)->emitter_QCoreApplication_applicationNameChanged_0 (); -} - - -// emitter void QCoreApplication::applicationVersionChanged() - -static void _init_emitter_applicationVersionChanged_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_emitter_applicationVersionChanged_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - ((QCoreApplication_Adaptor *)cls)->emitter_QCoreApplication_applicationVersionChanged_0 (); -} - - -// void QCoreApplication::childEvent(QChildEvent *event) - -static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_childEvent_1701_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QChildEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCoreApplication_Adaptor *)cls)->cbs_childEvent_1701_0 (arg1); -} - -static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback &cb) -{ - ((QCoreApplication_Adaptor *)cls)->cb_childEvent_1701_0 = cb; -} - - -// void QCoreApplication::customEvent(QEvent *event) - -static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_customEvent_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCoreApplication_Adaptor *)cls)->cbs_customEvent_1217_0 (arg1); -} - -static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback &cb) -{ - ((QCoreApplication_Adaptor *)cls)->cb_customEvent_1217_0 = cb; -} - - -// emitter void QCoreApplication::destroyed(QObject *) - -static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ((QCoreApplication_Adaptor *)cls)->emitter_QCoreApplication_destroyed_1302 (arg1); -} - - -// void QCoreApplication::disconnectNotify(const QMetaMethod &signal) - -static void _init_cbs_disconnectNotify_2394_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("signal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_disconnectNotify_2394_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMetaMethod &arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCoreApplication_Adaptor *)cls)->cbs_disconnectNotify_2394_0 (arg1); -} - -static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Callback &cb) -{ - ((QCoreApplication_Adaptor *)cls)->cb_disconnectNotify_2394_0 = cb; -} - - -// bool QCoreApplication::event(QEvent *) - -static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_event_1217_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QEvent *arg1 = args.read (heap); - ret.write ((bool)((QCoreApplication_Adaptor *)cls)->cbs_event_1217_0 (arg1)); -} - -static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb) -{ - ((QCoreApplication_Adaptor *)cls)->cb_event_1217_0 = cb; -} - - -// bool QCoreApplication::eventFilter(QObject *watched, QEvent *event) - -static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("watched"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("event"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_cbs_eventFilter_2411_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QObject *arg1 = args.read (heap); - QEvent *arg2 = args.read (heap); - ret.write ((bool)((QCoreApplication_Adaptor *)cls)->cbs_eventFilter_2411_0 (arg1, arg2)); -} - -static void _set_callback_cbs_eventFilter_2411_0 (void *cls, const gsi::Callback &cb) -{ - ((QCoreApplication_Adaptor *)cls)->cb_eventFilter_2411_0 = cb; -} - - -// exposed bool QCoreApplication::isSignalConnected(const QMetaMethod &signal) - -static void _init_fp_isSignalConnected_c2394 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("signal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_fp_isSignalConnected_c2394 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QMetaMethod &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QCoreApplication_Adaptor *)cls)->fp_QCoreApplication_isSignalConnected_c2394 (arg1)); -} - - -// emitter void QCoreApplication::objectNameChanged(const QString &objectName) - -static void _init_emitter_objectNameChanged_4567 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("objectName"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_emitter_objectNameChanged_4567 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ((QCoreApplication_Adaptor *)cls)->emitter_QCoreApplication_objectNameChanged_4567 (arg1); -} - - -// emitter void QCoreApplication::organizationDomainChanged() - -static void _init_emitter_organizationDomainChanged_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_emitter_organizationDomainChanged_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - ((QCoreApplication_Adaptor *)cls)->emitter_QCoreApplication_organizationDomainChanged_0 (); -} - - -// emitter void QCoreApplication::organizationNameChanged() - -static void _init_emitter_organizationNameChanged_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_emitter_organizationNameChanged_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/) -{ - __SUPPRESS_UNUSED_WARNING(args); - ((QCoreApplication_Adaptor *)cls)->emitter_QCoreApplication_organizationNameChanged_0 (); -} - - -// exposed int QCoreApplication::receivers(const char *signal) - -static void _init_fp_receivers_c1731 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("signal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_fp_receivers_c1731 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - ret.write ((int)((QCoreApplication_Adaptor *)cls)->fp_QCoreApplication_receivers_c1731 (arg1)); -} - - -// exposed void *QCoreApplication::resolveInterface(const char *name, int revision) - -static void _init_fp_resolveInterface_c2390 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("name"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("revision"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_fp_resolveInterface_c2390 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - ret.write ((void *)((QCoreApplication_Adaptor *)cls)->fp_QCoreApplication_resolveInterface_c2390 (arg1, arg2)); -} - - -// exposed QObject *QCoreApplication::sender() - -static void _init_fp_sender_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_sender_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QObject *)((QCoreApplication_Adaptor *)cls)->fp_QCoreApplication_sender_c0 ()); -} - - -// exposed int QCoreApplication::senderSignalIndex() - -static void _init_fp_senderSignalIndex_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QCoreApplication_Adaptor *)cls)->fp_QCoreApplication_senderSignalIndex_c0 ()); -} - - -// void QCoreApplication::timerEvent(QTimerEvent *event) - -static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("event"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_timerEvent_1730_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QTimerEvent *arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCoreApplication_Adaptor *)cls)->cbs_timerEvent_1730_0 (arg1); -} - -static void _set_callback_cbs_timerEvent_1730_0 (void *cls, const gsi::Callback &cb) -{ - ((QCoreApplication_Adaptor *)cls)->cb_timerEvent_1730_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QCoreApplication (); - -static gsi::Methods methods_QCoreApplication_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("emit_aboutToQuit", "@brief Emitter for signal void QCoreApplication::aboutToQuit()\nCall this method to emit this signal.", false, &_init_emitter_aboutToQuit_3584, &_call_emitter_aboutToQuit_3584); - methods += new qt_gsi::GenericMethod ("emit_applicationNameChanged", "@brief Emitter for signal void QCoreApplication::applicationNameChanged()\nCall this method to emit this signal.", false, &_init_emitter_applicationNameChanged_0, &_call_emitter_applicationNameChanged_0); - methods += new qt_gsi::GenericMethod ("emit_applicationVersionChanged", "@brief Emitter for signal void QCoreApplication::applicationVersionChanged()\nCall this method to emit this signal.", false, &_init_emitter_applicationVersionChanged_0, &_call_emitter_applicationVersionChanged_0); - methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QCoreApplication::childEvent(QChildEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0); - methods += new qt_gsi::GenericMethod ("*childEvent", "@hide", false, &_init_cbs_childEvent_1701_0, &_call_cbs_childEvent_1701_0, &_set_callback_cbs_childEvent_1701_0); - methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QCoreApplication::customEvent(QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0); - methods += new qt_gsi::GenericMethod ("*customEvent", "@hide", false, &_init_cbs_customEvent_1217_0, &_call_cbs_customEvent_1217_0, &_set_callback_cbs_customEvent_1217_0); - methods += new qt_gsi::GenericMethod ("emit_destroyed", "@brief Emitter for signal void QCoreApplication::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302); - methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@brief Virtual method void QCoreApplication::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0); - methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@hide", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0, &_set_callback_cbs_disconnectNotify_2394_0); - methods += new qt_gsi::GenericMethod ("*event", "@brief Virtual method bool QCoreApplication::event(QEvent *)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0); - methods += new qt_gsi::GenericMethod ("*event", "@hide", false, &_init_cbs_event_1217_0, &_call_cbs_event_1217_0, &_set_callback_cbs_event_1217_0); - methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Virtual method bool QCoreApplication::eventFilter(QObject *watched, QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0); - methods += new qt_gsi::GenericMethod ("eventFilter", "@hide", false, &_init_cbs_eventFilter_2411_0, &_call_cbs_eventFilter_2411_0, &_set_callback_cbs_eventFilter_2411_0); - methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QCoreApplication::isSignalConnected(const QMetaMethod &signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_isSignalConnected_c2394, &_call_fp_isSignalConnected_c2394); - methods += new qt_gsi::GenericMethod ("emit_objectNameChanged", "@brief Emitter for signal void QCoreApplication::objectNameChanged(const QString &objectName)\nCall this method to emit this signal.", false, &_init_emitter_objectNameChanged_4567, &_call_emitter_objectNameChanged_4567); - methods += new qt_gsi::GenericMethod ("emit_organizationDomainChanged", "@brief Emitter for signal void QCoreApplication::organizationDomainChanged()\nCall this method to emit this signal.", false, &_init_emitter_organizationDomainChanged_0, &_call_emitter_organizationDomainChanged_0); - methods += new qt_gsi::GenericMethod ("emit_organizationNameChanged", "@brief Emitter for signal void QCoreApplication::organizationNameChanged()\nCall this method to emit this signal.", false, &_init_emitter_organizationNameChanged_0, &_call_emitter_organizationNameChanged_0); - methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QCoreApplication::receivers(const char *signal)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_receivers_c1731, &_call_fp_receivers_c1731); - methods += new qt_gsi::GenericMethod ("*resolveInterface", "@brief Method void *QCoreApplication::resolveInterface(const char *name, int revision)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_resolveInterface_c2390, &_call_fp_resolveInterface_c2390); - methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QCoreApplication::sender()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_sender_c0, &_call_fp_sender_c0); - methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QCoreApplication::senderSignalIndex()\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_senderSignalIndex_c0, &_call_fp_senderSignalIndex_c0); - methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QCoreApplication::timerEvent(QTimerEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0); - methods += new qt_gsi::GenericMethod ("*timerEvent", "@hide", false, &_init_cbs_timerEvent_1730_0, &_call_cbs_timerEvent_1730_0, &_set_callback_cbs_timerEvent_1730_0); - return methods; -} - -gsi::Class decl_QCoreApplication_Adaptor (qtdecl_QCoreApplication (), "Qt", "QCoreApplication", - gsi::constructor("new", &QCoreApplication_Adaptor::ctor_QCoreApplication_Adaptor_args, gsi::arg ("argv"), "@brief Creates a new QCoreApplication object\n\n@param argv The command line arguments to pass to Qt") -+ - methods_QCoreApplication_Adaptor (), - "@qt\n@brief Binding of QCoreApplication"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQCursor.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQCursor.cc deleted file mode 100644 index be1076b37..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQCursor.cc +++ /dev/null @@ -1,483 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQCursor.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QCursor - -// Constructor QCursor::QCursor() - - -static void _init_ctor_QCursor_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QCursor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QCursor ()); -} - - -// Constructor QCursor::QCursor(Qt::CursorShape shape) - - -static void _init_ctor_QCursor_1884 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("shape"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCursor_1884 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write (new QCursor (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// Constructor QCursor::QCursor(const QBitmap &bitmap, const QBitmap &mask, int hotX, int hotY) - - -static void _init_ctor_QCursor_5208 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("bitmap"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("mask"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("hotX", true, "-1"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("hotY", true, "-1"); - decl->add_arg (argspec_3); - decl->set_return_new (); -} - -static void _call_ctor_QCursor_5208 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QBitmap &arg1 = gsi::arg_reader() (args, heap); - const QBitmap &arg2 = gsi::arg_reader() (args, heap); - int arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (-1, heap); - int arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (-1, heap); - ret.write (new QCursor (arg1, arg2, arg3, arg4)); -} - - -// Constructor QCursor::QCursor(const QPixmap &pixmap, int hotX, int hotY) - - -static void _init_ctor_QCursor_3335 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pixmap"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("hotX", true, "-1"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("hotY", true, "-1"); - decl->add_arg (argspec_2); - decl->set_return_new (); -} - -static void _call_ctor_QCursor_3335 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QPixmap &arg1 = gsi::arg_reader() (args, heap); - int arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (-1, heap); - int arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (-1, heap); - ret.write (new QCursor (arg1, arg2, arg3)); -} - - -// Constructor QCursor::QCursor(const QCursor &cursor) - - -static void _init_ctor_QCursor_2032 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("cursor"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QCursor_2032 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCursor &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QCursor (arg1)); -} - - -// QBitmap QCursor::bitmap(Qt::ReturnByValueConstant) - - -static void _init_f_bitmap_c2927 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_bitmap_c2927 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write ((QBitmap)((QCursor *)cls)->bitmap (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// QBitmap QCursor::bitmap() - - -static void _init_f_bitmap_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_bitmap_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QBitmap)((QCursor *)cls)->bitmap ()); -} - - -// QPoint QCursor::hotSpot() - - -static void _init_f_hotSpot_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_hotSpot_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QPoint)((QCursor *)cls)->hotSpot ()); -} - - -// QBitmap QCursor::mask(Qt::ReturnByValueConstant) - - -static void _init_f_mask_c2927 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_mask_c2927 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write ((QBitmap)((QCursor *)cls)->mask (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// QBitmap QCursor::mask() - - -static void _init_f_mask_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_mask_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QBitmap)((QCursor *)cls)->mask ()); -} - - -// QCursor &QCursor::operator=(const QCursor &cursor) - - -static void _init_f_operator_eq__2032 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("cursor"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__2032 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QCursor &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QCursor &)((QCursor *)cls)->operator= (arg1)); -} - - -// QPixmap QCursor::pixmap() - - -static void _init_f_pixmap_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_pixmap_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QPixmap)((QCursor *)cls)->pixmap ()); -} - - -// void QCursor::setShape(Qt::CursorShape newShape) - - -static void _init_f_setShape_1884 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("newShape"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_setShape_1884 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCursor *)cls)->setShape (qt_gsi::QtToCppAdaptor(arg1).cref()); -} - - -// Qt::CursorShape QCursor::shape() - - -static void _init_f_shape_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_shape_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QCursor *)cls)->shape ())); -} - - -// void QCursor::swap(QCursor &other) - - -static void _init_f_swap_1337 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_swap_1337 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCursor &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QCursor *)cls)->swap (arg1); -} - - -// static QPoint QCursor::pos() - - -static void _init_f_pos_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_pos_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QPoint)QCursor::pos ()); -} - - -// static QPoint QCursor::pos(const QScreen *screen) - - -static void _init_f_pos_2006 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("screen"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_pos_2006 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QScreen *arg1 = gsi::arg_reader() (args, heap); - ret.write ((QPoint)QCursor::pos (arg1)); -} - - -// static void QCursor::setPos(int x, int y) - - -static void _init_f_setPos_1426 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("x"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("y"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_setPos_1426 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QCursor::setPos (arg1, arg2); -} - - -// static void QCursor::setPos(QScreen *screen, int x, int y) - - -static void _init_f_setPos_2629 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("screen"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("x"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("y"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_setPos_2629 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QScreen *arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QCursor::setPos (arg1, arg2, arg3); -} - - -// static void QCursor::setPos(const QPoint &p) - - -static void _init_f_setPos_1916 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("p"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setPos_1916 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QPoint &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QCursor::setPos (arg1); -} - - -// static void QCursor::setPos(QScreen *screen, const QPoint &p) - - -static void _init_f_setPos_3119 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("screen"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("p"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_setPos_3119 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QScreen *arg1 = gsi::arg_reader() (args, heap); - const QPoint &arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QCursor::setPos (arg1, arg2); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QCursor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCursor::QCursor()\nThis method creates an object of class QCursor.", &_init_ctor_QCursor_0, &_call_ctor_QCursor_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCursor::QCursor(Qt::CursorShape shape)\nThis method creates an object of class QCursor.", &_init_ctor_QCursor_1884, &_call_ctor_QCursor_1884); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCursor::QCursor(const QBitmap &bitmap, const QBitmap &mask, int hotX, int hotY)\nThis method creates an object of class QCursor.", &_init_ctor_QCursor_5208, &_call_ctor_QCursor_5208); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCursor::QCursor(const QPixmap &pixmap, int hotX, int hotY)\nThis method creates an object of class QCursor.", &_init_ctor_QCursor_3335, &_call_ctor_QCursor_3335); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCursor::QCursor(const QCursor &cursor)\nThis method creates an object of class QCursor.", &_init_ctor_QCursor_2032, &_call_ctor_QCursor_2032); - methods += new qt_gsi::GenericMethod ("bitmap", "@brief Method QBitmap QCursor::bitmap(Qt::ReturnByValueConstant)\n", true, &_init_f_bitmap_c2927, &_call_f_bitmap_c2927); - methods += new qt_gsi::GenericMethod ("bitmap", "@brief Method QBitmap QCursor::bitmap()\n", true, &_init_f_bitmap_c0, &_call_f_bitmap_c0); - methods += new qt_gsi::GenericMethod ("hotSpot", "@brief Method QPoint QCursor::hotSpot()\n", true, &_init_f_hotSpot_c0, &_call_f_hotSpot_c0); - methods += new qt_gsi::GenericMethod ("mask", "@brief Method QBitmap QCursor::mask(Qt::ReturnByValueConstant)\n", true, &_init_f_mask_c2927, &_call_f_mask_c2927); - methods += new qt_gsi::GenericMethod ("mask", "@brief Method QBitmap QCursor::mask()\n", true, &_init_f_mask_c0, &_call_f_mask_c0); - methods += new qt_gsi::GenericMethod ("assign", "@brief Method QCursor &QCursor::operator=(const QCursor &cursor)\n", false, &_init_f_operator_eq__2032, &_call_f_operator_eq__2032); - methods += new qt_gsi::GenericMethod ("pixmap", "@brief Method QPixmap QCursor::pixmap()\n", true, &_init_f_pixmap_c0, &_call_f_pixmap_c0); - methods += new qt_gsi::GenericMethod ("setShape|shape=", "@brief Method void QCursor::setShape(Qt::CursorShape newShape)\n", false, &_init_f_setShape_1884, &_call_f_setShape_1884); - methods += new qt_gsi::GenericMethod (":shape", "@brief Method Qt::CursorShape QCursor::shape()\n", true, &_init_f_shape_c0, &_call_f_shape_c0); - methods += new qt_gsi::GenericMethod ("swap", "@brief Method void QCursor::swap(QCursor &other)\n", false, &_init_f_swap_1337, &_call_f_swap_1337); - methods += new qt_gsi::GenericStaticMethod (":pos", "@brief Static method QPoint QCursor::pos()\nThis method is static and can be called without an instance.", &_init_f_pos_0, &_call_f_pos_0); - methods += new qt_gsi::GenericStaticMethod ("pos", "@brief Static method QPoint QCursor::pos(const QScreen *screen)\nThis method is static and can be called without an instance.", &_init_f_pos_2006, &_call_f_pos_2006); - methods += new qt_gsi::GenericStaticMethod ("setPos", "@brief Static method void QCursor::setPos(int x, int y)\nThis method is static and can be called without an instance.", &_init_f_setPos_1426, &_call_f_setPos_1426); - methods += new qt_gsi::GenericStaticMethod ("setPos", "@brief Static method void QCursor::setPos(QScreen *screen, int x, int y)\nThis method is static and can be called without an instance.", &_init_f_setPos_2629, &_call_f_setPos_2629); - methods += new qt_gsi::GenericStaticMethod ("setPos|pos=", "@brief Static method void QCursor::setPos(const QPoint &p)\nThis method is static and can be called without an instance.", &_init_f_setPos_1916, &_call_f_setPos_1916); - methods += new qt_gsi::GenericStaticMethod ("setPos", "@brief Static method void QCursor::setPos(QScreen *screen, const QPoint &p)\nThis method is static and can be called without an instance.", &_init_f_setPos_3119, &_call_f_setPos_3119); - return methods; -} - -gsi::Class decl_QCursor ("Qt", "QCursor", - methods_QCursor (), - "@qt\n@brief Binding of QCursor"); - - -GSI_QT_PUBLIC gsi::Class &qtdecl_QCursor () { return decl_QCursor; } - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQDataStream.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQDataStream.cc deleted file mode 100644 index ddb9c1eec..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQDataStream.cc +++ /dev/null @@ -1,808 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQDataStream.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QDataStream - static qint8 f_QDataStream_read_qint8(QDataStream *s) - { - qint8 v = 0; - *s >> v; - return v; - } - - static quint8 f_QDataStream_read_quint8(QDataStream *s) - { - quint8 v = 0; - *s >> v; - return v; - } - - static qint16 f_QDataStream_read_qint16(QDataStream *s) - { - qint16 v = 0; - *s >> v; - return v; - } - - static quint16 f_QDataStream_read_quint16(QDataStream *s) - { - quint16 v = 0; - *s >> v; - return v; - } - - static qint32 f_QDataStream_read_qint32(QDataStream *s) - { - qint32 v = 0; - *s >> v; - return v; - } - - static quint32 f_QDataStream_read_quint32(QDataStream *s) - { - quint32 v = 0; - *s >> v; - return v; - } - - static quint64 f_QDataStream_read_quint64(QDataStream *s) - { - quint64 v = 0; - *s >> v; - return v; - } - - static qint64 f_QDataStream_read_qint64(QDataStream *s) - { - qint64 v = 0; - *s >> v; - return v; - } - - static double f_QDataStream_read_double(QDataStream *s) - { - double v = 0; - *s >> v; - return v; - } - - static float f_QDataStream_read_float(QDataStream *s) - { - float v = 0; - *s >> v; - return v; - } - - static bool f_QDataStream_read_bool(QDataStream *s) - { - bool v = 0; - *s >> v; - return v; - } - - static qt_gsi::Converter::target_type f_QDataStream_read_qchar(QDataStream *s) - { - QChar v = QChar (0); - *s >> v; - return qt_gsi::Converter::toc (v); - } - - static qt_gsi::Converter >::target_type f_QDataStream_read_int_list(QDataStream *s) - { - QList v; - *s >> v; - return qt_gsi::Converter >::toc (v); - } - - static qt_gsi::Converter >::target_type f_QDataStream_read_int_vector(QDataStream *s) - { - QVector v; - *s >> v; - return qt_gsi::Converter >::toc (v); - } - - static QString f_QDataStream_read_string(QDataStream *s) - { - QString v; - *s >> v; - return v; - } - - static qt_gsi::Converter::target_type f_QDataStream_read_bytearray(QDataStream *s) - { - QByteArray v; - *s >> v; - return qt_gsi::Converter::toc (v); - } - - static QDataStream *f_QDataStream_put_qint8(QDataStream *s, qint8 v) - { - *s << v; - return s; - } - - static QDataStream *f_QDataStream_put_quint8(QDataStream *s, quint8 v) - { - *s << v; - return s; - } - - static QDataStream *f_QDataStream_put_qint16(QDataStream *s, qint16 v) - { - *s << v; - return s; - } - - static QDataStream *f_QDataStream_put_quint16(QDataStream *s, quint16 v) - { - *s << v; - return s; - } - - static QDataStream *f_QDataStream_put_qint32(QDataStream *s, qint32 v) - { - *s << v; - return s; - } - - static QDataStream *f_QDataStream_put_quint32(QDataStream *s, quint32 v) - { - *s << v; - return s; - } - - static QDataStream *f_QDataStream_put_qint64(QDataStream *s, qint64 v) - { - *s << v; - return s; - } - - static QDataStream *f_QDataStream_put_quint64(QDataStream *s, quint64 v) - { - *s << v; - return s; - } - - static QDataStream *f_QDataStream_put_float(QDataStream *s, float v) - { - *s << v; - return s; - } - - static QDataStream *f_QDataStream_put_double(QDataStream *s, double v) - { - *s << v; - return s; - } - - static QDataStream *f_QDataStream_put_bool(QDataStream *s, bool v) - { - *s << v; - return s; - } - - static QDataStream *f_QDataStream_put_qchar(QDataStream *s, const qt_gsi::Converter::target_type &v) - { - *s << qt_gsi::Converter::toq (v); - return s; - } - - static QDataStream *f_QDataStream_put_int_list(QDataStream *s, const qt_gsi::Converter >::target_type &v) - { - *s << qt_gsi::Converter >::toq (v); - return s; - } - - static QDataStream *f_QDataStream_put_int_vector(QDataStream *s, const qt_gsi::Converter >::target_type &v) - { - *s << qt_gsi::Converter >::toq (v); - return s; - } - - static QDataStream *f_QDataStream_put_string(QDataStream *s, const QString &v) - { - *s << v; - return s; - } - - static QDataStream *f_QDataStream_put_bytearray(QDataStream *s, const qt_gsi::Converter::target_type &v) - { - *s << qt_gsi::Converter::toq (v); - return s; - } - - -// Constructor QDataStream::QDataStream() - - -static void _init_ctor_QDataStream_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QDataStream_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QDataStream ()); -} - - -// Constructor QDataStream::QDataStream(QIODevice *) - - -static void _init_ctor_QDataStream_1447 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QDataStream_1447 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QIODevice *arg1 = gsi::arg_reader() (args, heap); - ret.write (new QDataStream (arg1)); -} - - -// Constructor QDataStream::QDataStream(QByteArray *, QFlags flags) - - -static void _init_ctor_QDataStream_5131 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("flags"); - decl->add_arg > (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QDataStream_5131 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QByteArray *arg1 = gsi::arg_reader() (args, heap); - QFlags arg2 = gsi::arg_reader >() (args, heap); - ret.write (new QDataStream (arg1, arg2)); -} - - -// Constructor QDataStream::QDataStream(const QByteArray &) - - -static void _init_ctor_QDataStream_2309 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QDataStream_2309 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QByteArray &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QDataStream (arg1)); -} - - -// void QDataStream::abortTransaction() - - -static void _init_f_abortTransaction_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_abortTransaction_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDataStream *)cls)->abortTransaction (); -} - - -// bool QDataStream::atEnd() - - -static void _init_f_atEnd_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_atEnd_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QDataStream *)cls)->atEnd ()); -} - - -// QDataStream::ByteOrder QDataStream::byteOrder() - - -static void _init_f_byteOrder_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_byteOrder_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QDataStream *)cls)->byteOrder ())); -} - - -// bool QDataStream::commitTransaction() - - -static void _init_f_commitTransaction_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_commitTransaction_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QDataStream *)cls)->commitTransaction ()); -} - - -// QIODevice *QDataStream::device() - - -static void _init_f_device_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_device_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QIODevice *)((QDataStream *)cls)->device ()); -} - - -// QDataStream::FloatingPointPrecision QDataStream::floatingPointPrecision() - - -static void _init_f_floatingPointPrecision_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_floatingPointPrecision_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QDataStream *)cls)->floatingPointPrecision ())); -} - - -// bool QDataStream::isDeviceTransactionStarted() - - -static void _init_f_isDeviceTransactionStarted_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isDeviceTransactionStarted_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QDataStream *)cls)->isDeviceTransactionStarted ()); -} - - -// void QDataStream::resetStatus() - - -static void _init_f_resetStatus_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_resetStatus_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDataStream *)cls)->resetStatus (); -} - - -// void QDataStream::rollbackTransaction() - - -static void _init_f_rollbackTransaction_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_rollbackTransaction_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDataStream *)cls)->rollbackTransaction (); -} - - -// void QDataStream::setByteOrder(QDataStream::ByteOrder) - - -static void _init_f_setByteOrder_2543 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_setByteOrder_2543 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDataStream *)cls)->setByteOrder (qt_gsi::QtToCppAdaptor(arg1).cref()); -} - - -// void QDataStream::setDevice(QIODevice *) - - -static void _init_f_setDevice_1447 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setDevice_1447 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QIODevice *arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDataStream *)cls)->setDevice (arg1); -} - - -// void QDataStream::setFloatingPointPrecision(QDataStream::FloatingPointPrecision precision) - - -static void _init_f_setFloatingPointPrecision_3913 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("precision"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_setFloatingPointPrecision_3913 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDataStream *)cls)->setFloatingPointPrecision (qt_gsi::QtToCppAdaptor(arg1).cref()); -} - - -// void QDataStream::setStatus(QDataStream::Status status) - - -static void _init_f_setStatus_2275 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("status"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_setStatus_2275 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDataStream *)cls)->setStatus (qt_gsi::QtToCppAdaptor(arg1).cref()); -} - - -// void QDataStream::setVersion(int) - - -static void _init_f_setVersion_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setVersion_767 (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); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDataStream *)cls)->setVersion (arg1); -} - - -// int QDataStream::skipRawData(int len) - - -static void _init_f_skipRawData_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("len"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_skipRawData_767 (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 ((int)((QDataStream *)cls)->skipRawData (arg1)); -} - - -// void QDataStream::startTransaction() - - -static void _init_f_startTransaction_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_startTransaction_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDataStream *)cls)->startTransaction (); -} - - -// QDataStream::Status QDataStream::status() - - -static void _init_f_status_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_status_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QDataStream *)cls)->status ())); -} - - -// int QDataStream::version() - - -static void _init_f_version_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_version_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QDataStream *)cls)->version ()); -} - - -// QDataStream &QDataStream::writeBytes(const char *, unsigned int len) - - -static void _init_f_writeBytes_3395 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("len"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_writeBytes_3395 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - unsigned int arg2 = gsi::arg_reader() (args, heap); - ret.write ((QDataStream &)((QDataStream *)cls)->writeBytes (arg1, arg2)); -} - - -// int QDataStream::writeRawData(const char *, int len) - - -static void _init_f_writeRawData_2390 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("len"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_writeRawData_2390 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const char *arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - ret.write ((int)((QDataStream *)cls)->writeRawData (arg1, arg2)); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QDataStream () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDataStream::QDataStream()\nThis method creates an object of class QDataStream.", &_init_ctor_QDataStream_0, &_call_ctor_QDataStream_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDataStream::QDataStream(QIODevice *)\nThis method creates an object of class QDataStream.", &_init_ctor_QDataStream_1447, &_call_ctor_QDataStream_1447); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDataStream::QDataStream(QByteArray *, QFlags flags)\nThis method creates an object of class QDataStream.", &_init_ctor_QDataStream_5131, &_call_ctor_QDataStream_5131); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDataStream::QDataStream(const QByteArray &)\nThis method creates an object of class QDataStream.", &_init_ctor_QDataStream_2309, &_call_ctor_QDataStream_2309); - methods += new qt_gsi::GenericMethod ("abortTransaction", "@brief Method void QDataStream::abortTransaction()\n", false, &_init_f_abortTransaction_0, &_call_f_abortTransaction_0); - methods += new qt_gsi::GenericMethod ("atEnd", "@brief Method bool QDataStream::atEnd()\n", true, &_init_f_atEnd_c0, &_call_f_atEnd_c0); - methods += new qt_gsi::GenericMethod (":byteOrder", "@brief Method QDataStream::ByteOrder QDataStream::byteOrder()\n", true, &_init_f_byteOrder_c0, &_call_f_byteOrder_c0); - methods += new qt_gsi::GenericMethod ("commitTransaction", "@brief Method bool QDataStream::commitTransaction()\n", false, &_init_f_commitTransaction_0, &_call_f_commitTransaction_0); - methods += new qt_gsi::GenericMethod (":device", "@brief Method QIODevice *QDataStream::device()\n", true, &_init_f_device_c0, &_call_f_device_c0); - methods += new qt_gsi::GenericMethod (":floatingPointPrecision", "@brief Method QDataStream::FloatingPointPrecision QDataStream::floatingPointPrecision()\n", true, &_init_f_floatingPointPrecision_c0, &_call_f_floatingPointPrecision_c0); - methods += new qt_gsi::GenericMethod ("isDeviceTransactionStarted?", "@brief Method bool QDataStream::isDeviceTransactionStarted()\n", true, &_init_f_isDeviceTransactionStarted_c0, &_call_f_isDeviceTransactionStarted_c0); - methods += new qt_gsi::GenericMethod ("resetStatus", "@brief Method void QDataStream::resetStatus()\n", false, &_init_f_resetStatus_0, &_call_f_resetStatus_0); - methods += new qt_gsi::GenericMethod ("rollbackTransaction", "@brief Method void QDataStream::rollbackTransaction()\n", false, &_init_f_rollbackTransaction_0, &_call_f_rollbackTransaction_0); - methods += new qt_gsi::GenericMethod ("setByteOrder|byteOrder=", "@brief Method void QDataStream::setByteOrder(QDataStream::ByteOrder)\n", false, &_init_f_setByteOrder_2543, &_call_f_setByteOrder_2543); - methods += new qt_gsi::GenericMethod ("setDevice|device=", "@brief Method void QDataStream::setDevice(QIODevice *)\n", false, &_init_f_setDevice_1447, &_call_f_setDevice_1447); - methods += new qt_gsi::GenericMethod ("setFloatingPointPrecision|floatingPointPrecision=", "@brief Method void QDataStream::setFloatingPointPrecision(QDataStream::FloatingPointPrecision precision)\n", false, &_init_f_setFloatingPointPrecision_3913, &_call_f_setFloatingPointPrecision_3913); - methods += new qt_gsi::GenericMethod ("setStatus|status=", "@brief Method void QDataStream::setStatus(QDataStream::Status status)\n", false, &_init_f_setStatus_2275, &_call_f_setStatus_2275); - methods += new qt_gsi::GenericMethod ("setVersion|version=", "@brief Method void QDataStream::setVersion(int)\n", false, &_init_f_setVersion_767, &_call_f_setVersion_767); - methods += new qt_gsi::GenericMethod ("skipRawData", "@brief Method int QDataStream::skipRawData(int len)\n", false, &_init_f_skipRawData_767, &_call_f_skipRawData_767); - methods += new qt_gsi::GenericMethod ("startTransaction", "@brief Method void QDataStream::startTransaction()\n", false, &_init_f_startTransaction_0, &_call_f_startTransaction_0); - methods += new qt_gsi::GenericMethod (":status", "@brief Method QDataStream::Status QDataStream::status()\n", true, &_init_f_status_c0, &_call_f_status_c0); - methods += new qt_gsi::GenericMethod (":version", "@brief Method int QDataStream::version()\n", true, &_init_f_version_c0, &_call_f_version_c0); - methods += new qt_gsi::GenericMethod ("writeBytes", "@brief Method QDataStream &QDataStream::writeBytes(const char *, unsigned int len)\n", false, &_init_f_writeBytes_3395, &_call_f_writeBytes_3395); - methods += new qt_gsi::GenericMethod ("writeRawData", "@brief Method int QDataStream::writeRawData(const char *, int len)\n", false, &_init_f_writeRawData_2390, &_call_f_writeRawData_2390); - return methods; -} - -gsi::Class &qtdecl_QIODeviceBase (); - -gsi::Class decl_QDataStream (qtdecl_QIODeviceBase (), "Qt", "QDataStream", - gsi::method_ext("read_i8", &f_QDataStream_read_qint8, "@brief Non-ambiguous adaptation of the corresponding operator>>") + - gsi::method_ext("read_ui8", &f_QDataStream_read_quint8, "@brief Non-ambiguous adaptation of the corresponding operator>>") + - gsi::method_ext("read_i16", &f_QDataStream_read_qint16, "@brief Non-ambiguous adaptation of the corresponding operator>>") + - gsi::method_ext("read_ui16", &f_QDataStream_read_quint16, "@brief Non-ambiguous adaptation of the corresponding operator>>") + - gsi::method_ext("read_i32", &f_QDataStream_read_qint32, "@brief Non-ambiguous adaptation of the corresponding operator>>") + - gsi::method_ext("read_ui32", &f_QDataStream_read_quint32, "@brief Non-ambiguous adaptation of the corresponding operator>>") + - gsi::method_ext("read_i64", &f_QDataStream_read_qint64, "@brief Non-ambiguous adaptation of the corresponding operator>>") + - gsi::method_ext("read_ui64", &f_QDataStream_read_quint64, "@brief Non-ambiguous adaptation of the corresponding operator>>") + - gsi::method_ext("read_d", &f_QDataStream_read_double, "@brief Non-ambiguous adaptation of the corresponding operator>>") + - gsi::method_ext("read_f", &f_QDataStream_read_float, "@brief Non-ambiguous adaptation of the corresponding operator>>") + - gsi::method_ext("read_b", &f_QDataStream_read_bool, "@brief Non-ambiguous adaptation of the corresponding operator>>") + - gsi::method_ext("read_qc", &f_QDataStream_read_qchar, "@brief Non-ambiguous adaptation of the corresponding operator>>") + - gsi::method_ext("read_il", &f_QDataStream_read_int_list, "@brief Non-ambiguous adaptation of the corresponding operator>>") + - gsi::method_ext("read_iv", &f_QDataStream_read_int_vector, "@brief Non-ambiguous adaptation of the corresponding operator>>") + - gsi::method_ext("read_s", &f_QDataStream_read_string, "@brief Non-ambiguous adaptation of the corresponding operator>>") + - gsi::method_ext("read_ba", &f_QDataStream_read_bytearray, "@brief Non-ambiguous adaptation of the corresponding operator>>") + - gsi::method_ext("put_i8", &f_QDataStream_put_qint8, "@brief Non-ambiguous adaptation of the corresponding operator<<") + - gsi::method_ext("put_ui8", &f_QDataStream_put_quint8, "@brief Non-ambiguous adaptation of the corresponding operator<<") + - gsi::method_ext("put_i16", &f_QDataStream_put_qint16, "@brief Non-ambiguous adaptation of the corresponding operator<<") + - gsi::method_ext("put_ui16", &f_QDataStream_put_quint16, "@brief Non-ambiguous adaptation of the corresponding operator<<") + - gsi::method_ext("put_i32", &f_QDataStream_put_qint32, "@brief Non-ambiguous adaptation of the corresponding operator<<") + - gsi::method_ext("put_ui32", &f_QDataStream_put_quint32, "@brief Non-ambiguous adaptation of the corresponding operator<<") + - gsi::method_ext("put_i64", &f_QDataStream_put_qint64, "@brief Non-ambiguous adaptation of the corresponding operator<<") + - gsi::method_ext("put_ui64", &f_QDataStream_put_quint64, "@brief Non-ambiguous adaptation of the corresponding operator<<") + - gsi::method_ext("put_d", &f_QDataStream_put_double, "@brief Non-ambiguous adaptation of the corresponding operator<<") + - gsi::method_ext("put_f", &f_QDataStream_put_float, "@brief Non-ambiguous adaptation of the corresponding operator<<") + - gsi::method_ext("put_b", &f_QDataStream_put_bool, "@brief Non-ambiguous adaptation of the corresponding operator<<") + - gsi::method_ext("put_qc", &f_QDataStream_put_qchar, "@brief Non-ambiguous adaptation of the corresponding operator<<") + - gsi::method_ext("put_il", &f_QDataStream_put_int_list, "@brief Non-ambiguous adaptation of the corresponding operator<<") + - gsi::method_ext("put_iv", &f_QDataStream_put_int_vector, "@brief Non-ambiguous adaptation of the corresponding operator<<") + - gsi::method_ext("put_s", &f_QDataStream_put_string, "@brief Non-ambiguous adaptation of the corresponding operator<<") + - gsi::method_ext("put_ba", &f_QDataStream_put_bytearray, "@brief Non-ambiguous adaptation of the corresponding operator<<") -+ - methods_QDataStream (), - "@qt\n@brief Binding of QDataStream"); - - -GSI_QT_PUBLIC gsi::Class &qtdecl_QDataStream () { return decl_QDataStream; } - -} - - -// Implementation of the enum wrapper class for QDataStream::ByteOrder -namespace qt_gsi -{ - -static gsi::Enum decl_QDataStream_ByteOrder_Enum ("Qt", "QDataStream_ByteOrder", - gsi::enum_const ("BigEndian", QDataStream::BigEndian, "@brief Enum constant QDataStream::BigEndian") + - gsi::enum_const ("LittleEndian", QDataStream::LittleEndian, "@brief Enum constant QDataStream::LittleEndian"), - "@qt\n@brief This class represents the QDataStream::ByteOrder enum"); - -static gsi::QFlagsClass decl_QDataStream_ByteOrder_Enums ("Qt", "QDataStream_QFlags_ByteOrder", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QDataStream_ByteOrder_Enum_in_parent (decl_QDataStream_ByteOrder_Enum.defs ()); -static gsi::ClassExt decl_QDataStream_ByteOrder_Enum_as_child (decl_QDataStream_ByteOrder_Enum, "ByteOrder"); -static gsi::ClassExt decl_QDataStream_ByteOrder_Enums_as_child (decl_QDataStream_ByteOrder_Enums, "QFlags_ByteOrder"); - -} - - -// Implementation of the enum wrapper class for QDataStream::FloatingPointPrecision -namespace qt_gsi -{ - -static gsi::Enum decl_QDataStream_FloatingPointPrecision_Enum ("Qt", "QDataStream_FloatingPointPrecision", - gsi::enum_const ("SinglePrecision", QDataStream::SinglePrecision, "@brief Enum constant QDataStream::SinglePrecision") + - gsi::enum_const ("DoublePrecision", QDataStream::DoublePrecision, "@brief Enum constant QDataStream::DoublePrecision"), - "@qt\n@brief This class represents the QDataStream::FloatingPointPrecision enum"); - -static gsi::QFlagsClass decl_QDataStream_FloatingPointPrecision_Enums ("Qt", "QDataStream_QFlags_FloatingPointPrecision", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QDataStream_FloatingPointPrecision_Enum_in_parent (decl_QDataStream_FloatingPointPrecision_Enum.defs ()); -static gsi::ClassExt decl_QDataStream_FloatingPointPrecision_Enum_as_child (decl_QDataStream_FloatingPointPrecision_Enum, "FloatingPointPrecision"); -static gsi::ClassExt decl_QDataStream_FloatingPointPrecision_Enums_as_child (decl_QDataStream_FloatingPointPrecision_Enums, "QFlags_FloatingPointPrecision"); - -} - - -// Implementation of the enum wrapper class for QDataStream::Status -namespace qt_gsi -{ - -static gsi::Enum decl_QDataStream_Status_Enum ("Qt", "QDataStream_Status", - gsi::enum_const ("Ok", QDataStream::Ok, "@brief Enum constant QDataStream::Ok") + - gsi::enum_const ("ReadPastEnd", QDataStream::ReadPastEnd, "@brief Enum constant QDataStream::ReadPastEnd") + - gsi::enum_const ("ReadCorruptData", QDataStream::ReadCorruptData, "@brief Enum constant QDataStream::ReadCorruptData") + - gsi::enum_const ("WriteFailed", QDataStream::WriteFailed, "@brief Enum constant QDataStream::WriteFailed"), - "@qt\n@brief This class represents the QDataStream::Status enum"); - -static gsi::QFlagsClass decl_QDataStream_Status_Enums ("Qt", "QDataStream_QFlags_Status", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QDataStream_Status_Enum_in_parent (decl_QDataStream_Status_Enum.defs ()); -static gsi::ClassExt decl_QDataStream_Status_Enum_as_child (decl_QDataStream_Status_Enum, "Status"); -static gsi::ClassExt decl_QDataStream_Status_Enums_as_child (decl_QDataStream_Status_Enums, "QFlags_Status"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQDate.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQDate.cc deleted file mode 100644 index 6c746ef03..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQDate.cc +++ /dev/null @@ -1,1017 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQDate.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QDate - -// Constructor QDate::QDate() - - -static void _init_ctor_QDate_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QDate_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QDate ()); -} - - -// Constructor QDate::QDate(int y, int m, int d) - - -static void _init_ctor_QDate_2085 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("y"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("m"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("d"); - decl->add_arg (argspec_2); - decl->set_return_new (); -} - -static void _call_ctor_QDate_2085 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ret.write (new QDate (arg1, arg2, arg3)); -} - - -// Constructor QDate::QDate(int y, int m, int d, QCalendar cal) - - -static void _init_ctor_QDate_3288 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("y"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("m"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("d"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("cal"); - decl->add_arg (argspec_3); - decl->set_return_new (); -} - -static void _call_ctor_QDate_3288 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - QCalendar arg4 = gsi::arg_reader() (args, heap); - ret.write (new QDate (arg1, arg2, arg3, arg4)); -} - - -// QDate QDate::addDays(qint64 days) - - -static void _init_f_addDays_c986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("days"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_addDays_c986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - ret.write ((QDate)((QDate *)cls)->addDays (arg1)); -} - - -// QDate QDate::addMonths(int months) - - -static void _init_f_addMonths_c767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("months"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_addMonths_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 ((QDate)((QDate *)cls)->addMonths (arg1)); -} - - -// QDate QDate::addMonths(int months, QCalendar cal) - - -static void _init_f_addMonths_c1970 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("months"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cal"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_addMonths_c1970 (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); - QCalendar arg2 = gsi::arg_reader() (args, heap); - ret.write ((QDate)((QDate *)cls)->addMonths (arg1, arg2)); -} - - -// QDate QDate::addYears(int years) - - -static void _init_f_addYears_c767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("years"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_addYears_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 ((QDate)((QDate *)cls)->addYears (arg1)); -} - - -// QDate QDate::addYears(int years, QCalendar cal) - - -static void _init_f_addYears_c1970 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("years"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cal"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_addYears_c1970 (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); - QCalendar arg2 = gsi::arg_reader() (args, heap); - ret.write ((QDate)((QDate *)cls)->addYears (arg1, arg2)); -} - - -// int QDate::day() - - -static void _init_f_day_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_day_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QDate *)cls)->day ()); -} - - -// int QDate::day(QCalendar cal) - - -static void _init_f_day_c1311 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("cal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_day_c1311 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCalendar arg1 = gsi::arg_reader() (args, heap); - ret.write ((int)((QDate *)cls)->day (arg1)); -} - - -// int QDate::dayOfWeek() - - -static void _init_f_dayOfWeek_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_dayOfWeek_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QDate *)cls)->dayOfWeek ()); -} - - -// int QDate::dayOfWeek(QCalendar cal) - - -static void _init_f_dayOfWeek_c1311 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("cal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_dayOfWeek_c1311 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCalendar arg1 = gsi::arg_reader() (args, heap); - ret.write ((int)((QDate *)cls)->dayOfWeek (arg1)); -} - - -// int QDate::dayOfYear() - - -static void _init_f_dayOfYear_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_dayOfYear_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QDate *)cls)->dayOfYear ()); -} - - -// int QDate::dayOfYear(QCalendar cal) - - -static void _init_f_dayOfYear_c1311 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("cal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_dayOfYear_c1311 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCalendar arg1 = gsi::arg_reader() (args, heap); - ret.write ((int)((QDate *)cls)->dayOfYear (arg1)); -} - - -// int QDate::daysInMonth() - - -static void _init_f_daysInMonth_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_daysInMonth_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QDate *)cls)->daysInMonth ()); -} - - -// int QDate::daysInMonth(QCalendar cal) - - -static void _init_f_daysInMonth_c1311 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("cal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_daysInMonth_c1311 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCalendar arg1 = gsi::arg_reader() (args, heap); - ret.write ((int)((QDate *)cls)->daysInMonth (arg1)); -} - - -// int QDate::daysInYear() - - -static void _init_f_daysInYear_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_daysInYear_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QDate *)cls)->daysInYear ()); -} - - -// int QDate::daysInYear(QCalendar cal) - - -static void _init_f_daysInYear_c1311 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("cal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_daysInYear_c1311 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCalendar arg1 = gsi::arg_reader() (args, heap); - ret.write ((int)((QDate *)cls)->daysInYear (arg1)); -} - - -// qint64 QDate::daysTo(QDate d) - - -static void _init_f_daysTo_c899 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("d"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_daysTo_c899 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QDate arg1 = gsi::arg_reader() (args, heap); - ret.write ((qint64)((QDate *)cls)->daysTo (arg1)); -} - - -// QDateTime QDate::endOfDay(Qt::TimeSpec spec, int offsetSeconds) - - -static void _init_f_endOfDay_c2202 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("spec", true, "Qt::LocalTime"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("offsetSeconds", true, "0"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_endOfDay_c2202 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::LocalTime), heap); - int arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - ret.write ((QDateTime)((QDate *)cls)->endOfDay (qt_gsi::QtToCppAdaptor(arg1).cref(), arg2)); -} - - -// QDateTime QDate::endOfDay(const QTimeZone &zone) - - -static void _init_f_endOfDay_c2205 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("zone"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_endOfDay_c2205 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QTimeZone &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QDateTime)((QDate *)cls)->endOfDay (arg1)); -} - - -// void QDate::getDate(int *year, int *month, int *day) - - -static void _init_f_getDate_c2643 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("year"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("month"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("day"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_getDate_c2643 (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); - int *arg2 = gsi::arg_reader() (args, heap); - int *arg3 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDate *)cls)->getDate (arg1, arg2, arg3); -} - - -// bool QDate::isNull() - - -static void _init_f_isNull_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isNull_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QDate *)cls)->isNull ()); -} - - -// bool QDate::isValid() - - -static void _init_f_isValid_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isValid_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QDate *)cls)->isValid ()); -} - - -// int QDate::month() - - -static void _init_f_month_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_month_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QDate *)cls)->month ()); -} - - -// int QDate::month(QCalendar cal) - - -static void _init_f_month_c1311 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("cal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_month_c1311 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCalendar arg1 = gsi::arg_reader() (args, heap); - ret.write ((int)((QDate *)cls)->month (arg1)); -} - - -// bool QDate::setDate(int year, int month, int day) - - -static void _init_f_setDate_2085 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("year"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("month"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("day"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_setDate_2085 (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); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QDate *)cls)->setDate (arg1, arg2, arg3)); -} - - -// bool QDate::setDate(int year, int month, int day, QCalendar cal) - - -static void _init_f_setDate_3288 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("year"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("month"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("day"); - decl->add_arg (argspec_2); - static gsi::ArgSpecBase argspec_3 ("cal"); - decl->add_arg (argspec_3); - decl->set_return (); -} - -static void _call_f_setDate_3288 (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); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - QCalendar arg4 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QDate *)cls)->setDate (arg1, arg2, arg3, arg4)); -} - - -// QDateTime QDate::startOfDay(Qt::TimeSpec spec, int offsetSeconds) - - -static void _init_f_startOfDay_c2202 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("spec", true, "Qt::LocalTime"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("offsetSeconds", true, "0"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_startOfDay_c2202 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::LocalTime), heap); - int arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - ret.write ((QDateTime)((QDate *)cls)->startOfDay (qt_gsi::QtToCppAdaptor(arg1).cref(), arg2)); -} - - -// QDateTime QDate::startOfDay(const QTimeZone &zone) - - -static void _init_f_startOfDay_c2205 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("zone"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_startOfDay_c2205 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QTimeZone &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QDateTime)((QDate *)cls)->startOfDay (arg1)); -} - - -// qint64 QDate::toJulianDay() - - -static void _init_f_toJulianDay_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toJulianDay_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qint64)((QDate *)cls)->toJulianDay ()); -} - - -// QString QDate::toString(Qt::DateFormat format) - - -static void _init_f_toString_c1748 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("format", true, "Qt::TextDate"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_toString_c1748 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::TextDate), heap); - ret.write ((QString)((QDate *)cls)->toString (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// QString QDate::toString(const QString &format, QCalendar cal) - - -static void _init_f_toString_c3228 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("format"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cal", true, "QCalendar()"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_toString_c3228 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - QCalendar arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QCalendar(), heap); - ret.write ((QString)((QDate *)cls)->toString (arg1, arg2)); -} - - -// QString QDate::toString(QStringView format, QCalendar cal) - - -static void _init_f_toString_c2762 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("format"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cal", true, "QCalendar()"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_toString_c2762 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QStringView arg1 = gsi::arg_reader() (args, heap); - QCalendar arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QCalendar(), heap); - ret.write ((QString)((QDate *)cls)->toString (arg1, arg2)); -} - - -// int QDate::weekNumber(int *yearNum) - - -static void _init_f_weekNumber_c953 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("yearNum", true, "nullptr"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_weekNumber_c953 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int *arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (nullptr, heap); - ret.write ((int)((QDate *)cls)->weekNumber (arg1)); -} - - -// int QDate::year() - - -static void _init_f_year_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_year_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QDate *)cls)->year ()); -} - - -// int QDate::year(QCalendar cal) - - -static void _init_f_year_c1311 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("cal"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_year_c1311 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QCalendar arg1 = gsi::arg_reader() (args, heap); - ret.write ((int)((QDate *)cls)->year (arg1)); -} - - -// static QDate QDate::currentDate() - - -static void _init_f_currentDate_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_currentDate_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QDate)QDate::currentDate ()); -} - - -// static QDate QDate::fromJulianDay(qint64 jd_) - - -static void _init_f_fromJulianDay_986 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("jd_"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_fromJulianDay_986 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - ret.write ((QDate)QDate::fromJulianDay (arg1)); -} - - -// static QDate QDate::fromString(QStringView string, Qt::DateFormat format) - - -static void _init_f_fromString_3199 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("string"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("format", true, "Qt::TextDate"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_fromString_3199 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QStringView arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::TextDate), heap); - ret.write ((QDate)QDate::fromString (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// static QDate QDate::fromString(QStringView string, QStringView format, QCalendar cal) - - -static void _init_f_fromString_4213 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("string"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("format"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("cal", true, "QCalendar()"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_fromString_4213 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QStringView arg1 = gsi::arg_reader() (args, heap); - QStringView arg2 = gsi::arg_reader() (args, heap); - QCalendar arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QCalendar(), heap); - ret.write ((QDate)QDate::fromString (arg1, arg2, arg3)); -} - - -// static QDate QDate::fromString(const QString &string, QStringView format, QCalendar cal) - - -static void _init_f_fromString_4679 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("string"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("format"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("cal", true, "QCalendar()"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_fromString_4679 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - QStringView arg2 = gsi::arg_reader() (args, heap); - QCalendar arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QCalendar(), heap); - ret.write ((QDate)QDate::fromString (arg1, arg2, arg3)); -} - - -// static QDate QDate::fromString(const QString &string, Qt::DateFormat format) - - -static void _init_f_fromString_3665 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("string"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("format", true, "Qt::TextDate"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_fromString_3665 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::TextDate), heap); - ret.write ((QDate)QDate::fromString (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// static QDate QDate::fromString(const QString &string, const QString &format, QCalendar cal) - - -static void _init_f_fromString_5145 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("string"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("format"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("cal", true, "QCalendar()"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_fromString_5145 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - const QString &arg2 = gsi::arg_reader() (args, heap); - QCalendar arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QCalendar(), heap); - ret.write ((QDate)QDate::fromString (arg1, arg2, arg3)); -} - - -// static bool QDate::isLeapYear(int year) - - -static void _init_f_isLeapYear_767 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("year"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_isLeapYear_767 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)QDate::isLeapYear (arg1)); -} - - -// static bool QDate::isValid(int y, int m, int d) - - -static void _init_f_isValid_2085 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("y"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("m"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("d"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_isValid_2085 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - int arg1 = gsi::arg_reader() (args, heap); - int arg2 = gsi::arg_reader() (args, heap); - int arg3 = gsi::arg_reader() (args, heap); - ret.write ((bool)QDate::isValid (arg1, arg2, arg3)); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QDate () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDate::QDate()\nThis method creates an object of class QDate.", &_init_ctor_QDate_0, &_call_ctor_QDate_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDate::QDate(int y, int m, int d)\nThis method creates an object of class QDate.", &_init_ctor_QDate_2085, &_call_ctor_QDate_2085); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDate::QDate(int y, int m, int d, QCalendar cal)\nThis method creates an object of class QDate.", &_init_ctor_QDate_3288, &_call_ctor_QDate_3288); - methods += new qt_gsi::GenericMethod ("addDays", "@brief Method QDate QDate::addDays(qint64 days)\n", true, &_init_f_addDays_c986, &_call_f_addDays_c986); - methods += new qt_gsi::GenericMethod ("addMonths", "@brief Method QDate QDate::addMonths(int months)\n", true, &_init_f_addMonths_c767, &_call_f_addMonths_c767); - methods += new qt_gsi::GenericMethod ("addMonths", "@brief Method QDate QDate::addMonths(int months, QCalendar cal)\n", true, &_init_f_addMonths_c1970, &_call_f_addMonths_c1970); - methods += new qt_gsi::GenericMethod ("addYears", "@brief Method QDate QDate::addYears(int years)\n", true, &_init_f_addYears_c767, &_call_f_addYears_c767); - methods += new qt_gsi::GenericMethod ("addYears", "@brief Method QDate QDate::addYears(int years, QCalendar cal)\n", true, &_init_f_addYears_c1970, &_call_f_addYears_c1970); - methods += new qt_gsi::GenericMethod ("day", "@brief Method int QDate::day()\n", true, &_init_f_day_c0, &_call_f_day_c0); - methods += new qt_gsi::GenericMethod ("day", "@brief Method int QDate::day(QCalendar cal)\n", true, &_init_f_day_c1311, &_call_f_day_c1311); - methods += new qt_gsi::GenericMethod ("dayOfWeek", "@brief Method int QDate::dayOfWeek()\n", true, &_init_f_dayOfWeek_c0, &_call_f_dayOfWeek_c0); - methods += new qt_gsi::GenericMethod ("dayOfWeek", "@brief Method int QDate::dayOfWeek(QCalendar cal)\n", true, &_init_f_dayOfWeek_c1311, &_call_f_dayOfWeek_c1311); - methods += new qt_gsi::GenericMethod ("dayOfYear", "@brief Method int QDate::dayOfYear()\n", true, &_init_f_dayOfYear_c0, &_call_f_dayOfYear_c0); - methods += new qt_gsi::GenericMethod ("dayOfYear", "@brief Method int QDate::dayOfYear(QCalendar cal)\n", true, &_init_f_dayOfYear_c1311, &_call_f_dayOfYear_c1311); - methods += new qt_gsi::GenericMethod ("daysInMonth", "@brief Method int QDate::daysInMonth()\n", true, &_init_f_daysInMonth_c0, &_call_f_daysInMonth_c0); - methods += new qt_gsi::GenericMethod ("daysInMonth", "@brief Method int QDate::daysInMonth(QCalendar cal)\n", true, &_init_f_daysInMonth_c1311, &_call_f_daysInMonth_c1311); - methods += new qt_gsi::GenericMethod ("daysInYear", "@brief Method int QDate::daysInYear()\n", true, &_init_f_daysInYear_c0, &_call_f_daysInYear_c0); - methods += new qt_gsi::GenericMethod ("daysInYear", "@brief Method int QDate::daysInYear(QCalendar cal)\n", true, &_init_f_daysInYear_c1311, &_call_f_daysInYear_c1311); - methods += new qt_gsi::GenericMethod ("daysTo", "@brief Method qint64 QDate::daysTo(QDate d)\n", true, &_init_f_daysTo_c899, &_call_f_daysTo_c899); - methods += new qt_gsi::GenericMethod ("endOfDay", "@brief Method QDateTime QDate::endOfDay(Qt::TimeSpec spec, int offsetSeconds)\n", true, &_init_f_endOfDay_c2202, &_call_f_endOfDay_c2202); - methods += new qt_gsi::GenericMethod ("endOfDay", "@brief Method QDateTime QDate::endOfDay(const QTimeZone &zone)\n", true, &_init_f_endOfDay_c2205, &_call_f_endOfDay_c2205); - methods += new qt_gsi::GenericMethod ("getDate", "@brief Method void QDate::getDate(int *year, int *month, int *day)\n", true, &_init_f_getDate_c2643, &_call_f_getDate_c2643); - methods += new qt_gsi::GenericMethod ("isNull?", "@brief Method bool QDate::isNull()\n", true, &_init_f_isNull_c0, &_call_f_isNull_c0); - methods += new qt_gsi::GenericMethod ("isValid?", "@brief Method bool QDate::isValid()\n", true, &_init_f_isValid_c0, &_call_f_isValid_c0); - methods += new qt_gsi::GenericMethod ("month", "@brief Method int QDate::month()\n", true, &_init_f_month_c0, &_call_f_month_c0); - methods += new qt_gsi::GenericMethod ("month", "@brief Method int QDate::month(QCalendar cal)\n", true, &_init_f_month_c1311, &_call_f_month_c1311); - methods += new qt_gsi::GenericMethod ("setDate", "@brief Method bool QDate::setDate(int year, int month, int day)\n", false, &_init_f_setDate_2085, &_call_f_setDate_2085); - methods += new qt_gsi::GenericMethod ("setDate", "@brief Method bool QDate::setDate(int year, int month, int day, QCalendar cal)\n", false, &_init_f_setDate_3288, &_call_f_setDate_3288); - methods += new qt_gsi::GenericMethod ("startOfDay", "@brief Method QDateTime QDate::startOfDay(Qt::TimeSpec spec, int offsetSeconds)\n", true, &_init_f_startOfDay_c2202, &_call_f_startOfDay_c2202); - methods += new qt_gsi::GenericMethod ("startOfDay", "@brief Method QDateTime QDate::startOfDay(const QTimeZone &zone)\n", true, &_init_f_startOfDay_c2205, &_call_f_startOfDay_c2205); - methods += new qt_gsi::GenericMethod ("toJulianDay", "@brief Method qint64 QDate::toJulianDay()\n", true, &_init_f_toJulianDay_c0, &_call_f_toJulianDay_c0); - methods += new qt_gsi::GenericMethod ("toString", "@brief Method QString QDate::toString(Qt::DateFormat format)\n", true, &_init_f_toString_c1748, &_call_f_toString_c1748); - methods += new qt_gsi::GenericMethod ("toString", "@brief Method QString QDate::toString(const QString &format, QCalendar cal)\n", true, &_init_f_toString_c3228, &_call_f_toString_c3228); - methods += new qt_gsi::GenericMethod ("toString", "@brief Method QString QDate::toString(QStringView format, QCalendar cal)\n", true, &_init_f_toString_c2762, &_call_f_toString_c2762); - methods += new qt_gsi::GenericMethod ("weekNumber", "@brief Method int QDate::weekNumber(int *yearNum)\n", true, &_init_f_weekNumber_c953, &_call_f_weekNumber_c953); - methods += new qt_gsi::GenericMethod ("year", "@brief Method int QDate::year()\n", true, &_init_f_year_c0, &_call_f_year_c0); - methods += new qt_gsi::GenericMethod ("year", "@brief Method int QDate::year(QCalendar cal)\n", true, &_init_f_year_c1311, &_call_f_year_c1311); - methods += new qt_gsi::GenericStaticMethod ("currentDate", "@brief Static method QDate QDate::currentDate()\nThis method is static and can be called without an instance.", &_init_f_currentDate_0, &_call_f_currentDate_0); - methods += new qt_gsi::GenericStaticMethod ("fromJulianDay", "@brief Static method QDate QDate::fromJulianDay(qint64 jd_)\nThis method is static and can be called without an instance.", &_init_f_fromJulianDay_986, &_call_f_fromJulianDay_986); - methods += new qt_gsi::GenericStaticMethod ("fromString", "@brief Static method QDate QDate::fromString(QStringView string, Qt::DateFormat format)\nThis method is static and can be called without an instance.", &_init_f_fromString_3199, &_call_f_fromString_3199); - methods += new qt_gsi::GenericStaticMethod ("fromString", "@brief Static method QDate QDate::fromString(QStringView string, QStringView format, QCalendar cal)\nThis method is static and can be called without an instance.", &_init_f_fromString_4213, &_call_f_fromString_4213); - methods += new qt_gsi::GenericStaticMethod ("fromString", "@brief Static method QDate QDate::fromString(const QString &string, QStringView format, QCalendar cal)\nThis method is static and can be called without an instance.", &_init_f_fromString_4679, &_call_f_fromString_4679); - methods += new qt_gsi::GenericStaticMethod ("fromString", "@brief Static method QDate QDate::fromString(const QString &string, Qt::DateFormat format)\nThis method is static and can be called without an instance.", &_init_f_fromString_3665, &_call_f_fromString_3665); - methods += new qt_gsi::GenericStaticMethod ("fromString", "@brief Static method QDate QDate::fromString(const QString &string, const QString &format, QCalendar cal)\nThis method is static and can be called without an instance.", &_init_f_fromString_5145, &_call_f_fromString_5145); - methods += new qt_gsi::GenericStaticMethod ("isLeapYear?", "@brief Static method bool QDate::isLeapYear(int year)\nThis method is static and can be called without an instance.", &_init_f_isLeapYear_767, &_call_f_isLeapYear_767); - methods += new qt_gsi::GenericStaticMethod ("isValid?", "@brief Static method bool QDate::isValid(int y, int m, int d)\nThis method is static and can be called without an instance.", &_init_f_isValid_2085, &_call_f_isValid_2085); - return methods; -} - -gsi::Class decl_QDate ("Qt", "QDate", - methods_QDate (), - "@qt\n@brief Binding of QDate"); - - -GSI_QT_PUBLIC gsi::Class &qtdecl_QDate () { return decl_QDate; } - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQDateTime.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQDateTime.cc deleted file mode 100644 index 986e3a8e8..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQDateTime.cc +++ /dev/null @@ -1,1120 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQDateTime.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include -#include -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QDateTime - -// Constructor QDateTime::QDateTime() - - -static void _init_ctor_QDateTime_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QDateTime_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QDateTime ()); -} - - -// Constructor QDateTime::QDateTime(QDate date, QTime time, Qt::TimeSpec spec, int offsetSeconds) - - -static void _init_ctor_QDateTime_3801 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("date"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("time"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("spec", true, "Qt::LocalTime"); - decl->add_arg::target_type & > (argspec_2); - static gsi::ArgSpecBase argspec_3 ("offsetSeconds", true, "0"); - decl->add_arg (argspec_3); - decl->set_return_new (); -} - -static void _call_ctor_QDateTime_3801 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QDate arg1 = gsi::arg_reader() (args, heap); - QTime arg2 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg3 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::LocalTime), heap); - int arg4 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - ret.write (new QDateTime (arg1, arg2, qt_gsi::QtToCppAdaptor(arg3).cref(), arg4)); -} - - -// Constructor QDateTime::QDateTime(QDate date, QTime time, const QTimeZone &timeZone) - - -static void _init_ctor_QDateTime_3804 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("date"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("time"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("timeZone"); - decl->add_arg (argspec_2); - decl->set_return_new (); -} - -static void _call_ctor_QDateTime_3804 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QDate arg1 = gsi::arg_reader() (args, heap); - QTime arg2 = gsi::arg_reader() (args, heap); - const QTimeZone &arg3 = gsi::arg_reader() (args, heap); - ret.write (new QDateTime (arg1, arg2, arg3)); -} - - -// Constructor QDateTime::QDateTime(const QDateTime &other) - - -static void _init_ctor_QDateTime_2175 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QDateTime_2175 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QDateTime &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QDateTime (arg1)); -} - - -// QDateTime QDateTime::addDays(qint64 days) - - -static void _init_f_addDays_c986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("days"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_addDays_c986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - ret.write ((QDateTime)((QDateTime *)cls)->addDays (arg1)); -} - - -// QDateTime QDateTime::addMSecs(qint64 msecs) - - -static void _init_f_addMSecs_c986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("msecs"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_addMSecs_c986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - ret.write ((QDateTime)((QDateTime *)cls)->addMSecs (arg1)); -} - - -// QDateTime QDateTime::addMonths(int months) - - -static void _init_f_addMonths_c767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("months"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_addMonths_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 ((QDateTime)((QDateTime *)cls)->addMonths (arg1)); -} - - -// QDateTime QDateTime::addSecs(qint64 secs) - - -static void _init_f_addSecs_c986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("secs"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_addSecs_c986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - ret.write ((QDateTime)((QDateTime *)cls)->addSecs (arg1)); -} - - -// QDateTime QDateTime::addYears(int years) - - -static void _init_f_addYears_c767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("years"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_addYears_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 ((QDateTime)((QDateTime *)cls)->addYears (arg1)); -} - - -// QDate QDateTime::date() - - -static void _init_f_date_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_date_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QDate)((QDateTime *)cls)->date ()); -} - - -// qint64 QDateTime::daysTo(const QDateTime &) - - -static void _init_f_daysTo_c2175 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_daysTo_c2175 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QDateTime &arg1 = gsi::arg_reader() (args, heap); - ret.write ((qint64)((QDateTime *)cls)->daysTo (arg1)); -} - - -// bool QDateTime::isDaylightTime() - - -static void _init_f_isDaylightTime_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isDaylightTime_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QDateTime *)cls)->isDaylightTime ()); -} - - -// bool QDateTime::isNull() - - -static void _init_f_isNull_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isNull_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QDateTime *)cls)->isNull ()); -} - - -// bool QDateTime::isValid() - - -static void _init_f_isValid_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isValid_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QDateTime *)cls)->isValid ()); -} - - -// qint64 QDateTime::msecsTo(const QDateTime &) - - -static void _init_f_msecsTo_c2175 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_msecsTo_c2175 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QDateTime &arg1 = gsi::arg_reader() (args, heap); - ret.write ((qint64)((QDateTime *)cls)->msecsTo (arg1)); -} - - -// int QDateTime::offsetFromUtc() - - -static void _init_f_offsetFromUtc_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_offsetFromUtc_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QDateTime *)cls)->offsetFromUtc ()); -} - - -// QDateTime &QDateTime::operator=(const QDateTime &other) - - -static void _init_f_operator_eq__2175 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__2175 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QDateTime &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QDateTime &)((QDateTime *)cls)->operator= (arg1)); -} - - -// qint64 QDateTime::secsTo(const QDateTime &) - - -static void _init_f_secsTo_c2175 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_secsTo_c2175 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QDateTime &arg1 = gsi::arg_reader() (args, heap); - ret.write ((qint64)((QDateTime *)cls)->secsTo (arg1)); -} - - -// void QDateTime::setDate(QDate date) - - -static void _init_f_setDate_899 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("date"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setDate_899 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QDate arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDateTime *)cls)->setDate (arg1); -} - - -// void QDateTime::setMSecsSinceEpoch(qint64 msecs) - - -static void _init_f_setMSecsSinceEpoch_986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("msecs"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setMSecsSinceEpoch_986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDateTime *)cls)->setMSecsSinceEpoch (arg1); -} - - -// void QDateTime::setOffsetFromUtc(int offsetSeconds) - - -static void _init_f_setOffsetFromUtc_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("offsetSeconds"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setOffsetFromUtc_767 (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); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDateTime *)cls)->setOffsetFromUtc (arg1); -} - - -// void QDateTime::setSecsSinceEpoch(qint64 secs) - - -static void _init_f_setSecsSinceEpoch_986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("secs"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setSecsSinceEpoch_986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDateTime *)cls)->setSecsSinceEpoch (arg1); -} - - -// void QDateTime::setTime(QTime time) - - -static void _init_f_setTime_916 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("time"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setTime_916 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QTime arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDateTime *)cls)->setTime (arg1); -} - - -// void QDateTime::setTimeSpec(Qt::TimeSpec spec) - - -static void _init_f_setTimeSpec_1543 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("spec"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_setTimeSpec_1543 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDateTime *)cls)->setTimeSpec (qt_gsi::QtToCppAdaptor(arg1).cref()); -} - - -// void QDateTime::setTimeZone(const QTimeZone &toZone) - - -static void _init_f_setTimeZone_2205 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("toZone"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setTimeZone_2205 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QTimeZone &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDateTime *)cls)->setTimeZone (arg1); -} - - -// void QDateTime::swap(QDateTime &other) - - -static void _init_f_swap_1480 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_swap_1480 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QDateTime &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDateTime *)cls)->swap (arg1); -} - - -// QTime QDateTime::time() - - -static void _init_f_time_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_time_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QTime)((QDateTime *)cls)->time ()); -} - - -// Qt::TimeSpec QDateTime::timeSpec() - - -static void _init_f_timeSpec_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_timeSpec_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QDateTime *)cls)->timeSpec ())); -} - - -// QTimeZone QDateTime::timeZone() - - -static void _init_f_timeZone_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_timeZone_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QTimeZone)((QDateTime *)cls)->timeZone ()); -} - - -// QString QDateTime::timeZoneAbbreviation() - - -static void _init_f_timeZoneAbbreviation_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_timeZoneAbbreviation_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QDateTime *)cls)->timeZoneAbbreviation ()); -} - - -// QDateTime QDateTime::toLocalTime() - - -static void _init_f_toLocalTime_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toLocalTime_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QDateTime)((QDateTime *)cls)->toLocalTime ()); -} - - -// qint64 QDateTime::toMSecsSinceEpoch() - - -static void _init_f_toMSecsSinceEpoch_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toMSecsSinceEpoch_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qint64)((QDateTime *)cls)->toMSecsSinceEpoch ()); -} - - -// QDateTime QDateTime::toOffsetFromUtc(int offsetSeconds) - - -static void _init_f_toOffsetFromUtc_c767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("offsetSeconds"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toOffsetFromUtc_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 ((QDateTime)((QDateTime *)cls)->toOffsetFromUtc (arg1)); -} - - -// qint64 QDateTime::toSecsSinceEpoch() - - -static void _init_f_toSecsSinceEpoch_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toSecsSinceEpoch_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qint64)((QDateTime *)cls)->toSecsSinceEpoch ()); -} - - -// QString QDateTime::toString(Qt::DateFormat format) - - -static void _init_f_toString_c1748 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("format", true, "Qt::TextDate"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_toString_c1748 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::TextDate), heap); - ret.write ((QString)((QDateTime *)cls)->toString (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// QString QDateTime::toString(const QString &format, QCalendar cal) - - -static void _init_f_toString_c3228 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("format"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cal", true, "QCalendar()"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_toString_c3228 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - QCalendar arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QCalendar(), heap); - ret.write ((QString)((QDateTime *)cls)->toString (arg1, arg2)); -} - - -// QString QDateTime::toString(QStringView format, QCalendar cal) - - -static void _init_f_toString_c2762 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("format"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("cal", true, "QCalendar()"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_toString_c2762 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QStringView arg1 = gsi::arg_reader() (args, heap); - QCalendar arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QCalendar(), heap); - ret.write ((QString)((QDateTime *)cls)->toString (arg1, arg2)); -} - - -// QDateTime QDateTime::toTimeSpec(Qt::TimeSpec spec) - - -static void _init_f_toTimeSpec_c1543 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("spec"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_toTimeSpec_c1543 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write ((QDateTime)((QDateTime *)cls)->toTimeSpec (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// QDateTime QDateTime::toTimeZone(const QTimeZone &toZone) - - -static void _init_f_toTimeZone_c2205 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("toZone"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toTimeZone_c2205 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QTimeZone &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QDateTime)((QDateTime *)cls)->toTimeZone (arg1)); -} - - -// QDateTime QDateTime::toUTC() - - -static void _init_f_toUTC_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_toUTC_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QDateTime)((QDateTime *)cls)->toUTC ()); -} - - -// static QDateTime QDateTime::currentDateTime() - - -static void _init_f_currentDateTime_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_currentDateTime_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QDateTime)QDateTime::currentDateTime ()); -} - - -// static QDateTime QDateTime::currentDateTimeUtc() - - -static void _init_f_currentDateTimeUtc_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_currentDateTimeUtc_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QDateTime)QDateTime::currentDateTimeUtc ()); -} - - -// static qint64 QDateTime::currentMSecsSinceEpoch() - - -static void _init_f_currentMSecsSinceEpoch_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_currentMSecsSinceEpoch_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qint64)QDateTime::currentMSecsSinceEpoch ()); -} - - -// static qint64 QDateTime::currentSecsSinceEpoch() - - -static void _init_f_currentSecsSinceEpoch_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_currentSecsSinceEpoch_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qint64)QDateTime::currentSecsSinceEpoch ()); -} - - -// static QDateTime QDateTime::fromMSecsSinceEpoch(qint64 msecs, Qt::TimeSpec spec, int offsetFromUtc) - - -static void _init_f_fromMSecsSinceEpoch_3080 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("msecs"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("spec", true, "Qt::LocalTime"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("offsetFromUtc", true, "0"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_fromMSecsSinceEpoch_3080 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::LocalTime), heap); - int arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - ret.write ((QDateTime)QDateTime::fromMSecsSinceEpoch (arg1, qt_gsi::QtToCppAdaptor(arg2).cref(), arg3)); -} - - -// static QDateTime QDateTime::fromMSecsSinceEpoch(qint64 msecs, const QTimeZone &timeZone) - - -static void _init_f_fromMSecsSinceEpoch_3083 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("msecs"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("timeZone"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_fromMSecsSinceEpoch_3083 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - const QTimeZone &arg2 = gsi::arg_reader() (args, heap); - ret.write ((QDateTime)QDateTime::fromMSecsSinceEpoch (arg1, arg2)); -} - - -// static QDateTime QDateTime::fromSecsSinceEpoch(qint64 secs, Qt::TimeSpec spec, int offsetFromUtc) - - -static void _init_f_fromSecsSinceEpoch_3080 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("secs"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("spec", true, "Qt::LocalTime"); - decl->add_arg::target_type & > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("offsetFromUtc", true, "0"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_fromSecsSinceEpoch_3080 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::LocalTime), heap); - int arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - ret.write ((QDateTime)QDateTime::fromSecsSinceEpoch (arg1, qt_gsi::QtToCppAdaptor(arg2).cref(), arg3)); -} - - -// static QDateTime QDateTime::fromSecsSinceEpoch(qint64 secs, const QTimeZone &timeZone) - - -static void _init_f_fromSecsSinceEpoch_3083 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("secs"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("timeZone"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_fromSecsSinceEpoch_3083 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - const QTimeZone &arg2 = gsi::arg_reader() (args, heap); - ret.write ((QDateTime)QDateTime::fromSecsSinceEpoch (arg1, arg2)); -} - - -// static QDateTime QDateTime::fromString(QStringView string, Qt::DateFormat format) - - -static void _init_f_fromString_3199 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("string"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("format", true, "Qt::TextDate"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_fromString_3199 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QStringView arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::TextDate), heap); - ret.write ((QDateTime)QDateTime::fromString (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// static QDateTime QDateTime::fromString(QStringView string, QStringView format, QCalendar cal) - - -static void _init_f_fromString_4213 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("string"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("format"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("cal", true, "QCalendar()"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_fromString_4213 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QStringView arg1 = gsi::arg_reader() (args, heap); - QStringView arg2 = gsi::arg_reader() (args, heap); - QCalendar arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QCalendar(), heap); - ret.write ((QDateTime)QDateTime::fromString (arg1, arg2, arg3)); -} - - -// static QDateTime QDateTime::fromString(const QString &string, QStringView format, QCalendar cal) - - -static void _init_f_fromString_4679 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("string"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("format"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("cal", true, "QCalendar()"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_fromString_4679 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - QStringView arg2 = gsi::arg_reader() (args, heap); - QCalendar arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QCalendar(), heap); - ret.write ((QDateTime)QDateTime::fromString (arg1, arg2, arg3)); -} - - -// static QDateTime QDateTime::fromString(const QString &string, Qt::DateFormat format) - - -static void _init_f_fromString_3665 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("string"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("format", true, "Qt::TextDate"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_fromString_3665 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::TextDate), heap); - ret.write ((QDateTime)QDateTime::fromString (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// static QDateTime QDateTime::fromString(const QString &string, const QString &format, QCalendar cal) - - -static void _init_f_fromString_5145 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("string"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("format"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("cal", true, "QCalendar()"); - decl->add_arg (argspec_2); - decl->set_return (); -} - -static void _call_f_fromString_5145 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - const QString &arg2 = gsi::arg_reader() (args, heap); - QCalendar arg3 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QCalendar(), heap); - ret.write ((QDateTime)QDateTime::fromString (arg1, arg2, arg3)); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QDateTime () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDateTime::QDateTime()\nThis method creates an object of class QDateTime.", &_init_ctor_QDateTime_0, &_call_ctor_QDateTime_0); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDateTime::QDateTime(QDate date, QTime time, Qt::TimeSpec spec, int offsetSeconds)\nThis method creates an object of class QDateTime.", &_init_ctor_QDateTime_3801, &_call_ctor_QDateTime_3801); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDateTime::QDateTime(QDate date, QTime time, const QTimeZone &timeZone)\nThis method creates an object of class QDateTime.", &_init_ctor_QDateTime_3804, &_call_ctor_QDateTime_3804); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDateTime::QDateTime(const QDateTime &other)\nThis method creates an object of class QDateTime.", &_init_ctor_QDateTime_2175, &_call_ctor_QDateTime_2175); - methods += new qt_gsi::GenericMethod ("addDays", "@brief Method QDateTime QDateTime::addDays(qint64 days)\n", true, &_init_f_addDays_c986, &_call_f_addDays_c986); - methods += new qt_gsi::GenericMethod ("addMSecs", "@brief Method QDateTime QDateTime::addMSecs(qint64 msecs)\n", true, &_init_f_addMSecs_c986, &_call_f_addMSecs_c986); - methods += new qt_gsi::GenericMethod ("addMonths", "@brief Method QDateTime QDateTime::addMonths(int months)\n", true, &_init_f_addMonths_c767, &_call_f_addMonths_c767); - methods += new qt_gsi::GenericMethod ("addSecs", "@brief Method QDateTime QDateTime::addSecs(qint64 secs)\n", true, &_init_f_addSecs_c986, &_call_f_addSecs_c986); - methods += new qt_gsi::GenericMethod ("addYears", "@brief Method QDateTime QDateTime::addYears(int years)\n", true, &_init_f_addYears_c767, &_call_f_addYears_c767); - methods += new qt_gsi::GenericMethod (":date", "@brief Method QDate QDateTime::date()\n", true, &_init_f_date_c0, &_call_f_date_c0); - methods += new qt_gsi::GenericMethod ("daysTo", "@brief Method qint64 QDateTime::daysTo(const QDateTime &)\n", true, &_init_f_daysTo_c2175, &_call_f_daysTo_c2175); - methods += new qt_gsi::GenericMethod ("isDaylightTime?", "@brief Method bool QDateTime::isDaylightTime()\n", true, &_init_f_isDaylightTime_c0, &_call_f_isDaylightTime_c0); - methods += new qt_gsi::GenericMethod ("isNull?", "@brief Method bool QDateTime::isNull()\n", true, &_init_f_isNull_c0, &_call_f_isNull_c0); - methods += new qt_gsi::GenericMethod ("isValid?", "@brief Method bool QDateTime::isValid()\n", true, &_init_f_isValid_c0, &_call_f_isValid_c0); - methods += new qt_gsi::GenericMethod ("msecsTo", "@brief Method qint64 QDateTime::msecsTo(const QDateTime &)\n", true, &_init_f_msecsTo_c2175, &_call_f_msecsTo_c2175); - methods += new qt_gsi::GenericMethod (":offsetFromUtc", "@brief Method int QDateTime::offsetFromUtc()\n", true, &_init_f_offsetFromUtc_c0, &_call_f_offsetFromUtc_c0); - methods += new qt_gsi::GenericMethod ("assign", "@brief Method QDateTime &QDateTime::operator=(const QDateTime &other)\n", false, &_init_f_operator_eq__2175, &_call_f_operator_eq__2175); - methods += new qt_gsi::GenericMethod ("secsTo", "@brief Method qint64 QDateTime::secsTo(const QDateTime &)\n", true, &_init_f_secsTo_c2175, &_call_f_secsTo_c2175); - methods += new qt_gsi::GenericMethod ("setDate|date=", "@brief Method void QDateTime::setDate(QDate date)\n", false, &_init_f_setDate_899, &_call_f_setDate_899); - methods += new qt_gsi::GenericMethod ("setMSecsSinceEpoch", "@brief Method void QDateTime::setMSecsSinceEpoch(qint64 msecs)\n", false, &_init_f_setMSecsSinceEpoch_986, &_call_f_setMSecsSinceEpoch_986); - methods += new qt_gsi::GenericMethod ("setOffsetFromUtc|offsetFromUtc=", "@brief Method void QDateTime::setOffsetFromUtc(int offsetSeconds)\n", false, &_init_f_setOffsetFromUtc_767, &_call_f_setOffsetFromUtc_767); - methods += new qt_gsi::GenericMethod ("setSecsSinceEpoch", "@brief Method void QDateTime::setSecsSinceEpoch(qint64 secs)\n", false, &_init_f_setSecsSinceEpoch_986, &_call_f_setSecsSinceEpoch_986); - methods += new qt_gsi::GenericMethod ("setTime|time=", "@brief Method void QDateTime::setTime(QTime time)\n", false, &_init_f_setTime_916, &_call_f_setTime_916); - methods += new qt_gsi::GenericMethod ("setTimeSpec|timeSpec=", "@brief Method void QDateTime::setTimeSpec(Qt::TimeSpec spec)\n", false, &_init_f_setTimeSpec_1543, &_call_f_setTimeSpec_1543); - methods += new qt_gsi::GenericMethod ("setTimeZone|timeZone=", "@brief Method void QDateTime::setTimeZone(const QTimeZone &toZone)\n", false, &_init_f_setTimeZone_2205, &_call_f_setTimeZone_2205); - methods += new qt_gsi::GenericMethod ("swap", "@brief Method void QDateTime::swap(QDateTime &other)\n", false, &_init_f_swap_1480, &_call_f_swap_1480); - methods += new qt_gsi::GenericMethod (":time", "@brief Method QTime QDateTime::time()\n", true, &_init_f_time_c0, &_call_f_time_c0); - methods += new qt_gsi::GenericMethod (":timeSpec", "@brief Method Qt::TimeSpec QDateTime::timeSpec()\n", true, &_init_f_timeSpec_c0, &_call_f_timeSpec_c0); - methods += new qt_gsi::GenericMethod (":timeZone", "@brief Method QTimeZone QDateTime::timeZone()\n", true, &_init_f_timeZone_c0, &_call_f_timeZone_c0); - methods += new qt_gsi::GenericMethod ("timeZoneAbbreviation", "@brief Method QString QDateTime::timeZoneAbbreviation()\n", true, &_init_f_timeZoneAbbreviation_c0, &_call_f_timeZoneAbbreviation_c0); - methods += new qt_gsi::GenericMethod ("toLocalTime", "@brief Method QDateTime QDateTime::toLocalTime()\n", true, &_init_f_toLocalTime_c0, &_call_f_toLocalTime_c0); - methods += new qt_gsi::GenericMethod ("toMSecsSinceEpoch", "@brief Method qint64 QDateTime::toMSecsSinceEpoch()\n", true, &_init_f_toMSecsSinceEpoch_c0, &_call_f_toMSecsSinceEpoch_c0); - methods += new qt_gsi::GenericMethod ("toOffsetFromUtc", "@brief Method QDateTime QDateTime::toOffsetFromUtc(int offsetSeconds)\n", true, &_init_f_toOffsetFromUtc_c767, &_call_f_toOffsetFromUtc_c767); - methods += new qt_gsi::GenericMethod ("toSecsSinceEpoch", "@brief Method qint64 QDateTime::toSecsSinceEpoch()\n", true, &_init_f_toSecsSinceEpoch_c0, &_call_f_toSecsSinceEpoch_c0); - methods += new qt_gsi::GenericMethod ("toString", "@brief Method QString QDateTime::toString(Qt::DateFormat format)\n", true, &_init_f_toString_c1748, &_call_f_toString_c1748); - methods += new qt_gsi::GenericMethod ("toString", "@brief Method QString QDateTime::toString(const QString &format, QCalendar cal)\n", true, &_init_f_toString_c3228, &_call_f_toString_c3228); - methods += new qt_gsi::GenericMethod ("toString", "@brief Method QString QDateTime::toString(QStringView format, QCalendar cal)\n", true, &_init_f_toString_c2762, &_call_f_toString_c2762); - methods += new qt_gsi::GenericMethod ("toTimeSpec", "@brief Method QDateTime QDateTime::toTimeSpec(Qt::TimeSpec spec)\n", true, &_init_f_toTimeSpec_c1543, &_call_f_toTimeSpec_c1543); - methods += new qt_gsi::GenericMethod ("toTimeZone", "@brief Method QDateTime QDateTime::toTimeZone(const QTimeZone &toZone)\n", true, &_init_f_toTimeZone_c2205, &_call_f_toTimeZone_c2205); - methods += new qt_gsi::GenericMethod ("toUTC", "@brief Method QDateTime QDateTime::toUTC()\n", true, &_init_f_toUTC_c0, &_call_f_toUTC_c0); - methods += new qt_gsi::GenericStaticMethod ("currentDateTime", "@brief Static method QDateTime QDateTime::currentDateTime()\nThis method is static and can be called without an instance.", &_init_f_currentDateTime_0, &_call_f_currentDateTime_0); - methods += new qt_gsi::GenericStaticMethod ("currentDateTimeUtc", "@brief Static method QDateTime QDateTime::currentDateTimeUtc()\nThis method is static and can be called without an instance.", &_init_f_currentDateTimeUtc_0, &_call_f_currentDateTimeUtc_0); - methods += new qt_gsi::GenericStaticMethod ("currentMSecsSinceEpoch", "@brief Static method qint64 QDateTime::currentMSecsSinceEpoch()\nThis method is static and can be called without an instance.", &_init_f_currentMSecsSinceEpoch_0, &_call_f_currentMSecsSinceEpoch_0); - methods += new qt_gsi::GenericStaticMethod ("currentSecsSinceEpoch", "@brief Static method qint64 QDateTime::currentSecsSinceEpoch()\nThis method is static and can be called without an instance.", &_init_f_currentSecsSinceEpoch_0, &_call_f_currentSecsSinceEpoch_0); - methods += new qt_gsi::GenericStaticMethod ("fromMSecsSinceEpoch", "@brief Static method QDateTime QDateTime::fromMSecsSinceEpoch(qint64 msecs, Qt::TimeSpec spec, int offsetFromUtc)\nThis method is static and can be called without an instance.", &_init_f_fromMSecsSinceEpoch_3080, &_call_f_fromMSecsSinceEpoch_3080); - methods += new qt_gsi::GenericStaticMethod ("fromMSecsSinceEpoch", "@brief Static method QDateTime QDateTime::fromMSecsSinceEpoch(qint64 msecs, const QTimeZone &timeZone)\nThis method is static and can be called without an instance.", &_init_f_fromMSecsSinceEpoch_3083, &_call_f_fromMSecsSinceEpoch_3083); - methods += new qt_gsi::GenericStaticMethod ("fromSecsSinceEpoch", "@brief Static method QDateTime QDateTime::fromSecsSinceEpoch(qint64 secs, Qt::TimeSpec spec, int offsetFromUtc)\nThis method is static and can be called without an instance.", &_init_f_fromSecsSinceEpoch_3080, &_call_f_fromSecsSinceEpoch_3080); - methods += new qt_gsi::GenericStaticMethod ("fromSecsSinceEpoch", "@brief Static method QDateTime QDateTime::fromSecsSinceEpoch(qint64 secs, const QTimeZone &timeZone)\nThis method is static and can be called without an instance.", &_init_f_fromSecsSinceEpoch_3083, &_call_f_fromSecsSinceEpoch_3083); - methods += new qt_gsi::GenericStaticMethod ("fromString", "@brief Static method QDateTime QDateTime::fromString(QStringView string, Qt::DateFormat format)\nThis method is static and can be called without an instance.", &_init_f_fromString_3199, &_call_f_fromString_3199); - methods += new qt_gsi::GenericStaticMethod ("fromString", "@brief Static method QDateTime QDateTime::fromString(QStringView string, QStringView format, QCalendar cal)\nThis method is static and can be called without an instance.", &_init_f_fromString_4213, &_call_f_fromString_4213); - methods += new qt_gsi::GenericStaticMethod ("fromString", "@brief Static method QDateTime QDateTime::fromString(const QString &string, QStringView format, QCalendar cal)\nThis method is static and can be called without an instance.", &_init_f_fromString_4679, &_call_f_fromString_4679); - methods += new qt_gsi::GenericStaticMethod ("fromString", "@brief Static method QDateTime QDateTime::fromString(const QString &string, Qt::DateFormat format)\nThis method is static and can be called without an instance.", &_init_f_fromString_3665, &_call_f_fromString_3665); - methods += new qt_gsi::GenericStaticMethod ("fromString", "@brief Static method QDateTime QDateTime::fromString(const QString &string, const QString &format, QCalendar cal)\nThis method is static and can be called without an instance.", &_init_f_fromString_5145, &_call_f_fromString_5145); - return methods; -} - -gsi::Class decl_QDateTime ("Qt", "QDateTime", - methods_QDateTime (), - "@qt\n@brief Binding of QDateTime"); - - -GSI_QT_PUBLIC gsi::Class &qtdecl_QDateTime () { return decl_QDateTime; } - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQDeadlineTimer.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQDeadlineTimer.cc deleted file mode 100644 index e72a21fd5..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQDeadlineTimer.cc +++ /dev/null @@ -1,512 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQDeadlineTimer.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QDeadlineTimer - -// Constructor QDeadlineTimer::QDeadlineTimer(Qt::TimerType type_) - - -static void _init_ctor_QDeadlineTimer_1680 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("type_", true, "Qt::CoarseTimer"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QDeadlineTimer_1680 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CoarseTimer), heap); - ret.write (new QDeadlineTimer (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// Constructor QDeadlineTimer::QDeadlineTimer(QDeadlineTimer::ForeverConstant, Qt::TimerType type_) - - -static void _init_ctor_QDeadlineTimer_5079 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg::target_type & > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("type_", true, "Qt::CoarseTimer"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QDeadlineTimer_5079 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CoarseTimer), heap); - ret.write (new QDeadlineTimer (qt_gsi::QtToCppAdaptor(arg1).cref(), qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// Constructor QDeadlineTimer::QDeadlineTimer(qint64 msecs, Qt::TimerType type) - - -static void _init_ctor_QDeadlineTimer_2558 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("msecs"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("type", true, "Qt::CoarseTimer"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return_new (); -} - -static void _call_ctor_QDeadlineTimer_2558 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CoarseTimer), heap); - ret.write (new QDeadlineTimer (arg1, qt_gsi::QtToCppAdaptor(arg2).cref())); -} - - -// QPair QDeadlineTimer::_q_data() - - -static void _init_f__q_data_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f__q_data_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QPair)((QDeadlineTimer *)cls)->_q_data ()); -} - - -// qint64 QDeadlineTimer::deadline() - - -static void _init_f_deadline_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_deadline_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qint64)((QDeadlineTimer *)cls)->deadline ()); -} - - -// qint64 QDeadlineTimer::deadlineNSecs() - - -static void _init_f_deadlineNSecs_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_deadlineNSecs_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qint64)((QDeadlineTimer *)cls)->deadlineNSecs ()); -} - - -// bool QDeadlineTimer::hasExpired() - - -static void _init_f_hasExpired_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_hasExpired_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QDeadlineTimer *)cls)->hasExpired ()); -} - - -// bool QDeadlineTimer::isForever() - - -static void _init_f_isForever_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isForever_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QDeadlineTimer *)cls)->isForever ()); -} - - -// QDeadlineTimer &QDeadlineTimer::operator+=(qint64 msecs) - - -static void _init_f_operator_plus__eq__986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("msecs"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_plus__eq__986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - ret.write ((QDeadlineTimer &)((QDeadlineTimer *)cls)->operator+= (arg1)); -} - - -// QDeadlineTimer &QDeadlineTimer::operator-=(qint64 msecs) - - -static void _init_f_operator_minus__eq__986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("msecs"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_minus__eq__986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - ret.write ((QDeadlineTimer &)((QDeadlineTimer *)cls)->operator-= (arg1)); -} - - -// qint64 QDeadlineTimer::remainingTime() - - -static void _init_f_remainingTime_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_remainingTime_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qint64)((QDeadlineTimer *)cls)->remainingTime ()); -} - - -// std::chrono::nanoseconds QDeadlineTimer::remainingTimeAsDuration() - - -static void _init_f_remainingTimeAsDuration_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_remainingTimeAsDuration_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((std::chrono::nanoseconds)((QDeadlineTimer *)cls)->remainingTimeAsDuration ()); -} - - -// qint64 QDeadlineTimer::remainingTimeNSecs() - - -static void _init_f_remainingTimeNSecs_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_remainingTimeNSecs_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((qint64)((QDeadlineTimer *)cls)->remainingTimeNSecs ()); -} - - -// void QDeadlineTimer::setDeadline(qint64 msecs, Qt::TimerType timerType) - - -static void _init_f_setDeadline_2558 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("msecs"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("timerType", true, "Qt::CoarseTimer"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_setDeadline_2558 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CoarseTimer), heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDeadlineTimer *)cls)->setDeadline (arg1, qt_gsi::QtToCppAdaptor(arg2).cref()); -} - - -// void QDeadlineTimer::setPreciseDeadline(qint64 secs, qint64 nsecs, Qt::TimerType type) - - -static void _init_f_setPreciseDeadline_3436 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("secs"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("nsecs", true, "0"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("type", true, "Qt::CoarseTimer"); - decl->add_arg::target_type & > (argspec_2); - decl->set_return (); -} - -static void _call_f_setPreciseDeadline_3436 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - qint64 arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - const qt_gsi::Converter::target_type & arg3 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CoarseTimer), heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDeadlineTimer *)cls)->setPreciseDeadline (arg1, arg2, qt_gsi::QtToCppAdaptor(arg3).cref()); -} - - -// void QDeadlineTimer::setPreciseRemainingTime(qint64 secs, qint64 nsecs, Qt::TimerType type) - - -static void _init_f_setPreciseRemainingTime_3436 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("secs"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("nsecs", true, "0"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("type", true, "Qt::CoarseTimer"); - decl->add_arg::target_type & > (argspec_2); - decl->set_return (); -} - -static void _call_f_setPreciseRemainingTime_3436 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - qint64 arg2 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (0, heap); - const qt_gsi::Converter::target_type & arg3 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CoarseTimer), heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDeadlineTimer *)cls)->setPreciseRemainingTime (arg1, arg2, qt_gsi::QtToCppAdaptor(arg3).cref()); -} - - -// void QDeadlineTimer::setRemainingTime(qint64 msecs, Qt::TimerType type) - - -static void _init_f_setRemainingTime_2558 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("msecs"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("type", true, "Qt::CoarseTimer"); - decl->add_arg::target_type & > (argspec_1); - decl->set_return (); -} - -static void _call_f_setRemainingTime_2558 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - qint64 arg1 = gsi::arg_reader() (args, heap); - const qt_gsi::Converter::target_type & arg2 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CoarseTimer), heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDeadlineTimer *)cls)->setRemainingTime (arg1, qt_gsi::QtToCppAdaptor(arg2).cref()); -} - - -// void QDeadlineTimer::setTimerType(Qt::TimerType type) - - -static void _init_f_setTimerType_1680 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("type"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_setTimerType_1680 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDeadlineTimer *)cls)->setTimerType (qt_gsi::QtToCppAdaptor(arg1).cref()); -} - - -// void QDeadlineTimer::swap(QDeadlineTimer &other) - - -static void _init_f_swap_2002 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_swap_2002 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QDeadlineTimer &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDeadlineTimer *)cls)->swap (arg1); -} - - -// Qt::TimerType QDeadlineTimer::timerType() - - -static void _init_f_timerType_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_timerType_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(((QDeadlineTimer *)cls)->timerType ())); -} - - -// static QDeadlineTimer QDeadlineTimer::addNSecs(QDeadlineTimer dt, qint64 nsecs) - - -static void _init_f_addNSecs_2698 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("dt"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("nsecs"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_addNSecs_2698 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QDeadlineTimer arg1 = gsi::arg_reader() (args, heap); - qint64 arg2 = gsi::arg_reader() (args, heap); - ret.write ((QDeadlineTimer)QDeadlineTimer::addNSecs (arg1, arg2)); -} - - -// static QDeadlineTimer QDeadlineTimer::current(Qt::TimerType timerType) - - -static void _init_f_current_1680 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("timerType", true, "Qt::CoarseTimer"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return (); -} - -static void _call_f_current_1680 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = args ? gsi::arg_reader::target_type & >() (args, heap) : gsi::arg_maker::target_type & >() (qt_gsi::CppToQtReadAdaptor(heap, Qt::CoarseTimer), heap); - ret.write ((QDeadlineTimer)QDeadlineTimer::current (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QDeadlineTimer () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDeadlineTimer::QDeadlineTimer(Qt::TimerType type_)\nThis method creates an object of class QDeadlineTimer.", &_init_ctor_QDeadlineTimer_1680, &_call_ctor_QDeadlineTimer_1680); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDeadlineTimer::QDeadlineTimer(QDeadlineTimer::ForeverConstant, Qt::TimerType type_)\nThis method creates an object of class QDeadlineTimer.", &_init_ctor_QDeadlineTimer_5079, &_call_ctor_QDeadlineTimer_5079); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDeadlineTimer::QDeadlineTimer(qint64 msecs, Qt::TimerType type)\nThis method creates an object of class QDeadlineTimer.", &_init_ctor_QDeadlineTimer_2558, &_call_ctor_QDeadlineTimer_2558); - methods += new qt_gsi::GenericMethod ("_q_data", "@brief Method QPair QDeadlineTimer::_q_data()\n", true, &_init_f__q_data_c0, &_call_f__q_data_c0); - methods += new qt_gsi::GenericMethod ("deadline", "@brief Method qint64 QDeadlineTimer::deadline()\n", true, &_init_f_deadline_c0, &_call_f_deadline_c0); - methods += new qt_gsi::GenericMethod ("deadlineNSecs", "@brief Method qint64 QDeadlineTimer::deadlineNSecs()\n", true, &_init_f_deadlineNSecs_c0, &_call_f_deadlineNSecs_c0); - methods += new qt_gsi::GenericMethod ("hasExpired", "@brief Method bool QDeadlineTimer::hasExpired()\n", true, &_init_f_hasExpired_c0, &_call_f_hasExpired_c0); - methods += new qt_gsi::GenericMethod ("isForever?", "@brief Method bool QDeadlineTimer::isForever()\n", true, &_init_f_isForever_c0, &_call_f_isForever_c0); - methods += new qt_gsi::GenericMethod ("+=", "@brief Method QDeadlineTimer &QDeadlineTimer::operator+=(qint64 msecs)\n", false, &_init_f_operator_plus__eq__986, &_call_f_operator_plus__eq__986); - methods += new qt_gsi::GenericMethod ("-=", "@brief Method QDeadlineTimer &QDeadlineTimer::operator-=(qint64 msecs)\n", false, &_init_f_operator_minus__eq__986, &_call_f_operator_minus__eq__986); - methods += new qt_gsi::GenericMethod ("remainingTime", "@brief Method qint64 QDeadlineTimer::remainingTime()\n", true, &_init_f_remainingTime_c0, &_call_f_remainingTime_c0); - methods += new qt_gsi::GenericMethod ("remainingTimeAsDuration", "@brief Method std::chrono::nanoseconds QDeadlineTimer::remainingTimeAsDuration()\n", true, &_init_f_remainingTimeAsDuration_c0, &_call_f_remainingTimeAsDuration_c0); - methods += new qt_gsi::GenericMethod ("remainingTimeNSecs", "@brief Method qint64 QDeadlineTimer::remainingTimeNSecs()\n", true, &_init_f_remainingTimeNSecs_c0, &_call_f_remainingTimeNSecs_c0); - methods += new qt_gsi::GenericMethod ("setDeadline", "@brief Method void QDeadlineTimer::setDeadline(qint64 msecs, Qt::TimerType timerType)\n", false, &_init_f_setDeadline_2558, &_call_f_setDeadline_2558); - methods += new qt_gsi::GenericMethod ("setPreciseDeadline", "@brief Method void QDeadlineTimer::setPreciseDeadline(qint64 secs, qint64 nsecs, Qt::TimerType type)\n", false, &_init_f_setPreciseDeadline_3436, &_call_f_setPreciseDeadline_3436); - methods += new qt_gsi::GenericMethod ("setPreciseRemainingTime", "@brief Method void QDeadlineTimer::setPreciseRemainingTime(qint64 secs, qint64 nsecs, Qt::TimerType type)\n", false, &_init_f_setPreciseRemainingTime_3436, &_call_f_setPreciseRemainingTime_3436); - methods += new qt_gsi::GenericMethod ("setRemainingTime", "@brief Method void QDeadlineTimer::setRemainingTime(qint64 msecs, Qt::TimerType type)\n", false, &_init_f_setRemainingTime_2558, &_call_f_setRemainingTime_2558); - methods += new qt_gsi::GenericMethod ("setTimerType", "@brief Method void QDeadlineTimer::setTimerType(Qt::TimerType type)\n", false, &_init_f_setTimerType_1680, &_call_f_setTimerType_1680); - methods += new qt_gsi::GenericMethod ("swap", "@brief Method void QDeadlineTimer::swap(QDeadlineTimer &other)\n", false, &_init_f_swap_2002, &_call_f_swap_2002); - methods += new qt_gsi::GenericMethod ("timerType", "@brief Method Qt::TimerType QDeadlineTimer::timerType()\n", true, &_init_f_timerType_c0, &_call_f_timerType_c0); - methods += new qt_gsi::GenericStaticMethod ("addNSecs", "@brief Static method QDeadlineTimer QDeadlineTimer::addNSecs(QDeadlineTimer dt, qint64 nsecs)\nThis method is static and can be called without an instance.", &_init_f_addNSecs_2698, &_call_f_addNSecs_2698); - methods += new qt_gsi::GenericStaticMethod ("current", "@brief Static method QDeadlineTimer QDeadlineTimer::current(Qt::TimerType timerType)\nThis method is static and can be called without an instance.", &_init_f_current_1680, &_call_f_current_1680); - return methods; -} - -gsi::Class decl_QDeadlineTimer ("Qt", "QDeadlineTimer", - methods_QDeadlineTimer (), - "@qt\n@brief Binding of QDeadlineTimer"); - - -GSI_QT_PUBLIC gsi::Class &qtdecl_QDeadlineTimer () { return decl_QDeadlineTimer; } - -} - - -// Implementation of the enum wrapper class for QDeadlineTimer::ForeverConstant -namespace qt_gsi -{ - -static gsi::Enum decl_QDeadlineTimer_ForeverConstant_Enum ("Qt", "QDeadlineTimer_ForeverConstant", - gsi::enum_const ("Forever", QDeadlineTimer::Forever, "@brief Enum constant QDeadlineTimer::Forever"), - "@qt\n@brief This class represents the QDeadlineTimer::ForeverConstant enum"); - -static gsi::QFlagsClass decl_QDeadlineTimer_ForeverConstant_Enums ("Qt", "QDeadlineTimer_QFlags_ForeverConstant", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QDeadlineTimer_ForeverConstant_Enum_in_parent (decl_QDeadlineTimer_ForeverConstant_Enum.defs ()); -static gsi::ClassExt decl_QDeadlineTimer_ForeverConstant_Enum_as_child (decl_QDeadlineTimer_ForeverConstant_Enum, "ForeverConstant"); -static gsi::ClassExt decl_QDeadlineTimer_ForeverConstant_Enums_as_child (decl_QDeadlineTimer_ForeverConstant_Enums, "QFlags_ForeverConstant"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQDebug.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQDebug.cc deleted file mode 100644 index b37d1451c..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQDebug.cc +++ /dev/null @@ -1,410 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQDebug.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QDebug - -// Constructor QDebug::QDebug(QIODevice *device) - - -static void _init_ctor_QDebug_1447 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("device"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QDebug_1447 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QIODevice *arg1 = gsi::arg_reader() (args, heap); - ret.write (new QDebug (arg1)); -} - - -// Constructor QDebug::QDebug(QString *string) - - -static void _init_ctor_QDebug_1334 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("string"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QDebug_1334 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QString *arg1 = gsi::arg_reader() (args, heap); - ret.write (new QDebug (arg1)); -} - - -// Constructor QDebug::QDebug(QtMsgType t) - - -static void _init_ctor_QDebug_1346 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("t"); - decl->add_arg::target_type & > (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QDebug_1346 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const qt_gsi::Converter::target_type & arg1 = gsi::arg_reader::target_type & >() (args, heap); - ret.write (new QDebug (qt_gsi::QtToCppAdaptor(arg1).cref())); -} - - -// Constructor QDebug::QDebug(const QDebug &o) - - -static void _init_ctor_QDebug_1881 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("o"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QDebug_1881 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QDebug &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QDebug (arg1)); -} - - -// bool QDebug::autoInsertSpaces() - - -static void _init_f_autoInsertSpaces_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_autoInsertSpaces_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QDebug *)cls)->autoInsertSpaces ()); -} - - -// QDebug &QDebug::maybeQuote(char c) - - -static void _init_f_maybeQuote_850 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("c", true, "'\"'"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_maybeQuote_850 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - char arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() ('"', heap); - ret.write ((QDebug &)((QDebug *)cls)->maybeQuote (arg1)); -} - - -// QDebug &QDebug::maybeSpace() - - -static void _init_f_maybeSpace_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_maybeSpace_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QDebug &)((QDebug *)cls)->maybeSpace ()); -} - - -// QDebug &QDebug::noquote() - - -static void _init_f_noquote_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_noquote_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QDebug &)((QDebug *)cls)->noquote ()); -} - - -// QDebug &QDebug::nospace() - - -static void _init_f_nospace_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_nospace_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QDebug &)((QDebug *)cls)->nospace ()); -} - - -// QDebug &QDebug::operator<<(const QString &t) - - -static void _init_f_operator_lt__lt__2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("t"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_lt__lt__2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QDebug &)((QDebug *)cls)->operator<< (arg1)); -} - - -// QDebug &QDebug::operator=(const QDebug &other) - - -static void _init_f_operator_eq__1881 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__1881 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QDebug &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QDebug &)((QDebug *)cls)->operator= (arg1)); -} - - -// QDebug &QDebug::quote() - - -static void _init_f_quote_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_quote_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QDebug &)((QDebug *)cls)->quote ()); -} - - -// QDebug &QDebug::resetFormat() - - -static void _init_f_resetFormat_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_resetFormat_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QDebug &)((QDebug *)cls)->resetFormat ()); -} - - -// void QDebug::setAutoInsertSpaces(bool b) - - -static void _init_f_setAutoInsertSpaces_864 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("b"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setAutoInsertSpaces_864 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDebug *)cls)->setAutoInsertSpaces (arg1); -} - - -// void QDebug::setVerbosity(int verbosityLevel) - - -static void _init_f_setVerbosity_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("verbosityLevel"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setVerbosity_767 (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); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDebug *)cls)->setVerbosity (arg1); -} - - -// QDebug &QDebug::space() - - -static void _init_f_space_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_space_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QDebug &)((QDebug *)cls)->space ()); -} - - -// void QDebug::swap(QDebug &other) - - -static void _init_f_swap_1186 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_swap_1186 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QDebug &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDebug *)cls)->swap (arg1); -} - - -// QDebug &QDebug::verbosity(int verbosityLevel) - - -static void _init_f_verbosity_767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("verbosityLevel"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_verbosity_767 (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 ((QDebug &)((QDebug *)cls)->verbosity (arg1)); -} - - -// int QDebug::verbosity() - - -static void _init_f_verbosity_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_verbosity_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QDebug *)cls)->verbosity ()); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QDebug () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDebug::QDebug(QIODevice *device)\nThis method creates an object of class QDebug.", &_init_ctor_QDebug_1447, &_call_ctor_QDebug_1447); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDebug::QDebug(QString *string)\nThis method creates an object of class QDebug.", &_init_ctor_QDebug_1334, &_call_ctor_QDebug_1334); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDebug::QDebug(QtMsgType t)\nThis method creates an object of class QDebug.", &_init_ctor_QDebug_1346, &_call_ctor_QDebug_1346); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDebug::QDebug(const QDebug &o)\nThis method creates an object of class QDebug.", &_init_ctor_QDebug_1881, &_call_ctor_QDebug_1881); - methods += new qt_gsi::GenericMethod (":autoInsertSpaces", "@brief Method bool QDebug::autoInsertSpaces()\n", true, &_init_f_autoInsertSpaces_c0, &_call_f_autoInsertSpaces_c0); - methods += new qt_gsi::GenericMethod ("maybeQuote", "@brief Method QDebug &QDebug::maybeQuote(char c)\n", false, &_init_f_maybeQuote_850, &_call_f_maybeQuote_850); - methods += new qt_gsi::GenericMethod ("maybeSpace", "@brief Method QDebug &QDebug::maybeSpace()\n", false, &_init_f_maybeSpace_0, &_call_f_maybeSpace_0); - methods += new qt_gsi::GenericMethod ("noquote", "@brief Method QDebug &QDebug::noquote()\n", false, &_init_f_noquote_0, &_call_f_noquote_0); - methods += new qt_gsi::GenericMethod ("nospace", "@brief Method QDebug &QDebug::nospace()\n", false, &_init_f_nospace_0, &_call_f_nospace_0); - methods += new qt_gsi::GenericMethod ("<<", "@brief Method QDebug &QDebug::operator<<(const QString &t)\n", false, &_init_f_operator_lt__lt__2025, &_call_f_operator_lt__lt__2025); - methods += new qt_gsi::GenericMethod ("assign", "@brief Method QDebug &QDebug::operator=(const QDebug &other)\n", false, &_init_f_operator_eq__1881, &_call_f_operator_eq__1881); - methods += new qt_gsi::GenericMethod ("quote", "@brief Method QDebug &QDebug::quote()\n", false, &_init_f_quote_0, &_call_f_quote_0); - methods += new qt_gsi::GenericMethod ("resetFormat", "@brief Method QDebug &QDebug::resetFormat()\n", false, &_init_f_resetFormat_0, &_call_f_resetFormat_0); - methods += new qt_gsi::GenericMethod ("setAutoInsertSpaces|autoInsertSpaces=", "@brief Method void QDebug::setAutoInsertSpaces(bool b)\n", false, &_init_f_setAutoInsertSpaces_864, &_call_f_setAutoInsertSpaces_864); - methods += new qt_gsi::GenericMethod ("setVerbosity", "@brief Method void QDebug::setVerbosity(int verbosityLevel)\n", false, &_init_f_setVerbosity_767, &_call_f_setVerbosity_767); - methods += new qt_gsi::GenericMethod ("space", "@brief Method QDebug &QDebug::space()\n", false, &_init_f_space_0, &_call_f_space_0); - methods += new qt_gsi::GenericMethod ("swap", "@brief Method void QDebug::swap(QDebug &other)\n", false, &_init_f_swap_1186, &_call_f_swap_1186); - methods += new qt_gsi::GenericMethod ("verbosity", "@brief Method QDebug &QDebug::verbosity(int verbosityLevel)\n", false, &_init_f_verbosity_767, &_call_f_verbosity_767); - methods += new qt_gsi::GenericMethod ("verbosity", "@brief Method int QDebug::verbosity()\n", true, &_init_f_verbosity_c0, &_call_f_verbosity_c0); - return methods; -} - -gsi::Class &qtdecl_QIODeviceBase (); - -gsi::Class decl_QDebug (qtdecl_QIODeviceBase (), "Qt", "QDebug", - methods_QDebug (), - "@qt\n@brief Binding of QDebug"); - - -GSI_QT_PUBLIC gsi::Class &qtdecl_QDebug () { return decl_QDebug; } - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQDebugStateSaver.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQDebugStateSaver.cc deleted file mode 100644 index 38b703a3c..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQDebugStateSaver.cc +++ /dev/null @@ -1,77 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQDebugStateSaver.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QDebugStateSaver - -// Constructor QDebugStateSaver::QDebugStateSaver(QDebug &dbg) - - -static void _init_ctor_QDebugStateSaver_1186 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("dbg"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QDebugStateSaver_1186 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QDebug &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QDebugStateSaver (arg1)); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QDebugStateSaver () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDebugStateSaver::QDebugStateSaver(QDebug &dbg)\nThis method creates an object of class QDebugStateSaver.", &_init_ctor_QDebugStateSaver_1186, &_call_ctor_QDebugStateSaver_1186); - return methods; -} - -gsi::Class decl_QDebugStateSaver ("Qt", "QDebugStateSaver", - methods_QDebugStateSaver (), - "@qt\n@brief Binding of QDebugStateSaver"); - - -GSI_QT_PUBLIC gsi::Class &qtdecl_QDebugStateSaver () { return decl_QDebugStateSaver; } - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQDeferredDeleteEvent.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQDeferredDeleteEvent.cc deleted file mode 100644 index fd436b144..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQDeferredDeleteEvent.cc +++ /dev/null @@ -1,215 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQDeferredDeleteEvent.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QDeferredDeleteEvent - -// QDeferredDeleteEvent *QDeferredDeleteEvent::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 ((QDeferredDeleteEvent *)((QDeferredDeleteEvent *)cls)->clone ()); -} - - -// int QDeferredDeleteEvent::loopLevel() - - -static void _init_f_loopLevel_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_loopLevel_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((int)((QDeferredDeleteEvent *)cls)->loopLevel ()); -} - - -namespace gsi -{ - -static gsi::Methods methods_QDeferredDeleteEvent () { - gsi::Methods methods; - methods += new qt_gsi::GenericMethod ("clone", "@brief Method QDeferredDeleteEvent *QDeferredDeleteEvent::clone()\nThis is a reimplementation of QEvent::clone", true, &_init_f_clone_c0, &_call_f_clone_c0); - methods += new qt_gsi::GenericMethod ("loopLevel", "@brief Method int QDeferredDeleteEvent::loopLevel()\n", true, &_init_f_loopLevel_c0, &_call_f_loopLevel_c0); - return methods; -} - -gsi::Class &qtdecl_QEvent (); - -gsi::Class decl_QDeferredDeleteEvent (qtdecl_QEvent (), "Qt", "QDeferredDeleteEvent_Native", - methods_QDeferredDeleteEvent (), - "@hide\n@alias QDeferredDeleteEvent"); - -GSI_QT_PUBLIC gsi::Class &qtdecl_QDeferredDeleteEvent () { return decl_QDeferredDeleteEvent; } - -} - - -class QDeferredDeleteEvent_Adaptor : public QDeferredDeleteEvent, public qt_gsi::QtObjectBase -{ -public: - - virtual ~QDeferredDeleteEvent_Adaptor(); - - // [adaptor ctor] QDeferredDeleteEvent::QDeferredDeleteEvent() - QDeferredDeleteEvent_Adaptor() : QDeferredDeleteEvent() - { - qt_gsi::QtObjectBase::init (this); - } - - // [adaptor impl] QDeferredDeleteEvent *QDeferredDeleteEvent::clone() - QDeferredDeleteEvent * cbs_clone_c0_0() const - { - return QDeferredDeleteEvent::clone(); - } - - virtual QDeferredDeleteEvent * clone() const - { - if (cb_clone_c0_0.can_issue()) { - return cb_clone_c0_0.issue(&QDeferredDeleteEvent_Adaptor::cbs_clone_c0_0); - } else { - return QDeferredDeleteEvent::clone(); - } - } - - // [adaptor impl] void QDeferredDeleteEvent::setAccepted(bool accepted) - void cbs_setAccepted_864_0(bool accepted) - { - QDeferredDeleteEvent::setAccepted(accepted); - } - - virtual void setAccepted(bool accepted) - { - if (cb_setAccepted_864_0.can_issue()) { - cb_setAccepted_864_0.issue(&QDeferredDeleteEvent_Adaptor::cbs_setAccepted_864_0, accepted); - } else { - QDeferredDeleteEvent::setAccepted(accepted); - } - } - - gsi::Callback cb_clone_c0_0; - gsi::Callback cb_setAccepted_864_0; -}; - -QDeferredDeleteEvent_Adaptor::~QDeferredDeleteEvent_Adaptor() { } - -// Constructor QDeferredDeleteEvent::QDeferredDeleteEvent() (adaptor class) - -static void _init_ctor_QDeferredDeleteEvent_Adaptor_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return_new (); -} - -static void _call_ctor_QDeferredDeleteEvent_Adaptor_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write (new QDeferredDeleteEvent_Adaptor ()); -} - - -// QDeferredDeleteEvent *QDeferredDeleteEvent::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 ((QDeferredDeleteEvent *)((QDeferredDeleteEvent_Adaptor *)cls)->cbs_clone_c0_0 ()); -} - -static void _set_callback_cbs_clone_c0_0 (void *cls, const gsi::Callback &cb) -{ - ((QDeferredDeleteEvent_Adaptor *)cls)->cb_clone_c0_0 = cb; -} - - -// void QDeferredDeleteEvent::setAccepted(bool accepted) - -static void _init_cbs_setAccepted_864_0 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("accepted"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_cbs_setAccepted_864_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - bool arg1 = args.read (heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDeferredDeleteEvent_Adaptor *)cls)->cbs_setAccepted_864_0 (arg1); -} - -static void _set_callback_cbs_setAccepted_864_0 (void *cls, const gsi::Callback &cb) -{ - ((QDeferredDeleteEvent_Adaptor *)cls)->cb_setAccepted_864_0 = cb; -} - - -namespace gsi -{ - -gsi::Class &qtdecl_QDeferredDeleteEvent (); - -static gsi::Methods methods_QDeferredDeleteEvent_Adaptor () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDeferredDeleteEvent::QDeferredDeleteEvent()\nThis method creates an object of class QDeferredDeleteEvent.", &_init_ctor_QDeferredDeleteEvent_Adaptor_0, &_call_ctor_QDeferredDeleteEvent_Adaptor_0); - methods += new qt_gsi::GenericMethod ("clone", "@brief Virtual method QDeferredDeleteEvent *QDeferredDeleteEvent::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 QDeferredDeleteEvent::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; -} - -gsi::Class decl_QDeferredDeleteEvent_Adaptor (qtdecl_QDeferredDeleteEvent (), "Qt", "QDeferredDeleteEvent", - methods_QDeferredDeleteEvent_Adaptor (), - "@qt\n@brief Binding of QDeferredDeleteEvent"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQDir.cc b/src/gsiqt/qt6/QtWidgets/gsiDeclQDir.cc deleted file mode 100644 index 95843ae71..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQDir.cc +++ /dev/null @@ -1,1471 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file gsiDeclQDir.cc -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - -#include -#include -#include "gsiQt.h" -#include "gsiQtCommon.h" -#include "gsiDeclQtTypeTraits.h" -#include - -// ----------------------------------------------------------------------- -// class QDir - -// Constructor QDir::QDir(const QDir &) - - -static void _init_ctor_QDir_1681 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QDir_1681 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QDir &arg1 = gsi::arg_reader() (args, heap); - ret.write (new QDir (arg1)); -} - - -// Constructor QDir::QDir(const QString &path) - - -static void _init_ctor_QDir_2025 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("path", true, "QString()"); - decl->add_arg (argspec_0); - decl->set_return_new (); -} - -static void _call_ctor_QDir_2025 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = args ? gsi::arg_reader() (args, heap) : gsi::arg_maker() (QString(), heap); - ret.write (new QDir (arg1)); -} - - -// Constructor QDir::QDir(const QString &path, const QString &nameFilter, QFlags sort, QFlags filter) - - -static void _init_ctor_QDir_8374 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("path"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("nameFilter"); - decl->add_arg (argspec_1); - static gsi::ArgSpecBase argspec_2 ("sort", true, "QDir::SortFlags(QDir::Name | QDir::IgnoreCase)"); - decl->add_arg > (argspec_2); - static gsi::ArgSpecBase argspec_3 ("filter", true, "QDir::AllEntries"); - decl->add_arg > (argspec_3); - decl->set_return_new (); -} - -static void _call_ctor_QDir_8374 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - const QString &arg2 = gsi::arg_reader() (args, heap); - QFlags arg3 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (QDir::SortFlags(QDir::Name | QDir::IgnoreCase), heap); - QFlags arg4 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (QDir::AllEntries, heap); - ret.write (new QDir (arg1, arg2, arg3, arg4)); -} - - -// QString QDir::absoluteFilePath(const QString &fileName) - - -static void _init_f_absoluteFilePath_c2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("fileName"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_absoluteFilePath_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QString)((QDir *)cls)->absoluteFilePath (arg1)); -} - - -// QString QDir::absolutePath() - - -static void _init_f_absolutePath_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_absolutePath_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QDir *)cls)->absolutePath ()); -} - - -// QString QDir::canonicalPath() - - -static void _init_f_canonicalPath_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_canonicalPath_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QDir *)cls)->canonicalPath ()); -} - - -// bool QDir::cd(const QString &dirName) - - -static void _init_f_cd_2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("dirName"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_cd_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QDir *)cls)->cd (arg1)); -} - - -// bool QDir::cdUp() - - -static void _init_f_cdUp_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_cdUp_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QDir *)cls)->cdUp ()); -} - - -// unsigned int QDir::count() - - -static void _init_f_count_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_count_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((unsigned int)((QDir *)cls)->count ()); -} - - -// QString QDir::dirName() - - -static void _init_f_dirName_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_dirName_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QDir *)cls)->dirName ()); -} - - -// QList QDir::entryInfoList(QFlags filters, QFlags sort) - - -static void _init_f_entryInfoList_c4540 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("filters", true, "QDir::NoFilter"); - decl->add_arg > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sort", true, "QDir::NoSort"); - decl->add_arg > (argspec_1); - decl->set_return > (); -} - -static void _call_f_entryInfoList_c4540 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QFlags arg1 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (QDir::NoFilter, heap); - QFlags arg2 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (QDir::NoSort, heap); - ret.write > ((QList)((QDir *)cls)->entryInfoList (arg1, arg2)); -} - - -// QList QDir::entryInfoList(const QStringList &nameFilters, QFlags filters, QFlags sort) - - -static void _init_f_entryInfoList_c6869 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("nameFilters"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("filters", true, "QDir::NoFilter"); - decl->add_arg > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("sort", true, "QDir::NoSort"); - decl->add_arg > (argspec_2); - decl->set_return > (); -} - -static void _call_f_entryInfoList_c6869 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QStringList &arg1 = gsi::arg_reader() (args, heap); - QFlags arg2 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (QDir::NoFilter, heap); - QFlags arg3 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (QDir::NoSort, heap); - ret.write > ((QList)((QDir *)cls)->entryInfoList (arg1, arg2, arg3)); -} - - -// QStringList QDir::entryList(QFlags filters, QFlags sort) - - -static void _init_f_entryList_c4540 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("filters", true, "QDir::NoFilter"); - decl->add_arg > (argspec_0); - static gsi::ArgSpecBase argspec_1 ("sort", true, "QDir::NoSort"); - decl->add_arg > (argspec_1); - decl->set_return (); -} - -static void _call_f_entryList_c4540 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QFlags arg1 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (QDir::NoFilter, heap); - QFlags arg2 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (QDir::NoSort, heap); - ret.write ((QStringList)((QDir *)cls)->entryList (arg1, arg2)); -} - - -// QStringList QDir::entryList(const QStringList &nameFilters, QFlags filters, QFlags sort) - - -static void _init_f_entryList_c6869 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("nameFilters"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("filters", true, "QDir::NoFilter"); - decl->add_arg > (argspec_1); - static gsi::ArgSpecBase argspec_2 ("sort", true, "QDir::NoSort"); - decl->add_arg > (argspec_2); - decl->set_return (); -} - -static void _call_f_entryList_c6869 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QStringList &arg1 = gsi::arg_reader() (args, heap); - QFlags arg2 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (QDir::NoFilter, heap); - QFlags arg3 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (QDir::NoSort, heap); - ret.write ((QStringList)((QDir *)cls)->entryList (arg1, arg2, arg3)); -} - - -// bool QDir::exists() - - -static void _init_f_exists_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_exists_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QDir *)cls)->exists ()); -} - - -// bool QDir::exists(const QString &name) - - -static void _init_f_exists_c2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("name"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_exists_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QDir *)cls)->exists (arg1)); -} - - -// QString QDir::filePath(const QString &fileName) - - -static void _init_f_filePath_c2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("fileName"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_filePath_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QString)((QDir *)cls)->filePath (arg1)); -} - - -// std::filesystem::path QDir::filesystemAbsolutePath() - - -static void _init_f_filesystemAbsolutePath_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_filesystemAbsolutePath_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((std::filesystem::path)((QDir *)cls)->filesystemAbsolutePath ()); -} - - -// std::filesystem::path QDir::filesystemCanonicalPath() - - -static void _init_f_filesystemCanonicalPath_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_filesystemCanonicalPath_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((std::filesystem::path)((QDir *)cls)->filesystemCanonicalPath ()); -} - - -// std::filesystem::path QDir::filesystemPath() - - -static void _init_f_filesystemPath_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_filesystemPath_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((std::filesystem::path)((QDir *)cls)->filesystemPath ()); -} - - -// QFlags QDir::filter() - - -static void _init_f_filter_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_filter_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QFlags)((QDir *)cls)->filter ()); -} - - -// bool QDir::isAbsolute() - - -static void _init_f_isAbsolute_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isAbsolute_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QDir *)cls)->isAbsolute ()); -} - - -// bool QDir::isEmpty(QFlags filters) - - -static void _init_f_isEmpty_c2230 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("filters", true, "QDir::Filters(QDir::AllEntries | QDir::NoDotAndDotDot)"); - decl->add_arg > (argspec_0); - decl->set_return (); -} - -static void _call_f_isEmpty_c2230 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QFlags arg1 = args ? gsi::arg_reader >() (args, heap) : gsi::arg_maker >() (QDir::Filters(QDir::AllEntries | QDir::NoDotAndDotDot), heap); - ret.write ((bool)((QDir *)cls)->isEmpty (arg1)); -} - - -// bool QDir::isReadable() - - -static void _init_f_isReadable_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isReadable_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QDir *)cls)->isReadable ()); -} - - -// bool QDir::isRelative() - - -static void _init_f_isRelative_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isRelative_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QDir *)cls)->isRelative ()); -} - - -// bool QDir::isRoot() - - -static void _init_f_isRoot_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_isRoot_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QDir *)cls)->isRoot ()); -} - - -// bool QDir::makeAbsolute() - - -static void _init_f_makeAbsolute_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_makeAbsolute_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QDir *)cls)->makeAbsolute ()); -} - - -// bool QDir::mkdir(const QString &dirName) - - -static void _init_f_mkdir_c2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("dirName"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_mkdir_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QDir *)cls)->mkdir (arg1)); -} - - -// bool QDir::mkpath(const QString &dirPath) - - -static void _init_f_mkpath_c2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("dirPath"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_mkpath_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QDir *)cls)->mkpath (arg1)); -} - - -// QStringList QDir::nameFilters() - - -static void _init_f_nameFilters_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_nameFilters_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QStringList)((QDir *)cls)->nameFilters ()); -} - - -// bool QDir::operator!=(const QDir &dir) - - -static void _init_f_operator_excl__eq__c1681 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("dir"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_excl__eq__c1681 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QDir &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QDir *)cls)->operator!= (arg1)); -} - - -// QDir &QDir::operator=(const QDir &) - - -static void _init_f_operator_eq__1681 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__1681 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QDir &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QDir &)((QDir *)cls)->operator= (arg1)); -} - - -// bool QDir::operator==(const QDir &dir) - - -static void _init_f_operator_eq__eq__c1681 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("dir"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_eq__eq__c1681 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QDir &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QDir *)cls)->operator== (arg1)); -} - - -// QString QDir::operator[](int) - - -static void _init_f_operator_index__c767 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("arg1"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_operator_index__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 ((QString)((QDir *)cls)->operator[] (arg1)); -} - - -// QString QDir::path() - - -static void _init_f_path_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_path_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)((QDir *)cls)->path ()); -} - - -// void QDir::refresh() - - -static void _init_f_refresh_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_refresh_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDir *)cls)->refresh (); -} - - -// QString QDir::relativeFilePath(const QString &fileName) - - -static void _init_f_relativeFilePath_c2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("fileName"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_relativeFilePath_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QString)((QDir *)cls)->relativeFilePath (arg1)); -} - - -// bool QDir::remove(const QString &fileName) - - -static void _init_f_remove_2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("fileName"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_remove_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QDir *)cls)->remove (arg1)); -} - - -// bool QDir::removeRecursively() - - -static void _init_f_removeRecursively_0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_removeRecursively_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((bool)((QDir *)cls)->removeRecursively ()); -} - - -// bool QDir::rename(const QString &oldName, const QString &newName) - - -static void _init_f_rename_3942 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("oldName"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("newName"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_rename_3942 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - const QString &arg2 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QDir *)cls)->rename (arg1, arg2)); -} - - -// bool QDir::rmdir(const QString &dirName) - - -static void _init_f_rmdir_c2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("dirName"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_rmdir_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QDir *)cls)->rmdir (arg1)); -} - - -// bool QDir::rmpath(const QString &dirPath) - - -static void _init_f_rmpath_c2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("dirPath"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_rmpath_c2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)((QDir *)cls)->rmpath (arg1)); -} - - -// void QDir::setFilter(QFlags filter) - - -static void _init_f_setFilter_2230 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("filter"); - decl->add_arg > (argspec_0); - decl->set_return (); -} - -static void _call_f_setFilter_2230 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QFlags arg1 = gsi::arg_reader >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDir *)cls)->setFilter (arg1); -} - - -// void QDir::setNameFilters(const QStringList &nameFilters) - - -static void _init_f_setNameFilters_2437 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("nameFilters"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setNameFilters_2437 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QStringList &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDir *)cls)->setNameFilters (arg1); -} - - -// void QDir::setPath(const QString &path) - - -static void _init_f_setPath_2025 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("path"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setPath_2025 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDir *)cls)->setPath (arg1); -} - - -// void QDir::setSorting(QFlags sort) - - -static void _init_f_setSorting_2418 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("sort"); - decl->add_arg > (argspec_0); - decl->set_return (); -} - -static void _call_f_setSorting_2418 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QFlags arg1 = gsi::arg_reader >() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDir *)cls)->setSorting (arg1); -} - - -// QFlags QDir::sorting() - - -static void _init_f_sorting_c0 (qt_gsi::GenericMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_sorting_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QFlags)((QDir *)cls)->sorting ()); -} - - -// void QDir::swap(QDir &other) - - -static void _init_f_swap_986 (qt_gsi::GenericMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("other"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_swap_986 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - QDir &arg1 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - ((QDir *)cls)->swap (arg1); -} - - -// static void QDir::addSearchPath(const QString &prefix, const QString &path) - - -static void _init_f_addSearchPath_3942 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("prefix"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("path"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_addSearchPath_3942 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - const QString &arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QDir::addSearchPath (arg1, arg2); -} - - -// static QString QDir::cleanPath(const QString &path) - - -static void _init_f_cleanPath_2025 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("path"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_cleanPath_2025 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QString)QDir::cleanPath (arg1)); -} - - -// static QDir QDir::current() - - -static void _init_f_current_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_current_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QDir)QDir::current ()); -} - - -// static QString QDir::currentPath() - - -static void _init_f_currentPath_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_currentPath_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)QDir::currentPath ()); -} - - -// static QList QDir::drives() - - -static void _init_f_drives_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return > (); -} - -static void _call_f_drives_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write > ((QList)QDir::drives ()); -} - - -// static QString QDir::fromNativeSeparators(const QString &pathName) - - -static void _init_f_fromNativeSeparators_2025 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pathName"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_fromNativeSeparators_2025 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QString)QDir::fromNativeSeparators (arg1)); -} - - -// static QDir QDir::home() - - -static void _init_f_home_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_home_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QDir)QDir::home ()); -} - - -// static QString QDir::homePath() - - -static void _init_f_homePath_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_homePath_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)QDir::homePath ()); -} - - -// static bool QDir::isAbsolutePath(const QString &path) - - -static void _init_f_isAbsolutePath_2025 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("path"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_isAbsolutePath_2025 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)QDir::isAbsolutePath (arg1)); -} - - -// static bool QDir::isRelativePath(const QString &path) - - -static void _init_f_isRelativePath_2025 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("path"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_isRelativePath_2025 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)QDir::isRelativePath (arg1)); -} - - -// static QChar QDir::listSeparator() - - -static void _init_f_listSeparator_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_listSeparator_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(QDir::listSeparator ())); -} - - -// static bool QDir::match(const QStringList &filters, const QString &fileName) - - -static void _init_f_match_4354 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("filters"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("fileName"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_match_4354 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QStringList &arg1 = gsi::arg_reader() (args, heap); - const QString &arg2 = gsi::arg_reader() (args, heap); - ret.write ((bool)QDir::match (arg1, arg2)); -} - - -// static bool QDir::match(const QString &filter, const QString &fileName) - - -static void _init_f_match_3942 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("filter"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("fileName"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_match_3942 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - const QString &arg2 = gsi::arg_reader() (args, heap); - ret.write ((bool)QDir::match (arg1, arg2)); -} - - -// static QStringList QDir::nameFiltersFromString(const QString &nameFilter) - - -static void _init_f_nameFiltersFromString_2025 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("nameFilter"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_nameFiltersFromString_2025 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QStringList)QDir::nameFiltersFromString (arg1)); -} - - -// static QDir QDir::root() - - -static void _init_f_root_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_root_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QDir)QDir::root ()); -} - - -// static QString QDir::rootPath() - - -static void _init_f_rootPath_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_rootPath_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)QDir::rootPath ()); -} - - -// static QStringList QDir::searchPaths(const QString &prefix) - - -static void _init_f_searchPaths_2025 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("prefix"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_searchPaths_2025 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QStringList)QDir::searchPaths (arg1)); -} - - -// static QChar QDir::separator() - - -static void _init_f_separator_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return::target_type > (); -} - -static void _call_f_separator_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write::target_type > ((qt_gsi::Converter::target_type)qt_gsi::CppToQtAdaptor(QDir::separator ())); -} - - -// static bool QDir::setCurrent(const QString &path) - - -static void _init_f_setCurrent_2025 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("path"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_setCurrent_2025 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((bool)QDir::setCurrent (arg1)); -} - - -// static void QDir::setSearchPaths(const QString &prefix, const QStringList &searchPaths) - - -static void _init_f_setSearchPaths_4354 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("prefix"); - decl->add_arg (argspec_0); - static gsi::ArgSpecBase argspec_1 ("searchPaths"); - decl->add_arg (argspec_1); - decl->set_return (); -} - -static void _call_f_setSearchPaths_4354 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - const QStringList &arg2 = gsi::arg_reader() (args, heap); - __SUPPRESS_UNUSED_WARNING(ret); - QDir::setSearchPaths (arg1, arg2); -} - - -// static QDir QDir::temp() - - -static void _init_f_temp_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_temp_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QDir)QDir::temp ()); -} - - -// static QString QDir::tempPath() - - -static void _init_f_tempPath_0 (qt_gsi::GenericStaticMethod *decl) -{ - decl->set_return (); -} - -static void _call_f_tempPath_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - ret.write ((QString)QDir::tempPath ()); -} - - -// static QString QDir::toNativeSeparators(const QString &pathName) - - -static void _init_f_toNativeSeparators_2025 (qt_gsi::GenericStaticMethod *decl) -{ - static gsi::ArgSpecBase argspec_0 ("pathName"); - decl->add_arg (argspec_0); - decl->set_return (); -} - -static void _call_f_toNativeSeparators_2025 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret) -{ - __SUPPRESS_UNUSED_WARNING(args); - tl::Heap heap; - const QString &arg1 = gsi::arg_reader() (args, heap); - ret.write ((QString)QDir::toNativeSeparators (arg1)); -} - - - -namespace gsi -{ - -static gsi::Methods methods_QDir () { - gsi::Methods methods; - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDir::QDir(const QDir &)\nThis method creates an object of class QDir.", &_init_ctor_QDir_1681, &_call_ctor_QDir_1681); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDir::QDir(const QString &path)\nThis method creates an object of class QDir.", &_init_ctor_QDir_2025, &_call_ctor_QDir_2025); - methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QDir::QDir(const QString &path, const QString &nameFilter, QFlags sort, QFlags filter)\nThis method creates an object of class QDir.", &_init_ctor_QDir_8374, &_call_ctor_QDir_8374); - methods += new qt_gsi::GenericMethod ("absoluteFilePath", "@brief Method QString QDir::absoluteFilePath(const QString &fileName)\n", true, &_init_f_absoluteFilePath_c2025, &_call_f_absoluteFilePath_c2025); - methods += new qt_gsi::GenericMethod ("absolutePath", "@brief Method QString QDir::absolutePath()\n", true, &_init_f_absolutePath_c0, &_call_f_absolutePath_c0); - methods += new qt_gsi::GenericMethod ("canonicalPath", "@brief Method QString QDir::canonicalPath()\n", true, &_init_f_canonicalPath_c0, &_call_f_canonicalPath_c0); - methods += new qt_gsi::GenericMethod ("cd", "@brief Method bool QDir::cd(const QString &dirName)\n", false, &_init_f_cd_2025, &_call_f_cd_2025); - methods += new qt_gsi::GenericMethod ("cdUp", "@brief Method bool QDir::cdUp()\n", false, &_init_f_cdUp_0, &_call_f_cdUp_0); - methods += new qt_gsi::GenericMethod ("count", "@brief Method unsigned int QDir::count()\n", true, &_init_f_count_c0, &_call_f_count_c0); - methods += new qt_gsi::GenericMethod ("dirName", "@brief Method QString QDir::dirName()\n", true, &_init_f_dirName_c0, &_call_f_dirName_c0); - methods += new qt_gsi::GenericMethod ("entryInfoList", "@brief Method QList QDir::entryInfoList(QFlags filters, QFlags sort)\n", true, &_init_f_entryInfoList_c4540, &_call_f_entryInfoList_c4540); - methods += new qt_gsi::GenericMethod ("entryInfoList", "@brief Method QList QDir::entryInfoList(const QStringList &nameFilters, QFlags filters, QFlags sort)\n", true, &_init_f_entryInfoList_c6869, &_call_f_entryInfoList_c6869); - methods += new qt_gsi::GenericMethod ("entryList", "@brief Method QStringList QDir::entryList(QFlags filters, QFlags sort)\n", true, &_init_f_entryList_c4540, &_call_f_entryList_c4540); - methods += new qt_gsi::GenericMethod ("entryList", "@brief Method QStringList QDir::entryList(const QStringList &nameFilters, QFlags filters, QFlags sort)\n", true, &_init_f_entryList_c6869, &_call_f_entryList_c6869); - methods += new qt_gsi::GenericMethod ("exists", "@brief Method bool QDir::exists()\n", true, &_init_f_exists_c0, &_call_f_exists_c0); - methods += new qt_gsi::GenericMethod ("exists", "@brief Method bool QDir::exists(const QString &name)\n", true, &_init_f_exists_c2025, &_call_f_exists_c2025); - methods += new qt_gsi::GenericMethod ("filePath", "@brief Method QString QDir::filePath(const QString &fileName)\n", true, &_init_f_filePath_c2025, &_call_f_filePath_c2025); - methods += new qt_gsi::GenericMethod ("filesystemAbsolutePath", "@brief Method std::filesystem::path QDir::filesystemAbsolutePath()\n", true, &_init_f_filesystemAbsolutePath_c0, &_call_f_filesystemAbsolutePath_c0); - methods += new qt_gsi::GenericMethod ("filesystemCanonicalPath", "@brief Method std::filesystem::path QDir::filesystemCanonicalPath()\n", true, &_init_f_filesystemCanonicalPath_c0, &_call_f_filesystemCanonicalPath_c0); - methods += new qt_gsi::GenericMethod ("filesystemPath", "@brief Method std::filesystem::path QDir::filesystemPath()\n", true, &_init_f_filesystemPath_c0, &_call_f_filesystemPath_c0); - methods += new qt_gsi::GenericMethod (":filter", "@brief Method QFlags QDir::filter()\n", true, &_init_f_filter_c0, &_call_f_filter_c0); - methods += new qt_gsi::GenericMethod ("isAbsolute?", "@brief Method bool QDir::isAbsolute()\n", true, &_init_f_isAbsolute_c0, &_call_f_isAbsolute_c0); - methods += new qt_gsi::GenericMethod ("isEmpty?", "@brief Method bool QDir::isEmpty(QFlags filters)\n", true, &_init_f_isEmpty_c2230, &_call_f_isEmpty_c2230); - methods += new qt_gsi::GenericMethod ("isReadable?", "@brief Method bool QDir::isReadable()\n", true, &_init_f_isReadable_c0, &_call_f_isReadable_c0); - methods += new qt_gsi::GenericMethod ("isRelative?", "@brief Method bool QDir::isRelative()\n", true, &_init_f_isRelative_c0, &_call_f_isRelative_c0); - methods += new qt_gsi::GenericMethod ("isRoot?", "@brief Method bool QDir::isRoot()\n", true, &_init_f_isRoot_c0, &_call_f_isRoot_c0); - methods += new qt_gsi::GenericMethod ("makeAbsolute", "@brief Method bool QDir::makeAbsolute()\n", false, &_init_f_makeAbsolute_0, &_call_f_makeAbsolute_0); - methods += new qt_gsi::GenericMethod ("mkdir", "@brief Method bool QDir::mkdir(const QString &dirName)\n", true, &_init_f_mkdir_c2025, &_call_f_mkdir_c2025); - methods += new qt_gsi::GenericMethod ("mkpath", "@brief Method bool QDir::mkpath(const QString &dirPath)\n", true, &_init_f_mkpath_c2025, &_call_f_mkpath_c2025); - methods += new qt_gsi::GenericMethod (":nameFilters", "@brief Method QStringList QDir::nameFilters()\n", true, &_init_f_nameFilters_c0, &_call_f_nameFilters_c0); - methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QDir::operator!=(const QDir &dir)\n", true, &_init_f_operator_excl__eq__c1681, &_call_f_operator_excl__eq__c1681); - methods += new qt_gsi::GenericMethod ("assign", "@brief Method QDir &QDir::operator=(const QDir &)\n", false, &_init_f_operator_eq__1681, &_call_f_operator_eq__1681); - methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QDir::operator==(const QDir &dir)\n", true, &_init_f_operator_eq__eq__c1681, &_call_f_operator_eq__eq__c1681); - methods += new qt_gsi::GenericMethod ("[]", "@brief Method QString QDir::operator[](int)\n", true, &_init_f_operator_index__c767, &_call_f_operator_index__c767); - methods += new qt_gsi::GenericMethod (":path", "@brief Method QString QDir::path()\n", true, &_init_f_path_c0, &_call_f_path_c0); - methods += new qt_gsi::GenericMethod ("refresh", "@brief Method void QDir::refresh()\n", true, &_init_f_refresh_c0, &_call_f_refresh_c0); - methods += new qt_gsi::GenericMethod ("relativeFilePath", "@brief Method QString QDir::relativeFilePath(const QString &fileName)\n", true, &_init_f_relativeFilePath_c2025, &_call_f_relativeFilePath_c2025); - methods += new qt_gsi::GenericMethod ("remove", "@brief Method bool QDir::remove(const QString &fileName)\n", false, &_init_f_remove_2025, &_call_f_remove_2025); - methods += new qt_gsi::GenericMethod ("removeRecursively", "@brief Method bool QDir::removeRecursively()\n", false, &_init_f_removeRecursively_0, &_call_f_removeRecursively_0); - methods += new qt_gsi::GenericMethod ("rename", "@brief Method bool QDir::rename(const QString &oldName, const QString &newName)\n", false, &_init_f_rename_3942, &_call_f_rename_3942); - methods += new qt_gsi::GenericMethod ("rmdir", "@brief Method bool QDir::rmdir(const QString &dirName)\n", true, &_init_f_rmdir_c2025, &_call_f_rmdir_c2025); - methods += new qt_gsi::GenericMethod ("rmpath", "@brief Method bool QDir::rmpath(const QString &dirPath)\n", true, &_init_f_rmpath_c2025, &_call_f_rmpath_c2025); - methods += new qt_gsi::GenericMethod ("setFilter|filter=", "@brief Method void QDir::setFilter(QFlags filter)\n", false, &_init_f_setFilter_2230, &_call_f_setFilter_2230); - methods += new qt_gsi::GenericMethod ("setNameFilters|nameFilters=", "@brief Method void QDir::setNameFilters(const QStringList &nameFilters)\n", false, &_init_f_setNameFilters_2437, &_call_f_setNameFilters_2437); - methods += new qt_gsi::GenericMethod ("setPath|path=", "@brief Method void QDir::setPath(const QString &path)\n", false, &_init_f_setPath_2025, &_call_f_setPath_2025); - methods += new qt_gsi::GenericMethod ("setSorting|sorting=", "@brief Method void QDir::setSorting(QFlags sort)\n", false, &_init_f_setSorting_2418, &_call_f_setSorting_2418); - methods += new qt_gsi::GenericMethod (":sorting", "@brief Method QFlags QDir::sorting()\n", true, &_init_f_sorting_c0, &_call_f_sorting_c0); - methods += new qt_gsi::GenericMethod ("swap", "@brief Method void QDir::swap(QDir &other)\n", false, &_init_f_swap_986, &_call_f_swap_986); - methods += new qt_gsi::GenericStaticMethod ("addSearchPath", "@brief Static method void QDir::addSearchPath(const QString &prefix, const QString &path)\nThis method is static and can be called without an instance.", &_init_f_addSearchPath_3942, &_call_f_addSearchPath_3942); - methods += new qt_gsi::GenericStaticMethod ("cleanPath", "@brief Static method QString QDir::cleanPath(const QString &path)\nThis method is static and can be called without an instance.", &_init_f_cleanPath_2025, &_call_f_cleanPath_2025); - methods += new qt_gsi::GenericStaticMethod ("current", "@brief Static method QDir QDir::current()\nThis method is static and can be called without an instance.", &_init_f_current_0, &_call_f_current_0); - methods += new qt_gsi::GenericStaticMethod ("currentPath", "@brief Static method QString QDir::currentPath()\nThis method is static and can be called without an instance.", &_init_f_currentPath_0, &_call_f_currentPath_0); - methods += new qt_gsi::GenericStaticMethod ("drives", "@brief Static method QList QDir::drives()\nThis method is static and can be called without an instance.", &_init_f_drives_0, &_call_f_drives_0); - methods += new qt_gsi::GenericStaticMethod ("fromNativeSeparators", "@brief Static method QString QDir::fromNativeSeparators(const QString &pathName)\nThis method is static and can be called without an instance.", &_init_f_fromNativeSeparators_2025, &_call_f_fromNativeSeparators_2025); - methods += new qt_gsi::GenericStaticMethod ("home", "@brief Static method QDir QDir::home()\nThis method is static and can be called without an instance.", &_init_f_home_0, &_call_f_home_0); - methods += new qt_gsi::GenericStaticMethod ("homePath", "@brief Static method QString QDir::homePath()\nThis method is static and can be called without an instance.", &_init_f_homePath_0, &_call_f_homePath_0); - methods += new qt_gsi::GenericStaticMethod ("isAbsolutePath?", "@brief Static method bool QDir::isAbsolutePath(const QString &path)\nThis method is static and can be called without an instance.", &_init_f_isAbsolutePath_2025, &_call_f_isAbsolutePath_2025); - methods += new qt_gsi::GenericStaticMethod ("isRelativePath?", "@brief Static method bool QDir::isRelativePath(const QString &path)\nThis method is static and can be called without an instance.", &_init_f_isRelativePath_2025, &_call_f_isRelativePath_2025); - methods += new qt_gsi::GenericStaticMethod ("listSeparator", "@brief Static method QChar QDir::listSeparator()\nThis method is static and can be called without an instance.", &_init_f_listSeparator_0, &_call_f_listSeparator_0); - methods += new qt_gsi::GenericStaticMethod ("match", "@brief Static method bool QDir::match(const QStringList &filters, const QString &fileName)\nThis method is static and can be called without an instance.", &_init_f_match_4354, &_call_f_match_4354); - methods += new qt_gsi::GenericStaticMethod ("match", "@brief Static method bool QDir::match(const QString &filter, const QString &fileName)\nThis method is static and can be called without an instance.", &_init_f_match_3942, &_call_f_match_3942); - methods += new qt_gsi::GenericStaticMethod ("nameFiltersFromString", "@brief Static method QStringList QDir::nameFiltersFromString(const QString &nameFilter)\nThis method is static and can be called without an instance.", &_init_f_nameFiltersFromString_2025, &_call_f_nameFiltersFromString_2025); - methods += new qt_gsi::GenericStaticMethod ("root", "@brief Static method QDir QDir::root()\nThis method is static and can be called without an instance.", &_init_f_root_0, &_call_f_root_0); - methods += new qt_gsi::GenericStaticMethod ("rootPath", "@brief Static method QString QDir::rootPath()\nThis method is static and can be called without an instance.", &_init_f_rootPath_0, &_call_f_rootPath_0); - methods += new qt_gsi::GenericStaticMethod ("searchPaths", "@brief Static method QStringList QDir::searchPaths(const QString &prefix)\nThis method is static and can be called without an instance.", &_init_f_searchPaths_2025, &_call_f_searchPaths_2025); - methods += new qt_gsi::GenericStaticMethod ("separator", "@brief Static method QChar QDir::separator()\nThis method is static and can be called without an instance.", &_init_f_separator_0, &_call_f_separator_0); - methods += new qt_gsi::GenericStaticMethod ("setCurrent", "@brief Static method bool QDir::setCurrent(const QString &path)\nThis method is static and can be called without an instance.", &_init_f_setCurrent_2025, &_call_f_setCurrent_2025); - methods += new qt_gsi::GenericStaticMethod ("setSearchPaths", "@brief Static method void QDir::setSearchPaths(const QString &prefix, const QStringList &searchPaths)\nThis method is static and can be called without an instance.", &_init_f_setSearchPaths_4354, &_call_f_setSearchPaths_4354); - methods += new qt_gsi::GenericStaticMethod ("temp", "@brief Static method QDir QDir::temp()\nThis method is static and can be called without an instance.", &_init_f_temp_0, &_call_f_temp_0); - methods += new qt_gsi::GenericStaticMethod ("tempPath", "@brief Static method QString QDir::tempPath()\nThis method is static and can be called without an instance.", &_init_f_tempPath_0, &_call_f_tempPath_0); - methods += new qt_gsi::GenericStaticMethod ("toNativeSeparators", "@brief Static method QString QDir::toNativeSeparators(const QString &pathName)\nThis method is static and can be called without an instance.", &_init_f_toNativeSeparators_2025, &_call_f_toNativeSeparators_2025); - return methods; -} - -gsi::Class decl_QDir ("Qt", "QDir", - methods_QDir (), - "@qt\n@brief Binding of QDir"); - - -GSI_QT_PUBLIC gsi::Class &qtdecl_QDir () { return decl_QDir; } - -} - - -// Implementation of the enum wrapper class for QDir::Filter -namespace qt_gsi -{ - -static gsi::Enum decl_QDir_Filter_Enum ("Qt", "QDir_Filter", - gsi::enum_const ("Dirs", QDir::Dirs, "@brief Enum constant QDir::Dirs") + - gsi::enum_const ("Files", QDir::Files, "@brief Enum constant QDir::Files") + - gsi::enum_const ("Drives", QDir::Drives, "@brief Enum constant QDir::Drives") + - gsi::enum_const ("NoSymLinks", QDir::NoSymLinks, "@brief Enum constant QDir::NoSymLinks") + - gsi::enum_const ("AllEntries", QDir::AllEntries, "@brief Enum constant QDir::AllEntries") + - gsi::enum_const ("TypeMask", QDir::TypeMask, "@brief Enum constant QDir::TypeMask") + - gsi::enum_const ("Readable", QDir::Readable, "@brief Enum constant QDir::Readable") + - gsi::enum_const ("Writable", QDir::Writable, "@brief Enum constant QDir::Writable") + - gsi::enum_const ("Executable", QDir::Executable, "@brief Enum constant QDir::Executable") + - gsi::enum_const ("PermissionMask", QDir::PermissionMask, "@brief Enum constant QDir::PermissionMask") + - gsi::enum_const ("Modified", QDir::Modified, "@brief Enum constant QDir::Modified") + - gsi::enum_const ("Hidden", QDir::Hidden, "@brief Enum constant QDir::Hidden") + - gsi::enum_const ("System", QDir::System, "@brief Enum constant QDir::System") + - gsi::enum_const ("AccessMask", QDir::AccessMask, "@brief Enum constant QDir::AccessMask") + - gsi::enum_const ("AllDirs", QDir::AllDirs, "@brief Enum constant QDir::AllDirs") + - gsi::enum_const ("CaseSensitive", QDir::CaseSensitive, "@brief Enum constant QDir::CaseSensitive") + - gsi::enum_const ("NoDot", QDir::NoDot, "@brief Enum constant QDir::NoDot") + - gsi::enum_const ("NoDotDot", QDir::NoDotDot, "@brief Enum constant QDir::NoDotDot") + - gsi::enum_const ("NoDotAndDotDot", QDir::NoDotAndDotDot, "@brief Enum constant QDir::NoDotAndDotDot") + - gsi::enum_const ("NoFilter", QDir::NoFilter, "@brief Enum constant QDir::NoFilter"), - "@qt\n@brief This class represents the QDir::Filter enum"); - -static gsi::QFlagsClass decl_QDir_Filter_Enums ("Qt", "QDir_QFlags_Filter", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QDir_Filter_Enum_in_parent (decl_QDir_Filter_Enum.defs ()); -static gsi::ClassExt decl_QDir_Filter_Enum_as_child (decl_QDir_Filter_Enum, "Filter"); -static gsi::ClassExt decl_QDir_Filter_Enums_as_child (decl_QDir_Filter_Enums, "QFlags_Filter"); - -} - - -// Implementation of the enum wrapper class for QDir::SortFlag -namespace qt_gsi -{ - -static gsi::Enum decl_QDir_SortFlag_Enum ("Qt", "QDir_SortFlag", - gsi::enum_const ("Name", QDir::Name, "@brief Enum constant QDir::Name") + - gsi::enum_const ("Time", QDir::Time, "@brief Enum constant QDir::Time") + - gsi::enum_const ("Size", QDir::Size, "@brief Enum constant QDir::Size") + - gsi::enum_const ("Unsorted", QDir::Unsorted, "@brief Enum constant QDir::Unsorted") + - gsi::enum_const ("SortByMask", QDir::SortByMask, "@brief Enum constant QDir::SortByMask") + - gsi::enum_const ("DirsFirst", QDir::DirsFirst, "@brief Enum constant QDir::DirsFirst") + - gsi::enum_const ("Reversed", QDir::Reversed, "@brief Enum constant QDir::Reversed") + - gsi::enum_const ("IgnoreCase", QDir::IgnoreCase, "@brief Enum constant QDir::IgnoreCase") + - gsi::enum_const ("DirsLast", QDir::DirsLast, "@brief Enum constant QDir::DirsLast") + - gsi::enum_const ("LocaleAware", QDir::LocaleAware, "@brief Enum constant QDir::LocaleAware") + - gsi::enum_const ("Type", QDir::Type, "@brief Enum constant QDir::Type") + - gsi::enum_const ("NoSort", QDir::NoSort, "@brief Enum constant QDir::NoSort"), - "@qt\n@brief This class represents the QDir::SortFlag enum"); - -static gsi::QFlagsClass decl_QDir_SortFlag_Enums ("Qt", "QDir_QFlags_SortFlag", - "@qt\n@brief This class represents the QFlags flag set"); - -// Inject the declarations into the parent -static gsi::ClassExt inject_QDir_SortFlag_Enum_in_parent (decl_QDir_SortFlag_Enum.defs ()); -static gsi::ClassExt decl_QDir_SortFlag_Enum_as_child (decl_QDir_SortFlag_Enum, "SortFlag"); -static gsi::ClassExt decl_QDir_SortFlag_Enums_as_child (decl_QDir_SortFlag_Enums, "QFlags_SortFlag"); - -} - diff --git a/src/gsiqt/qt6/QtWidgets/gsiDeclQtWidgetsTypeTraits.h b/src/gsiqt/qt6/QtWidgets/gsiDeclQtWidgetsTypeTraits.h deleted file mode 100644 index 84a5aaf5e..000000000 --- a/src/gsiqt/qt6/QtWidgets/gsiDeclQtWidgetsTypeTraits.h +++ /dev/null @@ -1,30 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file generated/gsiDeclQtWidgetsTypeTraits.h -* @brief Type traits for the Qt binding classes -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ - diff --git a/src/gsiqt/qt6/QtXml/gsiDeclQtXmlTypeTraits.h b/src/gsiqt/qt6/QtXml/gsiDeclQtXmlTypeTraits.h deleted file mode 100644 index 42319844a..000000000 --- a/src/gsiqt/qt6/QtXml/gsiDeclQtXmlTypeTraits.h +++ /dev/null @@ -1,30 +0,0 @@ - -/* - - KLayout Layout Viewer - Copyright (C) 2006-2021 Matthias Koefferlein - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -/** -* @file generated/gsiDeclQtXmlTypeTraits.h -* @brief Type traits for the Qt binding classes -* -* DO NOT EDIT THIS FILE. -* This file has been created automatically -*/ -