Merge branch 'wip' into wip2

This commit is contained in:
Matthias Koefferlein 2023-08-11 19:17:01 +02:00
commit 254015617d
817 changed files with 74286 additions and 46552 deletions

View File

@ -1315,6 +1315,7 @@ def Deploy_Binaries_For_Bundle(config, parameters):
# | +-- 'klayout'
# | +-- db_plugins/
# | +-- lay_plugins/
# | +-- pymod/
# +-- Buddy/+
# | +-- 'strm2cif'
# | +-- 'strm2dxf'
@ -1408,7 +1409,7 @@ def Deploy_Binaries_For_Bundle(config, parameters):
# Copy the contents of the plugin directories to a place next to
# the application binary
#-------------------------------------------------------------------
for piDir in [ "db_plugins", "lay_plugins" ]:
for piDir in [ "db_plugins", "lay_plugins", "pymod" ]:
os.makedirs( os.path.join( targetDirM, piDir ))
dynamicLinkLibs = glob.glob( os.path.join( MacBinDir, piDir, "*.dylib" ) )
for item in dynamicLinkLibs:
@ -1458,6 +1459,7 @@ def Deploy_Binaries_For_Bundle(config, parameters):
# | +-- 'klayout'
# | +-- db_plugins/
# | +-- lay_plugins/
# | +-- pymod/
# :
#----------------------------------------------------------------------------------
os.chdir( targetDirF )

View File

@ -184,11 +184,11 @@ def ExportEnvVariables():
MyEnviron[ 'TESTSRC' ] = ".."
MyEnviron[ 'TESTTMP' ] = WorkDir
if System == "Darwin":
MyEnviron[ 'DYLD_LIBRARY_PATH' ] = "%s:%s/db_plugins:%s/lay_plugins" % (ProjectDir, ProjectDir, ProjectDir)
MyEnviron[ 'DYLD_LIBRARY_PATH' ] = "%s:%s/db_plugins:%s/lay_plugins:%s/pymod" % (ProjectDir, ProjectDir, ProjectDir, ProjectDir)
for env in [ 'TESTSRC', 'TESTTMP', 'DYLD_LIBRARY_PATH' ]:
os.environ[env] = MyEnviron[env]
else:
MyEnviron[ 'LD_LIBRARY_PATH' ] = "%s:%s/db_plugins:%s/lay_plugins" % (ProjectDir, ProjectDir, ProjectDir)
MyEnviron[ 'LD_LIBRARY_PATH' ] = "%s:%s/db_plugins:%s/lay_plugins:%s/pymod" % (ProjectDir, ProjectDir, ProjectDir, ProjectDir)
for env in [ 'TESTSRC', 'TESTTMP', 'LD_LIBRARY_PATH' ]:
os.environ[env] = MyEnviron[env]

View File

@ -46,7 +46,7 @@ logfile=QATest_${gitSHA1}_${timestamp}__${presentDir}.log
#----------------------------------------------------------------
export TESTSRC=..
export TESTTMP=QATest_${gitSHA1}_${timestamp}__${presentDir}
export DYLD_LIBRARY_PATH=$(pwd):$(pwd)/db_plugins:$(pwd)/lay_plugins
export DYLD_LIBRARY_PATH=$(pwd):$(pwd)/db_plugins:$(pwd)/lay_plugins:$(pwd)/pymod
#----------------------------------------------------------------
# Environment variables for "ut_runner"

View File

@ -277,7 +277,7 @@ echo "Making .zip file $zipname.zip .."
rm -rf $zipname $zipname.zip
mkdir $zipname
cp -Rv *.dll .*-paths.txt db_plugins lay_plugins $plugins lib $zipname | sed -u 's/.*/echo -n ./' | sh
cp -Rv *.dll .*-paths.txt db_plugins lay_plugins pymod $plugins lib $zipname | sed -u 's/.*/echo -n ./' | sh
cp klayout.exe $zipname/klayout_app.exe
cp klayout.exe $zipname/klayout_vo_app.exe
echo ""

View File

@ -70,6 +70,7 @@ section
file .*-paths.txt
file /r db_plugins
file /r lay_plugins
file /r pymod
file /r audio
file /r generic
file /r iconengines

View File

@ -93,6 +93,7 @@ mkdir -p makedeb-tmp/${sharedir}/applications
mkdir -p makedeb-tmp/${sharedir}/pixmaps
mkdir -p makedeb-tmp/${libdir}/db_plugins
mkdir -p makedeb-tmp/${libdir}/lay_plugins
mkdir -p makedeb-tmp/${libdir}/pymod
mkdir -p makedeb-tmp/${bindir}
cp etc/klayout.desktop makedeb-tmp/${sharedir}/applications
@ -106,6 +107,7 @@ cp -pd $bininstdir/klayout makedeb-tmp/${bindir}
cp -pd $bininstdir/lib*so* makedeb-tmp/${libdir}
cp -pd $bininstdir/db_plugins/lib*so* makedeb-tmp/${libdir}/db_plugins
cp -pd $bininstdir/lay_plugins/lib*so* makedeb-tmp/${libdir}/lay_plugins
cp -rpd $bininstdir/pymod/* makedeb-tmp/${libdir}/pymod
cd makedeb-tmp
@ -131,6 +133,7 @@ echo "Modifying control file .."
strip ${bindir}/*
strip ${libdir}/db_plugins/*.so*
strip ${libdir}/lay_plugins/*.so*
strip ${libdir}/pymod/klayout/*.so*
size=`du -ck usr | grep total | sed "s/ *total//"`

View File

@ -43,7 +43,7 @@ update=0
diff=0
reuse=0
qt="/opt/qt/4.6.3/include"
qt5="/opt/qt/5.5.1/include"
qt5="/opt/qt/5.12.12/include"
qt6="/opt/qt/6.2.1/include"
inst_dir_common=`pwd`/scripts/mkqtdecl_common
inst_dir4=`pwd`/scripts/mkqtdecl4

View File

@ -526,7 +526,9 @@ drop_method "QPixmap", /QPixmap::handle/ # not available on WIN
drop_method "QPixmap", /QPixmap::fromX11Pixmap/ # not available on WIN
drop_method "QTabletEvent", /QTabletEvent::QTabletEvent/ # TODO: too many arguments
drop_method "QGraphicsProxyWidget", /QGraphicsProxyWidget::setGeometry\(double/ # not available as override (private or protected inheritance?)
drop_method "QPixmap", /QPixmap::QPixmap\(const\s+char\s+\*\s*const\s*\w*\s*\[\s*\]/ # no const char *[] - TODO: provide differen implementation?
drop_method "QPixmap", /QPixmap::QPixmap\(const\s+char\s+\*\s*const\s*xpm\s*\[\s*\]/ # no const char *[] - TODO: provide differen implementation?
drop_method "QImage", /QImage::QImage\(.*unsigned\s+char\s+\*\s*data\W/ # not binary data constructor - done in native implementation
add_native_impl_QImage()
drop_method "QImage", /QImage::QImage\(const\s+char\s+\*\s*const\s*xpm\s*\[\s*\]/ # no const char *[] - TODO: provide differen implementation?
drop_method "QImage", /QImage::QImage\(const\s+char\s+\*\s*fileName/ # not available for QT_NO_CAST_TO_ASCII
drop_method "QAccessibleInterface", /QAccessibleInterface::imageInterface/ # Interface is not officially available
@ -635,11 +637,26 @@ drop_method "Qimage", /Qimage::text\(const\s+QString/ # clashes with const char
rename "QDialogButtonBox", /QDialogButtonBox::QDialogButtonBox\(QFlags/, "new_buttons"
rename "QIcon", /QIcon::pixmap\(int\s+extent/, "pixmap_ext"
rename "QKeySequence", /QKeySequence::QKeySequence\(QKeySequence::StandardKey/, "new_std"
# TODO: basically, the layout object only takes ownership over the objects when
# it has a QWidget parent itself. This is not reflected in the following simple scheme
keep_arg "QBoxLayout", /::addLayout/, 0 # will take ownership of layout
keep_arg "QBoxLayout", /::addSpacerItem/, 0 # will take ownership of item
keep_arg "QBoxLayout", /::addWidget/, 0 # will take ownership of item
keep_arg "QBoxLayout", /::insertItem/, 1 # will take ownership of item
keep_arg "QBoxLayout", /::insertLayout/, 1 # will take ownership of item
keep_arg "QBoxLayout", /::insertSpacerItem/, 1 # will take ownership of item
keep_arg "QBoxLayout", /::insertWidget/, 1 # will take ownership of item
keep_arg "QGridLayout", /::addLayout/, 0 # will take ownership of layout
keep_arg "QWidget", /::setLayout\s*\(/, 0 # will take ownership of layout
keep_arg "QGridLayout", /::addItem/, 0 # will take ownership of layout
keep_arg "QGridLayout", /::addWidget/, 0 # will take ownership of layout
keep_arg "QLayout", /::addChildLayout/, 0 # will take ownership of layout
keep_arg "QLayout", /::addItem/, 0 # will take ownership of item
keep_arg "QLayout", /::addWidget/, 0 # will take ownership of item
keep_arg "QStackedLayout", /::addWidget/, 0 # will take ownership of item
keep_arg "QStackedLayout", /::insertWidget/, 1 # will take ownership of item
keep_arg "QWidget", /::setLayout\s*\(/, 0 # will take ownership of layout
keep_arg "QTreeWidgetItem", /::addChild\(/, 0 # will take ownership of the child
keep_arg "QTreeWidgetItem", /::addChildren\(/, 0 # will take ownership of the children
keep_arg "QTreeWidgetItem", /::insertChild\(/, 1 # will take ownership of the child

View File

@ -19,7 +19,8 @@
#include "QtCore/QAtomicPointer"
#include "QtCore/QBasicMutex"
#include "QtCore/QBasicTimer"
#include "QtCore/QBBSystemLocaleData"
#include "QtCore/QBEInteger"
#include "QtCore/QBigEndianStorageType"
#include "QtCore/QBitArray"
#include "QtCore/QBitRef"
#include "QtCore/QBuffer"
@ -31,6 +32,14 @@
#include "QtCore/QByteArrayMatcher"
#include "QtCore/QByteRef"
#include "QtCore/QCache"
#include "QtCore/QCborArray"
#include "QtCore/QCborError"
#include "QtCore/QCborMap"
#include "QtCore/QCborParserError"
#include "QtCore/QCborStreamReader"
#include "QtCore/QCborStreamWriter"
#include "QtCore/QCborValue"
#include "QtCore/QCborValueRef"
#include "QtCore/QChar"
#include "QtCore/QCharRef"
#include "QtCore/QChildEvent"
@ -38,6 +47,7 @@
#include "QtCore/QCollatorSortKey"
#include "QtCore/QCommandLineOption"
#include "QtCore/QCommandLineParser"
// #include "QtCore/QConstOverload"
#include "QtCore/QContiguousCache"
#include "QtCore/QContiguousCacheData"
#include "QtCore/QContiguousCacheTypedData"
@ -46,6 +56,7 @@
#include "QtCore/QDataStream"
#include "QtCore/QDate"
#include "QtCore/QDateTime"
#include "QtCore/QDeadlineTimer"
#include "QtCore/QDebug"
#include "QtCore/QDebugStateSaver"
#include "QtCore/QDeferredDeleteEvent"
@ -71,7 +82,7 @@
#include "QtCore/QFinalState"
#include "QtCore/QFlag"
#include "QtCore/QFlags"
#include "QtCore/QForeachContainer"
#include "QtCore/QFloat16"
#include "QtCore/QFunctionPointer"
#include "QtCore/QFuture"
#include "QtCore/QFutureInterface"
@ -86,6 +97,7 @@
#include "QtCore/QHash"
#include "QtCore/QHashData"
#include "QtCore/QHashDummyValue"
#include "QtCore/QHashFunctions"
#include "QtCore/QHashIterator"
#include "QtCore/QHashNode"
#include "QtCore/QHistoryState"
@ -105,9 +117,11 @@
#include "QtCore/QJsonValuePtr"
#include "QtCore/QJsonValueRef"
#include "QtCore/QJsonValueRefPtr"
// #include "QtCore/QKeyValueIterator"
#include "QtCore/QLatin1Char"
#include "QtCore/QLatin1Literal"
#include "QtCore/QLatin1String"
#include "QtCore/QLEInteger"
#include "QtCore/QLibrary"
#include "QtCore/QLibraryInfo"
#include "QtCore/QLine"
@ -120,6 +134,7 @@
#include "QtCore/QListData"
#include "QtCore/QListIterator"
#include "QtCore/QListSpecialMethods"
#include "QtCore/QLittleEndianStorageType"
#include "QtCore/QLocale"
#include "QtCore/QLockFile"
#include "QtCore/QLoggingCategory"
@ -140,9 +155,6 @@
#include "QtCore/QMetaObject"
#include "QtCore/QMetaProperty"
#include "QtCore/QMetaType"
#include "QtCore/QMetaTypeId"
#include "QtCore/QMetaTypeId2"
#include "QtCore/QMetaTypeIdQObject"
#include "QtCore/QMimeData"
#include "QtCore/QMimeDatabase"
#include "QtCore/QMimeType"
@ -162,11 +174,13 @@
#include "QtCore/QMutex"
#include "QtCore/QMutexLocker"
#include "QtCore/QNoDebug"
// #include "QtCore/QNonConstOverload"
#include "QtCore/QObject"
#include "QtCore/QObjectCleanupHandler"
#include "QtCore/QObjectData"
#include "QtCore/QObjectList"
#include "QtCore/QObjectUserData"
#include "QtCore/QOperatingSystemVersion"
#include "QtCore/QPair"
#include "QtCore/QParallelAnimationGroup"
#include "QtCore/QPauseAnimation"
@ -180,6 +194,8 @@
#include "QtCore/QProcessEnvironment"
#include "QtCore/QPropertyAnimation"
#include "QtCore/QQueue"
#include "QtCore/QRandomGenerator"
#include "QtCore/QRandomGenerator64"
#include "QtCore/QReadLocker"
#include "QtCore/QReadWriteLock"
#include "QtCore/QRect"
@ -200,7 +216,10 @@
#include "QtCore/QScopedPointerObjectDeleteLater"
#include "QtCore/QScopedPointerPodDeleter"
#include "QtCore/QScopedValueRollback"
#include "QtCore/QScopeGuard"
// #include "QtCore/Q_SECURITY_ATTRIBUTES"
#include "QtCore/QSemaphore"
#include "QtCore/QSemaphoreReleaser"
#include "QtCore/QSequentialAnimationGroup"
#include "QtCore/QSequentialIterable"
#include "QtCore/QSet"
@ -217,29 +236,35 @@
#include "QtCore/QSizeF"
#include "QtCore/QSocketNotifier"
#include "QtCore/QSortFilterProxyModel"
#include "QtCore/QSpecialInteger"
#include "QtCore/QStack"
#include "QtCore/QStandardPaths"
// #include "QtCore/Q_STARTUPINFO"
#include "QtCore/QState"
#include "QtCore/QStateMachine"
#include "QtCore/QStaticArrayData"
#include "QtCore/QStaticAssertFailure"
#include "QtCore/QStaticByteArrayData"
#include "QtCore/QStaticByteArrayMatcherBase"
#include "QtCore/QStaticPlugin"
#include "QtCore/QStaticStringData"
#include "QtCore/QStorageInfo"
#include "QtCore/QString"
#include "QtCore/QStringAlgorithms"
#include "QtCore/QStringBuilder"
#include "QtCore/QStringData"
#include "QtCore/QStringDataPtr"
#include "QtCore/QStringList"
#include "QtCore/QStringListIterator"
#include "QtCore/QStringListModel"
#include "QtCore/QStringLiteral"
#include "QtCore/QStringMatcher"
#include "QtCore/QStringRef"
#include "QtCore/QStringView"
#include "QtCore/QSysInfo"
#include "QtCore/QSystemSemaphore"
#include "QtCore/Qt"
#include "QtCore/QtAlgorithms"
#include "QtCore/QtCborCommon"
#include "QtCore/QtCleanUpFunction"
#include "QtCore/QtConfig"
#include "QtCore/QtContainerFwd"
@ -277,6 +302,7 @@
#include "QtCore/QTranslator"
#include "QtCore/QTypeInfo"
#include "QtCore/QTypeInfoMerger"
// #include "QtCore/QTypeInfoQuery"
#include "QtCore/QUnhandledException"
#include "QtCore/QUrl"
#include "QtCore/QUrlQuery"
@ -291,6 +317,7 @@
#include "QtCore/QVarLengthArray"
#include "QtCore/QVector"
#include "QtCore/QVectorIterator"
#include "QtCore/QVersionNumber"
#include "QtCore/QWaitCondition"
#include "QtCore/QWeakPointer"
#include "QtCore/QWinEventNotifier"

View File

@ -1,13 +1,16 @@
#if 0
// No designer support, except QFormBuilder
#include "QtDesigner/QAbstractExtensionFactory"
#include "QtDesigner/QAbstractExtensionManager"
#include "QtDesigner/QAbstractFormBuilder"
#if 0
// No designer support, except QFormBuilder
#include "QtDesigner/QDesignerActionEditorInterface"
#include "QtDesigner/QDesignerComponents"
#include "QtDesigner/QDesignerContainerExtension"
#include "QtDesigner/QDesignerCustomWidgetCollectionInterface"
#include "QtDesigner/QDesignerCustomWidgetInterface"
#include "QtDesigner/QDesignerDnDItemInterface"
#include "QtDesigner/QDesignerDynamicPropertySheetExtension"
#include "QtDesigner/QDesignerExportWidget"
#include "QtDesigner/QDesignerExtraInfoExtension"
#include "QtDesigner/QDesignerFormEditorInterface"
#include "QtDesigner/QDesignerFormEditorPluginInterface"

View File

@ -82,6 +82,7 @@
#include "QtGui/QKeyEvent"
#include "QtGui/QKeySequence"
#include "QtGui/QLinearGradient"
// #include "QtGui/QList" // clash with QList
#include "QtGui/QMatrix"
#include "QtGui/QMatrix2x2"
#include "QtGui/QMatrix2x3"
@ -97,6 +98,58 @@
#include "QtGui/QMovie"
#include "QtGui/QNativeGestureEvent"
#include "QtGui/QOffscreenSurface"
#if 0 // we don't want to support this ..
#include "QtGui/QOpenGLBuffer"
#include "QtGui/QOpenGLContext"
#include "QtGui/QOpenGLContextGroup"
#include "QtGui/QOpenGLDebugLogger"
#include "QtGui/QOpenGLDebugMessage"
#include "QtGui/QOpenGLExtraFunctions"
#include "QtGui/QOpenGLExtraFunctionsPrivate"
#include "QtGui/QOpenGLFramebufferObject"
#include "QtGui/QOpenGLFramebufferObjectFormat"
#include "QtGui/QOpenGLFunctions"
#include "QtGui/QOpenGLFunctions_1_0"
#include "QtGui/QOpenGLFunctions_1_1"
#include "QtGui/QOpenGLFunctions_1_2"
#include "QtGui/QOpenGLFunctions_1_3"
#include "QtGui/QOpenGLFunctions_1_4"
#include "QtGui/QOpenGLFunctions_1_5"
#include "QtGui/QOpenGLFunctions_2_0"
#include "QtGui/QOpenGLFunctions_2_1"
#include "QtGui/QOpenGLFunctions_3_0"
#include "QtGui/QOpenGLFunctions_3_1"
#include "QtGui/QOpenGLFunctions_3_2_Compatibility"
#include "QtGui/QOpenGLFunctions_3_2_Core"
#include "QtGui/QOpenGLFunctions_3_3_Compatibility"
#include "QtGui/QOpenGLFunctions_3_3_Core"
#include "QtGui/QOpenGLFunctions_4_0_Compatibility"
#include "QtGui/QOpenGLFunctions_4_0_Core"
#include "QtGui/QOpenGLFunctions_4_1_Compatibility"
#include "QtGui/QOpenGLFunctions_4_1_Core"
#include "QtGui/QOpenGLFunctions_4_2_Compatibility"
#include "QtGui/QOpenGLFunctions_4_2_Core"
#include "QtGui/QOpenGLFunctions_4_3_Compatibility"
#include "QtGui/QOpenGLFunctions_4_3_Core"
#include "QtGui/QOpenGLFunctions_4_4_Compatibility"
#include "QtGui/QOpenGLFunctions_4_4_Core"
#include "QtGui/QOpenGLFunctions_4_5_Compatibility"
#include "QtGui/QOpenGLFunctions_4_5_Core"
#include "QtGui/QOpenGLFunctions_ES2"
#include "QtGui/QOpenGLFunctionsPrivate"
#include "QtGui/QOpenGLPaintDevice"
#include "QtGui/QOpenGLPixelTransferOptions"
#include "QtGui/QOpenGLShader"
#include "QtGui/QOpenGLShaderProgram"
#include "QtGui/QOpenGLTexture"
#include "QtGui/QOpenGLTextureBlitter"
#include "QtGui/QOpenGLTimeMonitor"
#include "QtGui/QOpenGLTimerQuery"
#include "QtGui/QOpenGLVersionFunctions"
#include "QtGui/QOpenGLVersionProfile"
#include "QtGui/QOpenGLVertexArrayObject"
#include "QtGui/QOpenGLWindow"
#endif
#include "QtGui/QPagedPaintDevice"
#include "QtGui/QPageLayout"
#include "QtGui/QPageSize"
@ -118,6 +171,7 @@
#include "QtGui/QPixmap"
#include "QtGui/QPixmapCache"
#include "QtGui/QPlatformSurfaceEvent"
#include "QtGui/QPointingDeviceUniqueId"
#include "QtGui/QPolygon"
#include "QtGui/QPolygonF"
#include "QtGui/QQuaternion"
@ -129,6 +183,7 @@
#include "QtGui/QRegularExpressionValidator"
#include "QtGui/QResizeEvent"
#include "QtGui/QRgb"
#include "QtGui/QRgba64"
#include "QtGui/QScreen"
#include "QtGui/QScreenOrientationChangeEvent"
#include "QtGui/QScrollEvent"
@ -186,6 +241,16 @@
#include "QtGui/QVector2D"
#include "QtGui/QVector3D"
#include "QtGui/QVector4D"
#if 0 // we don't want to support this ..
#include "QtGui/QVulkanDeviceFunctions"
#include "QtGui/QVulkanExtension"
#include "QtGui/QVulkanFunctions"
#include "QtGui/QVulkanInfoVector"
#include "QtGui/QVulkanInstance"
#include "QtGui/QVulkanLayer"
#include "QtGui/QVulkanWindow"
#include "QtGui/QVulkanWindowRenderer"
#endif
#include "QtGui/QWhatsThisClickedEvent"
#include "QtGui/QWheelEvent"
#include "QtGui/QWidgetList"

View File

@ -19,6 +19,7 @@
#include "QtMultimedia/QAudioOutputSelectorControl"
#include "QtMultimedia/QAudioProbe"
#include "QtMultimedia/QAudioRecorder"
#include "QtMultimedia/QAudioRoleControl"
#include "QtMultimedia/QAudioSystemFactoryInterface"
#include "QtMultimedia/QAudioSystemPlugin"
#include "QtMultimedia/QCamera"
@ -44,6 +45,7 @@
#include "QtMultimedia/QCameraViewfinderSettingsControl"
#include "QtMultimedia/QCameraViewfinderSettingsControl2"
#include "QtMultimedia/QCameraZoomControl"
#include "QtMultimedia/QCustomAudioRoleControl"
#include "QtMultimedia/QImageEncoderControl"
#include "QtMultimedia/QImageEncoderSettings"
#include "QtMultimedia/QMediaAudioProbeControl"

View File

@ -7,8 +7,11 @@
#include "QtNetwork/QDnsMailExchangeRecord"
#include "QtNetwork/QDnsServiceRecord"
#include "QtNetwork/QDnsTextRecord"
#include "QtNetwork/QDtls"
#include "QtNetwork/QDtlsClientVerifier"
#include "QtNetwork/QHostAddress"
#include "QtNetwork/QHostInfo"
#include "QtNetwork/QHstsPolicy"
#include "QtNetwork/QHttpMultiPart"
#include "QtNetwork/QHttpPart"
#include "QtNetwork/Q_IPV6ADDR"
@ -22,6 +25,7 @@
#include "QtNetwork/QNetworkConfigurationManager"
#include "QtNetwork/QNetworkCookie"
#include "QtNetwork/QNetworkCookieJar"
#include "QtNetwork/QNetworkDatagram"
#include "QtNetwork/QNetworkDiskCache"
#include "QtNetwork/QNetworkInterface"
#include "QtNetwork/QNetworkProxy"
@ -30,11 +34,14 @@
#include "QtNetwork/QNetworkReply"
#include "QtNetwork/QNetworkRequest"
#include "QtNetwork/QNetworkSession"
#include "QtNetwork/QSctpServer"
#include "QtNetwork/QSctpSocket"
#include "QtNetwork/QSsl"
#include "QtNetwork/QSslCertificate"
#include "QtNetwork/QSslCertificateExtension"
#include "QtNetwork/QSslCipher"
#include "QtNetwork/QSslConfiguration"
#include "QtNetwork/QSslDiffieHellmanParameters"
#include "QtNetwork/QSslEllipticCurve"
#include "QtNetwork/QSslError"
#include "QtNetwork/QSslKey"

View File

@ -30,13 +30,18 @@ drop_method :all_classes, /::qt_check_for_QOBJECT_macro/ # don't include in API!
drop_method :all_classes, /::devType\(/ # not required
drop_method :all_classes, /::data_ptr/ # no private data
drop_method :all_classes, /::x11/ # no X11 stuff
drop_method :all_classes, /\(.*std::chrono.*\)/ # no std::chrono
drop_method :all_classes, /^std::chrono::/ # no std::chrono as return value
drop_method :all_classes, /\(.*&&.*\)/ # no move semantics
drop_method :all_classes, /.*\s+&&$/ # no move semantics
drop_method :all_classes, /\(.*std::initializer_list.*\)/ # no brace initialization
drop_method :all_classes, /\(.*QStringView\W/ # no QStringView
drop_method :all_classes, /^QStringView\W/ # no QStringView
drop_method :all_classes, /\(.*QLatin1String\W/ # clashes usually with const char *
rename :all_classes, /::create\(/, "qt_create" # clashes with GSI/Ruby
rename :all_classes, /::destroy\(/, "qt_destroy" # clashes with GSI/Ruby
rename :all_classes, /::raise\(/, "qt_raise" # clashes with Ruby "raise" keyword
def_alias :all_classes, /::create\(/, "qt_create" # clashes with GSI/Ruby
def_alias :all_classes, /::destroy\(/, "qt_destroy" # clashes with GSI/Ruby
def_alias :all_classes, /::raise\(/, "qt_raise" # clashes with Ruby "raise" keyword
# --------------------------------------------------------------
# Qt
@ -74,20 +79,38 @@ drop_class "QAtomicInt"
drop_class "QAtomicInteger"
drop_class "QAtomicOps"
drop_class "QAtomicPointer"
drop_class "QAtomicTraits"
drop_class "QAtomicOpsSupport"
drop_class "QBasicAtomicInt"
drop_class "QBasicAtomicInteger"
drop_class "QBasicAtomicOps"
drop_class "QBasicAtomicPointer"
drop_class "QBBSystemLocaleData"
drop_class "QBigEndianStorageType"
drop_class "QBitArray"
drop_class "QBitRef"
drop_class "QBool"
drop_class "QByteArray"
drop_class "QByteRef"
drop_class "QCache"
drop_class "QCborArray" # complex API & there are better alternatives
drop_class "QCborArray_ConstIterator" # complex API & there are better alternatives
drop_class "QCborArray_Iterator" # complex API & there are better alternatives
drop_class "QCborError" # complex API & there are better alternatives
drop_class "QCborMap" # complex API & there are better alternatives
drop_class "QCborMap_ConstIterator" # complex API & there are better alternatives
drop_class "QCborMap_Iterator" # complex API & there are better alternatives
drop_class "QCborParserError" # complex API & there are better alternatives
drop_class "QCborStreamReader" # complex API & there are better alternatives
drop_class "QCborStreamWriter" # complex API & there are better alternatives
drop_class "QCborValue" # complex API & there are better alternatives
drop_class "QCborValueRef" # complex API & there are better alternatives
drop_class "QCborKnownTags" # complex API & there are better alternatives
drop_class "QCborNegativeInteger" # complex API & there are better alternatives
drop_class "QCborSimpleType" # complex API & there are better alternatives
drop_class "QChar"
drop_class "QCharRef"
drop_class "QConstOverload"
drop_class "QConstString"
drop_class "QContiguousCache"
drop_class "QContiguousCacheData"
@ -126,6 +149,7 @@ drop_class "QIncompatibleFlag"
drop_class "QInternal"
drop_class "QIntegerForSizeof"
drop_class "QJsonPrivate"
drop_class "QKeyValueIterator"
drop_class "QLatin1Char"
drop_class "QLatin1String"
drop_class "QLinkedList"
@ -136,6 +160,7 @@ drop_class "QList"
drop_class "QListData"
drop_class "QListIterator"
drop_class "QListSpecialMethods"
drop_class "QLittleEndianStorageType"
drop_class "QMap"
drop_class "QMapData"
drop_class "QMapIterator"
@ -157,10 +182,12 @@ drop_class "QMutableStringListIterator"
drop_class "QMutableVectorIterator"
drop_class "QMutexLocker"
drop_class "QNoImplicitBoolCast"
drop_class "QNonConstOverload"
drop_class "QObjectCleanupHandler"
drop_class "QObjectData"
drop_class "QObjectList"
drop_class "QObjectUserData"
drop_class "QOverload"
drop_class "QPair"
drop_class "QPointer"
drop_class "QQueue"
@ -171,19 +198,24 @@ drop_class "QScopedPointerDeleter"
drop_class "QScopedPointerObjectDeleteLater"
drop_class "QScopedPointerPodDeleter"
drop_class "QScopedValueRollback"
drop_class "QScopeGuard"
drop_class "QSet"
drop_class "QSetIterator"
drop_class "QSharedDataPointer"
drop_class "QSharedData" # where to get QAtomic?
drop_class "QSharedPointer"
drop_class "QSpecialInteger"
drop_class "QStack"
drop_class "QStaticArrayData"
drop_class "QStaticByteArrayData"
drop_class "QStaticByteArrayMatcher"
drop_class "QStaticByteArrayMatcherBase"
drop_class "QStaticStringData"
drop_class "QStdWString"
drop_class "QStringListIterator"
drop_class "QStringList" # mapped otherwise
drop_class "QString" # mapped otherwise
drop_class "QStringView" # mapped otherwise
drop_class "QStringRef"
drop_class "QStringBuilder"
drop_class "QStringBuilderBase"
@ -213,6 +245,7 @@ drop_class "QtMetaTypePrivate"
drop_class "QtGlobalStatic"
drop_class "QTypeInfo"
drop_class "QTypeInfoMerger"
drop_class "QTypeInfoQuery"
drop_class "QTypedArrayData"
drop_class "QUuid"
drop_class "QUpdateLaterEvent"
@ -230,9 +263,16 @@ drop_enum_const "QEvent", /CocoaRequestModal/ # not available on WIN
drop_method "QMetaType", /QMetaType::staticMetaObject/ # not available
drop_method "QMetaType", /QMetaType::registerNormalizedType/ # needs function ptrs.
drop_method "QDeadlineTimer", /QDeadlineTimer::_q_data/ # internal and QPair is not bound
drop_method "QCollator", /QCollator::compare\(.*QStringRef/ # clashes with QString version
drop_method "QLocale", /QLocale::(toDouble|toFloat|toInt|toLongLong|toShort|quoteString|toUInt|toULongLong|toUShort)\(.*QStringRef/ # clashes with QString version
drop_method "QRegularExpression", /QRegularExpression::(match|globalMatch)\(.*QStringRef/ # clashes with QString version
drop_method "QRandomGenerator", /QRandomGenerator::QRandomGenerator\(.*quint32\s+\*/ # no pointers
drop_method "QRandomGenerator", /QRandomGenerator::QRandomGenerator\(.*std::seed_seq/ # no std::seed_seq
drop_method "QRandomGenerator", /QRandomGenerator::seed\(.*std::seed_seq/ # no std::seed_seq
drop_method "QRandomGenerator64", /QRandomGenerator64::QRandomGenerator64\(.*quint32\s+\*/ # no pointers
drop_method "QRandomGenerator64", /QRandomGenerator64::QRandomGenerator64\(.*std::seed_seq/ # no std::seed_seq
drop_method "QRandomGenerator64", /QRandomGenerator64::seed\(.*std::seed_seq/ # no std::seed_seq
drop_method "QSignalBlocker", /QSignalBlocker::QSignalBlocker\(.*&/ # clashes with pointer version
drop_method "QQuaternion", /QQuaternion::toRotationMatrix\(/ # GenericMatrix not available
drop_method "QQuaternion", /QQuaternion::fromRotationMatrix\(/ # GenericMatrix not available
@ -353,6 +393,8 @@ drop_method "", /::operator\s*==\(const\s+QVariant\s*&\w+,\s*const\s+QVariantCom
drop_method "", /::operator\s*!=\(const\s+QVariant\s*&\w+,\s*const\s+QVariantComparisonHelper/ # requires QVariantComparisonHelper
drop_method "QByteArrayMatcher", /QByteArrayMatcher::indexIn\(const\s+QByteArray/ # clashes with const char * variant
drop_method "QRegion", /QRegion::setRects/ # gets a new implementation
drop_method "QRegion", /QRegion::c?rbegin/ # iterator not available
drop_method "QRegion", /QRegion::c?rend/ # iterator not available
drop_method "QTimer", /static\s+void\s+QTimer::singleShot\(/ # requires slots, alternative impl?
drop_method "QDebug", /QDebug::operator\s*<<\((?!const\s+QString\s*&)/ # don't map the others right now - too many (TODO: how to map?)
drop_method "", /::operator\s*<<\(QDebug\s*\w*\s*,\s*(?!const\s+QString\s*&)/ # don't map the others right now - too many (TODO: how to map?)
@ -628,15 +670,20 @@ drop_class "QOpenGLPixelTransferOptions" # OpenGL native types not supported
drop_class "QOpenGLShader" # OpenGL native types not supported
drop_class "QOpenGLShaderProgram" # OpenGL native types not supported
drop_class "QOpenGLTexture" # OpenGL native types not supported
drop_class "QOpenGLTextureBlitter" # OpenGL native types not supported
drop_class "QOpenGLTimeMonitor" # OpenGL native types not supported
drop_class "QOpenGLTimerQuery" # OpenGL native types not supported
drop_class "QOpenGLVersionFunctionsBackend" # OpenGL native types not supported
drop_class "QOpenGLVersionProfile" # OpenGL native types not supported
drop_class "QOpenGLVersionStatus" # OpenGL native types not supported
drop_class "QOpenGLVersionFunctionsStorage" # OpenGL native types not supported
drop_class "QOpenGLVertexArrayObject_Binder" # OpenGL native types not supported
drop_class "QOpenGLVertexArrayObject" # OpenGL native types not supported
drop_class "QOpenGLWidget" # OpenGL native types not supported
drop_class "QOpenGLWindow" # OpenGL native types not supported
drop_class "QOpenGLExtraFunctions" # OpenGL native types not supported
drop_class "QOpenGLExtraFunctionsPrivate" # OpenGL native types not supported
drop_class "QOpenGLExtraFunctionsPrivate_Functions" # OpenGL native types not supported
# depedencies from operators are not derived automatically currently:
include "QPoint", [ "<QPoint>", "<QMatrix>", "<QMatrix4x4>" ]
@ -654,6 +701,8 @@ include "QOffscreenSurface", [ "<QOffscreenSurface>", "<QScreen>" ]
include "QScreenOrientationChangeEvent", [ "<QScreenOrientationChangeEvent>", "<QScreen>" ]
drop_method "QWindow", /QWindow::handle/ # QPlatformWindow not available
drop_method "QWindow", /::vulkanInstance\(/ # no Vulkan support currently
drop_method "QWindow", /::setVulkanInstance\(/ # no Vulkan support currently
drop_method "QScreen", /QScreen::handle/ # QPlatformScreen not available
drop_method "QSurface", /QSurface::surfaceHandle/ # QPlatformSurface not available
drop_method "QOffscreenSurface", /QOffscreenSurface::handle/ # QPlatformOffscreenSurface not available
@ -663,7 +712,8 @@ drop_method "QGuiApplication", /QGuiApplication::platformFunction/ # (TODO) no
drop_method "QPagedPaintDevice", /QPagedPaintDevice::dd/ # QPagedPaintDevicePrivate not available
drop_method "QPixmap", /QPixmap::QPixmap\(QPlatformPixmap/ # QPlatformPixmap not available
drop_method "QAbstractPageSetupDialog", /QAbstractPageSetupDialog::QAbstractPageSetupDialog\(QAbstractPageSetupDialogPrivate/
drop_method "QImage", /QImage::QImage\(.*cleanupFunction/ # (TODO) no function pointers available
drop_method "QImage", /QImage::QImage\(.*cleanupFunction/ # (TODO) no function pointers available -> substitute by variant in add_native_impl_QImage
add_native_impl_QImage()
drop_method "QClipboardEvent", /QClipboardEvent::data/
drop_method "QClipboardEvent", /QClipboardEvent::QClipboardEvent\(QEventPrivate/
drop_method "QCursor", /QCursor::QCursor\s*\(\s*Qt::HANDLE/ # not available on WIN
@ -786,11 +836,31 @@ drop_method "Qimage", /Qimage::text\(const\s+QString/ # clashes with const char
rename "QDialogButtonBox", /QDialogButtonBox::QDialogButtonBox\(QFlags/, "new_buttons"
rename "QIcon", /QIcon::pixmap\(int\s+extent/, "pixmap_ext"
rename "QKeySequence", /QKeySequence::QKeySequence\(QKeySequence::StandardKey/, "new_std"
# TODO: basically, the layout object only takes ownership over the objects when
# it has a QWidget parent itself. This is not reflected in the following simple scheme
keep_arg "QBoxLayout", /::addLayout/, 0 # will take ownership of layout
keep_arg "QBoxLayout", /::addSpacerItem/, 0 # will take ownership of item
keep_arg "QBoxLayout", /::addWidget/, 0 # will take ownership of item
keep_arg "QBoxLayout", /::insertItem/, 1 # will take ownership of item
keep_arg "QBoxLayout", /::insertLayout/, 1 # will take ownership of item
keep_arg "QBoxLayout", /::insertSpacerItem/, 1 # will take ownership of item
keep_arg "QBoxLayout", /::insertWidget/, 1 # will take ownership of item
keep_arg "QFormLayout", /::addRow/, 1 # will take ownership of item
keep_arg "QFormLayout", /::addRow\(QWidget\s*\*/, 0 # will take ownership of item
keep_arg "QFormLayout", /::insertRow/, 2 # will take ownership of item
keep_arg "QFormLayout", /::insertRow\(QWidget\s*\*/, 1 # will take ownership of item
keep_arg "QFormLayout", /::setWidget/, 2 # will take ownership of item
keep_arg "QGridLayout", /::addLayout/, 0 # will take ownership of layout
keep_arg "QWidget", /::setLayout\s*\(/, 0 # will take ownership of layout
keep_arg "QGridLayout", /::addItem/, 0 # will take ownership of layout
keep_arg "QGridLayout", /::addWidget/, 0 # will take ownership of layout
keep_arg "QLayout", /::addChildLayout/, 0 # will take ownership of layout
keep_arg "QLayout", /::addItem/, 0 # will take ownership of item
keep_arg "QLayout", /::addWidget/, 0 # will take ownership of item
keep_arg "QStackedLayout", /::addWidget/, 0 # will take ownership of item
keep_arg "QStackedLayout", /::insertWidget/, 1 # will take ownership of item
keep_arg "QWidget", /::setLayout\s*\(/, 0 # will take ownership of layout
keep_arg "QTreeWidgetItem", /::addChild\(/, 0 # will take ownership of the child
keep_arg "QTreeWidgetItem", /::addChildren\(/, 0 # will take ownership of the children
keep_arg "QTreeWidgetItem", /::insertChild\(/, 1 # will take ownership of the child
@ -817,7 +887,7 @@ owner_arg "QWidget", /::setParent\(QWidget\s+\*/, 0 # will make self owned by ar
# keep_arg "QTableWidget", /::setItemPrototype\(/, 0 # will take ownership of the child
return_new "QLayout", /::takeAt/ # returns a free object
return_new "QBoxLayout", /::takeAt/ # returns a free object
return_new "QFormLayout", /::takeAt/ # returns a free object
# TODO: QFormLayout: takeRow -> needs QFormLayout::TakeRowResult
return_new "QGridLayout", /::takeAt/ # returns a free object
return_new "QStackedLayout", /::takeAt/ # returns a free object
return_new "QStandardItem", /::take/ # returns a free object
@ -945,6 +1015,10 @@ no_imports "QAbstractXmlNodeModel" # base class is QSharedData which is not ava
# --------------------------------------------------------------
# QtNetwork
include "QDtlsError", [ "<QDtls>" ]
drop_class "QPasswordDigestor" # only available on Qt 5.12.12, not before
drop_method "QUrlInfo", /QUrlInfo::QUrlInfo\(.*permissions/ # too many arguments (13)
drop_method "QHostAddress", /QHostAddress::QHostAddress\(\s*(const\s*)?quint8\s*\*/ # requires char *, a string version is available for IPv6
drop_method "QHostAddress", /QHostAddress::QHostAddress\(\s*const\s+QIPv6Address/ # requires QIPv6Address struct, a string version is available for IPv6

View File

@ -272,6 +272,10 @@ event("QSignalMapper", /::mapped\s*\(.*QWidget/, "QWidget*")
rename("QSignalMapper", /::mapped\s*\(.*QWidget/, "mapped_qw")
event("QSignalMapper", /::mapped\s*\(.*QObject/, "QObject*")
rename("QSignalMapper", /::mapped\s*\(.*QObject/, "mapped_qo")
event("QSignalMapper", /::mappedInt\s*\(/, "int")
event("QSignalMapper", /::mappedString\s*\(/, "QString")
event("QSignalMapper", /::mappedWidget\s*\(/, "QWidget*")
event("QSignalMapper", /::mappedObject\s*\(/, "QObject*")
event("QSignalTransition", /::destroyed\s*\(/, "QObject*")
event("QSignalTransition", /::objectNameChanged\s*\(/, "QString")
event("QSignalTransition", /::triggered\s*\(/, "")
@ -281,6 +285,7 @@ event("QSignalTransition", /::senderObjectChanged\s*\(/, "")
event("QSignalTransition", /::signalChanged\s*\(/, "")
event("QSocketNotifier", /::destroyed\s*\(/, "QObject*")
event("QSocketNotifier", /::objectNameChanged\s*\(/, "QString")
event("QSocketNotifier", /::activated\s*\(/, "QSocketDescriptor, QSocketNotifier::Type")
event("QSocketNotifier", /::activated\s*\(/, "int")
event("QSortFilterProxyModel", /::destroyed\s*\(/, "QObject*")
event("QSortFilterProxyModel", /::objectNameChanged\s*\(/, "QString")
@ -303,6 +308,13 @@ event("QSortFilterProxyModel", /::rowsMoved\s*\(/, "QModelIndex, int, int, QMode
event("QSortFilterProxyModel", /::columnsAboutToBeMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QSortFilterProxyModel", /::columnsMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QSortFilterProxyModel", /::sourceModelChanged\s*\(/, "")
event("QSortFilterProxyModel", /::dynamicSortFilterChanged\s*\(/, "bool")
event("QSortFilterProxyModel", /::filterCaseSensitivityChanged\s*\(/, "Qt::CaseSensitivity")
event("QSortFilterProxyModel", /::sortCaseSensitivityChanged\s*\(/, "Qt::CaseSensitivity")
event("QSortFilterProxyModel", /::sortLocaleAwareChanged\s*\(/, "bool")
event("QSortFilterProxyModel", /::sortRoleChanged\s*\(/, "int")
event("QSortFilterProxyModel", /::filterRoleChanged\s*\(/, "int")
event("QSortFilterProxyModel", /::recursiveFilteringEnabledChanged\s*\(/, "bool")
event("QState", /::destroyed\s*\(/, "QObject*")
event("QState", /::objectNameChanged\s*\(/, "QString")
event("QState", /::entered\s*\(/, "")
@ -475,6 +487,7 @@ event("QPaintDeviceWindow", /::activeChanged\s*\(/, "")
event("QPaintDeviceWindow", /::contentOrientationChanged\s*\(/, "Qt::ScreenOrientation")
event("QPaintDeviceWindow", /::focusObjectChanged\s*\(/, "QObject*")
event("QPaintDeviceWindow", /::opacityChanged\s*\(/, "double")
event("QPaintDeviceWindow", /::transientParentChanged\s*\(/, "QWindow*")
event("QPdfWriter", /::destroyed\s*\(/, "QObject*")
event("QPdfWriter", /::objectNameChanged\s*\(/, "QString")
event("QPictureFormatPlugin", /::destroyed\s*\(/, "QObject*")
@ -499,6 +512,7 @@ event("QRasterWindow", /::activeChanged\s*\(/, "")
event("QRasterWindow", /::contentOrientationChanged\s*\(/, "Qt::ScreenOrientation")
event("QRasterWindow", /::focusObjectChanged\s*\(/, "QObject*")
event("QRasterWindow", /::opacityChanged\s*\(/, "double")
event("QRasterWindow", /::transientParentChanged\s*\(/, "QWindow*")
event("QRegExpValidator", /::destroyed\s*\(/, "QObject*")
event("QRegExpValidator", /::objectNameChanged\s*\(/, "QString")
event("QRegExpValidator", /::changed\s*\(/, "")
@ -551,6 +565,7 @@ event("QStyleHints", /::startDragDistanceChanged\s*\(/, "int")
event("QStyleHints", /::startDragTimeChanged\s*\(/, "int")
event("QStyleHints", /::tabFocusBehaviorChanged\s*\(/, "Qt::TabFocusBehavior")
event("QStyleHints", /::useHoverEffectsChanged\s*\(/, "bool")
event("QStyleHints", /::showShortcutsInContextMenusChanged\s*\(/, "bool")
event("QStyleHints", /::wheelScrollLinesChanged\s*\(/, "int")
event("QStyleHints", /::mouseQuickSelectionThresholdChanged\s*\(/, "int")
event("QSyntaxHighlighter", /::destroyed\s*\(/, "QObject*")
@ -600,6 +615,7 @@ event("QWindow", /::activeChanged\s*\(/, "")
event("QWindow", /::contentOrientationChanged\s*\(/, "Qt::ScreenOrientation")
event("QWindow", /::focusObjectChanged\s*\(/, "QObject*")
event("QWindow", /::opacityChanged\s*\(/, "double")
event("QWindow", /::transientParentChanged\s*\(/, "QWindow*")
event("QAbstractButton", /::destroyed\s*\(/, "QObject*")
event("QAbstractButton", /::objectNameChanged\s*\(/, "QString")
event("QAbstractButton", /::windowTitleChanged\s*\(/, "QString")
@ -700,6 +716,10 @@ rename("QButtonGroup", /::buttonReleased\s*\(.*QAbstractButton/, "buttonReleased
event("QButtonGroup", /::buttonReleased\s*\(.*int/, "int")
event("QButtonGroup", /::buttonToggled\s*\(/, "QAbstractButton*, bool")
event("QButtonGroup", /::buttonToggled\s*\(/, "int, bool")
event("QButtonGroup", /::idClicked\s*\(/, "int")
event("QButtonGroup", /::idPressed\s*\(/, "int")
event("QButtonGroup", /::idReleased\s*\(/, "int")
event("QButtonGroup", /::idToggled\s*\(/, "int, bool")
event("QCalendarWidget", /::destroyed\s*\(/, "QObject*")
event("QCalendarWidget", /::objectNameChanged\s*\(/, "QString")
event("QCalendarWidget", /::windowTitleChanged\s*\(/, "QString")
@ -756,9 +776,11 @@ event("QComboBox", /::editTextChanged\s*\(/, "QString")
event("QComboBox", /::activated\s*\(.*int/, "int")
event("QComboBox", /::activated\s*\(.*QString/, "QString")
rename("QComboBox", /::activated\s*\(.*QString/, "activated_qs")
event("QComboBox", /::textActivated\s*\(/, "QString")
event("QComboBox", /::highlighted\s*\(.*int/, "int")
event("QComboBox", /::highlighted\s*\(.*QString/, "QString")
rename("QComboBox", /::highlighted\s*\(.*QString/, "highlighted_qs")
event("QComboBox", /::textHighlighted\s*\(/, "QString")
event("QComboBox", /::currentIndexChanged\s*\(.*int/, "int")
event("QComboBox", /::currentIndexChanged\s*\(.*QString/, "QString")
rename("QComboBox", /::currentIndexChanged\s*\(.*QString/, "currentIndexChanged_qs")
@ -889,6 +911,7 @@ event("QDoubleSpinBox", /::editingFinished\s*\(/, "")
event("QDoubleSpinBox", /::valueChanged\s*\(.*double/, "double")
event("QDoubleSpinBox", /::valueChanged\s*\(.*QString/, "QString")
rename("QDoubleSpinBox", /::valueChanged\s*\(.*QString/, "valueChanged_qs")
event("QDoubleSpinBox", /::textChanged\s*\(/, "QString")
event("QErrorMessage", /::destroyed\s*\(/, "QObject*")
event("QErrorMessage", /::objectNameChanged\s*\(/, "QString")
event("QErrorMessage", /::windowTitleChanged\s*\(/, "QString")
@ -955,9 +978,11 @@ event("QFontComboBox", /::editTextChanged\s*\(/, "QString")
event("QFontComboBox", /::activated\s*\(.*int/, "int")
event("QFontComboBox", /::activated\s*\(.*QString/, "QString")
rename("QFontComboBox", /::activated\s*\(.*QString/, "activated_qs")
event("QFontComboBox", /::textActivated\s*\(/, "QString")
event("QFontComboBox", /::highlighted\s*\(.*int/, "int")
event("QFontComboBox", /::highlighted\s*\(.*QString/, "QString")
rename("QFontComboBox", /::highlighted\s*\(.*QString/, "highlighted_qs")
event("QFontComboBox", /::textHighlighted\s*\(/, "QString")
event("QFontComboBox", /::currentIndexChanged\s*\(.*int/, "int")
event("QFontComboBox", /::currentIndexChanged\s*\(.*QString/, "QString")
rename("QFontComboBox", /::currentIndexChanged\s*\(.*QString/, "currentIndexChanged_qs")
@ -1406,6 +1431,7 @@ event("QSpinBox", /::editingFinished\s*\(/, "")
event("QSpinBox", /::valueChanged\s*\(.*int/, "int")
event("QSpinBox", /::valueChanged\s*\(.*QString/, "QString")
rename("QSpinBox", /::valueChanged\s*\(.*QString/, "valueChanged_qs")
event("QSpinBox", /::textChanged\s*\(/, "QString")
event("QSplashScreen", /::destroyed\s*\(/, "QObject*")
event("QSplashScreen", /::objectNameChanged\s*\(/, "QString")
event("QSplashScreen", /::windowTitleChanged\s*\(/, "QString")
@ -1709,6 +1735,499 @@ event("QWizardPage", /::windowIconChanged\s*\(/, "QIcon")
event("QWizardPage", /::windowIconTextChanged\s*\(/, "QString")
event("QWizardPage", /::customContextMenuRequested\s*\(/, "QPoint")
event("QWizardPage", /::completeChanged\s*\(/, "")
event("QAbstractMessageHandler", /::destroyed\s*\(/, "QObject*")
event("QAbstractMessageHandler", /::objectNameChanged\s*\(/, "QString")
event("QAbstractUriResolver", /::destroyed\s*\(/, "QObject*")
event("QAbstractUriResolver", /::objectNameChanged\s*\(/, "QString")
event("QGraphicsSvgItem", /::destroyed\s*\(/, "QObject*")
event("QGraphicsSvgItem", /::objectNameChanged\s*\(/, "QString")
event("QGraphicsSvgItem", /::parentChanged\s*\(/, "")
event("QGraphicsSvgItem", /::opacityChanged\s*\(/, "")
event("QGraphicsSvgItem", /::visibleChanged\s*\(/, "")
event("QGraphicsSvgItem", /::enabledChanged\s*\(/, "")
event("QGraphicsSvgItem", /::xChanged\s*\(/, "")
event("QGraphicsSvgItem", /::yChanged\s*\(/, "")
event("QGraphicsSvgItem", /::zChanged\s*\(/, "")
event("QGraphicsSvgItem", /::rotationChanged\s*\(/, "")
event("QGraphicsSvgItem", /::scaleChanged\s*\(/, "")
event("QGraphicsSvgItem", /::childrenChanged\s*\(/, "")
event("QGraphicsSvgItem", /::widthChanged\s*\(/, "")
event("QGraphicsSvgItem", /::heightChanged\s*\(/, "")
event("QSvgRenderer", /::destroyed\s*\(/, "QObject*")
event("QSvgRenderer", /::objectNameChanged\s*\(/, "QString")
event("QSvgRenderer", /::repaintNeeded\s*\(/, "")
event("QSvgWidget", /::destroyed\s*\(/, "QObject*")
event("QSvgWidget", /::objectNameChanged\s*\(/, "QString")
event("QSvgWidget", /::windowTitleChanged\s*\(/, "QString")
event("QSvgWidget", /::windowIconChanged\s*\(/, "QIcon")
event("QSvgWidget", /::windowIconTextChanged\s*\(/, "QString")
event("QSvgWidget", /::customContextMenuRequested\s*\(/, "QPoint")
event("QAbstractPrintDialog", /::destroyed\s*\(/, "QObject*")
event("QAbstractPrintDialog", /::objectNameChanged\s*\(/, "QString")
event("QAbstractPrintDialog", /::windowTitleChanged\s*\(/, "QString")
event("QAbstractPrintDialog", /::windowIconChanged\s*\(/, "QIcon")
event("QAbstractPrintDialog", /::windowIconTextChanged\s*\(/, "QString")
event("QAbstractPrintDialog", /::customContextMenuRequested\s*\(/, "QPoint")
event("QAbstractPrintDialog", /::finished\s*\(/, "int")
event("QAbstractPrintDialog", /::accepted\s*\(/, "")
event("QAbstractPrintDialog", /::rejected\s*\(/, "")
event("QPrintDialog", /::destroyed\s*\(/, "QObject*")
event("QPrintDialog", /::objectNameChanged\s*\(/, "QString")
event("QPrintDialog", /::windowTitleChanged\s*\(/, "QString")
event("QPrintDialog", /::windowIconChanged\s*\(/, "QIcon")
event("QPrintDialog", /::windowIconTextChanged\s*\(/, "QString")
event("QPrintDialog", /::customContextMenuRequested\s*\(/, "QPoint")
event("QPrintDialog", /::finished\s*\(/, "int")
event("QPrintDialog", /::accepted\s*\(/, "QPrinter*")
event("QPrintDialog", /::rejected\s*\(/, "")
event("QPrintPreviewDialog", /::destroyed\s*\(/, "QObject*")
event("QPrintPreviewDialog", /::objectNameChanged\s*\(/, "QString")
event("QPrintPreviewDialog", /::windowTitleChanged\s*\(/, "QString")
event("QPrintPreviewDialog", /::windowIconChanged\s*\(/, "QIcon")
event("QPrintPreviewDialog", /::windowIconTextChanged\s*\(/, "QString")
event("QPrintPreviewDialog", /::customContextMenuRequested\s*\(/, "QPoint")
event("QPrintPreviewDialog", /::finished\s*\(/, "int")
event("QPrintPreviewDialog", /::accepted\s*\(/, "")
event("QPrintPreviewDialog", /::rejected\s*\(/, "")
event("QPrintPreviewDialog", /::paintRequested\s*\(/, "QPrinter*")
event("QPrintPreviewWidget", /::destroyed\s*\(/, "QObject*")
event("QPrintPreviewWidget", /::objectNameChanged\s*\(/, "QString")
event("QPrintPreviewWidget", /::windowTitleChanged\s*\(/, "QString")
event("QPrintPreviewWidget", /::windowIconChanged\s*\(/, "QIcon")
event("QPrintPreviewWidget", /::windowIconTextChanged\s*\(/, "QString")
event("QPrintPreviewWidget", /::customContextMenuRequested\s*\(/, "QPoint")
event("QPrintPreviewWidget", /::paintRequested\s*\(/, "QPrinter*")
event("QPrintPreviewWidget", /::previewChanged\s*\(/, "")
event("QAbstractAudioDeviceInfo", /::destroyed\s*\(/, "QObject*")
event("QAbstractAudioDeviceInfo", /::objectNameChanged\s*\(/, "QString")
event("QAbstractAudioInput", /::destroyed\s*\(/, "QObject*")
event("QAbstractAudioInput", /::objectNameChanged\s*\(/, "QString")
event("QAbstractAudioInput", /::errorChanged\s*\(/, "QAudio::Error")
event("QAbstractAudioInput", /::stateChanged\s*\(/, "QAudio::State")
event("QAbstractAudioInput", /::notify\s*\(/, "")
event("QAbstractAudioOutput", /::destroyed\s*\(/, "QObject*")
event("QAbstractAudioOutput", /::objectNameChanged\s*\(/, "QString")
event("QAbstractAudioOutput", /::errorChanged\s*\(/, "QAudio::Error")
event("QAbstractAudioOutput", /::stateChanged\s*\(/, "QAudio::State")
event("QAbstractAudioOutput", /::notify\s*\(/, "")
event("QAbstractVideoFilter", /::destroyed\s*\(/, "QObject*")
event("QAbstractVideoFilter", /::objectNameChanged\s*\(/, "QString")
event("QAbstractVideoFilter", /::activeChanged\s*\(/, "")
event("QAbstractVideoSurface", /::destroyed\s*\(/, "QObject*")
event("QAbstractVideoSurface", /::objectNameChanged\s*\(/, "QString")
event("QAbstractVideoSurface", /::activeChanged\s*\(/, "bool")
event("QAbstractVideoSurface", /::surfaceFormatChanged\s*\(/, "QVideoSurfaceFormat")
event("QAbstractVideoSurface", /::supportedFormatsChanged\s*\(/, "")
event("QAbstractVideoSurface", /::nativeResolutionChanged\s*\(/, "QSize")
event("QAudioDecoder", /::destroyed\s*\(/, "QObject*")
event("QAudioDecoder", /::objectNameChanged\s*\(/, "QString")
event("QAudioDecoder", /::notifyIntervalChanged\s*\(/, "int")
event("QAudioDecoder", /::metaDataAvailableChanged\s*\(/, "bool")
event("QAudioDecoder", /::metaDataChanged\s*\(/, "QString, QVariant")
event("QAudioDecoder", /::availabilityChanged\s*\(/, "bool")
event("QAudioDecoder", /::availabilityChanged\s*\(/, "QMultimedia::AvailabilityStatus")
event("QAudioDecoder", /::bufferAvailableChanged\s*\(/, "bool")
event("QAudioDecoder", /::bufferReady\s*\(/, "")
event("QAudioDecoder", /::finished\s*\(/, "")
event("QAudioDecoder", /::stateChanged\s*\(/, "QAudioDecoder::State")
event("QAudioDecoder", /::formatChanged\s*\(/, "QAudioFormat")
event("QAudioDecoder", /::error\s*\(/, "QAudioDecoder::Error")
event("QAudioDecoder", /::sourceChanged\s*\(/, "")
event("QAudioDecoder", /::positionChanged\s*\(/, "qlonglong")
event("QAudioDecoder", /::durationChanged\s*\(/, "qlonglong")
event("QAudioDecoderControl", /::destroyed\s*\(/, "QObject*")
event("QAudioDecoderControl", /::objectNameChanged\s*\(/, "QString")
event("QAudioDecoderControl", /::stateChanged\s*\(/, "QAudioDecoder::State")
event("QAudioDecoderControl", /::formatChanged\s*\(/, "QAudioFormat")
event("QAudioDecoderControl", /::sourceChanged\s*\(/, "")
event("QAudioDecoderControl", /::error\s*\(/, "int, QString")
event("QAudioDecoderControl", /::bufferReady\s*\(/, "")
event("QAudioDecoderControl", /::bufferAvailableChanged\s*\(/, "bool")
event("QAudioDecoderControl", /::finished\s*\(/, "")
event("QAudioDecoderControl", /::positionChanged\s*\(/, "qlonglong")
event("QAudioDecoderControl", /::durationChanged\s*\(/, "qlonglong")
event("QAudioEncoderSettingsControl", /::destroyed\s*\(/, "QObject*")
event("QAudioEncoderSettingsControl", /::objectNameChanged\s*\(/, "QString")
event("QAudioInput", /::destroyed\s*\(/, "QObject*")
event("QAudioInput", /::objectNameChanged\s*\(/, "QString")
event("QAudioInput", /::stateChanged\s*\(/, "QAudio::State")
event("QAudioInput", /::notify\s*\(/, "")
event("QAudioInputSelectorControl", /::destroyed\s*\(/, "QObject*")
event("QAudioInputSelectorControl", /::objectNameChanged\s*\(/, "QString")
event("QAudioInputSelectorControl", /::activeInputChanged\s*\(/, "QString")
event("QAudioInputSelectorControl", /::availableInputsChanged\s*\(/, "")
event("QAudioOutput", /::destroyed\s*\(/, "QObject*")
event("QAudioOutput", /::objectNameChanged\s*\(/, "QString")
event("QAudioOutput", /::stateChanged\s*\(/, "QAudio::State")
event("QAudioOutput", /::notify\s*\(/, "")
event("QAudioOutputSelectorControl", /::destroyed\s*\(/, "QObject*")
event("QAudioOutputSelectorControl", /::objectNameChanged\s*\(/, "QString")
event("QAudioOutputSelectorControl", /::activeOutputChanged\s*\(/, "QString")
event("QAudioOutputSelectorControl", /::availableOutputsChanged\s*\(/, "")
event("QAudioProbe", /::destroyed\s*\(/, "QObject*")
event("QAudioProbe", /::objectNameChanged\s*\(/, "QString")
event("QAudioProbe", /::audioBufferProbed\s*\(/, "QAudioBuffer")
event("QAudioProbe", /::flush\s*\(/, "")
event("QAudioRecorder", /::destroyed\s*\(/, "QObject*")
event("QAudioRecorder", /::objectNameChanged\s*\(/, "QString")
event("QAudioRecorder", /::stateChanged\s*\(/, "QMediaRecorder::State")
event("QAudioRecorder", /::statusChanged\s*\(/, "QMediaRecorder::Status")
event("QAudioRecorder", /::durationChanged\s*\(/, "qlonglong")
event("QAudioRecorder", /::mutedChanged\s*\(/, "bool")
event("QAudioRecorder", /::volumeChanged\s*\(/, "double")
event("QAudioRecorder", /::actualLocationChanged\s*\(/, "QUrl")
event("QAudioRecorder", /::error\s*\(/, "QMediaRecorder::Error")
event("QAudioRecorder", /::metaDataAvailableChanged\s*\(/, "bool")
event("QAudioRecorder", /::metaDataWritableChanged\s*\(/, "bool")
event("QAudioRecorder", /::metaDataChanged\s*\(/, "QString, QVariant")
event("QAudioRecorder", /::availabilityChanged\s*\(/, "bool")
event("QAudioRecorder", /::availabilityChanged\s*\(/, "QMultimedia::AvailabilityStatus")
event("QAudioRecorder", /::audioInputChanged\s*\(/, "QString")
event("QAudioRecorder", /::availableAudioInputsChanged\s*\(/, "")
event("QAudioRoleControl", /::destroyed\s*\(/, "QObject*")
event("QAudioRoleControl", /::objectNameChanged\s*\(/, "QString")
event("QAudioRoleControl", /::audioRoleChanged\s*\(/, "QAudio::Role")
event("QAudioSystemPlugin", /::destroyed\s*\(/, "QObject*")
event("QAudioSystemPlugin", /::objectNameChanged\s*\(/, "QString")
event("QCamera", /::destroyed\s*\(/, "QObject*")
event("QCamera", /::objectNameChanged\s*\(/, "QString")
event("QCamera", /::notifyIntervalChanged\s*\(/, "int")
event("QCamera", /::metaDataAvailableChanged\s*\(/, "bool")
event("QCamera", /::metaDataChanged\s*\(/, "QString, QVariant")
event("QCamera", /::availabilityChanged\s*\(/, "bool")
event("QCamera", /::availabilityChanged\s*\(/, "QMultimedia::AvailabilityStatus")
event("QCamera", /::stateChanged\s*\(/, "QCamera::State")
event("QCamera", /::captureModeChanged\s*\(/, "QCamera::CaptureModes")
event("QCamera", /::statusChanged\s*\(/, "QCamera::Status")
event("QCamera", /::locked\s*\(/, "")
event("QCamera", /::lockFailed\s*\(/, "")
event("QCamera", /::lockStatusChanged\s*\(/, "QCamera::LockStatus, QCamera::LockChangeReason")
event("QCamera", /::lockStatusChanged\s*\(/, "QCamera::LockType, QCamera::LockStatus, QCamera::LockChangeReason")
event("QCamera", /::error\s*\(/, "QCamera::Error")
event("QCamera", /::errorOccurred\s*\(/, "QCamera::Error")
event("QCameraCaptureBufferFormatControl", /::destroyed\s*\(/, "QObject*")
event("QCameraCaptureBufferFormatControl", /::objectNameChanged\s*\(/, "QString")
event("QCameraCaptureBufferFormatControl", /::bufferFormatChanged\s*\(/, "QVideoFrame::PixelFormat")
event("QCameraCaptureDestinationControl", /::destroyed\s*\(/, "QObject*")
event("QCameraCaptureDestinationControl", /::objectNameChanged\s*\(/, "QString")
event("QCameraCaptureDestinationControl", /::captureDestinationChanged\s*\(/, "QCameraImageCapture::CaptureDestinations")
event("QCameraControl", /::destroyed\s*\(/, "QObject*")
event("QCameraControl", /::objectNameChanged\s*\(/, "QString")
event("QCameraControl", /::stateChanged\s*\(/, "QCamera::State")
event("QCameraControl", /::statusChanged\s*\(/, "QCamera::Status")
event("QCameraControl", /::error\s*\(/, "int, QString")
event("QCameraControl", /::captureModeChanged\s*\(/, "QCamera::CaptureModes")
event("QCameraExposure", /::destroyed\s*\(/, "QObject*")
event("QCameraExposure", /::objectNameChanged\s*\(/, "QString")
event("QCameraExposure", /::flashReady\s*\(/, "bool")
event("QCameraExposure", /::apertureChanged\s*\(/, "double")
event("QCameraExposure", /::apertureRangeChanged\s*\(/, "")
event("QCameraExposure", /::shutterSpeedChanged\s*\(/, "double")
event("QCameraExposure", /::shutterSpeedRangeChanged\s*\(/, "")
event("QCameraExposure", /::isoSensitivityChanged\s*\(/, "int")
event("QCameraExposure", /::exposureCompensationChanged\s*\(/, "double")
event("QCameraExposureControl", /::destroyed\s*\(/, "QObject*")
event("QCameraExposureControl", /::objectNameChanged\s*\(/, "QString")
event("QCameraExposureControl", /::requestedValueChanged\s*\(/, "int")
event("QCameraExposureControl", /::actualValueChanged\s*\(/, "int")
event("QCameraExposureControl", /::parameterRangeChanged\s*\(/, "int")
event("QCameraFeedbackControl", /::destroyed\s*\(/, "QObject*")
event("QCameraFeedbackControl", /::objectNameChanged\s*\(/, "QString")
event("QCameraFlashControl", /::destroyed\s*\(/, "QObject*")
event("QCameraFlashControl", /::objectNameChanged\s*\(/, "QString")
event("QCameraFlashControl", /::flashReady\s*\(/, "bool")
event("QCameraFocus", /::destroyed\s*\(/, "QObject*")
event("QCameraFocus", /::objectNameChanged\s*\(/, "QString")
event("QCameraFocus", /::opticalZoomChanged\s*\(/, "double")
event("QCameraFocus", /::digitalZoomChanged\s*\(/, "double")
event("QCameraFocus", /::focusZonesChanged\s*\(/, "")
event("QCameraFocus", /::maximumOpticalZoomChanged\s*\(/, "double")
event("QCameraFocus", /::maximumDigitalZoomChanged\s*\(/, "double")
event("QCameraFocusControl", /::destroyed\s*\(/, "QObject*")
event("QCameraFocusControl", /::objectNameChanged\s*\(/, "QString")
event("QCameraFocusControl", /::focusModeChanged\s*\(/, "QCameraFocus::FocusModes")
event("QCameraFocusControl", /::focusPointModeChanged\s*\(/, "QCameraFocus::FocusPointMode")
event("QCameraFocusControl", /::customFocusPointChanged\s*\(/, "QPointF")
event("QCameraFocusControl", /::focusZonesChanged\s*\(/, "")
event("QCameraImageCapture", /::destroyed\s*\(/, "QObject*")
event("QCameraImageCapture", /::objectNameChanged\s*\(/, "QString")
event("QCameraImageCapture", /::error\s*\(/, "int, QCameraImageCapture::Error, QString")
event("QCameraImageCapture", /::readyForCaptureChanged\s*\(/, "bool")
event("QCameraImageCapture", /::bufferFormatChanged\s*\(/, "QVideoFrame::PixelFormat")
event("QCameraImageCapture", /::captureDestinationChanged\s*\(/, "QCameraImageCapture::CaptureDestinations")
event("QCameraImageCapture", /::imageExposed\s*\(/, "int")
event("QCameraImageCapture", /::imageCaptured\s*\(/, "int, QImage")
event("QCameraImageCapture", /::imageMetadataAvailable\s*\(/, "int, QString, QVariant")
event("QCameraImageCapture", /::imageAvailable\s*\(/, "int, QVideoFrame")
event("QCameraImageCapture", /::imageSaved\s*\(/, "int, QString")
event("QCameraImageCaptureControl", /::destroyed\s*\(/, "QObject*")
event("QCameraImageCaptureControl", /::objectNameChanged\s*\(/, "QString")
event("QCameraImageCaptureControl", /::readyForCaptureChanged\s*\(/, "bool")
event("QCameraImageCaptureControl", /::imageExposed\s*\(/, "int")
event("QCameraImageCaptureControl", /::imageCaptured\s*\(/, "int, QImage")
event("QCameraImageCaptureControl", /::imageMetadataAvailable\s*\(/, "int, QString, QVariant")
event("QCameraImageCaptureControl", /::imageAvailable\s*\(/, "int, QVideoFrame")
event("QCameraImageCaptureControl", /::imageSaved\s*\(/, "int, QString")
event("QCameraImageCaptureControl", /::error\s*\(/, "int, int, QString")
event("QCameraImageProcessing", /::destroyed\s*\(/, "QObject*")
event("QCameraImageProcessing", /::objectNameChanged\s*\(/, "QString")
event("QCameraImageProcessingControl", /::destroyed\s*\(/, "QObject*")
event("QCameraImageProcessingControl", /::objectNameChanged\s*\(/, "QString")
event("QCameraInfoControl", /::destroyed\s*\(/, "QObject*")
event("QCameraInfoControl", /::objectNameChanged\s*\(/, "QString")
event("QCameraLocksControl", /::destroyed\s*\(/, "QObject*")
event("QCameraLocksControl", /::objectNameChanged\s*\(/, "QString")
event("QCameraLocksControl", /::lockStatusChanged\s*\(/, "QCamera::LockType, QCamera::LockStatus, QCamera::LockChangeReason")
event("QCameraViewfinderSettingsControl", /::destroyed\s*\(/, "QObject*")
event("QCameraViewfinderSettingsControl", /::objectNameChanged\s*\(/, "QString")
event("QCameraViewfinderSettingsControl2", /::destroyed\s*\(/, "QObject*")
event("QCameraViewfinderSettingsControl2", /::objectNameChanged\s*\(/, "QString")
event("QCameraZoomControl", /::destroyed\s*\(/, "QObject*")
event("QCameraZoomControl", /::objectNameChanged\s*\(/, "QString")
event("QCameraZoomControl", /::maximumOpticalZoomChanged\s*\(/, "double")
event("QCameraZoomControl", /::maximumDigitalZoomChanged\s*\(/, "double")
event("QCameraZoomControl", /::requestedOpticalZoomChanged\s*\(/, "double")
event("QCameraZoomControl", /::requestedDigitalZoomChanged\s*\(/, "double")
event("QCameraZoomControl", /::currentOpticalZoomChanged\s*\(/, "double")
event("QCameraZoomControl", /::currentDigitalZoomChanged\s*\(/, "double")
event("QCustomAudioRoleControl", /::destroyed\s*\(/, "QObject*")
event("QCustomAudioRoleControl", /::objectNameChanged\s*\(/, "QString")
event("QCustomAudioRoleControl", /::customAudioRoleChanged\s*\(/, "QString")
event("QGraphicsVideoItem", /::destroyed\s*\(/, "QObject*")
event("QGraphicsVideoItem", /::objectNameChanged\s*\(/, "QString")
event("QGraphicsVideoItem", /::parentChanged\s*\(/, "")
event("QGraphicsVideoItem", /::opacityChanged\s*\(/, "")
event("QGraphicsVideoItem", /::visibleChanged\s*\(/, "")
event("QGraphicsVideoItem", /::enabledChanged\s*\(/, "")
event("QGraphicsVideoItem", /::xChanged\s*\(/, "")
event("QGraphicsVideoItem", /::yChanged\s*\(/, "")
event("QGraphicsVideoItem", /::zChanged\s*\(/, "")
event("QGraphicsVideoItem", /::rotationChanged\s*\(/, "")
event("QGraphicsVideoItem", /::scaleChanged\s*\(/, "")
event("QGraphicsVideoItem", /::childrenChanged\s*\(/, "")
event("QGraphicsVideoItem", /::widthChanged\s*\(/, "")
event("QGraphicsVideoItem", /::heightChanged\s*\(/, "")
event("QGraphicsVideoItem", /::nativeSizeChanged\s*\(/, "QSizeF")
event("QImageEncoderControl", /::destroyed\s*\(/, "QObject*")
event("QImageEncoderControl", /::objectNameChanged\s*\(/, "QString")
event("QMediaAudioProbeControl", /::destroyed\s*\(/, "QObject*")
event("QMediaAudioProbeControl", /::objectNameChanged\s*\(/, "QString")
event("QMediaAudioProbeControl", /::audioBufferProbed\s*\(/, "QAudioBuffer")
event("QMediaAudioProbeControl", /::flush\s*\(/, "")
event("QMediaAvailabilityControl", /::destroyed\s*\(/, "QObject*")
event("QMediaAvailabilityControl", /::objectNameChanged\s*\(/, "QString")
event("QMediaAvailabilityControl", /::availabilityChanged\s*\(/, "QMultimedia::AvailabilityStatus")
event("QMediaContainerControl", /::destroyed\s*\(/, "QObject*")
event("QMediaContainerControl", /::objectNameChanged\s*\(/, "QString")
event("QMediaControl", /::destroyed\s*\(/, "QObject*")
event("QMediaControl", /::objectNameChanged\s*\(/, "QString")
event("QMediaGaplessPlaybackControl", /::destroyed\s*\(/, "QObject*")
event("QMediaGaplessPlaybackControl", /::objectNameChanged\s*\(/, "QString")
event("QMediaGaplessPlaybackControl", /::crossfadeTimeChanged\s*\(/, "double")
event("QMediaGaplessPlaybackControl", /::nextMediaChanged\s*\(/, "QMediaContent")
event("QMediaGaplessPlaybackControl", /::advancedToNextMedia\s*\(/, "")
event("QMediaNetworkAccessControl", /::destroyed\s*\(/, "QObject*")
event("QMediaNetworkAccessControl", /::objectNameChanged\s*\(/, "QString")
event("QMediaNetworkAccessControl", /::configurationChanged\s*\(/, "QNetworkConfiguration")
event("QMediaObject", /::destroyed\s*\(/, "QObject*")
event("QMediaObject", /::objectNameChanged\s*\(/, "QString")
event("QMediaObject", /::notifyIntervalChanged\s*\(/, "int")
event("QMediaObject", /::metaDataAvailableChanged\s*\(/, "bool")
event("QMediaObject", /::metaDataChanged\s*\(/, "QString, QVariant")
event("QMediaObject", /::availabilityChanged\s*\(/, "bool")
event("QMediaObject", /::availabilityChanged\s*\(/, "QMultimedia::AvailabilityStatus")
event("QMediaPlayer", /::destroyed\s*\(/, "QObject*")
event("QMediaPlayer", /::objectNameChanged\s*\(/, "QString")
event("QMediaPlayer", /::notifyIntervalChanged\s*\(/, "int")
event("QMediaPlayer", /::metaDataAvailableChanged\s*\(/, "bool")
event("QMediaPlayer", /::metaDataChanged\s*\(/, "QString, QVariant")
event("QMediaPlayer", /::availabilityChanged\s*\(/, "bool")
event("QMediaPlayer", /::availabilityChanged\s*\(/, "QMultimedia::AvailabilityStatus")
event("QMediaPlayer", /::mediaChanged\s*\(/, "QMediaContent")
event("QMediaPlayer", /::currentMediaChanged\s*\(/, "QMediaContent")
event("QMediaPlayer", /::stateChanged\s*\(/, "QMediaPlayer::State")
event("QMediaPlayer", /::mediaStatusChanged\s*\(/, "QMediaPlayer::MediaStatus")
event("QMediaPlayer", /::durationChanged\s*\(/, "qlonglong")
event("QMediaPlayer", /::positionChanged\s*\(/, "qlonglong")
event("QMediaPlayer", /::volumeChanged\s*\(/, "int")
event("QMediaPlayer", /::mutedChanged\s*\(/, "bool")
event("QMediaPlayer", /::audioAvailableChanged\s*\(/, "bool")
event("QMediaPlayer", /::videoAvailableChanged\s*\(/, "bool")
event("QMediaPlayer", /::bufferStatusChanged\s*\(/, "int")
event("QMediaPlayer", /::seekableChanged\s*\(/, "bool")
event("QMediaPlayer", /::playbackRateChanged\s*\(/, "double")
event("QMediaPlayer", /::audioRoleChanged\s*\(/, "QAudio::Role")
event("QMediaPlayer", /::customAudioRoleChanged\s*\(/, "QString")
event("QMediaPlayer", /::error\s*\(/, "QMediaPlayer::Error")
event("QMediaPlayer", /::networkConfigurationChanged\s*\(/, "QNetworkConfiguration")
event("QMediaPlayerControl", /::destroyed\s*\(/, "QObject*")
event("QMediaPlayerControl", /::objectNameChanged\s*\(/, "QString")
event("QMediaPlayerControl", /::mediaChanged\s*\(/, "QMediaContent")
event("QMediaPlayerControl", /::durationChanged\s*\(/, "qlonglong")
event("QMediaPlayerControl", /::positionChanged\s*\(/, "qlonglong")
event("QMediaPlayerControl", /::stateChanged\s*\(/, "QMediaPlayer::State")
event("QMediaPlayerControl", /::mediaStatusChanged\s*\(/, "QMediaPlayer::MediaStatus")
event("QMediaPlayerControl", /::volumeChanged\s*\(/, "int")
event("QMediaPlayerControl", /::mutedChanged\s*\(/, "bool")
event("QMediaPlayerControl", /::audioAvailableChanged\s*\(/, "bool")
event("QMediaPlayerControl", /::videoAvailableChanged\s*\(/, "bool")
event("QMediaPlayerControl", /::bufferStatusChanged\s*\(/, "int")
event("QMediaPlayerControl", /::seekableChanged\s*\(/, "bool")
event("QMediaPlayerControl", /::availablePlaybackRangesChanged\s*\(/, "QMediaTimeRange")
event("QMediaPlayerControl", /::playbackRateChanged\s*\(/, "double")
event("QMediaPlayerControl", /::error\s*\(/, "int, QString")
event("QMediaPlaylist", /::destroyed\s*\(/, "QObject*")
event("QMediaPlaylist", /::objectNameChanged\s*\(/, "QString")
event("QMediaPlaylist", /::currentIndexChanged\s*\(/, "int")
event("QMediaPlaylist", /::playbackModeChanged\s*\(/, "QMediaPlaylist::PlaybackMode")
event("QMediaPlaylist", /::currentMediaChanged\s*\(/, "QMediaContent")
event("QMediaPlaylist", /::mediaAboutToBeInserted\s*\(/, "int, int")
event("QMediaPlaylist", /::mediaInserted\s*\(/, "int, int")
event("QMediaPlaylist", /::mediaAboutToBeRemoved\s*\(/, "int, int")
event("QMediaPlaylist", /::mediaRemoved\s*\(/, "int, int")
event("QMediaPlaylist", /::mediaChanged\s*\(/, "int, int")
event("QMediaPlaylist", /::loaded\s*\(/, "")
event("QMediaPlaylist", /::loadFailed\s*\(/, "")
event("QMediaRecorder", /::destroyed\s*\(/, "QObject*")
event("QMediaRecorder", /::objectNameChanged\s*\(/, "QString")
event("QMediaRecorder", /::stateChanged\s*\(/, "QMediaRecorder::State")
event("QMediaRecorder", /::statusChanged\s*\(/, "QMediaRecorder::Status")
event("QMediaRecorder", /::durationChanged\s*\(/, "qlonglong")
event("QMediaRecorder", /::mutedChanged\s*\(/, "bool")
event("QMediaRecorder", /::volumeChanged\s*\(/, "double")
event("QMediaRecorder", /::actualLocationChanged\s*\(/, "QUrl")
event("QMediaRecorder", /::error\s*\(/, "QMediaRecorder::Error")
event("QMediaRecorder", /::metaDataAvailableChanged\s*\(/, "bool")
event("QMediaRecorder", /::metaDataWritableChanged\s*\(/, "bool")
event("QMediaRecorder", /::metaDataChanged\s*\(/, "QString, QVariant")
event("QMediaRecorder", /::availabilityChanged\s*\(/, "bool")
event("QMediaRecorder", /::availabilityChanged\s*\(/, "QMultimedia::AvailabilityStatus")
event("QMediaRecorderControl", /::destroyed\s*\(/, "QObject*")
event("QMediaRecorderControl", /::objectNameChanged\s*\(/, "QString")
event("QMediaRecorderControl", /::stateChanged\s*\(/, "QMediaRecorder::State")
event("QMediaRecorderControl", /::statusChanged\s*\(/, "QMediaRecorder::Status")
event("QMediaRecorderControl", /::durationChanged\s*\(/, "qlonglong")
event("QMediaRecorderControl", /::mutedChanged\s*\(/, "bool")
event("QMediaRecorderControl", /::volumeChanged\s*\(/, "double")
event("QMediaRecorderControl", /::actualLocationChanged\s*\(/, "QUrl")
event("QMediaRecorderControl", /::error\s*\(/, "int, QString")
event("QMediaService", /::destroyed\s*\(/, "QObject*")
event("QMediaService", /::objectNameChanged\s*\(/, "QString")
event("QMediaServiceProviderPlugin", /::destroyed\s*\(/, "QObject*")
event("QMediaServiceProviderPlugin", /::objectNameChanged\s*\(/, "QString")
event("QMediaStreamsControl", /::destroyed\s*\(/, "QObject*")
event("QMediaStreamsControl", /::objectNameChanged\s*\(/, "QString")
event("QMediaStreamsControl", /::streamsChanged\s*\(/, "")
event("QMediaStreamsControl", /::activeStreamsChanged\s*\(/, "")
event("QMediaVideoProbeControl", /::destroyed\s*\(/, "QObject*")
event("QMediaVideoProbeControl", /::objectNameChanged\s*\(/, "QString")
event("QMediaVideoProbeControl", /::videoFrameProbed\s*\(/, "QVideoFrame")
event("QMediaVideoProbeControl", /::flush\s*\(/, "")
event("QMetaDataReaderControl", /::destroyed\s*\(/, "QObject*")
event("QMetaDataReaderControl", /::objectNameChanged\s*\(/, "QString")
event("QMetaDataReaderControl", /::metaDataChanged\s*\(/, "QString, QVariant")
event("QMetaDataReaderControl", /::metaDataAvailableChanged\s*\(/, "bool")
event("QMetaDataWriterControl", /::destroyed\s*\(/, "QObject*")
event("QMetaDataWriterControl", /::objectNameChanged\s*\(/, "QString")
event("QMetaDataWriterControl", /::metaDataChanged\s*\(/, "QString, QVariant")
event("QMetaDataWriterControl", /::writableChanged\s*\(/, "bool")
event("QMetaDataWriterControl", /::metaDataAvailableChanged\s*\(/, "bool")
event("QRadioData", /::destroyed\s*\(/, "QObject*")
event("QRadioData", /::objectNameChanged\s*\(/, "QString")
event("QRadioData", /::stationIdChanged\s*\(/, "QString")
event("QRadioData", /::programTypeChanged\s*\(/, "QRadioData::ProgramType")
event("QRadioData", /::programTypeNameChanged\s*\(/, "QString")
event("QRadioData", /::stationNameChanged\s*\(/, "QString")
event("QRadioData", /::radioTextChanged\s*\(/, "QString")
event("QRadioData", /::alternativeFrequenciesEnabledChanged\s*\(/, "bool")
event("QRadioData", /::error\s*\(/, "QRadioData::Error")
event("QRadioDataControl", /::destroyed\s*\(/, "QObject*")
event("QRadioDataControl", /::objectNameChanged\s*\(/, "QString")
event("QRadioDataControl", /::stationIdChanged\s*\(/, "QString")
event("QRadioDataControl", /::programTypeChanged\s*\(/, "QRadioData::ProgramType")
event("QRadioDataControl", /::programTypeNameChanged\s*\(/, "QString")
event("QRadioDataControl", /::stationNameChanged\s*\(/, "QString")
event("QRadioDataControl", /::radioTextChanged\s*\(/, "QString")
event("QRadioDataControl", /::alternativeFrequenciesEnabledChanged\s*\(/, "bool")
event("QRadioDataControl", /::error\s*\(/, "QRadioData::Error")
event("QRadioTuner", /::destroyed\s*\(/, "QObject*")
event("QRadioTuner", /::objectNameChanged\s*\(/, "QString")
event("QRadioTuner", /::notifyIntervalChanged\s*\(/, "int")
event("QRadioTuner", /::metaDataAvailableChanged\s*\(/, "bool")
event("QRadioTuner", /::metaDataChanged\s*\(/, "QString, QVariant")
event("QRadioTuner", /::availabilityChanged\s*\(/, "bool")
event("QRadioTuner", /::availabilityChanged\s*\(/, "QMultimedia::AvailabilityStatus")
event("QRadioTuner", /::stateChanged\s*\(/, "QRadioTuner::State")
event("QRadioTuner", /::bandChanged\s*\(/, "QRadioTuner::Band")
event("QRadioTuner", /::frequencyChanged\s*\(/, "int")
event("QRadioTuner", /::stereoStatusChanged\s*\(/, "bool")
event("QRadioTuner", /::searchingChanged\s*\(/, "bool")
event("QRadioTuner", /::signalStrengthChanged\s*\(/, "int")
event("QRadioTuner", /::volumeChanged\s*\(/, "int")
event("QRadioTuner", /::mutedChanged\s*\(/, "bool")
event("QRadioTuner", /::stationFound\s*\(/, "int, QString")
event("QRadioTuner", /::antennaConnectedChanged\s*\(/, "bool")
event("QRadioTuner", /::error\s*\(/, "QRadioTuner::Error")
event("QRadioTunerControl", /::destroyed\s*\(/, "QObject*")
event("QRadioTunerControl", /::objectNameChanged\s*\(/, "QString")
event("QRadioTunerControl", /::stateChanged\s*\(/, "QRadioTuner::State")
event("QRadioTunerControl", /::bandChanged\s*\(/, "QRadioTuner::Band")
event("QRadioTunerControl", /::frequencyChanged\s*\(/, "int")
event("QRadioTunerControl", /::stereoStatusChanged\s*\(/, "bool")
event("QRadioTunerControl", /::searchingChanged\s*\(/, "bool")
event("QRadioTunerControl", /::signalStrengthChanged\s*\(/, "int")
event("QRadioTunerControl", /::volumeChanged\s*\(/, "int")
event("QRadioTunerControl", /::mutedChanged\s*\(/, "bool")
event("QRadioTunerControl", /::error\s*\(/, "QRadioTuner::Error")
event("QRadioTunerControl", /::stationFound\s*\(/, "int, QString")
event("QRadioTunerControl", /::antennaConnectedChanged\s*\(/, "bool")
event("QSound", /::destroyed\s*\(/, "QObject*")
event("QSound", /::objectNameChanged\s*\(/, "QString")
event("QSoundEffect", /::destroyed\s*\(/, "QObject*")
event("QSoundEffect", /::objectNameChanged\s*\(/, "QString")
event("QSoundEffect", /::sourceChanged\s*\(/, "")
event("QSoundEffect", /::loopCountChanged\s*\(/, "")
event("QSoundEffect", /::loopsRemainingChanged\s*\(/, "")
event("QSoundEffect", /::volumeChanged\s*\(/, "")
event("QSoundEffect", /::mutedChanged\s*\(/, "")
event("QSoundEffect", /::loadedChanged\s*\(/, "")
event("QSoundEffect", /::playingChanged\s*\(/, "")
event("QSoundEffect", /::statusChanged\s*\(/, "")
event("QSoundEffect", /::categoryChanged\s*\(/, "")
event("QVideoDeviceSelectorControl", /::destroyed\s*\(/, "QObject*")
event("QVideoDeviceSelectorControl", /::objectNameChanged\s*\(/, "QString")
event("QVideoDeviceSelectorControl", /::selectedDeviceChanged\s*\(/, "int")
event("QVideoDeviceSelectorControl", /::selectedDeviceChanged\s*\(/, "QString")
event("QVideoDeviceSelectorControl", /::devicesChanged\s*\(/, "")
event("QVideoEncoderSettingsControl", /::destroyed\s*\(/, "QObject*")
event("QVideoEncoderSettingsControl", /::objectNameChanged\s*\(/, "QString")
event("QVideoProbe", /::destroyed\s*\(/, "QObject*")
event("QVideoProbe", /::objectNameChanged\s*\(/, "QString")
event("QVideoProbe", /::videoFrameProbed\s*\(/, "QVideoFrame")
event("QVideoProbe", /::flush\s*\(/, "")
event("QVideoRendererControl", /::destroyed\s*\(/, "QObject*")
event("QVideoRendererControl", /::objectNameChanged\s*\(/, "QString")
event("QVideoWidget", /::destroyed\s*\(/, "QObject*")
event("QVideoWidget", /::objectNameChanged\s*\(/, "QString")
event("QVideoWidget", /::windowTitleChanged\s*\(/, "QString")
event("QVideoWidget", /::windowIconChanged\s*\(/, "QIcon")
event("QVideoWidget", /::windowIconTextChanged\s*\(/, "QString")
event("QVideoWidget", /::customContextMenuRequested\s*\(/, "QPoint")
event("QVideoWidget", /::fullScreenChanged\s*\(/, "bool")
event("QVideoWidget", /::brightnessChanged\s*\(/, "int")
event("QVideoWidget", /::contrastChanged\s*\(/, "int")
event("QVideoWidget", /::hueChanged\s*\(/, "int")
event("QVideoWidget", /::saturationChanged\s*\(/, "int")
event("QVideoWindowControl", /::destroyed\s*\(/, "QObject*")
event("QVideoWindowControl", /::objectNameChanged\s*\(/, "QString")
event("QVideoWindowControl", /::fullScreenChanged\s*\(/, "bool")
event("QVideoWindowControl", /::brightnessChanged\s*\(/, "int")
event("QVideoWindowControl", /::contrastChanged\s*\(/, "int")
event("QVideoWindowControl", /::hueChanged\s*\(/, "int")
event("QVideoWindowControl", /::saturationChanged\s*\(/, "int")
event("QVideoWindowControl", /::nativeSizeChanged\s*\(/, "")
event("QUiLoader", /::destroyed\s*\(/, "QObject*")
event("QUiLoader", /::objectNameChanged\s*\(/, "QString")
event("QSqlDriver", /::destroyed\s*\(/, "QObject*")
event("QSqlDriver", /::objectNameChanged\s*\(/, "QString")
event("QSqlDriver", /::notification\s*\(/, "QString, QSqlDriver::NotificationSource, QVariant")
@ -1795,6 +2314,7 @@ event("QAbstractSocket", /::connected\s*\(/, "")
event("QAbstractSocket", /::disconnected\s*\(/, "")
event("QAbstractSocket", /::stateChanged\s*\(/, "QAbstractSocket::SocketState")
event("QAbstractSocket", /::error\s*\(/, "QAbstractSocket::SocketError")
event("QAbstractSocket", /::errorOccurred\s*\(/, "QAbstractSocket::SocketError")
event("QAbstractSocket", /::proxyAuthenticationRequired\s*\(/, "QNetworkProxy, QAuthenticator*")
event("QDnsLookup", /::destroyed\s*\(/, "QObject*")
event("QDnsLookup", /::objectNameChanged\s*\(/, "QString")
@ -1802,6 +2322,12 @@ event("QDnsLookup", /::finished\s*\(/, "")
event("QDnsLookup", /::nameChanged\s*\(/, "QString")
event("QDnsLookup", /::typeChanged\s*\(/, "Type")
event("QDnsLookup", /::nameserverChanged\s*\(/, "QHostAddress")
event("QDtls", /::destroyed\s*\(/, "QObject*")
event("QDtls", /::objectNameChanged\s*\(/, "QString")
event("QDtls", /::pskRequired\s*\(/, "QSslPreSharedKeyAuthenticator*")
event("QDtls", /::handshakeTimeout\s*\(/, "")
event("QDtlsClientVerifier", /::destroyed\s*\(/, "QObject*")
event("QDtlsClientVerifier", /::objectNameChanged\s*\(/, "QString")
event("QHttpMultiPart", /::destroyed\s*\(/, "QObject*")
event("QHttpMultiPart", /::objectNameChanged\s*\(/, "QString")
event("QLocalServer", /::destroyed\s*\(/, "QObject*")
@ -1818,6 +2344,7 @@ event("QLocalSocket", /::readChannelFinished\s*\(/, "")
event("QLocalSocket", /::connected\s*\(/, "")
event("QLocalSocket", /::disconnected\s*\(/, "")
event("QLocalSocket", /::error\s*\(/, "QLocalSocket::LocalSocketError")
event("QLocalSocket", /::errorOccurred\s*\(/, "QLocalSocket::LocalSocketError")
event("QLocalSocket", /::stateChanged\s*\(/, "QLocalSocket::LocalSocketState")
event("QNetworkAccessManager", /::destroyed\s*\(/, "QObject*")
event("QNetworkAccessManager", /::objectNameChanged\s*\(/, "QString")
@ -1851,6 +2378,7 @@ event("QNetworkReply", /::readChannelFinished\s*\(/, "")
event("QNetworkReply", /::metaDataChanged\s*\(/, "")
event("QNetworkReply", /::finished\s*\(/, "")
event("QNetworkReply", /::error\s*\(/, "QNetworkReply::NetworkError")
event("QNetworkReply", /::errorOccurred\s*\(/, "QNetworkReply::NetworkError")
event("QNetworkReply", /::encrypted\s*\(/, "")
event("QNetworkReply", /::sslErrors\s*\(/, "QList<QSslError>")
event("QNetworkReply", /::preSharedKeyAuthenticationRequired\s*\(/, "QSslPreSharedKeyAuthenticator*")
@ -1880,6 +2408,7 @@ event("QSslSocket", /::connected\s*\(/, "")
event("QSslSocket", /::disconnected\s*\(/, "")
event("QSslSocket", /::stateChanged\s*\(/, "QAbstractSocket::SocketState")
event("QSslSocket", /::error\s*\(/, "QAbstractSocket::SocketError")
event("QSslSocket", /::errorOccurred\s*\(/, "QAbstractSocket::SocketError")
event("QSslSocket", /::proxyAuthenticationRequired\s*\(/, "QNetworkProxy, QAuthenticator*")
event("QSslSocket", /::encrypted\s*\(/, "")
event("QSslSocket", /::peerVerifyError\s*\(/, "QSslError")
@ -1887,6 +2416,7 @@ event("QSslSocket", /::sslErrors\s*\(/, "QList<QSslError>")
event("QSslSocket", /::modeChanged\s*\(/, "QSslSocket::SslMode")
event("QSslSocket", /::encryptedBytesWritten\s*\(/, "qlonglong")
event("QSslSocket", /::preSharedKeyAuthenticationRequired\s*\(/, "QSslPreSharedKeyAuthenticator*")
event("QSslSocket", /::newSessionTicketReceived\s*\(/, "")
event("QTcpServer", /::destroyed\s*\(/, "QObject*")
event("QTcpServer", /::objectNameChanged\s*\(/, "QString")
event("QTcpServer", /::newConnection\s*\(/, "")
@ -1904,6 +2434,7 @@ event("QTcpSocket", /::connected\s*\(/, "")
event("QTcpSocket", /::disconnected\s*\(/, "")
event("QTcpSocket", /::stateChanged\s*\(/, "QAbstractSocket::SocketState")
event("QTcpSocket", /::error\s*\(/, "QAbstractSocket::SocketError")
event("QTcpSocket", /::errorOccurred\s*\(/, "QAbstractSocket::SocketError")
event("QTcpSocket", /::proxyAuthenticationRequired\s*\(/, "QNetworkProxy, QAuthenticator*")
event("QUdpSocket", /::destroyed\s*\(/, "QObject*")
event("QUdpSocket", /::objectNameChanged\s*\(/, "QString")
@ -1918,4 +2449,5 @@ event("QUdpSocket", /::connected\s*\(/, "")
event("QUdpSocket", /::disconnected\s*\(/, "")
event("QUdpSocket", /::stateChanged\s*\(/, "QAbstractSocket::SocketState")
event("QUdpSocket", /::error\s*\(/, "QAbstractSocket::SocketError")
event("QUdpSocket", /::errorOccurred\s*\(/, "QAbstractSocket::SocketError")
event("QUdpSocket", /::proxyAuthenticationRequired\s*\(/, "QNetworkProxy, QAuthenticator*")

File diff suppressed because it is too large Load Diff

View File

@ -34,8 +34,8 @@ drop_method :all_classes, /\(.*&&.*\)/ # no move semantics
drop_method :all_classes, /.*\s+&&$/ # no move semantics
drop_method :all_classes, /\(.*std::nullptr_t.*\)/ # no nullptr arguments
drop_method :all_classes, /\(.*std::experimental.*\)/ # no experimental stuff
drop_method :all_classes, /\(.*std::chrono.*\)/ # no chrono
drop_method :all_classes, /^std::chrono::/ # no chrono as return value
drop_method :all_classes, /\(.*std::chrono.*\)/ # no std::chrono
drop_method :all_classes, /^std::chrono::/ # no std::chrono as return value
drop_method :all_classes, /\(.*std::filesystem.*\)/ # no filesystem
drop_method :all_classes, /^std::filesystem::/ # no filesystem as return value
drop_method :all_classes, /\(.*std::initializer_list.*\)/ # no brace initialization
@ -43,10 +43,13 @@ drop_method :all_classes, /\(.*std::function.*\)/ # std::function not bindable
drop_method :all_classes, /^std::function</ # std::function not bindable as return value
drop_method :all_classes, /::bindable/ # no QBindable available
drop_method :all_classes, /.*QtPrivate::.*/ # no private stuff
drop_method :all_classes, /\(.*QStringView\W/ # no QStringView
drop_method :all_classes, /^QStringView\W/ # no QStringView
drop_method :all_classes, /\(.*QLatin1String\W/ # clashes usually with const char *
rename :all_classes, /::create\(/, "qt_create" # clashes with GSI/Ruby
rename :all_classes, /::destroy\(/, "qt_destroy" # clashes with GSI/Ruby
rename :all_classes, /::raise\(/, "qt_raise" # clashes with Ruby "raise" keyword
def_alias :all_classes, /::create\(/, "qt_create" # clashes with GSI/Ruby
def_alias :all_classes, /::destroy\(/, "qt_destroy" # clashes with GSI/Ruby
def_alias :all_classes, /::raise\(/, "qt_raise" # clashes with Ruby "raise" keyword
# --------------------------------------------------------------
# Qt
@ -320,7 +323,7 @@ drop_enum_const "QEvent", /CocoaRequestModal/ # not available on WIN
drop_method "QMetaType", /QMetaType::staticMetaObject/ # not available
drop_method "QMetaType", /QMetaType::register.*Function\(/ # std::function not available
drop_method "QDeadlineTimer", /QDeadlineTimer::_q_data/ # internal (@@@ TODO: QDealineTimer is present twice?)
drop_method "QDeadlineTimer", /QDeadlineTimer::_q_data/ # internal and QPair is not bound
drop_method "QObject", /QObject::bindingStorage/ # no QBindingStorage
drop_method "QPluginLoader", /QPluginLoader::staticPlugins/ # no QStaticPlugin
drop_method "QKeyCombination", /QKeyCombination::operator<\(/ # deleted
@ -866,7 +869,8 @@ drop_method "QGuiApplication", /QGuiApplication::platformFunction/ # (TODO) no
drop_method "QPagedPaintDevice", /QPagedPaintDevice::dd/ # QPagedPaintDevicePrivate not available
drop_method "QPixmap", /QPixmap::QPixmap\(QPlatformPixmap/ # QPlatformPixmap not available
drop_method "QAbstractPageSetupDialog", /QAbstractPageSetupDialog::QAbstractPageSetupDialog\(QAbstractPageSetupDialogPrivate/
drop_method "QImage", /QImage::QImage\(.*cleanupFunction/ # (TODO) no function pointers available
drop_method "QImage", /QImage::QImage\(.*cleanupFunction/ # (TODO) no function pointers available -> substitute by variant in add_native_impl_QImage
add_native_impl_QImage()
drop_method "QClipboardEvent", /QClipboardEvent::data/
drop_method "QClipboardEvent", /QClipboardEvent::QClipboardEvent\(QEventPrivate/
drop_method "QCursor", /QCursor::QCursor\s*\(\s*Qt::HANDLE/ # not available on WIN
@ -1036,7 +1040,6 @@ drop_method "QColor", /QColor::QColor\(const\s+QString/ # clashes with const cha
drop_method "QColor", /QColor::allowX11ColorNames/ # not available in WIN
drop_method "QColor", /QColor::setAllowX11ColorNames/ # not available in WIN
drop_method "Qimage", /Qimage::text\(const\s+QString/ # clashes with const char * version
drop_method "QOpenGLExtraFunctions", /QOpenGLExtraFunctions::glDebugMessageCallback\(/ # needs function *
drop_method "QWindow", /::vulkanInstance\(/ # no Vulkan support currently
drop_method "QWindow", /::setVulkanInstance\(/ # no Vulkan support currently
drop_method "QTransform", /::asAffineMatrix\(/ # auto return value not supported
@ -1049,11 +1052,30 @@ rename "QDialogButtonBox", /QDialogButtonBox::QDialogButtonBox\(QFlags/, "new_bu
rename "QIcon", /QIcon::pixmap\(int\s+extent/, "pixmap_ext"
rename "QKeySequence", /QKeySequence::QKeySequence\(QKeySequence::StandardKey/, "new_std"
# TODO: basically, the layout object only takes ownership over the objects when
# it has a QWidget parent itself. This is not reflected in the following simple scheme
keep_arg "QBoxLayout", /::addLayout/, 0 # will take ownership of layout
keep_arg "QBoxLayout", /::addSpacerItem/, 0 # will take ownership of item
keep_arg "QBoxLayout", /::addWidget/, 0 # will take ownership of item
keep_arg "QBoxLayout", /::insertItem/, 1 # will take ownership of item
keep_arg "QBoxLayout", /::insertLayout/, 1 # will take ownership of item
keep_arg "QBoxLayout", /::insertSpacerItem/, 1 # will take ownership of item
keep_arg "QBoxLayout", /::insertWidget/, 1 # will take ownership of item
keep_arg "QFormLayout", /::addRow/, 1 # will take ownership of item
keep_arg "QFormLayout", /::addRow\(QWidget\s*\*/, 0 # will take ownership of item
keep_arg "QFormLayout", /::insertRow/, 2 # will take ownership of item
keep_arg "QFormLayout", /::insertRow\(QWidget\s*\*/, 1 # will take ownership of item
keep_arg "QFormLayout", /::setWidget/, 2 # will take ownership of item
keep_arg "QGridLayout", /::addLayout/, 0 # will take ownership of layout
keep_arg "QWidget", /::setLayout\s*\(/, 0 # will take ownership of layout
keep_arg "QGridLayout", /::addItem/, 0 # will take ownership of layout
keep_arg "QGridLayout", /::addWidget/, 0 # will take ownership of layout
keep_arg "QLayout", /::addChildLayout/, 0 # will take ownership of layout
keep_arg "QLayout", /::addItem/, 0 # will take ownership of item
keep_arg "QLayout", /::addWidget/, 0 # will take ownership of item
keep_arg "QStackedLayout", /::addWidget/, 0 # will take ownership of item
keep_arg "QStackedLayout", /::insertWidget/, 1 # will take ownership of item
keep_arg "QWidget", /::setLayout\s*\(/, 0 # will take ownership of layout
keep_arg "QTreeWidgetItem", /::addChild\(/, 0 # will take ownership of the child
keep_arg "QTreeWidgetItem", /::addChildren\(/, 0 # will take ownership of the children
keep_arg "QTreeWidgetItem", /::insertChild\(/, 1 # will take ownership of the child
@ -1082,6 +1104,7 @@ return_new "QLayout", /::takeAt/ # returns a free object
return_new "QBoxLayout", /::takeAt/ # returns a free object
return_new "QFormLayout", /::takeAt/ # returns a free object
return_new "QGridLayout", /::takeAt/ # returns a free object
# TODO: QFormLayout: takeRow -> needs QFormLayout::TakeRowResult
return_new "QStackedLayout", /::takeAt/ # returns a free object
return_new "QStandardItem", /::take/ # returns a free object
return_new "QStandardItemModel", /::take/ # returns a free object

View File

@ -10,7 +10,7 @@ event("QAbstractEventDispatcher", /::aboutToBlock\s*\(/, "")
event("QAbstractEventDispatcher", /::awake\s*\(/, "")
event("QAbstractItemModel", /::destroyed\s*\(/, "QObject*")
event("QAbstractItemModel", /::objectNameChanged\s*\(/, "QString")
event("QAbstractItemModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QVector<int>")
event("QAbstractItemModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QList<int>")
event("QAbstractItemModel", /::headerDataChanged\s*\(/, "Qt::Orientation, int, int")
event("QAbstractItemModel", /::layoutChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
event("QAbstractItemModel", /::layoutAboutToBeChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
@ -30,7 +30,7 @@ event("QAbstractItemModel", /::columnsAboutToBeMoved\s*\(/, "QModelIndex, int, i
event("QAbstractItemModel", /::columnsMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QAbstractListModel", /::destroyed\s*\(/, "QObject*")
event("QAbstractListModel", /::objectNameChanged\s*\(/, "QString")
event("QAbstractListModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QVector<int>")
event("QAbstractListModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QList<int>")
event("QAbstractListModel", /::headerDataChanged\s*\(/, "Qt::Orientation, int, int")
event("QAbstractListModel", /::layoutChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
event("QAbstractListModel", /::layoutAboutToBeChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
@ -50,7 +50,7 @@ event("QAbstractListModel", /::columnsAboutToBeMoved\s*\(/, "QModelIndex, int, i
event("QAbstractListModel", /::columnsMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QAbstractProxyModel", /::destroyed\s*\(/, "QObject*")
event("QAbstractProxyModel", /::objectNameChanged\s*\(/, "QString")
event("QAbstractProxyModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QVector<int>")
event("QAbstractProxyModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QList<int>")
event("QAbstractProxyModel", /::headerDataChanged\s*\(/, "Qt::Orientation, int, int")
event("QAbstractProxyModel", /::layoutChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
event("QAbstractProxyModel", /::layoutAboutToBeChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
@ -69,14 +69,9 @@ event("QAbstractProxyModel", /::rowsMoved\s*\(/, "QModelIndex, int, int, QModelI
event("QAbstractProxyModel", /::columnsAboutToBeMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QAbstractProxyModel", /::columnsMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QAbstractProxyModel", /::sourceModelChanged\s*\(/, "")
event("QAbstractState", /::destroyed\s*\(/, "QObject*")
event("QAbstractState", /::objectNameChanged\s*\(/, "QString")
event("QAbstractState", /::entered\s*\(/, "")
event("QAbstractState", /::exited\s*\(/, "")
event("QAbstractState", /::activeChanged\s*\(/, "bool")
event("QAbstractTableModel", /::destroyed\s*\(/, "QObject*")
event("QAbstractTableModel", /::objectNameChanged\s*\(/, "QString")
event("QAbstractTableModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QVector<int>")
event("QAbstractTableModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QList<int>")
event("QAbstractTableModel", /::headerDataChanged\s*\(/, "Qt::Orientation, int, int")
event("QAbstractTableModel", /::layoutChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
event("QAbstractTableModel", /::layoutAboutToBeChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
@ -94,11 +89,6 @@ event("QAbstractTableModel", /::rowsAboutToBeMoved\s*\(/, "QModelIndex, int, int
event("QAbstractTableModel", /::rowsMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QAbstractTableModel", /::columnsAboutToBeMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QAbstractTableModel", /::columnsMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QAbstractTransition", /::destroyed\s*\(/, "QObject*")
event("QAbstractTransition", /::objectNameChanged\s*\(/, "QString")
event("QAbstractTransition", /::triggered\s*\(/, "")
event("QAbstractTransition", /::targetStateChanged\s*\(/, "")
event("QAbstractTransition", /::targetStatesChanged\s*\(/, "")
event("QAnimationDriver", /::destroyed\s*\(/, "QObject*")
event("QAnimationDriver", /::objectNameChanged\s*\(/, "QString")
event("QAnimationDriver", /::started\s*\(/, "")
@ -117,6 +107,26 @@ event("QBuffer", /::bytesWritten\s*\(/, "qlonglong")
event("QBuffer", /::channelBytesWritten\s*\(/, "int, qlonglong")
event("QBuffer", /::aboutToClose\s*\(/, "")
event("QBuffer", /::readChannelFinished\s*\(/, "")
event("QConcatenateTablesProxyModel", /::destroyed\s*\(/, "QObject*")
event("QConcatenateTablesProxyModel", /::objectNameChanged\s*\(/, "QString")
event("QConcatenateTablesProxyModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QList<int>")
event("QConcatenateTablesProxyModel", /::headerDataChanged\s*\(/, "Qt::Orientation, int, int")
event("QConcatenateTablesProxyModel", /::layoutChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
event("QConcatenateTablesProxyModel", /::layoutAboutToBeChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
event("QConcatenateTablesProxyModel", /::rowsAboutToBeInserted\s*\(/, "QModelIndex, int, int")
event("QConcatenateTablesProxyModel", /::rowsInserted\s*\(/, "QModelIndex, int, int")
event("QConcatenateTablesProxyModel", /::rowsAboutToBeRemoved\s*\(/, "QModelIndex, int, int")
event("QConcatenateTablesProxyModel", /::rowsRemoved\s*\(/, "QModelIndex, int, int")
event("QConcatenateTablesProxyModel", /::columnsAboutToBeInserted\s*\(/, "QModelIndex, int, int")
event("QConcatenateTablesProxyModel", /::columnsInserted\s*\(/, "QModelIndex, int, int")
event("QConcatenateTablesProxyModel", /::columnsAboutToBeRemoved\s*\(/, "QModelIndex, int, int")
event("QConcatenateTablesProxyModel", /::columnsRemoved\s*\(/, "QModelIndex, int, int")
event("QConcatenateTablesProxyModel", /::modelAboutToBeReset\s*\(/, "")
event("QConcatenateTablesProxyModel", /::modelReset\s*\(/, "")
event("QConcatenateTablesProxyModel", /::rowsAboutToBeMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QConcatenateTablesProxyModel", /::rowsMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QConcatenateTablesProxyModel", /::columnsAboutToBeMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QConcatenateTablesProxyModel", /::columnsMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QCoreApplication", /::destroyed\s*\(/, "QObject*")
event("QCoreApplication", /::objectNameChanged\s*\(/, "QString")
event("QCoreApplication", /::aboutToQuit\s*\(/, "")
@ -126,11 +136,6 @@ event("QCoreApplication", /::applicationNameChanged\s*\(/, "")
event("QCoreApplication", /::applicationVersionChanged\s*\(/, "")
event("QEventLoop", /::destroyed\s*\(/, "QObject*")
event("QEventLoop", /::objectNameChanged\s*\(/, "QString")
event("QEventTransition", /::destroyed\s*\(/, "QObject*")
event("QEventTransition", /::objectNameChanged\s*\(/, "QString")
event("QEventTransition", /::triggered\s*\(/, "")
event("QEventTransition", /::targetStateChanged\s*\(/, "")
event("QEventTransition", /::targetStatesChanged\s*\(/, "")
event("QFile", /::destroyed\s*\(/, "QObject*")
event("QFile", /::objectNameChanged\s*\(/, "QString")
event("QFile", /::readyRead\s*\(/, "")
@ -153,19 +158,6 @@ event("QFileSystemWatcher", /::destroyed\s*\(/, "QObject*")
event("QFileSystemWatcher", /::objectNameChanged\s*\(/, "QString")
event("QFileSystemWatcher", /::fileChanged\s*\(/, "QString")
event("QFileSystemWatcher", /::directoryChanged\s*\(/, "QString")
event("QFinalState", /::destroyed\s*\(/, "QObject*")
event("QFinalState", /::objectNameChanged\s*\(/, "QString")
event("QFinalState", /::entered\s*\(/, "")
event("QFinalState", /::exited\s*\(/, "")
event("QFinalState", /::activeChanged\s*\(/, "bool")
event("QHistoryState", /::destroyed\s*\(/, "QObject*")
event("QHistoryState", /::objectNameChanged\s*\(/, "QString")
event("QHistoryState", /::entered\s*\(/, "")
event("QHistoryState", /::exited\s*\(/, "")
event("QHistoryState", /::activeChanged\s*\(/, "bool")
event("QHistoryState", /::defaultTransitionChanged\s*\(/, "")
event("QHistoryState", /::defaultStateChanged\s*\(/, "")
event("QHistoryState", /::historyTypeChanged\s*\(/, "")
event("QIODevice", /::destroyed\s*\(/, "QObject*")
event("QIODevice", /::objectNameChanged\s*\(/, "QString")
event("QIODevice", /::readyRead\s*\(/, "")
@ -176,7 +168,7 @@ event("QIODevice", /::aboutToClose\s*\(/, "")
event("QIODevice", /::readChannelFinished\s*\(/, "")
event("QIdentityProxyModel", /::destroyed\s*\(/, "QObject*")
event("QIdentityProxyModel", /::objectNameChanged\s*\(/, "QString")
event("QIdentityProxyModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QVector<int>")
event("QIdentityProxyModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QList<int>")
event("QIdentityProxyModel", /::headerDataChanged\s*\(/, "Qt::Orientation, int, int")
event("QIdentityProxyModel", /::layoutChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
event("QIdentityProxyModel", /::layoutAboutToBeChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
@ -232,7 +224,6 @@ event("QProcess", /::aboutToClose\s*\(/, "")
event("QProcess", /::readChannelFinished\s*\(/, "")
event("QProcess", /::started\s*\(/, "")
event("QProcess", /::finished\s*\(/, "int, QProcess::ExitStatus")
event("QProcess", /::error\s*\(/, "QProcess::ProcessError")
event("QProcess", /::errorOccurred\s*\(/, "QProcess::ProcessError")
event("QProcess", /::stateChanged\s*\(/, "QProcess::ProcessState")
event("QProcess", /::readyReadStandardOutput\s*\(/, "")
@ -265,26 +256,16 @@ event("QSharedMemory", /::destroyed\s*\(/, "QObject*")
event("QSharedMemory", /::objectNameChanged\s*\(/, "QString")
event("QSignalMapper", /::destroyed\s*\(/, "QObject*")
event("QSignalMapper", /::objectNameChanged\s*\(/, "QString")
event("QSignalMapper", /::mapped\s*\(.*int/, "int")
event("QSignalMapper", /::mapped\s*\(.*QString/, "QString")
rename("QSignalMapper", /::mapped\s*\(.*QString/, "mapped_qs")
event("QSignalMapper", /::mapped\s*\(.*QWidget/, "QWidget*")
rename("QSignalMapper", /::mapped\s*\(.*QWidget/, "mapped_qw")
event("QSignalMapper", /::mapped\s*\(.*QObject/, "QObject*")
rename("QSignalMapper", /::mapped\s*\(.*QObject/, "mapped_qo")
event("QSignalTransition", /::destroyed\s*\(/, "QObject*")
event("QSignalTransition", /::objectNameChanged\s*\(/, "QString")
event("QSignalTransition", /::triggered\s*\(/, "")
event("QSignalTransition", /::targetStateChanged\s*\(/, "")
event("QSignalTransition", /::targetStatesChanged\s*\(/, "")
event("QSignalTransition", /::senderObjectChanged\s*\(/, "")
event("QSignalTransition", /::signalChanged\s*\(/, "")
event("QSignalMapper", /::mappedInt\s*\(/, "int")
event("QSignalMapper", /::mappedString\s*\(/, "QString")
event("QSignalMapper", /::mappedObject\s*\(/, "QObject*")
event("QSocketNotifier", /::destroyed\s*\(/, "QObject*")
event("QSocketNotifier", /::objectNameChanged\s*\(/, "QString")
event("QSocketNotifier", /::activated\s*\(/, "QSocketDescriptor, QSocketNotifier::Type")
event("QSocketNotifier", /::activated\s*\(/, "int")
event("QSortFilterProxyModel", /::destroyed\s*\(/, "QObject*")
event("QSortFilterProxyModel", /::objectNameChanged\s*\(/, "QString")
event("QSortFilterProxyModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QVector<int>")
event("QSortFilterProxyModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QList<int>")
event("QSortFilterProxyModel", /::headerDataChanged\s*\(/, "Qt::Orientation, int, int")
event("QSortFilterProxyModel", /::layoutChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
event("QSortFilterProxyModel", /::layoutAboutToBeChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
@ -303,32 +284,17 @@ event("QSortFilterProxyModel", /::rowsMoved\s*\(/, "QModelIndex, int, int, QMode
event("QSortFilterProxyModel", /::columnsAboutToBeMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QSortFilterProxyModel", /::columnsMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QSortFilterProxyModel", /::sourceModelChanged\s*\(/, "")
event("QState", /::destroyed\s*\(/, "QObject*")
event("QState", /::objectNameChanged\s*\(/, "QString")
event("QState", /::entered\s*\(/, "")
event("QState", /::exited\s*\(/, "")
event("QState", /::activeChanged\s*\(/, "bool")
event("QState", /::finished\s*\(/, "")
event("QState", /::propertiesAssigned\s*\(/, "")
event("QState", /::childModeChanged\s*\(/, "")
event("QState", /::initialStateChanged\s*\(/, "")
event("QState", /::errorStateChanged\s*\(/, "")
event("QStateMachine", /::destroyed\s*\(/, "QObject*")
event("QStateMachine", /::objectNameChanged\s*\(/, "QString")
event("QStateMachine", /::entered\s*\(/, "")
event("QStateMachine", /::exited\s*\(/, "")
event("QStateMachine", /::activeChanged\s*\(/, "bool")
event("QStateMachine", /::finished\s*\(/, "")
event("QStateMachine", /::propertiesAssigned\s*\(/, "")
event("QStateMachine", /::childModeChanged\s*\(/, "")
event("QStateMachine", /::initialStateChanged\s*\(/, "")
event("QStateMachine", /::errorStateChanged\s*\(/, "")
event("QStateMachine", /::started\s*\(/, "")
event("QStateMachine", /::stopped\s*\(/, "")
event("QStateMachine", /::runningChanged\s*\(/, "bool")
event("QSortFilterProxyModel", /::dynamicSortFilterChanged\s*\(/, "bool")
event("QSortFilterProxyModel", /::filterCaseSensitivityChanged\s*\(/, "Qt::CaseSensitivity")
event("QSortFilterProxyModel", /::sortCaseSensitivityChanged\s*\(/, "Qt::CaseSensitivity")
event("QSortFilterProxyModel", /::sortLocaleAwareChanged\s*\(/, "bool")
event("QSortFilterProxyModel", /::sortRoleChanged\s*\(/, "int")
event("QSortFilterProxyModel", /::filterRoleChanged\s*\(/, "int")
event("QSortFilterProxyModel", /::recursiveFilteringEnabledChanged\s*\(/, "bool")
event("QSortFilterProxyModel", /::autoAcceptChildRowsChanged\s*\(/, "bool")
event("QStringListModel", /::destroyed\s*\(/, "QObject*")
event("QStringListModel", /::objectNameChanged\s*\(/, "QString")
event("QStringListModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QVector<int>")
event("QStringListModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QList<int>")
event("QStringListModel", /::headerDataChanged\s*\(/, "Qt::Orientation, int, int")
event("QStringListModel", /::layoutChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
event("QStringListModel", /::layoutAboutToBeChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
@ -371,6 +337,27 @@ event("QTimer", /::objectNameChanged\s*\(/, "QString")
event("QTimer", /::timeout\s*\(/, "")
event("QTranslator", /::destroyed\s*\(/, "QObject*")
event("QTranslator", /::objectNameChanged\s*\(/, "QString")
event("QTransposeProxyModel", /::destroyed\s*\(/, "QObject*")
event("QTransposeProxyModel", /::objectNameChanged\s*\(/, "QString")
event("QTransposeProxyModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QList<int>")
event("QTransposeProxyModel", /::headerDataChanged\s*\(/, "Qt::Orientation, int, int")
event("QTransposeProxyModel", /::layoutChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
event("QTransposeProxyModel", /::layoutAboutToBeChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
event("QTransposeProxyModel", /::rowsAboutToBeInserted\s*\(/, "QModelIndex, int, int")
event("QTransposeProxyModel", /::rowsInserted\s*\(/, "QModelIndex, int, int")
event("QTransposeProxyModel", /::rowsAboutToBeRemoved\s*\(/, "QModelIndex, int, int")
event("QTransposeProxyModel", /::rowsRemoved\s*\(/, "QModelIndex, int, int")
event("QTransposeProxyModel", /::columnsAboutToBeInserted\s*\(/, "QModelIndex, int, int")
event("QTransposeProxyModel", /::columnsInserted\s*\(/, "QModelIndex, int, int")
event("QTransposeProxyModel", /::columnsAboutToBeRemoved\s*\(/, "QModelIndex, int, int")
event("QTransposeProxyModel", /::columnsRemoved\s*\(/, "QModelIndex, int, int")
event("QTransposeProxyModel", /::modelAboutToBeReset\s*\(/, "")
event("QTransposeProxyModel", /::modelReset\s*\(/, "")
event("QTransposeProxyModel", /::rowsAboutToBeMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QTransposeProxyModel", /::rowsMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QTransposeProxyModel", /::columnsAboutToBeMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QTransposeProxyModel", /::columnsMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QTransposeProxyModel", /::sourceModelChanged\s*\(/, "")
event("QVariantAnimation", /::destroyed\s*\(/, "QObject*")
event("QVariantAnimation", /::objectNameChanged\s*\(/, "QString")
event("QVariantAnimation", /::finished\s*\(/, "")
@ -384,6 +371,19 @@ event("QAbstractTextDocumentLayout", /::update\s*\(/, "QRectF")
event("QAbstractTextDocumentLayout", /::updateBlock\s*\(/, "QTextBlock")
event("QAbstractTextDocumentLayout", /::documentSizeChanged\s*\(/, "QSizeF")
event("QAbstractTextDocumentLayout", /::pageCountChanged\s*\(/, "int")
event("QAction", /::destroyed\s*\(/, "QObject*")
event("QAction", /::objectNameChanged\s*\(/, "QString")
event("QAction", /::changed\s*\(/, "")
event("QAction", /::enabledChanged\s*\(/, "bool")
event("QAction", /::checkableChanged\s*\(/, "bool")
event("QAction", /::visibleChanged\s*\(/, "")
event("QAction", /::triggered\s*\(/, "bool")
event("QAction", /::hovered\s*\(/, "")
event("QAction", /::toggled\s*\(/, "bool")
event("QActionGroup", /::destroyed\s*\(/, "QObject*")
event("QActionGroup", /::objectNameChanged\s*\(/, "QString")
event("QActionGroup", /::triggered\s*\(/, "QAction*")
event("QActionGroup", /::hovered\s*\(/, "QAction*")
event("QClipboard", /::destroyed\s*\(/, "QObject*")
event("QClipboard", /::objectNameChanged\s*\(/, "QString")
event("QClipboard", /::changed\s*\(/, "QClipboard::Mode")
@ -401,6 +401,29 @@ event("QDrag", /::destroyed\s*\(/, "QObject*")
event("QDrag", /::objectNameChanged\s*\(/, "QString")
event("QDrag", /::actionChanged\s*\(/, "Qt::DropAction")
event("QDrag", /::targetChanged\s*\(/, "QObject*")
event("QFileSystemModel", /::destroyed\s*\(/, "QObject*")
event("QFileSystemModel", /::objectNameChanged\s*\(/, "QString")
event("QFileSystemModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QList<int>")
event("QFileSystemModel", /::headerDataChanged\s*\(/, "Qt::Orientation, int, int")
event("QFileSystemModel", /::layoutChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
event("QFileSystemModel", /::layoutAboutToBeChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
event("QFileSystemModel", /::rowsAboutToBeInserted\s*\(/, "QModelIndex, int, int")
event("QFileSystemModel", /::rowsInserted\s*\(/, "QModelIndex, int, int")
event("QFileSystemModel", /::rowsAboutToBeRemoved\s*\(/, "QModelIndex, int, int")
event("QFileSystemModel", /::rowsRemoved\s*\(/, "QModelIndex, int, int")
event("QFileSystemModel", /::columnsAboutToBeInserted\s*\(/, "QModelIndex, int, int")
event("QFileSystemModel", /::columnsInserted\s*\(/, "QModelIndex, int, int")
event("QFileSystemModel", /::columnsAboutToBeRemoved\s*\(/, "QModelIndex, int, int")
event("QFileSystemModel", /::columnsRemoved\s*\(/, "QModelIndex, int, int")
event("QFileSystemModel", /::modelAboutToBeReset\s*\(/, "")
event("QFileSystemModel", /::modelReset\s*\(/, "")
event("QFileSystemModel", /::rowsAboutToBeMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QFileSystemModel", /::rowsMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QFileSystemModel", /::columnsAboutToBeMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QFileSystemModel", /::columnsMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QFileSystemModel", /::rootPathChanged\s*\(/, "QString")
event("QFileSystemModel", /::fileRenamed\s*\(/, "QString, QString, QString")
event("QFileSystemModel", /::directoryLoaded\s*\(/, "QString")
event("QGenericPlugin", /::destroyed\s*\(/, "QObject*")
event("QGenericPlugin", /::objectNameChanged\s*\(/, "QString")
event("QGuiApplication", /::destroyed\s*\(/, "QObject*")
@ -421,13 +444,16 @@ event("QGuiApplication", /::applicationStateChanged\s*\(/, "Qt::ApplicationState
event("QGuiApplication", /::layoutDirectionChanged\s*\(/, "Qt::LayoutDirection")
event("QGuiApplication", /::commitDataRequest\s*\(/, "QSessionManager&")
event("QGuiApplication", /::saveStateRequest\s*\(/, "QSessionManager&")
event("QGuiApplication", /::paletteChanged\s*\(/, "QPalette")
event("QGuiApplication", /::applicationDisplayNameChanged\s*\(/, "")
event("QGuiApplication", /::paletteChanged\s*\(/, "QPalette")
event("QGuiApplication", /::fontChanged\s*\(/, "QFont")
event("QIconEnginePlugin", /::destroyed\s*\(/, "QObject*")
event("QIconEnginePlugin", /::objectNameChanged\s*\(/, "QString")
event("QImageIOPlugin", /::destroyed\s*\(/, "QObject*")
event("QImageIOPlugin", /::objectNameChanged\s*\(/, "QString")
event("QInputDevice", /::destroyed\s*\(/, "QObject*")
event("QInputDevice", /::objectNameChanged\s*\(/, "QString")
event("QInputDevice", /::availableVirtualGeometryChanged\s*\(/, "QRect")
event("QInputMethod", /::destroyed\s*\(/, "QObject*")
event("QInputMethod", /::objectNameChanged\s*\(/, "QString")
event("QInputMethod", /::cursorRectangleChanged\s*\(/, "")
@ -475,10 +501,13 @@ event("QPaintDeviceWindow", /::activeChanged\s*\(/, "")
event("QPaintDeviceWindow", /::contentOrientationChanged\s*\(/, "Qt::ScreenOrientation")
event("QPaintDeviceWindow", /::focusObjectChanged\s*\(/, "QObject*")
event("QPaintDeviceWindow", /::opacityChanged\s*\(/, "double")
event("QPaintDeviceWindow", /::transientParentChanged\s*\(/, "QWindow*")
event("QPdfWriter", /::destroyed\s*\(/, "QObject*")
event("QPdfWriter", /::objectNameChanged\s*\(/, "QString")
event("QPictureFormatPlugin", /::destroyed\s*\(/, "QObject*")
event("QPictureFormatPlugin", /::objectNameChanged\s*\(/, "QString")
event("QPointingDevice", /::destroyed\s*\(/, "QObject*")
event("QPointingDevice", /::objectNameChanged\s*\(/, "QString")
event("QPointingDevice", /::availableVirtualGeometryChanged\s*\(/, "QRect")
event("QPointingDevice", /::grabChanged\s*\(/, "QObject*, GrabTransition, const QPointerEvent*, QEventPoint")
event("QRasterWindow", /::destroyed\s*\(/, "QObject*")
event("QRasterWindow", /::objectNameChanged\s*\(/, "QString")
event("QRasterWindow", /::screenChanged\s*\(/, "QScreen*")
@ -499,10 +528,7 @@ event("QRasterWindow", /::activeChanged\s*\(/, "")
event("QRasterWindow", /::contentOrientationChanged\s*\(/, "Qt::ScreenOrientation")
event("QRasterWindow", /::focusObjectChanged\s*\(/, "QObject*")
event("QRasterWindow", /::opacityChanged\s*\(/, "double")
event("QRegExpValidator", /::destroyed\s*\(/, "QObject*")
event("QRegExpValidator", /::objectNameChanged\s*\(/, "QString")
event("QRegExpValidator", /::changed\s*\(/, "")
event("QRegExpValidator", /::regExpChanged\s*\(/, "QRegExp")
event("QRasterWindow", /::transientParentChanged\s*\(/, "QWindow*")
event("QRegularExpressionValidator", /::destroyed\s*\(/, "QObject*")
event("QRegularExpressionValidator", /::objectNameChanged\s*\(/, "QString")
event("QRegularExpressionValidator", /::changed\s*\(/, "")
@ -520,9 +546,13 @@ event("QScreen", /::orientationChanged\s*\(/, "Qt::ScreenOrientation")
event("QScreen", /::refreshRateChanged\s*\(/, "double")
event("QSessionManager", /::destroyed\s*\(/, "QObject*")
event("QSessionManager", /::objectNameChanged\s*\(/, "QString")
event("QShortcut", /::destroyed\s*\(/, "QObject*")
event("QShortcut", /::objectNameChanged\s*\(/, "QString")
event("QShortcut", /::activated\s*\(/, "")
event("QShortcut", /::activatedAmbiguously\s*\(/, "")
event("QStandardItemModel", /::destroyed\s*\(/, "QObject*")
event("QStandardItemModel", /::objectNameChanged\s*\(/, "QString")
event("QStandardItemModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QVector<int>")
event("QStandardItemModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QList<int>")
event("QStandardItemModel", /::headerDataChanged\s*\(/, "Qt::Orientation, int, int")
event("QStandardItemModel", /::layoutChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
event("QStandardItemModel", /::layoutAboutToBeChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
@ -551,6 +581,7 @@ event("QStyleHints", /::startDragDistanceChanged\s*\(/, "int")
event("QStyleHints", /::startDragTimeChanged\s*\(/, "int")
event("QStyleHints", /::tabFocusBehaviorChanged\s*\(/, "Qt::TabFocusBehavior")
event("QStyleHints", /::useHoverEffectsChanged\s*\(/, "bool")
event("QStyleHints", /::showShortcutsInContextMenusChanged\s*\(/, "bool")
event("QStyleHints", /::wheelScrollLinesChanged\s*\(/, "int")
event("QStyleHints", /::mouseQuickSelectionThresholdChanged\s*\(/, "int")
event("QSyntaxHighlighter", /::destroyed\s*\(/, "QObject*")
@ -577,6 +608,23 @@ event("QTextObject", /::destroyed\s*\(/, "QObject*")
event("QTextObject", /::objectNameChanged\s*\(/, "QString")
event("QTextTable", /::destroyed\s*\(/, "QObject*")
event("QTextTable", /::objectNameChanged\s*\(/, "QString")
event("QUndoGroup", /::destroyed\s*\(/, "QObject*")
event("QUndoGroup", /::objectNameChanged\s*\(/, "QString")
event("QUndoGroup", /::activeStackChanged\s*\(/, "QUndoStack*")
event("QUndoGroup", /::indexChanged\s*\(/, "int")
event("QUndoGroup", /::cleanChanged\s*\(/, "bool")
event("QUndoGroup", /::canUndoChanged\s*\(/, "bool")
event("QUndoGroup", /::canRedoChanged\s*\(/, "bool")
event("QUndoGroup", /::undoTextChanged\s*\(/, "QString")
event("QUndoGroup", /::redoTextChanged\s*\(/, "QString")
event("QUndoStack", /::destroyed\s*\(/, "QObject*")
event("QUndoStack", /::objectNameChanged\s*\(/, "QString")
event("QUndoStack", /::indexChanged\s*\(/, "int")
event("QUndoStack", /::cleanChanged\s*\(/, "bool")
event("QUndoStack", /::canUndoChanged\s*\(/, "bool")
event("QUndoStack", /::canRedoChanged\s*\(/, "bool")
event("QUndoStack", /::undoTextChanged\s*\(/, "QString")
event("QUndoStack", /::redoTextChanged\s*\(/, "QString")
event("QValidator", /::destroyed\s*\(/, "QObject*")
event("QValidator", /::objectNameChanged\s*\(/, "QString")
event("QValidator", /::changed\s*\(/, "")
@ -600,6 +648,7 @@ event("QWindow", /::activeChanged\s*\(/, "")
event("QWindow", /::contentOrientationChanged\s*\(/, "Qt::ScreenOrientation")
event("QWindow", /::focusObjectChanged\s*\(/, "QObject*")
event("QWindow", /::opacityChanged\s*\(/, "double")
event("QWindow", /::transientParentChanged\s*\(/, "QWindow*")
event("QAbstractButton", /::destroyed\s*\(/, "QObject*")
event("QAbstractButton", /::objectNameChanged\s*\(/, "QString")
event("QAbstractButton", /::windowTitleChanged\s*\(/, "QString")
@ -653,16 +702,6 @@ event("QAbstractSpinBox", /::windowIconChanged\s*\(/, "QIcon")
event("QAbstractSpinBox", /::windowIconTextChanged\s*\(/, "QString")
event("QAbstractSpinBox", /::customContextMenuRequested\s*\(/, "QPoint")
event("QAbstractSpinBox", /::editingFinished\s*\(/, "")
event("QAction", /::destroyed\s*\(/, "QObject*")
event("QAction", /::objectNameChanged\s*\(/, "QString")
event("QAction", /::changed\s*\(/, "")
event("QAction", /::triggered\s*\(/, "bool")
event("QAction", /::hovered\s*\(/, "")
event("QAction", /::toggled\s*\(/, "bool")
event("QActionGroup", /::destroyed\s*\(/, "QObject*")
event("QActionGroup", /::objectNameChanged\s*\(/, "QString")
event("QActionGroup", /::triggered\s*\(/, "QAction*")
event("QActionGroup", /::hovered\s*\(/, "QAction*")
event("QApplication", /::destroyed\s*\(/, "QObject*")
event("QApplication", /::objectNameChanged\s*\(/, "QString")
event("QApplication", /::aboutToQuit\s*\(/, "")
@ -681,8 +720,8 @@ event("QApplication", /::applicationStateChanged\s*\(/, "Qt::ApplicationState")
event("QApplication", /::layoutDirectionChanged\s*\(/, "Qt::LayoutDirection")
event("QApplication", /::commitDataRequest\s*\(/, "QSessionManager&")
event("QApplication", /::saveStateRequest\s*\(/, "QSessionManager&")
event("QApplication", /::paletteChanged\s*\(/, "QPalette")
event("QApplication", /::applicationDisplayNameChanged\s*\(/, "")
event("QApplication", /::paletteChanged\s*\(/, "QPalette")
event("QApplication", /::fontChanged\s*\(/, "QFont")
event("QApplication", /::focusChanged\s*\(/, "QWidget*, QWidget*")
event("QBoxLayout", /::destroyed\s*\(/, "QObject*")
@ -691,15 +730,15 @@ event("QButtonGroup", /::destroyed\s*\(/, "QObject*")
event("QButtonGroup", /::objectNameChanged\s*\(/, "QString")
event("QButtonGroup", /::buttonClicked\s*\(.*QAbstractButton/, "QAbstractButton*")
rename("QButtonGroup", /::buttonClicked\s*\(.*QAbstractButton/, "buttonClicked_qab")
event("QButtonGroup", /::buttonClicked\s*\(.*int/, "int")
event("QButtonGroup", /::buttonPressed\s*\(.*QAbstractButton/, "QAbstractButton*")
rename("QButtonGroup", /::buttonPressed\s*\(.*QAbstractButton/, "buttonPressed_qab")
event("QButtonGroup", /::buttonPressed\s*\(.*int/, "int")
event("QButtonGroup", /::buttonReleased\s*\(.*QAbstractButton/, "QAbstractButton*")
rename("QButtonGroup", /::buttonReleased\s*\(.*QAbstractButton/, "buttonReleased_qab")
event("QButtonGroup", /::buttonReleased\s*\(.*int/, "int")
event("QButtonGroup", /::buttonToggled\s*\(/, "QAbstractButton*, bool")
event("QButtonGroup", /::buttonToggled\s*\(/, "int, bool")
event("QButtonGroup", /::idClicked\s*\(/, "int")
event("QButtonGroup", /::idPressed\s*\(/, "int")
event("QButtonGroup", /::idReleased\s*\(/, "int")
event("QButtonGroup", /::idToggled\s*\(/, "int, bool")
event("QCalendarWidget", /::destroyed\s*\(/, "QObject*")
event("QCalendarWidget", /::objectNameChanged\s*\(/, "QString")
event("QCalendarWidget", /::windowTitleChanged\s*\(/, "QString")
@ -754,14 +793,10 @@ event("QComboBox", /::windowIconTextChanged\s*\(/, "QString")
event("QComboBox", /::customContextMenuRequested\s*\(/, "QPoint")
event("QComboBox", /::editTextChanged\s*\(/, "QString")
event("QComboBox", /::activated\s*\(.*int/, "int")
event("QComboBox", /::activated\s*\(.*QString/, "QString")
rename("QComboBox", /::activated\s*\(.*QString/, "activated_qs")
event("QComboBox", /::textActivated\s*\(/, "QString")
event("QComboBox", /::highlighted\s*\(.*int/, "int")
event("QComboBox", /::highlighted\s*\(.*QString/, "QString")
rename("QComboBox", /::highlighted\s*\(.*QString/, "highlighted_qs")
event("QComboBox", /::textHighlighted\s*\(/, "QString")
event("QComboBox", /::currentIndexChanged\s*\(.*int/, "int")
event("QComboBox", /::currentIndexChanged\s*\(.*QString/, "QString")
rename("QComboBox", /::currentIndexChanged\s*\(.*QString/, "currentIndexChanged_qs")
event("QComboBox", /::currentTextChanged\s*\(/, "QString")
event("QCommandLinkButton", /::destroyed\s*\(/, "QObject*")
event("QCommandLinkButton", /::objectNameChanged\s*\(/, "QString")
@ -807,16 +842,6 @@ event("QDateTimeEdit", /::editingFinished\s*\(/, "")
event("QDateTimeEdit", /::dateTimeChanged\s*\(/, "QDateTime")
event("QDateTimeEdit", /::timeChanged\s*\(/, "QTime")
event("QDateTimeEdit", /::dateChanged\s*\(/, "QDate")
event("QDesktopWidget", /::destroyed\s*\(/, "QObject*")
event("QDesktopWidget", /::objectNameChanged\s*\(/, "QString")
event("QDesktopWidget", /::windowTitleChanged\s*\(/, "QString")
event("QDesktopWidget", /::windowIconChanged\s*\(/, "QIcon")
event("QDesktopWidget", /::windowIconTextChanged\s*\(/, "QString")
event("QDesktopWidget", /::customContextMenuRequested\s*\(/, "QPoint")
event("QDesktopWidget", /::resized\s*\(/, "int")
event("QDesktopWidget", /::workAreaResized\s*\(/, "int")
event("QDesktopWidget", /::screenCountChanged\s*\(/, "int")
event("QDesktopWidget", /::primaryScreenChanged\s*\(/, "")
event("QDial", /::destroyed\s*\(/, "QObject*")
event("QDial", /::objectNameChanged\s*\(/, "QString")
event("QDial", /::windowTitleChanged\s*\(/, "QString")
@ -848,26 +873,6 @@ event("QDialogButtonBox", /::clicked\s*\(/, "QAbstractButton*")
event("QDialogButtonBox", /::accepted\s*\(/, "")
event("QDialogButtonBox", /::helpRequested\s*\(/, "")
event("QDialogButtonBox", /::rejected\s*\(/, "")
event("QDirModel", /::destroyed\s*\(/, "QObject*")
event("QDirModel", /::objectNameChanged\s*\(/, "QString")
event("QDirModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QVector<int>")
event("QDirModel", /::headerDataChanged\s*\(/, "Qt::Orientation, int, int")
event("QDirModel", /::layoutChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
event("QDirModel", /::layoutAboutToBeChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
event("QDirModel", /::rowsAboutToBeInserted\s*\(/, "QModelIndex, int, int")
event("QDirModel", /::rowsInserted\s*\(/, "QModelIndex, int, int")
event("QDirModel", /::rowsAboutToBeRemoved\s*\(/, "QModelIndex, int, int")
event("QDirModel", /::rowsRemoved\s*\(/, "QModelIndex, int, int")
event("QDirModel", /::columnsAboutToBeInserted\s*\(/, "QModelIndex, int, int")
event("QDirModel", /::columnsInserted\s*\(/, "QModelIndex, int, int")
event("QDirModel", /::columnsAboutToBeRemoved\s*\(/, "QModelIndex, int, int")
event("QDirModel", /::columnsRemoved\s*\(/, "QModelIndex, int, int")
event("QDirModel", /::modelAboutToBeReset\s*\(/, "")
event("QDirModel", /::modelReset\s*\(/, "")
event("QDirModel", /::rowsAboutToBeMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QDirModel", /::rowsMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QDirModel", /::columnsAboutToBeMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QDirModel", /::columnsMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QDockWidget", /::destroyed\s*\(/, "QObject*")
event("QDockWidget", /::objectNameChanged\s*\(/, "QString")
event("QDockWidget", /::windowTitleChanged\s*\(/, "QString")
@ -887,8 +892,7 @@ event("QDoubleSpinBox", /::windowIconTextChanged\s*\(/, "QString")
event("QDoubleSpinBox", /::customContextMenuRequested\s*\(/, "QPoint")
event("QDoubleSpinBox", /::editingFinished\s*\(/, "")
event("QDoubleSpinBox", /::valueChanged\s*\(.*double/, "double")
event("QDoubleSpinBox", /::valueChanged\s*\(.*QString/, "QString")
rename("QDoubleSpinBox", /::valueChanged\s*\(.*QString/, "valueChanged_qs")
event("QDoubleSpinBox", /::textChanged\s*\(/, "QString")
event("QErrorMessage", /::destroyed\s*\(/, "QObject*")
event("QErrorMessage", /::objectNameChanged\s*\(/, "QString")
event("QErrorMessage", /::windowTitleChanged\s*\(/, "QString")
@ -916,29 +920,6 @@ event("QFileDialog", /::urlsSelected\s*\(/, "QList<QUrl>")
event("QFileDialog", /::currentUrlChanged\s*\(/, "QUrl")
event("QFileDialog", /::directoryUrlEntered\s*\(/, "QUrl")
event("QFileDialog", /::filterSelected\s*\(/, "QString")
event("QFileSystemModel", /::destroyed\s*\(/, "QObject*")
event("QFileSystemModel", /::objectNameChanged\s*\(/, "QString")
event("QFileSystemModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QVector<int>")
event("QFileSystemModel", /::headerDataChanged\s*\(/, "Qt::Orientation, int, int")
event("QFileSystemModel", /::layoutChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
event("QFileSystemModel", /::layoutAboutToBeChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
event("QFileSystemModel", /::rowsAboutToBeInserted\s*\(/, "QModelIndex, int, int")
event("QFileSystemModel", /::rowsInserted\s*\(/, "QModelIndex, int, int")
event("QFileSystemModel", /::rowsAboutToBeRemoved\s*\(/, "QModelIndex, int, int")
event("QFileSystemModel", /::rowsRemoved\s*\(/, "QModelIndex, int, int")
event("QFileSystemModel", /::columnsAboutToBeInserted\s*\(/, "QModelIndex, int, int")
event("QFileSystemModel", /::columnsInserted\s*\(/, "QModelIndex, int, int")
event("QFileSystemModel", /::columnsAboutToBeRemoved\s*\(/, "QModelIndex, int, int")
event("QFileSystemModel", /::columnsRemoved\s*\(/, "QModelIndex, int, int")
event("QFileSystemModel", /::modelAboutToBeReset\s*\(/, "")
event("QFileSystemModel", /::modelReset\s*\(/, "")
event("QFileSystemModel", /::rowsAboutToBeMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QFileSystemModel", /::rowsMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QFileSystemModel", /::columnsAboutToBeMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QFileSystemModel", /::columnsMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QFileSystemModel", /::rootPathChanged\s*\(/, "QString")
event("QFileSystemModel", /::fileRenamed\s*\(/, "QString, QString, QString")
event("QFileSystemModel", /::directoryLoaded\s*\(/, "QString")
event("QFocusFrame", /::destroyed\s*\(/, "QObject*")
event("QFocusFrame", /::objectNameChanged\s*\(/, "QString")
event("QFocusFrame", /::windowTitleChanged\s*\(/, "QString")
@ -953,14 +934,10 @@ event("QFontComboBox", /::windowIconTextChanged\s*\(/, "QString")
event("QFontComboBox", /::customContextMenuRequested\s*\(/, "QPoint")
event("QFontComboBox", /::editTextChanged\s*\(/, "QString")
event("QFontComboBox", /::activated\s*\(.*int/, "int")
event("QFontComboBox", /::activated\s*\(.*QString/, "QString")
rename("QFontComboBox", /::activated\s*\(.*QString/, "activated_qs")
event("QFontComboBox", /::textActivated\s*\(/, "QString")
event("QFontComboBox", /::highlighted\s*\(.*int/, "int")
event("QFontComboBox", /::highlighted\s*\(.*QString/, "QString")
rename("QFontComboBox", /::highlighted\s*\(.*QString/, "highlighted_qs")
event("QFontComboBox", /::textHighlighted\s*\(/, "QString")
event("QFontComboBox", /::currentIndexChanged\s*\(.*int/, "int")
event("QFontComboBox", /::currentIndexChanged\s*\(.*QString/, "QString")
rename("QFontComboBox", /::currentIndexChanged\s*\(.*QString/, "currentIndexChanged_qs")
event("QFontComboBox", /::currentTextChanged\s*\(/, "QString")
event("QFontComboBox", /::currentFontChanged\s*\(/, "QFont")
event("QFontDialog", /::destroyed\s*\(/, "QObject*")
@ -1136,6 +1113,7 @@ event("QHeaderView", /::sectionCountChanged\s*\(/, "int, int")
event("QHeaderView", /::sectionHandleDoubleClicked\s*\(/, "int")
event("QHeaderView", /::geometriesChanged\s*\(/, "")
event("QHeaderView", /::sortIndicatorChanged\s*\(/, "int, Qt::SortOrder")
event("QHeaderView", /::sortIndicatorClearableChanged\s*\(/, "bool")
event("QInputDialog", /::destroyed\s*\(/, "QObject*")
event("QInputDialog", /::objectNameChanged\s*\(/, "QString")
event("QInputDialog", /::windowTitleChanged\s*\(/, "QString")
@ -1374,10 +1352,6 @@ event("QScroller", /::destroyed\s*\(/, "QObject*")
event("QScroller", /::objectNameChanged\s*\(/, "QString")
event("QScroller", /::stateChanged\s*\(/, "QScroller::State")
event("QScroller", /::scrollerPropertiesChanged\s*\(/, "QScrollerProperties")
event("QShortcut", /::destroyed\s*\(/, "QObject*")
event("QShortcut", /::objectNameChanged\s*\(/, "QString")
event("QShortcut", /::activated\s*\(/, "")
event("QShortcut", /::activatedAmbiguously\s*\(/, "")
event("QSizeGrip", /::destroyed\s*\(/, "QObject*")
event("QSizeGrip", /::objectNameChanged\s*\(/, "QString")
event("QSizeGrip", /::windowTitleChanged\s*\(/, "QString")
@ -1404,8 +1378,7 @@ event("QSpinBox", /::windowIconTextChanged\s*\(/, "QString")
event("QSpinBox", /::customContextMenuRequested\s*\(/, "QPoint")
event("QSpinBox", /::editingFinished\s*\(/, "")
event("QSpinBox", /::valueChanged\s*\(.*int/, "int")
event("QSpinBox", /::valueChanged\s*\(.*QString/, "QString")
rename("QSpinBox", /::valueChanged\s*\(.*QString/, "valueChanged_qs")
event("QSpinBox", /::textChanged\s*\(/, "QString")
event("QSplashScreen", /::destroyed\s*\(/, "QObject*")
event("QSplashScreen", /::objectNameChanged\s*\(/, "QString")
event("QSplashScreen", /::windowTitleChanged\s*\(/, "QString")
@ -1544,8 +1517,6 @@ event("QTextBrowser", /::forwardAvailable\s*\(/, "bool")
event("QTextBrowser", /::historyChanged\s*\(/, "")
event("QTextBrowser", /::sourceChanged\s*\(/, "QUrl")
event("QTextBrowser", /::highlighted\s*\(.*QUrl/, "QUrl")
event("QTextBrowser", /::highlighted\s*\(.*QString/, "QString")
rename("QTextBrowser", /::highlighted\s*\(.*QString/, "highlighted_qs")
event("QTextBrowser", /::anchorClicked\s*\(/, "QUrl")
event("QTextEdit", /::destroyed\s*\(/, "QObject*")
event("QTextEdit", /::objectNameChanged\s*\(/, "QString")
@ -1643,23 +1614,6 @@ event("QTreeWidget", /::itemExpanded\s*\(/, "QTreeWidgetItem*")
event("QTreeWidget", /::itemCollapsed\s*\(/, "QTreeWidgetItem*")
event("QTreeWidget", /::currentItemChanged\s*\(/, "QTreeWidgetItem*, QTreeWidgetItem*")
event("QTreeWidget", /::itemSelectionChanged\s*\(/, "")
event("QUndoGroup", /::destroyed\s*\(/, "QObject*")
event("QUndoGroup", /::objectNameChanged\s*\(/, "QString")
event("QUndoGroup", /::activeStackChanged\s*\(/, "QUndoStack*")
event("QUndoGroup", /::indexChanged\s*\(/, "int")
event("QUndoGroup", /::cleanChanged\s*\(/, "bool")
event("QUndoGroup", /::canUndoChanged\s*\(/, "bool")
event("QUndoGroup", /::canRedoChanged\s*\(/, "bool")
event("QUndoGroup", /::undoTextChanged\s*\(/, "QString")
event("QUndoGroup", /::redoTextChanged\s*\(/, "QString")
event("QUndoStack", /::destroyed\s*\(/, "QObject*")
event("QUndoStack", /::objectNameChanged\s*\(/, "QString")
event("QUndoStack", /::indexChanged\s*\(/, "int")
event("QUndoStack", /::cleanChanged\s*\(/, "bool")
event("QUndoStack", /::canUndoChanged\s*\(/, "bool")
event("QUndoStack", /::canRedoChanged\s*\(/, "bool")
event("QUndoStack", /::undoTextChanged\s*\(/, "QString")
event("QUndoStack", /::redoTextChanged\s*\(/, "QString")
event("QUndoView", /::destroyed\s*\(/, "QObject*")
event("QUndoView", /::objectNameChanged\s*\(/, "QString")
event("QUndoView", /::windowTitleChanged\s*\(/, "QString")
@ -1685,6 +1639,9 @@ event("QWidget", /::customContextMenuRequested\s*\(/, "QPoint")
event("QWidgetAction", /::destroyed\s*\(/, "QObject*")
event("QWidgetAction", /::objectNameChanged\s*\(/, "QString")
event("QWidgetAction", /::changed\s*\(/, "")
event("QWidgetAction", /::enabledChanged\s*\(/, "bool")
event("QWidgetAction", /::checkableChanged\s*\(/, "bool")
event("QWidgetAction", /::visibleChanged\s*\(/, "")
event("QWidgetAction", /::triggered\s*\(/, "bool")
event("QWidgetAction", /::hovered\s*\(/, "")
event("QWidgetAction", /::toggled\s*\(/, "bool")
@ -1709,12 +1666,191 @@ event("QWizardPage", /::windowIconChanged\s*\(/, "QIcon")
event("QWizardPage", /::windowIconTextChanged\s*\(/, "QString")
event("QWizardPage", /::customContextMenuRequested\s*\(/, "QPoint")
event("QWizardPage", /::completeChanged\s*\(/, "")
event("QSvgRenderer", /::destroyed\s*\(/, "QObject*")
event("QSvgRenderer", /::objectNameChanged\s*\(/, "QString")
event("QSvgRenderer", /::repaintNeeded\s*\(/, "")
event("QAbstractPrintDialog", /::destroyed\s*\(/, "QObject*")
event("QAbstractPrintDialog", /::objectNameChanged\s*\(/, "QString")
event("QAbstractPrintDialog", /::windowTitleChanged\s*\(/, "QString")
event("QAbstractPrintDialog", /::windowIconChanged\s*\(/, "QIcon")
event("QAbstractPrintDialog", /::windowIconTextChanged\s*\(/, "QString")
event("QAbstractPrintDialog", /::customContextMenuRequested\s*\(/, "QPoint")
event("QAbstractPrintDialog", /::finished\s*\(/, "int")
event("QAbstractPrintDialog", /::accepted\s*\(/, "")
event("QAbstractPrintDialog", /::rejected\s*\(/, "")
event("QPrintDialog", /::destroyed\s*\(/, "QObject*")
event("QPrintDialog", /::objectNameChanged\s*\(/, "QString")
event("QPrintDialog", /::windowTitleChanged\s*\(/, "QString")
event("QPrintDialog", /::windowIconChanged\s*\(/, "QIcon")
event("QPrintDialog", /::windowIconTextChanged\s*\(/, "QString")
event("QPrintDialog", /::customContextMenuRequested\s*\(/, "QPoint")
event("QPrintDialog", /::finished\s*\(/, "int")
event("QPrintDialog", /::accepted\s*\(/, "QPrinter*")
event("QPrintDialog", /::rejected\s*\(/, "")
event("QPrintPreviewDialog", /::destroyed\s*\(/, "QObject*")
event("QPrintPreviewDialog", /::objectNameChanged\s*\(/, "QString")
event("QPrintPreviewDialog", /::windowTitleChanged\s*\(/, "QString")
event("QPrintPreviewDialog", /::windowIconChanged\s*\(/, "QIcon")
event("QPrintPreviewDialog", /::windowIconTextChanged\s*\(/, "QString")
event("QPrintPreviewDialog", /::customContextMenuRequested\s*\(/, "QPoint")
event("QPrintPreviewDialog", /::finished\s*\(/, "int")
event("QPrintPreviewDialog", /::accepted\s*\(/, "")
event("QPrintPreviewDialog", /::rejected\s*\(/, "")
event("QPrintPreviewDialog", /::paintRequested\s*\(/, "QPrinter*")
event("QPrintPreviewWidget", /::destroyed\s*\(/, "QObject*")
event("QPrintPreviewWidget", /::objectNameChanged\s*\(/, "QString")
event("QPrintPreviewWidget", /::windowTitleChanged\s*\(/, "QString")
event("QPrintPreviewWidget", /::windowIconChanged\s*\(/, "QIcon")
event("QPrintPreviewWidget", /::windowIconTextChanged\s*\(/, "QString")
event("QPrintPreviewWidget", /::customContextMenuRequested\s*\(/, "QPoint")
event("QPrintPreviewWidget", /::paintRequested\s*\(/, "QPrinter*")
event("QPrintPreviewWidget", /::previewChanged\s*\(/, "")
event("QAudioDecoder", /::destroyed\s*\(/, "QObject*")
event("QAudioDecoder", /::objectNameChanged\s*\(/, "QString")
event("QAudioDecoder", /::bufferAvailableChanged\s*\(/, "bool")
event("QAudioDecoder", /::bufferReady\s*\(/, "")
event("QAudioDecoder", /::finished\s*\(/, "")
event("QAudioDecoder", /::isDecodingChanged\s*\(/, "bool")
event("QAudioDecoder", /::formatChanged\s*\(/, "QAudioFormat")
event("QAudioDecoder", /::error\s*\(/, "QAudioDecoder::Error")
event("QAudioDecoder", /::sourceChanged\s*\(/, "")
event("QAudioDecoder", /::positionChanged\s*\(/, "qlonglong")
event("QAudioDecoder", /::durationChanged\s*\(/, "qlonglong")
event("QAudioInput", /::destroyed\s*\(/, "QObject*")
event("QAudioInput", /::objectNameChanged\s*\(/, "QString")
event("QAudioInput", /::deviceChanged\s*\(/, "")
event("QAudioInput", /::volumeChanged\s*\(/, "float")
event("QAudioInput", /::mutedChanged\s*\(/, "bool")
event("QAudioOutput", /::destroyed\s*\(/, "QObject*")
event("QAudioOutput", /::objectNameChanged\s*\(/, "QString")
event("QAudioOutput", /::deviceChanged\s*\(/, "")
event("QAudioOutput", /::volumeChanged\s*\(/, "float")
event("QAudioOutput", /::mutedChanged\s*\(/, "bool")
event("QAudioSink", /::destroyed\s*\(/, "QObject*")
event("QAudioSink", /::objectNameChanged\s*\(/, "QString")
event("QAudioSink", /::stateChanged\s*\(/, "QAudio::State")
event("QAudioSource", /::destroyed\s*\(/, "QObject*")
event("QAudioSource", /::objectNameChanged\s*\(/, "QString")
event("QAudioSource", /::stateChanged\s*\(/, "QAudio::State")
event("QCamera", /::destroyed\s*\(/, "QObject*")
event("QCamera", /::objectNameChanged\s*\(/, "QString")
event("QCamera", /::activeChanged\s*\(/, "bool")
event("QCamera", /::errorChanged\s*\(/, "")
event("QCamera", /::errorOccurred\s*\(/, "QCamera::Error, QString")
event("QCamera", /::cameraDeviceChanged\s*\(/, "")
event("QCamera", /::cameraFormatChanged\s*\(/, "")
event("QCamera", /::supportedFeaturesChanged\s*\(/, "")
event("QCamera", /::focusModeChanged\s*\(/, "")
event("QCamera", /::zoomFactorChanged\s*\(/, "float")
event("QCamera", /::minimumZoomFactorChanged\s*\(/, "float")
event("QCamera", /::maximumZoomFactorChanged\s*\(/, "float")
event("QCamera", /::focusDistanceChanged\s*\(/, "float")
event("QCamera", /::focusPointChanged\s*\(/, "")
event("QCamera", /::customFocusPointChanged\s*\(/, "")
event("QCamera", /::flashReady\s*\(/, "bool")
event("QCamera", /::flashModeChanged\s*\(/, "")
event("QCamera", /::torchModeChanged\s*\(/, "")
event("QCamera", /::exposureTimeChanged\s*\(/, "float")
event("QCamera", /::manualExposureTimeChanged\s*\(/, "float")
event("QCamera", /::isoSensitivityChanged\s*\(/, "int")
event("QCamera", /::manualIsoSensitivityChanged\s*\(/, "int")
event("QCamera", /::exposureCompensationChanged\s*\(/, "float")
event("QCamera", /::exposureModeChanged\s*\(/, "")
event("QCamera", /::whiteBalanceModeChanged\s*\(/, "")
event("QCamera", /::colorTemperatureChanged\s*\(/, "")
event("QCamera", /::brightnessChanged\s*\(/, "")
event("QCamera", /::contrastChanged\s*\(/, "")
event("QCamera", /::saturationChanged\s*\(/, "")
event("QCamera", /::hueChanged\s*\(/, "")
event("QImageCapture", /::destroyed\s*\(/, "QObject*")
event("QImageCapture", /::objectNameChanged\s*\(/, "QString")
event("QImageCapture", /::errorChanged\s*\(/, "")
event("QImageCapture", /::errorOccurred\s*\(/, "int, QImageCapture::Error, QString")
event("QImageCapture", /::readyForCaptureChanged\s*\(/, "bool")
event("QImageCapture", /::metaDataChanged\s*\(/, "")
event("QImageCapture", /::fileFormatChanged\s*\(/, "")
event("QImageCapture", /::qualityChanged\s*\(/, "")
event("QImageCapture", /::resolutionChanged\s*\(/, "")
event("QImageCapture", /::imageExposed\s*\(/, "int")
event("QImageCapture", /::imageCaptured\s*\(/, "int, QImage")
event("QImageCapture", /::imageMetadataAvailable\s*\(/, "int, QMediaMetaData")
event("QImageCapture", /::imageAvailable\s*\(/, "int, QVideoFrame")
event("QImageCapture", /::imageSaved\s*\(/, "int, QString")
event("QMediaCaptureSession", /::destroyed\s*\(/, "QObject*")
event("QMediaCaptureSession", /::objectNameChanged\s*\(/, "QString")
event("QMediaCaptureSession", /::audioInputChanged\s*\(/, "")
event("QMediaCaptureSession", /::cameraChanged\s*\(/, "")
event("QMediaCaptureSession", /::imageCaptureChanged\s*\(/, "")
event("QMediaCaptureSession", /::recorderChanged\s*\(/, "")
event("QMediaCaptureSession", /::videoOutputChanged\s*\(/, "")
event("QMediaCaptureSession", /::audioOutputChanged\s*\(/, "")
event("QMediaDevices", /::destroyed\s*\(/, "QObject*")
event("QMediaDevices", /::objectNameChanged\s*\(/, "QString")
event("QMediaDevices", /::audioInputsChanged\s*\(/, "")
event("QMediaDevices", /::audioOutputsChanged\s*\(/, "")
event("QMediaDevices", /::videoInputsChanged\s*\(/, "")
event("QMediaPlayer", /::destroyed\s*\(/, "QObject*")
event("QMediaPlayer", /::objectNameChanged\s*\(/, "QString")
event("QMediaPlayer", /::sourceChanged\s*\(/, "QUrl")
event("QMediaPlayer", /::playbackStateChanged\s*\(/, "QMediaPlayer::PlaybackState")
event("QMediaPlayer", /::mediaStatusChanged\s*\(/, "QMediaPlayer::MediaStatus")
event("QMediaPlayer", /::durationChanged\s*\(/, "qlonglong")
event("QMediaPlayer", /::positionChanged\s*\(/, "qlonglong")
event("QMediaPlayer", /::hasAudioChanged\s*\(/, "bool")
event("QMediaPlayer", /::hasVideoChanged\s*\(/, "bool")
event("QMediaPlayer", /::bufferProgressChanged\s*\(/, "float")
event("QMediaPlayer", /::seekableChanged\s*\(/, "bool")
event("QMediaPlayer", /::playbackRateChanged\s*\(/, "double")
event("QMediaPlayer", /::loopsChanged\s*\(/, "")
event("QMediaPlayer", /::metaDataChanged\s*\(/, "")
event("QMediaPlayer", /::videoOutputChanged\s*\(/, "")
event("QMediaPlayer", /::audioOutputChanged\s*\(/, "")
event("QMediaPlayer", /::tracksChanged\s*\(/, "")
event("QMediaPlayer", /::activeTracksChanged\s*\(/, "")
event("QMediaPlayer", /::errorChanged\s*\(/, "")
event("QMediaPlayer", /::errorOccurred\s*\(/, "QMediaPlayer::Error, QString")
event("QMediaRecorder", /::destroyed\s*\(/, "QObject*")
event("QMediaRecorder", /::objectNameChanged\s*\(/, "QString")
event("QMediaRecorder", /::recorderStateChanged\s*\(/, "RecorderState")
event("QMediaRecorder", /::durationChanged\s*\(/, "qlonglong")
event("QMediaRecorder", /::actualLocationChanged\s*\(/, "QUrl")
event("QMediaRecorder", /::encoderSettingsChanged\s*\(/, "")
event("QMediaRecorder", /::errorOccurred\s*\(/, "Error, QString")
event("QMediaRecorder", /::errorChanged\s*\(/, "")
event("QMediaRecorder", /::metaDataChanged\s*\(/, "")
event("QMediaRecorder", /::mediaFormatChanged\s*\(/, "")
event("QMediaRecorder", /::encodingModeChanged\s*\(/, "")
event("QMediaRecorder", /::qualityChanged\s*\(/, "")
event("QMediaRecorder", /::videoResolutionChanged\s*\(/, "")
event("QMediaRecorder", /::videoFrameRateChanged\s*\(/, "")
event("QMediaRecorder", /::videoBitRateChanged\s*\(/, "")
event("QMediaRecorder", /::audioBitRateChanged\s*\(/, "")
event("QMediaRecorder", /::audioChannelCountChanged\s*\(/, "")
event("QMediaRecorder", /::audioSampleRateChanged\s*\(/, "")
event("QSoundEffect", /::destroyed\s*\(/, "QObject*")
event("QSoundEffect", /::objectNameChanged\s*\(/, "QString")
event("QSoundEffect", /::sourceChanged\s*\(/, "")
event("QSoundEffect", /::loopCountChanged\s*\(/, "")
event("QSoundEffect", /::loopsRemainingChanged\s*\(/, "")
event("QSoundEffect", /::volumeChanged\s*\(/, "")
event("QSoundEffect", /::mutedChanged\s*\(/, "")
event("QSoundEffect", /::loadedChanged\s*\(/, "")
event("QSoundEffect", /::playingChanged\s*\(/, "")
event("QSoundEffect", /::statusChanged\s*\(/, "")
event("QSoundEffect", /::audioDeviceChanged\s*\(/, "")
event("QVideoSink", /::destroyed\s*\(/, "QObject*")
event("QVideoSink", /::objectNameChanged\s*\(/, "QString")
event("QVideoSink", /::videoFrameChanged\s*\(/, "QVideoFrame")
event("QVideoSink", /::subtitleTextChanged\s*\(/, "QString")
event("QVideoSink", /::videoSizeChanged\s*\(/, "")
event("QUiLoader", /::destroyed\s*\(/, "QObject*")
event("QUiLoader", /::objectNameChanged\s*\(/, "QString")
event("QSqlDriver", /::destroyed\s*\(/, "QObject*")
event("QSqlDriver", /::objectNameChanged\s*\(/, "QString")
event("QSqlDriver", /::notification\s*\(/, "QString, QSqlDriver::NotificationSource, QVariant")
event("QSqlQueryModel", /::destroyed\s*\(/, "QObject*")
event("QSqlQueryModel", /::objectNameChanged\s*\(/, "QString")
event("QSqlQueryModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QVector<int>")
event("QSqlQueryModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QList<int>")
event("QSqlQueryModel", /::headerDataChanged\s*\(/, "Qt::Orientation, int, int")
event("QSqlQueryModel", /::layoutChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
event("QSqlQueryModel", /::layoutAboutToBeChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
@ -1734,7 +1870,7 @@ event("QSqlQueryModel", /::columnsAboutToBeMoved\s*\(/, "QModelIndex, int, int,
event("QSqlQueryModel", /::columnsMoved\s*\(/, "QModelIndex, int, int, QModelIndex, int")
event("QSqlRelationalTableModel", /::destroyed\s*\(/, "QObject*")
event("QSqlRelationalTableModel", /::objectNameChanged\s*\(/, "QString")
event("QSqlRelationalTableModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QVector<int>")
event("QSqlRelationalTableModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QList<int>")
event("QSqlRelationalTableModel", /::headerDataChanged\s*\(/, "Qt::Orientation, int, int")
event("QSqlRelationalTableModel", /::layoutChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
event("QSqlRelationalTableModel", /::layoutAboutToBeChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
@ -1758,7 +1894,7 @@ event("QSqlRelationalTableModel", /::beforeUpdate\s*\(/, "int, QSqlRecord&")
event("QSqlRelationalTableModel", /::beforeDelete\s*\(/, "int")
event("QSqlTableModel", /::destroyed\s*\(/, "QObject*")
event("QSqlTableModel", /::objectNameChanged\s*\(/, "QString")
event("QSqlTableModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QVector<int>")
event("QSqlTableModel", /::dataChanged\s*\(/, "QModelIndex, QModelIndex, QList<int>")
event("QSqlTableModel", /::headerDataChanged\s*\(/, "Qt::Orientation, int, int")
event("QSqlTableModel", /::layoutChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
event("QSqlTableModel", /::layoutAboutToBeChanged\s*\(/, "QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChangeHint")
@ -1794,7 +1930,7 @@ event("QAbstractSocket", /::hostFound\s*\(/, "")
event("QAbstractSocket", /::connected\s*\(/, "")
event("QAbstractSocket", /::disconnected\s*\(/, "")
event("QAbstractSocket", /::stateChanged\s*\(/, "QAbstractSocket::SocketState")
event("QAbstractSocket", /::error\s*\(/, "QAbstractSocket::SocketError")
event("QAbstractSocket", /::errorOccurred\s*\(/, "QAbstractSocket::SocketError")
event("QAbstractSocket", /::proxyAuthenticationRequired\s*\(/, "QNetworkProxy, QAuthenticator*")
event("QDnsLookup", /::destroyed\s*\(/, "QObject*")
event("QDnsLookup", /::objectNameChanged\s*\(/, "QString")
@ -1802,6 +1938,12 @@ event("QDnsLookup", /::finished\s*\(/, "")
event("QDnsLookup", /::nameChanged\s*\(/, "QString")
event("QDnsLookup", /::typeChanged\s*\(/, "Type")
event("QDnsLookup", /::nameserverChanged\s*\(/, "QHostAddress")
event("QDtls", /::destroyed\s*\(/, "QObject*")
event("QDtls", /::objectNameChanged\s*\(/, "QString")
event("QDtls", /::pskRequired\s*\(/, "QSslPreSharedKeyAuthenticator*")
event("QDtls", /::handshakeTimeout\s*\(/, "")
event("QDtlsClientVerifier", /::destroyed\s*\(/, "QObject*")
event("QDtlsClientVerifier", /::objectNameChanged\s*\(/, "QString")
event("QHttpMultiPart", /::destroyed\s*\(/, "QObject*")
event("QHttpMultiPart", /::objectNameChanged\s*\(/, "QString")
event("QLocalServer", /::destroyed\s*\(/, "QObject*")
@ -1817,7 +1959,7 @@ event("QLocalSocket", /::aboutToClose\s*\(/, "")
event("QLocalSocket", /::readChannelFinished\s*\(/, "")
event("QLocalSocket", /::connected\s*\(/, "")
event("QLocalSocket", /::disconnected\s*\(/, "")
event("QLocalSocket", /::error\s*\(/, "QLocalSocket::LocalSocketError")
event("QLocalSocket", /::errorOccurred\s*\(/, "QLocalSocket::LocalSocketError")
event("QLocalSocket", /::stateChanged\s*\(/, "QLocalSocket::LocalSocketState")
event("QNetworkAccessManager", /::destroyed\s*\(/, "QObject*")
event("QNetworkAccessManager", /::objectNameChanged\s*\(/, "QString")
@ -1827,19 +1969,14 @@ event("QNetworkAccessManager", /::finished\s*\(/, "QNetworkReply*")
event("QNetworkAccessManager", /::encrypted\s*\(/, "QNetworkReply*")
event("QNetworkAccessManager", /::sslErrors\s*\(/, "QNetworkReply*, QList<QSslError>")
event("QNetworkAccessManager", /::preSharedKeyAuthenticationRequired\s*\(/, "QNetworkReply*, QSslPreSharedKeyAuthenticator*")
event("QNetworkAccessManager", /::networkSessionConnected\s*\(/, "")
event("QNetworkAccessManager", /::networkAccessibleChanged\s*\(/, "QNetworkAccessManager::NetworkAccessibility")
event("QNetworkConfigurationManager", /::destroyed\s*\(/, "QObject*")
event("QNetworkConfigurationManager", /::objectNameChanged\s*\(/, "QString")
event("QNetworkConfigurationManager", /::configurationAdded\s*\(/, "QNetworkConfiguration")
event("QNetworkConfigurationManager", /::configurationRemoved\s*\(/, "QNetworkConfiguration")
event("QNetworkConfigurationManager", /::configurationChanged\s*\(/, "QNetworkConfiguration")
event("QNetworkConfigurationManager", /::onlineStateChanged\s*\(/, "bool")
event("QNetworkConfigurationManager", /::updateCompleted\s*\(/, "")
event("QNetworkCookieJar", /::destroyed\s*\(/, "QObject*")
event("QNetworkCookieJar", /::objectNameChanged\s*\(/, "QString")
event("QNetworkDiskCache", /::destroyed\s*\(/, "QObject*")
event("QNetworkDiskCache", /::objectNameChanged\s*\(/, "QString")
event("QNetworkInformation", /::destroyed\s*\(/, "QObject*")
event("QNetworkInformation", /::objectNameChanged\s*\(/, "QString")
event("QNetworkInformation", /::reachabilityChanged\s*\(/, "Reachability")
event("QNetworkInformation", /::isBehindCaptivePortalChanged\s*\(/, "bool")
event("QNetworkReply", /::destroyed\s*\(/, "QObject*")
event("QNetworkReply", /::objectNameChanged\s*\(/, "QString")
event("QNetworkReply", /::readyRead\s*\(/, "")
@ -1850,7 +1987,7 @@ event("QNetworkReply", /::aboutToClose\s*\(/, "")
event("QNetworkReply", /::readChannelFinished\s*\(/, "")
event("QNetworkReply", /::metaDataChanged\s*\(/, "")
event("QNetworkReply", /::finished\s*\(/, "")
event("QNetworkReply", /::error\s*\(/, "QNetworkReply::NetworkError")
event("QNetworkReply", /::errorOccurred\s*\(/, "QNetworkReply::NetworkError")
event("QNetworkReply", /::encrypted\s*\(/, "")
event("QNetworkReply", /::sslErrors\s*\(/, "QList<QSslError>")
event("QNetworkReply", /::preSharedKeyAuthenticationRequired\s*\(/, "QSslPreSharedKeyAuthenticator*")
@ -1858,15 +1995,6 @@ event("QNetworkReply", /::redirected\s*\(/, "QUrl")
event("QNetworkReply", /::redirectAllowed\s*\(/, "")
event("QNetworkReply", /::uploadProgress\s*\(/, "qlonglong, qlonglong")
event("QNetworkReply", /::downloadProgress\s*\(/, "qlonglong, qlonglong")
event("QNetworkSession", /::destroyed\s*\(/, "QObject*")
event("QNetworkSession", /::objectNameChanged\s*\(/, "QString")
event("QNetworkSession", /::stateChanged\s*\(/, "QNetworkSession::State")
event("QNetworkSession", /::opened\s*\(/, "")
event("QNetworkSession", /::closed\s*\(/, "")
event("QNetworkSession", /::error\s*\(/, "QNetworkSession::SessionError")
event("QNetworkSession", /::preferredConfigurationChanged\s*\(/, "QNetworkConfiguration, bool")
event("QNetworkSession", /::newConfigurationActivated\s*\(/, "")
event("QNetworkSession", /::usagePoliciesChanged\s*\(/, "QNetworkSession::UsagePolicies")
event("QSslSocket", /::destroyed\s*\(/, "QObject*")
event("QSslSocket", /::objectNameChanged\s*\(/, "QString")
event("QSslSocket", /::readyRead\s*\(/, "")
@ -1879,7 +2007,7 @@ event("QSslSocket", /::hostFound\s*\(/, "")
event("QSslSocket", /::connected\s*\(/, "")
event("QSslSocket", /::disconnected\s*\(/, "")
event("QSslSocket", /::stateChanged\s*\(/, "QAbstractSocket::SocketState")
event("QSslSocket", /::error\s*\(/, "QAbstractSocket::SocketError")
event("QSslSocket", /::errorOccurred\s*\(/, "QAbstractSocket::SocketError")
event("QSslSocket", /::proxyAuthenticationRequired\s*\(/, "QNetworkProxy, QAuthenticator*")
event("QSslSocket", /::encrypted\s*\(/, "")
event("QSslSocket", /::peerVerifyError\s*\(/, "QSslError")
@ -1887,6 +2015,10 @@ event("QSslSocket", /::sslErrors\s*\(/, "QList<QSslError>")
event("QSslSocket", /::modeChanged\s*\(/, "QSslSocket::SslMode")
event("QSslSocket", /::encryptedBytesWritten\s*\(/, "qlonglong")
event("QSslSocket", /::preSharedKeyAuthenticationRequired\s*\(/, "QSslPreSharedKeyAuthenticator*")
event("QSslSocket", /::newSessionTicketReceived\s*\(/, "")
event("QSslSocket", /::alertSent\s*\(/, "QSsl::AlertLevel, QSsl::AlertType, QString")
event("QSslSocket", /::alertReceived\s*\(/, "QSsl::AlertLevel, QSsl::AlertType, QString")
event("QSslSocket", /::handshakeInterruptedOnError\s*\(/, "QSslError")
event("QTcpServer", /::destroyed\s*\(/, "QObject*")
event("QTcpServer", /::objectNameChanged\s*\(/, "QString")
event("QTcpServer", /::newConnection\s*\(/, "")
@ -1903,7 +2035,7 @@ event("QTcpSocket", /::hostFound\s*\(/, "")
event("QTcpSocket", /::connected\s*\(/, "")
event("QTcpSocket", /::disconnected\s*\(/, "")
event("QTcpSocket", /::stateChanged\s*\(/, "QAbstractSocket::SocketState")
event("QTcpSocket", /::error\s*\(/, "QAbstractSocket::SocketError")
event("QTcpSocket", /::errorOccurred\s*\(/, "QAbstractSocket::SocketError")
event("QTcpSocket", /::proxyAuthenticationRequired\s*\(/, "QNetworkProxy, QAuthenticator*")
event("QUdpSocket", /::destroyed\s*\(/, "QObject*")
event("QUdpSocket", /::objectNameChanged\s*\(/, "QString")
@ -1917,5 +2049,5 @@ event("QUdpSocket", /::hostFound\s*\(/, "")
event("QUdpSocket", /::connected\s*\(/, "")
event("QUdpSocket", /::disconnected\s*\(/, "")
event("QUdpSocket", /::stateChanged\s*\(/, "QAbstractSocket::SocketState")
event("QUdpSocket", /::error\s*\(/, "QAbstractSocket::SocketError")
event("QUdpSocket", /::errorOccurred\s*\(/, "QAbstractSocket::SocketError")
event("QUdpSocket", /::proxyAuthenticationRequired\s*\(/, "QNetworkProxy, QAuthenticator*")

File diff suppressed because it is too large Load Diff

View File

@ -259,11 +259,11 @@ grammar CPP
end
rule pointer
cvspec:( cv:cv s )? "*" itspec:( s it:inner_type )? <PPointer>
"*" itspec:( s it:inner_type_with_cv )? <PPointer>
end
rule reference
cvspec:( cv:cv s )? "&" itspec:( s it:inner_type )? <PReference>
"&" itspec:( s it:inner_type_with_cv )? <PReference>
end
rule array_spec
@ -293,35 +293,43 @@ grammar CPP
end
rule member_pointer
cspec:( qid:qualified_id s "::*" s ) itspec:( it:inner_type )? cvspec:( s cv:cv )? refspec:( s ref:( "&" !"&" / "&&" ) )? <PMemberPointer>
cspec:( qid:qualified_id s "::*" s ) itspec:( it:inner_type_with_cv )? refspec:( s ref:( "&" !"&" / "&&" ) )? <PMemberPointer>
end
rule inner_type_with_cv
cvspec:cv s it:inner_type <PInnerTypeWithCV>
rule inner_type_part
"(" s inner_type s ")" /
pointer /
reference /
member_pointer /
( "__restrict" ![a-zA-Z0-9_] s / "..." s )* qualified_id
end
rule inner_type_part_with_cv_post
it:inner_type_part cvspec:( s cv:cv )? <PInnerTypeWithCV>
end
rule inner_type
it:(
"(" s inner_type s ")" /
inner_type_with_cv /
pointer /
reference /
member_pointer /
( "__restrict" ![a-zA-Z0-9_] s / "..." s )* qualified_id
)
it:inner_type_part_with_cv_post
s
pfx:( s spec:( array_spec / func_spec ) )*
<PInnerType>
end
rule inner_type_with_cv
cvspec:( cv:cv s )? it:inner_type <PInnerTypeWithCV>
end
rule init_spec
block_wo_comma / "default" / "delete" / "0"
end
rule tn
"typename" ![a-zA-Z0-9_] s
end
rule type
cvspec:( cv:cv s )?
a
( "typename" ![a-zA-Z0-9_] s )?
ct:concrete_type
a
dct:( cvspec:( cv:cv s ) a tn? ct:concrete_type / tn? ct:concrete_type a cvspec:( cv:cv s )? )
a
il:( s t1:inner_type i1:(s "=" s is1:init_spec)? tt:( s "," s t2:inner_type i2:(s "=" s is2:init_spec)? )* )?
# alternative initialization if only a concrete type is given:
@ -330,21 +338,23 @@ grammar CPP
end
rule type_wo_comma
cvspec:( cv:cv s )?
a
dct:( cvspec:( cv:cv s ) a tn? ct:concrete_type / tn? ct:concrete_type a cvspec:( cv:cv s )? )
a
( "typename" ![a-zA-Z0-9_] s )?
ct:concrete_type
il:( s t:inner_type i:(s "=" s is:init_spec)? )?
# alternative initialization if only a concrete type is given:
pi:( s "=" s is:init_spec )?
<PTypeWoComma>
end
rule tnt
( "typename" / "class" ) ![a-zA-Z0-9_] s ( "..." s )?
end
rule type_for_template
cvspec:( cv:cv s )?
a
dct:( cvspec:( cv:cv s ) a tnt? ct:concrete_type / tnt? ct:concrete_type a cvspec:( cv:cv s )? )
a
( ( "typename" / "class" ) ![a-zA-Z0-9_] s ( "..." s )? )?
ct:concrete_type
il:( s t:inner_type )?
<PTypeForTemplate>
end

View File

@ -116,6 +116,79 @@ DECL
end
# --------------------------------------------------------------
# Add native implementations for QImage
# Constructor from raw packed data without the cleanup functions
def add_native_impl_QImage
add_native_impl("QImage_Adaptor", <<'CODE', <<'DECL')
// NOTE: QImage does not take ownership of the data, so
// we will provide a buffer to do so. This requires an additional
// copy, but as GSI is not guaranteeing the lifetime of the
// data, this is required here.
class DataHolder
{
public:
DataHolder() : mp_data(0) { }
DataHolder(unsigned char *data) : mp_data(data) { }
~DataHolder()
{
if (mp_data) {
delete[](mp_data);
}
mp_data = 0;
}
static unsigned char *alloc(const std::string &data)
{
unsigned char *ptr = new unsigned char[data.size()];
memcpy(ptr, data.c_str(), data.size());
return ptr;
}
private:
unsigned char *mp_data;
};
static QImage_Adaptor *new_qimage_from_data1(const std::string &data, int width, int height, int bytesPerLine, QImage::Format format)
{
return new QImage_Adaptor(DataHolder::alloc(data), width, height, bytesPerLine, format);
}
static QImage_Adaptor *new_qimage_from_data2(const std::string &data, int width, int height, QImage::Format format)
{
return new QImage_Adaptor(DataHolder::alloc(data), width, height, format);
}
QImage_Adaptor(unsigned char *data, int width, int height, int bytesPerLine, QImage::Format format)
: QImage(data, width, height, bytesPerLine, format), m_holder(data)
{
}
QImage_Adaptor(unsigned char *data, int width, int height, QImage::Format format)
: QImage (data, width, height, format), m_holder(data)
{
}
DataHolder m_holder;
CODE
gsi::constructor("new", &QImage_Adaptor::new_qimage_from_data1, gsi::arg ("data"), gsi::arg ("width"), gsi::arg ("height"), gsi::arg ("bytesPerLine"), gsi::arg ("format"),
"@brief QImage::QImage(const uchar *data, int width, int height, int bytesPerLine)\n"
"The cleanupFunction parameter is available currently."
) +
gsi::constructor("new", &QImage_Adaptor::new_qimage_from_data2, gsi::arg ("data"), gsi::arg ("width"), gsi::arg ("height"), gsi::arg ("format"),
"@brief QImage::QImage(const uchar *data, int width, int height)\n"
"The cleanupFunction parameter is available currently."
)
DECL
end
# --------------------------------------------------------------
# Alternative implementation for QFont::Light, QFont::Bold, QFont::Normal, QFont::DemiBold, QFont::Black

View File

@ -155,16 +155,15 @@ end
# part.
class CPPMemberPointer < CPPOuterType
attr_accessor :qid, :inner, :cv
def_initializer :qid, :inner, :cv
attr_accessor :qid, :inner
def_initializer :qid, :inner
def to_s
self.qid.to_s + "::* " + self.inner.to_s + (self.cv ? " " + self.cv.to_s : "")
self.qid.to_s + "::* " + self.inner.to_s
end
def dump(i)
i + "CPPMemberPointer\n" + i + " inner:\n" + self.inner.dump(i + " ") +
i + " cv:\n" + self.cv.dump(i + " ") +
i + " qid: " + self.qid.to_s
end

View File

@ -211,19 +211,19 @@ end
module PPointer
def cpp
CPPCV::wrap(cvspec.nonterminal? && cvspec.cv.to_symbol, CPPPointer::new(itspec.nonterminal? ? itspec.it.cpp_reduced : CPPAnonymousId::new))
CPPPointer::new(itspec.nonterminal? ? itspec.it.cpp_reduced : CPPAnonymousId::new)
end
end
module PReference
def cpp
CPPCV::wrap(cvspec.nonterminal? && cvspec.cv.to_symbol, CPPReference::new(itspec.nonterminal? ? itspec.it.cpp_reduced : CPPAnonymousId::new))
CPPReference::new(itspec.nonterminal? ? itspec.it.cpp_reduced : CPPAnonymousId::new)
end
end
module PMemberPointer
def cpp
CPPMemberPointer::new(cspec.qid.cpp, itspec.nonterminal? ? itspec.it.cpp_reduced : CPPAnonymousId::new, cvspec.nonterminal? && cvspec.cv.to_symbol)
CPPMemberPointer::new(cspec.qid.cpp, itspec.nonterminal? ? itspec.it.cpp_reduced : CPPAnonymousId::new)
end
end
@ -247,7 +247,7 @@ end
module PInnerTypeWithCV
def cpp
CPPCV::wrap(cvspec.to_symbol, it.cpp_reduced)
CPPCV::wrap(cvspec.nonterminal? && cvspec.cv.to_symbol, it.cpp_reduced)
end
end
@ -293,7 +293,7 @@ module PType
def cpp
# This is the class/struct/union/enum declaration if there is one
d = ct.cpp
d = dct.ct.cpp
if d.is_a?(Array)
r = d.select { |i| i.is_a?(CPPStruct) || i.is_a?(CPPEnum) }
elsif d.is_a?(CPPStruct) || d.is_a?(CPPEnum)
@ -302,7 +302,7 @@ module PType
r = []
end
# Create each declaration
ot = CPPCV::wrap(cvspec.nonterminal? && cvspec.cv.to_symbol, ct.cpp_reduced)
ot = CPPCV::wrap(dct.cvspec.nonterminal? && dct.cvspec.cv.to_symbol, dct.ct.cpp_reduced)
if il.nonterminal?
r << CPPType::new(ot, il.t1.cpp_reduced, il.i1.nonterminal? ? il.i1.is1.text_value : nil)
il.tt.elements.each do |t|
@ -324,7 +324,7 @@ end
module PTypeWoComma
def cpp
ot = CPPCV::wrap(cvspec.nonterminal? && cvspec.cv.to_symbol, ct.cpp_reduced)
ot = CPPCV::wrap(dct.cvspec.nonterminal? && dct.cvspec.cv.to_symbol, dct.ct.cpp_reduced)
if il.nonterminal?
CPPType::new(ot, il.t.cpp_reduced, il.i.nonterminal? ? il.i.is.text_value : nil)
else
@ -335,7 +335,7 @@ end
module PTypeForTemplate
def cpp
ot = CPPCV::wrap(cvspec.nonterminal? && cvspec.cv.to_symbol, ct.cpp_reduced)
ot = CPPCV::wrap(dct.cvspec.nonterminal? && dct.cvspec.cv.to_symbol, dct.ct.cpp_reduced)
CPPType::new(ot, il.nonterminal? ? il.t.cpp_reduced : CPPAnonymousId::new, nil)
end
end

View File

@ -29,7 +29,9 @@ RBA::Class::each_class do |cls|
classes[cls.name] = true
end
puts "# Properties from Qt meta objects:"
output = $output ? File.open($output, "w") : stdout
output.puts "# Properties from Qt meta objects:"
setters_sig = {}
getters_sig = {}
@ -49,18 +51,30 @@ RBA::Class::each_class do |cls|
c = cls.name.sub(/_Native$/, "")
signal_names = {}
(0..(mo.methodCount-1)).each do |i|
mm = mo.method(i)
if mm.methodType == RBA::QMetaMethod::Signal
signal_names[mm.methodSignature.sub(/\(.*/, "")] = true
end
end
valid_sig = {}
(0..(mo.propertyCount-1)).each do |i|
pr = mo.property(i)
if signal_names[pr.name]
# ignore properties that clash with signal names (e.g. QCamera::flashReady)
next
end
ucname = pr.name[0..0].upcase + pr.name[1..-1]
if pr.isReadable
puts "property_reader(\"#{c}\", /::(#{pr.name}|is#{ucname}|has#{ucname})\\s*\\(/, \"#{pr.name}\")"
output.puts "property_reader(\"#{c}\", /::(#{pr.name}|is#{ucname}|has#{ucname})\\s*\\(/, \"#{pr.name}\")"
getters_sig["#{cls.name}##{pr.name}"] = true
getters_sig["#{cls.name}#is#{ucname}"] = true
getters_sig["#{cls.name}#has#{ucname}"] = true
end
if pr.isWritable
puts "property_writer(\"#{c}\", /::set#{ucname}\\s*\\(/, \"#{pr.name}\")"
output.puts "property_writer(\"#{c}\", /::set#{ucname}\\s*\\(/, \"#{pr.name}\")"
setters_sig["#{cls.name}#set#{ucname}"] = true
end
end
@ -71,8 +85,8 @@ RBA::Class::each_class do |cls|
end
puts ""
puts "# Synthetic properties"
output.puts ""
output.puts "# Synthetic properties"
# strip const and references from types
def normalize_type(s)
@ -147,11 +161,11 @@ RBA::Class::each_class do |cls|
getter_type = normalize_type(g[2].ret_type.to_s)
if setter_type == getter_type
puts "# Property #{pn} (#{setter_type})"
output.puts "# Property #{pn} (#{setter_type})"
gc = g[1].name.sub(/_Native$/, "")
sc = s[1].name.sub(/_Native$/, "")
puts "property_reader(\"#{gc}\", /::#{g[0].name}\\s*\\(/, \"#{pn}\")"
puts "property_writer(\"#{sc}\", /::#{s[0].name}\\s*\\(/, \"#{pn}\")"
output.puts "property_reader(\"#{gc}\", /::#{g[0].name}\\s*\\(/, \"#{pn}\")"
output.puts "property_writer(\"#{sc}\", /::#{s[0].name}\\s*\\(/, \"#{pn}\")"
end
end
@ -161,3 +175,7 @@ RBA::Class::each_class do |cls|
end
if $output
output.close
end

View File

@ -29,6 +29,8 @@ RBA::Class::each_class do |cls|
classes[cls.name] = true
end
output = $output ? File.open($output, "w") : stdout
RBA::Class::each_class do |cls|
if cls.name =~ /^Q/ && (cls.name =~ /_Native$/ || !classes[cls.name + "_Native"])
@ -160,9 +162,9 @@ RBA::Class::each_class do |cls|
match += ".*int"
end
end
puts "event(\"#{c}\", /#{match}/, \"#{s}\")"
output.puts "event(\"#{c}\", /#{match}/, \"#{s}\")"
if renamed
puts "rename(\"#{c}\", /#{match}/, \"#{renamed}\")"
output.puts "rename(\"#{c}\", /#{match}/, \"#{renamed}\")"
end
end
end
@ -172,4 +174,6 @@ RBA::Class::each_class do |cls|
end
if $output
output.close
end

View File

@ -0,0 +1,94 @@
#!/bin/bash -e
qt=()
for qm in qmake qmake4 qmake5 qmake6; do
if sh -c "$qm -v" 2>/dev/null >/dev/null; then
qt_version=$($qm -v | grep 'Qt version' | sed 's/.*Qt version *\([0-9]\)\..*/\1/')
if [ "$qt_version" != "" ]; then
echo "Found qmake for Qt$qt_version: $qm"
qt[$qt_version]=$qm
fi
fi
done
qmake=qmake
inst_dir_common=$(pwd)/scripts/mkqtdecl_common
inst_dir4=$(pwd)/scripts/mkqtdecl4
inst_dir5=$(pwd)/scripts/mkqtdecl5
inst_dir6=$(pwd)/scripts/mkqtdecl6
inst_dir=$inst_dir4
work_dir="mkqtdecl.tmp"
while [ "$1" != "" ]; do
a="$1"
shift
case "$a" in
-h)
echo "Update event and property tables"
echo "Usage:"
echo " mkqtdecl_update_tables.sh Update tables for Qt4"
echo " mkqtdecl_update_tables.sh -qt5 Update tables for Qt5"
echo " mkqtdecl_update_tables.sh -qt6 Update tables for Qt6"
echo " mkqtdecl_update_tables.sh -qt <qmake-path> Update tables for specific Qt installation"
exit 0
;;
-qt)
qmake="$1"
shift
;;
-qt5)
qmake="${qt[5]}"
if [ "$qmake" == "" ]; then
echo "*** ERROR: Could not find qmake for Qt5"
exit 1
fi
work_dir="mkqtdecl5.tmp"
inst_dir="$inst_dir5"
;;
-qt6)
qmake="${qt[6]}"
if [ "$qmake" == "" ]; then
echo "*** ERROR: Could not find qmake for Qt6"
exit 1
fi
work_dir="mkqtdecl6.tmp"
inst_dir="$inst_dir6"
;;
*)
echo "*** ERROR: unknown command option $a"
exit 1
;;
esac
done
if ! [ -e build.sh ]; then
echo "*** ERROR: could not find build script in current directy - did you start this script from top level?"
exit 1
fi
mkdir -p $work_dir
bin=$work_dir/bin-update-tables
build=$work_dir/build-update-tables
log=$work_dir/build-update-table.log
echo "Building in $build (log in $log) .."
./build.sh -qmake $qmake -nopython -j8 -release -prefix $(pwd)/$bin -bin $bin -build $build >$log 2>&1
echo "Extracting tables .."
export LD_LIBRARY_PATH=$bin
echo "[1] for properties .."
$bin/klayout -b -r $inst_dir_common/mkqtdecl_extract_props.rb -rd output=$inst_dir/mkqtdecl.properties
echo "[2] for signals .."
$bin/klayout -b -r $inst_dir_common/mkqtdecl_extract_signals.rb -rd output=$inst_dir/mkqtdecl.events
echo "Done."

View File

@ -143,12 +143,16 @@ TARGET="linux-release"
mkdir -p %{buildroot}%{_libdir}/klayout
mkdir -p %{buildroot}%{_libdir}/klayout/db_plugins
mkdir -p %{buildroot}%{_libdir}/klayout/lay_plugins
mkdir -p %{buildroot}%{_libdir}/klayout/pymod
cp -pd %{_builddir}/bin.$TARGET/lib*.so* %{buildroot}%{_libdir}/klayout
cp -pd %{_builddir}/bin.$TARGET/db_plugins/lib*.so* %{buildroot}%{_libdir}/klayout/db_plugins
cp -pd %{_builddir}/bin.$TARGET/lay_plugins/lib*.so* %{buildroot}%{_libdir}/klayout/lay_plugins
cp -rpd %{_builddir}/bin.$TARGET/pymod/* %{buildroot}%{_libdir}/klayout/pymod
chmod 644 %{buildroot}%{_libdir}/klayout/*.so*
chmod 644 %{buildroot}%{_libdir}/klayout/db_plugins/*.so*
chmod 644 %{buildroot}%{_libdir}/klayout/lay_plugins/*.so*
find %{buildroot}%{_libdir}/klayout/pymod -type f -exec chmod 644 {} +
find %{buildroot}%{_libdir}/klayout/pymod -type d -exec chmod 755 {} +
# create and populate bindir
mkdir -p %{buildroot}%{_bindir}

View File

@ -944,6 +944,42 @@ lay = Extension(config.root + '.laycore',
extra_compile_args=config.compile_args('laycore'),
sources=list(lay_sources))
# ------------------------------------------------------------------
# pya extension library (all inclusive, basis of pya module)
pyacore_path = os.path.join("src", "pymod", "pya")
pyacore_sources = set(glob.glob(os.path.join(pyacore_path, "*.cc")))
pya = Extension(config.root + '.pyacore',
define_macros=config.macros(),
include_dirs=[_laybasic_path,
_layview_path,
_lib_path,
_db_path,
_rdb_path,
_img_path,
_ant_path,
_edt_path,
_lym_path,
_tl_path,
_gsi_path,
_pya_path],
extra_objects=[config.path_of('_laybasic', _laybasic_path),
config.path_of('_layview', _layview_path),
config.path_of('_lib', _lib_path),
config.path_of('_db', _db_path),
config.path_of('_rdb', _rdb_path),
config.path_of('_img', _img_path),
config.path_of('_ant', _ant_path),
config.path_of('_edt', _edt_path),
config.path_of('_lym', _lym_path),
config.path_of('_tl', _tl_path),
config.path_of('_gsi', _gsi_path),
config.path_of('_pya', _pya_path)],
extra_link_args=config.link_args('pyacore'),
extra_compile_args=config.compile_args('pyacore'),
sources=list(pyacore_sources))
# ------------------------------------------------------------------
# Core setup function
@ -980,6 +1016,6 @@ if __name__ == "__main__":
include_package_data=True,
ext_modules=[_tl, _gsi, _pya, _rba, _db, _lib, _rdb, _lym, _laybasic, _layview, _ant, _edt, _img]
+ db_plugins
+ [tl, db, lib, rdb, lay],
+ [tl, db, lib, rdb, lay, pya],
cmdclass={'build_ext': klayout_build_ext}
)

View File

@ -8,6 +8,10 @@
<doc>@class [db] PCellDeclarationHelper &lt; PCellDeclaration
@brief A helper class to simplify the declaration of a PCell (Python version)
NOTE: in the following, "pya" can be replaced by "klayout.db" which is
the canonical module and the preferred way of addressing the
external Python library.
This class provides adds some convenience to the PCell declaration based
on PCellDeclaration. PCellDeclaration is a C++ object which is less
convenient to use than a Ruby-based approach. In particular this class
@ -252,317 +256,7 @@ This method must return a \\Trans object. The default implementation returns a u
<interpreter>python</interpreter>
<dsl-interpreter-name/>
<text>
import pya
class _PCellDeclarationHelperLayerDescriptor(object):
"""
A descriptor object which translates the PCell parameters into class attributes
"""
def __init__(self, param_index):
self.param_index = param_index
def __get__(self, obj, type = None):
return obj._layers[self.param_index]
def __set__(self, obj, value):
raise AttributeError("can't change layer attribute")
class _PCellDeclarationHelperParameterDescriptor(object):
"""
A descriptor object which translates the PCell parameters into class attributes
In some cases (i.e. can_convert_from_shape), these placeholders are not
connected to real parameters (obj._param_values is None). In this case,
the descriptor acts as a value holder (self.value)
"""
def __init__(self, param_index, param_name):
self.param_index = param_index
self.param_name = param_name
self.value = None
def __get__(self, obj, type = None):
if obj._param_values:
return obj._param_values[self.param_index]
elif obj._param_states:
return obj._param_states.parameter(self.param_name)
else:
return self.value
def __set__(self, obj, value):
if obj._param_values:
obj._param_values[self.param_index] = value
else:
self.value = value
class _PCellDeclarationHelper(pya.PCellDeclaration):
"""
A helper class that somewhat simplifies the implementation
of a PCell
"""
def __init__(self):
"""
initialize this instance
"""
# "private" attributes
self._param_decls = []
self._param_values = None
self._param_states = None
self._layer_param_index = []
self._layers = []
# public attributes
self.layout = None
self.shape = None
self.layer = None
self.cell = None
def param(self, name, value_type, description, hidden = False, readonly = False, unit = None, default = None, choices = None):
"""
Defines a parameter
name -&gt; the short name of the parameter
type -&gt; the type of the parameter
description -&gt; the description text
named parameters
hidden -&gt; (boolean) true, if the parameter is not shown in the dialog
readonly -&gt; (boolean) true, if the parameter cannot be edited
unit -&gt; the unit string
default -&gt; the default value
choices -&gt; ([ [ d, v ], ...) choice descriptions/value for choice type
this method defines accessor methods for the parameters
{name} -&gt; read accessor
set_{name} -&gt; write accessor ({name}= does not work because the
Ruby confuses that method with variables)
{name}_layer -&gt; read accessor for the layer index for TypeLayer parameters
"""
# create accessor methods for the parameters
param_index = len(self._param_decls)
setattr(type(self), name, _PCellDeclarationHelperParameterDescriptor(param_index, name))
if value_type == type(self).TypeLayer:
setattr(type(self), name + "_layer", _PCellDeclarationHelperLayerDescriptor(len(self._layer_param_index)))
self._layer_param_index.append(param_index)
# store the parameter declarations
pdecl = pya.PCellParameterDeclaration(name, value_type, description)
self._param_decls.append(pdecl)
# set additional attributes of the parameters
pdecl.hidden = hidden
pdecl.readonly = readonly
if not (default is None):
pdecl.default = default
if not (unit is None):
pdecl.unit = unit
if not (choices is None):
if not isinstance(choices, list) and not isinstance(choices, tuple):
raise TypeError("choices value must be an list/tuple of two-element arrays (description, value)")
for c in choices:
if (not isinstance(choices, list) and not isinstance(choices, tuple)) or len(c) != 2:
raise TypeError("choices value must be an list/tuple of two-element arrays (description, value)")
pdecl.add_choice(c[0],c[1])
# return the declaration object for further operations
return pdecl
def display_text(self, parameters):
"""
implementation of display_text
"""
self._param_values = parameters
try:
text = self.display_text_impl()
finally:
self._param_values = None
return text
def get_parameters(self):
"""
gets the parameters
"""
return self._param_decls
def get_values(self):
"""
gets the temporary parameter values
"""
v = self._param_values
self._param_values = None
return v
def init_values(self, values = None, layers = None, states = None):
"""
initializes the temporary parameter values
"values" are the original values. If "None" is given, the
default values will be used.
"layers" are the layer indexes corresponding to the layer
parameters.
"""
self._param_values = None
self._param_states = None
if states:
self._param_states = states
elif not values:
self._param_values = []
for pd in self._param_decls:
self._param_values.append(pd.default)
else:
self._param_values = values
self._layers = layers
def finish(self):
"""
Needs to be called at the end of an implementation
"""
self._param_values = None
self._param_states = None
self._layers = None
self._cell = None
self._layout = None
self._layer = None
self._shape = None
def get_layers(self, parameters):
"""
gets the layer definitions
"""
layers = []
for i in self._layer_param_index:
if parameters[i] is not None:
layers.append(parameters[i])
else:
layers.append(pya.LayerInfo())
return layers
def callback(self, layout, name, states):
"""
callback (change state on parameter change)
"""
self.init_values(states = states)
self.layout = layout
try:
self.callback_impl(name)
finally:
self.finish()
def coerce_parameters(self, layout, parameters):
"""
coerce parameters (make consistent)
"""
self.init_values(parameters)
self.layout = layout
try:
self.coerce_parameters_impl()
parameters = self.get_values()
finally:
self.finish()
return parameters
def produce(self, layout, layers, parameters, cell):
"""
coerce parameters (make consistent)
"""
self.init_values(parameters, layers)
self.cell = cell
self.layout = layout
try:
self.produce_impl()
finally:
self.finish()
def can_create_from_shape(self, layout, shape, layer):
"""
produce a helper for can_create_from_shape
"""
self.layout = layout
self.shape = shape
self.layer = layer
try:
ret = self.can_create_from_shape_impl()
finally:
self.finish()
return ret
def transformation_from_shape(self, layout, shape, layer):
"""
produce a helper for parameters_from_shape
"""
self.layout = layout
self.shape = shape
self.layer = layer
try:
t = self.transformation_from_shape_impl()
finally:
self.finish()
return t
def parameters_from_shape(self, layout, shape, layer):
"""
produce a helper for parameters_from_shape
with this helper, the implementation can use the parameter setters
"""
self.init_values()
self.layout = layout
self.shape = shape
self.layer = layer
try:
self.parameters_from_shape_impl()
param = self.get_values()
finally:
self.finish()
return param
def display_text_impl(self):
"""
default implementation
"""
return ""
def coerce_parameters_impl(self):
"""
default implementation
"""
pass
def callback_impl(self, name):
"""
default implementation
"""
pass
def produce_impl(self):
"""
default implementation
"""
pass
def can_create_from_shape_impl(self):
"""
default implementation
"""
return False
def parameters_from_shape_impl(self):
"""
default implementation
"""
pass
def transformation_from_shape_impl(self):
"""
default implementation
"""
return pya.Trans()
# import the Type... constants from PCellParameterDeclaration
for k in dir(pya.PCellParameterDeclaration):
if k.startswith("Type"):
setattr(_PCellDeclarationHelper, k, getattr(pya.PCellParameterDeclaration, k))
# Inject the PCellDeclarationHelper into pya module for consistency:
setattr(pya, "PCellDeclarationHelper", _PCellDeclarationHelper)
# No code provided here. This macro is supplied to provide the documentation.
# The basic code is located in klayout.db.pcell_declaration_helper now.
</text>
</klayout-macro>

View File

@ -86,7 +86,7 @@
<ul>
<li>
<p><b><i>[virtual]</i> bool event(QEvent ptr arg1)</b>:</p>
<p><b><i>[virtual]</i> bool event(QEvent ptr ev)</b>:</p>
<p>A virtual method called "event" returning a boolean value
(Ruby "true" or "false") and expecting one argument (a pointer to a QEvent object).
"ptr" indicates that the argument is a pointer, "arg1" is the argument name.
@ -108,9 +108,12 @@
<p>An iterator called "each_reference" delivering RdbReference objects.</p>
</li>
<li>
<p><b><i>[event]</i> void layoutAboutToBeChanged</b>:</p>
<p>A parameterless event called "layoutAboutToBeChanged".
</p>
<p><b><i>[signal]</i> void layoutAboutToBeChanged</b>:</p>
<p>A parameterless signal (event) called "layoutAboutToBeChanged" (see <link href="/programming/events.xml"/> for details about events or signals).</p>
</li>
<li>
<p><b><i>[signal]</i> void objectNameChanged(string objectName)</b>:</p>
<p>A signal (event) called "objectNameChanged" with one string argument.</p>
</li>
</ul>

View File

@ -59,10 +59,12 @@
</p>
<p>
Here is the code:
Here is the code.
This example demonstrates how the "get" method is reimplemented to deliver the actual text.
</p>
<pre>module MyMacro
<pre>
module MyMacro
include RBA
@ -78,15 +80,32 @@
dialog.home = "int:0"
dialog.exec
end</pre>
end
</pre>
The Python version is this:
<pre>
from pya import BrowserSource, BrowserDialog
class MyBrowserSource(BrowserSource):
def get(self, url):
next_url = "int:" + str(int(url.split(":")[1]) + 1)
return f"This is {url}. &lt;a href='{next_url}'&gt;Goto next ({next_url})&lt;/a&gt;>"
dialog = BrowserDialog()
dialog.home = "int:0"
dialog.source = MyBrowserSource()
dialog.exec_()
</pre>
<p>
This example demonstrates how the "get" method is reimplemented to deliver the actual text.
Ruby even allows reimplementation of a method without deriving a new class, because it allows
to define methods per instance:
defining methods per instance:
</p>
<pre>module MyMacro
<pre>
module MyMacro
include RBA
@ -101,7 +120,8 @@ end</pre>
dialog.home = "int:0"
dialog.exec
end</pre>
end
</pre>
<h2>Events</h2>
@ -117,7 +137,8 @@ end</pre>
clicked, it displays a message box:
</p>
<pre>module MyMacro
<pre>
module MyMacro
include RBA
@ -129,14 +150,33 @@ end</pre>
Application::instance.main_window.menu.insert_item("@toolbar.end", "my_action", action)
end</pre>
end
</pre>
<p>
The Python version is:
</p>
<pre>
from pya import Action, MessageBox, Application
def on_triggered():
MessageBox.info("A message", "The action was triggered", MessageBox.Ok)
action = Action()
action.on_triggered = on_triggered
action.title = "My Action"
Application.instance().main_window().menu().insert_item("@toolbar.end", "my_action", action)
</pre>
<p>
Specifying a block to an event will make the event only execute that block. A more flexible way of
controlling the code attached to events is available through the += and -= operators:
</p>
<pre>module MyMacro
<pre>
module MyMacro
include RBA
@ -157,7 +197,12 @@ end</pre>
# to clear all event handlers use:
action.on_triggered.clear
</pre>
</pre>
<p>
Synonyms for the <tt>+=</tt> operator are <tt>add</tt> and <tt>connect</tt>. The latter makes code more familiar for PyQt users.
In the same way, synonyms for the <tt>-=</tt> operator are <tt>remove</tt> and <tt>disconnect</tt>.
</p>
<p>
If the Qt binding is available (see <link href="/programming/qt_binding.xml"/>), Qt signals
@ -166,7 +211,8 @@ end</pre>
input field to the label below:
</p>
<pre>module MyMacro
<pre>
module MyMacro
include RBA
@ -182,13 +228,38 @@ end</pre>
dialog.exec
end</pre>
end
</pre>
<p>
The Python version is:
</p>
<pre>
from pya import QDialog, QVBoxLayout, QLineEdit, QLabel, Application
dialog = QDialog(Application.instance().main_window())
layout = QVBoxLayout(dialog)
input = QLineEdit(dialog)
label = QLabel(dialog)
layout.addWidget(input)
layout.addWidget(label)
def text_changed(text):
label.text = text
# implement the textChanged signal as event:
input.textChanged = text_changed
dialog.exec_()
</pre>
<p>
Using the += operator on the event, multiple handlers can be added to a signal:
</p>
<pre>module MyMacro
<pre>
module MyMacro
include RBA
@ -207,7 +278,37 @@ end</pre>
dialog.exec
end</pre>
end
</pre>
<p>
with the Python version:
</p>
<pre>
from pya import QDialog, QVBoxLayout, QLineEdit, QLabel, Application
dialog = QDialog(Application.instance().main_window())
layout = QVBoxLayout(dialog)
input = QLineEdit(dialog)
label1 = QLabel(dialog)
label2 = QLabel(dialog)
layout.addWidget(input)
layout.addWidget(label1)
layout.addWidget(label2)
def text_changed1(text):
label1.text = text
def text_changed2(text):
label2.text = text[::-1]
# two signal consumers:
input.textChanged += text_changed1
input.textChanged += text_changed2
dialog.exec_()
</pre>
</doc>

View File

@ -44,6 +44,9 @@ initialize ()
// Do a first initialization of the new classes because they might add more classes
for (gsi::ClassBase::class_iterator c = gsi::ClassBase::begin_new_classes (); c != gsi::ClassBase::end_new_classes (); ++c) {
if (tl::verbosity () >= 50 && c->begin_methods () != c->end_methods ()) {
tl::info << "GSI: initializing class " << c->module () << "::" << c->name ();
}
// TODO: get rid of that const cast
(const_cast<gsi::ClassBase *> (&*c))->initialize ();
}

View File

@ -275,6 +275,7 @@ public:
gsi::method_ext ("to_s", &enum_to_string_ext, "@brief Gets the symbolic string from an enum") +
gsi::method_ext ("inspect", &enum_to_string_inspect_ext, "@brief Converts an enum to a visual string") +
gsi::method_ext ("to_i", &enum_to_int, "@brief Gets the integer value from the enum") +
gsi::method_ext ("hash", &enum_to_int, "@brief Gets the hash value from the enum") +
gsi::method_ext ("==", &enum_eq, gsi::arg("other"), "@brief Compares two enums") +
gsi::method_ext ("==", &enum_eq_with_int, gsi::arg("other"), "@brief Compares an enum with an integer value") +
gsi::method_ext ("!=", &enum_ne, gsi::arg("other"), "@brief Compares two enums for inequality") +

View File

@ -187,7 +187,7 @@ public:
/**
* @brief Add the given path to the search path ($: in ruby)
*/
virtual void add_path (const std::string &path) = 0;
virtual void add_path (const std::string &path, bool prepend = false) = 0;
/**
* @brief Requires the given module (ruby "require")

View File

@ -22,6 +22,7 @@
#include "gsiDecl.h"
#include "tlLog.h"
#include <cctype>
@ -231,5 +232,106 @@ MethodBase::primary_name () const
}
}
// --------------------------------------------------------------------------------
// Implementation of MethodBase
Methods::Methods ()
: m_methods ()
{
// .. nothing yet ..
}
Methods::Methods (MethodBase *m)
: m_methods ()
{
m_methods.push_back (m);
}
Methods::Methods (const Methods &d)
{
operator= (d);
}
Methods &
Methods::operator= (const Methods &d)
{
if (this != &d) {
clear ();
m_methods.reserve (d.m_methods.size ());
for (std::vector<MethodBase *>::const_iterator m = d.m_methods.begin (); m != d.m_methods.end (); ++m) {
m_methods.push_back ((*m)->clone ());
}
}
return *this;
}
Methods::~Methods ()
{
clear ();
}
void
Methods::initialize ()
{
for (std::vector<MethodBase *>::iterator m = m_methods.begin (); m != m_methods.end (); ++m) {
if (tl::verbosity () >= 60) {
tl::info << "GSI: initializing method " << (*m)->to_string ();
}
(*m)->initialize ();
}
}
void
Methods::clear ()
{
for (std::vector<MethodBase *>::iterator m = m_methods.begin (); m != m_methods.end (); ++m) {
delete *m;
}
m_methods.clear ();
}
// HINT: this is not the usual + semantics but this is more effective
Methods &
Methods::operator+ (const Methods &m)
{
return operator+= (m);
}
// HINT: this is not the usual + semantics but this is more effective
Methods &
Methods::operator+ (MethodBase *m)
{
return operator+= (m);
}
Methods &
Methods::operator+= (const Methods &m)
{
for (std::vector<MethodBase *>::const_iterator mm = m.m_methods.begin (); mm != m.m_methods.end (); ++mm)
{
add_method ((*mm)->clone ());
}
return *this;
}
Methods &
Methods::operator+= (MethodBase *m)
{
add_method (m);
return *this;
}
void
Methods::add_method (MethodBase *method)
{
m_methods.push_back (method);
}
void
Methods::swap (Methods &other)
{
m_methods.swap (other.m_methods);
}
}

View File

@ -620,81 +620,29 @@ class GSI_PUBLIC Methods
public:
typedef std::vector<MethodBase *>::const_iterator iterator;
Methods ()
: m_methods ()
{
// .. nothing yet ..
}
Methods ();
explicit Methods (MethodBase *m);
Methods (const Methods &d);
explicit Methods (MethodBase *m)
: m_methods ()
{
m_methods.push_back (m);
}
Methods &operator= (const Methods &d);
Methods (const Methods &d)
{
operator= (d);
}
~Methods ();
Methods &operator= (const Methods &d)
{
if (this != &d) {
clear ();
m_methods.reserve (d.m_methods.size ());
for (std::vector<MethodBase *>::const_iterator m = d.m_methods.begin (); m != d.m_methods.end (); ++m) {
m_methods.push_back ((*m)->clone ());
}
}
return *this;
}
~Methods ()
{
clear ();
}
void initialize ()
{
for (std::vector<MethodBase *>::iterator m = m_methods.begin (); m != m_methods.end (); ++m) {
(*m)->initialize ();
}
}
void clear ()
{
for (std::vector<MethodBase *>::iterator m = m_methods.begin (); m != m_methods.end (); ++m) {
delete *m;
}
m_methods.clear ();
}
void initialize ();
void clear ();
// HINT: this is not the usual + semantics but this is more effective
Methods &operator+ (const Methods &m)
{
return operator+= (m);
}
Methods &operator+ (const Methods &m);
// HINT: this is not the usual + semantics but this is more effective
Methods &operator+ (MethodBase *m)
{
return operator+= (m);
}
Methods &operator+ (MethodBase *m);
Methods &operator+= (const Methods &m)
{
for (std::vector<MethodBase *>::const_iterator mm = m.m_methods.begin (); mm != m.m_methods.end (); ++mm)
{
add_method ((*mm)->clone ());
}
return *this;
}
Methods &operator+= (const Methods &m);
Methods &operator+= (MethodBase *m);
Methods &operator+= (MethodBase *m)
{
add_method (m);
return *this;
}
void add_method (MethodBase *method);
void swap (Methods &other);
iterator begin () const
{
@ -706,21 +654,11 @@ public:
return m_methods.end ();
}
void add_method (MethodBase *method)
{
m_methods.push_back (method);
}
size_t size () const
{
return m_methods.size ();
}
void swap (Methods &other)
{
m_methods.swap (other.m_methods);
}
public:
std::vector<MethodBase *> m_methods;
};

View File

@ -119,6 +119,7 @@ static void _call_f_addSpacerItem_1708 (const qt_gsi::GenericMethod * /*decl*/,
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QSpacerItem *arg1 = gsi::arg_reader<QSpacerItem * >() (args, heap);
qt_gsi::qt_keep (arg1);
__SUPPRESS_UNUSED_WARNING(ret);
((QBoxLayout *)cls)->addSpacerItem (arg1);
}
@ -203,6 +204,7 @@ static void _call_f_addWidget_4616 (const qt_gsi::GenericMethod * /*decl*/, void
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QWidget *arg1 = gsi::arg_reader<QWidget * >() (args, heap);
qt_gsi::qt_keep (arg1);
int arg2 = args ? gsi::arg_reader<int >() (args, heap) : gsi::arg_maker<int >() (0, heap);
QFlags<Qt::AlignmentFlag> arg3 = args ? gsi::arg_reader<QFlags<Qt::AlignmentFlag> >() (args, heap) : gsi::arg_maker<QFlags<Qt::AlignmentFlag> >() (0, heap);
__SUPPRESS_UNUSED_WARNING(ret);
@ -309,6 +311,7 @@ static void _call_f_insertLayout_2659 (const qt_gsi::GenericMethod * /*decl*/, v
tl::Heap heap;
int arg1 = gsi::arg_reader<int >() (args, heap);
QLayout *arg2 = gsi::arg_reader<QLayout * >() (args, heap);
qt_gsi::qt_keep (arg2);
int arg3 = args ? gsi::arg_reader<int >() (args, heap) : gsi::arg_maker<int >() (0, heap);
__SUPPRESS_UNUSED_WARNING(ret);
((QBoxLayout *)cls)->insertLayout (arg1, arg2, arg3);
@ -333,6 +336,7 @@ static void _call_f_insertSpacerItem_2367 (const qt_gsi::GenericMethod * /*decl*
tl::Heap heap;
int arg1 = gsi::arg_reader<int >() (args, heap);
QSpacerItem *arg2 = gsi::arg_reader<QSpacerItem * >() (args, heap);
qt_gsi::qt_keep (arg2);
__SUPPRESS_UNUSED_WARNING(ret);
((QBoxLayout *)cls)->insertSpacerItem (arg1, arg2);
}
@ -406,6 +410,7 @@ static void _call_f_insertWidget_5275 (const qt_gsi::GenericMethod * /*decl*/, v
tl::Heap heap;
int arg1 = gsi::arg_reader<int >() (args, heap);
QWidget *arg2 = gsi::arg_reader<QWidget * >() (args, heap);
qt_gsi::qt_keep (arg2);
int arg3 = args ? gsi::arg_reader<int >() (args, heap) : gsi::arg_maker<int >() (0, heap);
QFlags<Qt::AlignmentFlag> arg4 = args ? gsi::arg_reader<QFlags<Qt::AlignmentFlag> >() (args, heap) : gsi::arg_maker<QFlags<Qt::AlignmentFlag> >() (0, heap);
__SUPPRESS_UNUSED_WARNING(ret);
@ -1686,6 +1691,7 @@ static void _call_fp_insertItem_2399 (const qt_gsi::GenericMethod * /*decl*/, vo
tl::Heap heap;
int arg1 = gsi::arg_reader<int >() (args, heap);
QLayoutItem *arg2 = gsi::arg_reader<QLayoutItem * >() (args, heap);
qt_gsi::qt_keep (arg2);
__SUPPRESS_UNUSED_WARNING(ret);
((QBoxLayout_Adaptor *)cls)->fp_QBoxLayout_insertItem_2399 (arg1, arg2);
}

View File

@ -85,6 +85,7 @@ static void _call_f_addItem_7018 (const qt_gsi::GenericMethod * /*decl*/, void *
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QLayoutItem *arg1 = gsi::arg_reader<QLayoutItem * >() (args, heap);
qt_gsi::qt_keep (arg1);
int arg2 = gsi::arg_reader<int >() (args, heap);
int arg3 = gsi::arg_reader<int >() (args, heap);
int arg4 = args ? gsi::arg_reader<int >() (args, heap) : gsi::arg_maker<int >() (1, heap);
@ -176,6 +177,7 @@ static void _call_f_addWidget_1315 (const qt_gsi::GenericMethod * /*decl*/, void
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QWidget *arg1 = gsi::arg_reader<QWidget * >() (args, heap);
qt_gsi::qt_keep (arg1);
__SUPPRESS_UNUSED_WARNING(ret);
((QGridLayout *)cls)->addWidget (arg1);
}
@ -202,6 +204,7 @@ static void _call_f_addWidget_5275 (const qt_gsi::GenericMethod * /*decl*/, void
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QWidget *arg1 = gsi::arg_reader<QWidget * >() (args, heap);
qt_gsi::qt_keep (arg1);
int arg2 = gsi::arg_reader<int >() (args, heap);
int arg3 = gsi::arg_reader<int >() (args, heap);
QFlags<Qt::AlignmentFlag> arg4 = args ? gsi::arg_reader<QFlags<Qt::AlignmentFlag> >() (args, heap) : gsi::arg_maker<QFlags<Qt::AlignmentFlag> >() (0, heap);
@ -235,6 +238,7 @@ static void _call_f_addWidget_6593 (const qt_gsi::GenericMethod * /*decl*/, void
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QWidget *arg1 = gsi::arg_reader<QWidget * >() (args, heap);
qt_gsi::qt_keep (arg1);
int arg2 = gsi::arg_reader<int >() (args, heap);
int arg3 = gsi::arg_reader<int >() (args, heap);
int arg4 = gsi::arg_reader<int >() (args, heap);

View File

@ -1033,6 +1033,7 @@ static void _call_fp_insertItem_2399 (const qt_gsi::GenericMethod * /*decl*/, vo
tl::Heap heap;
int arg1 = gsi::arg_reader<int >() (args, heap);
QLayoutItem *arg2 = gsi::arg_reader<QLayoutItem * >() (args, heap);
qt_gsi::qt_keep (arg2);
__SUPPRESS_UNUSED_WARNING(ret);
((QHBoxLayout_Adaptor *)cls)->fp_QHBoxLayout_insertItem_2399 (arg1, arg2);
}

View File

@ -1713,6 +1713,59 @@ class QImage_Adaptor : public QImage, public qt_gsi::QtObjectBase
{
public:
// NOTE: QImage does not take ownership of the data, so
// we will provide a buffer to do so. This requires an additional
// copy, but as GSI is not guaranteeing the lifetime of the
// data, this is required here.
class DataHolder
{
public:
DataHolder() : mp_data(0) { }
DataHolder(unsigned char *data) : mp_data(data) { }
~DataHolder()
{
if (mp_data) {
delete[](mp_data);
}
mp_data = 0;
}
static unsigned char *alloc(const std::string &data)
{
unsigned char *ptr = new unsigned char[data.size()];
memcpy(ptr, data.c_str(), data.size());
return ptr;
}
private:
unsigned char *mp_data;
};
static QImage_Adaptor *new_qimage_from_data1(const std::string &data, int width, int height, int bytesPerLine, QImage::Format format)
{
return new QImage_Adaptor(DataHolder::alloc(data), width, height, bytesPerLine, format);
}
static QImage_Adaptor *new_qimage_from_data2(const std::string &data, int width, int height, QImage::Format format)
{
return new QImage_Adaptor(DataHolder::alloc(data), width, height, format);
}
QImage_Adaptor(unsigned char *data, int width, int height, int bytesPerLine, QImage::Format format)
: QImage(data, width, height, bytesPerLine, format), m_holder(data)
{
}
QImage_Adaptor(unsigned char *data, int width, int height, QImage::Format format)
: QImage (data, width, height, format), m_holder(data)
{
}
DataHolder m_holder;
virtual ~QImage_Adaptor();
// [adaptor ctor] QImage::QImage()
@ -1733,18 +1786,6 @@ public:
qt_gsi::QtObjectBase::init (this);
}
// [adaptor ctor] QImage::QImage(const unsigned char *data, int width, int height, QImage::Format format)
QImage_Adaptor(const unsigned char *data, int width, int height, QImage::Format format) : QImage(data, width, height, format)
{
qt_gsi::QtObjectBase::init (this);
}
// [adaptor ctor] QImage::QImage(const unsigned char *data, int width, int height, int bytesPerLine, QImage::Format format)
QImage_Adaptor(const unsigned char *data, int width, int height, int bytesPerLine, QImage::Format format) : QImage(data, width, height, bytesPerLine, format)
{
qt_gsi::QtObjectBase::init (this);
}
// [adaptor ctor] QImage::QImage(const QString &fileName, const char *format)
QImage_Adaptor(const QString &fileName) : QImage(fileName)
{
@ -1858,63 +1899,6 @@ static void _call_ctor_QImage_Adaptor_3051 (const qt_gsi::GenericStaticMethod *
}
// Constructor QImage::QImage(const unsigned char *data, int width, int height, QImage::Format format) (adaptor class)
static void _init_ctor_QImage_Adaptor_5679 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("data");
decl->add_arg<const unsigned char * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("width");
decl->add_arg<int > (argspec_1);
static gsi::ArgSpecBase argspec_2 ("height");
decl->add_arg<int > (argspec_2);
static gsi::ArgSpecBase argspec_3 ("format");
decl->add_arg<const qt_gsi::Converter<QImage::Format>::target_type & > (argspec_3);
decl->set_return_new<QImage_Adaptor> ();
}
static void _call_ctor_QImage_Adaptor_5679 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const unsigned char *arg1 = gsi::arg_reader<const unsigned char * >() (args, heap);
int arg2 = gsi::arg_reader<int >() (args, heap);
int arg3 = gsi::arg_reader<int >() (args, heap);
const qt_gsi::Converter<QImage::Format>::target_type & arg4 = gsi::arg_reader<const qt_gsi::Converter<QImage::Format>::target_type & >() (args, heap);
ret.write<QImage_Adaptor *> (new QImage_Adaptor (arg1, arg2, arg3, qt_gsi::QtToCppAdaptor<QImage::Format>(arg4).cref()));
}
// Constructor QImage::QImage(const unsigned char *data, int width, int height, int bytesPerLine, QImage::Format format) (adaptor class)
static void _init_ctor_QImage_Adaptor_6338 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("data");
decl->add_arg<const unsigned char * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("width");
decl->add_arg<int > (argspec_1);
static gsi::ArgSpecBase argspec_2 ("height");
decl->add_arg<int > (argspec_2);
static gsi::ArgSpecBase argspec_3 ("bytesPerLine");
decl->add_arg<int > (argspec_3);
static gsi::ArgSpecBase argspec_4 ("format");
decl->add_arg<const qt_gsi::Converter<QImage::Format>::target_type & > (argspec_4);
decl->set_return_new<QImage_Adaptor> ();
}
static void _call_ctor_QImage_Adaptor_6338 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const unsigned char *arg1 = gsi::arg_reader<const unsigned char * >() (args, heap);
int arg2 = gsi::arg_reader<int >() (args, heap);
int arg3 = gsi::arg_reader<int >() (args, heap);
int arg4 = gsi::arg_reader<int >() (args, heap);
const qt_gsi::Converter<QImage::Format>::target_type & arg5 = gsi::arg_reader<const qt_gsi::Converter<QImage::Format>::target_type & >() (args, heap);
ret.write<QImage_Adaptor *> (new QImage_Adaptor (arg1, arg2, arg3, arg4, qt_gsi::QtToCppAdaptor<QImage::Format>(arg5).cref()));
}
// Constructor QImage::QImage(const QString &fileName, const char *format) (adaptor class)
static void _init_ctor_QImage_Adaptor_3648 (qt_gsi::GenericStaticMethod *decl)
@ -2006,8 +1990,6 @@ static gsi::Methods methods_QImage_Adaptor () {
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QImage::QImage()\nThis method creates an object of class QImage.", &_init_ctor_QImage_Adaptor_0, &_call_ctor_QImage_Adaptor_0);
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QImage::QImage(const QSize &size, QImage::Format format)\nThis method creates an object of class QImage.", &_init_ctor_QImage_Adaptor_3430, &_call_ctor_QImage_Adaptor_3430);
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QImage::QImage(int width, int height, QImage::Format format)\nThis method creates an object of class QImage.", &_init_ctor_QImage_Adaptor_3051, &_call_ctor_QImage_Adaptor_3051);
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QImage::QImage(const unsigned char *data, int width, int height, QImage::Format format)\nThis method creates an object of class QImage.", &_init_ctor_QImage_Adaptor_5679, &_call_ctor_QImage_Adaptor_5679);
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QImage::QImage(const unsigned char *data, int width, int height, int bytesPerLine, QImage::Format format)\nThis method creates an object of class QImage.", &_init_ctor_QImage_Adaptor_6338, &_call_ctor_QImage_Adaptor_6338);
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QImage::QImage(const QString &fileName, const char *format)\nThis method creates an object of class QImage.", &_init_ctor_QImage_Adaptor_3648, &_call_ctor_QImage_Adaptor_3648);
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QImage::QImage(const QImage &)\nThis method creates an object of class QImage.", &_init_ctor_QImage_Adaptor_1877, &_call_ctor_QImage_Adaptor_1877);
methods += new qt_gsi::GenericMethod ("*metric", "@brief Virtual method int QImage::metric(QPaintDevice::PaintDeviceMetric metric)\nThis method can be reimplemented in a derived class.", true, &_init_cbs_metric_c3445_0, &_call_cbs_metric_c3445_0);
@ -2018,6 +2000,15 @@ static gsi::Methods methods_QImage_Adaptor () {
}
gsi::Class<QImage_Adaptor> decl_QImage_Adaptor (qtdecl_QImage (), "QtGui", "QImage",
gsi::constructor("new", &QImage_Adaptor::new_qimage_from_data1, gsi::arg ("data"), gsi::arg ("width"), gsi::arg ("height"), gsi::arg ("bytesPerLine"), gsi::arg ("format"),
"@brief QImage::QImage(const uchar *data, int width, int height, int bytesPerLine)\n"
"The cleanupFunction parameter is available currently."
) +
gsi::constructor("new", &QImage_Adaptor::new_qimage_from_data2, gsi::arg ("data"), gsi::arg ("width"), gsi::arg ("height"), gsi::arg ("format"),
"@brief QImage::QImage(const uchar *data, int width, int height)\n"
"The cleanupFunction parameter is available currently."
)
+
methods_QImage_Adaptor (),
"@qt\n@brief Binding of QImage");

View File

@ -110,6 +110,7 @@ static void _call_f_addWidget_1315 (const qt_gsi::GenericMethod * /*decl*/, void
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QWidget *arg1 = gsi::arg_reader<QWidget * >() (args, heap);
qt_gsi::qt_keep (arg1);
__SUPPRESS_UNUSED_WARNING(ret);
((QLayout *)cls)->addWidget (arg1);
}

View File

@ -95,6 +95,7 @@ static void _call_f_addWidget_1315 (const qt_gsi::GenericMethod * /*decl*/, void
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QWidget *arg1 = gsi::arg_reader<QWidget * >() (args, heap);
qt_gsi::qt_keep (arg1);
ret.write<int > ((int)((QStackedLayout *)cls)->addWidget (arg1));
}
@ -162,6 +163,7 @@ static void _call_f_insertWidget_1974 (const qt_gsi::GenericMethod * /*decl*/, v
tl::Heap heap;
int arg1 = gsi::arg_reader<int >() (args, heap);
QWidget *arg2 = gsi::arg_reader<QWidget * >() (args, heap);
qt_gsi::qt_keep (arg2);
ret.write<int > ((int)((QStackedLayout *)cls)->insertWidget (arg1, arg2));
}

View File

@ -1033,6 +1033,7 @@ static void _call_fp_insertItem_2399 (const qt_gsi::GenericMethod * /*decl*/, vo
tl::Heap heap;
int arg1 = gsi::arg_reader<int >() (args, heap);
QLayoutItem *arg2 = gsi::arg_reader<QLayoutItem * >() (args, heap);
qt_gsi::qt_keep (arg2);
__SUPPRESS_UNUSED_WARNING(ret);
((QVBoxLayout_Adaptor *)cls)->fp_QVBoxLayout_insertItem_2399 (arg1, arg2);
}

View File

@ -35,6 +35,7 @@ SOURCES += \
$$PWD/gsiDeclQDataStream.cc \
$$PWD/gsiDeclQDate.cc \
$$PWD/gsiDeclQDateTime.cc \
$$PWD/gsiDeclQDeadlineTimer.cc \
$$PWD/gsiDeclQDebug.cc \
$$PWD/gsiDeclQDebugStateSaver.cc \
$$PWD/gsiDeclQDeferredDeleteEvent.cc \
@ -100,6 +101,7 @@ SOURCES += \
$$PWD/gsiDeclQMutex.cc \
$$PWD/gsiDeclQNoDebug.cc \
$$PWD/gsiDeclQObject.cc \
$$PWD/gsiDeclQOperatingSystemVersion.cc \
$$PWD/gsiDeclQParallelAnimationGroup.cc \
$$PWD/gsiDeclQPauseAnimation.cc \
$$PWD/gsiDeclQPersistentModelIndex.cc \
@ -109,6 +111,8 @@ SOURCES += \
$$PWD/gsiDeclQProcess.cc \
$$PWD/gsiDeclQProcessEnvironment.cc \
$$PWD/gsiDeclQPropertyAnimation.cc \
$$PWD/gsiDeclQRandomGenerator.cc \
$$PWD/gsiDeclQRandomGenerator64.cc \
$$PWD/gsiDeclQReadLocker.cc \
$$PWD/gsiDeclQReadWriteLock.cc \
$$PWD/gsiDeclQRect.cc \
@ -121,6 +125,7 @@ SOURCES += \
$$PWD/gsiDeclQRunnable.cc \
$$PWD/gsiDeclQSaveFile.cc \
$$PWD/gsiDeclQSemaphore.cc \
$$PWD/gsiDeclQSemaphoreReleaser.cc \
$$PWD/gsiDeclQSequentialAnimationGroup.cc \
$$PWD/gsiDeclQSequentialIterable.cc \
$$PWD/gsiDeclQSettings.cc \
@ -164,6 +169,7 @@ SOURCES += \
$$PWD/gsiDeclQUrl.cc \
$$PWD/gsiDeclQUrlQuery.cc \
$$PWD/gsiDeclQVariantAnimation.cc \
$$PWD/gsiDeclQVersionNumber.cc \
$$PWD/gsiDeclQWaitCondition.cc \
$$PWD/gsiDeclQWriteLocker.cc \
$$PWD/gsiDeclQXmlStreamAttribute.cc \

View File

@ -504,18 +504,18 @@ public:
}
}
// [adaptor impl] bool QAbstractAnimation::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QAbstractAnimation::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QAbstractAnimation::eventFilter(arg1, arg2);
return QAbstractAnimation::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QAbstractAnimation_Adaptor, bool, QObject *, QEvent *>(&QAbstractAnimation_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QAbstractAnimation_Adaptor, bool, QObject *, QEvent *>(&QAbstractAnimation_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QAbstractAnimation::eventFilter(arg1, arg2);
return QAbstractAnimation::eventFilter(watched, event);
}
}
@ -538,33 +538,33 @@ public:
emit QAbstractAnimation::stateChanged(newState, oldState);
}
// [adaptor impl] void QAbstractAnimation::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QAbstractAnimation::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QAbstractAnimation::childEvent(arg1);
QAbstractAnimation::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QAbstractAnimation_Adaptor, QChildEvent *>(&QAbstractAnimation_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QAbstractAnimation_Adaptor, QChildEvent *>(&QAbstractAnimation_Adaptor::cbs_childEvent_1701_0, event);
} else {
QAbstractAnimation::childEvent(arg1);
QAbstractAnimation::childEvent(event);
}
}
// [adaptor impl] void QAbstractAnimation::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QAbstractAnimation::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QAbstractAnimation::customEvent(arg1);
QAbstractAnimation::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QAbstractAnimation_Adaptor, QEvent *>(&QAbstractAnimation_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QAbstractAnimation_Adaptor, QEvent *>(&QAbstractAnimation_Adaptor::cbs_customEvent_1217_0, event);
} else {
QAbstractAnimation::customEvent(arg1);
QAbstractAnimation::customEvent(event);
}
}
@ -598,18 +598,18 @@ public:
}
}
// [adaptor impl] void QAbstractAnimation::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QAbstractAnimation::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QAbstractAnimation::timerEvent(arg1);
QAbstractAnimation::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QAbstractAnimation_Adaptor, QTimerEvent *>(&QAbstractAnimation_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QAbstractAnimation_Adaptor, QTimerEvent *>(&QAbstractAnimation_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QAbstractAnimation::timerEvent(arg1);
QAbstractAnimation::timerEvent(event);
}
}
@ -677,7 +677,7 @@ QAbstractAnimation_Adaptor::~QAbstractAnimation_Adaptor() { }
static void _init_ctor_QAbstractAnimation_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
static gsi::ArgSpecBase argspec_0 ("parent", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return_new<QAbstractAnimation_Adaptor> ();
}
@ -686,16 +686,16 @@ static void _call_ctor_QAbstractAnimation_Adaptor_1302 (const qt_gsi::GenericSta
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
ret.write<QAbstractAnimation_Adaptor *> (new QAbstractAnimation_Adaptor (arg1));
}
// void QAbstractAnimation::childEvent(QChildEvent *)
// void QAbstractAnimation::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -733,11 +733,11 @@ static void _call_emitter_currentLoopChanged_767 (const qt_gsi::GenericMethod *
}
// void QAbstractAnimation::customEvent(QEvent *)
// void QAbstractAnimation::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -761,7 +761,7 @@ static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -770,7 +770,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QAbstractAnimation_Adaptor *)cls)->emitter_QAbstractAnimation_destroyed_1302 (arg1);
}
@ -859,13 +859,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QAbstractAnimation::eventFilter(QObject *, QEvent *)
// bool QAbstractAnimation::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -1002,11 +1002,11 @@ static void _call_emitter_stateChanged_5680 (const qt_gsi::GenericMethod * /*dec
}
// void QAbstractAnimation::timerEvent(QTimerEvent *)
// void QAbstractAnimation::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -1109,10 +1109,10 @@ gsi::Class<QAbstractAnimation> &qtdecl_QAbstractAnimation ();
static gsi::Methods methods_QAbstractAnimation_Adaptor () {
gsi::Methods methods;
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractAnimation::QAbstractAnimation(QObject *parent)\nThis method creates an object of class QAbstractAnimation.", &_init_ctor_QAbstractAnimation_Adaptor_1302, &_call_ctor_QAbstractAnimation_Adaptor_1302);
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QAbstractAnimation::childEvent(QChildEvent *)\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", "@brief Virtual method void QAbstractAnimation::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 ("emit_currentLoopChanged", "@brief Emitter for signal void QAbstractAnimation::currentLoopChanged(int currentLoop)\nCall this method to emit this signal.", false, &_init_emitter_currentLoopChanged_767, &_call_emitter_currentLoopChanged_767);
methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QAbstractAnimation::customEvent(QEvent *)\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", "@brief Virtual method void QAbstractAnimation::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 QAbstractAnimation::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302);
methods += new qt_gsi::GenericMethod ("emit_directionChanged", "@brief Emitter for signal void QAbstractAnimation::directionChanged(QAbstractAnimation::Direction)\nCall this method to emit this signal.", false, &_init_emitter_directionChanged_3310, &_call_emitter_directionChanged_3310);
@ -1122,7 +1122,7 @@ static gsi::Methods methods_QAbstractAnimation_Adaptor () {
methods += new qt_gsi::GenericMethod ("duration", "@hide", true, &_init_cbs_duration_c0_0, &_call_cbs_duration_c0_0, &_set_callback_cbs_duration_c0_0);
methods += new qt_gsi::GenericMethod ("*event", "@brief Virtual method bool QAbstractAnimation::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 QAbstractAnimation::eventFilter(QObject *, QEvent *)\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", "@brief Virtual method bool QAbstractAnimation::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_finished", "@brief Emitter for signal void QAbstractAnimation::finished()\nCall this method to emit this signal.", false, &_init_emitter_finished_0, &_call_emitter_finished_0);
methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QAbstractAnimation::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);
@ -1131,7 +1131,7 @@ static gsi::Methods methods_QAbstractAnimation_Adaptor () {
methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QAbstractAnimation::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 QAbstractAnimation::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 ("emit_stateChanged", "@brief Emitter for signal void QAbstractAnimation::stateChanged(QAbstractAnimation::State newState, QAbstractAnimation::State oldState)\nCall this method to emit this signal.", false, &_init_emitter_stateChanged_5680, &_call_emitter_stateChanged_5680);
methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QAbstractAnimation::timerEvent(QTimerEvent *)\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", "@brief Virtual method void QAbstractAnimation::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 ("*updateCurrentTime", "@brief Virtual method void QAbstractAnimation::updateCurrentTime(int currentTime)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_updateCurrentTime_767_0, &_call_cbs_updateCurrentTime_767_0);
methods += new qt_gsi::GenericMethod ("*updateCurrentTime", "@hide", false, &_init_cbs_updateCurrentTime_767_0, &_call_cbs_updateCurrentTime_767_0, &_set_callback_cbs_updateCurrentTime_767_0);

View File

@ -410,7 +410,7 @@ static void _call_f_wakeUp_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls,
static void _init_f_instance_1303 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("thread", true, "0");
static gsi::ArgSpecBase argspec_0 ("thread", true, "nullptr");
decl->add_arg<QThread * > (argspec_0);
decl->set_return<QAbstractEventDispatcher * > ();
}
@ -419,7 +419,7 @@ static void _call_f_instance_1303 (const qt_gsi::GenericStaticMethod * /*decl*/,
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QThread *arg1 = args ? gsi::arg_reader<QThread * >() (args, heap) : gsi::arg_maker<QThread * >() (0, heap);
QThread *arg1 = args ? gsi::arg_reader<QThread * >() (args, heap) : gsi::arg_maker<QThread * >() (nullptr, heap);
ret.write<QAbstractEventDispatcher * > ((QAbstractEventDispatcher *)QAbstractEventDispatcher::instance (arg1));
}
@ -594,33 +594,33 @@ public:
emit QAbstractEventDispatcher::destroyed(arg1);
}
// [adaptor impl] bool QAbstractEventDispatcher::event(QEvent *)
bool cbs_event_1217_0(QEvent *arg1)
// [adaptor impl] bool QAbstractEventDispatcher::event(QEvent *event)
bool cbs_event_1217_0(QEvent *_event)
{
return QAbstractEventDispatcher::event(arg1);
return QAbstractEventDispatcher::event(_event);
}
virtual bool event(QEvent *arg1)
virtual bool event(QEvent *_event)
{
if (cb_event_1217_0.can_issue()) {
return cb_event_1217_0.issue<QAbstractEventDispatcher_Adaptor, bool, QEvent *>(&QAbstractEventDispatcher_Adaptor::cbs_event_1217_0, arg1);
return cb_event_1217_0.issue<QAbstractEventDispatcher_Adaptor, bool, QEvent *>(&QAbstractEventDispatcher_Adaptor::cbs_event_1217_0, _event);
} else {
return QAbstractEventDispatcher::event(arg1);
return QAbstractEventDispatcher::event(_event);
}
}
// [adaptor impl] bool QAbstractEventDispatcher::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QAbstractEventDispatcher::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QAbstractEventDispatcher::eventFilter(arg1, arg2);
return QAbstractEventDispatcher::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QAbstractEventDispatcher_Adaptor, bool, QObject *, QEvent *>(&QAbstractEventDispatcher_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QAbstractEventDispatcher_Adaptor, bool, QObject *, QEvent *>(&QAbstractEventDispatcher_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QAbstractEventDispatcher::eventFilter(arg1, arg2);
return QAbstractEventDispatcher::eventFilter(watched, event);
}
}
@ -837,33 +837,33 @@ public:
}
}
// [adaptor impl] void QAbstractEventDispatcher::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QAbstractEventDispatcher::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QAbstractEventDispatcher::childEvent(arg1);
QAbstractEventDispatcher::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QAbstractEventDispatcher_Adaptor, QChildEvent *>(&QAbstractEventDispatcher_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QAbstractEventDispatcher_Adaptor, QChildEvent *>(&QAbstractEventDispatcher_Adaptor::cbs_childEvent_1701_0, event);
} else {
QAbstractEventDispatcher::childEvent(arg1);
QAbstractEventDispatcher::childEvent(event);
}
}
// [adaptor impl] void QAbstractEventDispatcher::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QAbstractEventDispatcher::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QAbstractEventDispatcher::customEvent(arg1);
QAbstractEventDispatcher::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QAbstractEventDispatcher_Adaptor, QEvent *>(&QAbstractEventDispatcher_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QAbstractEventDispatcher_Adaptor, QEvent *>(&QAbstractEventDispatcher_Adaptor::cbs_customEvent_1217_0, event);
} else {
QAbstractEventDispatcher::customEvent(arg1);
QAbstractEventDispatcher::customEvent(event);
}
}
@ -882,18 +882,18 @@ public:
}
}
// [adaptor impl] void QAbstractEventDispatcher::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QAbstractEventDispatcher::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QAbstractEventDispatcher::timerEvent(arg1);
QAbstractEventDispatcher::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QAbstractEventDispatcher_Adaptor, QTimerEvent *>(&QAbstractEventDispatcher_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QAbstractEventDispatcher_Adaptor, QTimerEvent *>(&QAbstractEventDispatcher_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QAbstractEventDispatcher::timerEvent(arg1);
QAbstractEventDispatcher::timerEvent(event);
}
}
@ -925,7 +925,7 @@ QAbstractEventDispatcher_Adaptor::~QAbstractEventDispatcher_Adaptor() { }
static void _init_ctor_QAbstractEventDispatcher_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
static gsi::ArgSpecBase argspec_0 ("parent", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return_new<QAbstractEventDispatcher_Adaptor> ();
}
@ -934,7 +934,7 @@ static void _call_ctor_QAbstractEventDispatcher_Adaptor_1302 (const qt_gsi::Gene
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
ret.write<QAbstractEventDispatcher_Adaptor *> (new QAbstractEventDispatcher_Adaptor (arg1));
}
@ -967,11 +967,11 @@ static void _call_emitter_awake_0 (const qt_gsi::GenericMethod * /*decl*/, void
}
// void QAbstractEventDispatcher::childEvent(QChildEvent *)
// void QAbstractEventDispatcher::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -1011,11 +1011,11 @@ static void _set_callback_cbs_closingDown_0_0 (void *cls, const gsi::Callback &c
}
// void QAbstractEventDispatcher::customEvent(QEvent *)
// void QAbstractEventDispatcher::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -1039,7 +1039,7 @@ static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -1048,7 +1048,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QAbstractEventDispatcher_Adaptor *)cls)->emitter_QAbstractEventDispatcher_destroyed_1302 (arg1);
}
@ -1077,11 +1077,11 @@ static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Cal
}
// bool QAbstractEventDispatcher::event(QEvent *)
// bool QAbstractEventDispatcher::event(QEvent *event)
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<bool > ();
}
@ -1100,13 +1100,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QAbstractEventDispatcher::eventFilter(QObject *, QEvent *)
// bool QAbstractEventDispatcher::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -1413,11 +1413,11 @@ static void _set_callback_cbs_startingUp_0_0 (void *cls, const gsi::Callback &cb
}
// void QAbstractEventDispatcher::timerEvent(QTimerEvent *)
// void QAbstractEventDispatcher::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -1537,18 +1537,18 @@ static gsi::Methods methods_QAbstractEventDispatcher_Adaptor () {
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractEventDispatcher::QAbstractEventDispatcher(QObject *parent)\nThis method creates an object of class QAbstractEventDispatcher.", &_init_ctor_QAbstractEventDispatcher_Adaptor_1302, &_call_ctor_QAbstractEventDispatcher_Adaptor_1302);
methods += new qt_gsi::GenericMethod ("emit_aboutToBlock", "@brief Emitter for signal void QAbstractEventDispatcher::aboutToBlock()\nCall this method to emit this signal.", false, &_init_emitter_aboutToBlock_0, &_call_emitter_aboutToBlock_0);
methods += new qt_gsi::GenericMethod ("emit_awake", "@brief Emitter for signal void QAbstractEventDispatcher::awake()\nCall this method to emit this signal.", false, &_init_emitter_awake_0, &_call_emitter_awake_0);
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QAbstractEventDispatcher::childEvent(QChildEvent *)\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", "@brief Virtual method void QAbstractEventDispatcher::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 ("closingDown", "@brief Virtual method void QAbstractEventDispatcher::closingDown()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_closingDown_0_0, &_call_cbs_closingDown_0_0);
methods += new qt_gsi::GenericMethod ("closingDown", "@hide", false, &_init_cbs_closingDown_0_0, &_call_cbs_closingDown_0_0, &_set_callback_cbs_closingDown_0_0);
methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QAbstractEventDispatcher::customEvent(QEvent *)\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", "@brief Virtual method void QAbstractEventDispatcher::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 QAbstractEventDispatcher::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 QAbstractEventDispatcher::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 QAbstractEventDispatcher::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", "@brief Virtual method bool QAbstractEventDispatcher::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 QAbstractEventDispatcher::eventFilter(QObject *, QEvent *)\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", "@brief Virtual method bool QAbstractEventDispatcher::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 ("flush", "@brief Virtual method void QAbstractEventDispatcher::flush()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_flush_0_0, &_call_cbs_flush_0_0);
methods += new qt_gsi::GenericMethod ("flush", "@hide", false, &_init_cbs_flush_0_0, &_call_cbs_flush_0_0, &_set_callback_cbs_flush_0_0);
@ -1573,7 +1573,7 @@ static gsi::Methods methods_QAbstractEventDispatcher_Adaptor () {
methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QAbstractEventDispatcher::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 ("startingUp", "@brief Virtual method void QAbstractEventDispatcher::startingUp()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_startingUp_0_0, &_call_cbs_startingUp_0_0);
methods += new qt_gsi::GenericMethod ("startingUp", "@hide", false, &_init_cbs_startingUp_0_0, &_call_cbs_startingUp_0_0, &_set_callback_cbs_startingUp_0_0);
methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QAbstractEventDispatcher::timerEvent(QTimerEvent *)\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", "@brief Virtual method void QAbstractEventDispatcher::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 ("unregisterSocketNotifier", "@brief Virtual method void QAbstractEventDispatcher::unregisterSocketNotifier(QSocketNotifier *notifier)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_unregisterSocketNotifier_2152_0, &_call_cbs_unregisterSocketNotifier_2152_0);
methods += new qt_gsi::GenericMethod ("unregisterSocketNotifier", "@hide", false, &_init_cbs_unregisterSocketNotifier_2152_0, &_call_cbs_unregisterSocketNotifier_2152_0, &_set_callback_cbs_unregisterSocketNotifier_2152_0);

View File

@ -128,6 +128,28 @@ static void _call_f_canFetchMore_c2395 (const qt_gsi::GenericMethod * /*decl*/,
}
// bool QAbstractItemModel::checkIndex(const QModelIndex &index, QFlags<QAbstractItemModel::CheckIndexOption> options)
static void _init_f_checkIndex_c6947 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("index");
decl->add_arg<const QModelIndex & > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("options", true, "QAbstractItemModel::CheckIndexOption::NoOption");
decl->add_arg<QFlags<QAbstractItemModel::CheckIndexOption> > (argspec_1);
decl->set_return<bool > ();
}
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<const QModelIndex & >() (args, heap);
QFlags<QAbstractItemModel::CheckIndexOption> arg2 = args ? gsi::arg_reader<QFlags<QAbstractItemModel::CheckIndexOption> >() (args, heap) : gsi::arg_maker<QFlags<QAbstractItemModel::CheckIndexOption> >() (QAbstractItemModel::CheckIndexOption::NoOption, heap);
ret.write<bool > ((bool)((QAbstractItemModel *)cls)->checkIndex (arg1, arg2));
}
// int QAbstractItemModel::columnCount(const QModelIndex &parent)
@ -1053,6 +1075,7 @@ static gsi::Methods methods_QAbstractItemModel () {
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<QAbstractItemModel::CheckIndexOption> options)\n", true, &_init_f_checkIndex_c6947, &_call_f_checkIndex_c6947);
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);
@ -1439,33 +1462,33 @@ public:
}
}
// [adaptor impl] bool QAbstractItemModel::event(QEvent *)
bool cbs_event_1217_0(QEvent *arg1)
// [adaptor impl] bool QAbstractItemModel::event(QEvent *event)
bool cbs_event_1217_0(QEvent *_event)
{
return QAbstractItemModel::event(arg1);
return QAbstractItemModel::event(_event);
}
virtual bool event(QEvent *arg1)
virtual bool event(QEvent *_event)
{
if (cb_event_1217_0.can_issue()) {
return cb_event_1217_0.issue<QAbstractItemModel_Adaptor, bool, QEvent *>(&QAbstractItemModel_Adaptor::cbs_event_1217_0, arg1);
return cb_event_1217_0.issue<QAbstractItemModel_Adaptor, bool, QEvent *>(&QAbstractItemModel_Adaptor::cbs_event_1217_0, _event);
} else {
return QAbstractItemModel::event(arg1);
return QAbstractItemModel::event(_event);
}
}
// [adaptor impl] bool QAbstractItemModel::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QAbstractItemModel::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QAbstractItemModel::eventFilter(arg1, arg2);
return QAbstractItemModel::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QAbstractItemModel_Adaptor, bool, QObject *, QEvent *>(&QAbstractItemModel_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QAbstractItemModel_Adaptor, bool, QObject *, QEvent *>(&QAbstractItemModel_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QAbstractItemModel::eventFilter(arg1, arg2);
return QAbstractItemModel::eventFilter(watched, event);
}
}
@ -1989,33 +2012,33 @@ public:
}
}
// [adaptor impl] void QAbstractItemModel::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QAbstractItemModel::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QAbstractItemModel::childEvent(arg1);
QAbstractItemModel::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QAbstractItemModel_Adaptor, QChildEvent *>(&QAbstractItemModel_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QAbstractItemModel_Adaptor, QChildEvent *>(&QAbstractItemModel_Adaptor::cbs_childEvent_1701_0, event);
} else {
QAbstractItemModel::childEvent(arg1);
QAbstractItemModel::childEvent(event);
}
}
// [adaptor impl] void QAbstractItemModel::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QAbstractItemModel::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QAbstractItemModel::customEvent(arg1);
QAbstractItemModel::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QAbstractItemModel_Adaptor, QEvent *>(&QAbstractItemModel_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QAbstractItemModel_Adaptor, QEvent *>(&QAbstractItemModel_Adaptor::cbs_customEvent_1217_0, event);
} else {
QAbstractItemModel::customEvent(arg1);
QAbstractItemModel::customEvent(event);
}
}
@ -2034,18 +2057,18 @@ public:
}
}
// [adaptor impl] void QAbstractItemModel::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QAbstractItemModel::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QAbstractItemModel::timerEvent(arg1);
QAbstractItemModel::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QAbstractItemModel_Adaptor, QTimerEvent *>(&QAbstractItemModel_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QAbstractItemModel_Adaptor, QTimerEvent *>(&QAbstractItemModel_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QAbstractItemModel::timerEvent(arg1);
QAbstractItemModel::timerEvent(event);
}
}
@ -2097,7 +2120,7 @@ QAbstractItemModel_Adaptor::~QAbstractItemModel_Adaptor() { }
static void _init_ctor_QAbstractItemModel_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
static gsi::ArgSpecBase argspec_0 ("parent", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return_new<QAbstractItemModel_Adaptor> ();
}
@ -2106,7 +2129,7 @@ static void _call_ctor_QAbstractItemModel_Adaptor_1302 (const qt_gsi::GenericSta
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
ret.write<QAbstractItemModel_Adaptor *> (new QAbstractItemModel_Adaptor (arg1));
}
@ -2411,11 +2434,11 @@ static void _call_fp_changePersistentIndexList_5912 (const qt_gsi::GenericMethod
}
// void QAbstractItemModel::childEvent(QChildEvent *)
// void QAbstractItemModel::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -2622,7 +2645,7 @@ static void _init_fp_createIndex_c2374 (qt_gsi::GenericMethod *decl)
decl->add_arg<int > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("column");
decl->add_arg<int > (argspec_1);
static gsi::ArgSpecBase argspec_2 ("data", true, "0");
static gsi::ArgSpecBase argspec_2 ("data", true, "nullptr");
decl->add_arg<void * > (argspec_2);
decl->set_return<QModelIndex > ();
}
@ -2633,7 +2656,7 @@ static void _call_fp_createIndex_c2374 (const qt_gsi::GenericMethod * /*decl*/,
tl::Heap heap;
int arg1 = gsi::arg_reader<int >() (args, heap);
int arg2 = gsi::arg_reader<int >() (args, heap);
void *arg3 = args ? gsi::arg_reader<void * >() (args, heap) : gsi::arg_maker<void * >() (0, heap);
void *arg3 = args ? gsi::arg_reader<void * >() (args, heap) : gsi::arg_maker<void * >() (nullptr, heap);
ret.write<QModelIndex > ((QModelIndex)((QAbstractItemModel_Adaptor *)cls)->fp_QAbstractItemModel_createIndex_c2374 (arg1, arg2, arg3));
}
@ -2662,11 +2685,11 @@ static void _call_fp_createIndex_c2657 (const qt_gsi::GenericMethod * /*decl*/,
}
// void QAbstractItemModel::customEvent(QEvent *)
// void QAbstractItemModel::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -2767,7 +2790,7 @@ static void _call_fp_decodeData_5302 (const qt_gsi::GenericMethod * /*decl*/, vo
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -2776,7 +2799,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QAbstractItemModel_Adaptor *)cls)->emitter_QAbstractItemModel_destroyed_1302 (arg1);
}
@ -2967,11 +2990,11 @@ static void _call_fp_endResetModel_0 (const qt_gsi::GenericMethod * /*decl*/, vo
}
// bool QAbstractItemModel::event(QEvent *)
// bool QAbstractItemModel::event(QEvent *event)
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<bool > ();
}
@ -2990,13 +3013,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QAbstractItemModel::eventFilter(QObject *, QEvent *)
// bool QAbstractItemModel::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -4099,11 +4122,11 @@ static void _set_callback_cbs_supportedDropActions_c0_0 (void *cls, const gsi::C
}
// void QAbstractItemModel::timerEvent(QTimerEvent *)
// void QAbstractItemModel::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -4146,7 +4169,7 @@ static gsi::Methods methods_QAbstractItemModel_Adaptor () {
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<QModelIndex> &from, const QList<QModelIndex> &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 *)\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", "@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 ("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);
@ -4158,7 +4181,7 @@ static gsi::Methods methods_QAbstractItemModel_Adaptor () {
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, void *data)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_createIndex_c2374, &_call_fp_createIndex_c2374);
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 *)\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", "@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);
@ -4177,9 +4200,9 @@ static gsi::Methods methods_QAbstractItemModel_Adaptor () {
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 *)\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", "@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 *, QEvent *)\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", "@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);
@ -4255,7 +4278,7 @@ static gsi::Methods methods_QAbstractItemModel_Adaptor () {
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<Qt::DropAction> 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 *)\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", "@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;
}
@ -4267,6 +4290,26 @@ gsi::Class<QAbstractItemModel_Adaptor> decl_QAbstractItemModel_Adaptor (qtdecl_Q
}
// Implementation of the enum wrapper class for QAbstractItemModel::CheckIndexOption
namespace qt_gsi
{
static gsi::Enum<QAbstractItemModel::CheckIndexOption> decl_QAbstractItemModel_CheckIndexOption_Enum ("QtCore", "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<QAbstractItemModel::CheckIndexOption > decl_QAbstractItemModel_CheckIndexOption_Enums ("QtCore", "QAbstractItemModel_QFlags_CheckIndexOption",
"@qt\n@brief This class represents the QFlags<QAbstractItemModel::CheckIndexOption> flag set");
static gsi::ClassExt<QAbstractItemModel> decl_QAbstractItemModel_CheckIndexOption_Enum_as_child (decl_QAbstractItemModel_CheckIndexOption_Enum, "CheckIndexOption");
static gsi::ClassExt<QAbstractItemModel> decl_QAbstractItemModel_CheckIndexOption_Enums_as_child (decl_QAbstractItemModel_CheckIndexOption_Enums, "QFlags_CheckIndexOption");
}
// Implementation of the enum wrapper class for QAbstractItemModel::LayoutChangeHint
namespace qt_gsi
{

View File

@ -566,33 +566,33 @@ public:
}
}
// [adaptor impl] bool QAbstractListModel::event(QEvent *)
bool cbs_event_1217_0(QEvent *arg1)
// [adaptor impl] bool QAbstractListModel::event(QEvent *event)
bool cbs_event_1217_0(QEvent *_event)
{
return QAbstractListModel::event(arg1);
return QAbstractListModel::event(_event);
}
virtual bool event(QEvent *arg1)
virtual bool event(QEvent *_event)
{
if (cb_event_1217_0.can_issue()) {
return cb_event_1217_0.issue<QAbstractListModel_Adaptor, bool, QEvent *>(&QAbstractListModel_Adaptor::cbs_event_1217_0, arg1);
return cb_event_1217_0.issue<QAbstractListModel_Adaptor, bool, QEvent *>(&QAbstractListModel_Adaptor::cbs_event_1217_0, _event);
} else {
return QAbstractListModel::event(arg1);
return QAbstractListModel::event(_event);
}
}
// [adaptor impl] bool QAbstractListModel::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QAbstractListModel::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QAbstractListModel::eventFilter(arg1, arg2);
return QAbstractListModel::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QAbstractListModel_Adaptor, bool, QObject *, QEvent *>(&QAbstractListModel_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QAbstractListModel_Adaptor, bool, QObject *, QEvent *>(&QAbstractListModel_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QAbstractListModel::eventFilter(arg1, arg2);
return QAbstractListModel::eventFilter(watched, event);
}
}
@ -1082,33 +1082,33 @@ public:
}
}
// [adaptor impl] void QAbstractListModel::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QAbstractListModel::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QAbstractListModel::childEvent(arg1);
QAbstractListModel::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QAbstractListModel_Adaptor, QChildEvent *>(&QAbstractListModel_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QAbstractListModel_Adaptor, QChildEvent *>(&QAbstractListModel_Adaptor::cbs_childEvent_1701_0, event);
} else {
QAbstractListModel::childEvent(arg1);
QAbstractListModel::childEvent(event);
}
}
// [adaptor impl] void QAbstractListModel::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QAbstractListModel::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QAbstractListModel::customEvent(arg1);
QAbstractListModel::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QAbstractListModel_Adaptor, QEvent *>(&QAbstractListModel_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QAbstractListModel_Adaptor, QEvent *>(&QAbstractListModel_Adaptor::cbs_customEvent_1217_0, event);
} else {
QAbstractListModel::customEvent(arg1);
QAbstractListModel::customEvent(event);
}
}
@ -1127,18 +1127,18 @@ public:
}
}
// [adaptor impl] void QAbstractListModel::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QAbstractListModel::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QAbstractListModel::timerEvent(arg1);
QAbstractListModel::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QAbstractListModel_Adaptor, QTimerEvent *>(&QAbstractListModel_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QAbstractListModel_Adaptor, QTimerEvent *>(&QAbstractListModel_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QAbstractListModel::timerEvent(arg1);
QAbstractListModel::timerEvent(event);
}
}
@ -1187,7 +1187,7 @@ QAbstractListModel_Adaptor::~QAbstractListModel_Adaptor() { }
static void _init_ctor_QAbstractListModel_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
static gsi::ArgSpecBase argspec_0 ("parent", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return_new<QAbstractListModel_Adaptor> ();
}
@ -1196,7 +1196,7 @@ static void _call_ctor_QAbstractListModel_Adaptor_1302 (const qt_gsi::GenericSta
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
ret.write<QAbstractListModel_Adaptor *> (new QAbstractListModel_Adaptor (arg1));
}
@ -1501,11 +1501,11 @@ static void _call_fp_changePersistentIndexList_5912 (const qt_gsi::GenericMethod
}
// void QAbstractListModel::childEvent(QChildEvent *)
// void QAbstractListModel::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -1689,7 +1689,7 @@ static void _init_fp_createIndex_c2374 (qt_gsi::GenericMethod *decl)
decl->add_arg<int > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("column");
decl->add_arg<int > (argspec_1);
static gsi::ArgSpecBase argspec_2 ("data", true, "0");
static gsi::ArgSpecBase argspec_2 ("data", true, "nullptr");
decl->add_arg<void * > (argspec_2);
decl->set_return<QModelIndex > ();
}
@ -1700,7 +1700,7 @@ static void _call_fp_createIndex_c2374 (const qt_gsi::GenericMethod * /*decl*/,
tl::Heap heap;
int arg1 = gsi::arg_reader<int >() (args, heap);
int arg2 = gsi::arg_reader<int >() (args, heap);
void *arg3 = args ? gsi::arg_reader<void * >() (args, heap) : gsi::arg_maker<void * >() (0, heap);
void *arg3 = args ? gsi::arg_reader<void * >() (args, heap) : gsi::arg_maker<void * >() (nullptr, heap);
ret.write<QModelIndex > ((QModelIndex)((QAbstractListModel_Adaptor *)cls)->fp_QAbstractListModel_createIndex_c2374 (arg1, arg2, arg3));
}
@ -1729,11 +1729,11 @@ static void _call_fp_createIndex_c2657 (const qt_gsi::GenericMethod * /*decl*/,
}
// void QAbstractListModel::customEvent(QEvent *)
// void QAbstractListModel::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -1834,7 +1834,7 @@ static void _call_fp_decodeData_5302 (const qt_gsi::GenericMethod * /*decl*/, vo
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -1843,7 +1843,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QAbstractListModel_Adaptor *)cls)->emitter_QAbstractListModel_destroyed_1302 (arg1);
}
@ -2034,11 +2034,11 @@ static void _call_fp_endResetModel_0 (const qt_gsi::GenericMethod * /*decl*/, vo
}
// bool QAbstractListModel::event(QEvent *)
// bool QAbstractListModel::event(QEvent *event)
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<bool > ();
}
@ -2057,13 +2057,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QAbstractListModel::eventFilter(QObject *, QEvent *)
// bool QAbstractListModel::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -3120,11 +3120,11 @@ static void _set_callback_cbs_supportedDropActions_c0_0 (void *cls, const gsi::C
}
// void QAbstractListModel::timerEvent(QTimerEvent *)
// void QAbstractListModel::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -3167,7 +3167,7 @@ static gsi::Methods methods_QAbstractListModel_Adaptor () {
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<QModelIndex> &from, const QList<QModelIndex> &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 *)\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", "@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 ("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);
@ -3177,7 +3177,7 @@ static gsi::Methods methods_QAbstractListModel_Adaptor () {
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, void *data)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_createIndex_c2374, &_call_fp_createIndex_c2374);
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 *)\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", "@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);
@ -3196,9 +3196,9 @@ static gsi::Methods methods_QAbstractListModel_Adaptor () {
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 *)\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", "@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 *, QEvent *)\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", "@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);
@ -3270,7 +3270,7 @@ static gsi::Methods methods_QAbstractListModel_Adaptor () {
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<Qt::DropAction> 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 *)\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", "@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;
}

View File

@ -1063,33 +1063,33 @@ public:
}
}
// [adaptor impl] bool QAbstractProxyModel::event(QEvent *)
bool cbs_event_1217_0(QEvent *arg1)
// [adaptor impl] bool QAbstractProxyModel::event(QEvent *event)
bool cbs_event_1217_0(QEvent *_event)
{
return QAbstractProxyModel::event(arg1);
return QAbstractProxyModel::event(_event);
}
virtual bool event(QEvent *arg1)
virtual bool event(QEvent *_event)
{
if (cb_event_1217_0.can_issue()) {
return cb_event_1217_0.issue<QAbstractProxyModel_Adaptor, bool, QEvent *>(&QAbstractProxyModel_Adaptor::cbs_event_1217_0, arg1);
return cb_event_1217_0.issue<QAbstractProxyModel_Adaptor, bool, QEvent *>(&QAbstractProxyModel_Adaptor::cbs_event_1217_0, _event);
} else {
return QAbstractProxyModel::event(arg1);
return QAbstractProxyModel::event(_event);
}
}
// [adaptor impl] bool QAbstractProxyModel::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QAbstractProxyModel::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QAbstractProxyModel::eventFilter(arg1, arg2);
return QAbstractProxyModel::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QAbstractProxyModel_Adaptor, bool, QObject *, QEvent *>(&QAbstractProxyModel_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QAbstractProxyModel_Adaptor, bool, QObject *, QEvent *>(&QAbstractProxyModel_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QAbstractProxyModel::eventFilter(arg1, arg2);
return QAbstractProxyModel::eventFilter(watched, event);
}
}
@ -1696,33 +1696,33 @@ public:
}
}
// [adaptor impl] void QAbstractProxyModel::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QAbstractProxyModel::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QAbstractProxyModel::childEvent(arg1);
QAbstractProxyModel::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QAbstractProxyModel_Adaptor, QChildEvent *>(&QAbstractProxyModel_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QAbstractProxyModel_Adaptor, QChildEvent *>(&QAbstractProxyModel_Adaptor::cbs_childEvent_1701_0, event);
} else {
QAbstractProxyModel::childEvent(arg1);
QAbstractProxyModel::childEvent(event);
}
}
// [adaptor impl] void QAbstractProxyModel::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QAbstractProxyModel::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QAbstractProxyModel::customEvent(arg1);
QAbstractProxyModel::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QAbstractProxyModel_Adaptor, QEvent *>(&QAbstractProxyModel_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QAbstractProxyModel_Adaptor, QEvent *>(&QAbstractProxyModel_Adaptor::cbs_customEvent_1217_0, event);
} else {
QAbstractProxyModel::customEvent(arg1);
QAbstractProxyModel::customEvent(event);
}
}
@ -1741,18 +1741,18 @@ public:
}
}
// [adaptor impl] void QAbstractProxyModel::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QAbstractProxyModel::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QAbstractProxyModel::timerEvent(arg1);
QAbstractProxyModel::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QAbstractProxyModel_Adaptor, QTimerEvent *>(&QAbstractProxyModel_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QAbstractProxyModel_Adaptor, QTimerEvent *>(&QAbstractProxyModel_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QAbstractProxyModel::timerEvent(arg1);
QAbstractProxyModel::timerEvent(event);
}
}
@ -1809,7 +1809,7 @@ QAbstractProxyModel_Adaptor::~QAbstractProxyModel_Adaptor() { }
static void _init_ctor_QAbstractProxyModel_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
static gsi::ArgSpecBase argspec_0 ("parent", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return_new<QAbstractProxyModel_Adaptor> ();
}
@ -1818,7 +1818,7 @@ static void _call_ctor_QAbstractProxyModel_Adaptor_1302 (const qt_gsi::GenericSt
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
ret.write<QAbstractProxyModel_Adaptor *> (new QAbstractProxyModel_Adaptor (arg1));
}
@ -2123,11 +2123,11 @@ static void _call_fp_changePersistentIndexList_5912 (const qt_gsi::GenericMethod
}
// void QAbstractProxyModel::childEvent(QChildEvent *)
// void QAbstractProxyModel::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -2334,7 +2334,7 @@ static void _init_fp_createIndex_c2374 (qt_gsi::GenericMethod *decl)
decl->add_arg<int > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("column");
decl->add_arg<int > (argspec_1);
static gsi::ArgSpecBase argspec_2 ("data", true, "0");
static gsi::ArgSpecBase argspec_2 ("data", true, "nullptr");
decl->add_arg<void * > (argspec_2);
decl->set_return<QModelIndex > ();
}
@ -2345,7 +2345,7 @@ static void _call_fp_createIndex_c2374 (const qt_gsi::GenericMethod * /*decl*/,
tl::Heap heap;
int arg1 = gsi::arg_reader<int >() (args, heap);
int arg2 = gsi::arg_reader<int >() (args, heap);
void *arg3 = args ? gsi::arg_reader<void * >() (args, heap) : gsi::arg_maker<void * >() (0, heap);
void *arg3 = args ? gsi::arg_reader<void * >() (args, heap) : gsi::arg_maker<void * >() (nullptr, heap);
ret.write<QModelIndex > ((QModelIndex)((QAbstractProxyModel_Adaptor *)cls)->fp_QAbstractProxyModel_createIndex_c2374 (arg1, arg2, arg3));
}
@ -2374,11 +2374,11 @@ static void _call_fp_createIndex_c2657 (const qt_gsi::GenericMethod * /*decl*/,
}
// void QAbstractProxyModel::customEvent(QEvent *)
// void QAbstractProxyModel::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -2479,7 +2479,7 @@ static void _call_fp_decodeData_5302 (const qt_gsi::GenericMethod * /*decl*/, vo
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -2488,7 +2488,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QAbstractProxyModel_Adaptor *)cls)->emitter_QAbstractProxyModel_destroyed_1302 (arg1);
}
@ -2679,11 +2679,11 @@ static void _call_fp_endResetModel_0 (const qt_gsi::GenericMethod * /*decl*/, vo
}
// bool QAbstractProxyModel::event(QEvent *)
// bool QAbstractProxyModel::event(QEvent *event)
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<bool > ();
}
@ -2702,13 +2702,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QAbstractProxyModel::eventFilter(QObject *, QEvent *)
// bool QAbstractProxyModel::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -3941,11 +3941,11 @@ static void _set_callback_cbs_supportedDropActions_c0_0 (void *cls, const gsi::C
}
// void QAbstractProxyModel::timerEvent(QTimerEvent *)
// void QAbstractProxyModel::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -3988,7 +3988,7 @@ static gsi::Methods methods_QAbstractProxyModel_Adaptor () {
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 QAbstractProxyModel::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 QAbstractProxyModel::changePersistentIndexList(const QList<QModelIndex> &from, const QList<QModelIndex> &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 QAbstractProxyModel::childEvent(QChildEvent *)\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", "@brief Virtual method void QAbstractProxyModel::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 ("columnCount", "@brief Virtual method int QAbstractProxyModel::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);
@ -4000,7 +4000,7 @@ static gsi::Methods methods_QAbstractProxyModel_Adaptor () {
methods += new qt_gsi::GenericMethod ("emit_columnsRemoved", "@brief Emitter for signal void QAbstractProxyModel::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 QAbstractProxyModel::createIndex(int row, int column, void *data)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_createIndex_c2374, &_call_fp_createIndex_c2374);
methods += new qt_gsi::GenericMethod ("*createIndex", "@brief Method QModelIndex QAbstractProxyModel::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 QAbstractProxyModel::customEvent(QEvent *)\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", "@brief Virtual method void QAbstractProxyModel::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 QAbstractProxyModel::data(const QModelIndex &proxyIndex, 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);
@ -4019,9 +4019,9 @@ static gsi::Methods methods_QAbstractProxyModel_Adaptor () {
methods += new qt_gsi::GenericMethod ("*endRemoveColumns", "@brief Method void QAbstractProxyModel::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 QAbstractProxyModel::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 QAbstractProxyModel::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 QAbstractProxyModel::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", "@brief Virtual method bool QAbstractProxyModel::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 QAbstractProxyModel::eventFilter(QObject *, QEvent *)\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", "@brief Virtual method bool QAbstractProxyModel::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 QAbstractProxyModel::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);
@ -4108,7 +4108,7 @@ static gsi::Methods methods_QAbstractProxyModel_Adaptor () {
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<Qt::DropAction> QAbstractProxyModel::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 QAbstractProxyModel::timerEvent(QTimerEvent *)\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", "@brief Virtual method void QAbstractProxyModel::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;
}

View File

@ -231,18 +231,18 @@ public:
throw tl::Exception ("Can't emit private signal 'void QAbstractState::entered()'");
}
// [adaptor impl] bool QAbstractState::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QAbstractState::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QAbstractState::eventFilter(arg1, arg2);
return QAbstractState::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QAbstractState_Adaptor, bool, QObject *, QEvent *>(&QAbstractState_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QAbstractState_Adaptor, bool, QObject *, QEvent *>(&QAbstractState_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QAbstractState::eventFilter(arg1, arg2);
return QAbstractState::eventFilter(watched, event);
}
}
@ -259,33 +259,33 @@ public:
throw tl::Exception ("Can't emit private signal 'void QAbstractState::objectNameChanged(const QString &objectName)'");
}
// [adaptor impl] void QAbstractState::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QAbstractState::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QAbstractState::childEvent(arg1);
QAbstractState::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QAbstractState_Adaptor, QChildEvent *>(&QAbstractState_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QAbstractState_Adaptor, QChildEvent *>(&QAbstractState_Adaptor::cbs_childEvent_1701_0, event);
} else {
QAbstractState::childEvent(arg1);
QAbstractState::childEvent(event);
}
}
// [adaptor impl] void QAbstractState::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QAbstractState::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QAbstractState::customEvent(arg1);
QAbstractState::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QAbstractState_Adaptor, QEvent *>(&QAbstractState_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QAbstractState_Adaptor, QEvent *>(&QAbstractState_Adaptor::cbs_customEvent_1217_0, event);
} else {
QAbstractState::customEvent(arg1);
QAbstractState::customEvent(event);
}
}
@ -351,18 +351,18 @@ public:
}
}
// [adaptor impl] void QAbstractState::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QAbstractState::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QAbstractState::timerEvent(arg1);
QAbstractState::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QAbstractState_Adaptor, QTimerEvent *>(&QAbstractState_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QAbstractState_Adaptor, QTimerEvent *>(&QAbstractState_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QAbstractState::timerEvent(arg1);
QAbstractState::timerEvent(event);
}
}
@ -410,11 +410,11 @@ static void _call_emitter_activeChanged_864 (const qt_gsi::GenericMethod * /*dec
}
// void QAbstractState::childEvent(QChildEvent *)
// void QAbstractState::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -434,11 +434,11 @@ static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback
}
// void QAbstractState::customEvent(QEvent *)
// void QAbstractState::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -462,7 +462,7 @@ static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -471,7 +471,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QAbstractState_Adaptor *)cls)->emitter_QAbstractState_destroyed_1302 (arg1);
}
@ -537,13 +537,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QAbstractState::eventFilter(QObject *, QEvent *)
// bool QAbstractState::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -707,11 +707,11 @@ static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*
}
// void QAbstractState::timerEvent(QTimerEvent *)
// void QAbstractState::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -740,9 +740,9 @@ static gsi::Methods methods_QAbstractState_Adaptor () {
gsi::Methods methods;
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractState::QAbstractState()\nThis method creates an object of class QAbstractState.", &_init_ctor_QAbstractState_Adaptor_0, &_call_ctor_QAbstractState_Adaptor_0);
methods += new qt_gsi::GenericMethod ("emit_activeChanged", "@brief Emitter for signal void QAbstractState::activeChanged(bool active)\nCall this method to emit this signal.", false, &_init_emitter_activeChanged_864, &_call_emitter_activeChanged_864);
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QAbstractState::childEvent(QChildEvent *)\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", "@brief Virtual method void QAbstractState::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 QAbstractState::customEvent(QEvent *)\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", "@brief Virtual method void QAbstractState::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 QAbstractState::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 QAbstractState::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0);
@ -750,7 +750,7 @@ static gsi::Methods methods_QAbstractState_Adaptor () {
methods += new qt_gsi::GenericMethod ("emit_entered", "@brief Emitter for signal void QAbstractState::entered()\nCall this method to emit this signal.", false, &_init_emitter_entered_3384, &_call_emitter_entered_3384);
methods += new qt_gsi::GenericMethod ("*event", "@brief Virtual method bool QAbstractState::event(QEvent *e)\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 QAbstractState::eventFilter(QObject *, QEvent *)\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", "@brief Virtual method bool QAbstractState::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_exited", "@brief Emitter for signal void QAbstractState::exited()\nCall this method to emit this signal.", false, &_init_emitter_exited_3384, &_call_emitter_exited_3384);
methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QAbstractState::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);
@ -762,7 +762,7 @@ static gsi::Methods methods_QAbstractState_Adaptor () {
methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QAbstractState::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 *QAbstractState::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 QAbstractState::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 QAbstractState::timerEvent(QTimerEvent *)\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", "@brief Virtual method void QAbstractState::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;
}

View File

@ -582,33 +582,33 @@ public:
}
}
// [adaptor impl] bool QAbstractTableModel::event(QEvent *)
bool cbs_event_1217_0(QEvent *arg1)
// [adaptor impl] bool QAbstractTableModel::event(QEvent *event)
bool cbs_event_1217_0(QEvent *_event)
{
return QAbstractTableModel::event(arg1);
return QAbstractTableModel::event(_event);
}
virtual bool event(QEvent *arg1)
virtual bool event(QEvent *_event)
{
if (cb_event_1217_0.can_issue()) {
return cb_event_1217_0.issue<QAbstractTableModel_Adaptor, bool, QEvent *>(&QAbstractTableModel_Adaptor::cbs_event_1217_0, arg1);
return cb_event_1217_0.issue<QAbstractTableModel_Adaptor, bool, QEvent *>(&QAbstractTableModel_Adaptor::cbs_event_1217_0, _event);
} else {
return QAbstractTableModel::event(arg1);
return QAbstractTableModel::event(_event);
}
}
// [adaptor impl] bool QAbstractTableModel::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QAbstractTableModel::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QAbstractTableModel::eventFilter(arg1, arg2);
return QAbstractTableModel::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QAbstractTableModel_Adaptor, bool, QObject *, QEvent *>(&QAbstractTableModel_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QAbstractTableModel_Adaptor, bool, QObject *, QEvent *>(&QAbstractTableModel_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QAbstractTableModel::eventFilter(arg1, arg2);
return QAbstractTableModel::eventFilter(watched, event);
}
}
@ -1098,33 +1098,33 @@ public:
}
}
// [adaptor impl] void QAbstractTableModel::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QAbstractTableModel::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QAbstractTableModel::childEvent(arg1);
QAbstractTableModel::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QAbstractTableModel_Adaptor, QChildEvent *>(&QAbstractTableModel_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QAbstractTableModel_Adaptor, QChildEvent *>(&QAbstractTableModel_Adaptor::cbs_childEvent_1701_0, event);
} else {
QAbstractTableModel::childEvent(arg1);
QAbstractTableModel::childEvent(event);
}
}
// [adaptor impl] void QAbstractTableModel::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QAbstractTableModel::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QAbstractTableModel::customEvent(arg1);
QAbstractTableModel::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QAbstractTableModel_Adaptor, QEvent *>(&QAbstractTableModel_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QAbstractTableModel_Adaptor, QEvent *>(&QAbstractTableModel_Adaptor::cbs_customEvent_1217_0, event);
} else {
QAbstractTableModel::customEvent(arg1);
QAbstractTableModel::customEvent(event);
}
}
@ -1143,18 +1143,18 @@ public:
}
}
// [adaptor impl] void QAbstractTableModel::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QAbstractTableModel::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QAbstractTableModel::timerEvent(arg1);
QAbstractTableModel::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QAbstractTableModel_Adaptor, QTimerEvent *>(&QAbstractTableModel_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QAbstractTableModel_Adaptor, QTimerEvent *>(&QAbstractTableModel_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QAbstractTableModel::timerEvent(arg1);
QAbstractTableModel::timerEvent(event);
}
}
@ -1204,7 +1204,7 @@ QAbstractTableModel_Adaptor::~QAbstractTableModel_Adaptor() { }
static void _init_ctor_QAbstractTableModel_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
static gsi::ArgSpecBase argspec_0 ("parent", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return_new<QAbstractTableModel_Adaptor> ();
}
@ -1213,7 +1213,7 @@ static void _call_ctor_QAbstractTableModel_Adaptor_1302 (const qt_gsi::GenericSt
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
ret.write<QAbstractTableModel_Adaptor *> (new QAbstractTableModel_Adaptor (arg1));
}
@ -1518,11 +1518,11 @@ static void _call_fp_changePersistentIndexList_5912 (const qt_gsi::GenericMethod
}
// void QAbstractTableModel::childEvent(QChildEvent *)
// void QAbstractTableModel::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -1729,7 +1729,7 @@ static void _init_fp_createIndex_c2374 (qt_gsi::GenericMethod *decl)
decl->add_arg<int > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("column");
decl->add_arg<int > (argspec_1);
static gsi::ArgSpecBase argspec_2 ("data", true, "0");
static gsi::ArgSpecBase argspec_2 ("data", true, "nullptr");
decl->add_arg<void * > (argspec_2);
decl->set_return<QModelIndex > ();
}
@ -1740,7 +1740,7 @@ static void _call_fp_createIndex_c2374 (const qt_gsi::GenericMethod * /*decl*/,
tl::Heap heap;
int arg1 = gsi::arg_reader<int >() (args, heap);
int arg2 = gsi::arg_reader<int >() (args, heap);
void *arg3 = args ? gsi::arg_reader<void * >() (args, heap) : gsi::arg_maker<void * >() (0, heap);
void *arg3 = args ? gsi::arg_reader<void * >() (args, heap) : gsi::arg_maker<void * >() (nullptr, heap);
ret.write<QModelIndex > ((QModelIndex)((QAbstractTableModel_Adaptor *)cls)->fp_QAbstractTableModel_createIndex_c2374 (arg1, arg2, arg3));
}
@ -1769,11 +1769,11 @@ static void _call_fp_createIndex_c2657 (const qt_gsi::GenericMethod * /*decl*/,
}
// void QAbstractTableModel::customEvent(QEvent *)
// void QAbstractTableModel::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -1874,7 +1874,7 @@ static void _call_fp_decodeData_5302 (const qt_gsi::GenericMethod * /*decl*/, vo
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -1883,7 +1883,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QAbstractTableModel_Adaptor *)cls)->emitter_QAbstractTableModel_destroyed_1302 (arg1);
}
@ -2074,11 +2074,11 @@ static void _call_fp_endResetModel_0 (const qt_gsi::GenericMethod * /*decl*/, vo
}
// bool QAbstractTableModel::event(QEvent *)
// bool QAbstractTableModel::event(QEvent *event)
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<bool > ();
}
@ -2097,13 +2097,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QAbstractTableModel::eventFilter(QObject *, QEvent *)
// bool QAbstractTableModel::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -3160,11 +3160,11 @@ static void _set_callback_cbs_supportedDropActions_c0_0 (void *cls, const gsi::C
}
// void QAbstractTableModel::timerEvent(QTimerEvent *)
// void QAbstractTableModel::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -3207,7 +3207,7 @@ static gsi::Methods methods_QAbstractTableModel_Adaptor () {
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<QModelIndex> &from, const QList<QModelIndex> &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 *)\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", "@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 ("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);
@ -3219,7 +3219,7 @@ static gsi::Methods methods_QAbstractTableModel_Adaptor () {
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, void *data)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_createIndex_c2374, &_call_fp_createIndex_c2374);
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 *)\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", "@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);
@ -3238,9 +3238,9 @@ static gsi::Methods methods_QAbstractTableModel_Adaptor () {
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 *)\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", "@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 *, QEvent *)\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", "@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);
@ -3312,7 +3312,7 @@ static gsi::Methods methods_QAbstractTableModel_Adaptor () {
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<Qt::DropAction> 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 *)\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", "@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;
}

View File

@ -380,18 +380,18 @@ public:
emit QAbstractTransition::destroyed(arg1);
}
// [adaptor impl] bool QAbstractTransition::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QAbstractTransition::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QAbstractTransition::eventFilter(arg1, arg2);
return QAbstractTransition::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QAbstractTransition_Adaptor, bool, QObject *, QEvent *>(&QAbstractTransition_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QAbstractTransition_Adaptor, bool, QObject *, QEvent *>(&QAbstractTransition_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QAbstractTransition::eventFilter(arg1, arg2);
return QAbstractTransition::eventFilter(watched, event);
}
}
@ -420,33 +420,33 @@ public:
throw tl::Exception ("Can't emit private signal 'void QAbstractTransition::triggered()'");
}
// [adaptor impl] void QAbstractTransition::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QAbstractTransition::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QAbstractTransition::childEvent(arg1);
QAbstractTransition::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QAbstractTransition_Adaptor, QChildEvent *>(&QAbstractTransition_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QAbstractTransition_Adaptor, QChildEvent *>(&QAbstractTransition_Adaptor::cbs_childEvent_1701_0, event);
} else {
QAbstractTransition::childEvent(arg1);
QAbstractTransition::childEvent(event);
}
}
// [adaptor impl] void QAbstractTransition::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QAbstractTransition::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QAbstractTransition::customEvent(arg1);
QAbstractTransition::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QAbstractTransition_Adaptor, QEvent *>(&QAbstractTransition_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QAbstractTransition_Adaptor, QEvent *>(&QAbstractTransition_Adaptor::cbs_customEvent_1217_0, event);
} else {
QAbstractTransition::customEvent(arg1);
QAbstractTransition::customEvent(event);
}
}
@ -512,18 +512,18 @@ public:
}
}
// [adaptor impl] void QAbstractTransition::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QAbstractTransition::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QAbstractTransition::timerEvent(arg1);
QAbstractTransition::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QAbstractTransition_Adaptor, QTimerEvent *>(&QAbstractTransition_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QAbstractTransition_Adaptor, QTimerEvent *>(&QAbstractTransition_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QAbstractTransition::timerEvent(arg1);
QAbstractTransition::timerEvent(event);
}
}
@ -543,7 +543,7 @@ QAbstractTransition_Adaptor::~QAbstractTransition_Adaptor() { }
static void _init_ctor_QAbstractTransition_Adaptor_1216 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("sourceState", true, "0");
static gsi::ArgSpecBase argspec_0 ("sourceState", true, "nullptr");
decl->add_arg<QState * > (argspec_0);
decl->set_return_new<QAbstractTransition_Adaptor> ();
}
@ -552,16 +552,16 @@ static void _call_ctor_QAbstractTransition_Adaptor_1216 (const qt_gsi::GenericSt
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QState *arg1 = args ? gsi::arg_reader<QState * >() (args, heap) : gsi::arg_maker<QState * >() (0, heap);
QState *arg1 = args ? gsi::arg_reader<QState * >() (args, heap) : gsi::arg_maker<QState * >() (nullptr, heap);
ret.write<QAbstractTransition_Adaptor *> (new QAbstractTransition_Adaptor (arg1));
}
// void QAbstractTransition::childEvent(QChildEvent *)
// void QAbstractTransition::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -581,11 +581,11 @@ static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback
}
// void QAbstractTransition::customEvent(QEvent *)
// void QAbstractTransition::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -609,7 +609,7 @@ static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -618,7 +618,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QAbstractTransition_Adaptor *)cls)->emitter_QAbstractTransition_destroyed_1302 (arg1);
}
@ -670,13 +670,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QAbstractTransition::eventFilter(QObject *, QEvent *)
// bool QAbstractTransition::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -853,11 +853,11 @@ static void _call_emitter_targetStatesChanged_3938 (const qt_gsi::GenericMethod
}
// void QAbstractTransition::timerEvent(QTimerEvent *)
// void QAbstractTransition::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -899,16 +899,16 @@ gsi::Class<QAbstractTransition> &qtdecl_QAbstractTransition ();
static gsi::Methods methods_QAbstractTransition_Adaptor () {
gsi::Methods methods;
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAbstractTransition::QAbstractTransition(QState *sourceState)\nThis method creates an object of class QAbstractTransition.", &_init_ctor_QAbstractTransition_Adaptor_1216, &_call_ctor_QAbstractTransition_Adaptor_1216);
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QAbstractTransition::childEvent(QChildEvent *)\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", "@brief Virtual method void QAbstractTransition::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 QAbstractTransition::customEvent(QEvent *)\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", "@brief Virtual method void QAbstractTransition::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 QAbstractTransition::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 QAbstractTransition::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 QAbstractTransition::event(QEvent *e)\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 QAbstractTransition::eventFilter(QObject *, QEvent *)\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", "@brief Virtual method bool QAbstractTransition::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 ("*eventTest", "@brief Virtual method bool QAbstractTransition::eventTest(QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventTest_1217_0, &_call_cbs_eventTest_1217_0);
methods += new qt_gsi::GenericMethod ("*eventTest", "@hide", false, &_init_cbs_eventTest_1217_0, &_call_cbs_eventTest_1217_0, &_set_callback_cbs_eventTest_1217_0);
@ -921,7 +921,7 @@ static gsi::Methods methods_QAbstractTransition_Adaptor () {
methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QAbstractTransition::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 ("emit_targetStateChanged", "@brief Emitter for signal void QAbstractTransition::targetStateChanged()\nCall this method to emit this signal.", false, &_init_emitter_targetStateChanged_3938, &_call_emitter_targetStateChanged_3938);
methods += new qt_gsi::GenericMethod ("emit_targetStatesChanged", "@brief Emitter for signal void QAbstractTransition::targetStatesChanged()\nCall this method to emit this signal.", false, &_init_emitter_targetStatesChanged_3938, &_call_emitter_targetStatesChanged_3938);
methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QAbstractTransition::timerEvent(QTimerEvent *)\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", "@brief Virtual method void QAbstractTransition::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_triggered", "@brief Emitter for signal void QAbstractTransition::triggered()\nCall this method to emit this signal.", false, &_init_emitter_triggered_3938, &_call_emitter_triggered_3938);
return methods;

View File

@ -329,33 +329,33 @@ public:
}
}
// [adaptor impl] bool QAnimationDriver::event(QEvent *)
bool cbs_event_1217_0(QEvent *arg1)
// [adaptor impl] bool QAnimationDriver::event(QEvent *event)
bool cbs_event_1217_0(QEvent *_event)
{
return QAnimationDriver::event(arg1);
return QAnimationDriver::event(_event);
}
virtual bool event(QEvent *arg1)
virtual bool event(QEvent *_event)
{
if (cb_event_1217_0.can_issue()) {
return cb_event_1217_0.issue<QAnimationDriver_Adaptor, bool, QEvent *>(&QAnimationDriver_Adaptor::cbs_event_1217_0, arg1);
return cb_event_1217_0.issue<QAnimationDriver_Adaptor, bool, QEvent *>(&QAnimationDriver_Adaptor::cbs_event_1217_0, _event);
} else {
return QAnimationDriver::event(arg1);
return QAnimationDriver::event(_event);
}
}
// [adaptor impl] bool QAnimationDriver::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QAnimationDriver::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QAnimationDriver::eventFilter(arg1, arg2);
return QAnimationDriver::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QAnimationDriver_Adaptor, bool, QObject *, QEvent *>(&QAnimationDriver_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QAnimationDriver_Adaptor, bool, QObject *, QEvent *>(&QAnimationDriver_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QAnimationDriver::eventFilter(arg1, arg2);
return QAnimationDriver::eventFilter(watched, event);
}
}
@ -378,33 +378,33 @@ public:
emit QAnimationDriver::stopped();
}
// [adaptor impl] void QAnimationDriver::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QAnimationDriver::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QAnimationDriver::childEvent(arg1);
QAnimationDriver::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QAnimationDriver_Adaptor, QChildEvent *>(&QAnimationDriver_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QAnimationDriver_Adaptor, QChildEvent *>(&QAnimationDriver_Adaptor::cbs_childEvent_1701_0, event);
} else {
QAnimationDriver::childEvent(arg1);
QAnimationDriver::childEvent(event);
}
}
// [adaptor impl] void QAnimationDriver::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QAnimationDriver::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QAnimationDriver::customEvent(arg1);
QAnimationDriver::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QAnimationDriver_Adaptor, QEvent *>(&QAnimationDriver_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QAnimationDriver_Adaptor, QEvent *>(&QAnimationDriver_Adaptor::cbs_customEvent_1217_0, event);
} else {
QAnimationDriver::customEvent(arg1);
QAnimationDriver::customEvent(event);
}
}
@ -453,18 +453,18 @@ public:
}
}
// [adaptor impl] void QAnimationDriver::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QAnimationDriver::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QAnimationDriver::timerEvent(arg1);
QAnimationDriver::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QAnimationDriver_Adaptor, QTimerEvent *>(&QAnimationDriver_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QAnimationDriver_Adaptor, QTimerEvent *>(&QAnimationDriver_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QAnimationDriver::timerEvent(arg1);
QAnimationDriver::timerEvent(event);
}
}
@ -486,7 +486,7 @@ QAnimationDriver_Adaptor::~QAnimationDriver_Adaptor() { }
static void _init_ctor_QAnimationDriver_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
static gsi::ArgSpecBase argspec_0 ("parent", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return_new<QAnimationDriver_Adaptor> ();
}
@ -495,7 +495,7 @@ static void _call_ctor_QAnimationDriver_Adaptor_1302 (const qt_gsi::GenericStati
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
ret.write<QAnimationDriver_Adaptor *> (new QAnimationDriver_Adaptor (arg1));
}
@ -539,11 +539,11 @@ static void _call_fp_advanceAnimation_986 (const qt_gsi::GenericMethod * /*decl*
}
// void QAnimationDriver::childEvent(QChildEvent *)
// void QAnimationDriver::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -563,11 +563,11 @@ static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback
}
// void QAnimationDriver::customEvent(QEvent *)
// void QAnimationDriver::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -591,7 +591,7 @@ static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -600,7 +600,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QAnimationDriver_Adaptor *)cls)->emitter_QAnimationDriver_destroyed_1302 (arg1);
}
@ -648,11 +648,11 @@ static void _set_callback_cbs_elapsed_c0_0 (void *cls, const gsi::Callback &cb)
}
// bool QAnimationDriver::event(QEvent *)
// bool QAnimationDriver::event(QEvent *event)
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<bool > ();
}
@ -671,13 +671,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QAnimationDriver::eventFilter(QObject *, QEvent *)
// bool QAnimationDriver::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -847,11 +847,11 @@ static void _call_emitter_stopped_0 (const qt_gsi::GenericMethod * /*decl*/, voi
}
// void QAnimationDriver::timerEvent(QTimerEvent *)
// void QAnimationDriver::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -882,18 +882,18 @@ static gsi::Methods methods_QAnimationDriver_Adaptor () {
methods += new qt_gsi::GenericMethod ("advance", "@brief Virtual method void QAnimationDriver::advance()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_advance_0_0, &_call_cbs_advance_0_0);
methods += new qt_gsi::GenericMethod ("advance", "@hide", false, &_init_cbs_advance_0_0, &_call_cbs_advance_0_0, &_set_callback_cbs_advance_0_0);
methods += new qt_gsi::GenericMethod ("*advanceAnimation", "@brief Method void QAnimationDriver::advanceAnimation(qint64 timeStep)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_advanceAnimation_986, &_call_fp_advanceAnimation_986);
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QAnimationDriver::childEvent(QChildEvent *)\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", "@brief Virtual method void QAnimationDriver::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 QAnimationDriver::customEvent(QEvent *)\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", "@brief Virtual method void QAnimationDriver::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 QAnimationDriver::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 QAnimationDriver::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 ("elapsed", "@brief Virtual method qint64 QAnimationDriver::elapsed()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_elapsed_c0_0, &_call_cbs_elapsed_c0_0);
methods += new qt_gsi::GenericMethod ("elapsed", "@hide", true, &_init_cbs_elapsed_c0_0, &_call_cbs_elapsed_c0_0, &_set_callback_cbs_elapsed_c0_0);
methods += new qt_gsi::GenericMethod ("event", "@brief Virtual method bool QAnimationDriver::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", "@brief Virtual method bool QAnimationDriver::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 QAnimationDriver::eventFilter(QObject *, QEvent *)\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", "@brief Virtual method bool QAnimationDriver::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 QAnimationDriver::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 QAnimationDriver::objectNameChanged(const QString &objectName)\nCall this method to emit this signal.", false, &_init_emitter_objectNameChanged_4567, &_call_emitter_objectNameChanged_4567);
@ -906,7 +906,7 @@ static gsi::Methods methods_QAnimationDriver_Adaptor () {
methods += new qt_gsi::GenericMethod ("*stop", "@brief Virtual method void QAnimationDriver::stop()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_stop_0_0, &_call_cbs_stop_0_0);
methods += new qt_gsi::GenericMethod ("*stop", "@hide", false, &_init_cbs_stop_0_0, &_call_cbs_stop_0_0, &_set_callback_cbs_stop_0_0);
methods += new qt_gsi::GenericMethod ("emit_stopped", "@brief Emitter for signal void QAnimationDriver::stopped()\nCall this method to emit this signal.", false, &_init_emitter_stopped_0, &_call_emitter_stopped_0);
methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QAnimationDriver::timerEvent(QTimerEvent *)\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", "@brief Virtual method void QAnimationDriver::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;
}

View File

@ -363,18 +363,18 @@ public:
}
}
// [adaptor impl] bool QAnimationGroup::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QAnimationGroup::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QAnimationGroup::eventFilter(arg1, arg2);
return QAnimationGroup::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QAnimationGroup_Adaptor, bool, QObject *, QEvent *>(&QAnimationGroup_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QAnimationGroup_Adaptor, bool, QObject *, QEvent *>(&QAnimationGroup_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QAnimationGroup::eventFilter(arg1, arg2);
return QAnimationGroup::eventFilter(watched, event);
}
}
@ -397,33 +397,33 @@ public:
emit QAnimationGroup::stateChanged(newState, oldState);
}
// [adaptor impl] void QAnimationGroup::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QAnimationGroup::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QAnimationGroup::childEvent(arg1);
QAnimationGroup::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QAnimationGroup_Adaptor, QChildEvent *>(&QAnimationGroup_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QAnimationGroup_Adaptor, QChildEvent *>(&QAnimationGroup_Adaptor::cbs_childEvent_1701_0, event);
} else {
QAnimationGroup::childEvent(arg1);
QAnimationGroup::childEvent(event);
}
}
// [adaptor impl] void QAnimationGroup::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QAnimationGroup::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QAnimationGroup::customEvent(arg1);
QAnimationGroup::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QAnimationGroup_Adaptor, QEvent *>(&QAnimationGroup_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QAnimationGroup_Adaptor, QEvent *>(&QAnimationGroup_Adaptor::cbs_customEvent_1217_0, event);
} else {
QAnimationGroup::customEvent(arg1);
QAnimationGroup::customEvent(event);
}
}
@ -457,18 +457,18 @@ public:
}
}
// [adaptor impl] void QAnimationGroup::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QAnimationGroup::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QAnimationGroup::timerEvent(arg1);
QAnimationGroup::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QAnimationGroup_Adaptor, QTimerEvent *>(&QAnimationGroup_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QAnimationGroup_Adaptor, QTimerEvent *>(&QAnimationGroup_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QAnimationGroup::timerEvent(arg1);
QAnimationGroup::timerEvent(event);
}
}
@ -536,7 +536,7 @@ QAnimationGroup_Adaptor::~QAnimationGroup_Adaptor() { }
static void _init_ctor_QAnimationGroup_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
static gsi::ArgSpecBase argspec_0 ("parent", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return_new<QAnimationGroup_Adaptor> ();
}
@ -545,16 +545,16 @@ static void _call_ctor_QAnimationGroup_Adaptor_1302 (const qt_gsi::GenericStatic
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
ret.write<QAnimationGroup_Adaptor *> (new QAnimationGroup_Adaptor (arg1));
}
// void QAnimationGroup::childEvent(QChildEvent *)
// void QAnimationGroup::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -592,11 +592,11 @@ static void _call_emitter_currentLoopChanged_767 (const qt_gsi::GenericMethod *
}
// void QAnimationGroup::customEvent(QEvent *)
// void QAnimationGroup::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -620,7 +620,7 @@ static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -629,7 +629,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QAnimationGroup_Adaptor *)cls)->emitter_QAnimationGroup_destroyed_1302 (arg1);
}
@ -718,13 +718,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QAnimationGroup::eventFilter(QObject *, QEvent *)
// bool QAnimationGroup::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -861,11 +861,11 @@ static void _call_emitter_stateChanged_5680 (const qt_gsi::GenericMethod * /*dec
}
// void QAnimationGroup::timerEvent(QTimerEvent *)
// void QAnimationGroup::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -968,10 +968,10 @@ gsi::Class<QAnimationGroup> &qtdecl_QAnimationGroup ();
static gsi::Methods methods_QAnimationGroup_Adaptor () {
gsi::Methods methods;
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QAnimationGroup::QAnimationGroup(QObject *parent)\nThis method creates an object of class QAnimationGroup.", &_init_ctor_QAnimationGroup_Adaptor_1302, &_call_ctor_QAnimationGroup_Adaptor_1302);
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QAnimationGroup::childEvent(QChildEvent *)\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", "@brief Virtual method void QAnimationGroup::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 ("emit_currentLoopChanged", "@brief Emitter for signal void QAnimationGroup::currentLoopChanged(int currentLoop)\nCall this method to emit this signal.", false, &_init_emitter_currentLoopChanged_767, &_call_emitter_currentLoopChanged_767);
methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QAnimationGroup::customEvent(QEvent *)\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", "@brief Virtual method void QAnimationGroup::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 QAnimationGroup::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302);
methods += new qt_gsi::GenericMethod ("emit_directionChanged", "@brief Emitter for signal void QAnimationGroup::directionChanged(QAbstractAnimation::Direction)\nCall this method to emit this signal.", false, &_init_emitter_directionChanged_3310, &_call_emitter_directionChanged_3310);
@ -981,7 +981,7 @@ static gsi::Methods methods_QAnimationGroup_Adaptor () {
methods += new qt_gsi::GenericMethod ("duration", "@hide", true, &_init_cbs_duration_c0_0, &_call_cbs_duration_c0_0, &_set_callback_cbs_duration_c0_0);
methods += new qt_gsi::GenericMethod ("*event", "@brief Virtual method bool QAnimationGroup::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 QAnimationGroup::eventFilter(QObject *, QEvent *)\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", "@brief Virtual method bool QAnimationGroup::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_finished", "@brief Emitter for signal void QAnimationGroup::finished()\nCall this method to emit this signal.", false, &_init_emitter_finished_0, &_call_emitter_finished_0);
methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QAnimationGroup::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);
@ -990,7 +990,7 @@ static gsi::Methods methods_QAnimationGroup_Adaptor () {
methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QAnimationGroup::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 QAnimationGroup::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 ("emit_stateChanged", "@brief Emitter for signal void QAnimationGroup::stateChanged(QAbstractAnimation::State newState, QAbstractAnimation::State oldState)\nCall this method to emit this signal.", false, &_init_emitter_stateChanged_5680, &_call_emitter_stateChanged_5680);
methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QAnimationGroup::timerEvent(QTimerEvent *)\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", "@brief Virtual method void QAnimationGroup::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 ("*updateCurrentTime", "@brief Virtual method void QAnimationGroup::updateCurrentTime(int currentTime)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_updateCurrentTime_767_0, &_call_cbs_updateCurrentTime_767_0);
methods += new qt_gsi::GenericMethod ("*updateCurrentTime", "@hide", false, &_init_cbs_updateCurrentTime_767_0, &_call_cbs_updateCurrentTime_767_0, &_set_callback_cbs_updateCurrentTime_767_0);

View File

@ -65,6 +65,21 @@ static void _call_f_isRecursive_0 (const qt_gsi::GenericMethod * /*decl*/, void
}
// bool QBasicMutex::isRecursive()
static void _init_f_isRecursive_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<bool > ();
}
static void _call_f_isRecursive_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
ret.write<bool > ((bool)((QBasicMutex *)cls)->isRecursive ());
}
// void QBasicMutex::lock()
@ -96,6 +111,21 @@ static void _call_f_tryLock_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls
}
// bool QBasicMutex::try_lock()
static void _init_f_try_lock_0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<bool > ();
}
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 > ((bool)((QBasicMutex *)cls)->try_lock ());
}
// void QBasicMutex::unlock()
@ -120,8 +150,10 @@ 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 ("isRecursive?", "@brief Method bool QBasicMutex::isRecursive()\n", false, &_init_f_isRecursive_0, &_call_f_isRecursive_0);
methods += new qt_gsi::GenericMethod ("isRecursive?", "@brief Method bool QBasicMutex::isRecursive()\n", true, &_init_f_isRecursive_c0, &_call_f_isRecursive_c0);
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;
}

View File

@ -57,7 +57,7 @@ static void _call_smo (const qt_gsi::GenericStaticMethod *, gsi::SerialArgs &, g
static void _init_ctor_QBuffer_1302 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
static gsi::ArgSpecBase argspec_0 ("parent", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return_new<QBuffer> ();
}
@ -66,7 +66,7 @@ static void _call_ctor_QBuffer_1302 (const qt_gsi::GenericStaticMethod * /*decl*
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
ret.write<QBuffer *> (new QBuffer (arg1));
}
@ -78,7 +78,7 @@ static void _init_ctor_QBuffer_2812 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("buf");
decl->add_arg<QByteArray * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("parent", true, "0");
static gsi::ArgSpecBase argspec_1 ("parent", true, "nullptr");
decl->add_arg<QObject * > (argspec_1);
decl->set_return_new<QBuffer> ();
}
@ -88,7 +88,7 @@ static void _call_ctor_QBuffer_2812 (const qt_gsi::GenericStaticMethod * /*decl*
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QByteArray *arg1 = gsi::arg_reader<QByteArray * >() (args, heap);
QObject *arg2 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg2 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
ret.write<QBuffer *> (new QBuffer (arg1, arg2));
}
@ -389,6 +389,8 @@ static gsi::Methods methods_QBuffer () {
methods += new qt_gsi::GenericMethod ("size", "@brief Method qint64 QBuffer::size()\nThis is a reimplementation of QIODevice::size", true, &_init_f_size_c0, &_call_f_size_c0);
methods += gsi::qt_signal ("aboutToClose()", "aboutToClose", "@brief Signal declaration for QBuffer::aboutToClose()\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal<qint64 > ("bytesWritten(qint64)", "bytesWritten", gsi::arg("bytes"), "@brief Signal declaration for QBuffer::bytesWritten(qint64 bytes)\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal<int, qint64 > ("channelBytesWritten(int, qint64)", "channelBytesWritten", gsi::arg("channel"), gsi::arg("bytes"), "@brief Signal declaration for QBuffer::channelBytesWritten(int channel, qint64 bytes)\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal<int > ("channelReadyRead(int)", "channelReadyRead", gsi::arg("channel"), "@brief Signal declaration for QBuffer::channelReadyRead(int channel)\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal<QObject * > ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QBuffer::destroyed(QObject *)\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal<const QString & > ("objectNameChanged(const QString &)", "objectNameChanged", gsi::arg("objectName"), "@brief Signal declaration for QBuffer::objectNameChanged(const QString &objectName)\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal ("readChannelFinished()", "readChannelFinished", "@brief Signal declaration for QBuffer::readChannelFinished()\nYou can bind a procedure to this signal.");

View File

@ -178,6 +178,36 @@ static void _call_f_description_c0 (const qt_gsi::GenericMethod * /*decl*/, void
}
// QFlags<QCommandLineOption::Flag> QCommandLineOption::flags()
static void _init_f_flags_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<QFlags<QCommandLineOption::Flag> > ();
}
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<QCommandLineOption::Flag> > ((QFlags<QCommandLineOption::Flag>)((QCommandLineOption *)cls)->flags ());
}
// bool QCommandLineOption::isHidden()
static void _init_f_isHidden_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<bool > ();
}
static void _call_f_isHidden_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
ret.write<bool > ((bool)((QCommandLineOption *)cls)->isHidden ());
}
// QStringList QCommandLineOption::names()
@ -272,6 +302,46 @@ static void _call_f_setDescription_2025 (const qt_gsi::GenericMethod * /*decl*/,
}
// void QCommandLineOption::setFlags(QFlags<QCommandLineOption::Flag> aflags)
static void _init_f_setFlags_3435 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("aflags");
decl->add_arg<QFlags<QCommandLineOption::Flag> > (argspec_0);
decl->set_return<void > ();
}
static void _call_f_setFlags_3435 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QFlags<QCommandLineOption::Flag> arg1 = gsi::arg_reader<QFlags<QCommandLineOption::Flag> >() (args, heap);
__SUPPRESS_UNUSED_WARNING(ret);
((QCommandLineOption *)cls)->setFlags (arg1);
}
// void QCommandLineOption::setHidden(bool hidden)
static void _init_f_setHidden_864 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("hidden");
decl->add_arg<bool > (argspec_0);
decl->set_return<void > ();
}
static void _call_f_setHidden_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<bool >() (args, heap);
__SUPPRESS_UNUSED_WARNING(ret);
((QCommandLineOption *)cls)->setHidden (arg1);
}
// void QCommandLineOption::setValueName(const QString &name)
@ -340,11 +410,15 @@ static gsi::Methods methods_QCommandLineOption () {
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QCommandLineOption::QCommandLineOption(const QCommandLineOption &other)\nThis method creates an object of class QCommandLineOption.", &_init_ctor_QCommandLineOption_3122, &_call_ctor_QCommandLineOption_3122);
methods += new qt_gsi::GenericMethod (":defaultValues", "@brief Method QStringList QCommandLineOption::defaultValues()\n", true, &_init_f_defaultValues_c0, &_call_f_defaultValues_c0);
methods += new qt_gsi::GenericMethod (":description", "@brief Method QString QCommandLineOption::description()\n", true, &_init_f_description_c0, &_call_f_description_c0);
methods += new qt_gsi::GenericMethod (":flags", "@brief Method QFlags<QCommandLineOption::Flag> QCommandLineOption::flags()\n", true, &_init_f_flags_c0, &_call_f_flags_c0);
methods += new qt_gsi::GenericMethod ("isHidden?|:hidden", "@brief Method bool QCommandLineOption::isHidden()\n", true, &_init_f_isHidden_c0, &_call_f_isHidden_c0);
methods += new qt_gsi::GenericMethod ("names", "@brief Method QStringList QCommandLineOption::names()\n", true, &_init_f_names_c0, &_call_f_names_c0);
methods += new qt_gsi::GenericMethod ("assign", "@brief Method QCommandLineOption &QCommandLineOption::operator=(const QCommandLineOption &other)\n", false, &_init_f_operator_eq__3122, &_call_f_operator_eq__3122);
methods += new qt_gsi::GenericMethod ("setDefaultValue", "@brief Method void QCommandLineOption::setDefaultValue(const QString &defaultValue)\n", false, &_init_f_setDefaultValue_2025, &_call_f_setDefaultValue_2025);
methods += new qt_gsi::GenericMethod ("setDefaultValues|defaultValues=", "@brief Method void QCommandLineOption::setDefaultValues(const QStringList &defaultValues)\n", false, &_init_f_setDefaultValues_2437, &_call_f_setDefaultValues_2437);
methods += new qt_gsi::GenericMethod ("setDescription|description=", "@brief Method void QCommandLineOption::setDescription(const QString &description)\n", false, &_init_f_setDescription_2025, &_call_f_setDescription_2025);
methods += new qt_gsi::GenericMethod ("setFlags|flags=", "@brief Method void QCommandLineOption::setFlags(QFlags<QCommandLineOption::Flag> aflags)\n", false, &_init_f_setFlags_3435, &_call_f_setFlags_3435);
methods += new qt_gsi::GenericMethod ("setHidden|hidden=", "@brief Method void QCommandLineOption::setHidden(bool hidden)\n", false, &_init_f_setHidden_864, &_call_f_setHidden_864);
methods += new qt_gsi::GenericMethod ("setValueName|valueName=", "@brief Method void QCommandLineOption::setValueName(const QString &name)\n", false, &_init_f_setValueName_2025, &_call_f_setValueName_2025);
methods += new qt_gsi::GenericMethod ("swap", "@brief Method void QCommandLineOption::swap(QCommandLineOption &other)\n", false, &_init_f_swap_2427, &_call_f_swap_2427);
methods += new qt_gsi::GenericMethod (":valueName", "@brief Method QString QCommandLineOption::valueName()\n", true, &_init_f_valueName_c0, &_call_f_valueName_c0);
@ -360,3 +434,23 @@ GSI_QTCORE_PUBLIC gsi::Class<QCommandLineOption> &qtdecl_QCommandLineOption () {
}
// Implementation of the enum wrapper class for QCommandLineOption::Flag
namespace qt_gsi
{
static gsi::Enum<QCommandLineOption::Flag> decl_QCommandLineOption_Flag_Enum ("QtCore", "QCommandLineOption_Flag",
gsi::enum_const ("HiddenFromHelp", QCommandLineOption::HiddenFromHelp, "@brief Enum constant QCommandLineOption::HiddenFromHelp") +
gsi::enum_const ("ShortOptionStyle", QCommandLineOption::ShortOptionStyle, "@brief Enum constant QCommandLineOption::ShortOptionStyle"),
"@qt\n@brief This class represents the QCommandLineOption::Flag enum");
static gsi::QFlagsClass<QCommandLineOption::Flag > decl_QCommandLineOption_Flag_Enums ("QtCore", "QCommandLineOption_QFlags_Flag",
"@qt\n@brief This class represents the QFlags<QCommandLineOption::Flag> flag set");
// Inject the declarations into the parent
static gsi::ClassExt<QCommandLineOption> inject_QCommandLineOption_Flag_Enum_in_parent (decl_QCommandLineOption_Flag_Enum.defs ());
static gsi::ClassExt<QCommandLineOption> decl_QCommandLineOption_Flag_Enum_as_child (decl_QCommandLineOption_Flag_Enum, "Flag");
static gsi::ClassExt<QCommandLineOption> decl_QCommandLineOption_Flag_Enums_as_child (decl_QCommandLineOption_Flag_Enums, "QFlags_Flag");
}

View File

@ -354,6 +354,26 @@ static void _call_f_setApplicationDescription_2025 (const qt_gsi::GenericMethod
}
// void QCommandLineParser::setOptionsAfterPositionalArgumentsMode(QCommandLineParser::OptionsAfterPositionalArgumentsMode mode)
static void _init_f_setOptionsAfterPositionalArgumentsMode_5992 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("mode");
decl->add_arg<const qt_gsi::Converter<QCommandLineParser::OptionsAfterPositionalArgumentsMode>::target_type & > (argspec_0);
decl->set_return<void > ();
}
static void _call_f_setOptionsAfterPositionalArgumentsMode_5992 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const qt_gsi::Converter<QCommandLineParser::OptionsAfterPositionalArgumentsMode>::target_type & arg1 = gsi::arg_reader<const qt_gsi::Converter<QCommandLineParser::OptionsAfterPositionalArgumentsMode>::target_type & >() (args, heap);
__SUPPRESS_UNUSED_WARNING(ret);
((QCommandLineParser *)cls)->setOptionsAfterPositionalArgumentsMode (qt_gsi::QtToCppAdaptor<QCommandLineParser::OptionsAfterPositionalArgumentsMode>(arg1).cref());
}
// void QCommandLineParser::setSingleDashWordOptionMode(QCommandLineParser::SingleDashWordOptionMode parsingMode)
@ -508,7 +528,7 @@ static void _init_f_tr_4013 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("sourceText");
decl->add_arg<const char * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("disambiguation", true, "0");
static gsi::ArgSpecBase argspec_1 ("disambiguation", true, "nullptr");
decl->add_arg<const char * > (argspec_1);
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
decl->add_arg<int > (argspec_2);
@ -520,7 +540,7 @@ static void _call_f_tr_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const char *arg1 = gsi::arg_reader<const char * >() (args, heap);
const char *arg2 = args ? gsi::arg_reader<const char * >() (args, heap) : gsi::arg_maker<const char * >() (0, heap);
const char *arg2 = args ? gsi::arg_reader<const char * >() (args, heap) : gsi::arg_maker<const char * >() (nullptr, heap);
int arg3 = args ? gsi::arg_reader<int >() (args, heap) : gsi::arg_maker<int >() (-1, heap);
ret.write<QString > ((QString)QCommandLineParser::tr (arg1, arg2, arg3));
}
@ -533,7 +553,7 @@ static void _init_f_trUtf8_4013 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("sourceText");
decl->add_arg<const char * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("disambiguation", true, "0");
static gsi::ArgSpecBase argspec_1 ("disambiguation", true, "nullptr");
decl->add_arg<const char * > (argspec_1);
static gsi::ArgSpecBase argspec_2 ("n", true, "-1");
decl->add_arg<int > (argspec_2);
@ -545,7 +565,7 @@ static void _call_f_trUtf8_4013 (const qt_gsi::GenericStaticMethod * /*decl*/, g
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const char *arg1 = gsi::arg_reader<const char * >() (args, heap);
const char *arg2 = args ? gsi::arg_reader<const char * >() (args, heap) : gsi::arg_maker<const char * >() (0, heap);
const char *arg2 = args ? gsi::arg_reader<const char * >() (args, heap) : gsi::arg_maker<const char * >() (nullptr, heap);
int arg3 = args ? gsi::arg_reader<int >() (args, heap) : gsi::arg_maker<int >() (-1, heap);
ret.write<QString > ((QString)QCommandLineParser::trUtf8 (arg1, arg2, arg3));
}
@ -575,6 +595,7 @@ static gsi::Methods methods_QCommandLineParser () {
methods += new qt_gsi::GenericMethod ("process", "@brief Method void QCommandLineParser::process(const QStringList &arguments)\n", false, &_init_f_process_2437, &_call_f_process_2437);
methods += new qt_gsi::GenericMethod ("process", "@brief Method void QCommandLineParser::process(const QCoreApplication &app)\n", false, &_init_f_process_2927, &_call_f_process_2927);
methods += new qt_gsi::GenericMethod ("setApplicationDescription|applicationDescription=", "@brief Method void QCommandLineParser::setApplicationDescription(const QString &description)\n", false, &_init_f_setApplicationDescription_2025, &_call_f_setApplicationDescription_2025);
methods += new qt_gsi::GenericMethod ("setOptionsAfterPositionalArgumentsMode", "@brief Method void QCommandLineParser::setOptionsAfterPositionalArgumentsMode(QCommandLineParser::OptionsAfterPositionalArgumentsMode mode)\n", false, &_init_f_setOptionsAfterPositionalArgumentsMode_5992, &_call_f_setOptionsAfterPositionalArgumentsMode_5992);
methods += new qt_gsi::GenericMethod ("setSingleDashWordOptionMode", "@brief Method void QCommandLineParser::setSingleDashWordOptionMode(QCommandLineParser::SingleDashWordOptionMode parsingMode)\n", false, &_init_f_setSingleDashWordOptionMode_4777, &_call_f_setSingleDashWordOptionMode_4777);
methods += new qt_gsi::GenericMethod ("showHelp", "@brief Method void QCommandLineParser::showHelp(int exitCode)\n", false, &_init_f_showHelp_767, &_call_f_showHelp_767);
methods += new qt_gsi::GenericMethod ("showVersion", "@brief Method void QCommandLineParser::showVersion()\n", false, &_init_f_showVersion_0, &_call_f_showVersion_0);
@ -598,6 +619,26 @@ GSI_QTCORE_PUBLIC gsi::Class<QCommandLineParser> &qtdecl_QCommandLineParser () {
}
// Implementation of the enum wrapper class for QCommandLineParser::OptionsAfterPositionalArgumentsMode
namespace qt_gsi
{
static gsi::Enum<QCommandLineParser::OptionsAfterPositionalArgumentsMode> decl_QCommandLineParser_OptionsAfterPositionalArgumentsMode_Enum ("QtCore", "QCommandLineParser_OptionsAfterPositionalArgumentsMode",
gsi::enum_const ("ParseAsOptions", QCommandLineParser::ParseAsOptions, "@brief Enum constant QCommandLineParser::ParseAsOptions") +
gsi::enum_const ("ParseAsPositionalArguments", QCommandLineParser::ParseAsPositionalArguments, "@brief Enum constant QCommandLineParser::ParseAsPositionalArguments"),
"@qt\n@brief This class represents the QCommandLineParser::OptionsAfterPositionalArgumentsMode enum");
static gsi::QFlagsClass<QCommandLineParser::OptionsAfterPositionalArgumentsMode > decl_QCommandLineParser_OptionsAfterPositionalArgumentsMode_Enums ("QtCore", "QCommandLineParser_QFlags_OptionsAfterPositionalArgumentsMode",
"@qt\n@brief This class represents the QFlags<QCommandLineParser::OptionsAfterPositionalArgumentsMode> flag set");
// Inject the declarations into the parent
static gsi::ClassExt<QCommandLineParser> inject_QCommandLineParser_OptionsAfterPositionalArgumentsMode_Enum_in_parent (decl_QCommandLineParser_OptionsAfterPositionalArgumentsMode_Enum.defs ());
static gsi::ClassExt<QCommandLineParser> decl_QCommandLineParser_OptionsAfterPositionalArgumentsMode_Enum_as_child (decl_QCommandLineParser_OptionsAfterPositionalArgumentsMode_Enum, "OptionsAfterPositionalArgumentsMode");
static gsi::ClassExt<QCommandLineParser> decl_QCommandLineParser_OptionsAfterPositionalArgumentsMode_Enums_as_child (decl_QCommandLineParser_OptionsAfterPositionalArgumentsMode_Enums, "QFlags_OptionsAfterPositionalArgumentsMode");
}
// Implementation of the enum wrapper class for QCommandLineParser::SingleDashWordOptionMode
namespace qt_gsi
{

View File

@ -581,7 +581,7 @@ static void _call_f_sendEvent_2411 (const qt_gsi::GenericStaticMethod * /*decl*/
static void _init_f_sendPostedEvents_1961 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("receiver", true, "0");
static gsi::ArgSpecBase argspec_0 ("receiver", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("event_type", true, "0");
decl->add_arg<int > (argspec_1);
@ -592,7 +592,7 @@ static void _call_f_sendPostedEvents_1961 (const qt_gsi::GenericStaticMethod * /
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
int arg2 = args ? gsi::arg_reader<int >() (args, heap) : gsi::arg_maker<int >() (0, heap);
__SUPPRESS_UNUSED_WARNING(ret);
QCoreApplication::sendPostedEvents (arg1, arg2);
@ -875,7 +875,7 @@ static void _init_f_translate_5636 (qt_gsi::GenericStaticMethod *decl)
decl->add_arg<const char * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("key");
decl->add_arg<const char * > (argspec_1);
static gsi::ArgSpecBase argspec_2 ("disambiguation", true, "0");
static gsi::ArgSpecBase argspec_2 ("disambiguation", true, "nullptr");
decl->add_arg<const char * > (argspec_2);
static gsi::ArgSpecBase argspec_3 ("n", true, "-1");
decl->add_arg<int > (argspec_3);
@ -888,7 +888,7 @@ static void _call_f_translate_5636 (const qt_gsi::GenericStaticMethod * /*decl*/
tl::Heap heap;
const char *arg1 = gsi::arg_reader<const char * >() (args, heap);
const char *arg2 = gsi::arg_reader<const char * >() (args, heap);
const char *arg3 = args ? gsi::arg_reader<const char * >() (args, heap) : gsi::arg_maker<const char * >() (0, heap);
const char *arg3 = args ? gsi::arg_reader<const char * >() (args, heap) : gsi::arg_maker<const char * >() (nullptr, heap);
int arg4 = args ? gsi::arg_reader<int >() (args, heap) : gsi::arg_maker<int >() (-1, heap);
ret.write<QString > ((QString)QCoreApplication::translate (arg1, arg2, arg3, arg4));
}
@ -1037,18 +1037,18 @@ public:
emit QCoreApplication::destroyed(arg1);
}
// [adaptor impl] bool QCoreApplication::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QCoreApplication::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QCoreApplication::eventFilter(arg1, arg2);
return QCoreApplication::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QCoreApplication_Adaptor, bool, QObject *, QEvent *>(&QCoreApplication_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QCoreApplication_Adaptor, bool, QObject *, QEvent *>(&QCoreApplication_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QCoreApplication::eventFilter(arg1, arg2);
return QCoreApplication::eventFilter(watched, event);
}
}
@ -1071,33 +1071,33 @@ public:
emit QCoreApplication::organizationNameChanged();
}
// [adaptor impl] void QCoreApplication::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QCoreApplication::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QCoreApplication::childEvent(arg1);
QCoreApplication::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QCoreApplication_Adaptor, QChildEvent *>(&QCoreApplication_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QCoreApplication_Adaptor, QChildEvent *>(&QCoreApplication_Adaptor::cbs_childEvent_1701_0, event);
} else {
QCoreApplication::childEvent(arg1);
QCoreApplication::childEvent(event);
}
}
// [adaptor impl] void QCoreApplication::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QCoreApplication::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QCoreApplication::customEvent(arg1);
QCoreApplication::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QCoreApplication_Adaptor, QEvent *>(&QCoreApplication_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QCoreApplication_Adaptor, QEvent *>(&QCoreApplication_Adaptor::cbs_customEvent_1217_0, event);
} else {
QCoreApplication::customEvent(arg1);
QCoreApplication::customEvent(event);
}
}
@ -1131,18 +1131,18 @@ public:
}
}
// [adaptor impl] void QCoreApplication::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QCoreApplication::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QCoreApplication::timerEvent(arg1);
QCoreApplication::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QCoreApplication_Adaptor, QTimerEvent *>(&QCoreApplication_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QCoreApplication_Adaptor, QTimerEvent *>(&QCoreApplication_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QCoreApplication::timerEvent(arg1);
QCoreApplication::timerEvent(event);
}
}
@ -1198,11 +1198,11 @@ static void _call_emitter_applicationVersionChanged_0 (const qt_gsi::GenericMeth
}
// void QCoreApplication::childEvent(QChildEvent *)
// void QCoreApplication::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -1222,11 +1222,11 @@ static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback
}
// void QCoreApplication::customEvent(QEvent *)
// void QCoreApplication::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -1250,7 +1250,7 @@ static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -1259,7 +1259,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QCoreApplication_Adaptor *)cls)->emitter_QCoreApplication_destroyed_1302 (arg1);
}
@ -1311,13 +1311,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QCoreApplication::eventFilter(QObject *, QEvent *)
// bool QCoreApplication::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -1447,11 +1447,11 @@ static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*
}
// void QCoreApplication::timerEvent(QTimerEvent *)
// void QCoreApplication::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -1481,16 +1481,16 @@ static gsi::Methods methods_QCoreApplication_Adaptor () {
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 *)\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", "@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 *)\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", "@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 *, QEvent *)\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", "@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);
@ -1499,7 +1499,7 @@ static gsi::Methods methods_QCoreApplication_Adaptor () {
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 ("*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 *)\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", "@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;
}

View File

@ -170,6 +170,25 @@ static void _call_f_hash_5532 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi
}
// static int QCryptographicHash::hashLength(QCryptographicHash::Algorithm method)
static void _init_f_hashLength_3331 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("method");
decl->add_arg<const qt_gsi::Converter<QCryptographicHash::Algorithm>::target_type & > (argspec_0);
decl->set_return<int > ();
}
static void _call_f_hashLength_3331 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const qt_gsi::Converter<QCryptographicHash::Algorithm>::target_type & arg1 = gsi::arg_reader<const qt_gsi::Converter<QCryptographicHash::Algorithm>::target_type & >() (args, heap);
ret.write<int > ((int)QCryptographicHash::hashLength (qt_gsi::QtToCppAdaptor<QCryptographicHash::Algorithm>(arg1).cref()));
}
namespace gsi
{
@ -183,6 +202,7 @@ static gsi::Methods methods_QCryptographicHash () {
methods += new qt_gsi::GenericMethod ("reset", "@brief Method void QCryptographicHash::reset()\n", false, &_init_f_reset_0, &_call_f_reset_0);
methods += new qt_gsi::GenericMethod ("result", "@brief Method QByteArray QCryptographicHash::result()\n", true, &_init_f_result_c0, &_call_f_result_c0);
methods += new qt_gsi::GenericStaticMethod ("hash", "@brief Static method QByteArray QCryptographicHash::hash(const QByteArray &data, QCryptographicHash::Algorithm method)\nThis method is static and can be called without an instance.", &_init_f_hash_5532, &_call_f_hash_5532);
methods += new qt_gsi::GenericStaticMethod ("hashLength", "@brief Static method int QCryptographicHash::hashLength(QCryptographicHash::Algorithm method)\nThis method is static and can be called without an instance.", &_init_f_hashLength_3331, &_call_f_hashLength_3331);
return methods;
}
@ -208,6 +228,14 @@ static gsi::Enum<QCryptographicHash::Algorithm> decl_QCryptographicHash_Algorith
gsi::enum_const ("Sha256", QCryptographicHash::Sha256, "@brief Enum constant QCryptographicHash::Sha256") +
gsi::enum_const ("Sha384", QCryptographicHash::Sha384, "@brief Enum constant QCryptographicHash::Sha384") +
gsi::enum_const ("Sha512", QCryptographicHash::Sha512, "@brief Enum constant QCryptographicHash::Sha512") +
gsi::enum_const ("Keccak_224", QCryptographicHash::Keccak_224, "@brief Enum constant QCryptographicHash::Keccak_224") +
gsi::enum_const ("Keccak_256", QCryptographicHash::Keccak_256, "@brief Enum constant QCryptographicHash::Keccak_256") +
gsi::enum_const ("Keccak_384", QCryptographicHash::Keccak_384, "@brief Enum constant QCryptographicHash::Keccak_384") +
gsi::enum_const ("Keccak_512", QCryptographicHash::Keccak_512, "@brief Enum constant QCryptographicHash::Keccak_512") +
gsi::enum_const ("RealSha3_224", QCryptographicHash::RealSha3_224, "@brief Enum constant QCryptographicHash::RealSha3_224") +
gsi::enum_const ("RealSha3_256", QCryptographicHash::RealSha3_256, "@brief Enum constant QCryptographicHash::RealSha3_256") +
gsi::enum_const ("RealSha3_384", QCryptographicHash::RealSha3_384, "@brief Enum constant QCryptographicHash::RealSha3_384") +
gsi::enum_const ("RealSha3_512", QCryptographicHash::RealSha3_512, "@brief Enum constant QCryptographicHash::RealSha3_512") +
gsi::enum_const ("Sha3_224", QCryptographicHash::Sha3_224, "@brief Enum constant QCryptographicHash::Sha3_224") +
gsi::enum_const ("Sha3_256", QCryptographicHash::Sha3_256, "@brief Enum constant QCryptographicHash::Sha3_256") +
gsi::enum_const ("Sha3_384", QCryptographicHash::Sha3_384, "@brief Enum constant QCryptographicHash::Sha3_384") +

View File

@ -319,6 +319,22 @@ static void _call_ctor_QDataStream_2309 (const qt_gsi::GenericStaticMethod * /*d
}
// void QDataStream::abortTransaction()
static void _init_f_abortTransaction_0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<void > ();
}
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()
@ -349,6 +365,21 @@ static void _call_f_byteOrder_c0 (const qt_gsi::GenericMethod * /*decl*/, void *
}
// bool QDataStream::commitTransaction()
static void _init_f_commitTransaction_0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<bool > ();
}
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 > ((bool)((QDataStream *)cls)->commitTransaction ());
}
// QIODevice *QDataStream::device()
@ -395,6 +426,22 @@ static void _call_f_resetStatus_0 (const qt_gsi::GenericMethod * /*decl*/, void
}
// void QDataStream::rollbackTransaction()
static void _init_f_rollbackTransaction_0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<void > ();
}
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)
@ -514,6 +561,22 @@ static void _call_f_skipRawData_767 (const qt_gsi::GenericMethod * /*decl*/, voi
}
// void QDataStream::startTransaction()
static void _init_f_startTransaction_0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<void > ();
}
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()
@ -614,17 +677,21 @@ static gsi::Methods methods_QDataStream () {
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<QIODevice::OpenModeFlag> flags)\nThis method creates an object of class QDataStream.", &_init_ctor_QDataStream_4752, &_call_ctor_QDataStream_4752);
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 ("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 ("unsetDevice", "@brief Method void QDataStream::unsetDevice()\n", false, &_init_f_unsetDevice_0, &_call_f_unsetDevice_0);
methods += new qt_gsi::GenericMethod (":version", "@brief Method int QDataStream::version()\n", true, &_init_f_version_c0, &_call_f_version_c0);

View File

@ -252,6 +252,32 @@ static void _call_f_getDate_2643 (const qt_gsi::GenericMethod * /*decl*/, void *
}
// 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<int * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("month");
decl->add_arg<int * > (argspec_1);
static gsi::ArgSpecBase argspec_2 ("day");
decl->add_arg<int * > (argspec_2);
decl->set_return<void > ();
}
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<int * >() (args, heap);
int *arg2 = gsi::arg_reader<int * >() (args, heap);
int *arg3 = gsi::arg_reader<int * >() (args, heap);
__SUPPRESS_UNUSED_WARNING(ret);
((QDate *)cls)->getDate (arg1, arg2, arg3);
}
// bool QDate::isNull()
@ -494,7 +520,7 @@ static void _call_f_toString_c2025 (const qt_gsi::GenericMethod * /*decl*/, void
static void _init_f_weekNumber_c953 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("yearNum", true, "0");
static gsi::ArgSpecBase argspec_0 ("yearNum", true, "nullptr");
decl->add_arg<int * > (argspec_0);
decl->set_return<int > ();
}
@ -503,7 +529,7 @@ static void _call_f_weekNumber_c953 (const qt_gsi::GenericMethod * /*decl*/, voi
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
int *arg1 = args ? gsi::arg_reader<int * >() (args, heap) : gsi::arg_maker<int * >() (0, heap);
int *arg1 = args ? gsi::arg_reader<int * >() (args, heap) : gsi::arg_maker<int * >() (nullptr, heap);
ret.write<int > ((int)((QDate *)cls)->weekNumber (arg1));
}
@ -538,12 +564,12 @@ static void _call_f_currentDate_0 (const qt_gsi::GenericStaticMethod * /*decl*/,
}
// static QDate QDate::fromJulianDay(qint64 jd)
// static QDate QDate::fromJulianDay(qint64 jd_)
static void _init_f_fromJulianDay_986 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("jd");
static gsi::ArgSpecBase argspec_0 ("jd_");
decl->add_arg<qint64 > (argspec_0);
decl->set_return<QDate > ();
}
@ -751,6 +777,7 @@ static gsi::Methods methods_QDate () {
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 ("daysTo", "@brief Method qint64 QDate::daysTo(const QDate &)\n", true, &_init_f_daysTo_c1776, &_call_f_daysTo_c1776);
methods += new qt_gsi::GenericMethod ("getDate", "@brief Method void QDate::getDate(int *year, int *month, int *day)\n", false, &_init_f_getDate_2643, &_call_f_getDate_2643);
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);
@ -767,7 +794,7 @@ static gsi::Methods methods_QDate () {
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::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 ("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(const QString &s, Qt::DateFormat f)\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 &s, const QString &format)\nThis method is static and can be called without an instance.", &_init_f_fromString_3942, &_call_f_fromString_3942);
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);

View File

@ -589,6 +589,26 @@ static void _call_f_setOffsetFromUtc_767 (const qt_gsi::GenericMethod * /*decl*/
}
// void QDateTime::setSecsSinceEpoch(qint64 secs)
static void _init_f_setSecsSinceEpoch_986 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("secs");
decl->add_arg<qint64 > (argspec_0);
decl->set_return<void > ();
}
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<qint64 >() (args, heap);
__SUPPRESS_UNUSED_WARNING(ret);
((QDateTime *)cls)->setSecsSinceEpoch (arg1);
}
// void QDateTime::setTime(const QTime &time)
@ -818,6 +838,21 @@ static void _call_f_toOffsetFromUtc_c767 (const qt_gsi::GenericMethod * /*decl*/
}
// qint64 QDateTime::toSecsSinceEpoch()
static void _init_f_toSecsSinceEpoch_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<qint64 > ();
}
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 > ((qint64)((QDateTime *)cls)->toSecsSinceEpoch ());
}
// QString QDateTime::toString(Qt::DateFormat f)
@ -984,6 +1019,21 @@ static void _call_f_currentMSecsSinceEpoch_0 (const qt_gsi::GenericStaticMethod
}
// static qint64 QDateTime::currentSecsSinceEpoch()
static void _init_f_currentSecsSinceEpoch_0 (qt_gsi::GenericStaticMethod *decl)
{
decl->set_return<qint64 > ();
}
static void _call_f_currentSecsSinceEpoch_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
ret.write<qint64 > ((qint64)QDateTime::currentSecsSinceEpoch ());
}
// static QDateTime QDateTime::fromMSecsSinceEpoch(qint64 msecs)
@ -1050,6 +1100,53 @@ static void _call_f_fromMSecsSinceEpoch_3083 (const qt_gsi::GenericStaticMethod
}
// static QDateTime QDateTime::fromSecsSinceEpoch(qint64 secs, Qt::TimeSpec spe, int offsetFromUtc)
static void _init_f_fromSecsSinceEpoch_3080 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("secs");
decl->add_arg<qint64 > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("spe", true, "Qt::LocalTime");
decl->add_arg<const qt_gsi::Converter<Qt::TimeSpec>::target_type & > (argspec_1);
static gsi::ArgSpecBase argspec_2 ("offsetFromUtc", true, "0");
decl->add_arg<int > (argspec_2);
decl->set_return<QDateTime > ();
}
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<qint64 >() (args, heap);
const qt_gsi::Converter<Qt::TimeSpec>::target_type & arg2 = args ? gsi::arg_reader<const qt_gsi::Converter<Qt::TimeSpec>::target_type & >() (args, heap) : gsi::arg_maker<const qt_gsi::Converter<Qt::TimeSpec>::target_type & >() (qt_gsi::CppToQtReadAdaptor<Qt::TimeSpec>(heap, Qt::LocalTime), heap);
int arg3 = args ? gsi::arg_reader<int >() (args, heap) : gsi::arg_maker<int >() (0, heap);
ret.write<QDateTime > ((QDateTime)QDateTime::fromSecsSinceEpoch (arg1, qt_gsi::QtToCppAdaptor<Qt::TimeSpec>(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<qint64 > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("timeZone");
decl->add_arg<const QTimeZone & > (argspec_1);
decl->set_return<QDateTime > ();
}
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<qint64 >() (args, heap);
const QTimeZone &arg2 = gsi::arg_reader<const QTimeZone & >() (args, heap);
ret.write<QDateTime > ((QDateTime)QDateTime::fromSecsSinceEpoch (arg1, arg2));
}
// static QDateTime QDateTime::fromString(const QString &s, Qt::DateFormat f)
@ -1195,6 +1292,7 @@ static gsi::Methods methods_QDateTime () {
methods += new qt_gsi::GenericMethod ("setDate|date=", "@brief Method void QDateTime::setDate(const QDate &date)\n", false, &_init_f_setDate_1776, &_call_f_setDate_1776);
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(const QTime &time)\n", false, &_init_f_setTime_1793, &_call_f_setTime_1793);
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);
@ -1208,6 +1306,7 @@ static gsi::Methods methods_QDateTime () {
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 f)\n", true, &_init_f_toString_c1748, &_call_f_toString_c1748);
methods += new qt_gsi::GenericMethod ("toString", "@brief Method QString QDateTime::toString(const QString &format)\n", true, &_init_f_toString_c2025, &_call_f_toString_c2025);
methods += new qt_gsi::GenericMethod ("toTimeSpec", "@brief Method QDateTime QDateTime::toTimeSpec(Qt::TimeSpec spec)\n", true, &_init_f_toTimeSpec_c1543, &_call_f_toTimeSpec_c1543);
@ -1218,9 +1317,12 @@ static gsi::Methods methods_QDateTime () {
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)\nThis method is static and can be called without an instance.", &_init_f_fromMSecsSinceEpoch_986, &_call_f_fromMSecsSinceEpoch_986);
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 spe, 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(const QString &s, Qt::DateFormat f)\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 &s, const QString &format)\nThis method is static and can be called without an instance.", &_init_f_fromString_3942, &_call_f_fromString_3942);
methods += new qt_gsi::GenericStaticMethod ("fromTime_t", "@brief Static method QDateTime QDateTime::fromTime_t(unsigned int secsSince1Jan1970UTC)\nThis method is static and can be called without an instance.", &_init_f_fromTime_t_1772, &_call_f_fromTime_t_1772);

View File

@ -0,0 +1,479 @@
/*
KLayout Layout Viewer
Copyright (C) 2006-2023 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 <QDeadlineTimer>
#include "gsiQt.h"
#include "gsiQtCoreCommon.h"
#include <memory>
// -----------------------------------------------------------------------
// 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<const qt_gsi::Converter<Qt::TimerType>::target_type & > (argspec_0);
decl->set_return_new<QDeadlineTimer> ();
}
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<Qt::TimerType>::target_type & arg1 = args ? gsi::arg_reader<const qt_gsi::Converter<Qt::TimerType>::target_type & >() (args, heap) : gsi::arg_maker<const qt_gsi::Converter<Qt::TimerType>::target_type & >() (qt_gsi::CppToQtReadAdaptor<Qt::TimerType>(heap, Qt::CoarseTimer), heap);
ret.write<QDeadlineTimer *> (new QDeadlineTimer (qt_gsi::QtToCppAdaptor<Qt::TimerType>(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<const qt_gsi::Converter<QDeadlineTimer::ForeverConstant>::target_type & > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("type_", true, "Qt::CoarseTimer");
decl->add_arg<const qt_gsi::Converter<Qt::TimerType>::target_type & > (argspec_1);
decl->set_return_new<QDeadlineTimer> ();
}
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<QDeadlineTimer::ForeverConstant>::target_type & arg1 = gsi::arg_reader<const qt_gsi::Converter<QDeadlineTimer::ForeverConstant>::target_type & >() (args, heap);
const qt_gsi::Converter<Qt::TimerType>::target_type & arg2 = args ? gsi::arg_reader<const qt_gsi::Converter<Qt::TimerType>::target_type & >() (args, heap) : gsi::arg_maker<const qt_gsi::Converter<Qt::TimerType>::target_type & >() (qt_gsi::CppToQtReadAdaptor<Qt::TimerType>(heap, Qt::CoarseTimer), heap);
ret.write<QDeadlineTimer *> (new QDeadlineTimer (qt_gsi::QtToCppAdaptor<QDeadlineTimer::ForeverConstant>(arg1).cref(), qt_gsi::QtToCppAdaptor<Qt::TimerType>(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<qint64 > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("type", true, "Qt::CoarseTimer");
decl->add_arg<const qt_gsi::Converter<Qt::TimerType>::target_type & > (argspec_1);
decl->set_return_new<QDeadlineTimer> ();
}
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<qint64 >() (args, heap);
const qt_gsi::Converter<Qt::TimerType>::target_type & arg2 = args ? gsi::arg_reader<const qt_gsi::Converter<Qt::TimerType>::target_type & >() (args, heap) : gsi::arg_maker<const qt_gsi::Converter<Qt::TimerType>::target_type & >() (qt_gsi::CppToQtReadAdaptor<Qt::TimerType>(heap, Qt::CoarseTimer), heap);
ret.write<QDeadlineTimer *> (new QDeadlineTimer (arg1, qt_gsi::QtToCppAdaptor<Qt::TimerType>(arg2).cref()));
}
// qint64 QDeadlineTimer::deadline()
static void _init_f_deadline_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<qint64 > ();
}
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 > ((qint64)((QDeadlineTimer *)cls)->deadline ());
}
// qint64 QDeadlineTimer::deadlineNSecs()
static void _init_f_deadlineNSecs_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<qint64 > ();
}
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 > ((qint64)((QDeadlineTimer *)cls)->deadlineNSecs ());
}
// bool QDeadlineTimer::hasExpired()
static void _init_f_hasExpired_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<bool > ();
}
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 > ((bool)((QDeadlineTimer *)cls)->hasExpired ());
}
// bool QDeadlineTimer::isForever()
static void _init_f_isForever_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<bool > ();
}
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 > ((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<qint64 > (argspec_0);
decl->set_return<QDeadlineTimer & > ();
}
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<qint64 >() (args, heap);
ret.write<QDeadlineTimer & > ((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<qint64 > (argspec_0);
decl->set_return<QDeadlineTimer & > ();
}
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<qint64 >() (args, heap);
ret.write<QDeadlineTimer & > ((QDeadlineTimer &)((QDeadlineTimer *)cls)->operator-= (arg1));
}
// qint64 QDeadlineTimer::remainingTime()
static void _init_f_remainingTime_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<qint64 > ();
}
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 > ((qint64)((QDeadlineTimer *)cls)->remainingTime ());
}
// qint64 QDeadlineTimer::remainingTimeNSecs()
static void _init_f_remainingTimeNSecs_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<qint64 > ();
}
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 > ((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<qint64 > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("timerType", true, "Qt::CoarseTimer");
decl->add_arg<const qt_gsi::Converter<Qt::TimerType>::target_type & > (argspec_1);
decl->set_return<void > ();
}
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<qint64 >() (args, heap);
const qt_gsi::Converter<Qt::TimerType>::target_type & arg2 = args ? gsi::arg_reader<const qt_gsi::Converter<Qt::TimerType>::target_type & >() (args, heap) : gsi::arg_maker<const qt_gsi::Converter<Qt::TimerType>::target_type & >() (qt_gsi::CppToQtReadAdaptor<Qt::TimerType>(heap, Qt::CoarseTimer), heap);
__SUPPRESS_UNUSED_WARNING(ret);
((QDeadlineTimer *)cls)->setDeadline (arg1, qt_gsi::QtToCppAdaptor<Qt::TimerType>(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<qint64 > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("nsecs", true, "0");
decl->add_arg<qint64 > (argspec_1);
static gsi::ArgSpecBase argspec_2 ("type", true, "Qt::CoarseTimer");
decl->add_arg<const qt_gsi::Converter<Qt::TimerType>::target_type & > (argspec_2);
decl->set_return<void > ();
}
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<qint64 >() (args, heap);
qint64 arg2 = args ? gsi::arg_reader<qint64 >() (args, heap) : gsi::arg_maker<qint64 >() (0, heap);
const qt_gsi::Converter<Qt::TimerType>::target_type & arg3 = args ? gsi::arg_reader<const qt_gsi::Converter<Qt::TimerType>::target_type & >() (args, heap) : gsi::arg_maker<const qt_gsi::Converter<Qt::TimerType>::target_type & >() (qt_gsi::CppToQtReadAdaptor<Qt::TimerType>(heap, Qt::CoarseTimer), heap);
__SUPPRESS_UNUSED_WARNING(ret);
((QDeadlineTimer *)cls)->setPreciseDeadline (arg1, arg2, qt_gsi::QtToCppAdaptor<Qt::TimerType>(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<qint64 > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("nsecs", true, "0");
decl->add_arg<qint64 > (argspec_1);
static gsi::ArgSpecBase argspec_2 ("type", true, "Qt::CoarseTimer");
decl->add_arg<const qt_gsi::Converter<Qt::TimerType>::target_type & > (argspec_2);
decl->set_return<void > ();
}
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<qint64 >() (args, heap);
qint64 arg2 = args ? gsi::arg_reader<qint64 >() (args, heap) : gsi::arg_maker<qint64 >() (0, heap);
const qt_gsi::Converter<Qt::TimerType>::target_type & arg3 = args ? gsi::arg_reader<const qt_gsi::Converter<Qt::TimerType>::target_type & >() (args, heap) : gsi::arg_maker<const qt_gsi::Converter<Qt::TimerType>::target_type & >() (qt_gsi::CppToQtReadAdaptor<Qt::TimerType>(heap, Qt::CoarseTimer), heap);
__SUPPRESS_UNUSED_WARNING(ret);
((QDeadlineTimer *)cls)->setPreciseRemainingTime (arg1, arg2, qt_gsi::QtToCppAdaptor<Qt::TimerType>(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<qint64 > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("type", true, "Qt::CoarseTimer");
decl->add_arg<const qt_gsi::Converter<Qt::TimerType>::target_type & > (argspec_1);
decl->set_return<void > ();
}
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<qint64 >() (args, heap);
const qt_gsi::Converter<Qt::TimerType>::target_type & arg2 = args ? gsi::arg_reader<const qt_gsi::Converter<Qt::TimerType>::target_type & >() (args, heap) : gsi::arg_maker<const qt_gsi::Converter<Qt::TimerType>::target_type & >() (qt_gsi::CppToQtReadAdaptor<Qt::TimerType>(heap, Qt::CoarseTimer), heap);
__SUPPRESS_UNUSED_WARNING(ret);
((QDeadlineTimer *)cls)->setRemainingTime (arg1, qt_gsi::QtToCppAdaptor<Qt::TimerType>(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<const qt_gsi::Converter<Qt::TimerType>::target_type & > (argspec_0);
decl->set_return<void > ();
}
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<Qt::TimerType>::target_type & arg1 = gsi::arg_reader<const qt_gsi::Converter<Qt::TimerType>::target_type & >() (args, heap);
__SUPPRESS_UNUSED_WARNING(ret);
((QDeadlineTimer *)cls)->setTimerType (qt_gsi::QtToCppAdaptor<Qt::TimerType>(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<QDeadlineTimer & > (argspec_0);
decl->set_return<void > ();
}
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<QDeadlineTimer & >() (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<qt_gsi::Converter<Qt::TimerType>::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<qt_gsi::Converter<Qt::TimerType>::target_type > ((qt_gsi::Converter<Qt::TimerType>::target_type)qt_gsi::CppToQtAdaptor<Qt::TimerType>(((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<QDeadlineTimer > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("nsecs");
decl->add_arg<qint64 > (argspec_1);
decl->set_return<QDeadlineTimer > ();
}
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<QDeadlineTimer >() (args, heap);
qint64 arg2 = gsi::arg_reader<qint64 >() (args, heap);
ret.write<QDeadlineTimer > ((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<const qt_gsi::Converter<Qt::TimerType>::target_type & > (argspec_0);
decl->set_return<QDeadlineTimer > ();
}
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<Qt::TimerType>::target_type & arg1 = args ? gsi::arg_reader<const qt_gsi::Converter<Qt::TimerType>::target_type & >() (args, heap) : gsi::arg_maker<const qt_gsi::Converter<Qt::TimerType>::target_type & >() (qt_gsi::CppToQtReadAdaptor<Qt::TimerType>(heap, Qt::CoarseTimer), heap);
ret.write<QDeadlineTimer > ((QDeadlineTimer)QDeadlineTimer::current (qt_gsi::QtToCppAdaptor<Qt::TimerType>(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 (":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 ("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|timerType=", "@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<QDeadlineTimer> decl_QDeadlineTimer ("QtCore", "QDeadlineTimer",
methods_QDeadlineTimer (),
"@qt\n@brief Binding of QDeadlineTimer");
GSI_QTCORE_PUBLIC gsi::Class<QDeadlineTimer> &qtdecl_QDeadlineTimer () { return decl_QDeadlineTimer; }
}
// Implementation of the enum wrapper class for QDeadlineTimer::ForeverConstant
namespace qt_gsi
{
static gsi::Enum<QDeadlineTimer::ForeverConstant> decl_QDeadlineTimer_ForeverConstant_Enum ("QtCore", "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<QDeadlineTimer::ForeverConstant > decl_QDeadlineTimer_ForeverConstant_Enums ("QtCore", "QDeadlineTimer_QFlags_ForeverConstant",
"@qt\n@brief This class represents the QFlags<QDeadlineTimer::ForeverConstant> flag set");
// Inject the declarations into the parent
static gsi::ClassExt<QDeadlineTimer> inject_QDeadlineTimer_ForeverConstant_Enum_in_parent (decl_QDeadlineTimer_ForeverConstant_Enum.defs ());
static gsi::ClassExt<QDeadlineTimer> decl_QDeadlineTimer_ForeverConstant_Enum_as_child (decl_QDeadlineTimer_ForeverConstant_Enum, "ForeverConstant");
static gsi::ClassExt<QDeadlineTimer> decl_QDeadlineTimer_ForeverConstant_Enums_as_child (decl_QDeadlineTimer_ForeverConstant_Enums, "QFlags_ForeverConstant");
}

View File

@ -279,6 +279,26 @@ static void _call_f_setAutoInsertSpaces_864 (const qt_gsi::GenericMethod * /*dec
}
// void QDebug::setVerbosity(int verbosityLevel)
static void _init_f_setVerbosity_767 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("verbosityLevel");
decl->add_arg<int > (argspec_0);
decl->set_return<void > ();
}
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<int >() (args, heap);
__SUPPRESS_UNUSED_WARNING(ret);
((QDebug *)cls)->setVerbosity (arg1);
}
// QDebug &QDebug::space()
@ -314,6 +334,21 @@ static void _call_f_swap_1186 (const qt_gsi::GenericMethod * /*decl*/, void *cls
}
// int QDebug::verbosity()
static void _init_f_verbosity_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<int > ();
}
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 > ((int)((QDebug *)cls)->verbosity ());
}
namespace gsi
{
@ -334,8 +369,10 @@ static gsi::Methods methods_QDebug () {
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|verbosity=", "@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 int QDebug::verbosity()\n", true, &_init_f_verbosity_c0, &_call_f_verbosity_c0);
return methods;
}

View File

@ -392,6 +392,25 @@ static void _call_f_isAbsolute_c0 (const qt_gsi::GenericMethod * /*decl*/, void
}
// bool QDir::isEmpty(QFlags<QDir::Filter> 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<QFlags<QDir::Filter> > (argspec_0);
decl->set_return<bool > ();
}
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<QDir::Filter> arg1 = args ? gsi::arg_reader<QFlags<QDir::Filter> >() (args, heap) : gsi::arg_maker<QFlags<QDir::Filter> >() (QDir::Filters(QDir::AllEntries | QDir::NoDotAndDotDot), heap);
ret.write<bool > ((bool)((QDir *)cls)->isEmpty (arg1));
}
// bool QDir::isReadable()
@ -1053,6 +1072,21 @@ static void _call_f_isRelativePath_2025 (const qt_gsi::GenericStaticMethod * /*d
}
// static QChar QDir::listSeparator()
static void _init_f_listSeparator_0 (qt_gsi::GenericStaticMethod *decl)
{
decl->set_return<qt_gsi::Converter<QChar>::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<qt_gsi::Converter<QChar>::target_type > ((qt_gsi::Converter<QChar>::target_type)qt_gsi::CppToQtAdaptor<QChar>(QDir::listSeparator ()));
}
// static bool QDir::match(const QStringList &filters, const QString &fileName)
@ -1296,6 +1330,7 @@ static gsi::Methods methods_QDir () {
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 (":filter", "@brief Method QFlags<QDir::Filter> 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<QDir::Filter> 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);
@ -1333,6 +1368,7 @@ static gsi::Methods methods_QDir () {
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);

View File

@ -446,6 +446,8 @@ static gsi::Enum<QEvent::Type> decl_QEvent_Type_Enum ("QtCore", "QEvent_Type",
gsi::enum_const ("WindowChangeInternal", QEvent::WindowChangeInternal, "@brief Enum constant QEvent::WindowChangeInternal") +
gsi::enum_const ("ScreenChangeInternal", QEvent::ScreenChangeInternal, "@brief Enum constant QEvent::ScreenChangeInternal") +
gsi::enum_const ("PlatformSurface", QEvent::PlatformSurface, "@brief Enum constant QEvent::PlatformSurface") +
gsi::enum_const ("Pointer", QEvent::Pointer, "@brief Enum constant QEvent::Pointer") +
gsi::enum_const ("TabletTrackingChange", QEvent::TabletTrackingChange, "@brief Enum constant QEvent::TabletTrackingChange") +
gsi::enum_const ("User", QEvent::User, "@brief Enum constant QEvent::User") +
gsi::enum_const ("MaxUser", QEvent::MaxUser, "@brief Enum constant QEvent::MaxUser"),
"@qt\n@brief This class represents the QEvent::Type enum");

View File

@ -342,18 +342,18 @@ public:
}
}
// [adaptor impl] bool QEventLoop::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QEventLoop::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QEventLoop::eventFilter(arg1, arg2);
return QEventLoop::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QEventLoop_Adaptor, bool, QObject *, QEvent *>(&QEventLoop_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QEventLoop_Adaptor, bool, QObject *, QEvent *>(&QEventLoop_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QEventLoop::eventFilter(arg1, arg2);
return QEventLoop::eventFilter(watched, event);
}
}
@ -364,33 +364,33 @@ public:
throw tl::Exception ("Can't emit private signal 'void QEventLoop::objectNameChanged(const QString &objectName)'");
}
// [adaptor impl] void QEventLoop::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QEventLoop::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QEventLoop::childEvent(arg1);
QEventLoop::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QEventLoop_Adaptor, QChildEvent *>(&QEventLoop_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QEventLoop_Adaptor, QChildEvent *>(&QEventLoop_Adaptor::cbs_childEvent_1701_0, event);
} else {
QEventLoop::childEvent(arg1);
QEventLoop::childEvent(event);
}
}
// [adaptor impl] void QEventLoop::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QEventLoop::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QEventLoop::customEvent(arg1);
QEventLoop::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QEventLoop_Adaptor, QEvent *>(&QEventLoop_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QEventLoop_Adaptor, QEvent *>(&QEventLoop_Adaptor::cbs_customEvent_1217_0, event);
} else {
QEventLoop::customEvent(arg1);
QEventLoop::customEvent(event);
}
}
@ -409,18 +409,18 @@ public:
}
}
// [adaptor impl] void QEventLoop::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QEventLoop::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QEventLoop::timerEvent(arg1);
QEventLoop::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QEventLoop_Adaptor, QTimerEvent *>(&QEventLoop_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QEventLoop_Adaptor, QTimerEvent *>(&QEventLoop_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QEventLoop::timerEvent(arg1);
QEventLoop::timerEvent(event);
}
}
@ -438,7 +438,7 @@ QEventLoop_Adaptor::~QEventLoop_Adaptor() { }
static void _init_ctor_QEventLoop_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
static gsi::ArgSpecBase argspec_0 ("parent", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return_new<QEventLoop_Adaptor> ();
}
@ -447,16 +447,16 @@ static void _call_ctor_QEventLoop_Adaptor_1302 (const qt_gsi::GenericStaticMetho
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
ret.write<QEventLoop_Adaptor *> (new QEventLoop_Adaptor (arg1));
}
// void QEventLoop::childEvent(QChildEvent *)
// void QEventLoop::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -476,11 +476,11 @@ static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback
}
// void QEventLoop::customEvent(QEvent *)
// void QEventLoop::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -504,7 +504,7 @@ static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -513,7 +513,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QEventLoop_Adaptor *)cls)->emitter_QEventLoop_destroyed_1302 (arg1);
}
@ -565,13 +565,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QEventLoop::eventFilter(QObject *, QEvent *)
// bool QEventLoop::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -673,11 +673,11 @@ static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*
}
// void QEventLoop::timerEvent(QTimerEvent *)
// void QEventLoop::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -705,23 +705,23 @@ gsi::Class<QEventLoop> &qtdecl_QEventLoop ();
static gsi::Methods methods_QEventLoop_Adaptor () {
gsi::Methods methods;
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QEventLoop::QEventLoop(QObject *parent)\nThis method creates an object of class QEventLoop.", &_init_ctor_QEventLoop_Adaptor_1302, &_call_ctor_QEventLoop_Adaptor_1302);
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QEventLoop::childEvent(QChildEvent *)\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", "@brief Virtual method void QEventLoop::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 QEventLoop::customEvent(QEvent *)\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", "@brief Virtual method void QEventLoop::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 QEventLoop::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 QEventLoop::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 QEventLoop::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 QEventLoop::eventFilter(QObject *, QEvent *)\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", "@brief Virtual method bool QEventLoop::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 QEventLoop::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 QEventLoop::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 QEventLoop::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 *QEventLoop::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 QEventLoop::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 QEventLoop::timerEvent(QTimerEvent *)\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", "@brief Virtual method void QEventLoop::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;
}

View File

@ -265,18 +265,18 @@ public:
emit QEventTransition::destroyed(arg1);
}
// [adaptor impl] bool QEventTransition::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QEventTransition::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QEventTransition::eventFilter(arg1, arg2);
return QEventTransition::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QEventTransition_Adaptor, bool, QObject *, QEvent *>(&QEventTransition_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QEventTransition_Adaptor, bool, QObject *, QEvent *>(&QEventTransition_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QEventTransition::eventFilter(arg1, arg2);
return QEventTransition::eventFilter(watched, event);
}
}
@ -305,33 +305,33 @@ public:
throw tl::Exception ("Can't emit private signal 'void QEventTransition::triggered()'");
}
// [adaptor impl] void QEventTransition::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QEventTransition::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QEventTransition::childEvent(arg1);
QEventTransition::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QEventTransition_Adaptor, QChildEvent *>(&QEventTransition_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QEventTransition_Adaptor, QChildEvent *>(&QEventTransition_Adaptor::cbs_childEvent_1701_0, event);
} else {
QEventTransition::childEvent(arg1);
QEventTransition::childEvent(event);
}
}
// [adaptor impl] void QEventTransition::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QEventTransition::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QEventTransition::customEvent(arg1);
QEventTransition::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QEventTransition_Adaptor, QEvent *>(&QEventTransition_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QEventTransition_Adaptor, QEvent *>(&QEventTransition_Adaptor::cbs_customEvent_1217_0, event);
} else {
QEventTransition::customEvent(arg1);
QEventTransition::customEvent(event);
}
}
@ -395,18 +395,18 @@ public:
}
}
// [adaptor impl] void QEventTransition::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QEventTransition::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QEventTransition::timerEvent(arg1);
QEventTransition::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QEventTransition_Adaptor, QTimerEvent *>(&QEventTransition_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QEventTransition_Adaptor, QTimerEvent *>(&QEventTransition_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QEventTransition::timerEvent(arg1);
QEventTransition::timerEvent(event);
}
}
@ -426,7 +426,7 @@ QEventTransition_Adaptor::~QEventTransition_Adaptor() { }
static void _init_ctor_QEventTransition_Adaptor_1216 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("sourceState", true, "0");
static gsi::ArgSpecBase argspec_0 ("sourceState", true, "nullptr");
decl->add_arg<QState * > (argspec_0);
decl->set_return_new<QEventTransition_Adaptor> ();
}
@ -435,7 +435,7 @@ static void _call_ctor_QEventTransition_Adaptor_1216 (const qt_gsi::GenericStati
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QState *arg1 = args ? gsi::arg_reader<QState * >() (args, heap) : gsi::arg_maker<QState * >() (0, heap);
QState *arg1 = args ? gsi::arg_reader<QState * >() (args, heap) : gsi::arg_maker<QState * >() (nullptr, heap);
ret.write<QEventTransition_Adaptor *> (new QEventTransition_Adaptor (arg1));
}
@ -448,7 +448,7 @@ static void _init_ctor_QEventTransition_Adaptor_3867 (qt_gsi::GenericStaticMetho
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("type");
decl->add_arg<const qt_gsi::Converter<QEvent::Type>::target_type & > (argspec_1);
static gsi::ArgSpecBase argspec_2 ("sourceState", true, "0");
static gsi::ArgSpecBase argspec_2 ("sourceState", true, "nullptr");
decl->add_arg<QState * > (argspec_2);
decl->set_return_new<QEventTransition_Adaptor> ();
}
@ -459,16 +459,16 @@ static void _call_ctor_QEventTransition_Adaptor_3867 (const qt_gsi::GenericStati
tl::Heap heap;
QObject *arg1 = gsi::arg_reader<QObject * >() (args, heap);
const qt_gsi::Converter<QEvent::Type>::target_type & arg2 = gsi::arg_reader<const qt_gsi::Converter<QEvent::Type>::target_type & >() (args, heap);
QState *arg3 = args ? gsi::arg_reader<QState * >() (args, heap) : gsi::arg_maker<QState * >() (0, heap);
QState *arg3 = args ? gsi::arg_reader<QState * >() (args, heap) : gsi::arg_maker<QState * >() (nullptr, heap);
ret.write<QEventTransition_Adaptor *> (new QEventTransition_Adaptor (arg1, qt_gsi::QtToCppAdaptor<QEvent::Type>(arg2).cref(), arg3));
}
// void QEventTransition::childEvent(QChildEvent *)
// void QEventTransition::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -488,11 +488,11 @@ static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback
}
// void QEventTransition::customEvent(QEvent *)
// void QEventTransition::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -516,7 +516,7 @@ static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -525,7 +525,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QEventTransition_Adaptor *)cls)->emitter_QEventTransition_destroyed_1302 (arg1);
}
@ -577,13 +577,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QEventTransition::eventFilter(QObject *, QEvent *)
// bool QEventTransition::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -760,11 +760,11 @@ static void _call_emitter_targetStatesChanged_3938 (const qt_gsi::GenericMethod
}
// void QEventTransition::timerEvent(QTimerEvent *)
// void QEventTransition::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -807,16 +807,16 @@ static gsi::Methods methods_QEventTransition_Adaptor () {
gsi::Methods methods;
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QEventTransition::QEventTransition(QState *sourceState)\nThis method creates an object of class QEventTransition.", &_init_ctor_QEventTransition_Adaptor_1216, &_call_ctor_QEventTransition_Adaptor_1216);
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QEventTransition::QEventTransition(QObject *object, QEvent::Type type, QState *sourceState)\nThis method creates an object of class QEventTransition.", &_init_ctor_QEventTransition_Adaptor_3867, &_call_ctor_QEventTransition_Adaptor_3867);
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QEventTransition::childEvent(QChildEvent *)\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", "@brief Virtual method void QEventTransition::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 QEventTransition::customEvent(QEvent *)\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", "@brief Virtual method void QEventTransition::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 QEventTransition::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 QEventTransition::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 QEventTransition::event(QEvent *e)\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 QEventTransition::eventFilter(QObject *, QEvent *)\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", "@brief Virtual method bool QEventTransition::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 ("*eventTest", "@brief Virtual method bool QEventTransition::eventTest(QEvent *event)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_eventTest_1217_0, &_call_cbs_eventTest_1217_0);
methods += new qt_gsi::GenericMethod ("*eventTest", "@hide", false, &_init_cbs_eventTest_1217_0, &_call_cbs_eventTest_1217_0, &_set_callback_cbs_eventTest_1217_0);
@ -829,7 +829,7 @@ static gsi::Methods methods_QEventTransition_Adaptor () {
methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QEventTransition::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 ("emit_targetStateChanged", "@brief Emitter for signal void QEventTransition::targetStateChanged()\nCall this method to emit this signal.", false, &_init_emitter_targetStateChanged_3938, &_call_emitter_targetStateChanged_3938);
methods += new qt_gsi::GenericMethod ("emit_targetStatesChanged", "@brief Emitter for signal void QEventTransition::targetStatesChanged()\nCall this method to emit this signal.", false, &_init_emitter_targetStatesChanged_3938, &_call_emitter_targetStatesChanged_3938);
methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QEventTransition::timerEvent(QTimerEvent *)\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", "@brief Virtual method void QEventTransition::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_triggered", "@brief Emitter for signal void QEventTransition::triggered()\nCall this method to emit this signal.", false, &_init_emitter_triggered_3938, &_call_emitter_triggered_3938);
return methods;

View File

@ -28,6 +28,7 @@
*/
#include <QFile>
#include <QDateTime>
#include <QEvent>
#include <QMetaMethod>
#include <QObject>
@ -686,6 +687,8 @@ static gsi::Methods methods_QFile () {
methods += new qt_gsi::GenericMethod ("symLinkTarget", "@brief Method QString QFile::symLinkTarget()\n", true, &_init_f_symLinkTarget_c0, &_call_f_symLinkTarget_c0);
methods += gsi::qt_signal ("aboutToClose()", "aboutToClose", "@brief Signal declaration for QFile::aboutToClose()\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal<qint64 > ("bytesWritten(qint64)", "bytesWritten", gsi::arg("bytes"), "@brief Signal declaration for QFile::bytesWritten(qint64 bytes)\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal<int, qint64 > ("channelBytesWritten(int, qint64)", "channelBytesWritten", gsi::arg("channel"), gsi::arg("bytes"), "@brief Signal declaration for QFile::channelBytesWritten(int channel, qint64 bytes)\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal<int > ("channelReadyRead(int)", "channelReadyRead", gsi::arg("channel"), "@brief Signal declaration for QFile::channelReadyRead(int channel)\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal<QObject * > ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QFile::destroyed(QObject *)\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal<const QString & > ("objectNameChanged(const QString &)", "objectNameChanged", gsi::arg("objectName"), "@brief Signal declaration for QFile::objectNameChanged(const QString &objectName)\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal ("readChannelFinished()", "readChannelFinished", "@brief Signal declaration for QFile::readChannelFinished()\nYou can bind a procedure to this signal.");

View File

@ -29,6 +29,7 @@
#include <QFileDevice>
#include <QChildEvent>
#include <QDateTime>
#include <QEvent>
#include <QMetaMethod>
#include <QObject>
@ -115,6 +116,25 @@ static void _call_f_fileName_c0 (const qt_gsi::GenericMethod * /*decl*/, void *c
}
// QDateTime QFileDevice::fileTime(QFileDevice::FileTime time)
static void _init_f_fileTime_c2392 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("time");
decl->add_arg<const qt_gsi::Converter<QFileDevice::FileTime>::target_type & > (argspec_0);
decl->set_return<QDateTime > ();
}
static void _call_f_fileTime_c2392 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const qt_gsi::Converter<QFileDevice::FileTime>::target_type & arg1 = gsi::arg_reader<const qt_gsi::Converter<QFileDevice::FileTime>::target_type & >() (args, heap);
ret.write<QDateTime > ((QDateTime)((QFileDevice *)cls)->fileTime (qt_gsi::QtToCppAdaptor<QFileDevice::FileTime>(arg1).cref()));
}
// bool QFileDevice::flush()
@ -228,6 +248,28 @@ static void _call_f_seek_986 (const qt_gsi::GenericMethod * /*decl*/, void *cls,
}
// bool QFileDevice::setFileTime(const QDateTime &newDate, QFileDevice::FileTime fileTime)
static void _init_f_setFileTime_4459 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("newDate");
decl->add_arg<const QDateTime & > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("fileTime");
decl->add_arg<const qt_gsi::Converter<QFileDevice::FileTime>::target_type & > (argspec_1);
decl->set_return<bool > ();
}
static void _call_f_setFileTime_4459 (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<const QDateTime & >() (args, heap);
const qt_gsi::Converter<QFileDevice::FileTime>::target_type & arg2 = gsi::arg_reader<const qt_gsi::Converter<QFileDevice::FileTime>::target_type & >() (args, heap);
ret.write<bool > ((bool)((QFileDevice *)cls)->setFileTime (arg1, qt_gsi::QtToCppAdaptor<QFileDevice::FileTime>(arg2).cref()));
}
// bool QFileDevice::setPermissions(QFlags<QFileDevice::Permission> permissionSpec)
@ -338,6 +380,7 @@ static gsi::Methods methods_QFileDevice () {
methods += new qt_gsi::GenericMethod ("close", "@brief Method void QFileDevice::close()\nThis is a reimplementation of QIODevice::close", false, &_init_f_close_0, &_call_f_close_0);
methods += new qt_gsi::GenericMethod ("error", "@brief Method QFileDevice::FileError QFileDevice::error()\n", true, &_init_f_error_c0, &_call_f_error_c0);
methods += new qt_gsi::GenericMethod ("fileName", "@brief Method QString QFileDevice::fileName()\n", true, &_init_f_fileName_c0, &_call_f_fileName_c0);
methods += new qt_gsi::GenericMethod ("fileTime", "@brief Method QDateTime QFileDevice::fileTime(QFileDevice::FileTime time)\n", true, &_init_f_fileTime_c2392, &_call_f_fileTime_c2392);
methods += new qt_gsi::GenericMethod ("flush", "@brief Method bool QFileDevice::flush()\n", false, &_init_f_flush_0, &_call_f_flush_0);
methods += new qt_gsi::GenericMethod ("handle", "@brief Method int QFileDevice::handle()\n", true, &_init_f_handle_c0, &_call_f_handle_c0);
methods += new qt_gsi::GenericMethod ("isSequential?", "@brief Method bool QFileDevice::isSequential()\nThis is a reimplementation of QIODevice::isSequential", true, &_init_f_isSequential_c0, &_call_f_isSequential_c0);
@ -345,11 +388,14 @@ static gsi::Methods methods_QFileDevice () {
methods += new qt_gsi::GenericMethod ("pos", "@brief Method qint64 QFileDevice::pos()\nThis is a reimplementation of QIODevice::pos", true, &_init_f_pos_c0, &_call_f_pos_c0);
methods += new qt_gsi::GenericMethod ("resize", "@brief Method bool QFileDevice::resize(qint64 sz)\n", false, &_init_f_resize_986, &_call_f_resize_986);
methods += new qt_gsi::GenericMethod ("seek", "@brief Method bool QFileDevice::seek(qint64 offset)\nThis is a reimplementation of QIODevice::seek", false, &_init_f_seek_986, &_call_f_seek_986);
methods += new qt_gsi::GenericMethod ("setFileTime", "@brief Method bool QFileDevice::setFileTime(const QDateTime &newDate, QFileDevice::FileTime fileTime)\n", false, &_init_f_setFileTime_4459, &_call_f_setFileTime_4459);
methods += new qt_gsi::GenericMethod ("setPermissions", "@brief Method bool QFileDevice::setPermissions(QFlags<QFileDevice::Permission> permissionSpec)\n", false, &_init_f_setPermissions_3370, &_call_f_setPermissions_3370);
methods += new qt_gsi::GenericMethod ("size", "@brief Method qint64 QFileDevice::size()\nThis is a reimplementation of QIODevice::size", true, &_init_f_size_c0, &_call_f_size_c0);
methods += new qt_gsi::GenericMethod ("unsetError", "@brief Method void QFileDevice::unsetError()\n", false, &_init_f_unsetError_0, &_call_f_unsetError_0);
methods += gsi::qt_signal ("aboutToClose()", "aboutToClose", "@brief Signal declaration for QFileDevice::aboutToClose()\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal<qint64 > ("bytesWritten(qint64)", "bytesWritten", gsi::arg("bytes"), "@brief Signal declaration for QFileDevice::bytesWritten(qint64 bytes)\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal<int, qint64 > ("channelBytesWritten(int, qint64)", "channelBytesWritten", gsi::arg("channel"), gsi::arg("bytes"), "@brief Signal declaration for QFileDevice::channelBytesWritten(int channel, qint64 bytes)\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal<int > ("channelReadyRead(int)", "channelReadyRead", gsi::arg("channel"), "@brief Signal declaration for QFileDevice::channelReadyRead(int channel)\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal<QObject * > ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QFileDevice::destroyed(QObject *)\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal<const QString & > ("objectNameChanged(const QString &)", "objectNameChanged", gsi::arg("objectName"), "@brief Signal declaration for QFileDevice::objectNameChanged(const QString &objectName)\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal ("readChannelFinished()", "readChannelFinished", "@brief Signal declaration for QFileDevice::readChannelFinished()\nYou can bind a procedure to this signal.");
@ -478,6 +524,18 @@ public:
}
}
// [emitter impl] void QFileDevice::channelBytesWritten(int channel, qint64 bytes)
void emitter_QFileDevice_channelBytesWritten_1645(int channel, qint64 bytes)
{
emit QFileDevice::channelBytesWritten(channel, bytes);
}
// [emitter impl] void QFileDevice::channelReadyRead(int channel)
void emitter_QFileDevice_channelReadyRead_767(int channel)
{
emit QFileDevice::channelReadyRead(channel);
}
// [adaptor impl] void QFileDevice::close()
void cbs_close_0_0()
{
@ -499,33 +557,33 @@ public:
emit QFileDevice::destroyed(arg1);
}
// [adaptor impl] bool QFileDevice::event(QEvent *)
bool cbs_event_1217_0(QEvent *arg1)
// [adaptor impl] bool QFileDevice::event(QEvent *event)
bool cbs_event_1217_0(QEvent *_event)
{
return QFileDevice::event(arg1);
return QFileDevice::event(_event);
}
virtual bool event(QEvent *arg1)
virtual bool event(QEvent *_event)
{
if (cb_event_1217_0.can_issue()) {
return cb_event_1217_0.issue<QFileDevice_Adaptor, bool, QEvent *>(&QFileDevice_Adaptor::cbs_event_1217_0, arg1);
return cb_event_1217_0.issue<QFileDevice_Adaptor, bool, QEvent *>(&QFileDevice_Adaptor::cbs_event_1217_0, _event);
} else {
return QFileDevice::event(arg1);
return QFileDevice::event(_event);
}
}
// [adaptor impl] bool QFileDevice::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QFileDevice::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QFileDevice::eventFilter(arg1, arg2);
return QFileDevice::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QFileDevice_Adaptor, bool, QObject *, QEvent *>(&QFileDevice_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QFileDevice_Adaptor, bool, QObject *, QEvent *>(&QFileDevice_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QFileDevice::eventFilter(arg1, arg2);
return QFileDevice::eventFilter(watched, event);
}
}
@ -728,33 +786,33 @@ public:
}
}
// [adaptor impl] void QFileDevice::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QFileDevice::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QFileDevice::childEvent(arg1);
QFileDevice::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QFileDevice_Adaptor, QChildEvent *>(&QFileDevice_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QFileDevice_Adaptor, QChildEvent *>(&QFileDevice_Adaptor::cbs_childEvent_1701_0, event);
} else {
QFileDevice::childEvent(arg1);
QFileDevice::childEvent(event);
}
}
// [adaptor impl] void QFileDevice::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QFileDevice::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QFileDevice::customEvent(arg1);
QFileDevice::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QFileDevice_Adaptor, QEvent *>(&QFileDevice_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QFileDevice_Adaptor, QEvent *>(&QFileDevice_Adaptor::cbs_customEvent_1217_0, event);
} else {
QFileDevice::customEvent(arg1);
QFileDevice::customEvent(event);
}
}
@ -773,18 +831,18 @@ public:
}
}
// [adaptor impl] void QFileDevice::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QFileDevice::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QFileDevice::timerEvent(arg1);
QFileDevice::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QFileDevice_Adaptor, QTimerEvent *>(&QFileDevice_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QFileDevice_Adaptor, QTimerEvent *>(&QFileDevice_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QFileDevice::timerEvent(arg1);
QFileDevice::timerEvent(event);
}
}
@ -939,11 +997,50 @@ static void _set_callback_cbs_canReadLine_c0_0 (void *cls, const gsi::Callback &
}
// void QFileDevice::childEvent(QChildEvent *)
// emitter void QFileDevice::channelBytesWritten(int channel, qint64 bytes)
static void _init_emitter_channelBytesWritten_1645 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("channel");
decl->add_arg<int > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("bytes");
decl->add_arg<qint64 > (argspec_1);
decl->set_return<void > ();
}
static void _call_emitter_channelBytesWritten_1645 (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<int >() (args, heap);
qint64 arg2 = gsi::arg_reader<qint64 >() (args, heap);
((QFileDevice_Adaptor *)cls)->emitter_QFileDevice_channelBytesWritten_1645 (arg1, arg2);
}
// emitter void QFileDevice::channelReadyRead(int channel)
static void _init_emitter_channelReadyRead_767 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("channel");
decl->add_arg<int > (argspec_0);
decl->set_return<void > ();
}
static void _call_emitter_channelReadyRead_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<int >() (args, heap);
((QFileDevice_Adaptor *)cls)->emitter_QFileDevice_channelReadyRead_767 (arg1);
}
// void QFileDevice::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -983,11 +1080,11 @@ static void _set_callback_cbs_close_0_0 (void *cls, const gsi::Callback &cb)
}
// void QFileDevice::customEvent(QEvent *)
// void QFileDevice::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -1011,7 +1108,7 @@ static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -1020,7 +1117,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QFileDevice_Adaptor *)cls)->emitter_QFileDevice_destroyed_1302 (arg1);
}
@ -1049,11 +1146,11 @@ static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Cal
}
// bool QFileDevice::event(QEvent *)
// bool QFileDevice::event(QEvent *event)
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<bool > ();
}
@ -1072,13 +1169,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QFileDevice::eventFilter(QObject *, QEvent *)
// bool QFileDevice::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -1452,11 +1549,11 @@ static void _set_callback_cbs_size_c0_0 (void *cls, const gsi::Callback &cb)
}
// void QFileDevice::timerEvent(QTimerEvent *)
// void QFileDevice::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -1565,18 +1662,20 @@ static gsi::Methods methods_QFileDevice_Adaptor () {
methods += new qt_gsi::GenericMethod ("emit_bytesWritten", "@brief Emitter for signal void QFileDevice::bytesWritten(qint64 bytes)\nCall this method to emit this signal.", false, &_init_emitter_bytesWritten_986, &_call_emitter_bytesWritten_986);
methods += new qt_gsi::GenericMethod ("canReadLine", "@brief Virtual method bool QFileDevice::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 QFileDevice::childEvent(QChildEvent *)\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 ("emit_channelBytesWritten", "@brief Emitter for signal void QFileDevice::channelBytesWritten(int channel, qint64 bytes)\nCall this method to emit this signal.", false, &_init_emitter_channelBytesWritten_1645, &_call_emitter_channelBytesWritten_1645);
methods += new qt_gsi::GenericMethod ("emit_channelReadyRead", "@brief Emitter for signal void QFileDevice::channelReadyRead(int channel)\nCall this method to emit this signal.", false, &_init_emitter_channelReadyRead_767, &_call_emitter_channelReadyRead_767);
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QFileDevice::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 QFileDevice::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 QFileDevice::customEvent(QEvent *)\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", "@brief Virtual method void QFileDevice::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 QFileDevice::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 QFileDevice::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 QFileDevice::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", "@brief Virtual method bool QFileDevice::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 QFileDevice::eventFilter(QObject *, QEvent *)\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", "@brief Virtual method bool QFileDevice::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 ("fileName", "@brief Virtual method QString QFileDevice::fileName()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_fileName_c0_0, &_call_cbs_fileName_c0_0);
methods += new qt_gsi::GenericMethod ("fileName", "@hide", true, &_init_cbs_fileName_c0_0, &_call_cbs_fileName_c0_0, &_set_callback_cbs_fileName_c0_0);
@ -1607,7 +1706,7 @@ static gsi::Methods methods_QFileDevice_Adaptor () {
methods += new qt_gsi::GenericMethod ("setPermissions", "@hide", false, &_init_cbs_setPermissions_3370_0, &_call_cbs_setPermissions_3370_0, &_set_callback_cbs_setPermissions_3370_0);
methods += new qt_gsi::GenericMethod ("size", "@brief Virtual method qint64 QFileDevice::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 ("*timerEvent", "@brief Virtual method void QFileDevice::timerEvent(QTimerEvent *)\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", "@brief Virtual method void QFileDevice::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 QFileDevice::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);
@ -1658,6 +1757,28 @@ static gsi::ClassExt<QFileDevice> decl_QFileDevice_FileError_Enums_as_child (dec
}
// Implementation of the enum wrapper class for QFileDevice::FileTime
namespace qt_gsi
{
static gsi::Enum<QFileDevice::FileTime> decl_QFileDevice_FileTime_Enum ("QtCore", "QFileDevice_FileTime",
gsi::enum_const ("FileAccessTime", QFileDevice::FileAccessTime, "@brief Enum constant QFileDevice::FileAccessTime") +
gsi::enum_const ("FileBirthTime", QFileDevice::FileBirthTime, "@brief Enum constant QFileDevice::FileBirthTime") +
gsi::enum_const ("FileMetadataChangeTime", QFileDevice::FileMetadataChangeTime, "@brief Enum constant QFileDevice::FileMetadataChangeTime") +
gsi::enum_const ("FileModificationTime", QFileDevice::FileModificationTime, "@brief Enum constant QFileDevice::FileModificationTime"),
"@qt\n@brief This class represents the QFileDevice::FileTime enum");
static gsi::QFlagsClass<QFileDevice::FileTime > decl_QFileDevice_FileTime_Enums ("QtCore", "QFileDevice_QFlags_FileTime",
"@qt\n@brief This class represents the QFlags<QFileDevice::FileTime> flag set");
// Inject the declarations into the parent
static gsi::ClassExt<QFileDevice> inject_QFileDevice_FileTime_Enum_in_parent (decl_QFileDevice_FileTime_Enum.defs ());
static gsi::ClassExt<QFileDevice> decl_QFileDevice_FileTime_Enum_as_child (decl_QFileDevice_FileTime_Enum, "FileTime");
static gsi::ClassExt<QFileDevice> decl_QFileDevice_FileTime_Enums_as_child (decl_QFileDevice_FileTime_Enums, "QFlags_FileTime");
}
// Implementation of the enum wrapper class for QFileDevice::Permission
namespace qt_gsi
{

View File

@ -192,6 +192,21 @@ static void _call_f_baseName_c0 (const qt_gsi::GenericMethod * /*decl*/, void *c
}
// QDateTime QFileInfo::birthTime()
static void _init_f_birthTime_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<QDateTime > ();
}
static void _call_f_birthTime_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
ret.write<QDateTime > ((QDateTime)((QFileInfo *)cls)->birthTime ());
}
// QString QFileInfo::bundleName()
@ -357,6 +372,25 @@ static void _call_f_filePath_c0 (const qt_gsi::GenericMethod * /*decl*/, void *c
}
// QDateTime QFileInfo::fileTime(QFileDevice::FileTime time)
static void _init_f_fileTime_c2392 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("time");
decl->add_arg<const qt_gsi::Converter<QFileDevice::FileTime>::target_type & > (argspec_0);
decl->set_return<QDateTime > ();
}
static void _call_f_fileTime_c2392 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const qt_gsi::Converter<QFileDevice::FileTime>::target_type & arg1 = gsi::arg_reader<const qt_gsi::Converter<QFileDevice::FileTime>::target_type & >() (args, heap);
ret.write<QDateTime > ((QDateTime)((QFileInfo *)cls)->fileTime (qt_gsi::QtToCppAdaptor<QFileDevice::FileTime>(arg1).cref()));
}
// QString QFileInfo::group()
@ -612,6 +646,21 @@ static void _call_f_makeAbsolute_0 (const qt_gsi::GenericMethod * /*decl*/, void
}
// QDateTime QFileInfo::metadataChangeTime()
static void _init_f_metadataChangeTime_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<QDateTime > ();
}
static void _call_f_metadataChangeTime_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
ret.write<QDateTime > ((QDateTime)((QFileInfo *)cls)->metadataChangeTime ());
}
// bool QFileInfo::operator!=(const QFileInfo &fileinfo)
@ -961,6 +1010,7 @@ static gsi::Methods methods_QFileInfo () {
methods += new qt_gsi::GenericMethod ("absoluteFilePath", "@brief Method QString QFileInfo::absoluteFilePath()\n", true, &_init_f_absoluteFilePath_c0, &_call_f_absoluteFilePath_c0);
methods += new qt_gsi::GenericMethod ("absolutePath", "@brief Method QString QFileInfo::absolutePath()\n", true, &_init_f_absolutePath_c0, &_call_f_absolutePath_c0);
methods += new qt_gsi::GenericMethod ("baseName", "@brief Method QString QFileInfo::baseName()\n", true, &_init_f_baseName_c0, &_call_f_baseName_c0);
methods += new qt_gsi::GenericMethod ("birthTime", "@brief Method QDateTime QFileInfo::birthTime()\n", true, &_init_f_birthTime_c0, &_call_f_birthTime_c0);
methods += new qt_gsi::GenericMethod ("bundleName", "@brief Method QString QFileInfo::bundleName()\n", true, &_init_f_bundleName_c0, &_call_f_bundleName_c0);
methods += new qt_gsi::GenericMethod (":caching", "@brief Method bool QFileInfo::caching()\n", true, &_init_f_caching_c0, &_call_f_caching_c0);
methods += new qt_gsi::GenericMethod ("canonicalFilePath", "@brief Method QString QFileInfo::canonicalFilePath()\n", true, &_init_f_canonicalFilePath_c0, &_call_f_canonicalFilePath_c0);
@ -972,6 +1022,7 @@ static gsi::Methods methods_QFileInfo () {
methods += new qt_gsi::GenericMethod ("exists", "@brief Method bool QFileInfo::exists()\n", true, &_init_f_exists_c0, &_call_f_exists_c0);
methods += new qt_gsi::GenericMethod ("fileName", "@brief Method QString QFileInfo::fileName()\n", true, &_init_f_fileName_c0, &_call_f_fileName_c0);
methods += new qt_gsi::GenericMethod ("filePath", "@brief Method QString QFileInfo::filePath()\n", true, &_init_f_filePath_c0, &_call_f_filePath_c0);
methods += new qt_gsi::GenericMethod ("fileTime", "@brief Method QDateTime QFileInfo::fileTime(QFileDevice::FileTime time)\n", true, &_init_f_fileTime_c2392, &_call_f_fileTime_c2392);
methods += new qt_gsi::GenericMethod ("group", "@brief Method QString QFileInfo::group()\n", true, &_init_f_group_c0, &_call_f_group_c0);
methods += new qt_gsi::GenericMethod ("groupId", "@brief Method unsigned int QFileInfo::groupId()\n", true, &_init_f_groupId_c0, &_call_f_groupId_c0);
methods += new qt_gsi::GenericMethod ("isAbsolute?", "@brief Method bool QFileInfo::isAbsolute()\n", true, &_init_f_isAbsolute_c0, &_call_f_isAbsolute_c0);
@ -989,6 +1040,7 @@ static gsi::Methods methods_QFileInfo () {
methods += new qt_gsi::GenericMethod ("lastModified", "@brief Method QDateTime QFileInfo::lastModified()\n", true, &_init_f_lastModified_c0, &_call_f_lastModified_c0);
methods += new qt_gsi::GenericMethod ("lastRead", "@brief Method QDateTime QFileInfo::lastRead()\n", true, &_init_f_lastRead_c0, &_call_f_lastRead_c0);
methods += new qt_gsi::GenericMethod ("makeAbsolute", "@brief Method bool QFileInfo::makeAbsolute()\n", false, &_init_f_makeAbsolute_0, &_call_f_makeAbsolute_0);
methods += new qt_gsi::GenericMethod ("metadataChangeTime", "@brief Method QDateTime QFileInfo::metadataChangeTime()\n", true, &_init_f_metadataChangeTime_c0, &_call_f_metadataChangeTime_c0);
methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QFileInfo::operator!=(const QFileInfo &fileinfo)\n", true, &_init_f_operator_excl__eq__c2174, &_call_f_operator_excl__eq__c2174);
methods += new qt_gsi::GenericMethod ("assign", "@brief Method QFileInfo &QFileInfo::operator=(const QFileInfo &fileinfo)\n", false, &_init_f_operator_eq__2174, &_call_f_operator_eq__2174);
methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QFileInfo::operator==(const QFileInfo &fileinfo)\n", true, &_init_f_operator_eq__eq__c2174, &_call_f_operator_eq__eq__c2174);

View File

@ -266,33 +266,33 @@ public:
emit QFileSelector::destroyed(arg1);
}
// [adaptor impl] bool QFileSelector::event(QEvent *)
bool cbs_event_1217_0(QEvent *arg1)
// [adaptor impl] bool QFileSelector::event(QEvent *event)
bool cbs_event_1217_0(QEvent *_event)
{
return QFileSelector::event(arg1);
return QFileSelector::event(_event);
}
virtual bool event(QEvent *arg1)
virtual bool event(QEvent *_event)
{
if (cb_event_1217_0.can_issue()) {
return cb_event_1217_0.issue<QFileSelector_Adaptor, bool, QEvent *>(&QFileSelector_Adaptor::cbs_event_1217_0, arg1);
return cb_event_1217_0.issue<QFileSelector_Adaptor, bool, QEvent *>(&QFileSelector_Adaptor::cbs_event_1217_0, _event);
} else {
return QFileSelector::event(arg1);
return QFileSelector::event(_event);
}
}
// [adaptor impl] bool QFileSelector::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QFileSelector::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QFileSelector::eventFilter(arg1, arg2);
return QFileSelector::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QFileSelector_Adaptor, bool, QObject *, QEvent *>(&QFileSelector_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QFileSelector_Adaptor, bool, QObject *, QEvent *>(&QFileSelector_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QFileSelector::eventFilter(arg1, arg2);
return QFileSelector::eventFilter(watched, event);
}
}
@ -303,33 +303,33 @@ public:
throw tl::Exception ("Can't emit private signal 'void QFileSelector::objectNameChanged(const QString &objectName)'");
}
// [adaptor impl] void QFileSelector::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QFileSelector::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QFileSelector::childEvent(arg1);
QFileSelector::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QFileSelector_Adaptor, QChildEvent *>(&QFileSelector_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QFileSelector_Adaptor, QChildEvent *>(&QFileSelector_Adaptor::cbs_childEvent_1701_0, event);
} else {
QFileSelector::childEvent(arg1);
QFileSelector::childEvent(event);
}
}
// [adaptor impl] void QFileSelector::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QFileSelector::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QFileSelector::customEvent(arg1);
QFileSelector::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QFileSelector_Adaptor, QEvent *>(&QFileSelector_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QFileSelector_Adaptor, QEvent *>(&QFileSelector_Adaptor::cbs_customEvent_1217_0, event);
} else {
QFileSelector::customEvent(arg1);
QFileSelector::customEvent(event);
}
}
@ -348,18 +348,18 @@ public:
}
}
// [adaptor impl] void QFileSelector::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QFileSelector::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QFileSelector::timerEvent(arg1);
QFileSelector::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QFileSelector_Adaptor, QTimerEvent *>(&QFileSelector_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QFileSelector_Adaptor, QTimerEvent *>(&QFileSelector_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QFileSelector::timerEvent(arg1);
QFileSelector::timerEvent(event);
}
}
@ -377,7 +377,7 @@ QFileSelector_Adaptor::~QFileSelector_Adaptor() { }
static void _init_ctor_QFileSelector_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
static gsi::ArgSpecBase argspec_0 ("parent", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return_new<QFileSelector_Adaptor> ();
}
@ -386,16 +386,16 @@ static void _call_ctor_QFileSelector_Adaptor_1302 (const qt_gsi::GenericStaticMe
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
ret.write<QFileSelector_Adaptor *> (new QFileSelector_Adaptor (arg1));
}
// void QFileSelector::childEvent(QChildEvent *)
// void QFileSelector::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -415,11 +415,11 @@ static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback
}
// void QFileSelector::customEvent(QEvent *)
// void QFileSelector::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -443,7 +443,7 @@ static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -452,7 +452,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QFileSelector_Adaptor *)cls)->emitter_QFileSelector_destroyed_1302 (arg1);
}
@ -481,11 +481,11 @@ static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Cal
}
// bool QFileSelector::event(QEvent *)
// bool QFileSelector::event(QEvent *event)
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<bool > ();
}
@ -504,13 +504,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QFileSelector::eventFilter(QObject *, QEvent *)
// bool QFileSelector::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -612,11 +612,11 @@ static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*
}
// void QFileSelector::timerEvent(QTimerEvent *)
// void QFileSelector::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -644,23 +644,23 @@ gsi::Class<QFileSelector> &qtdecl_QFileSelector ();
static gsi::Methods methods_QFileSelector_Adaptor () {
gsi::Methods methods;
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QFileSelector::QFileSelector(QObject *parent)\nThis method creates an object of class QFileSelector.", &_init_ctor_QFileSelector_Adaptor_1302, &_call_ctor_QFileSelector_Adaptor_1302);
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QFileSelector::childEvent(QChildEvent *)\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", "@brief Virtual method void QFileSelector::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 QFileSelector::customEvent(QEvent *)\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", "@brief Virtual method void QFileSelector::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 QFileSelector::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 QFileSelector::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 QFileSelector::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", "@brief Virtual method bool QFileSelector::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 QFileSelector::eventFilter(QObject *, QEvent *)\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", "@brief Virtual method bool QFileSelector::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 QFileSelector::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 QFileSelector::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 QFileSelector::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 *QFileSelector::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 QFileSelector::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 QFileSelector::timerEvent(QTimerEvent *)\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", "@brief Virtual method void QFileSelector::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;
}

View File

@ -305,33 +305,33 @@ public:
throw tl::Exception ("Can't emit private signal 'void QFileSystemWatcher::directoryChanged(const QString &path)'");
}
// [adaptor impl] bool QFileSystemWatcher::event(QEvent *)
bool cbs_event_1217_0(QEvent *arg1)
// [adaptor impl] bool QFileSystemWatcher::event(QEvent *event)
bool cbs_event_1217_0(QEvent *_event)
{
return QFileSystemWatcher::event(arg1);
return QFileSystemWatcher::event(_event);
}
virtual bool event(QEvent *arg1)
virtual bool event(QEvent *_event)
{
if (cb_event_1217_0.can_issue()) {
return cb_event_1217_0.issue<QFileSystemWatcher_Adaptor, bool, QEvent *>(&QFileSystemWatcher_Adaptor::cbs_event_1217_0, arg1);
return cb_event_1217_0.issue<QFileSystemWatcher_Adaptor, bool, QEvent *>(&QFileSystemWatcher_Adaptor::cbs_event_1217_0, _event);
} else {
return QFileSystemWatcher::event(arg1);
return QFileSystemWatcher::event(_event);
}
}
// [adaptor impl] bool QFileSystemWatcher::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QFileSystemWatcher::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QFileSystemWatcher::eventFilter(arg1, arg2);
return QFileSystemWatcher::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QFileSystemWatcher_Adaptor, bool, QObject *, QEvent *>(&QFileSystemWatcher_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QFileSystemWatcher_Adaptor, bool, QObject *, QEvent *>(&QFileSystemWatcher_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QFileSystemWatcher::eventFilter(arg1, arg2);
return QFileSystemWatcher::eventFilter(watched, event);
}
}
@ -349,33 +349,33 @@ public:
throw tl::Exception ("Can't emit private signal 'void QFileSystemWatcher::objectNameChanged(const QString &objectName)'");
}
// [adaptor impl] void QFileSystemWatcher::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QFileSystemWatcher::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QFileSystemWatcher::childEvent(arg1);
QFileSystemWatcher::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QFileSystemWatcher_Adaptor, QChildEvent *>(&QFileSystemWatcher_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QFileSystemWatcher_Adaptor, QChildEvent *>(&QFileSystemWatcher_Adaptor::cbs_childEvent_1701_0, event);
} else {
QFileSystemWatcher::childEvent(arg1);
QFileSystemWatcher::childEvent(event);
}
}
// [adaptor impl] void QFileSystemWatcher::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QFileSystemWatcher::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QFileSystemWatcher::customEvent(arg1);
QFileSystemWatcher::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QFileSystemWatcher_Adaptor, QEvent *>(&QFileSystemWatcher_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QFileSystemWatcher_Adaptor, QEvent *>(&QFileSystemWatcher_Adaptor::cbs_customEvent_1217_0, event);
} else {
QFileSystemWatcher::customEvent(arg1);
QFileSystemWatcher::customEvent(event);
}
}
@ -394,18 +394,18 @@ public:
}
}
// [adaptor impl] void QFileSystemWatcher::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QFileSystemWatcher::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QFileSystemWatcher::timerEvent(arg1);
QFileSystemWatcher::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QFileSystemWatcher_Adaptor, QTimerEvent *>(&QFileSystemWatcher_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QFileSystemWatcher_Adaptor, QTimerEvent *>(&QFileSystemWatcher_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QFileSystemWatcher::timerEvent(arg1);
QFileSystemWatcher::timerEvent(event);
}
}
@ -423,7 +423,7 @@ QFileSystemWatcher_Adaptor::~QFileSystemWatcher_Adaptor() { }
static void _init_ctor_QFileSystemWatcher_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
static gsi::ArgSpecBase argspec_0 ("parent", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return_new<QFileSystemWatcher_Adaptor> ();
}
@ -432,7 +432,7 @@ static void _call_ctor_QFileSystemWatcher_Adaptor_1302 (const qt_gsi::GenericSta
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
ret.write<QFileSystemWatcher_Adaptor *> (new QFileSystemWatcher_Adaptor (arg1));
}
@ -443,7 +443,7 @@ static void _init_ctor_QFileSystemWatcher_Adaptor_3631 (qt_gsi::GenericStaticMet
{
static gsi::ArgSpecBase argspec_0 ("paths");
decl->add_arg<const QStringList & > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("parent", true, "0");
static gsi::ArgSpecBase argspec_1 ("parent", true, "nullptr");
decl->add_arg<QObject * > (argspec_1);
decl->set_return_new<QFileSystemWatcher_Adaptor> ();
}
@ -453,16 +453,16 @@ static void _call_ctor_QFileSystemWatcher_Adaptor_3631 (const qt_gsi::GenericSta
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const QStringList &arg1 = gsi::arg_reader<const QStringList & >() (args, heap);
QObject *arg2 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg2 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
ret.write<QFileSystemWatcher_Adaptor *> (new QFileSystemWatcher_Adaptor (arg1, arg2));
}
// void QFileSystemWatcher::childEvent(QChildEvent *)
// void QFileSystemWatcher::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -482,11 +482,11 @@ static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback
}
// void QFileSystemWatcher::customEvent(QEvent *)
// void QFileSystemWatcher::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -510,7 +510,7 @@ static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -519,7 +519,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QFileSystemWatcher_Adaptor *)cls)->emitter_QFileSystemWatcher_destroyed_1302 (arg1);
}
@ -566,11 +566,11 @@ static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Cal
}
// bool QFileSystemWatcher::event(QEvent *)
// bool QFileSystemWatcher::event(QEvent *event)
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<bool > ();
}
@ -589,13 +589,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QFileSystemWatcher::eventFilter(QObject *, QEvent *)
// bool QFileSystemWatcher::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -715,11 +715,11 @@ static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*
}
// void QFileSystemWatcher::timerEvent(QTimerEvent *)
// void QFileSystemWatcher::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -748,17 +748,17 @@ static gsi::Methods methods_QFileSystemWatcher_Adaptor () {
gsi::Methods methods;
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QFileSystemWatcher::QFileSystemWatcher(QObject *parent)\nThis method creates an object of class QFileSystemWatcher.", &_init_ctor_QFileSystemWatcher_Adaptor_1302, &_call_ctor_QFileSystemWatcher_Adaptor_1302);
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QFileSystemWatcher::QFileSystemWatcher(const QStringList &paths, QObject *parent)\nThis method creates an object of class QFileSystemWatcher.", &_init_ctor_QFileSystemWatcher_Adaptor_3631, &_call_ctor_QFileSystemWatcher_Adaptor_3631);
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QFileSystemWatcher::childEvent(QChildEvent *)\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", "@brief Virtual method void QFileSystemWatcher::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 QFileSystemWatcher::customEvent(QEvent *)\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", "@brief Virtual method void QFileSystemWatcher::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 QFileSystemWatcher::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302);
methods += new qt_gsi::GenericMethod ("emit_directoryChanged", "@brief Emitter for signal void QFileSystemWatcher::directoryChanged(const QString &path)\nCall this method to emit this signal.", false, &_init_emitter_directoryChanged_5715, &_call_emitter_directoryChanged_5715);
methods += new qt_gsi::GenericMethod ("*disconnectNotify", "@brief Virtual method void QFileSystemWatcher::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 QFileSystemWatcher::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", "@brief Virtual method bool QFileSystemWatcher::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 QFileSystemWatcher::eventFilter(QObject *, QEvent *)\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", "@brief Virtual method bool QFileSystemWatcher::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_fileChanged", "@brief Emitter for signal void QFileSystemWatcher::fileChanged(const QString &path)\nCall this method to emit this signal.", false, &_init_emitter_fileChanged_5715, &_call_emitter_fileChanged_5715);
methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QFileSystemWatcher::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);
@ -766,7 +766,7 @@ static gsi::Methods methods_QFileSystemWatcher_Adaptor () {
methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QFileSystemWatcher::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 *QFileSystemWatcher::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 QFileSystemWatcher::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 QFileSystemWatcher::timerEvent(QTimerEvent *)\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", "@brief Virtual method void QFileSystemWatcher::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;
}

View File

@ -189,18 +189,18 @@ public:
throw tl::Exception ("Can't emit private signal 'void QFinalState::entered()'");
}
// [adaptor impl] bool QFinalState::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QFinalState::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QFinalState::eventFilter(arg1, arg2);
return QFinalState::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QFinalState_Adaptor, bool, QObject *, QEvent *>(&QFinalState_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QFinalState_Adaptor, bool, QObject *, QEvent *>(&QFinalState_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QFinalState::eventFilter(arg1, arg2);
return QFinalState::eventFilter(watched, event);
}
}
@ -217,33 +217,33 @@ public:
throw tl::Exception ("Can't emit private signal 'void QFinalState::objectNameChanged(const QString &objectName)'");
}
// [adaptor impl] void QFinalState::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QFinalState::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QFinalState::childEvent(arg1);
QFinalState::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QFinalState_Adaptor, QChildEvent *>(&QFinalState_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QFinalState_Adaptor, QChildEvent *>(&QFinalState_Adaptor::cbs_childEvent_1701_0, event);
} else {
QFinalState::childEvent(arg1);
QFinalState::childEvent(event);
}
}
// [adaptor impl] void QFinalState::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QFinalState::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QFinalState::customEvent(arg1);
QFinalState::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QFinalState_Adaptor, QEvent *>(&QFinalState_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QFinalState_Adaptor, QEvent *>(&QFinalState_Adaptor::cbs_customEvent_1217_0, event);
} else {
QFinalState::customEvent(arg1);
QFinalState::customEvent(event);
}
}
@ -307,18 +307,18 @@ public:
}
}
// [adaptor impl] void QFinalState::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QFinalState::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QFinalState::timerEvent(arg1);
QFinalState::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QFinalState_Adaptor, QTimerEvent *>(&QFinalState_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QFinalState_Adaptor, QTimerEvent *>(&QFinalState_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QFinalState::timerEvent(arg1);
QFinalState::timerEvent(event);
}
}
@ -338,7 +338,7 @@ QFinalState_Adaptor::~QFinalState_Adaptor() { }
static void _init_ctor_QFinalState_Adaptor_1216 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
static gsi::ArgSpecBase argspec_0 ("parent", true, "nullptr");
decl->add_arg<QState * > (argspec_0);
decl->set_return_new<QFinalState_Adaptor> ();
}
@ -347,7 +347,7 @@ static void _call_ctor_QFinalState_Adaptor_1216 (const qt_gsi::GenericStaticMeth
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QState *arg1 = args ? gsi::arg_reader<QState * >() (args, heap) : gsi::arg_maker<QState * >() (0, heap);
QState *arg1 = args ? gsi::arg_reader<QState * >() (args, heap) : gsi::arg_maker<QState * >() (nullptr, heap);
ret.write<QFinalState_Adaptor *> (new QFinalState_Adaptor (arg1));
}
@ -370,11 +370,11 @@ static void _call_emitter_activeChanged_864 (const qt_gsi::GenericMethod * /*dec
}
// void QFinalState::childEvent(QChildEvent *)
// void QFinalState::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -394,11 +394,11 @@ static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback
}
// void QFinalState::customEvent(QEvent *)
// void QFinalState::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -422,7 +422,7 @@ static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -431,7 +431,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QFinalState_Adaptor *)cls)->emitter_QFinalState_destroyed_1302 (arg1);
}
@ -497,13 +497,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QFinalState::eventFilter(QObject *, QEvent *)
// bool QFinalState::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -667,11 +667,11 @@ static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*
}
// void QFinalState::timerEvent(QTimerEvent *)
// void QFinalState::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -700,9 +700,9 @@ static gsi::Methods methods_QFinalState_Adaptor () {
gsi::Methods methods;
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QFinalState::QFinalState(QState *parent)\nThis method creates an object of class QFinalState.", &_init_ctor_QFinalState_Adaptor_1216, &_call_ctor_QFinalState_Adaptor_1216);
methods += new qt_gsi::GenericMethod ("emit_activeChanged", "@brief Emitter for signal void QFinalState::activeChanged(bool active)\nCall this method to emit this signal.", false, &_init_emitter_activeChanged_864, &_call_emitter_activeChanged_864);
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QFinalState::childEvent(QChildEvent *)\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", "@brief Virtual method void QFinalState::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 QFinalState::customEvent(QEvent *)\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", "@brief Virtual method void QFinalState::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 QFinalState::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 QFinalState::disconnectNotify(const QMetaMethod &signal)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_disconnectNotify_2394_0, &_call_cbs_disconnectNotify_2394_0);
@ -710,7 +710,7 @@ static gsi::Methods methods_QFinalState_Adaptor () {
methods += new qt_gsi::GenericMethod ("emit_entered", "@brief Emitter for signal void QFinalState::entered()\nCall this method to emit this signal.", false, &_init_emitter_entered_3384, &_call_emitter_entered_3384);
methods += new qt_gsi::GenericMethod ("*event", "@brief Virtual method bool QFinalState::event(QEvent *e)\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 QFinalState::eventFilter(QObject *, QEvent *)\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", "@brief Virtual method bool QFinalState::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_exited", "@brief Emitter for signal void QFinalState::exited()\nCall this method to emit this signal.", false, &_init_emitter_exited_3384, &_call_emitter_exited_3384);
methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QFinalState::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);
@ -722,7 +722,7 @@ static gsi::Methods methods_QFinalState_Adaptor () {
methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QFinalState::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 *QFinalState::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 QFinalState::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 QFinalState::timerEvent(QTimerEvent *)\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", "@brief Virtual method void QFinalState::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;
}

View File

@ -29,6 +29,7 @@
#include <QHistoryState>
#include <QAbstractState>
#include <QAbstractTransition>
#include <QChildEvent>
#include <QEvent>
#include <QMetaMethod>
@ -72,6 +73,21 @@ static void _call_f_defaultState_c0 (const qt_gsi::GenericMethod * /*decl*/, voi
}
// QAbstractTransition *QHistoryState::defaultTransition()
static void _init_f_defaultTransition_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<QAbstractTransition * > ();
}
static void _call_f_defaultTransition_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
ret.write<QAbstractTransition * > ((QAbstractTransition *)((QHistoryState *)cls)->defaultTransition ());
}
// QHistoryState::HistoryType QHistoryState::historyType()
@ -107,6 +123,26 @@ static void _call_f_setDefaultState_2036 (const qt_gsi::GenericMethod * /*decl*/
}
// void QHistoryState::setDefaultTransition(QAbstractTransition *transition)
static void _init_f_setDefaultTransition_2590 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("transition");
decl->add_arg<QAbstractTransition * > (argspec_0);
decl->set_return<void > ();
}
static void _call_f_setDefaultTransition_2590 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QAbstractTransition *arg1 = gsi::arg_reader<QAbstractTransition * >() (args, heap);
__SUPPRESS_UNUSED_WARNING(ret);
((QHistoryState *)cls)->setDefaultTransition (arg1);
}
// void QHistoryState::setHistoryType(QHistoryState::HistoryType type)
@ -184,11 +220,14 @@ static gsi::Methods methods_QHistoryState () {
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 (":defaultState", "@brief Method QAbstractState *QHistoryState::defaultState()\n", true, &_init_f_defaultState_c0, &_call_f_defaultState_c0);
methods += new qt_gsi::GenericMethod (":defaultTransition", "@brief Method QAbstractTransition *QHistoryState::defaultTransition()\n", true, &_init_f_defaultTransition_c0, &_call_f_defaultTransition_c0);
methods += new qt_gsi::GenericMethod (":historyType", "@brief Method QHistoryState::HistoryType QHistoryState::historyType()\n", true, &_init_f_historyType_c0, &_call_f_historyType_c0);
methods += new qt_gsi::GenericMethod ("setDefaultState|defaultState=", "@brief Method void QHistoryState::setDefaultState(QAbstractState *state)\n", false, &_init_f_setDefaultState_2036, &_call_f_setDefaultState_2036);
methods += new qt_gsi::GenericMethod ("setDefaultTransition|defaultTransition=", "@brief Method void QHistoryState::setDefaultTransition(QAbstractTransition *transition)\n", false, &_init_f_setDefaultTransition_2590, &_call_f_setDefaultTransition_2590);
methods += new qt_gsi::GenericMethod ("setHistoryType|historyType=", "@brief Method void QHistoryState::setHistoryType(QHistoryState::HistoryType type)\n", false, &_init_f_setHistoryType_3072, &_call_f_setHistoryType_3072);
methods += gsi::qt_signal<bool > ("activeChanged(bool)", "activeChanged", gsi::arg("active"), "@brief Signal declaration for QHistoryState::activeChanged(bool active)\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal ("defaultStateChanged()", "defaultStateChanged", "@brief Signal declaration for QHistoryState::defaultStateChanged()\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal ("defaultTransitionChanged()", "defaultTransitionChanged", "@brief Signal declaration for QHistoryState::defaultTransitionChanged()\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal<QObject * > ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QHistoryState::destroyed(QObject *)\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal ("entered()", "entered", "@brief Signal declaration for QHistoryState::entered()\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal ("exited()", "exited", "@brief Signal declaration for QHistoryState::exited()\nYou can bind a procedure to this signal.");
@ -272,6 +311,12 @@ public:
throw tl::Exception ("Can't emit private signal 'void QHistoryState::defaultStateChanged()'");
}
// [emitter impl] void QHistoryState::defaultTransitionChanged()
void emitter_QHistoryState_defaultTransitionChanged_3318()
{
throw tl::Exception ("Can't emit private signal 'void QHistoryState::defaultTransitionChanged()'");
}
// [emitter impl] void QHistoryState::destroyed(QObject *)
void emitter_QHistoryState_destroyed_1302(QObject *arg1)
{
@ -284,18 +329,18 @@ public:
throw tl::Exception ("Can't emit private signal 'void QHistoryState::entered()'");
}
// [adaptor impl] bool QHistoryState::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QHistoryState::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QHistoryState::eventFilter(arg1, arg2);
return QHistoryState::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QHistoryState_Adaptor, bool, QObject *, QEvent *>(&QHistoryState_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QHistoryState_Adaptor, bool, QObject *, QEvent *>(&QHistoryState_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QHistoryState::eventFilter(arg1, arg2);
return QHistoryState::eventFilter(watched, event);
}
}
@ -318,33 +363,33 @@ public:
throw tl::Exception ("Can't emit private signal 'void QHistoryState::objectNameChanged(const QString &objectName)'");
}
// [adaptor impl] void QHistoryState::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QHistoryState::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QHistoryState::childEvent(arg1);
QHistoryState::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QHistoryState_Adaptor, QChildEvent *>(&QHistoryState_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QHistoryState_Adaptor, QChildEvent *>(&QHistoryState_Adaptor::cbs_childEvent_1701_0, event);
} else {
QHistoryState::childEvent(arg1);
QHistoryState::childEvent(event);
}
}
// [adaptor impl] void QHistoryState::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QHistoryState::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QHistoryState::customEvent(arg1);
QHistoryState::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QHistoryState_Adaptor, QEvent *>(&QHistoryState_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QHistoryState_Adaptor, QEvent *>(&QHistoryState_Adaptor::cbs_customEvent_1217_0, event);
} else {
QHistoryState::customEvent(arg1);
QHistoryState::customEvent(event);
}
}
@ -408,18 +453,18 @@ public:
}
}
// [adaptor impl] void QHistoryState::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QHistoryState::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QHistoryState::timerEvent(arg1);
QHistoryState::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QHistoryState_Adaptor, QTimerEvent *>(&QHistoryState_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QHistoryState_Adaptor, QTimerEvent *>(&QHistoryState_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QHistoryState::timerEvent(arg1);
QHistoryState::timerEvent(event);
}
}
@ -439,7 +484,7 @@ QHistoryState_Adaptor::~QHistoryState_Adaptor() { }
static void _init_ctor_QHistoryState_Adaptor_1216 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
static gsi::ArgSpecBase argspec_0 ("parent", true, "nullptr");
decl->add_arg<QState * > (argspec_0);
decl->set_return_new<QHistoryState_Adaptor> ();
}
@ -448,7 +493,7 @@ static void _call_ctor_QHistoryState_Adaptor_1216 (const qt_gsi::GenericStaticMe
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QState *arg1 = args ? gsi::arg_reader<QState * >() (args, heap) : gsi::arg_maker<QState * >() (0, heap);
QState *arg1 = args ? gsi::arg_reader<QState * >() (args, heap) : gsi::arg_maker<QState * >() (nullptr, heap);
ret.write<QHistoryState_Adaptor *> (new QHistoryState_Adaptor (arg1));
}
@ -459,7 +504,7 @@ static void _init_ctor_QHistoryState_Adaptor_4180 (qt_gsi::GenericStaticMethod *
{
static gsi::ArgSpecBase argspec_0 ("type");
decl->add_arg<const qt_gsi::Converter<QHistoryState::HistoryType>::target_type & > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("parent", true, "0");
static gsi::ArgSpecBase argspec_1 ("parent", true, "nullptr");
decl->add_arg<QState * > (argspec_1);
decl->set_return_new<QHistoryState_Adaptor> ();
}
@ -469,7 +514,7 @@ static void _call_ctor_QHistoryState_Adaptor_4180 (const qt_gsi::GenericStaticMe
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const qt_gsi::Converter<QHistoryState::HistoryType>::target_type & arg1 = gsi::arg_reader<const qt_gsi::Converter<QHistoryState::HistoryType>::target_type & >() (args, heap);
QState *arg2 = args ? gsi::arg_reader<QState * >() (args, heap) : gsi::arg_maker<QState * >() (0, heap);
QState *arg2 = args ? gsi::arg_reader<QState * >() (args, heap) : gsi::arg_maker<QState * >() (nullptr, heap);
ret.write<QHistoryState_Adaptor *> (new QHistoryState_Adaptor (qt_gsi::QtToCppAdaptor<QHistoryState::HistoryType>(arg1).cref(), arg2));
}
@ -492,11 +537,11 @@ static void _call_emitter_activeChanged_864 (const qt_gsi::GenericMethod * /*dec
}
// void QHistoryState::childEvent(QChildEvent *)
// void QHistoryState::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -516,11 +561,11 @@ static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback
}
// void QHistoryState::customEvent(QEvent *)
// void QHistoryState::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -554,11 +599,25 @@ static void _call_emitter_defaultStateChanged_3318 (const qt_gsi::GenericMethod
}
// emitter void QHistoryState::defaultTransitionChanged()
static void _init_emitter_defaultTransitionChanged_3318 (qt_gsi::GenericMethod *decl)
{
decl->set_return<void > ();
}
static void _call_emitter_defaultTransitionChanged_3318 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs & /*ret*/)
{
__SUPPRESS_UNUSED_WARNING(args);
((QHistoryState_Adaptor *)cls)->emitter_QHistoryState_defaultTransitionChanged_3318 ();
}
// emitter void QHistoryState::destroyed(QObject *)
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -567,7 +626,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QHistoryState_Adaptor *)cls)->emitter_QHistoryState_destroyed_1302 (arg1);
}
@ -633,13 +692,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QHistoryState::eventFilter(QObject *, QEvent *)
// bool QHistoryState::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -817,11 +876,11 @@ static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*
}
// void QHistoryState::timerEvent(QTimerEvent *)
// void QHistoryState::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -851,18 +910,19 @@ static gsi::Methods methods_QHistoryState_Adaptor () {
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QHistoryState::QHistoryState(QState *parent)\nThis method creates an object of class QHistoryState.", &_init_ctor_QHistoryState_Adaptor_1216, &_call_ctor_QHistoryState_Adaptor_1216);
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QHistoryState::QHistoryState(QHistoryState::HistoryType type, QState *parent)\nThis method creates an object of class QHistoryState.", &_init_ctor_QHistoryState_Adaptor_4180, &_call_ctor_QHistoryState_Adaptor_4180);
methods += new qt_gsi::GenericMethod ("emit_activeChanged", "@brief Emitter for signal void QHistoryState::activeChanged(bool active)\nCall this method to emit this signal.", false, &_init_emitter_activeChanged_864, &_call_emitter_activeChanged_864);
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QHistoryState::childEvent(QChildEvent *)\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", "@brief Virtual method void QHistoryState::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 QHistoryState::customEvent(QEvent *)\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", "@brief Virtual method void QHistoryState::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_defaultStateChanged", "@brief Emitter for signal void QHistoryState::defaultStateChanged()\nCall this method to emit this signal.", false, &_init_emitter_defaultStateChanged_3318, &_call_emitter_defaultStateChanged_3318);
methods += new qt_gsi::GenericMethod ("emit_defaultTransitionChanged", "@brief Emitter for signal void QHistoryState::defaultTransitionChanged()\nCall this method to emit this signal.", false, &_init_emitter_defaultTransitionChanged_3318, &_call_emitter_defaultTransitionChanged_3318);
methods += new qt_gsi::GenericMethod ("emit_destroyed", "@brief Emitter for signal void QHistoryState::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 QHistoryState::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 ("emit_entered", "@brief Emitter for signal void QHistoryState::entered()\nCall this method to emit this signal.", false, &_init_emitter_entered_3384, &_call_emitter_entered_3384);
methods += new qt_gsi::GenericMethod ("*event", "@brief Virtual method bool QHistoryState::event(QEvent *e)\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 QHistoryState::eventFilter(QObject *, QEvent *)\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", "@brief Virtual method bool QHistoryState::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_exited", "@brief Emitter for signal void QHistoryState::exited()\nCall this method to emit this signal.", false, &_init_emitter_exited_3384, &_call_emitter_exited_3384);
methods += new qt_gsi::GenericMethod ("emit_historyTypeChanged", "@brief Emitter for signal void QHistoryState::historyTypeChanged()\nCall this method to emit this signal.", false, &_init_emitter_historyTypeChanged_3318, &_call_emitter_historyTypeChanged_3318);
@ -875,7 +935,7 @@ static gsi::Methods methods_QHistoryState_Adaptor () {
methods += new qt_gsi::GenericMethod ("*receivers", "@brief Method int QHistoryState::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 *QHistoryState::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 QHistoryState::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 QHistoryState::timerEvent(QTimerEvent *)\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", "@brief Virtual method void QHistoryState::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;
}

View File

@ -128,6 +128,52 @@ static void _call_f_close_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls,
}
// void QIODevice::commitTransaction()
static void _init_f_commitTransaction_0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<void > ();
}
static void _call_f_commitTransaction_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
__SUPPRESS_UNUSED_WARNING(ret);
((QIODevice *)cls)->commitTransaction ();
}
// int QIODevice::currentReadChannel()
static void _init_f_currentReadChannel_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<int > ();
}
static void _call_f_currentReadChannel_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
ret.write<int > ((int)((QIODevice *)cls)->currentReadChannel ());
}
// int QIODevice::currentWriteChannel()
static void _init_f_currentWriteChannel_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<int > ();
}
static void _call_f_currentWriteChannel_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
ret.write<int > ((int)((QIODevice *)cls)->currentWriteChannel ());
}
// QString QIODevice::errorString()
@ -203,6 +249,21 @@ static void _call_f_isTextModeEnabled_c0 (const qt_gsi::GenericMethod * /*decl*/
}
// bool QIODevice::isTransactionStarted()
static void _init_f_isTransactionStarted_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<bool > ();
}
static void _call_f_isTransactionStarted_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
ret.write<bool > ((bool)((QIODevice *)cls)->isTransactionStarted ());
}
// bool QIODevice::isWritable()
@ -339,6 +400,21 @@ static void _call_f_readAll_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls
}
// int QIODevice::readChannelCount()
static void _init_f_readChannelCount_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<int > ();
}
static void _call_f_readChannelCount_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
ret.write<int > ((int)((QIODevice *)cls)->readChannelCount ());
}
// QByteArray QIODevice::readLine(qint64 maxlen)
@ -373,6 +449,22 @@ static void _call_f_reset_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls,
}
// void QIODevice::rollbackTransaction()
static void _init_f_rollbackTransaction_0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<void > ();
}
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);
((QIODevice *)cls)->rollbackTransaction ();
}
// bool QIODevice::seek(qint64 pos)
@ -392,6 +484,46 @@ static void _call_f_seek_986 (const qt_gsi::GenericMethod * /*decl*/, void *cls,
}
// void QIODevice::setCurrentReadChannel(int channel)
static void _init_f_setCurrentReadChannel_767 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("channel");
decl->add_arg<int > (argspec_0);
decl->set_return<void > ();
}
static void _call_f_setCurrentReadChannel_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<int >() (args, heap);
__SUPPRESS_UNUSED_WARNING(ret);
((QIODevice *)cls)->setCurrentReadChannel (arg1);
}
// void QIODevice::setCurrentWriteChannel(int channel)
static void _init_f_setCurrentWriteChannel_767 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("channel");
decl->add_arg<int > (argspec_0);
decl->set_return<void > ();
}
static void _call_f_setCurrentWriteChannel_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<int >() (args, heap);
__SUPPRESS_UNUSED_WARNING(ret);
((QIODevice *)cls)->setCurrentWriteChannel (arg1);
}
// void QIODevice::setTextModeEnabled(bool enabled)
@ -427,6 +559,41 @@ static void _call_f_size_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls,
}
// qint64 QIODevice::skip(qint64 maxSize)
static void _init_f_skip_986 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("maxSize");
decl->add_arg<qint64 > (argspec_0);
decl->set_return<qint64 > ();
}
static void _call_f_skip_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<qint64 >() (args, heap);
ret.write<qint64 > ((qint64)((QIODevice *)cls)->skip (arg1));
}
// void QIODevice::startTransaction()
static void _init_f_startTransaction_0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<void > ();
}
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);
((QIODevice *)cls)->startTransaction ();
}
// void QIODevice::ungetChar(char c)
@ -526,6 +693,21 @@ static void _call_f_write_2309 (const qt_gsi::GenericMethod * /*decl*/, void *cl
}
// int QIODevice::writeChannelCount()
static void _init_f_writeChannelCount_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<int > ();
}
static void _call_f_writeChannelCount_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
ret.write<int > ((int)((QIODevice *)cls)->writeChannelCount ());
}
// static QString QIODevice::tr(const char *s, const char *c, int n)
@ -588,11 +770,15 @@ static gsi::Methods methods_QIODevice () {
methods += new qt_gsi::GenericMethod ("bytesToWrite", "@brief Method qint64 QIODevice::bytesToWrite()\n", true, &_init_f_bytesToWrite_c0, &_call_f_bytesToWrite_c0);
methods += new qt_gsi::GenericMethod ("canReadLine", "@brief Method bool QIODevice::canReadLine()\n", true, &_init_f_canReadLine_c0, &_call_f_canReadLine_c0);
methods += new qt_gsi::GenericMethod ("close", "@brief Method void QIODevice::close()\n", false, &_init_f_close_0, &_call_f_close_0);
methods += new qt_gsi::GenericMethod ("commitTransaction", "@brief Method void QIODevice::commitTransaction()\n", false, &_init_f_commitTransaction_0, &_call_f_commitTransaction_0);
methods += new qt_gsi::GenericMethod (":currentReadChannel", "@brief Method int QIODevice::currentReadChannel()\n", true, &_init_f_currentReadChannel_c0, &_call_f_currentReadChannel_c0);
methods += new qt_gsi::GenericMethod (":currentWriteChannel", "@brief Method int QIODevice::currentWriteChannel()\n", true, &_init_f_currentWriteChannel_c0, &_call_f_currentWriteChannel_c0);
methods += new qt_gsi::GenericMethod ("errorString", "@brief Method QString QIODevice::errorString()\n", true, &_init_f_errorString_c0, &_call_f_errorString_c0);
methods += new qt_gsi::GenericMethod ("isOpen?", "@brief Method bool QIODevice::isOpen()\n", true, &_init_f_isOpen_c0, &_call_f_isOpen_c0);
methods += new qt_gsi::GenericMethod ("isReadable?", "@brief Method bool QIODevice::isReadable()\n", true, &_init_f_isReadable_c0, &_call_f_isReadable_c0);
methods += new qt_gsi::GenericMethod ("isSequential?", "@brief Method bool QIODevice::isSequential()\n", true, &_init_f_isSequential_c0, &_call_f_isSequential_c0);
methods += new qt_gsi::GenericMethod ("isTextModeEnabled?|:textModeEnabled", "@brief Method bool QIODevice::isTextModeEnabled()\n", true, &_init_f_isTextModeEnabled_c0, &_call_f_isTextModeEnabled_c0);
methods += new qt_gsi::GenericMethod ("isTransactionStarted?", "@brief Method bool QIODevice::isTransactionStarted()\n", true, &_init_f_isTransactionStarted_c0, &_call_f_isTransactionStarted_c0);
methods += new qt_gsi::GenericMethod ("isWritable?", "@brief Method bool QIODevice::isWritable()\n", true, &_init_f_isWritable_c0, &_call_f_isWritable_c0);
methods += new qt_gsi::GenericMethod ("open", "@brief Method bool QIODevice::open(QFlags<QIODevice::OpenModeFlag> mode)\n", false, &_init_f_open_3242, &_call_f_open_3242);
methods += new qt_gsi::GenericMethod ("openMode", "@brief Method QFlags<QIODevice::OpenModeFlag> QIODevice::openMode()\n", true, &_init_f_openMode_c0, &_call_f_openMode_c0);
@ -601,18 +787,27 @@ static gsi::Methods methods_QIODevice () {
methods += new qt_gsi::GenericMethod ("putChar", "@brief Method bool QIODevice::putChar(char c)\n", false, &_init_f_putChar_850, &_call_f_putChar_850);
methods += new qt_gsi::GenericMethod ("read", "@brief Method QByteArray QIODevice::read(qint64 maxlen)\n", false, &_init_f_read_986, &_call_f_read_986);
methods += new qt_gsi::GenericMethod ("readAll", "@brief Method QByteArray QIODevice::readAll()\n", false, &_init_f_readAll_0, &_call_f_readAll_0);
methods += new qt_gsi::GenericMethod ("readChannelCount", "@brief Method int QIODevice::readChannelCount()\n", true, &_init_f_readChannelCount_c0, &_call_f_readChannelCount_c0);
methods += new qt_gsi::GenericMethod ("readLine", "@brief Method QByteArray QIODevice::readLine(qint64 maxlen)\n", false, &_init_f_readLine_986, &_call_f_readLine_986);
methods += new qt_gsi::GenericMethod ("reset", "@brief Method bool QIODevice::reset()\n", false, &_init_f_reset_0, &_call_f_reset_0);
methods += new qt_gsi::GenericMethod ("rollbackTransaction", "@brief Method void QIODevice::rollbackTransaction()\n", false, &_init_f_rollbackTransaction_0, &_call_f_rollbackTransaction_0);
methods += new qt_gsi::GenericMethod ("seek", "@brief Method bool QIODevice::seek(qint64 pos)\n", false, &_init_f_seek_986, &_call_f_seek_986);
methods += new qt_gsi::GenericMethod ("setCurrentReadChannel|currentReadChannel=", "@brief Method void QIODevice::setCurrentReadChannel(int channel)\n", false, &_init_f_setCurrentReadChannel_767, &_call_f_setCurrentReadChannel_767);
methods += new qt_gsi::GenericMethod ("setCurrentWriteChannel|currentWriteChannel=", "@brief Method void QIODevice::setCurrentWriteChannel(int channel)\n", false, &_init_f_setCurrentWriteChannel_767, &_call_f_setCurrentWriteChannel_767);
methods += new qt_gsi::GenericMethod ("setTextModeEnabled|textModeEnabled=", "@brief Method void QIODevice::setTextModeEnabled(bool enabled)\n", false, &_init_f_setTextModeEnabled_864, &_call_f_setTextModeEnabled_864);
methods += new qt_gsi::GenericMethod ("size", "@brief Method qint64 QIODevice::size()\n", true, &_init_f_size_c0, &_call_f_size_c0);
methods += new qt_gsi::GenericMethod ("skip", "@brief Method qint64 QIODevice::skip(qint64 maxSize)\n", false, &_init_f_skip_986, &_call_f_skip_986);
methods += new qt_gsi::GenericMethod ("startTransaction", "@brief Method void QIODevice::startTransaction()\n", false, &_init_f_startTransaction_0, &_call_f_startTransaction_0);
methods += new qt_gsi::GenericMethod ("ungetChar", "@brief Method void QIODevice::ungetChar(char c)\n", false, &_init_f_ungetChar_850, &_call_f_ungetChar_850);
methods += new qt_gsi::GenericMethod ("waitForBytesWritten", "@brief Method bool QIODevice::waitForBytesWritten(int msecs)\n", false, &_init_f_waitForBytesWritten_767, &_call_f_waitForBytesWritten_767);
methods += new qt_gsi::GenericMethod ("waitForReadyRead", "@brief Method bool QIODevice::waitForReadyRead(int msecs)\n", false, &_init_f_waitForReadyRead_767, &_call_f_waitForReadyRead_767);
methods += new qt_gsi::GenericMethod ("write", "@brief Method qint64 QIODevice::write(const char *data, qint64 len)\n", false, &_init_f_write_2609, &_call_f_write_2609);
methods += new qt_gsi::GenericMethod ("write", "@brief Method qint64 QIODevice::write(const QByteArray &data)\n", false, &_init_f_write_2309, &_call_f_write_2309);
methods += new qt_gsi::GenericMethod ("writeChannelCount", "@brief Method int QIODevice::writeChannelCount()\n", true, &_init_f_writeChannelCount_c0, &_call_f_writeChannelCount_c0);
methods += gsi::qt_signal ("aboutToClose()", "aboutToClose", "@brief Signal declaration for QIODevice::aboutToClose()\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal<qint64 > ("bytesWritten(qint64)", "bytesWritten", gsi::arg("bytes"), "@brief Signal declaration for QIODevice::bytesWritten(qint64 bytes)\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal<int, qint64 > ("channelBytesWritten(int, qint64)", "channelBytesWritten", gsi::arg("channel"), gsi::arg("bytes"), "@brief Signal declaration for QIODevice::channelBytesWritten(int channel, qint64 bytes)\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal<int > ("channelReadyRead(int)", "channelReadyRead", gsi::arg("channel"), "@brief Signal declaration for QIODevice::channelReadyRead(int channel)\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal<QObject * > ("destroyed(QObject *)", "destroyed", gsi::arg("arg1"), "@brief Signal declaration for QIODevice::destroyed(QObject *)\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal<const QString & > ("objectNameChanged(const QString &)", "objectNameChanged", gsi::arg("objectName"), "@brief Signal declaration for QIODevice::objectNameChanged(const QString &objectName)\nYou can bind a procedure to this signal.");
methods += gsi::qt_signal ("readChannelFinished()", "readChannelFinished", "@brief Signal declaration for QIODevice::readChannelFinished()\nYou can bind a procedure to this signal.");
@ -646,7 +841,9 @@ static gsi::Enum<QIODevice::OpenModeFlag> decl_QIODevice_OpenModeFlag_Enum ("QtC
gsi::enum_const ("Append", QIODevice::Append, "@brief Enum constant QIODevice::Append") +
gsi::enum_const ("Truncate", QIODevice::Truncate, "@brief Enum constant QIODevice::Truncate") +
gsi::enum_const ("Text", QIODevice::Text, "@brief Enum constant QIODevice::Text") +
gsi::enum_const ("Unbuffered", QIODevice::Unbuffered, "@brief Enum constant QIODevice::Unbuffered"),
gsi::enum_const ("Unbuffered", QIODevice::Unbuffered, "@brief Enum constant QIODevice::Unbuffered") +
gsi::enum_const ("NewOnly", QIODevice::NewOnly, "@brief Enum constant QIODevice::NewOnly") +
gsi::enum_const ("ExistingOnly", QIODevice::ExistingOnly, "@brief Enum constant QIODevice::ExistingOnly"),
"@qt\n@brief This class represents the QIODevice::OpenModeFlag enum");
static gsi::QFlagsClass<QIODevice::OpenModeFlag > decl_QIODevice_OpenModeFlag_Enums ("QtCore", "QIODevice_QFlags_OpenModeFlag",

View File

@ -337,6 +337,21 @@ static void _call_f_parent_c2395 (const qt_gsi::GenericMethod * /*decl*/, void *
}
// QObject *QIdentityProxyModel::parent()
static void _init_f_parent_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<QObject * > ();
}
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 * > ((QObject *)((QIdentityProxyModel *)cls)->parent ());
}
// bool QIdentityProxyModel::removeColumns(int column, int count, const QModelIndex &parent)
@ -519,6 +534,7 @@ static gsi::Methods methods_QIdentityProxyModel () {
methods += new qt_gsi::GenericMethod ("mapToSource", "@brief Method QModelIndex QIdentityProxyModel::mapToSource(const QModelIndex &proxyIndex)\nThis is a reimplementation of QAbstractProxyModel::mapToSource", true, &_init_f_mapToSource_c2395, &_call_f_mapToSource_c2395);
methods += new qt_gsi::GenericMethod ("match", "@brief Method QList<QModelIndex> QIdentityProxyModel::match(const QModelIndex &start, int role, const QVariant &value, int hits, QFlags<Qt::MatchFlag> flags)\nThis is a reimplementation of QAbstractItemModel::match", true, &_init_f_match_c7932, &_call_f_match_c7932);
methods += new qt_gsi::GenericMethod ("parent", "@brief Method QModelIndex QIdentityProxyModel::parent(const QModelIndex &child)\nThis is a reimplementation of QAbstractItemModel::parent", true, &_init_f_parent_c2395, &_call_f_parent_c2395);
methods += new qt_gsi::GenericMethod (":parent", "@brief Method QObject *QIdentityProxyModel::parent()\n", true, &_init_f_parent_c0, &_call_f_parent_c0);
methods += new qt_gsi::GenericMethod ("removeColumns", "@brief Method bool QIdentityProxyModel::removeColumns(int column, int count, const QModelIndex &parent)\nThis is a reimplementation of QAbstractItemModel::removeColumns", false, &_init_f_removeColumns_3713, &_call_f_removeColumns_3713);
methods += new qt_gsi::GenericMethod ("removeRows", "@brief Method bool QIdentityProxyModel::removeRows(int row, int count, const QModelIndex &parent)\nThis is a reimplementation of QAbstractItemModel::removeRows", false, &_init_f_removeRows_3713, &_call_f_removeRows_3713);
methods += new qt_gsi::GenericMethod ("rowCount", "@brief Method int QIdentityProxyModel::rowCount(const QModelIndex &parent)\nThis is a reimplementation of QAbstractItemModel::rowCount", true, &_init_f_rowCount_c2395, &_call_f_rowCount_c2395);
@ -869,33 +885,33 @@ public:
}
}
// [adaptor impl] bool QIdentityProxyModel::event(QEvent *)
bool cbs_event_1217_0(QEvent *arg1)
// [adaptor impl] bool QIdentityProxyModel::event(QEvent *event)
bool cbs_event_1217_0(QEvent *_event)
{
return QIdentityProxyModel::event(arg1);
return QIdentityProxyModel::event(_event);
}
virtual bool event(QEvent *arg1)
virtual bool event(QEvent *_event)
{
if (cb_event_1217_0.can_issue()) {
return cb_event_1217_0.issue<QIdentityProxyModel_Adaptor, bool, QEvent *>(&QIdentityProxyModel_Adaptor::cbs_event_1217_0, arg1);
return cb_event_1217_0.issue<QIdentityProxyModel_Adaptor, bool, QEvent *>(&QIdentityProxyModel_Adaptor::cbs_event_1217_0, _event);
} else {
return QIdentityProxyModel::event(arg1);
return QIdentityProxyModel::event(_event);
}
}
// [adaptor impl] bool QIdentityProxyModel::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QIdentityProxyModel::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QIdentityProxyModel::eventFilter(arg1, arg2);
return QIdentityProxyModel::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QIdentityProxyModel_Adaptor, bool, QObject *, QEvent *>(&QIdentityProxyModel_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QIdentityProxyModel_Adaptor, bool, QObject *, QEvent *>(&QIdentityProxyModel_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QIdentityProxyModel::eventFilter(arg1, arg2);
return QIdentityProxyModel::eventFilter(watched, event);
}
}
@ -1495,33 +1511,33 @@ public:
}
}
// [adaptor impl] void QIdentityProxyModel::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QIdentityProxyModel::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QIdentityProxyModel::childEvent(arg1);
QIdentityProxyModel::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QIdentityProxyModel_Adaptor, QChildEvent *>(&QIdentityProxyModel_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QIdentityProxyModel_Adaptor, QChildEvent *>(&QIdentityProxyModel_Adaptor::cbs_childEvent_1701_0, event);
} else {
QIdentityProxyModel::childEvent(arg1);
QIdentityProxyModel::childEvent(event);
}
}
// [adaptor impl] void QIdentityProxyModel::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QIdentityProxyModel::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QIdentityProxyModel::customEvent(arg1);
QIdentityProxyModel::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QIdentityProxyModel_Adaptor, QEvent *>(&QIdentityProxyModel_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QIdentityProxyModel_Adaptor, QEvent *>(&QIdentityProxyModel_Adaptor::cbs_customEvent_1217_0, event);
} else {
QIdentityProxyModel::customEvent(arg1);
QIdentityProxyModel::customEvent(event);
}
}
@ -1540,18 +1556,18 @@ public:
}
}
// [adaptor impl] void QIdentityProxyModel::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QIdentityProxyModel::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QIdentityProxyModel::timerEvent(arg1);
QIdentityProxyModel::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QIdentityProxyModel_Adaptor, QTimerEvent *>(&QIdentityProxyModel_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QIdentityProxyModel_Adaptor, QTimerEvent *>(&QIdentityProxyModel_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QIdentityProxyModel::timerEvent(arg1);
QIdentityProxyModel::timerEvent(event);
}
}
@ -1608,7 +1624,7 @@ QIdentityProxyModel_Adaptor::~QIdentityProxyModel_Adaptor() { }
static void _init_ctor_QIdentityProxyModel_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
static gsi::ArgSpecBase argspec_0 ("parent", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return_new<QIdentityProxyModel_Adaptor> ();
}
@ -1617,7 +1633,7 @@ static void _call_ctor_QIdentityProxyModel_Adaptor_1302 (const qt_gsi::GenericSt
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
ret.write<QIdentityProxyModel_Adaptor *> (new QIdentityProxyModel_Adaptor (arg1));
}
@ -1922,11 +1938,11 @@ static void _call_fp_changePersistentIndexList_5912 (const qt_gsi::GenericMethod
}
// void QIdentityProxyModel::childEvent(QChildEvent *)
// void QIdentityProxyModel::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -2133,7 +2149,7 @@ static void _init_fp_createIndex_c2374 (qt_gsi::GenericMethod *decl)
decl->add_arg<int > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("column");
decl->add_arg<int > (argspec_1);
static gsi::ArgSpecBase argspec_2 ("data", true, "0");
static gsi::ArgSpecBase argspec_2 ("data", true, "nullptr");
decl->add_arg<void * > (argspec_2);
decl->set_return<QModelIndex > ();
}
@ -2144,7 +2160,7 @@ static void _call_fp_createIndex_c2374 (const qt_gsi::GenericMethod * /*decl*/,
tl::Heap heap;
int arg1 = gsi::arg_reader<int >() (args, heap);
int arg2 = gsi::arg_reader<int >() (args, heap);
void *arg3 = args ? gsi::arg_reader<void * >() (args, heap) : gsi::arg_maker<void * >() (0, heap);
void *arg3 = args ? gsi::arg_reader<void * >() (args, heap) : gsi::arg_maker<void * >() (nullptr, heap);
ret.write<QModelIndex > ((QModelIndex)((QIdentityProxyModel_Adaptor *)cls)->fp_QIdentityProxyModel_createIndex_c2374 (arg1, arg2, arg3));
}
@ -2173,11 +2189,11 @@ static void _call_fp_createIndex_c2657 (const qt_gsi::GenericMethod * /*decl*/,
}
// void QIdentityProxyModel::customEvent(QEvent *)
// void QIdentityProxyModel::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -2278,7 +2294,7 @@ static void _call_fp_decodeData_5302 (const qt_gsi::GenericMethod * /*decl*/, vo
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -2287,7 +2303,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QIdentityProxyModel_Adaptor *)cls)->emitter_QIdentityProxyModel_destroyed_1302 (arg1);
}
@ -2478,11 +2494,11 @@ static void _call_fp_endResetModel_0 (const qt_gsi::GenericMethod * /*decl*/, vo
}
// bool QIdentityProxyModel::event(QEvent *)
// bool QIdentityProxyModel::event(QEvent *event)
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<bool > ();
}
@ -2501,13 +2517,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QIdentityProxyModel::eventFilter(QObject *, QEvent *)
// bool QIdentityProxyModel::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -3740,11 +3756,11 @@ static void _set_callback_cbs_supportedDropActions_c0_0 (void *cls, const gsi::C
}
// void QIdentityProxyModel::timerEvent(QTimerEvent *)
// void QIdentityProxyModel::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -3787,7 +3803,7 @@ static gsi::Methods methods_QIdentityProxyModel_Adaptor () {
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 QIdentityProxyModel::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 QIdentityProxyModel::changePersistentIndexList(const QList<QModelIndex> &from, const QList<QModelIndex> &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 QIdentityProxyModel::childEvent(QChildEvent *)\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", "@brief Virtual method void QIdentityProxyModel::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 ("columnCount", "@brief Virtual method int QIdentityProxyModel::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);
@ -3799,7 +3815,7 @@ static gsi::Methods methods_QIdentityProxyModel_Adaptor () {
methods += new qt_gsi::GenericMethod ("emit_columnsRemoved", "@brief Emitter for signal void QIdentityProxyModel::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 QIdentityProxyModel::createIndex(int row, int column, void *data)\nThis method is protected and can only be called from inside a derived class.", true, &_init_fp_createIndex_c2374, &_call_fp_createIndex_c2374);
methods += new qt_gsi::GenericMethod ("*createIndex", "@brief Method QModelIndex QIdentityProxyModel::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 QIdentityProxyModel::customEvent(QEvent *)\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", "@brief Virtual method void QIdentityProxyModel::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 QIdentityProxyModel::data(const QModelIndex &proxyIndex, 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);
@ -3818,9 +3834,9 @@ static gsi::Methods methods_QIdentityProxyModel_Adaptor () {
methods += new qt_gsi::GenericMethod ("*endRemoveColumns", "@brief Method void QIdentityProxyModel::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 QIdentityProxyModel::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 QIdentityProxyModel::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 QIdentityProxyModel::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", "@brief Virtual method bool QIdentityProxyModel::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 QIdentityProxyModel::eventFilter(QObject *, QEvent *)\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", "@brief Virtual method bool QIdentityProxyModel::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 QIdentityProxyModel::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);
@ -3907,7 +3923,7 @@ static gsi::Methods methods_QIdentityProxyModel_Adaptor () {
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<Qt::DropAction> QIdentityProxyModel::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 QIdentityProxyModel::timerEvent(QTimerEvent *)\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", "@brief Virtual method void QIdentityProxyModel::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;
}

View File

@ -648,33 +648,33 @@ public:
emit QItemSelectionModel::destroyed(arg1);
}
// [adaptor impl] bool QItemSelectionModel::event(QEvent *)
bool cbs_event_1217_0(QEvent *arg1)
// [adaptor impl] bool QItemSelectionModel::event(QEvent *event)
bool cbs_event_1217_0(QEvent *_event)
{
return QItemSelectionModel::event(arg1);
return QItemSelectionModel::event(_event);
}
virtual bool event(QEvent *arg1)
virtual bool event(QEvent *_event)
{
if (cb_event_1217_0.can_issue()) {
return cb_event_1217_0.issue<QItemSelectionModel_Adaptor, bool, QEvent *>(&QItemSelectionModel_Adaptor::cbs_event_1217_0, arg1);
return cb_event_1217_0.issue<QItemSelectionModel_Adaptor, bool, QEvent *>(&QItemSelectionModel_Adaptor::cbs_event_1217_0, _event);
} else {
return QItemSelectionModel::event(arg1);
return QItemSelectionModel::event(_event);
}
}
// [adaptor impl] bool QItemSelectionModel::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QItemSelectionModel::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QItemSelectionModel::eventFilter(arg1, arg2);
return QItemSelectionModel::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QItemSelectionModel_Adaptor, bool, QObject *, QEvent *>(&QItemSelectionModel_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QItemSelectionModel_Adaptor, bool, QObject *, QEvent *>(&QItemSelectionModel_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QItemSelectionModel::eventFilter(arg1, arg2);
return QItemSelectionModel::eventFilter(watched, event);
}
}
@ -757,33 +757,33 @@ public:
}
}
// [adaptor impl] void QItemSelectionModel::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QItemSelectionModel::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QItemSelectionModel::childEvent(arg1);
QItemSelectionModel::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QItemSelectionModel_Adaptor, QChildEvent *>(&QItemSelectionModel_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QItemSelectionModel_Adaptor, QChildEvent *>(&QItemSelectionModel_Adaptor::cbs_childEvent_1701_0, event);
} else {
QItemSelectionModel::childEvent(arg1);
QItemSelectionModel::childEvent(event);
}
}
// [adaptor impl] void QItemSelectionModel::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QItemSelectionModel::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QItemSelectionModel::customEvent(arg1);
QItemSelectionModel::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QItemSelectionModel_Adaptor, QEvent *>(&QItemSelectionModel_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QItemSelectionModel_Adaptor, QEvent *>(&QItemSelectionModel_Adaptor::cbs_customEvent_1217_0, event);
} else {
QItemSelectionModel::customEvent(arg1);
QItemSelectionModel::customEvent(event);
}
}
@ -802,18 +802,18 @@ public:
}
}
// [adaptor impl] void QItemSelectionModel::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QItemSelectionModel::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QItemSelectionModel::timerEvent(arg1);
QItemSelectionModel::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QItemSelectionModel_Adaptor, QTimerEvent *>(&QItemSelectionModel_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QItemSelectionModel_Adaptor, QTimerEvent *>(&QItemSelectionModel_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QItemSelectionModel::timerEvent(arg1);
QItemSelectionModel::timerEvent(event);
}
}
@ -837,7 +837,7 @@ QItemSelectionModel_Adaptor::~QItemSelectionModel_Adaptor() { }
static void _init_ctor_QItemSelectionModel_Adaptor_2419 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("model", true, "0");
static gsi::ArgSpecBase argspec_0 ("model", true, "nullptr");
decl->add_arg<QAbstractItemModel * > (argspec_0);
decl->set_return_new<QItemSelectionModel_Adaptor> ();
}
@ -846,7 +846,7 @@ static void _call_ctor_QItemSelectionModel_Adaptor_2419 (const qt_gsi::GenericSt
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QAbstractItemModel *arg1 = args ? gsi::arg_reader<QAbstractItemModel * >() (args, heap) : gsi::arg_maker<QAbstractItemModel * >() (0, heap);
QAbstractItemModel *arg1 = args ? gsi::arg_reader<QAbstractItemModel * >() (args, heap) : gsi::arg_maker<QAbstractItemModel * >() (nullptr, heap);
ret.write<QItemSelectionModel_Adaptor *> (new QItemSelectionModel_Adaptor (arg1));
}
@ -872,11 +872,11 @@ static void _call_ctor_QItemSelectionModel_Adaptor_3613 (const qt_gsi::GenericSt
}
// void QItemSelectionModel::childEvent(QChildEvent *)
// void QItemSelectionModel::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -999,11 +999,11 @@ static void _call_emitter_currentRowChanged_4682 (const qt_gsi::GenericMethod *
}
// void QItemSelectionModel::customEvent(QEvent *)
// void QItemSelectionModel::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -1027,7 +1027,7 @@ static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -1036,7 +1036,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QItemSelectionModel_Adaptor *)cls)->emitter_QItemSelectionModel_destroyed_1302 (arg1);
}
@ -1087,11 +1087,11 @@ static void _call_fp_emitSelectionChanged_5346 (const qt_gsi::GenericMethod * /*
}
// bool QItemSelectionModel::event(QEvent *)
// bool QItemSelectionModel::event(QEvent *event)
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<bool > ();
}
@ -1110,13 +1110,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QItemSelectionModel::eventFilter(QObject *, QEvent *)
// bool QItemSelectionModel::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -1358,11 +1358,11 @@ static void _set_callback_cbs_setCurrentIndex_6758_0 (void *cls, const gsi::Call
}
// void QItemSelectionModel::timerEvent(QTimerEvent *)
// void QItemSelectionModel::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -1391,7 +1391,7 @@ static gsi::Methods methods_QItemSelectionModel_Adaptor () {
gsi::Methods methods;
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QItemSelectionModel::QItemSelectionModel(QAbstractItemModel *model)\nThis method creates an object of class QItemSelectionModel.", &_init_ctor_QItemSelectionModel_Adaptor_2419, &_call_ctor_QItemSelectionModel_Adaptor_2419);
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QItemSelectionModel::QItemSelectionModel(QAbstractItemModel *model, QObject *parent)\nThis method creates an object of class QItemSelectionModel.", &_init_ctor_QItemSelectionModel_Adaptor_3613, &_call_ctor_QItemSelectionModel_Adaptor_3613);
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QItemSelectionModel::childEvent(QChildEvent *)\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", "@brief Virtual method void QItemSelectionModel::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 ("clear", "@brief Virtual method void QItemSelectionModel::clear()\nThis method can be reimplemented in a derived class.", false, &_init_cbs_clear_0_0, &_call_cbs_clear_0_0);
methods += new qt_gsi::GenericMethod ("clear", "@hide", false, &_init_cbs_clear_0_0, &_call_cbs_clear_0_0, &_set_callback_cbs_clear_0_0);
@ -1400,15 +1400,15 @@ static gsi::Methods methods_QItemSelectionModel_Adaptor () {
methods += new qt_gsi::GenericMethod ("emit_currentChanged", "@brief Emitter for signal void QItemSelectionModel::currentChanged(const QModelIndex &current, const QModelIndex &previous)\nCall this method to emit this signal.", false, &_init_emitter_currentChanged_4682, &_call_emitter_currentChanged_4682);
methods += new qt_gsi::GenericMethod ("emit_currentColumnChanged", "@brief Emitter for signal void QItemSelectionModel::currentColumnChanged(const QModelIndex &current, const QModelIndex &previous)\nCall this method to emit this signal.", false, &_init_emitter_currentColumnChanged_4682, &_call_emitter_currentColumnChanged_4682);
methods += new qt_gsi::GenericMethod ("emit_currentRowChanged", "@brief Emitter for signal void QItemSelectionModel::currentRowChanged(const QModelIndex &current, const QModelIndex &previous)\nCall this method to emit this signal.", false, &_init_emitter_currentRowChanged_4682, &_call_emitter_currentRowChanged_4682);
methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QItemSelectionModel::customEvent(QEvent *)\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", "@brief Virtual method void QItemSelectionModel::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 QItemSelectionModel::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 QItemSelectionModel::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 ("*emitSelectionChanged", "@brief Method void QItemSelectionModel::emitSelectionChanged(const QItemSelection &newSelection, const QItemSelection &oldSelection)\nThis method is protected and can only be called from inside a derived class.", false, &_init_fp_emitSelectionChanged_5346, &_call_fp_emitSelectionChanged_5346);
methods += new qt_gsi::GenericMethod ("event", "@brief Virtual method bool QItemSelectionModel::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", "@brief Virtual method bool QItemSelectionModel::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 QItemSelectionModel::eventFilter(QObject *, QEvent *)\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", "@brief Virtual method bool QItemSelectionModel::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 QItemSelectionModel::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_modelChanged", "@brief Emitter for signal void QItemSelectionModel::modelChanged(QAbstractItemModel *model)\nCall this method to emit this signal.", false, &_init_emitter_modelChanged_2419, &_call_emitter_modelChanged_2419);
@ -1425,7 +1425,7 @@ static gsi::Methods methods_QItemSelectionModel_Adaptor () {
methods += new qt_gsi::GenericMethod ("*senderSignalIndex", "@brief Method int QItemSelectionModel::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 ("setCurrentIndex", "@brief Virtual method void QItemSelectionModel::setCurrentIndex(const QModelIndex &index, QFlags<QItemSelectionModel::SelectionFlag> command)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_setCurrentIndex_6758_0, &_call_cbs_setCurrentIndex_6758_0);
methods += new qt_gsi::GenericMethod ("setCurrentIndex", "@hide", false, &_init_cbs_setCurrentIndex_6758_0, &_call_cbs_setCurrentIndex_6758_0, &_set_callback_cbs_setCurrentIndex_6758_0);
methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QItemSelectionModel::timerEvent(QTimerEvent *)\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", "@brief Virtual method void QItemSelectionModel::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;
}

View File

@ -72,14 +72,14 @@ static void _call_ctor_QItemSelectionRange_3220 (const qt_gsi::GenericStaticMeth
}
// Constructor QItemSelectionRange::QItemSelectionRange(const QModelIndex &topLeft, const QModelIndex &bottomRight)
// Constructor QItemSelectionRange::QItemSelectionRange(const QModelIndex &topL, const QModelIndex &bottomR)
static void _init_ctor_QItemSelectionRange_4682 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("topLeft");
static gsi::ArgSpecBase argspec_0 ("topL");
decl->add_arg<const QModelIndex & > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("bottomRight");
static gsi::ArgSpecBase argspec_1 ("bottomR");
decl->add_arg<const QModelIndex & > (argspec_1);
decl->set_return_new<QItemSelectionRange> ();
}
@ -353,6 +353,25 @@ static void _call_f_operator_lt__c3220 (const qt_gsi::GenericMethod * /*decl*/,
}
// QItemSelectionRange &QItemSelectionRange::operator=(const QItemSelectionRange &other)
static void _init_f_operator_eq__3220 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("other");
decl->add_arg<const QItemSelectionRange & > (argspec_0);
decl->set_return<QItemSelectionRange & > ();
}
static void _call_f_operator_eq__3220 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const QItemSelectionRange &arg1 = gsi::arg_reader<const QItemSelectionRange & >() (args, heap);
ret.write<QItemSelectionRange & > ((QItemSelectionRange &)((QItemSelectionRange *)cls)->operator= (arg1));
}
// bool QItemSelectionRange::operator==(const QItemSelectionRange &other)
@ -402,6 +421,26 @@ static void _call_f_right_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls,
}
// void QItemSelectionRange::swap(QItemSelectionRange &other)
static void _init_f_swap_2525 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("other");
decl->add_arg<QItemSelectionRange & > (argspec_0);
decl->set_return<void > ();
}
static void _call_f_swap_2525 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QItemSelectionRange &arg1 = gsi::arg_reader<QItemSelectionRange & >() (args, heap);
__SUPPRESS_UNUSED_WARNING(ret);
((QItemSelectionRange *)cls)->swap (arg1);
}
// int QItemSelectionRange::top()
@ -455,7 +494,7 @@ static gsi::Methods methods_QItemSelectionRange () {
gsi::Methods methods;
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QItemSelectionRange::QItemSelectionRange()\nThis method creates an object of class QItemSelectionRange.", &_init_ctor_QItemSelectionRange_0, &_call_ctor_QItemSelectionRange_0);
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QItemSelectionRange::QItemSelectionRange(const QItemSelectionRange &other)\nThis method creates an object of class QItemSelectionRange.", &_init_ctor_QItemSelectionRange_3220, &_call_ctor_QItemSelectionRange_3220);
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QItemSelectionRange::QItemSelectionRange(const QModelIndex &topLeft, const QModelIndex &bottomRight)\nThis method creates an object of class QItemSelectionRange.", &_init_ctor_QItemSelectionRange_4682, &_call_ctor_QItemSelectionRange_4682);
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QItemSelectionRange::QItemSelectionRange(const QModelIndex &topL, const QModelIndex &bottomR)\nThis method creates an object of class QItemSelectionRange.", &_init_ctor_QItemSelectionRange_4682, &_call_ctor_QItemSelectionRange_4682);
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QItemSelectionRange::QItemSelectionRange(const QModelIndex &index)\nThis method creates an object of class QItemSelectionRange.", &_init_ctor_QItemSelectionRange_2395, &_call_ctor_QItemSelectionRange_2395);
methods += new qt_gsi::GenericMethod ("bottom", "@brief Method int QItemSelectionRange::bottom()\n", true, &_init_f_bottom_c0, &_call_f_bottom_c0);
methods += new qt_gsi::GenericMethod ("bottomRight", "@brief Method const QPersistentModelIndex &QItemSelectionRange::bottomRight()\n", true, &_init_f_bottomRight_c0, &_call_f_bottomRight_c0);
@ -471,9 +510,11 @@ static gsi::Methods methods_QItemSelectionRange () {
methods += new qt_gsi::GenericMethod ("model", "@brief Method const QAbstractItemModel *QItemSelectionRange::model()\n", true, &_init_f_model_c0, &_call_f_model_c0);
methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QItemSelectionRange::operator!=(const QItemSelectionRange &other)\n", true, &_init_f_operator_excl__eq__c3220, &_call_f_operator_excl__eq__c3220);
methods += new qt_gsi::GenericMethod ("<", "@brief Method bool QItemSelectionRange::operator<(const QItemSelectionRange &other)\n", true, &_init_f_operator_lt__c3220, &_call_f_operator_lt__c3220);
methods += new qt_gsi::GenericMethod ("assign", "@brief Method QItemSelectionRange &QItemSelectionRange::operator=(const QItemSelectionRange &other)\n", false, &_init_f_operator_eq__3220, &_call_f_operator_eq__3220);
methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QItemSelectionRange::operator==(const QItemSelectionRange &other)\n", true, &_init_f_operator_eq__eq__c3220, &_call_f_operator_eq__eq__c3220);
methods += new qt_gsi::GenericMethod ("parent", "@brief Method QModelIndex QItemSelectionRange::parent()\n", true, &_init_f_parent_c0, &_call_f_parent_c0);
methods += new qt_gsi::GenericMethod ("right", "@brief Method int QItemSelectionRange::right()\n", true, &_init_f_right_c0, &_call_f_right_c0);
methods += new qt_gsi::GenericMethod ("swap", "@brief Method void QItemSelectionRange::swap(QItemSelectionRange &other)\n", false, &_init_f_swap_2525, &_call_f_swap_2525);
methods += new qt_gsi::GenericMethod ("top", "@brief Method int QItemSelectionRange::top()\n", true, &_init_f_top_c0, &_call_f_top_c0);
methods += new qt_gsi::GenericMethod ("topLeft", "@brief Method const QPersistentModelIndex &QItemSelectionRange::topLeft()\n", true, &_init_f_topLeft_c0, &_call_f_topLeft_c0);
methods += new qt_gsi::GenericMethod ("width", "@brief Method int QItemSelectionRange::width()\n", true, &_init_f_width_c0, &_call_f_width_c0);

View File

@ -692,6 +692,26 @@ static void _call_f_size_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls,
}
// void QJsonArray::swap(QJsonArray &other)
static void _init_f_swap_1620 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("other");
decl->add_arg<QJsonArray & > (argspec_0);
decl->set_return<void > ();
}
static void _call_f_swap_1620 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QJsonArray &arg1 = gsi::arg_reader<QJsonArray & >() (args, heap);
__SUPPRESS_UNUSED_WARNING(ret);
((QJsonArray *)cls)->swap (arg1);
}
// QJsonValue QJsonArray::takeAt(int i)
@ -807,6 +827,7 @@ static gsi::Methods methods_QJsonArray () {
methods += new qt_gsi::GenericMethod ("removeLast", "@brief Method void QJsonArray::removeLast()\n", false, &_init_f_removeLast_0, &_call_f_removeLast_0);
methods += new qt_gsi::GenericMethod ("replace", "@brief Method void QJsonArray::replace(int i, const QJsonValue &value)\n", false, &_init_f_replace_2972, &_call_f_replace_2972);
methods += new qt_gsi::GenericMethod ("size", "@brief Method int QJsonArray::size()\n", true, &_init_f_size_c0, &_call_f_size_c0);
methods += new qt_gsi::GenericMethod ("swap", "@brief Method void QJsonArray::swap(QJsonArray &other)\n", false, &_init_f_swap_1620, &_call_f_swap_1620);
methods += new qt_gsi::GenericMethod ("takeAt", "@brief Method QJsonValue QJsonArray::takeAt(int i)\n", false, &_init_f_takeAt_767, &_call_f_takeAt_767);
methods += new qt_gsi::GenericMethod ("toVariantList", "@brief Method QList<QVariant> QJsonArray::toVariantList()\n", true, &_init_f_toVariantList_c0, &_call_f_toVariantList_c0);
methods += new qt_gsi::GenericStaticMethod ("fromStringList", "@brief Static method QJsonArray QJsonArray::fromStringList(const QStringList &list)\nThis method is static and can be called without an instance.", &_init_f_fromStringList_2437, &_call_f_fromStringList_2437);

View File

@ -31,6 +31,7 @@
#include <QJsonArray>
#include <QJsonObject>
#include <QJsonParseError>
#include <QJsonValue>
#include "gsiQt.h"
#include "gsiQtCoreCommon.h"
#include <memory>
@ -257,6 +258,44 @@ static void _call_f_operator_eq__eq__c2635 (const qt_gsi::GenericMethod * /*decl
}
// const QJsonValue QJsonDocument::operator[](const QString &key)
static void _init_f_operator_index__c2025 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("key");
decl->add_arg<const QString & > (argspec_0);
decl->set_return<const QJsonValue > ();
}
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<const QString & >() (args, heap);
ret.write<const QJsonValue > ((const QJsonValue)((QJsonDocument *)cls)->operator[] (arg1));
}
// const QJsonValue QJsonDocument::operator[](int i)
static void _init_f_operator_index__c767 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("i");
decl->add_arg<int > (argspec_0);
decl->set_return<const QJsonValue > ();
}
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<int >() (args, heap);
ret.write<const QJsonValue > ((const QJsonValue)((QJsonDocument *)cls)->operator[] (arg1));
}
// const char *QJsonDocument::rawData(int *size)
@ -316,6 +355,26 @@ static void _call_f_setObject_2403 (const qt_gsi::GenericMethod * /*decl*/, void
}
// void QJsonDocument::swap(QJsonDocument &other)
static void _init_f_swap_1940 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("other");
decl->add_arg<QJsonDocument & > (argspec_0);
decl->set_return<void > ();
}
static void _call_f_swap_1940 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QJsonDocument &arg1 = gsi::arg_reader<QJsonDocument & >() (args, heap);
__SUPPRESS_UNUSED_WARNING(ret);
((QJsonDocument *)cls)->swap (arg1);
}
// QByteArray QJsonDocument::toBinaryData()
@ -409,7 +468,7 @@ static void _init_f_fromJson_4343 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("json");
decl->add_arg<const QByteArray & > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("error", true, "0");
static gsi::ArgSpecBase argspec_1 ("error", true, "nullptr");
decl->add_arg<QJsonParseError * > (argspec_1);
decl->set_return<QJsonDocument > ();
}
@ -419,7 +478,7 @@ static void _call_f_fromJson_4343 (const qt_gsi::GenericStaticMethod * /*decl*/,
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const QByteArray &arg1 = gsi::arg_reader<const QByteArray & >() (args, heap);
QJsonParseError *arg2 = args ? gsi::arg_reader<QJsonParseError * >() (args, heap) : gsi::arg_maker<QJsonParseError * >() (0, heap);
QJsonParseError *arg2 = args ? gsi::arg_reader<QJsonParseError * >() (args, heap) : gsi::arg_maker<QJsonParseError * >() (nullptr, heap);
ret.write<QJsonDocument > ((QJsonDocument)QJsonDocument::fromJson (arg1, arg2));
}
@ -487,9 +546,12 @@ static gsi::Methods methods_QJsonDocument () {
methods += new qt_gsi::GenericMethod ("assign", "@brief Method QJsonDocument &QJsonDocument::operator =(const QJsonDocument &other)\n", false, &_init_f_operator_eq__2635, &_call_f_operator_eq__2635);
methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QJsonDocument::operator!=(const QJsonDocument &other)\n", true, &_init_f_operator_excl__eq__c2635, &_call_f_operator_excl__eq__c2635);
methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QJsonDocument::operator==(const QJsonDocument &other)\n", true, &_init_f_operator_eq__eq__c2635, &_call_f_operator_eq__eq__c2635);
methods += new qt_gsi::GenericMethod ("[]", "@brief Method const QJsonValue QJsonDocument::operator[](const QString &key)\n", true, &_init_f_operator_index__c2025, &_call_f_operator_index__c2025);
methods += new qt_gsi::GenericMethod ("[]", "@brief Method const QJsonValue QJsonDocument::operator[](int i)\n", true, &_init_f_operator_index__c767, &_call_f_operator_index__c767);
methods += new qt_gsi::GenericMethod ("rawData", "@brief Method const char *QJsonDocument::rawData(int *size)\n", true, &_init_f_rawData_c953, &_call_f_rawData_c953);
methods += new qt_gsi::GenericMethod ("setArray|array=", "@brief Method void QJsonDocument::setArray(const QJsonArray &array)\n", false, &_init_f_setArray_2315, &_call_f_setArray_2315);
methods += new qt_gsi::GenericMethod ("setObject", "@brief Method void QJsonDocument::setObject(const QJsonObject &object)\n", false, &_init_f_setObject_2403, &_call_f_setObject_2403);
methods += new qt_gsi::GenericMethod ("swap", "@brief Method void QJsonDocument::swap(QJsonDocument &other)\n", false, &_init_f_swap_1940, &_call_f_swap_1940);
methods += new qt_gsi::GenericMethod ("toBinaryData", "@brief Method QByteArray QJsonDocument::toBinaryData()\n", true, &_init_f_toBinaryData_c0, &_call_f_toBinaryData_c0);
methods += new qt_gsi::GenericMethod ("toJson", "@brief Method QByteArray QJsonDocument::toJson()\n", true, &_init_f_toJson_c0, &_call_f_toJson_c0);
methods += new qt_gsi::GenericMethod ("toJson", "@brief Method QByteArray QJsonDocument::toJson(QJsonDocument::JsonFormat format)\n", true, &_init_f_toJson_c2901, &_call_f_toJson_c2901);

View File

@ -483,6 +483,26 @@ static void _call_f_size_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls,
}
// void QJsonObject::swap(QJsonObject &other)
static void _init_f_swap_1708 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("other");
decl->add_arg<QJsonObject & > (argspec_0);
decl->set_return<void > ();
}
static void _call_f_swap_1708 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QJsonObject &arg1 = gsi::arg_reader<QJsonObject & >() (args, heap);
__SUPPRESS_UNUSED_WARNING(ret);
((QJsonObject *)cls)->swap (arg1);
}
// QJsonValue QJsonObject::take(const QString &key)
@ -621,6 +641,7 @@ static gsi::Methods methods_QJsonObject () {
methods += new qt_gsi::GenericMethod ("[]", "@brief Method QJsonValueRef QJsonObject::operator[](const QString &key)\n", false, &_init_f_operator_index__2025, &_call_f_operator_index__2025);
methods += new qt_gsi::GenericMethod ("remove", "@brief Method void QJsonObject::remove(const QString &key)\n", false, &_init_f_remove_2025, &_call_f_remove_2025);
methods += new qt_gsi::GenericMethod ("size", "@brief Method int QJsonObject::size()\n", true, &_init_f_size_c0, &_call_f_size_c0);
methods += new qt_gsi::GenericMethod ("swap", "@brief Method void QJsonObject::swap(QJsonObject &other)\n", false, &_init_f_swap_1708, &_call_f_swap_1708);
methods += new qt_gsi::GenericMethod ("take", "@brief Method QJsonValue QJsonObject::take(const QString &key)\n", false, &_init_f_take_2025, &_call_f_take_2025);
methods += new qt_gsi::GenericMethod ("toVariantHash", "@brief Method QHash<QString, QVariant> QJsonObject::toVariantHash()\n", true, &_init_f_toVariantHash_c0, &_call_f_toVariantHash_c0);
methods += new qt_gsi::GenericMethod ("toVariantMap", "@brief Method QMap<QString, QVariant> QJsonObject::toVariantMap()\n", true, &_init_f_toVariantMap_c0, &_call_f_toVariantMap_c0);

View File

@ -351,6 +351,64 @@ static void _call_f_operator_eq__eq__c2313 (const qt_gsi::GenericMethod * /*decl
}
// const QJsonValue QJsonValue::operator[](const QString &key)
static void _init_f_operator_index__c2025 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("key");
decl->add_arg<const QString & > (argspec_0);
decl->set_return<const QJsonValue > ();
}
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<const QString & >() (args, heap);
ret.write<const QJsonValue > ((const QJsonValue)((QJsonValue *)cls)->operator[] (arg1));
}
// const QJsonValue QJsonValue::operator[](int i)
static void _init_f_operator_index__c767 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("i");
decl->add_arg<int > (argspec_0);
decl->set_return<const QJsonValue > ();
}
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<int >() (args, heap);
ret.write<const QJsonValue > ((const QJsonValue)((QJsonValue *)cls)->operator[] (arg1));
}
// void QJsonValue::swap(QJsonValue &other)
static void _init_f_swap_1618 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("other");
decl->add_arg<QJsonValue & > (argspec_0);
decl->set_return<void > ();
}
static void _call_f_swap_1618 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QJsonValue &arg1 = gsi::arg_reader<QJsonValue & >() (args, heap);
__SUPPRESS_UNUSED_WARNING(ret);
((QJsonValue *)cls)->swap (arg1);
}
// QJsonArray QJsonValue::toArray()
@ -476,12 +534,27 @@ static void _call_f_toObject_c2403 (const qt_gsi::GenericMethod * /*decl*/, void
}
// QString QJsonValue::toString()
static void _init_f_toString_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<QString > ();
}
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 > ((QString)((QJsonValue *)cls)->toString ());
}
// QString QJsonValue::toString(const QString &defaultValue)
static void _init_f_toString_c2025 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("defaultValue", true, "QString()");
static gsi::ArgSpecBase argspec_0 ("defaultValue");
decl->add_arg<const QString & > (argspec_0);
decl->set_return<QString > ();
}
@ -490,7 +563,7 @@ static void _call_f_toString_c2025 (const qt_gsi::GenericMethod * /*decl*/, void
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const QString &arg1 = args ? gsi::arg_reader<const QString & >() (args, heap) : gsi::arg_maker<const QString & >() (QString(), heap);
const QString &arg1 = gsi::arg_reader<const QString & >() (args, heap);
ret.write<QString > ((QString)((QJsonValue *)cls)->toString (arg1));
}
@ -568,6 +641,9 @@ static gsi::Methods methods_QJsonValue () {
methods += new qt_gsi::GenericMethod ("assign", "@brief Method QJsonValue &QJsonValue::operator =(const QJsonValue &other)\n", false, &_init_f_operator_eq__2313, &_call_f_operator_eq__2313);
methods += new qt_gsi::GenericMethod ("!=", "@brief Method bool QJsonValue::operator!=(const QJsonValue &other)\n", true, &_init_f_operator_excl__eq__c2313, &_call_f_operator_excl__eq__c2313);
methods += new qt_gsi::GenericMethod ("==", "@brief Method bool QJsonValue::operator==(const QJsonValue &other)\n", true, &_init_f_operator_eq__eq__c2313, &_call_f_operator_eq__eq__c2313);
methods += new qt_gsi::GenericMethod ("[]", "@brief Method const QJsonValue QJsonValue::operator[](const QString &key)\n", true, &_init_f_operator_index__c2025, &_call_f_operator_index__c2025);
methods += new qt_gsi::GenericMethod ("[]", "@brief Method const QJsonValue QJsonValue::operator[](int i)\n", true, &_init_f_operator_index__c767, &_call_f_operator_index__c767);
methods += new qt_gsi::GenericMethod ("swap", "@brief Method void QJsonValue::swap(QJsonValue &other)\n", false, &_init_f_swap_1618, &_call_f_swap_1618);
methods += new qt_gsi::GenericMethod ("toArray", "@brief Method QJsonArray QJsonValue::toArray()\n", true, &_init_f_toArray_c0, &_call_f_toArray_c0);
methods += new qt_gsi::GenericMethod ("toArray", "@brief Method QJsonArray QJsonValue::toArray(const QJsonArray &defaultValue)\n", true, &_init_f_toArray_c2315, &_call_f_toArray_c2315);
methods += new qt_gsi::GenericMethod ("toBool", "@brief Method bool QJsonValue::toBool(bool defaultValue)\n", true, &_init_f_toBool_c864, &_call_f_toBool_c864);
@ -575,6 +651,7 @@ static gsi::Methods methods_QJsonValue () {
methods += new qt_gsi::GenericMethod ("toInt", "@brief Method int QJsonValue::toInt(int defaultValue)\n", true, &_init_f_toInt_c767, &_call_f_toInt_c767);
methods += new qt_gsi::GenericMethod ("toObject", "@brief Method QJsonObject QJsonValue::toObject()\n", true, &_init_f_toObject_c0, &_call_f_toObject_c0);
methods += new qt_gsi::GenericMethod ("toObject", "@brief Method QJsonObject QJsonValue::toObject(const QJsonObject &defaultValue)\n", true, &_init_f_toObject_c2403, &_call_f_toObject_c2403);
methods += new qt_gsi::GenericMethod ("toString", "@brief Method QString QJsonValue::toString()\n", true, &_init_f_toString_c0, &_call_f_toString_c0);
methods += new qt_gsi::GenericMethod ("toString", "@brief Method QString QJsonValue::toString(const QString &defaultValue)\n", true, &_init_f_toString_c2025, &_call_f_toString_c2025);
methods += new qt_gsi::GenericMethod ("toVariant", "@brief Method QVariant QJsonValue::toVariant()\n", true, &_init_f_toVariant_c0, &_call_f_toVariant_c0);
methods += new qt_gsi::GenericMethod ("type", "@brief Method QJsonValue::Type QJsonValue::type()\n", true, &_init_f_type_c0, &_call_f_type_c0);

View File

@ -414,33 +414,33 @@ public:
emit QLibrary::destroyed(arg1);
}
// [adaptor impl] bool QLibrary::event(QEvent *)
bool cbs_event_1217_0(QEvent *arg1)
// [adaptor impl] bool QLibrary::event(QEvent *event)
bool cbs_event_1217_0(QEvent *_event)
{
return QLibrary::event(arg1);
return QLibrary::event(_event);
}
virtual bool event(QEvent *arg1)
virtual bool event(QEvent *_event)
{
if (cb_event_1217_0.can_issue()) {
return cb_event_1217_0.issue<QLibrary_Adaptor, bool, QEvent *>(&QLibrary_Adaptor::cbs_event_1217_0, arg1);
return cb_event_1217_0.issue<QLibrary_Adaptor, bool, QEvent *>(&QLibrary_Adaptor::cbs_event_1217_0, _event);
} else {
return QLibrary::event(arg1);
return QLibrary::event(_event);
}
}
// [adaptor impl] bool QLibrary::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QLibrary::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QLibrary::eventFilter(arg1, arg2);
return QLibrary::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QLibrary_Adaptor, bool, QObject *, QEvent *>(&QLibrary_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QLibrary_Adaptor, bool, QObject *, QEvent *>(&QLibrary_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QLibrary::eventFilter(arg1, arg2);
return QLibrary::eventFilter(watched, event);
}
}
@ -451,33 +451,33 @@ public:
throw tl::Exception ("Can't emit private signal 'void QLibrary::objectNameChanged(const QString &objectName)'");
}
// [adaptor impl] void QLibrary::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QLibrary::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QLibrary::childEvent(arg1);
QLibrary::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QLibrary_Adaptor, QChildEvent *>(&QLibrary_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QLibrary_Adaptor, QChildEvent *>(&QLibrary_Adaptor::cbs_childEvent_1701_0, event);
} else {
QLibrary::childEvent(arg1);
QLibrary::childEvent(event);
}
}
// [adaptor impl] void QLibrary::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QLibrary::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QLibrary::customEvent(arg1);
QLibrary::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QLibrary_Adaptor, QEvent *>(&QLibrary_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QLibrary_Adaptor, QEvent *>(&QLibrary_Adaptor::cbs_customEvent_1217_0, event);
} else {
QLibrary::customEvent(arg1);
QLibrary::customEvent(event);
}
}
@ -496,18 +496,18 @@ public:
}
}
// [adaptor impl] void QLibrary::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QLibrary::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QLibrary::timerEvent(arg1);
QLibrary::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QLibrary_Adaptor, QTimerEvent *>(&QLibrary_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QLibrary_Adaptor, QTimerEvent *>(&QLibrary_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QLibrary::timerEvent(arg1);
QLibrary::timerEvent(event);
}
}
@ -525,7 +525,7 @@ QLibrary_Adaptor::~QLibrary_Adaptor() { }
static void _init_ctor_QLibrary_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
static gsi::ArgSpecBase argspec_0 ("parent", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return_new<QLibrary_Adaptor> ();
}
@ -534,7 +534,7 @@ static void _call_ctor_QLibrary_Adaptor_1302 (const qt_gsi::GenericStaticMethod
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
ret.write<QLibrary_Adaptor *> (new QLibrary_Adaptor (arg1));
}
@ -545,7 +545,7 @@ static void _init_ctor_QLibrary_Adaptor_3219 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("fileName");
decl->add_arg<const QString & > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("parent", true, "0");
static gsi::ArgSpecBase argspec_1 ("parent", true, "nullptr");
decl->add_arg<QObject * > (argspec_1);
decl->set_return_new<QLibrary_Adaptor> ();
}
@ -555,7 +555,7 @@ static void _call_ctor_QLibrary_Adaptor_3219 (const qt_gsi::GenericStaticMethod
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const QString &arg1 = gsi::arg_reader<const QString & >() (args, heap);
QObject *arg2 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg2 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
ret.write<QLibrary_Adaptor *> (new QLibrary_Adaptor (arg1, arg2));
}
@ -568,7 +568,7 @@ static void _init_ctor_QLibrary_Adaptor_3878 (qt_gsi::GenericStaticMethod *decl)
decl->add_arg<const QString & > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("verNum");
decl->add_arg<int > (argspec_1);
static gsi::ArgSpecBase argspec_2 ("parent", true, "0");
static gsi::ArgSpecBase argspec_2 ("parent", true, "nullptr");
decl->add_arg<QObject * > (argspec_2);
decl->set_return_new<QLibrary_Adaptor> ();
}
@ -579,7 +579,7 @@ static void _call_ctor_QLibrary_Adaptor_3878 (const qt_gsi::GenericStaticMethod
tl::Heap heap;
const QString &arg1 = gsi::arg_reader<const QString & >() (args, heap);
int arg2 = gsi::arg_reader<int >() (args, heap);
QObject *arg3 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg3 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
ret.write<QLibrary_Adaptor *> (new QLibrary_Adaptor (arg1, arg2, arg3));
}
@ -592,7 +592,7 @@ static void _init_ctor_QLibrary_Adaptor_5136 (qt_gsi::GenericStaticMethod *decl)
decl->add_arg<const QString & > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("version");
decl->add_arg<const QString & > (argspec_1);
static gsi::ArgSpecBase argspec_2 ("parent", true, "0");
static gsi::ArgSpecBase argspec_2 ("parent", true, "nullptr");
decl->add_arg<QObject * > (argspec_2);
decl->set_return_new<QLibrary_Adaptor> ();
}
@ -603,16 +603,16 @@ static void _call_ctor_QLibrary_Adaptor_5136 (const qt_gsi::GenericStaticMethod
tl::Heap heap;
const QString &arg1 = gsi::arg_reader<const QString & >() (args, heap);
const QString &arg2 = gsi::arg_reader<const QString & >() (args, heap);
QObject *arg3 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg3 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
ret.write<QLibrary_Adaptor *> (new QLibrary_Adaptor (arg1, arg2, arg3));
}
// void QLibrary::childEvent(QChildEvent *)
// void QLibrary::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -632,11 +632,11 @@ static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback
}
// void QLibrary::customEvent(QEvent *)
// void QLibrary::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -660,7 +660,7 @@ static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -669,7 +669,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QLibrary_Adaptor *)cls)->emitter_QLibrary_destroyed_1302 (arg1);
}
@ -698,11 +698,11 @@ static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Cal
}
// bool QLibrary::event(QEvent *)
// bool QLibrary::event(QEvent *event)
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<bool > ();
}
@ -721,13 +721,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QLibrary::eventFilter(QObject *, QEvent *)
// bool QLibrary::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -829,11 +829,11 @@ static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*
}
// void QLibrary::timerEvent(QTimerEvent *)
// void QLibrary::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -864,23 +864,23 @@ static gsi::Methods methods_QLibrary_Adaptor () {
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QLibrary::QLibrary(const QString &fileName, QObject *parent)\nThis method creates an object of class QLibrary.", &_init_ctor_QLibrary_Adaptor_3219, &_call_ctor_QLibrary_Adaptor_3219);
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QLibrary::QLibrary(const QString &fileName, int verNum, QObject *parent)\nThis method creates an object of class QLibrary.", &_init_ctor_QLibrary_Adaptor_3878, &_call_ctor_QLibrary_Adaptor_3878);
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QLibrary::QLibrary(const QString &fileName, const QString &version, QObject *parent)\nThis method creates an object of class QLibrary.", &_init_ctor_QLibrary_Adaptor_5136, &_call_ctor_QLibrary_Adaptor_5136);
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QLibrary::childEvent(QChildEvent *)\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", "@brief Virtual method void QLibrary::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 QLibrary::customEvent(QEvent *)\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", "@brief Virtual method void QLibrary::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 QLibrary::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 QLibrary::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 QLibrary::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", "@brief Virtual method bool QLibrary::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 QLibrary::eventFilter(QObject *, QEvent *)\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", "@brief Virtual method bool QLibrary::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 QLibrary::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 QLibrary::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 QLibrary::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 *QLibrary::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 QLibrary::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 QLibrary::timerEvent(QTimerEvent *)\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", "@brief Virtual method void QLibrary::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;
}

View File

@ -29,6 +29,7 @@
#include <QLibraryInfo>
#include <QDate>
#include <QVersionNumber>
#include "gsiQt.h"
#include "gsiQtCoreCommon.h"
#include <memory>
@ -149,6 +150,21 @@ static void _call_f_platformPluginArguments_2025 (const qt_gsi::GenericStaticMet
}
// static QVersionNumber QLibraryInfo::version()
static void _init_f_version_0 (qt_gsi::GenericStaticMethod *decl)
{
decl->set_return<QVersionNumber > ();
}
static void _call_f_version_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
ret.write<QVersionNumber > ((QVersionNumber)QLibraryInfo::version ());
}
namespace gsi
{
@ -162,6 +178,7 @@ static gsi::Methods methods_QLibraryInfo () {
methods += new qt_gsi::GenericStaticMethod ("licensee", "@brief Static method QString QLibraryInfo::licensee()\nThis method is static and can be called without an instance.", &_init_f_licensee_0, &_call_f_licensee_0);
methods += new qt_gsi::GenericStaticMethod ("location", "@brief Static method QString QLibraryInfo::location(QLibraryInfo::LibraryLocation)\nThis method is static and can be called without an instance.", &_init_f_location_3304, &_call_f_location_3304);
methods += new qt_gsi::GenericStaticMethod ("platformPluginArguments", "@brief Static method QStringList QLibraryInfo::platformPluginArguments(const QString &platformName)\nThis method is static and can be called without an instance.", &_init_f_platformPluginArguments_2025, &_call_f_platformPluginArguments_2025);
methods += new qt_gsi::GenericStaticMethod ("version", "@brief Static method QVersionNumber QLibraryInfo::version()\nThis method is static and can be called without an instance.", &_init_f_version_0, &_call_f_version_0);
return methods;
}

View File

@ -101,6 +101,21 @@ static void _call_ctor_QLine_2744 (const qt_gsi::GenericStaticMethod * /*decl*/,
}
// QPoint QLine::center()
static void _init_f_center_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<QPoint > ();
}
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<QPoint > ((QPoint)((QLine *)cls)->center ());
}
// int QLine::dx()
@ -459,6 +474,7 @@ static gsi::Methods methods_QLine () {
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QLine::QLine()\nThis method creates an object of class QLine.", &_init_ctor_QLine_0, &_call_ctor_QLine_0);
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QLine::QLine(const QPoint &pt1, const QPoint &pt2)\nThis method creates an object of class QLine.", &_init_ctor_QLine_3724, &_call_ctor_QLine_3724);
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QLine::QLine(int x1, int y1, int x2, int y2)\nThis method creates an object of class QLine.", &_init_ctor_QLine_2744, &_call_ctor_QLine_2744);
methods += new qt_gsi::GenericMethod ("center", "@brief Method QPoint QLine::center()\n", true, &_init_f_center_c0, &_call_f_center_c0);
methods += new qt_gsi::GenericMethod ("dx", "@brief Method int QLine::dx()\n", true, &_init_f_dx_c0, &_call_f_dx_c0);
methods += new qt_gsi::GenericMethod ("dy", "@brief Method int QLine::dy()\n", true, &_init_f_dy_c0, &_call_f_dy_c0);
methods += new qt_gsi::GenericMethod ("isNull?", "@brief Method bool QLine::isNull()\n", true, &_init_f_isNull_c0, &_call_f_isNull_c0);

View File

@ -174,6 +174,21 @@ static void _call_f_angleTo_c1856 (const qt_gsi::GenericMethod * /*decl*/, void
}
// QPointF QLineF::center()
static void _init_f_center_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<QPointF > ();
}
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 > ((QPointF)((QLineF *)cls)->center ());
}
// double QLineF::dx()
@ -699,6 +714,7 @@ static gsi::Methods methods_QLineF () {
methods += new qt_gsi::GenericMethod (":angle", "@brief Method double QLineF::angle()\n", true, &_init_f_angle_c0, &_call_f_angle_c0);
methods += new qt_gsi::GenericMethod ("angle", "@brief Method double QLineF::angle(const QLineF &l)\n", true, &_init_f_angle_c1856, &_call_f_angle_c1856);
methods += new qt_gsi::GenericMethod ("angleTo", "@brief Method double QLineF::angleTo(const QLineF &l)\n", true, &_init_f_angleTo_c1856, &_call_f_angleTo_c1856);
methods += new qt_gsi::GenericMethod ("center", "@brief Method QPointF QLineF::center()\n", true, &_init_f_center_c0, &_call_f_center_c0);
methods += new qt_gsi::GenericMethod ("dx", "@brief Method double QLineF::dx()\n", true, &_init_f_dx_c0, &_call_f_dx_c0);
methods += new qt_gsi::GenericMethod ("dy", "@brief Method double QLineF::dy()\n", true, &_init_f_dy_c0, &_call_f_dy_c0);
methods += new qt_gsi::GenericMethod ("intersect", "@brief Method QLineF::IntersectType QLineF::intersect(const QLineF &l, QPointF *intersectionPoint)\n", true, &_init_f_intersect_c3043, &_call_f_intersect_c3043);

View File

@ -326,6 +326,31 @@ static void _call_f_firstDayOfWeek_c0 (const qt_gsi::GenericMethod * /*decl*/, v
}
// QString QLocale::formattedDataSize(qint64 bytes, int precision, QFlags<QLocale::DataSizeFormat> format)
static void _init_f_formattedDataSize_4864 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("bytes");
decl->add_arg<qint64 > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("precision", true, "2");
decl->add_arg<int > (argspec_1);
static gsi::ArgSpecBase argspec_2 ("format", true, "QLocale::DataSizeIecFormat");
decl->add_arg<QFlags<QLocale::DataSizeFormat> > (argspec_2);
decl->set_return<QString > ();
}
static void _call_f_formattedDataSize_4864 (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<qint64 >() (args, heap);
int arg2 = args ? gsi::arg_reader<int >() (args, heap) : gsi::arg_maker<int >() (2, heap);
QFlags<QLocale::DataSizeFormat> arg3 = args ? gsi::arg_reader<QFlags<QLocale::DataSizeFormat> >() (args, heap) : gsi::arg_maker<QFlags<QLocale::DataSizeFormat> >() (QLocale::DataSizeIecFormat, heap);
ret.write<QString > ((QString)((QLocale *)cls)->formattedDataSize (arg1, arg2, arg3));
}
// QChar QLocale::groupSeparator()
@ -671,6 +696,26 @@ static void _call_f_standaloneMonthName_c2919 (const qt_gsi::GenericMethod * /*d
}
// void QLocale::swap(QLocale &other)
static void _init_f_swap_1291 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("other");
decl->add_arg<QLocale & > (argspec_0);
decl->set_return<void > ();
}
static void _call_f_swap_1291 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QLocale &arg1 = gsi::arg_reader<QLocale & >() (args, heap);
__SUPPRESS_UNUSED_WARNING(ret);
((QLocale *)cls)->swap (arg1);
}
// Qt::LayoutDirection QLocale::textDirection()
@ -859,12 +904,37 @@ static void _call_f_toCurrencyString_c2988 (const qt_gsi::GenericMethod * /*decl
}
// QString QLocale::toCurrencyString(float, const QString &symbol)
// QString QLocale::toCurrencyString(double, const QString &symbol, int precision)
static void _init_f_toCurrencyString_c3647 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
decl->add_arg<double > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("symbol");
decl->add_arg<const QString & > (argspec_1);
static gsi::ArgSpecBase argspec_2 ("precision");
decl->add_arg<int > (argspec_2);
decl->set_return<QString > ();
}
static void _call_f_toCurrencyString_c3647 (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<double >() (args, heap);
const QString &arg2 = gsi::arg_reader<const QString & >() (args, heap);
int arg3 = gsi::arg_reader<int >() (args, heap);
ret.write<QString > ((QString)((QLocale *)cls)->toCurrencyString (arg1, arg2, arg3));
}
// QString QLocale::toCurrencyString(float i, const QString &symbol)
static void _init_f_toCurrencyString_c2887 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("i");
decl->add_arg<float > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("symbol", true, "QString()");
decl->add_arg<const QString & > (argspec_1);
@ -881,6 +951,31 @@ static void _call_f_toCurrencyString_c2887 (const qt_gsi::GenericMethod * /*decl
}
// QString QLocale::toCurrencyString(float i, const QString &symbol, int precision)
static void _init_f_toCurrencyString_c3546 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("i");
decl->add_arg<float > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("symbol");
decl->add_arg<const QString & > (argspec_1);
static gsi::ArgSpecBase argspec_2 ("precision");
decl->add_arg<int > (argspec_2);
decl->set_return<QString > ();
}
static void _call_f_toCurrencyString_c3546 (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<float >() (args, heap);
const QString &arg2 = gsi::arg_reader<const QString & >() (args, heap);
int arg3 = gsi::arg_reader<int >() (args, heap);
ret.write<QString > ((QString)((QLocale *)cls)->toCurrencyString (arg1, arg2, arg3));
}
// QDate QLocale::toDate(const QString &string, QLocale::FormatType)
@ -976,7 +1071,7 @@ static void _init_f_toDouble_c2967 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("s");
decl->add_arg<const QString & > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("ok", true, "0");
static gsi::ArgSpecBase argspec_1 ("ok", true, "nullptr");
decl->add_arg<bool * > (argspec_1);
decl->set_return<double > ();
}
@ -986,7 +1081,7 @@ static void _call_f_toDouble_c2967 (const qt_gsi::GenericMethod * /*decl*/, void
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const QString &arg1 = gsi::arg_reader<const QString & >() (args, heap);
bool *arg2 = args ? gsi::arg_reader<bool * >() (args, heap) : gsi::arg_maker<bool * >() (0, heap);
bool *arg2 = args ? gsi::arg_reader<bool * >() (args, heap) : gsi::arg_maker<bool * >() (nullptr, heap);
ret.write<double > ((double)((QLocale *)cls)->toDouble (arg1, arg2));
}
@ -998,7 +1093,7 @@ static void _init_f_toFloat_c2967 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("s");
decl->add_arg<const QString & > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("ok", true, "0");
static gsi::ArgSpecBase argspec_1 ("ok", true, "nullptr");
decl->add_arg<bool * > (argspec_1);
decl->set_return<float > ();
}
@ -1008,7 +1103,7 @@ static void _call_f_toFloat_c2967 (const qt_gsi::GenericMethod * /*decl*/, void
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const QString &arg1 = gsi::arg_reader<const QString & >() (args, heap);
bool *arg2 = args ? gsi::arg_reader<bool * >() (args, heap) : gsi::arg_maker<bool * >() (0, heap);
bool *arg2 = args ? gsi::arg_reader<bool * >() (args, heap) : gsi::arg_maker<bool * >() (nullptr, heap);
ret.write<float > ((float)((QLocale *)cls)->toFloat (arg1, arg2));
}
@ -1020,7 +1115,7 @@ static void _init_f_toInt_c2967 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("s");
decl->add_arg<const QString & > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("ok", true, "0");
static gsi::ArgSpecBase argspec_1 ("ok", true, "nullptr");
decl->add_arg<bool * > (argspec_1);
decl->set_return<int > ();
}
@ -1030,7 +1125,7 @@ static void _call_f_toInt_c2967 (const qt_gsi::GenericMethod * /*decl*/, void *c
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const QString &arg1 = gsi::arg_reader<const QString & >() (args, heap);
bool *arg2 = args ? gsi::arg_reader<bool * >() (args, heap) : gsi::arg_maker<bool * >() (0, heap);
bool *arg2 = args ? gsi::arg_reader<bool * >() (args, heap) : gsi::arg_maker<bool * >() (nullptr, heap);
ret.write<int > ((int)((QLocale *)cls)->toInt (arg1, arg2));
}
@ -1042,7 +1137,7 @@ static void _init_f_toLongLong_c2967 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("s");
decl->add_arg<const QString & > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("ok", true, "0");
static gsi::ArgSpecBase argspec_1 ("ok", true, "nullptr");
decl->add_arg<bool * > (argspec_1);
decl->set_return<qlonglong > ();
}
@ -1052,7 +1147,7 @@ static void _call_f_toLongLong_c2967 (const qt_gsi::GenericMethod * /*decl*/, vo
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const QString &arg1 = gsi::arg_reader<const QString & >() (args, heap);
bool *arg2 = args ? gsi::arg_reader<bool * >() (args, heap) : gsi::arg_maker<bool * >() (0, heap);
bool *arg2 = args ? gsi::arg_reader<bool * >() (args, heap) : gsi::arg_maker<bool * >() (nullptr, heap);
ret.write<qlonglong > ((qlonglong)((QLocale *)cls)->toLongLong (arg1, arg2));
}
@ -1083,7 +1178,7 @@ static void _init_f_toShort_c2967 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("s");
decl->add_arg<const QString & > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("ok", true, "0");
static gsi::ArgSpecBase argspec_1 ("ok", true, "nullptr");
decl->add_arg<bool * > (argspec_1);
decl->set_return<short int > ();
}
@ -1093,7 +1188,7 @@ static void _call_f_toShort_c2967 (const qt_gsi::GenericMethod * /*decl*/, void
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const QString &arg1 = gsi::arg_reader<const QString & >() (args, heap);
bool *arg2 = args ? gsi::arg_reader<bool * >() (args, heap) : gsi::arg_maker<bool * >() (0, heap);
bool *arg2 = args ? gsi::arg_reader<bool * >() (args, heap) : gsi::arg_maker<bool * >() (nullptr, heap);
ret.write<short int > ((short int)((QLocale *)cls)->toShort (arg1, arg2));
}
@ -1284,28 +1379,6 @@ static void _call_f_toString_c3693 (const qt_gsi::GenericMethod * /*decl*/, void
}
// QString QLocale::toString(const QDate &date, QLocale::FormatType format)
static void _init_f_toString_c3928 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("date");
decl->add_arg<const QDate & > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("format", true, "QLocale::LongFormat");
decl->add_arg<const qt_gsi::Converter<QLocale::FormatType>::target_type & > (argspec_1);
decl->set_return<QString > ();
}
static void _call_f_toString_c3928 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const QDate &arg1 = gsi::arg_reader<const QDate & >() (args, heap);
const qt_gsi::Converter<QLocale::FormatType>::target_type & arg2 = args ? gsi::arg_reader<const qt_gsi::Converter<QLocale::FormatType>::target_type & >() (args, heap) : gsi::arg_maker<const qt_gsi::Converter<QLocale::FormatType>::target_type & >() (qt_gsi::CppToQtReadAdaptor<QLocale::FormatType>(heap, QLocale::LongFormat), heap);
ret.write<QString > ((QString)((QLocale *)cls)->toString (arg1, qt_gsi::QtToCppAdaptor<QLocale::FormatType>(arg2).cref()));
}
// QString QLocale::toString(const QTime &time, const QString &formatStr)
@ -1328,6 +1401,50 @@ static void _call_f_toString_c3710 (const qt_gsi::GenericMethod * /*decl*/, void
}
// QString QLocale::toString(const QDateTime &dateTime, const QString &format)
static void _init_f_toString_c4092 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("dateTime");
decl->add_arg<const QDateTime & > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("format");
decl->add_arg<const QString & > (argspec_1);
decl->set_return<QString > ();
}
static void _call_f_toString_c4092 (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<const QDateTime & >() (args, heap);
const QString &arg2 = gsi::arg_reader<const QString & >() (args, heap);
ret.write<QString > ((QString)((QLocale *)cls)->toString (arg1, arg2));
}
// QString QLocale::toString(const QDate &date, QLocale::FormatType format)
static void _init_f_toString_c3928 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("date");
decl->add_arg<const QDate & > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("format", true, "QLocale::LongFormat");
decl->add_arg<const qt_gsi::Converter<QLocale::FormatType>::target_type & > (argspec_1);
decl->set_return<QString > ();
}
static void _call_f_toString_c3928 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const QDate &arg1 = gsi::arg_reader<const QDate & >() (args, heap);
const qt_gsi::Converter<QLocale::FormatType>::target_type & arg2 = args ? gsi::arg_reader<const qt_gsi::Converter<QLocale::FormatType>::target_type & >() (args, heap) : gsi::arg_maker<const qt_gsi::Converter<QLocale::FormatType>::target_type & >() (qt_gsi::CppToQtReadAdaptor<QLocale::FormatType>(heap, QLocale::LongFormat), heap);
ret.write<QString > ((QString)((QLocale *)cls)->toString (arg1, qt_gsi::QtToCppAdaptor<QLocale::FormatType>(arg2).cref()));
}
// QString QLocale::toString(const QTime &time, QLocale::FormatType format)
@ -1372,28 +1489,6 @@ static void _call_f_toString_c4327 (const qt_gsi::GenericMethod * /*decl*/, void
}
// QString QLocale::toString(const QDateTime &dateTime, const QString &format)
static void _init_f_toString_c4092 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("dateTime");
decl->add_arg<const QDateTime & > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("format");
decl->add_arg<const QString & > (argspec_1);
decl->set_return<QString > ();
}
static void _call_f_toString_c4092 (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<const QDateTime & >() (args, heap);
const QString &arg2 = gsi::arg_reader<const QString & >() (args, heap);
ret.write<QString > ((QString)((QLocale *)cls)->toString (arg1, arg2));
}
// QTime QLocale::toTime(const QString &string, QLocale::FormatType)
@ -1445,7 +1540,7 @@ static void _init_f_toUInt_c2967 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("s");
decl->add_arg<const QString & > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("ok", true, "0");
static gsi::ArgSpecBase argspec_1 ("ok", true, "nullptr");
decl->add_arg<bool * > (argspec_1);
decl->set_return<unsigned int > ();
}
@ -1455,7 +1550,7 @@ static void _call_f_toUInt_c2967 (const qt_gsi::GenericMethod * /*decl*/, void *
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const QString &arg1 = gsi::arg_reader<const QString & >() (args, heap);
bool *arg2 = args ? gsi::arg_reader<bool * >() (args, heap) : gsi::arg_maker<bool * >() (0, heap);
bool *arg2 = args ? gsi::arg_reader<bool * >() (args, heap) : gsi::arg_maker<bool * >() (nullptr, heap);
ret.write<unsigned int > ((unsigned int)((QLocale *)cls)->toUInt (arg1, arg2));
}
@ -1467,7 +1562,7 @@ static void _init_f_toULongLong_c2967 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("s");
decl->add_arg<const QString & > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("ok", true, "0");
static gsi::ArgSpecBase argspec_1 ("ok", true, "nullptr");
decl->add_arg<bool * > (argspec_1);
decl->set_return<qulonglong > ();
}
@ -1477,7 +1572,7 @@ static void _call_f_toULongLong_c2967 (const qt_gsi::GenericMethod * /*decl*/, v
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const QString &arg1 = gsi::arg_reader<const QString & >() (args, heap);
bool *arg2 = args ? gsi::arg_reader<bool * >() (args, heap) : gsi::arg_maker<bool * >() (0, heap);
bool *arg2 = args ? gsi::arg_reader<bool * >() (args, heap) : gsi::arg_maker<bool * >() (nullptr, heap);
ret.write<qulonglong > ((qulonglong)((QLocale *)cls)->toULongLong (arg1, arg2));
}
@ -1489,7 +1584,7 @@ static void _init_f_toUShort_c2967 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("s");
decl->add_arg<const QString & > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("ok", true, "0");
static gsi::ArgSpecBase argspec_1 ("ok", true, "nullptr");
decl->add_arg<bool * > (argspec_1);
decl->set_return<unsigned short int > ();
}
@ -1499,7 +1594,7 @@ static void _call_f_toUShort_c2967 (const qt_gsi::GenericMethod * /*decl*/, void
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const QString &arg1 = gsi::arg_reader<const QString & >() (args, heap);
bool *arg2 = args ? gsi::arg_reader<bool * >() (args, heap) : gsi::arg_maker<bool * >() (0, heap);
bool *arg2 = args ? gsi::arg_reader<bool * >() (args, heap) : gsi::arg_maker<bool * >() (nullptr, heap);
ret.write<unsigned short int > ((unsigned short int)((QLocale *)cls)->toUShort (arg1, arg2));
}
@ -1741,6 +1836,7 @@ static gsi::Methods methods_QLocale () {
methods += new qt_gsi::GenericMethod ("decimalPoint", "@brief Method QChar QLocale::decimalPoint()\n", true, &_init_f_decimalPoint_c0, &_call_f_decimalPoint_c0);
methods += new qt_gsi::GenericMethod ("exponential", "@brief Method QChar QLocale::exponential()\n", true, &_init_f_exponential_c0, &_call_f_exponential_c0);
methods += new qt_gsi::GenericMethod ("firstDayOfWeek", "@brief Method Qt::DayOfWeek QLocale::firstDayOfWeek()\n", true, &_init_f_firstDayOfWeek_c0, &_call_f_firstDayOfWeek_c0);
methods += new qt_gsi::GenericMethod ("formattedDataSize", "@brief Method QString QLocale::formattedDataSize(qint64 bytes, int precision, QFlags<QLocale::DataSizeFormat> format)\n", false, &_init_f_formattedDataSize_4864, &_call_f_formattedDataSize_4864);
methods += new qt_gsi::GenericMethod ("groupSeparator", "@brief Method QChar QLocale::groupSeparator()\n", true, &_init_f_groupSeparator_c0, &_call_f_groupSeparator_c0);
methods += new qt_gsi::GenericMethod ("language", "@brief Method QLocale::Language QLocale::language()\n", true, &_init_f_language_c0, &_call_f_language_c0);
methods += new qt_gsi::GenericMethod ("measurementSystem", "@brief Method QLocale::MeasurementSystem QLocale::measurementSystem()\n", true, &_init_f_measurementSystem_c0, &_call_f_measurementSystem_c0);
@ -1761,6 +1857,7 @@ static gsi::Methods methods_QLocale () {
methods += new qt_gsi::GenericMethod ("setNumberOptions|numberOptions=", "@brief Method void QLocale::setNumberOptions(QFlags<QLocale::NumberOption> options)\n", false, &_init_f_setNumberOptions_3171, &_call_f_setNumberOptions_3171);
methods += new qt_gsi::GenericMethod ("standaloneDayName", "@brief Method QString QLocale::standaloneDayName(int, QLocale::FormatType format)\n", true, &_init_f_standaloneDayName_c2919, &_call_f_standaloneDayName_c2919);
methods += new qt_gsi::GenericMethod ("standaloneMonthName", "@brief Method QString QLocale::standaloneMonthName(int, QLocale::FormatType format)\n", true, &_init_f_standaloneMonthName_c2919, &_call_f_standaloneMonthName_c2919);
methods += new qt_gsi::GenericMethod ("swap", "@brief Method void QLocale::swap(QLocale &other)\n", false, &_init_f_swap_1291, &_call_f_swap_1291);
methods += new qt_gsi::GenericMethod ("textDirection", "@brief Method Qt::LayoutDirection QLocale::textDirection()\n", true, &_init_f_textDirection_c0, &_call_f_textDirection_c0);
methods += new qt_gsi::GenericMethod ("timeFormat", "@brief Method QString QLocale::timeFormat(QLocale::FormatType format)\n", true, &_init_f_timeFormat_c2260, &_call_f_timeFormat_c2260);
methods += new qt_gsi::GenericMethod ("toCurrencyString", "@brief Method QString QLocale::toCurrencyString(qlonglong, const QString &symbol)\n", true, &_init_f_toCurrencyString_c3330, &_call_f_toCurrencyString_c3330);
@ -1770,7 +1867,9 @@ static gsi::Methods methods_QLocale () {
methods += new qt_gsi::GenericMethod ("toCurrencyString", "@brief Method QString QLocale::toCurrencyString(int, const QString &symbol)\n", true, &_init_f_toCurrencyString_c2684, &_call_f_toCurrencyString_c2684);
methods += new qt_gsi::GenericMethod ("toCurrencyString", "@brief Method QString QLocale::toCurrencyString(unsigned int, const QString &symbol)\n", true, &_init_f_toCurrencyString_c3689, &_call_f_toCurrencyString_c3689);
methods += new qt_gsi::GenericMethod ("toCurrencyString", "@brief Method QString QLocale::toCurrencyString(double, const QString &symbol)\n", true, &_init_f_toCurrencyString_c2988, &_call_f_toCurrencyString_c2988);
methods += new qt_gsi::GenericMethod ("toCurrencyString", "@brief Method QString QLocale::toCurrencyString(float, const QString &symbol)\n", true, &_init_f_toCurrencyString_c2887, &_call_f_toCurrencyString_c2887);
methods += new qt_gsi::GenericMethod ("toCurrencyString", "@brief Method QString QLocale::toCurrencyString(double, const QString &symbol, int precision)\n", true, &_init_f_toCurrencyString_c3647, &_call_f_toCurrencyString_c3647);
methods += new qt_gsi::GenericMethod ("toCurrencyString", "@brief Method QString QLocale::toCurrencyString(float i, const QString &symbol)\n", true, &_init_f_toCurrencyString_c2887, &_call_f_toCurrencyString_c2887);
methods += new qt_gsi::GenericMethod ("toCurrencyString", "@brief Method QString QLocale::toCurrencyString(float i, const QString &symbol, int precision)\n", true, &_init_f_toCurrencyString_c3546, &_call_f_toCurrencyString_c3546);
methods += new qt_gsi::GenericMethod ("toDate", "@brief Method QDate QLocale::toDate(const QString &string, QLocale::FormatType)\n", true, &_init_f_toDate_c4177, &_call_f_toDate_c4177);
methods += new qt_gsi::GenericMethod ("toDate", "@brief Method QDate QLocale::toDate(const QString &string, const QString &format)\n", true, &_init_f_toDate_c3942, &_call_f_toDate_c3942);
methods += new qt_gsi::GenericMethod ("toDateTime", "@brief Method QDateTime QLocale::toDateTime(const QString &string, QLocale::FormatType format)\n", true, &_init_f_toDateTime_c4177, &_call_f_toDateTime_c4177);
@ -1790,11 +1889,11 @@ static gsi::Methods methods_QLocale () {
methods += new qt_gsi::GenericMethod ("toString_d", "@brief Method QString QLocale::toString(double i, char f, int prec)\n", true, &_init_f_toString_c2472, &_call_f_toString_c2472);
methods += new qt_gsi::GenericMethod ("toString_f", "@brief Method QString QLocale::toString(float i, char f, int prec)\n", true, &_init_f_toString_c2371, &_call_f_toString_c2371);
methods += new qt_gsi::GenericMethod ("toString", "@brief Method QString QLocale::toString(const QDate &date, const QString &formatStr)\n", true, &_init_f_toString_c3693, &_call_f_toString_c3693);
methods += new qt_gsi::GenericMethod ("toString", "@brief Method QString QLocale::toString(const QDate &date, QLocale::FormatType format)\n", true, &_init_f_toString_c3928, &_call_f_toString_c3928);
methods += new qt_gsi::GenericMethod ("toString", "@brief Method QString QLocale::toString(const QTime &time, const QString &formatStr)\n", true, &_init_f_toString_c3710, &_call_f_toString_c3710);
methods += new qt_gsi::GenericMethod ("toString", "@brief Method QString QLocale::toString(const QDateTime &dateTime, const QString &format)\n", true, &_init_f_toString_c4092, &_call_f_toString_c4092);
methods += new qt_gsi::GenericMethod ("toString", "@brief Method QString QLocale::toString(const QDate &date, QLocale::FormatType format)\n", true, &_init_f_toString_c3928, &_call_f_toString_c3928);
methods += new qt_gsi::GenericMethod ("toString", "@brief Method QString QLocale::toString(const QTime &time, QLocale::FormatType format)\n", true, &_init_f_toString_c3945, &_call_f_toString_c3945);
methods += new qt_gsi::GenericMethod ("toString", "@brief Method QString QLocale::toString(const QDateTime &dateTime, QLocale::FormatType format)\n", true, &_init_f_toString_c4327, &_call_f_toString_c4327);
methods += new qt_gsi::GenericMethod ("toString", "@brief Method QString QLocale::toString(const QDateTime &dateTime, const QString &format)\n", true, &_init_f_toString_c4092, &_call_f_toString_c4092);
methods += new qt_gsi::GenericMethod ("toTime", "@brief Method QTime QLocale::toTime(const QString &string, QLocale::FormatType)\n", true, &_init_f_toTime_c4177, &_call_f_toTime_c4177);
methods += new qt_gsi::GenericMethod ("toTime", "@brief Method QTime QLocale::toTime(const QString &string, const QString &format)\n", true, &_init_f_toTime_c3942, &_call_f_toTime_c3942);
methods += new qt_gsi::GenericMethod ("toUInt", "@brief Method unsigned int QLocale::toUInt(const QString &s, bool *ok)\n", true, &_init_f_toUInt_c2967, &_call_f_toUInt_c2967);
@ -2043,14 +2142,14 @@ static gsi::Enum<QLocale::Country> decl_QLocale_Country_Enum ("QtCore", "QLocale
gsi::enum_const ("Tanzania", QLocale::Tanzania, "@brief Enum constant QLocale::Tanzania") +
gsi::enum_const ("Thailand", QLocale::Thailand, "@brief Enum constant QLocale::Thailand") +
gsi::enum_const ("Togo", QLocale::Togo, "@brief Enum constant QLocale::Togo") +
gsi::enum_const ("Tokelau", QLocale::Tokelau, "@brief Enum constant QLocale::Tokelau") +
gsi::enum_const ("TokelauCountry", QLocale::TokelauCountry, "@brief Enum constant QLocale::TokelauCountry") +
gsi::enum_const ("Tonga", QLocale::Tonga, "@brief Enum constant QLocale::Tonga") +
gsi::enum_const ("TrinidadAndTobago", QLocale::TrinidadAndTobago, "@brief Enum constant QLocale::TrinidadAndTobago") +
gsi::enum_const ("Tunisia", QLocale::Tunisia, "@brief Enum constant QLocale::Tunisia") +
gsi::enum_const ("Turkey", QLocale::Turkey, "@brief Enum constant QLocale::Turkey") +
gsi::enum_const ("Turkmenistan", QLocale::Turkmenistan, "@brief Enum constant QLocale::Turkmenistan") +
gsi::enum_const ("TurksAndCaicosIslands", QLocale::TurksAndCaicosIslands, "@brief Enum constant QLocale::TurksAndCaicosIslands") +
gsi::enum_const ("Tuvalu", QLocale::Tuvalu, "@brief Enum constant QLocale::Tuvalu") +
gsi::enum_const ("TuvaluCountry", QLocale::TuvaluCountry, "@brief Enum constant QLocale::TuvaluCountry") +
gsi::enum_const ("Uganda", QLocale::Uganda, "@brief Enum constant QLocale::Uganda") +
gsi::enum_const ("Ukraine", QLocale::Ukraine, "@brief Enum constant QLocale::Ukraine") +
gsi::enum_const ("UnitedArabEmirates", QLocale::UnitedArabEmirates, "@brief Enum constant QLocale::UnitedArabEmirates") +
@ -2076,7 +2175,7 @@ static gsi::Enum<QLocale::Country> decl_QLocale_Country_Enum ("QtCore", "QLocale
gsi::enum_const ("Serbia", QLocale::Serbia, "@brief Enum constant QLocale::Serbia") +
gsi::enum_const ("SaintBarthelemy", QLocale::SaintBarthelemy, "@brief Enum constant QLocale::SaintBarthelemy") +
gsi::enum_const ("SaintMartin", QLocale::SaintMartin, "@brief Enum constant QLocale::SaintMartin") +
gsi::enum_const ("LatinAmericaAndTheCaribbean", QLocale::LatinAmericaAndTheCaribbean, "@brief Enum constant QLocale::LatinAmericaAndTheCaribbean") +
gsi::enum_const ("LatinAmerica", QLocale::LatinAmerica, "@brief Enum constant QLocale::LatinAmerica") +
gsi::enum_const ("AscensionIsland", QLocale::AscensionIsland, "@brief Enum constant QLocale::AscensionIsland") +
gsi::enum_const ("AlandIslands", QLocale::AlandIslands, "@brief Enum constant QLocale::AlandIslands") +
gsi::enum_const ("DiegoGarcia", QLocale::DiegoGarcia, "@brief Enum constant QLocale::DiegoGarcia") +
@ -2088,12 +2187,19 @@ static gsi::Enum<QLocale::Country> decl_QLocale_Country_Enum ("QtCore", "QLocale
gsi::enum_const ("Bonaire", QLocale::Bonaire, "@brief Enum constant QLocale::Bonaire") +
gsi::enum_const ("SintMaarten", QLocale::SintMaarten, "@brief Enum constant QLocale::SintMaarten") +
gsi::enum_const ("Kosovo", QLocale::Kosovo, "@brief Enum constant QLocale::Kosovo") +
gsi::enum_const ("EuropeanUnion", QLocale::EuropeanUnion, "@brief Enum constant QLocale::EuropeanUnion") +
gsi::enum_const ("OutlyingOceania", QLocale::OutlyingOceania, "@brief Enum constant QLocale::OutlyingOceania") +
gsi::enum_const ("World", QLocale::World, "@brief Enum constant QLocale::World") +
gsi::enum_const ("Europe", QLocale::Europe, "@brief Enum constant QLocale::Europe") +
gsi::enum_const ("DemocraticRepublicOfCongo", QLocale::DemocraticRepublicOfCongo, "@brief Enum constant QLocale::DemocraticRepublicOfCongo") +
gsi::enum_const ("PeoplesRepublicOfCongo", QLocale::PeoplesRepublicOfCongo, "@brief Enum constant QLocale::PeoplesRepublicOfCongo") +
gsi::enum_const ("DemocraticRepublicOfKorea", QLocale::DemocraticRepublicOfKorea, "@brief Enum constant QLocale::DemocraticRepublicOfKorea") +
gsi::enum_const ("LatinAmericaAndTheCaribbean", QLocale::LatinAmericaAndTheCaribbean, "@brief Enum constant QLocale::LatinAmericaAndTheCaribbean") +
gsi::enum_const ("PeoplesRepublicOfCongo", QLocale::PeoplesRepublicOfCongo, "@brief Enum constant QLocale::PeoplesRepublicOfCongo") +
gsi::enum_const ("RepublicOfKorea", QLocale::RepublicOfKorea, "@brief Enum constant QLocale::RepublicOfKorea") +
gsi::enum_const ("RussianFederation", QLocale::RussianFederation, "@brief Enum constant QLocale::RussianFederation") +
gsi::enum_const ("SyrianArabRepublic", QLocale::SyrianArabRepublic, "@brief Enum constant QLocale::SyrianArabRepublic") +
gsi::enum_const ("Tokelau", QLocale::Tokelau, "@brief Enum constant QLocale::Tokelau") +
gsi::enum_const ("Tuvalu", QLocale::Tuvalu, "@brief Enum constant QLocale::Tuvalu") +
gsi::enum_const ("LastCountry", QLocale::LastCountry, "@brief Enum constant QLocale::LastCountry"),
"@qt\n@brief This class represents the QLocale::Country enum");
@ -2129,6 +2235,29 @@ static gsi::ClassExt<QLocale> decl_QLocale_CurrencySymbolFormat_Enums_as_child (
}
// Implementation of the enum wrapper class for QLocale::DataSizeFormat
namespace qt_gsi
{
static gsi::Enum<QLocale::DataSizeFormat> decl_QLocale_DataSizeFormat_Enum ("QtCore", "QLocale_DataSizeFormat",
gsi::enum_const ("DataSizeBase1000", QLocale::DataSizeBase1000, "@brief Enum constant QLocale::DataSizeBase1000") +
gsi::enum_const ("DataSizeSIQuantifiers", QLocale::DataSizeSIQuantifiers, "@brief Enum constant QLocale::DataSizeSIQuantifiers") +
gsi::enum_const ("DataSizeIecFormat", QLocale::DataSizeIecFormat, "@brief Enum constant QLocale::DataSizeIecFormat") +
gsi::enum_const ("DataSizeTraditionalFormat", QLocale::DataSizeTraditionalFormat, "@brief Enum constant QLocale::DataSizeTraditionalFormat") +
gsi::enum_const ("DataSizeSIFormat", QLocale::DataSizeSIFormat, "@brief Enum constant QLocale::DataSizeSIFormat"),
"@qt\n@brief This class represents the QLocale::DataSizeFormat enum");
static gsi::QFlagsClass<QLocale::DataSizeFormat > decl_QLocale_DataSizeFormat_Enums ("QtCore", "QLocale_QFlags_DataSizeFormat",
"@qt\n@brief This class represents the QFlags<QLocale::DataSizeFormat> flag set");
// Inject the declarations into the parent
static gsi::ClassExt<QLocale> inject_QLocale_DataSizeFormat_Enum_in_parent (decl_QLocale_DataSizeFormat_Enum.defs ());
static gsi::ClassExt<QLocale> decl_QLocale_DataSizeFormat_Enum_as_child (decl_QLocale_DataSizeFormat_Enum, "DataSizeFormat");
static gsi::ClassExt<QLocale> decl_QLocale_DataSizeFormat_Enums_as_child (decl_QLocale_DataSizeFormat_Enums, "QFlags_DataSizeFormat");
}
// Implementation of the enum wrapper class for QLocale::FormatType
namespace qt_gsi
{
@ -2495,19 +2624,39 @@ static gsi::Enum<QLocale::Language> decl_QLocale_Language_Enum ("QtCore", "QLoca
gsi::enum_const ("Mono", QLocale::Mono, "@brief Enum constant QLocale::Mono") +
gsi::enum_const ("TedimChin", QLocale::TedimChin, "@brief Enum constant QLocale::TedimChin") +
gsi::enum_const ("Maithili", QLocale::Maithili, "@brief Enum constant QLocale::Maithili") +
gsi::enum_const ("Norwegian", QLocale::Norwegian, "@brief Enum constant QLocale::Norwegian") +
gsi::enum_const ("Ahom", QLocale::Ahom, "@brief Enum constant QLocale::Ahom") +
gsi::enum_const ("AmericanSignLanguage", QLocale::AmericanSignLanguage, "@brief Enum constant QLocale::AmericanSignLanguage") +
gsi::enum_const ("ArdhamagadhiPrakrit", QLocale::ArdhamagadhiPrakrit, "@brief Enum constant QLocale::ArdhamagadhiPrakrit") +
gsi::enum_const ("Bhojpuri", QLocale::Bhojpuri, "@brief Enum constant QLocale::Bhojpuri") +
gsi::enum_const ("HieroglyphicLuwian", QLocale::HieroglyphicLuwian, "@brief Enum constant QLocale::HieroglyphicLuwian") +
gsi::enum_const ("LiteraryChinese", QLocale::LiteraryChinese, "@brief Enum constant QLocale::LiteraryChinese") +
gsi::enum_const ("Mazanderani", QLocale::Mazanderani, "@brief Enum constant QLocale::Mazanderani") +
gsi::enum_const ("Mru", QLocale::Mru, "@brief Enum constant QLocale::Mru") +
gsi::enum_const ("Newari", QLocale::Newari, "@brief Enum constant QLocale::Newari") +
gsi::enum_const ("NorthernLuri", QLocale::NorthernLuri, "@brief Enum constant QLocale::NorthernLuri") +
gsi::enum_const ("Palauan", QLocale::Palauan, "@brief Enum constant QLocale::Palauan") +
gsi::enum_const ("Papiamento", QLocale::Papiamento, "@brief Enum constant QLocale::Papiamento") +
gsi::enum_const ("Saraiki", QLocale::Saraiki, "@brief Enum constant QLocale::Saraiki") +
gsi::enum_const ("TokelauLanguage", QLocale::TokelauLanguage, "@brief Enum constant QLocale::TokelauLanguage") +
gsi::enum_const ("TokPisin", QLocale::TokPisin, "@brief Enum constant QLocale::TokPisin") +
gsi::enum_const ("TuvaluLanguage", QLocale::TuvaluLanguage, "@brief Enum constant QLocale::TuvaluLanguage") +
gsi::enum_const ("UncodedLanguages", QLocale::UncodedLanguages, "@brief Enum constant QLocale::UncodedLanguages") +
gsi::enum_const ("Cantonese", QLocale::Cantonese, "@brief Enum constant QLocale::Cantonese") +
gsi::enum_const ("Osage", QLocale::Osage, "@brief Enum constant QLocale::Osage") +
gsi::enum_const ("Tangut", QLocale::Tangut, "@brief Enum constant QLocale::Tangut") +
gsi::enum_const ("Afan", QLocale::Afan, "@brief Enum constant QLocale::Afan") +
gsi::enum_const ("Bhutani", QLocale::Bhutani, "@brief Enum constant QLocale::Bhutani") +
gsi::enum_const ("Byelorussian", QLocale::Byelorussian, "@brief Enum constant QLocale::Byelorussian") +
gsi::enum_const ("Cambodian", QLocale::Cambodian, "@brief Enum constant QLocale::Cambodian") +
gsi::enum_const ("Chewa", QLocale::Chewa, "@brief Enum constant QLocale::Chewa") +
gsi::enum_const ("Frisian", QLocale::Frisian, "@brief Enum constant QLocale::Frisian") +
gsi::enum_const ("Kurundi", QLocale::Kurundi, "@brief Enum constant QLocale::Kurundi") +
gsi::enum_const ("Moldavian", QLocale::Moldavian, "@brief Enum constant QLocale::Moldavian") +
gsi::enum_const ("Norwegian", QLocale::Norwegian, "@brief Enum constant QLocale::Norwegian") +
gsi::enum_const ("RhaetoRomance", QLocale::RhaetoRomance, "@brief Enum constant QLocale::RhaetoRomance") +
gsi::enum_const ("SerboCroatian", QLocale::SerboCroatian, "@brief Enum constant QLocale::SerboCroatian") +
gsi::enum_const ("Tagalog", QLocale::Tagalog, "@brief Enum constant QLocale::Tagalog") +
gsi::enum_const ("Twi", QLocale::Twi, "@brief Enum constant QLocale::Twi") +
gsi::enum_const ("Afan", QLocale::Afan, "@brief Enum constant QLocale::Afan") +
gsi::enum_const ("Byelorussian", QLocale::Byelorussian, "@brief Enum constant QLocale::Byelorussian") +
gsi::enum_const ("Bhutani", QLocale::Bhutani, "@brief Enum constant QLocale::Bhutani") +
gsi::enum_const ("Cambodian", QLocale::Cambodian, "@brief Enum constant QLocale::Cambodian") +
gsi::enum_const ("Kurundi", QLocale::Kurundi, "@brief Enum constant QLocale::Kurundi") +
gsi::enum_const ("RhaetoRomance", QLocale::RhaetoRomance, "@brief Enum constant QLocale::RhaetoRomance") +
gsi::enum_const ("Chewa", QLocale::Chewa, "@brief Enum constant QLocale::Chewa") +
gsi::enum_const ("Frisian", QLocale::Frisian, "@brief Enum constant QLocale::Frisian") +
gsi::enum_const ("Uigur", QLocale::Uigur, "@brief Enum constant QLocale::Uigur") +
gsi::enum_const ("LastLanguage", QLocale::LastLanguage, "@brief Enum constant QLocale::LastLanguage"),
"@qt\n@brief This class represents the QLocale::Language enum");
@ -2550,8 +2699,13 @@ namespace qt_gsi
{
static gsi::Enum<QLocale::NumberOption> decl_QLocale_NumberOption_Enum ("QtCore", "QLocale_NumberOption",
gsi::enum_const ("DefaultNumberOptions", QLocale::DefaultNumberOptions, "@brief Enum constant QLocale::DefaultNumberOptions") +
gsi::enum_const ("OmitGroupSeparator", QLocale::OmitGroupSeparator, "@brief Enum constant QLocale::OmitGroupSeparator") +
gsi::enum_const ("RejectGroupSeparator", QLocale::RejectGroupSeparator, "@brief Enum constant QLocale::RejectGroupSeparator"),
gsi::enum_const ("RejectGroupSeparator", QLocale::RejectGroupSeparator, "@brief Enum constant QLocale::RejectGroupSeparator") +
gsi::enum_const ("OmitLeadingZeroInExponent", QLocale::OmitLeadingZeroInExponent, "@brief Enum constant QLocale::OmitLeadingZeroInExponent") +
gsi::enum_const ("RejectLeadingZeroInExponent", QLocale::RejectLeadingZeroInExponent, "@brief Enum constant QLocale::RejectLeadingZeroInExponent") +
gsi::enum_const ("IncludeTrailingZeroesAfterDot", QLocale::IncludeTrailingZeroesAfterDot, "@brief Enum constant QLocale::IncludeTrailingZeroesAfterDot") +
gsi::enum_const ("RejectTrailingZeroesAfterDot", QLocale::RejectTrailingZeroesAfterDot, "@brief Enum constant QLocale::RejectTrailingZeroesAfterDot"),
"@qt\n@brief This class represents the QLocale::NumberOption enum");
static gsi::QFlagsClass<QLocale::NumberOption > decl_QLocale_NumberOption_Enums ("QtCore", "QLocale_QFlags_NumberOption",
@ -2718,6 +2872,20 @@ static gsi::Enum<QLocale::Script> decl_QLocale_Script_Enum ("QtCore", "QLocale_S
gsi::enum_const ("KhudawadiScript", QLocale::KhudawadiScript, "@brief Enum constant QLocale::KhudawadiScript") +
gsi::enum_const ("TirhutaScript", QLocale::TirhutaScript, "@brief Enum constant QLocale::TirhutaScript") +
gsi::enum_const ("VarangKshitiScript", QLocale::VarangKshitiScript, "@brief Enum constant QLocale::VarangKshitiScript") +
gsi::enum_const ("AhomScript", QLocale::AhomScript, "@brief Enum constant QLocale::AhomScript") +
gsi::enum_const ("AnatolianHieroglyphsScript", QLocale::AnatolianHieroglyphsScript, "@brief Enum constant QLocale::AnatolianHieroglyphsScript") +
gsi::enum_const ("HatranScript", QLocale::HatranScript, "@brief Enum constant QLocale::HatranScript") +
gsi::enum_const ("MultaniScript", QLocale::MultaniScript, "@brief Enum constant QLocale::MultaniScript") +
gsi::enum_const ("OldHungarianScript", QLocale::OldHungarianScript, "@brief Enum constant QLocale::OldHungarianScript") +
gsi::enum_const ("SignWritingScript", QLocale::SignWritingScript, "@brief Enum constant QLocale::SignWritingScript") +
gsi::enum_const ("AdlamScript", QLocale::AdlamScript, "@brief Enum constant QLocale::AdlamScript") +
gsi::enum_const ("BhaiksukiScript", QLocale::BhaiksukiScript, "@brief Enum constant QLocale::BhaiksukiScript") +
gsi::enum_const ("MarchenScript", QLocale::MarchenScript, "@brief Enum constant QLocale::MarchenScript") +
gsi::enum_const ("NewaScript", QLocale::NewaScript, "@brief Enum constant QLocale::NewaScript") +
gsi::enum_const ("OsageScript", QLocale::OsageScript, "@brief Enum constant QLocale::OsageScript") +
gsi::enum_const ("TangutScript", QLocale::TangutScript, "@brief Enum constant QLocale::TangutScript") +
gsi::enum_const ("HanWithBopomofoScript", QLocale::HanWithBopomofoScript, "@brief Enum constant QLocale::HanWithBopomofoScript") +
gsi::enum_const ("JamoScript", QLocale::JamoScript, "@brief Enum constant QLocale::JamoScript") +
gsi::enum_const ("SimplifiedChineseScript", QLocale::SimplifiedChineseScript, "@brief Enum constant QLocale::SimplifiedChineseScript") +
gsi::enum_const ("TraditionalChineseScript", QLocale::TraditionalChineseScript, "@brief Enum constant QLocale::TraditionalChineseScript") +
gsi::enum_const ("LastScript", QLocale::LastScript, "@brief Enum constant QLocale::LastScript"),

View File

@ -66,6 +66,21 @@ static void _call_f_enclosingMetaObject_c0 (const qt_gsi::GenericMethod * /*decl
}
// const char *QMetaEnum::enumName()
static void _init_f_enumName_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<const char * > ();
}
static void _call_f_enumName_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
ret.write<const char * > ((const char *)((QMetaEnum *)cls)->enumName ());
}
// bool QMetaEnum::isFlag()
@ -81,6 +96,21 @@ static void _call_f_isFlag_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls
}
// bool QMetaEnum::isScoped()
static void _init_f_isScoped_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<bool > ();
}
static void _call_f_isScoped_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
ret.write<bool > ((bool)((QMetaEnum *)cls)->isScoped ());
}
// bool QMetaEnum::isValid()
@ -137,7 +167,7 @@ static void _init_f_keyToValue_c2673 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("key");
decl->add_arg<const char * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("ok", true, "0");
static gsi::ArgSpecBase argspec_1 ("ok", true, "nullptr");
decl->add_arg<bool * > (argspec_1);
decl->set_return<int > ();
}
@ -147,7 +177,7 @@ static void _call_f_keyToValue_c2673 (const qt_gsi::GenericMethod * /*decl*/, vo
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const char *arg1 = gsi::arg_reader<const char * >() (args, heap);
bool *arg2 = args ? gsi::arg_reader<bool * >() (args, heap) : gsi::arg_maker<bool * >() (0, heap);
bool *arg2 = args ? gsi::arg_reader<bool * >() (args, heap) : gsi::arg_maker<bool * >() (nullptr, heap);
ret.write<int > ((int)((QMetaEnum *)cls)->keyToValue (arg1, arg2));
}
@ -159,7 +189,7 @@ static void _init_f_keysToValue_c2673 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("keys");
decl->add_arg<const char * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("ok", true, "0");
static gsi::ArgSpecBase argspec_1 ("ok", true, "nullptr");
decl->add_arg<bool * > (argspec_1);
decl->set_return<int > ();
}
@ -169,7 +199,7 @@ static void _call_f_keysToValue_c2673 (const qt_gsi::GenericMethod * /*decl*/, v
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const char *arg1 = gsi::arg_reader<const char * >() (args, heap);
bool *arg2 = args ? gsi::arg_reader<bool * >() (args, heap) : gsi::arg_maker<bool * >() (0, heap);
bool *arg2 = args ? gsi::arg_reader<bool * >() (args, heap) : gsi::arg_maker<bool * >() (nullptr, heap);
ret.write<int > ((int)((QMetaEnum *)cls)->keysToValue (arg1, arg2));
}
@ -269,7 +299,9 @@ static gsi::Methods methods_QMetaEnum () {
gsi::Methods methods;
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QMetaEnum::QMetaEnum()\nThis method creates an object of class QMetaEnum.", &_init_ctor_QMetaEnum_0, &_call_ctor_QMetaEnum_0);
methods += new qt_gsi::GenericMethod ("enclosingMetaObject", "@brief Method const QMetaObject *QMetaEnum::enclosingMetaObject()\n", true, &_init_f_enclosingMetaObject_c0, &_call_f_enclosingMetaObject_c0);
methods += new qt_gsi::GenericMethod ("enumName", "@brief Method const char *QMetaEnum::enumName()\n", true, &_init_f_enumName_c0, &_call_f_enumName_c0);
methods += new qt_gsi::GenericMethod ("isFlag?", "@brief Method bool QMetaEnum::isFlag()\n", true, &_init_f_isFlag_c0, &_call_f_isFlag_c0);
methods += new qt_gsi::GenericMethod ("isScoped?", "@brief Method bool QMetaEnum::isScoped()\n", true, &_init_f_isScoped_c0, &_call_f_isScoped_c0);
methods += new qt_gsi::GenericMethod ("isValid?", "@brief Method bool QMetaEnum::isValid()\n", true, &_init_f_isValid_c0, &_call_f_isValid_c0);
methods += new qt_gsi::GenericMethod ("key", "@brief Method const char *QMetaEnum::key(int index)\n", true, &_init_f_key_c767, &_call_f_key_c767);
methods += new qt_gsi::GenericMethod ("keyCount", "@brief Method int QMetaEnum::keyCount()\n", true, &_init_f_keyCount_c0, &_call_f_keyCount_c0);

View File

@ -335,6 +335,25 @@ static void _call_f_indexOfSlot_c1731 (const qt_gsi::GenericMethod * /*decl*/, v
}
// bool QMetaObject::inherits(const QMetaObject *metaObject)
static void _init_f_inherits_c2388 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("metaObject");
decl->add_arg<const QMetaObject * > (argspec_0);
decl->set_return<bool > ();
}
static void _call_f_inherits_c2388 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const QMetaObject *arg1 = gsi::arg_reader<const QMetaObject * >() (args, heap);
ret.write<bool > ((bool)((QMetaObject *)cls)->inherits (arg1));
}
// QMetaMethod QMetaObject::method(int index)
@ -547,7 +566,7 @@ static void _init_f_connect_6708 (qt_gsi::GenericStaticMethod *decl)
decl->add_arg<int > (argspec_3);
static gsi::ArgSpecBase argspec_4 ("type", true, "0");
decl->add_arg<int > (argspec_4);
static gsi::ArgSpecBase argspec_5 ("types", true, "0");
static gsi::ArgSpecBase argspec_5 ("types", true, "nullptr");
decl->add_arg<int * > (argspec_5);
decl->set_return<QMetaObject::Connection > ();
}
@ -561,7 +580,7 @@ static void _call_f_connect_6708 (const qt_gsi::GenericStaticMethod * /*decl*/,
const QObject *arg3 = gsi::arg_reader<const QObject * >() (args, heap);
int arg4 = gsi::arg_reader<int >() (args, heap);
int arg5 = args ? gsi::arg_reader<int >() (args, heap) : gsi::arg_maker<int >() (0, heap);
int *arg6 = args ? gsi::arg_reader<int * >() (args, heap) : gsi::arg_maker<int * >() (0, heap);
int *arg6 = args ? gsi::arg_reader<int * >() (args, heap) : gsi::arg_maker<int * >() (nullptr, heap);
ret.write<QMetaObject::Connection > ((QMetaObject::Connection)QMetaObject::connect (arg1, arg2, arg3, arg4, arg5, arg6));
}
@ -703,6 +722,7 @@ static gsi::Methods methods_QMetaObject () {
methods += new qt_gsi::GenericMethod ("indexOfProperty", "@brief Method int QMetaObject::indexOfProperty(const char *name)\n", true, &_init_f_indexOfProperty_c1731, &_call_f_indexOfProperty_c1731);
methods += new qt_gsi::GenericMethod ("indexOfSignal", "@brief Method int QMetaObject::indexOfSignal(const char *signal)\n", true, &_init_f_indexOfSignal_c1731, &_call_f_indexOfSignal_c1731);
methods += new qt_gsi::GenericMethod ("indexOfSlot", "@brief Method int QMetaObject::indexOfSlot(const char *slot)\n", true, &_init_f_indexOfSlot_c1731, &_call_f_indexOfSlot_c1731);
methods += new qt_gsi::GenericMethod ("inherits", "@brief Method bool QMetaObject::inherits(const QMetaObject *metaObject)\n", true, &_init_f_inherits_c2388, &_call_f_inherits_c2388);
methods += new qt_gsi::GenericMethod ("method", "@brief Method QMetaMethod QMetaObject::method(int index)\n", true, &_init_f_method_c767, &_call_f_method_c767);
methods += new qt_gsi::GenericMethod ("methodCount", "@brief Method int QMetaObject::methodCount()\n", true, &_init_f_methodCount_c0, &_call_f_methodCount_c0);
methods += new qt_gsi::GenericMethod ("methodOffset", "@brief Method int QMetaObject::methodOffset()\n", true, &_init_f_methodOffset_c0, &_call_f_methodOffset_c0);

View File

@ -134,7 +134,7 @@ static void _call_f_isConstant_c0 (const qt_gsi::GenericMethod * /*decl*/, void
static void _init_f_isDesignable_c1997 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("obj", true, "0");
static gsi::ArgSpecBase argspec_0 ("obj", true, "nullptr");
decl->add_arg<const QObject * > (argspec_0);
decl->set_return<bool > ();
}
@ -143,7 +143,7 @@ static void _call_f_isDesignable_c1997 (const qt_gsi::GenericMethod * /*decl*/,
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const QObject *arg1 = args ? gsi::arg_reader<const QObject * >() (args, heap) : gsi::arg_maker<const QObject * >() (0, heap);
const QObject *arg1 = args ? gsi::arg_reader<const QObject * >() (args, heap) : gsi::arg_maker<const QObject * >() (nullptr, heap);
ret.write<bool > ((bool)((QMetaProperty *)cls)->isDesignable (arg1));
}
@ -153,7 +153,7 @@ static void _call_f_isDesignable_c1997 (const qt_gsi::GenericMethod * /*decl*/,
static void _init_f_isEditable_c1997 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("obj", true, "0");
static gsi::ArgSpecBase argspec_0 ("obj", true, "nullptr");
decl->add_arg<const QObject * > (argspec_0);
decl->set_return<bool > ();
}
@ -162,7 +162,7 @@ static void _call_f_isEditable_c1997 (const qt_gsi::GenericMethod * /*decl*/, vo
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const QObject *arg1 = args ? gsi::arg_reader<const QObject * >() (args, heap) : gsi::arg_maker<const QObject * >() (0, heap);
const QObject *arg1 = args ? gsi::arg_reader<const QObject * >() (args, heap) : gsi::arg_maker<const QObject * >() (nullptr, heap);
ret.write<bool > ((bool)((QMetaProperty *)cls)->isEditable (arg1));
}
@ -247,7 +247,7 @@ static void _call_f_isResettable_c0 (const qt_gsi::GenericMethod * /*decl*/, voi
static void _init_f_isScriptable_c1997 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("obj", true, "0");
static gsi::ArgSpecBase argspec_0 ("obj", true, "nullptr");
decl->add_arg<const QObject * > (argspec_0);
decl->set_return<bool > ();
}
@ -256,7 +256,7 @@ static void _call_f_isScriptable_c1997 (const qt_gsi::GenericMethod * /*decl*/,
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const QObject *arg1 = args ? gsi::arg_reader<const QObject * >() (args, heap) : gsi::arg_maker<const QObject * >() (0, heap);
const QObject *arg1 = args ? gsi::arg_reader<const QObject * >() (args, heap) : gsi::arg_maker<const QObject * >() (nullptr, heap);
ret.write<bool > ((bool)((QMetaProperty *)cls)->isScriptable (arg1));
}
@ -266,7 +266,7 @@ static void _call_f_isScriptable_c1997 (const qt_gsi::GenericMethod * /*decl*/,
static void _init_f_isStored_c1997 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("obj", true, "0");
static gsi::ArgSpecBase argspec_0 ("obj", true, "nullptr");
decl->add_arg<const QObject * > (argspec_0);
decl->set_return<bool > ();
}
@ -275,7 +275,7 @@ static void _call_f_isStored_c1997 (const qt_gsi::GenericMethod * /*decl*/, void
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const QObject *arg1 = args ? gsi::arg_reader<const QObject * >() (args, heap) : gsi::arg_maker<const QObject * >() (0, heap);
const QObject *arg1 = args ? gsi::arg_reader<const QObject * >() (args, heap) : gsi::arg_maker<const QObject * >() (nullptr, heap);
ret.write<bool > ((bool)((QMetaProperty *)cls)->isStored (arg1));
}
@ -285,7 +285,7 @@ static void _call_f_isStored_c1997 (const qt_gsi::GenericMethod * /*decl*/, void
static void _init_f_isUser_c1997 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("obj", true, "0");
static gsi::ArgSpecBase argspec_0 ("obj", true, "nullptr");
decl->add_arg<const QObject * > (argspec_0);
decl->set_return<bool > ();
}
@ -294,7 +294,7 @@ static void _call_f_isUser_c1997 (const qt_gsi::GenericMethod * /*decl*/, void *
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const QObject *arg1 = args ? gsi::arg_reader<const QObject * >() (args, heap) : gsi::arg_maker<const QObject * >() (0, heap);
const QObject *arg1 = args ? gsi::arg_reader<const QObject * >() (args, heap) : gsi::arg_maker<const QObject * >() (nullptr, heap);
ret.write<bool > ((bool)((QMetaProperty *)cls)->isUser (arg1));
}

View File

@ -63,7 +63,7 @@ static void _init_f_construct_c2699 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("where");
decl->add_arg<void * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("copy", true, "0");
static gsi::ArgSpecBase argspec_1 ("copy", true, "nullptr");
decl->add_arg<const void * > (argspec_1);
decl->set_return<void * > ();
}
@ -73,7 +73,7 @@ static void _call_f_construct_c2699 (const qt_gsi::GenericMethod * /*decl*/, voi
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
void *arg1 = gsi::arg_reader<void * >() (args, heap);
const void *arg2 = args ? gsi::arg_reader<const void * >() (args, heap) : gsi::arg_maker<const void * >() (0, heap);
const void *arg2 = args ? gsi::arg_reader<const void * >() (args, heap) : gsi::arg_maker<const void * >() (nullptr, heap);
ret.write<void * > ((void *)((QMetaType *)cls)->construct (arg1, arg2));
}
@ -83,7 +83,7 @@ static void _call_f_construct_c2699 (const qt_gsi::GenericMethod * /*decl*/, voi
static void _init_f_create_c1751 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("copy", true, "0");
static gsi::ArgSpecBase argspec_0 ("copy", true, "nullptr");
decl->add_arg<const void * > (argspec_0);
decl->set_return<void * > ();
}
@ -92,7 +92,7 @@ static void _call_f_create_c1751 (const qt_gsi::GenericMethod * /*decl*/, void *
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const void *arg1 = args ? gsi::arg_reader<const void * >() (args, heap) : gsi::arg_maker<const void * >() (0, heap);
const void *arg1 = args ? gsi::arg_reader<const void * >() (args, heap) : gsi::arg_maker<const void * >() (nullptr, heap);
ret.write<void * > ((void *)((QMetaType *)cls)->create (arg1));
}
@ -285,7 +285,7 @@ static void _init_f_create_2410 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("type");
decl->add_arg<int > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("copy", true, "0");
static gsi::ArgSpecBase argspec_1 ("copy", true, "nullptr");
decl->add_arg<const void * > (argspec_1);
decl->set_return<void * > ();
}
@ -295,7 +295,7 @@ static void _call_f_create_2410 (const qt_gsi::GenericStaticMethod * /*decl*/, g
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
int arg1 = gsi::arg_reader<int >() (args, heap);
const void *arg2 = args ? gsi::arg_reader<const void * >() (args, heap) : gsi::arg_maker<const void * >() (0, heap);
const void *arg2 = args ? gsi::arg_reader<const void * >() (args, heap) : gsi::arg_maker<const void * >() (nullptr, heap);
ret.write<void * > ((void *)QMetaType::create (arg1, arg2));
}
@ -650,8 +650,8 @@ static gsi::Methods methods_QMetaType () {
gsi::Methods methods;
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QMetaType::QMetaType(const int type)\nThis method creates an object of class QMetaType.", &_init_ctor_QMetaType_1462, &_call_ctor_QMetaType_1462);
methods += new qt_gsi::GenericMethod ("construct", "@brief Method void *QMetaType::construct(void *where, const void *copy)\n", true, &_init_f_construct_c2699, &_call_f_construct_c2699);
methods += new qt_gsi::GenericMethod ("qt_create", "@brief Method void *QMetaType::create(const void *copy)\n", true, &_init_f_create_c1751, &_call_f_create_c1751);
methods += new qt_gsi::GenericMethod ("qt_destroy", "@brief Method void QMetaType::destroy(void *data)\n", true, &_init_f_destroy_c1056, &_call_f_destroy_c1056);
methods += new qt_gsi::GenericMethod ("create|qt_create", "@brief Method void *QMetaType::create(const void *copy)\n", true, &_init_f_create_c1751, &_call_f_create_c1751);
methods += new qt_gsi::GenericMethod ("destroy|qt_destroy", "@brief Method void QMetaType::destroy(void *data)\n", true, &_init_f_destroy_c1056, &_call_f_destroy_c1056);
methods += new qt_gsi::GenericMethod ("destruct", "@brief Method void QMetaType::destruct(void *data)\n", true, &_init_f_destruct_c1056, &_call_f_destruct_c1056);
methods += new qt_gsi::GenericMethod ("flags", "@brief Method QFlags<QMetaType::TypeFlag> QMetaType::flags()\n", true, &_init_f_flags_c0, &_call_f_flags_c0);
methods += new qt_gsi::GenericMethod ("isRegistered?", "@brief Method bool QMetaType::isRegistered()\n", true, &_init_f_isRegistered_c0, &_call_f_isRegistered_c0);
@ -660,9 +660,9 @@ static gsi::Methods methods_QMetaType () {
methods += new qt_gsi::GenericStaticMethod ("compare", "@brief Static method bool QMetaType::compare(const void *lhs, const void *rhs, int typeId, int *result)\nThis method is static and can be called without an instance.", &_init_f_compare_4898, &_call_f_compare_4898);
methods += new qt_gsi::GenericStaticMethod ("construct", "@brief Static method void *QMetaType::construct(int type, void *where, const void *copy)\nThis method is static and can be called without an instance.", &_init_f_construct_3358, &_call_f_construct_3358);
methods += new qt_gsi::GenericStaticMethod ("convert", "@brief Static method bool QMetaType::convert(const void *from, int fromTypeId, void *to, int toTypeId)\nThis method is static and can be called without an instance.", &_init_f_convert_4017, &_call_f_convert_4017);
methods += new qt_gsi::GenericStaticMethod ("qt_create", "@brief Static method void *QMetaType::create(int type, const void *copy)\nThis method is static and can be called without an instance.", &_init_f_create_2410, &_call_f_create_2410);
methods += new qt_gsi::GenericStaticMethod ("create|qt_create", "@brief Static method void *QMetaType::create(int type, const void *copy)\nThis method is static and can be called without an instance.", &_init_f_create_2410, &_call_f_create_2410);
methods += new qt_gsi::GenericStaticMethod ("debugStream", "@brief Static method bool QMetaType::debugStream(QDebug &dbg, const void *rhs, int typeId)\nThis method is static and can be called without an instance.", &_init_f_debugStream_3488, &_call_f_debugStream_3488);
methods += new qt_gsi::GenericStaticMethod ("qt_destroy", "@brief Static method void QMetaType::destroy(int type, void *data)\nThis method is static and can be called without an instance.", &_init_f_destroy_1715, &_call_f_destroy_1715);
methods += new qt_gsi::GenericStaticMethod ("destroy|qt_destroy", "@brief Static method void QMetaType::destroy(int type, void *data)\nThis method is static and can be called without an instance.", &_init_f_destroy_1715, &_call_f_destroy_1715);
methods += new qt_gsi::GenericStaticMethod ("destruct", "@brief Static method void QMetaType::destruct(int type, void *where)\nThis method is static and can be called without an instance.", &_init_f_destruct_1715, &_call_f_destruct_1715);
methods += new qt_gsi::GenericStaticMethod ("equals", "@brief Static method bool QMetaType::equals(const void *lhs, const void *rhs, int typeId, int *result)\nThis method is static and can be called without an instance.", &_init_f_equals_4898, &_call_f_equals_4898);
methods += new qt_gsi::GenericStaticMethod ("hasRegisteredComparators", "@brief Static method bool QMetaType::hasRegisteredComparators(int typeId)\nThis method is static and can be called without an instance.", &_init_f_hasRegisteredComparators_767, &_call_f_hasRegisteredComparators_767);
@ -704,7 +704,8 @@ static gsi::Enum<QMetaType::TypeFlag> decl_QMetaType_TypeFlag_Enum ("QtCore", "Q
gsi::enum_const ("WeakPointerToQObject", QMetaType::WeakPointerToQObject, "@brief Enum constant QMetaType::WeakPointerToQObject") +
gsi::enum_const ("TrackingPointerToQObject", QMetaType::TrackingPointerToQObject, "@brief Enum constant QMetaType::TrackingPointerToQObject") +
gsi::enum_const ("WasDeclaredAsMetaType", QMetaType::WasDeclaredAsMetaType, "@brief Enum constant QMetaType::WasDeclaredAsMetaType") +
gsi::enum_const ("IsGadget", QMetaType::IsGadget, "@brief Enum constant QMetaType::IsGadget"),
gsi::enum_const ("IsGadget", QMetaType::IsGadget, "@brief Enum constant QMetaType::IsGadget") +
gsi::enum_const ("PointerToGadget", QMetaType::PointerToGadget, "@brief Enum constant QMetaType::PointerToGadget"),
"@qt\n@brief This class represents the QMetaType::TypeFlag enum");
static gsi::QFlagsClass<QMetaType::TypeFlag > decl_QMetaType_TypeFlag_Enums ("QtCore", "QMetaType_QFlags_TypeFlag",

View File

@ -550,33 +550,33 @@ public:
emit QMimeData::destroyed(arg1);
}
// [adaptor impl] bool QMimeData::event(QEvent *)
bool cbs_event_1217_0(QEvent *arg1)
// [adaptor impl] bool QMimeData::event(QEvent *event)
bool cbs_event_1217_0(QEvent *_event)
{
return QMimeData::event(arg1);
return QMimeData::event(_event);
}
virtual bool event(QEvent *arg1)
virtual bool event(QEvent *_event)
{
if (cb_event_1217_0.can_issue()) {
return cb_event_1217_0.issue<QMimeData_Adaptor, bool, QEvent *>(&QMimeData_Adaptor::cbs_event_1217_0, arg1);
return cb_event_1217_0.issue<QMimeData_Adaptor, bool, QEvent *>(&QMimeData_Adaptor::cbs_event_1217_0, _event);
} else {
return QMimeData::event(arg1);
return QMimeData::event(_event);
}
}
// [adaptor impl] bool QMimeData::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QMimeData::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QMimeData::eventFilter(arg1, arg2);
return QMimeData::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QMimeData_Adaptor, bool, QObject *, QEvent *>(&QMimeData_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QMimeData_Adaptor, bool, QObject *, QEvent *>(&QMimeData_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QMimeData::eventFilter(arg1, arg2);
return QMimeData::eventFilter(watched, event);
}
}
@ -617,33 +617,33 @@ public:
throw tl::Exception ("Can't emit private signal 'void QMimeData::objectNameChanged(const QString &objectName)'");
}
// [adaptor impl] void QMimeData::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QMimeData::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QMimeData::childEvent(arg1);
QMimeData::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QMimeData_Adaptor, QChildEvent *>(&QMimeData_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QMimeData_Adaptor, QChildEvent *>(&QMimeData_Adaptor::cbs_childEvent_1701_0, event);
} else {
QMimeData::childEvent(arg1);
QMimeData::childEvent(event);
}
}
// [adaptor impl] void QMimeData::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QMimeData::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QMimeData::customEvent(arg1);
QMimeData::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QMimeData_Adaptor, QEvent *>(&QMimeData_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QMimeData_Adaptor, QEvent *>(&QMimeData_Adaptor::cbs_customEvent_1217_0, event);
} else {
QMimeData::customEvent(arg1);
QMimeData::customEvent(event);
}
}
@ -677,18 +677,18 @@ public:
}
}
// [adaptor impl] void QMimeData::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QMimeData::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QMimeData::timerEvent(arg1);
QMimeData::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QMimeData_Adaptor, QTimerEvent *>(&QMimeData_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QMimeData_Adaptor, QTimerEvent *>(&QMimeData_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QMimeData::timerEvent(arg1);
QMimeData::timerEvent(event);
}
}
@ -719,11 +719,11 @@ static void _call_ctor_QMimeData_Adaptor_0 (const qt_gsi::GenericStaticMethod *
}
// void QMimeData::childEvent(QChildEvent *)
// void QMimeData::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -743,11 +743,11 @@ static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback
}
// void QMimeData::customEvent(QEvent *)
// void QMimeData::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -771,7 +771,7 @@ static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -780,7 +780,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QMimeData_Adaptor *)cls)->emitter_QMimeData_destroyed_1302 (arg1);
}
@ -809,11 +809,11 @@ static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Cal
}
// bool QMimeData::event(QEvent *)
// bool QMimeData::event(QEvent *event)
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<bool > ();
}
@ -832,13 +832,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QMimeData::eventFilter(QObject *, QEvent *)
// bool QMimeData::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -1008,11 +1008,11 @@ static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*
}
// void QMimeData::timerEvent(QTimerEvent *)
// void QMimeData::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -1040,16 +1040,16 @@ gsi::Class<QMimeData> &qtdecl_QMimeData ();
static gsi::Methods methods_QMimeData_Adaptor () {
gsi::Methods methods;
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QMimeData::QMimeData()\nThis method creates an object of class QMimeData.", &_init_ctor_QMimeData_Adaptor_0, &_call_ctor_QMimeData_Adaptor_0);
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QMimeData::childEvent(QChildEvent *)\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", "@brief Virtual method void QMimeData::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 QMimeData::customEvent(QEvent *)\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", "@brief Virtual method void QMimeData::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 QMimeData::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 QMimeData::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 QMimeData::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", "@brief Virtual method bool QMimeData::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 QMimeData::eventFilter(QObject *, QEvent *)\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", "@brief Virtual method bool QMimeData::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 ("formats", "@brief Virtual method QStringList QMimeData::formats()\nThis method can be reimplemented in a derived class.", true, &_init_cbs_formats_c0_0, &_call_cbs_formats_c0_0);
methods += new qt_gsi::GenericMethod ("formats", "@hide", true, &_init_cbs_formats_c0_0, &_call_cbs_formats_c0_0, &_set_callback_cbs_formats_c0_0);
@ -1062,7 +1062,7 @@ static gsi::Methods methods_QMimeData_Adaptor () {
methods += new qt_gsi::GenericMethod ("*retrieveData", "@hide", true, &_init_cbs_retrieveData_c3693_0, &_call_cbs_retrieveData_c3693_0, &_set_callback_cbs_retrieveData_c3693_0);
methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QMimeData::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 QMimeData::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 QMimeData::timerEvent(QTimerEvent *)\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", "@brief Virtual method void QMimeData::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;
}

View File

@ -291,6 +291,44 @@ static void _call_f_sibling_c1426 (const qt_gsi::GenericMethod * /*decl*/, void
}
// QModelIndex QModelIndex::siblingAtColumn(int column)
static void _init_f_siblingAtColumn_c767 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("column");
decl->add_arg<int > (argspec_0);
decl->set_return<QModelIndex > ();
}
static void _call_f_siblingAtColumn_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<int >() (args, heap);
ret.write<QModelIndex > ((QModelIndex)((QModelIndex *)cls)->siblingAtColumn (arg1));
}
// QModelIndex QModelIndex::siblingAtRow(int row)
static void _init_f_siblingAtRow_c767 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("row");
decl->add_arg<int > (argspec_0);
decl->set_return<QModelIndex > ();
}
static void _call_f_siblingAtRow_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<int >() (args, heap);
ret.write<QModelIndex > ((QModelIndex)((QModelIndex *)cls)->siblingAtRow (arg1));
}
namespace gsi
{
@ -312,6 +350,8 @@ static gsi::Methods methods_QModelIndex () {
methods += new qt_gsi::GenericMethod ("parent", "@brief Method QModelIndex QModelIndex::parent()\n", true, &_init_f_parent_c0, &_call_f_parent_c0);
methods += new qt_gsi::GenericMethod ("row", "@brief Method int QModelIndex::row()\n", true, &_init_f_row_c0, &_call_f_row_c0);
methods += new qt_gsi::GenericMethod ("sibling", "@brief Method QModelIndex QModelIndex::sibling(int row, int column)\n", true, &_init_f_sibling_c1426, &_call_f_sibling_c1426);
methods += new qt_gsi::GenericMethod ("siblingAtColumn", "@brief Method QModelIndex QModelIndex::siblingAtColumn(int column)\n", true, &_init_f_siblingAtColumn_c767, &_call_f_siblingAtColumn_c767);
methods += new qt_gsi::GenericMethod ("siblingAtRow", "@brief Method QModelIndex QModelIndex::siblingAtRow(int row)\n", true, &_init_f_siblingAtRow_c767, &_call_f_siblingAtRow_c767);
return methods;
}

View File

@ -57,12 +57,12 @@ static void _call_ctor_QMutex_2507 (const qt_gsi::GenericStaticMethod * /*decl*/
// bool QMutex::isRecursive()
static void _init_f_isRecursive_0 (qt_gsi::GenericMethod *decl)
static void _init_f_isRecursive_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<bool > ();
}
static void _call_f_isRecursive_0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
static void _call_f_isRecursive_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
ret.write<bool > ((bool)((QMutex *)cls)->isRecursive ());
@ -104,6 +104,21 @@ static void _call_f_tryLock_767 (const qt_gsi::GenericMethod * /*decl*/, void *c
}
// bool QMutex::try_lock()
static void _init_f_try_lock_0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<bool > ();
}
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 > ((bool)((QMutex *)cls)->try_lock ());
}
// void QMutex::unlock()
@ -127,9 +142,10 @@ namespace gsi
static gsi::Methods methods_QMutex () {
gsi::Methods methods;
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QMutex::QMutex(QMutex::RecursionMode mode)\nThis method creates an object of class QMutex.", &_init_ctor_QMutex_2507, &_call_ctor_QMutex_2507);
methods += new qt_gsi::GenericMethod ("isRecursive?", "@brief Method bool QMutex::isRecursive()\n", false, &_init_f_isRecursive_0, &_call_f_isRecursive_0);
methods += new qt_gsi::GenericMethod ("isRecursive?", "@brief Method bool QMutex::isRecursive()\n", true, &_init_f_isRecursive_c0, &_call_f_isRecursive_c0);
methods += new qt_gsi::GenericMethod ("lock", "@brief Method void QMutex::lock()\n", false, &_init_f_lock_0, &_call_f_lock_0);
methods += new qt_gsi::GenericMethod ("tryLock", "@brief Method bool QMutex::tryLock(int timeout)\n", false, &_init_f_tryLock_767, &_call_f_tryLock_767);
methods += new qt_gsi::GenericMethod ("try_lock", "@brief Method bool QMutex::try_lock()\n", false, &_init_f_try_lock_0, &_call_f_try_lock_0);
methods += new qt_gsi::GenericMethod ("unlock", "@brief Method void QMutex::unlock()\n", false, &_init_f_unlock_0, &_call_f_unlock_0);
return methods;
}

View File

@ -170,11 +170,11 @@ static void _call_f_deleteLater_0 (const qt_gsi::GenericMethod * /*decl*/, void
static void _init_f_disconnect_c5243 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("signal", true, "0");
static gsi::ArgSpecBase argspec_0 ("signal", true, "nullptr");
decl->add_arg<const char * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("receiver", true, "0");
static gsi::ArgSpecBase argspec_1 ("receiver", true, "nullptr");
decl->add_arg<const QObject * > (argspec_1);
static gsi::ArgSpecBase argspec_2 ("member", true, "0");
static gsi::ArgSpecBase argspec_2 ("member", true, "nullptr");
decl->add_arg<const char * > (argspec_2);
decl->set_return<bool > ();
}
@ -183,9 +183,9 @@ static void _call_f_disconnect_c5243 (const qt_gsi::GenericMethod * /*decl*/, vo
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const char *arg1 = args ? gsi::arg_reader<const char * >() (args, heap) : gsi::arg_maker<const char * >() (0, heap);
const QObject *arg2 = args ? gsi::arg_reader<const QObject * >() (args, heap) : gsi::arg_maker<const QObject * >() (0, heap);
const char *arg3 = args ? gsi::arg_reader<const char * >() (args, heap) : gsi::arg_maker<const char * >() (0, heap);
const char *arg1 = args ? gsi::arg_reader<const char * >() (args, heap) : gsi::arg_maker<const char * >() (nullptr, heap);
const QObject *arg2 = args ? gsi::arg_reader<const QObject * >() (args, heap) : gsi::arg_maker<const QObject * >() (nullptr, heap);
const char *arg3 = args ? gsi::arg_reader<const char * >() (args, heap) : gsi::arg_maker<const char * >() (nullptr, heap);
ret.write<bool > ((bool)((QObject *)cls)->disconnect (arg1, arg2, arg3));
}
@ -197,7 +197,7 @@ static void _init_f_disconnect_c3620 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("receiver");
decl->add_arg<const QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("member", true, "0");
static gsi::ArgSpecBase argspec_1 ("member", true, "nullptr");
decl->add_arg<const char * > (argspec_1);
decl->set_return<bool > ();
}
@ -207,7 +207,7 @@ static void _call_f_disconnect_c3620 (const qt_gsi::GenericMethod * /*decl*/, vo
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const QObject *arg1 = gsi::arg_reader<const QObject * >() (args, heap);
const char *arg2 = args ? gsi::arg_reader<const char * >() (args, heap) : gsi::arg_maker<const char * >() (0, heap);
const char *arg2 = args ? gsi::arg_reader<const char * >() (args, heap) : gsi::arg_maker<const char * >() (nullptr, heap);
ret.write<bool > ((bool)((QObject *)cls)->disconnect (arg1, arg2));
}
@ -228,6 +228,22 @@ static void _call_f_dumpObjectInfo_0 (const qt_gsi::GenericMethod * /*decl*/, vo
}
// void QObject::dumpObjectInfo()
static void _init_f_dumpObjectInfo_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<void > ();
}
static void _call_f_dumpObjectInfo_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
__SUPPRESS_UNUSED_WARNING(ret);
((QObject *)cls)->dumpObjectInfo ();
}
// void QObject::dumpObjectTree()
@ -244,6 +260,22 @@ static void _call_f_dumpObjectTree_0 (const qt_gsi::GenericMethod * /*decl*/, vo
}
// void QObject::dumpObjectTree()
static void _init_f_dumpObjectTree_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<void > ();
}
static void _call_f_dumpObjectTree_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
__SUPPRESS_UNUSED_WARNING(ret);
((QObject *)cls)->dumpObjectTree ();
}
// QList<QByteArray> QObject::dynamicPropertyNames()
@ -259,12 +291,12 @@ static void _call_f_dynamicPropertyNames_c0 (const qt_gsi::GenericMethod * /*dec
}
// bool QObject::event(QEvent *)
// bool QObject::event(QEvent *event)
static void _init_f_event_1217 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<bool > ();
}
@ -278,14 +310,14 @@ static void _call_f_event_1217 (const qt_gsi::GenericMethod * /*decl*/, void *cl
}
// bool QObject::eventFilter(QObject *, QEvent *)
// bool QObject::eventFilter(QObject *watched, QEvent *event)
static void _init_f_eventFilter_2411 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -319,12 +351,12 @@ static void _call_f_inherits_c1731 (const qt_gsi::GenericMethod * /*decl*/, void
}
// void QObject::installEventFilter(QObject *)
// void QObject::installEventFilter(QObject *filterObj)
static void _init_f_installEventFilter_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("filterObj");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -458,12 +490,12 @@ static void _call_f_property_c1731 (const qt_gsi::GenericMethod * /*decl*/, void
}
// void QObject::removeEventFilter(QObject *)
// void QObject::removeEventFilter(QObject *obj)
static void _init_f_removeEventFilter_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("obj");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -498,12 +530,12 @@ static void _call_f_setObjectName_2025 (const qt_gsi::GenericMethod * /*decl*/,
}
// void QObject::setParent(QObject *)
// void QObject::setParent(QObject *parent)
static void _init_f_setParent_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("parent");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -812,12 +844,14 @@ static gsi::Methods methods_QObject () {
methods += new qt_gsi::GenericMethod ("disconnect", "@brief Method bool QObject::disconnect(const char *signal, const QObject *receiver, const char *member)\n", true, &_init_f_disconnect_c5243, &_call_f_disconnect_c5243);
methods += new qt_gsi::GenericMethod ("disconnect", "@brief Method bool QObject::disconnect(const QObject *receiver, const char *member)\n", true, &_init_f_disconnect_c3620, &_call_f_disconnect_c3620);
methods += new qt_gsi::GenericMethod ("dumpObjectInfo", "@brief Method void QObject::dumpObjectInfo()\n", false, &_init_f_dumpObjectInfo_0, &_call_f_dumpObjectInfo_0);
methods += new qt_gsi::GenericMethod ("dumpObjectInfo", "@brief Method void QObject::dumpObjectInfo()\n", true, &_init_f_dumpObjectInfo_c0, &_call_f_dumpObjectInfo_c0);
methods += new qt_gsi::GenericMethod ("dumpObjectTree", "@brief Method void QObject::dumpObjectTree()\n", false, &_init_f_dumpObjectTree_0, &_call_f_dumpObjectTree_0);
methods += new qt_gsi::GenericMethod ("dumpObjectTree", "@brief Method void QObject::dumpObjectTree()\n", true, &_init_f_dumpObjectTree_c0, &_call_f_dumpObjectTree_c0);
methods += new qt_gsi::GenericMethod ("dynamicPropertyNames", "@brief Method QList<QByteArray> QObject::dynamicPropertyNames()\n", true, &_init_f_dynamicPropertyNames_c0, &_call_f_dynamicPropertyNames_c0);
methods += new qt_gsi::GenericMethod ("event", "@brief Method bool QObject::event(QEvent *)\n", false, &_init_f_event_1217, &_call_f_event_1217);
methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Method bool QObject::eventFilter(QObject *, QEvent *)\n", false, &_init_f_eventFilter_2411, &_call_f_eventFilter_2411);
methods += new qt_gsi::GenericMethod ("event", "@brief Method bool QObject::event(QEvent *event)\n", false, &_init_f_event_1217, &_call_f_event_1217);
methods += new qt_gsi::GenericMethod ("eventFilter", "@brief Method bool QObject::eventFilter(QObject *watched, QEvent *event)\n", false, &_init_f_eventFilter_2411, &_call_f_eventFilter_2411);
methods += new qt_gsi::GenericMethod ("inherits", "@brief Method bool QObject::inherits(const char *classname)\n", true, &_init_f_inherits_c1731, &_call_f_inherits_c1731);
methods += new qt_gsi::GenericMethod ("installEventFilter", "@brief Method void QObject::installEventFilter(QObject *)\n", false, &_init_f_installEventFilter_1302, &_call_f_installEventFilter_1302);
methods += new qt_gsi::GenericMethod ("installEventFilter", "@brief Method void QObject::installEventFilter(QObject *filterObj)\n", false, &_init_f_installEventFilter_1302, &_call_f_installEventFilter_1302);
methods += new qt_gsi::GenericMethod ("isWidgetType?", "@brief Method bool QObject::isWidgetType()\n", true, &_init_f_isWidgetType_c0, &_call_f_isWidgetType_c0);
methods += new qt_gsi::GenericMethod ("isWindowType?", "@brief Method bool QObject::isWindowType()\n", true, &_init_f_isWindowType_c0, &_call_f_isWindowType_c0);
methods += new qt_gsi::GenericMethod ("killTimer", "@brief Method void QObject::killTimer(int id)\n", false, &_init_f_killTimer_767, &_call_f_killTimer_767);
@ -825,9 +859,9 @@ static gsi::Methods methods_QObject () {
methods += new qt_gsi::GenericMethod (":objectName", "@brief Method QString QObject::objectName()\n", true, &_init_f_objectName_c0, &_call_f_objectName_c0);
methods += new qt_gsi::GenericMethod (":parent", "@brief Method QObject *QObject::parent()\n", true, &_init_f_parent_c0, &_call_f_parent_c0);
methods += new qt_gsi::GenericMethod ("property", "@brief Method QVariant QObject::property(const char *name)\n", true, &_init_f_property_c1731, &_call_f_property_c1731);
methods += new qt_gsi::GenericMethod ("removeEventFilter", "@brief Method void QObject::removeEventFilter(QObject *)\n", false, &_init_f_removeEventFilter_1302, &_call_f_removeEventFilter_1302);
methods += new qt_gsi::GenericMethod ("removeEventFilter", "@brief Method void QObject::removeEventFilter(QObject *obj)\n", false, &_init_f_removeEventFilter_1302, &_call_f_removeEventFilter_1302);
methods += new qt_gsi::GenericMethod ("setObjectName|objectName=", "@brief Method void QObject::setObjectName(const QString &name)\n", false, &_init_f_setObjectName_2025, &_call_f_setObjectName_2025);
methods += new qt_gsi::GenericMethod ("setParent|parent=", "@brief Method void QObject::setParent(QObject *)\n", false, &_init_f_setParent_1302, &_call_f_setParent_1302);
methods += new qt_gsi::GenericMethod ("setParent|parent=", "@brief Method void QObject::setParent(QObject *parent)\n", false, &_init_f_setParent_1302, &_call_f_setParent_1302);
methods += new qt_gsi::GenericMethod ("setProperty", "@brief Method bool QObject::setProperty(const char *name, const QVariant &value)\n", false, &_init_f_setProperty_3742, &_call_f_setProperty_3742);
methods += new qt_gsi::GenericMethod ("signalsBlocked", "@brief Method bool QObject::signalsBlocked()\n", true, &_init_f_signalsBlocked_c0, &_call_f_signalsBlocked_c0);
methods += new qt_gsi::GenericMethod ("startTimer", "@brief Method int QObject::startTimer(int interval, Qt::TimerType timerType)\n", false, &_init_f_startTimer_2339, &_call_f_startTimer_2339);
@ -908,33 +942,33 @@ public:
emit QObject::destroyed(arg1);
}
// [adaptor impl] bool QObject::event(QEvent *)
bool cbs_event_1217_0(QEvent *arg1)
// [adaptor impl] bool QObject::event(QEvent *event)
bool cbs_event_1217_0(QEvent *_event)
{
return QObject::event(arg1);
return QObject::event(_event);
}
virtual bool event(QEvent *arg1)
virtual bool event(QEvent *_event)
{
if (cb_event_1217_0.can_issue()) {
return cb_event_1217_0.issue<QObject_Adaptor, bool, QEvent *>(&QObject_Adaptor::cbs_event_1217_0, arg1);
return cb_event_1217_0.issue<QObject_Adaptor, bool, QEvent *>(&QObject_Adaptor::cbs_event_1217_0, _event);
} else {
return QObject::event(arg1);
return QObject::event(_event);
}
}
// [adaptor impl] bool QObject::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QObject::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QObject::eventFilter(arg1, arg2);
return QObject::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QObject_Adaptor, bool, QObject *, QEvent *>(&QObject_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QObject_Adaptor, bool, QObject *, QEvent *>(&QObject_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QObject::eventFilter(arg1, arg2);
return QObject::eventFilter(watched, event);
}
}
@ -945,33 +979,33 @@ public:
throw tl::Exception ("Can't emit private signal 'void QObject::objectNameChanged(const QString &objectName)'");
}
// [adaptor impl] void QObject::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QObject::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QObject::childEvent(arg1);
QObject::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QObject_Adaptor, QChildEvent *>(&QObject_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QObject_Adaptor, QChildEvent *>(&QObject_Adaptor::cbs_childEvent_1701_0, event);
} else {
QObject::childEvent(arg1);
QObject::childEvent(event);
}
}
// [adaptor impl] void QObject::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QObject::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QObject::customEvent(arg1);
QObject::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QObject_Adaptor, QEvent *>(&QObject_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QObject_Adaptor, QEvent *>(&QObject_Adaptor::cbs_customEvent_1217_0, event);
} else {
QObject::customEvent(arg1);
QObject::customEvent(event);
}
}
@ -990,18 +1024,18 @@ public:
}
}
// [adaptor impl] void QObject::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QObject::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QObject::timerEvent(arg1);
QObject::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QObject_Adaptor, QTimerEvent *>(&QObject_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QObject_Adaptor, QTimerEvent *>(&QObject_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QObject::timerEvent(arg1);
QObject::timerEvent(event);
}
}
@ -1019,7 +1053,7 @@ QObject_Adaptor::~QObject_Adaptor() { }
static void _init_ctor_QObject_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
static gsi::ArgSpecBase argspec_0 ("parent", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return_new<QObject_Adaptor> ();
}
@ -1028,16 +1062,16 @@ static void _call_ctor_QObject_Adaptor_1302 (const qt_gsi::GenericStaticMethod *
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
ret.write<QObject_Adaptor *> (new QObject_Adaptor (arg1));
}
// void QObject::childEvent(QChildEvent *)
// void QObject::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -1057,11 +1091,11 @@ static void _set_callback_cbs_childEvent_1701_0 (void *cls, const gsi::Callback
}
// void QObject::customEvent(QEvent *)
// void QObject::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -1085,7 +1119,7 @@ static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -1094,7 +1128,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QObject_Adaptor *)cls)->emitter_QObject_destroyed_1302 (arg1);
}
@ -1123,11 +1157,11 @@ static void _set_callback_cbs_disconnectNotify_2394_0 (void *cls, const gsi::Cal
}
// bool QObject::event(QEvent *)
// bool QObject::event(QEvent *event)
static void _init_cbs_event_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<bool > ();
}
@ -1146,13 +1180,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QObject::eventFilter(QObject *, QEvent *)
// bool QObject::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -1254,11 +1288,11 @@ static void _call_fp_senderSignalIndex_c0 (const qt_gsi::GenericMethod * /*decl*
}
// void QObject::timerEvent(QTimerEvent *)
// void QObject::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -1286,23 +1320,23 @@ gsi::Class<QObject> &qtdecl_QObject ();
static gsi::Methods methods_QObject_Adaptor () {
gsi::Methods methods;
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QObject::QObject(QObject *parent)\nThis method creates an object of class QObject.", &_init_ctor_QObject_Adaptor_1302, &_call_ctor_QObject_Adaptor_1302);
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QObject::childEvent(QChildEvent *)\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", "@brief Virtual method void QObject::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 QObject::customEvent(QEvent *)\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", "@brief Virtual method void QObject::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 QObject::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 QObject::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 QObject::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", "@brief Virtual method bool QObject::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 QObject::eventFilter(QObject *, QEvent *)\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", "@brief Virtual method bool QObject::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 QObject::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 QObject::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 QObject::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 *QObject::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 QObject::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 QObject::timerEvent(QTimerEvent *)\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", "@brief Virtual method void QObject::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;
}

View File

@ -0,0 +1,237 @@
/*
KLayout Layout Viewer
Copyright (C) 2006-2023 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 gsiDeclQOperatingSystemVersion.cc
*
* DO NOT EDIT THIS FILE.
* This file has been created automatically
*/
#include <QOperatingSystemVersion>
#include "gsiQt.h"
#include "gsiQtCoreCommon.h"
#include <memory>
// -----------------------------------------------------------------------
// class QOperatingSystemVersion
// Constructor QOperatingSystemVersion::QOperatingSystemVersion(QOperatingSystemVersion::OSType osType, int vmajor, int vminor, int vmicro)
static void _init_ctor_QOperatingSystemVersion_5514 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("osType");
decl->add_arg<const qt_gsi::Converter<QOperatingSystemVersion::OSType>::target_type & > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("vmajor");
decl->add_arg<int > (argspec_1);
static gsi::ArgSpecBase argspec_2 ("vminor", true, "-1");
decl->add_arg<int > (argspec_2);
static gsi::ArgSpecBase argspec_3 ("vmicro", true, "-1");
decl->add_arg<int > (argspec_3);
decl->set_return_new<QOperatingSystemVersion> ();
}
static void _call_ctor_QOperatingSystemVersion_5514 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
const qt_gsi::Converter<QOperatingSystemVersion::OSType>::target_type & arg1 = gsi::arg_reader<const qt_gsi::Converter<QOperatingSystemVersion::OSType>::target_type & >() (args, heap);
int arg2 = gsi::arg_reader<int >() (args, heap);
int arg3 = args ? gsi::arg_reader<int >() (args, heap) : gsi::arg_maker<int >() (-1, heap);
int arg4 = args ? gsi::arg_reader<int >() (args, heap) : gsi::arg_maker<int >() (-1, heap);
ret.write<QOperatingSystemVersion *> (new QOperatingSystemVersion (qt_gsi::QtToCppAdaptor<QOperatingSystemVersion::OSType>(arg1).cref(), arg2, arg3, arg4));
}
// int QOperatingSystemVersion::majorVersion()
static void _init_f_majorVersion_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<int > ();
}
static void _call_f_majorVersion_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
ret.write<int > ((int)((QOperatingSystemVersion *)cls)->majorVersion ());
}
// int QOperatingSystemVersion::microVersion()
static void _init_f_microVersion_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<int > ();
}
static void _call_f_microVersion_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
ret.write<int > ((int)((QOperatingSystemVersion *)cls)->microVersion ());
}
// int QOperatingSystemVersion::minorVersion()
static void _init_f_minorVersion_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<int > ();
}
static void _call_f_minorVersion_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
ret.write<int > ((int)((QOperatingSystemVersion *)cls)->minorVersion ());
}
// QString QOperatingSystemVersion::name()
static void _init_f_name_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<QString > ();
}
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 > ((QString)((QOperatingSystemVersion *)cls)->name ());
}
// int QOperatingSystemVersion::segmentCount()
static void _init_f_segmentCount_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<int > ();
}
static void _call_f_segmentCount_c0 (const qt_gsi::GenericMethod * /*decl*/, void *cls, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
ret.write<int > ((int)((QOperatingSystemVersion *)cls)->segmentCount ());
}
// QOperatingSystemVersion::OSType QOperatingSystemVersion::type()
static void _init_f_type_c0 (qt_gsi::GenericMethod *decl)
{
decl->set_return<qt_gsi::Converter<QOperatingSystemVersion::OSType>::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<qt_gsi::Converter<QOperatingSystemVersion::OSType>::target_type > ((qt_gsi::Converter<QOperatingSystemVersion::OSType>::target_type)qt_gsi::CppToQtAdaptor<QOperatingSystemVersion::OSType>(((QOperatingSystemVersion *)cls)->type ()));
}
// static QOperatingSystemVersion QOperatingSystemVersion::current()
static void _init_f_current_0 (qt_gsi::GenericStaticMethod *decl)
{
decl->set_return<QOperatingSystemVersion > ();
}
static void _call_f_current_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
ret.write<QOperatingSystemVersion > ((QOperatingSystemVersion)QOperatingSystemVersion::current ());
}
// static QOperatingSystemVersion::OSType QOperatingSystemVersion::currentType()
static void _init_f_currentType_0 (qt_gsi::GenericStaticMethod *decl)
{
decl->set_return<qt_gsi::Converter<QOperatingSystemVersion::OSType>::target_type > ();
}
static void _call_f_currentType_0 (const qt_gsi::GenericStaticMethod * /*decl*/, gsi::SerialArgs &args, gsi::SerialArgs &ret)
{
__SUPPRESS_UNUSED_WARNING(args);
ret.write<qt_gsi::Converter<QOperatingSystemVersion::OSType>::target_type > ((qt_gsi::Converter<QOperatingSystemVersion::OSType>::target_type)qt_gsi::CppToQtAdaptor<QOperatingSystemVersion::OSType>(QOperatingSystemVersion::currentType ()));
}
namespace gsi
{
static gsi::Methods methods_QOperatingSystemVersion () {
gsi::Methods methods;
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QOperatingSystemVersion::QOperatingSystemVersion(QOperatingSystemVersion::OSType osType, int vmajor, int vminor, int vmicro)\nThis method creates an object of class QOperatingSystemVersion.", &_init_ctor_QOperatingSystemVersion_5514, &_call_ctor_QOperatingSystemVersion_5514);
methods += new qt_gsi::GenericMethod ("majorVersion", "@brief Method int QOperatingSystemVersion::majorVersion()\n", true, &_init_f_majorVersion_c0, &_call_f_majorVersion_c0);
methods += new qt_gsi::GenericMethod ("microVersion", "@brief Method int QOperatingSystemVersion::microVersion()\n", true, &_init_f_microVersion_c0, &_call_f_microVersion_c0);
methods += new qt_gsi::GenericMethod ("minorVersion", "@brief Method int QOperatingSystemVersion::minorVersion()\n", true, &_init_f_minorVersion_c0, &_call_f_minorVersion_c0);
methods += new qt_gsi::GenericMethod ("name", "@brief Method QString QOperatingSystemVersion::name()\n", true, &_init_f_name_c0, &_call_f_name_c0);
methods += new qt_gsi::GenericMethod ("segmentCount", "@brief Method int QOperatingSystemVersion::segmentCount()\n", true, &_init_f_segmentCount_c0, &_call_f_segmentCount_c0);
methods += new qt_gsi::GenericMethod ("type", "@brief Method QOperatingSystemVersion::OSType QOperatingSystemVersion::type()\n", true, &_init_f_type_c0, &_call_f_type_c0);
methods += new qt_gsi::GenericStaticMethod ("current", "@brief Static method QOperatingSystemVersion QOperatingSystemVersion::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 ("currentType", "@brief Static method QOperatingSystemVersion::OSType QOperatingSystemVersion::currentType()\nThis method is static and can be called without an instance.", &_init_f_currentType_0, &_call_f_currentType_0);
return methods;
}
gsi::Class<QOperatingSystemVersion> decl_QOperatingSystemVersion ("QtCore", "QOperatingSystemVersion",
methods_QOperatingSystemVersion (),
"@qt\n@brief Binding of QOperatingSystemVersion");
GSI_QTCORE_PUBLIC gsi::Class<QOperatingSystemVersion> &qtdecl_QOperatingSystemVersion () { return decl_QOperatingSystemVersion; }
}
// Implementation of the enum wrapper class for QOperatingSystemVersion::OSType
namespace qt_gsi
{
static gsi::Enum<QOperatingSystemVersion::OSType> decl_QOperatingSystemVersion_OSType_Enum ("QtCore", "QOperatingSystemVersion_OSType",
gsi::enum_const ("Unknown", QOperatingSystemVersion::Unknown, "@brief Enum constant QOperatingSystemVersion::Unknown") +
gsi::enum_const ("Windows", QOperatingSystemVersion::Windows, "@brief Enum constant QOperatingSystemVersion::Windows") +
gsi::enum_const ("MacOS", QOperatingSystemVersion::MacOS, "@brief Enum constant QOperatingSystemVersion::MacOS") +
gsi::enum_const ("IOS", QOperatingSystemVersion::IOS, "@brief Enum constant QOperatingSystemVersion::IOS") +
gsi::enum_const ("TvOS", QOperatingSystemVersion::TvOS, "@brief Enum constant QOperatingSystemVersion::TvOS") +
gsi::enum_const ("WatchOS", QOperatingSystemVersion::WatchOS, "@brief Enum constant QOperatingSystemVersion::WatchOS") +
gsi::enum_const ("Android", QOperatingSystemVersion::Android, "@brief Enum constant QOperatingSystemVersion::Android"),
"@qt\n@brief This class represents the QOperatingSystemVersion::OSType enum");
static gsi::QFlagsClass<QOperatingSystemVersion::OSType > decl_QOperatingSystemVersion_OSType_Enums ("QtCore", "QOperatingSystemVersion_QFlags_OSType",
"@qt\n@brief This class represents the QFlags<QOperatingSystemVersion::OSType> flag set");
// Inject the declarations into the parent
static gsi::ClassExt<QOperatingSystemVersion> inject_QOperatingSystemVersion_OSType_Enum_in_parent (decl_QOperatingSystemVersion_OSType_Enum.defs ());
static gsi::ClassExt<QOperatingSystemVersion> decl_QOperatingSystemVersion_OSType_Enum_as_child (decl_QOperatingSystemVersion_OSType_Enum, "OSType");
static gsi::ClassExt<QOperatingSystemVersion> decl_QOperatingSystemVersion_OSType_Enums_as_child (decl_QOperatingSystemVersion_OSType_Enums, "QFlags_OSType");
}

View File

@ -221,18 +221,18 @@ public:
}
}
// [adaptor impl] bool QParallelAnimationGroup::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QParallelAnimationGroup::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QParallelAnimationGroup::eventFilter(arg1, arg2);
return QParallelAnimationGroup::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QParallelAnimationGroup_Adaptor, bool, QObject *, QEvent *>(&QParallelAnimationGroup_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QParallelAnimationGroup_Adaptor, bool, QObject *, QEvent *>(&QParallelAnimationGroup_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QParallelAnimationGroup::eventFilter(arg1, arg2);
return QParallelAnimationGroup::eventFilter(watched, event);
}
}
@ -255,33 +255,33 @@ public:
emit QParallelAnimationGroup::stateChanged(newState, oldState);
}
// [adaptor impl] void QParallelAnimationGroup::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QParallelAnimationGroup::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QParallelAnimationGroup::childEvent(arg1);
QParallelAnimationGroup::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QParallelAnimationGroup_Adaptor, QChildEvent *>(&QParallelAnimationGroup_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QParallelAnimationGroup_Adaptor, QChildEvent *>(&QParallelAnimationGroup_Adaptor::cbs_childEvent_1701_0, event);
} else {
QParallelAnimationGroup::childEvent(arg1);
QParallelAnimationGroup::childEvent(event);
}
}
// [adaptor impl] void QParallelAnimationGroup::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QParallelAnimationGroup::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QParallelAnimationGroup::customEvent(arg1);
QParallelAnimationGroup::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QParallelAnimationGroup_Adaptor, QEvent *>(&QParallelAnimationGroup_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QParallelAnimationGroup_Adaptor, QEvent *>(&QParallelAnimationGroup_Adaptor::cbs_customEvent_1217_0, event);
} else {
QParallelAnimationGroup::customEvent(arg1);
QParallelAnimationGroup::customEvent(event);
}
}
@ -315,18 +315,18 @@ public:
}
}
// [adaptor impl] void QParallelAnimationGroup::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QParallelAnimationGroup::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QParallelAnimationGroup::timerEvent(arg1);
QParallelAnimationGroup::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QParallelAnimationGroup_Adaptor, QTimerEvent *>(&QParallelAnimationGroup_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QParallelAnimationGroup_Adaptor, QTimerEvent *>(&QParallelAnimationGroup_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QParallelAnimationGroup::timerEvent(arg1);
QParallelAnimationGroup::timerEvent(event);
}
}
@ -393,7 +393,7 @@ QParallelAnimationGroup_Adaptor::~QParallelAnimationGroup_Adaptor() { }
static void _init_ctor_QParallelAnimationGroup_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
static gsi::ArgSpecBase argspec_0 ("parent", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return_new<QParallelAnimationGroup_Adaptor> ();
}
@ -402,16 +402,16 @@ static void _call_ctor_QParallelAnimationGroup_Adaptor_1302 (const qt_gsi::Gener
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
ret.write<QParallelAnimationGroup_Adaptor *> (new QParallelAnimationGroup_Adaptor (arg1));
}
// void QParallelAnimationGroup::childEvent(QChildEvent *)
// void QParallelAnimationGroup::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -449,11 +449,11 @@ static void _call_emitter_currentLoopChanged_767 (const qt_gsi::GenericMethod *
}
// void QParallelAnimationGroup::customEvent(QEvent *)
// void QParallelAnimationGroup::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -477,7 +477,7 @@ static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -486,7 +486,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QParallelAnimationGroup_Adaptor *)cls)->emitter_QParallelAnimationGroup_destroyed_1302 (arg1);
}
@ -575,13 +575,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QParallelAnimationGroup::eventFilter(QObject *, QEvent *)
// bool QParallelAnimationGroup::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -718,11 +718,11 @@ static void _call_emitter_stateChanged_5680 (const qt_gsi::GenericMethod * /*dec
}
// void QParallelAnimationGroup::timerEvent(QTimerEvent *)
// void QParallelAnimationGroup::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -825,10 +825,10 @@ gsi::Class<QParallelAnimationGroup> &qtdecl_QParallelAnimationGroup ();
static gsi::Methods methods_QParallelAnimationGroup_Adaptor () {
gsi::Methods methods;
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QParallelAnimationGroup::QParallelAnimationGroup(QObject *parent)\nThis method creates an object of class QParallelAnimationGroup.", &_init_ctor_QParallelAnimationGroup_Adaptor_1302, &_call_ctor_QParallelAnimationGroup_Adaptor_1302);
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QParallelAnimationGroup::childEvent(QChildEvent *)\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", "@brief Virtual method void QParallelAnimationGroup::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 ("emit_currentLoopChanged", "@brief Emitter for signal void QParallelAnimationGroup::currentLoopChanged(int currentLoop)\nCall this method to emit this signal.", false, &_init_emitter_currentLoopChanged_767, &_call_emitter_currentLoopChanged_767);
methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QParallelAnimationGroup::customEvent(QEvent *)\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", "@brief Virtual method void QParallelAnimationGroup::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 QParallelAnimationGroup::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302);
methods += new qt_gsi::GenericMethod ("emit_directionChanged", "@brief Emitter for signal void QParallelAnimationGroup::directionChanged(QAbstractAnimation::Direction)\nCall this method to emit this signal.", false, &_init_emitter_directionChanged_3310, &_call_emitter_directionChanged_3310);
@ -838,7 +838,7 @@ static gsi::Methods methods_QParallelAnimationGroup_Adaptor () {
methods += new qt_gsi::GenericMethod ("duration", "@hide", true, &_init_cbs_duration_c0_0, &_call_cbs_duration_c0_0, &_set_callback_cbs_duration_c0_0);
methods += new qt_gsi::GenericMethod ("*event", "@brief Virtual method bool QParallelAnimationGroup::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 QParallelAnimationGroup::eventFilter(QObject *, QEvent *)\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", "@brief Virtual method bool QParallelAnimationGroup::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_finished", "@brief Emitter for signal void QParallelAnimationGroup::finished()\nCall this method to emit this signal.", false, &_init_emitter_finished_0, &_call_emitter_finished_0);
methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QParallelAnimationGroup::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);
@ -847,7 +847,7 @@ static gsi::Methods methods_QParallelAnimationGroup_Adaptor () {
methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QParallelAnimationGroup::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 QParallelAnimationGroup::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 ("emit_stateChanged", "@brief Emitter for signal void QParallelAnimationGroup::stateChanged(QAbstractAnimation::State newState, QAbstractAnimation::State oldState)\nCall this method to emit this signal.", false, &_init_emitter_stateChanged_5680, &_call_emitter_stateChanged_5680);
methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QParallelAnimationGroup::timerEvent(QTimerEvent *)\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", "@brief Virtual method void QParallelAnimationGroup::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 ("*updateCurrentTime", "@brief Virtual method void QParallelAnimationGroup::updateCurrentTime(int currentTime)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_updateCurrentTime_767_0, &_call_cbs_updateCurrentTime_767_0);
methods += new qt_gsi::GenericMethod ("*updateCurrentTime", "@hide", false, &_init_cbs_updateCurrentTime_767_0, &_call_cbs_updateCurrentTime_767_0, &_set_callback_cbs_updateCurrentTime_767_0);

View File

@ -253,18 +253,18 @@ public:
}
}
// [adaptor impl] bool QPauseAnimation::eventFilter(QObject *, QEvent *)
bool cbs_eventFilter_2411_0(QObject *arg1, QEvent *arg2)
// [adaptor impl] bool QPauseAnimation::eventFilter(QObject *watched, QEvent *event)
bool cbs_eventFilter_2411_0(QObject *watched, QEvent *event)
{
return QPauseAnimation::eventFilter(arg1, arg2);
return QPauseAnimation::eventFilter(watched, event);
}
virtual bool eventFilter(QObject *arg1, QEvent *arg2)
virtual bool eventFilter(QObject *watched, QEvent *event)
{
if (cb_eventFilter_2411_0.can_issue()) {
return cb_eventFilter_2411_0.issue<QPauseAnimation_Adaptor, bool, QObject *, QEvent *>(&QPauseAnimation_Adaptor::cbs_eventFilter_2411_0, arg1, arg2);
return cb_eventFilter_2411_0.issue<QPauseAnimation_Adaptor, bool, QObject *, QEvent *>(&QPauseAnimation_Adaptor::cbs_eventFilter_2411_0, watched, event);
} else {
return QPauseAnimation::eventFilter(arg1, arg2);
return QPauseAnimation::eventFilter(watched, event);
}
}
@ -287,33 +287,33 @@ public:
emit QPauseAnimation::stateChanged(newState, oldState);
}
// [adaptor impl] void QPauseAnimation::childEvent(QChildEvent *)
void cbs_childEvent_1701_0(QChildEvent *arg1)
// [adaptor impl] void QPauseAnimation::childEvent(QChildEvent *event)
void cbs_childEvent_1701_0(QChildEvent *event)
{
QPauseAnimation::childEvent(arg1);
QPauseAnimation::childEvent(event);
}
virtual void childEvent(QChildEvent *arg1)
virtual void childEvent(QChildEvent *event)
{
if (cb_childEvent_1701_0.can_issue()) {
cb_childEvent_1701_0.issue<QPauseAnimation_Adaptor, QChildEvent *>(&QPauseAnimation_Adaptor::cbs_childEvent_1701_0, arg1);
cb_childEvent_1701_0.issue<QPauseAnimation_Adaptor, QChildEvent *>(&QPauseAnimation_Adaptor::cbs_childEvent_1701_0, event);
} else {
QPauseAnimation::childEvent(arg1);
QPauseAnimation::childEvent(event);
}
}
// [adaptor impl] void QPauseAnimation::customEvent(QEvent *)
void cbs_customEvent_1217_0(QEvent *arg1)
// [adaptor impl] void QPauseAnimation::customEvent(QEvent *event)
void cbs_customEvent_1217_0(QEvent *event)
{
QPauseAnimation::customEvent(arg1);
QPauseAnimation::customEvent(event);
}
virtual void customEvent(QEvent *arg1)
virtual void customEvent(QEvent *event)
{
if (cb_customEvent_1217_0.can_issue()) {
cb_customEvent_1217_0.issue<QPauseAnimation_Adaptor, QEvent *>(&QPauseAnimation_Adaptor::cbs_customEvent_1217_0, arg1);
cb_customEvent_1217_0.issue<QPauseAnimation_Adaptor, QEvent *>(&QPauseAnimation_Adaptor::cbs_customEvent_1217_0, event);
} else {
QPauseAnimation::customEvent(arg1);
QPauseAnimation::customEvent(event);
}
}
@ -347,18 +347,18 @@ public:
}
}
// [adaptor impl] void QPauseAnimation::timerEvent(QTimerEvent *)
void cbs_timerEvent_1730_0(QTimerEvent *arg1)
// [adaptor impl] void QPauseAnimation::timerEvent(QTimerEvent *event)
void cbs_timerEvent_1730_0(QTimerEvent *event)
{
QPauseAnimation::timerEvent(arg1);
QPauseAnimation::timerEvent(event);
}
virtual void timerEvent(QTimerEvent *arg1)
virtual void timerEvent(QTimerEvent *event)
{
if (cb_timerEvent_1730_0.can_issue()) {
cb_timerEvent_1730_0.issue<QPauseAnimation_Adaptor, QTimerEvent *>(&QPauseAnimation_Adaptor::cbs_timerEvent_1730_0, arg1);
cb_timerEvent_1730_0.issue<QPauseAnimation_Adaptor, QTimerEvent *>(&QPauseAnimation_Adaptor::cbs_timerEvent_1730_0, event);
} else {
QPauseAnimation::timerEvent(arg1);
QPauseAnimation::timerEvent(event);
}
}
@ -425,7 +425,7 @@ QPauseAnimation_Adaptor::~QPauseAnimation_Adaptor() { }
static void _init_ctor_QPauseAnimation_Adaptor_1302 (qt_gsi::GenericStaticMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("parent", true, "0");
static gsi::ArgSpecBase argspec_0 ("parent", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return_new<QPauseAnimation_Adaptor> ();
}
@ -434,7 +434,7 @@ static void _call_ctor_QPauseAnimation_Adaptor_1302 (const qt_gsi::GenericStatic
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
ret.write<QPauseAnimation_Adaptor *> (new QPauseAnimation_Adaptor (arg1));
}
@ -445,7 +445,7 @@ static void _init_ctor_QPauseAnimation_Adaptor_1961 (qt_gsi::GenericStaticMethod
{
static gsi::ArgSpecBase argspec_0 ("msecs");
decl->add_arg<int > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("parent", true, "0");
static gsi::ArgSpecBase argspec_1 ("parent", true, "nullptr");
decl->add_arg<QObject * > (argspec_1);
decl->set_return_new<QPauseAnimation_Adaptor> ();
}
@ -455,16 +455,16 @@ static void _call_ctor_QPauseAnimation_Adaptor_1961 (const qt_gsi::GenericStatic
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
int arg1 = gsi::arg_reader<int >() (args, heap);
QObject *arg2 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg2 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
ret.write<QPauseAnimation_Adaptor *> (new QPauseAnimation_Adaptor (arg1, arg2));
}
// void QPauseAnimation::childEvent(QChildEvent *)
// void QPauseAnimation::childEvent(QChildEvent *event)
static void _init_cbs_childEvent_1701_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QChildEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -502,11 +502,11 @@ static void _call_emitter_currentLoopChanged_767 (const qt_gsi::GenericMethod *
}
// void QPauseAnimation::customEvent(QEvent *)
// void QPauseAnimation::customEvent(QEvent *event)
static void _init_cbs_customEvent_1217_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -530,7 +530,7 @@ static void _set_callback_cbs_customEvent_1217_0 (void *cls, const gsi::Callback
static void _init_emitter_destroyed_1302 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1", true, "0");
static gsi::ArgSpecBase argspec_0 ("arg1", true, "nullptr");
decl->add_arg<QObject * > (argspec_0);
decl->set_return<void > ();
}
@ -539,7 +539,7 @@ static void _call_emitter_destroyed_1302 (const qt_gsi::GenericMethod * /*decl*/
{
__SUPPRESS_UNUSED_WARNING(args);
tl::Heap heap;
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (0, heap);
QObject *arg1 = args ? gsi::arg_reader<QObject * >() (args, heap) : gsi::arg_maker<QObject * >() (nullptr, heap);
((QPauseAnimation_Adaptor *)cls)->emitter_QPauseAnimation_destroyed_1302 (arg1);
}
@ -628,13 +628,13 @@ static void _set_callback_cbs_event_1217_0 (void *cls, const gsi::Callback &cb)
}
// bool QPauseAnimation::eventFilter(QObject *, QEvent *)
// bool QPauseAnimation::eventFilter(QObject *watched, QEvent *event)
static void _init_cbs_eventFilter_2411_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("watched");
decl->add_arg<QObject * > (argspec_0);
static gsi::ArgSpecBase argspec_1 ("arg2");
static gsi::ArgSpecBase argspec_1 ("event");
decl->add_arg<QEvent * > (argspec_1);
decl->set_return<bool > ();
}
@ -771,11 +771,11 @@ static void _call_emitter_stateChanged_5680 (const qt_gsi::GenericMethod * /*dec
}
// void QPauseAnimation::timerEvent(QTimerEvent *)
// void QPauseAnimation::timerEvent(QTimerEvent *event)
static void _init_cbs_timerEvent_1730_0 (qt_gsi::GenericMethod *decl)
{
static gsi::ArgSpecBase argspec_0 ("arg1");
static gsi::ArgSpecBase argspec_0 ("event");
decl->add_arg<QTimerEvent * > (argspec_0);
decl->set_return<void > ();
}
@ -879,10 +879,10 @@ static gsi::Methods methods_QPauseAnimation_Adaptor () {
gsi::Methods methods;
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QPauseAnimation::QPauseAnimation(QObject *parent)\nThis method creates an object of class QPauseAnimation.", &_init_ctor_QPauseAnimation_Adaptor_1302, &_call_ctor_QPauseAnimation_Adaptor_1302);
methods += new qt_gsi::GenericStaticMethod ("new", "@brief Constructor QPauseAnimation::QPauseAnimation(int msecs, QObject *parent)\nThis method creates an object of class QPauseAnimation.", &_init_ctor_QPauseAnimation_Adaptor_1961, &_call_ctor_QPauseAnimation_Adaptor_1961);
methods += new qt_gsi::GenericMethod ("*childEvent", "@brief Virtual method void QPauseAnimation::childEvent(QChildEvent *)\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", "@brief Virtual method void QPauseAnimation::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 ("emit_currentLoopChanged", "@brief Emitter for signal void QPauseAnimation::currentLoopChanged(int currentLoop)\nCall this method to emit this signal.", false, &_init_emitter_currentLoopChanged_767, &_call_emitter_currentLoopChanged_767);
methods += new qt_gsi::GenericMethod ("*customEvent", "@brief Virtual method void QPauseAnimation::customEvent(QEvent *)\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", "@brief Virtual method void QPauseAnimation::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 QPauseAnimation::destroyed(QObject *)\nCall this method to emit this signal.", false, &_init_emitter_destroyed_1302, &_call_emitter_destroyed_1302);
methods += new qt_gsi::GenericMethod ("emit_directionChanged", "@brief Emitter for signal void QPauseAnimation::directionChanged(QAbstractAnimation::Direction)\nCall this method to emit this signal.", false, &_init_emitter_directionChanged_3310, &_call_emitter_directionChanged_3310);
@ -892,7 +892,7 @@ static gsi::Methods methods_QPauseAnimation_Adaptor () {
methods += new qt_gsi::GenericMethod ("duration", "@hide", true, &_init_cbs_duration_c0_0, &_call_cbs_duration_c0_0, &_set_callback_cbs_duration_c0_0);
methods += new qt_gsi::GenericMethod ("*event", "@brief Virtual method bool QPauseAnimation::event(QEvent *e)\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 QPauseAnimation::eventFilter(QObject *, QEvent *)\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", "@brief Virtual method bool QPauseAnimation::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_finished", "@brief Emitter for signal void QPauseAnimation::finished()\nCall this method to emit this signal.", false, &_init_emitter_finished_0, &_call_emitter_finished_0);
methods += new qt_gsi::GenericMethod ("*isSignalConnected", "@brief Method bool QPauseAnimation::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);
@ -901,7 +901,7 @@ static gsi::Methods methods_QPauseAnimation_Adaptor () {
methods += new qt_gsi::GenericMethod ("*sender", "@brief Method QObject *QPauseAnimation::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 QPauseAnimation::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 ("emit_stateChanged", "@brief Emitter for signal void QPauseAnimation::stateChanged(QAbstractAnimation::State newState, QAbstractAnimation::State oldState)\nCall this method to emit this signal.", false, &_init_emitter_stateChanged_5680, &_call_emitter_stateChanged_5680);
methods += new qt_gsi::GenericMethod ("*timerEvent", "@brief Virtual method void QPauseAnimation::timerEvent(QTimerEvent *)\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", "@brief Virtual method void QPauseAnimation::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 ("*updateCurrentTime", "@brief Virtual method void QPauseAnimation::updateCurrentTime(int)\nThis method can be reimplemented in a derived class.", false, &_init_cbs_updateCurrentTime_767_0, &_call_cbs_updateCurrentTime_767_0);
methods += new qt_gsi::GenericMethod ("*updateCurrentTime", "@hide", false, &_init_cbs_updateCurrentTime_767_0, &_call_cbs_updateCurrentTime_767_0, &_set_callback_cbs_updateCurrentTime_767_0);

Some files were not shown because too many files have changed in this diff Show More