From a0c6344ecdef8200640e0a36e5b3f9bb37a3bfe5 Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Tue, 7 Jan 2025 11:30:33 +0100 Subject: [PATCH] Avoid dependency on exported go header The expected type of the callback is already known from the AST - this change reduces dependency on cgo specifics and makes the generated C ABI entirely cgo-independent - in particular, there is no need to include `_cgo_export.h` any more. --- cmd/genbindings/emitcabi.go | 61 ++-- cmd/genbindings/emitgo.go | 16 +- qt-extras/scintillaedit/gen_ScintillaEdit.cpp | 157 ++++++++- .../qscintilla/gen_qsciabstractapis.cpp | 19 +- .../qscintilla/gen_qsciapis.cpp | 16 +- .../qscintilla/gen_qscicommand.cpp | 9 +- .../qscintilla/gen_qscicommandset.cpp | 9 +- .../qscintilla/gen_qscidocument.cpp | 9 +- .../qscintilla/gen_qscilexer.cpp | 55 ++- .../qscintilla/gen_qscilexeravs.cpp | 45 ++- .../qscintilla/gen_qscilexerbash.cpp | 45 ++- .../qscintilla/gen_qscilexerbatch.cpp | 43 ++- .../qscintilla/gen_qscilexercmake.cpp | 44 ++- .../qscintilla/gen_qscilexercoffeescript.cpp | 43 ++- .../qscintilla/gen_qscilexercpp.cpp | 48 ++- .../qscintilla/gen_qscilexercsharp.cpp | 14 +- .../qscintilla/gen_qscilexercss.cpp | 45 ++- .../qscintilla/gen_qscilexercustom.cpp | 44 ++- .../qscintilla/gen_qscilexerd.cpp | 46 ++- .../qscintilla/gen_qscilexerdiff.cpp | 43 ++- .../qscintilla/gen_qscilexeredifact.cpp | 43 ++- .../qscintilla/gen_qscilexerfortran.cpp | 10 +- .../qscintilla/gen_qscilexerfortran77.cpp | 44 ++- .../qscintilla/gen_qscilexerhtml.cpp | 46 ++- .../qscintilla/gen_qscilexeridl.cpp | 14 +- .../qscintilla/gen_qscilexerjava.cpp | 14 +- .../qscintilla/gen_qscilexerjavascript.cpp | 14 +- .../qscintilla/gen_qscilexerjson.cpp | 43 ++- .../qscintilla/gen_qscilexerlua.cpp | 44 ++- .../qscintilla/gen_qscilexermakefile.cpp | 43 ++- .../qscintilla/gen_qscilexermarkdown.cpp | 43 ++- .../qscintilla/gen_qscilexermatlab.cpp | 43 ++- .../qscintilla/gen_qscilexeroctave.cpp | 9 +- .../qscintilla/gen_qscilexerpascal.cpp | 46 ++- .../qscintilla/gen_qscilexerperl.cpp | 45 ++- .../qscintilla/gen_qscilexerpo.cpp | 45 ++- .../qscintilla/gen_qscilexerpostscript.cpp | 47 ++- .../qscintilla/gen_qscilexerpov.cpp | 46 ++- .../qscintilla/gen_qscilexerproperties.cpp | 44 ++- .../qscintilla/gen_qscilexerpython.cpp | 46 ++- .../qscintilla/gen_qscilexerruby.cpp | 43 ++- .../qscintilla/gen_qscilexerspice.cpp | 43 ++- .../qscintilla/gen_qscilexersql.cpp | 46 ++- .../qscintilla/gen_qscilexertcl.cpp | 43 ++- .../qscintilla/gen_qscilexertex.cpp | 43 ++- .../qscintilla/gen_qscilexerverilog.cpp | 43 ++- .../qscintilla/gen_qscilexervhdl.cpp | 48 ++- .../qscintilla/gen_qscilexerxml.cpp | 12 +- .../qscintilla/gen_qscilexeryaml.cpp | 44 ++- .../qscintilla/gen_qscimacro.cpp | 19 +- .../qscintilla/gen_qsciprinter.cpp | 21 +- .../qscintilla/gen_qsciscintilla.cpp | 128 ++++++- .../qscintilla/gen_qsciscintillabase.cpp | 75 +++- .../qscintilla/gen_qscistyle.cpp | 9 +- .../qscintilla/gen_qscistyledtext.cpp | 9 +- .../qscintilla6/gen_qsciabstractapis.cpp | 19 +- .../qscintilla6/gen_qsciapis.cpp | 16 +- .../qscintilla6/gen_qscicommand.cpp | 9 +- .../qscintilla6/gen_qscicommandset.cpp | 9 +- .../qscintilla6/gen_qscidocument.cpp | 9 +- .../qscintilla6/gen_qscilexer.cpp | 55 ++- .../qscintilla6/gen_qscilexeravs.cpp | 45 ++- .../qscintilla6/gen_qscilexerbash.cpp | 45 ++- .../qscintilla6/gen_qscilexerbatch.cpp | 43 ++- .../qscintilla6/gen_qscilexercmake.cpp | 44 ++- .../qscintilla6/gen_qscilexercoffeescript.cpp | 43 ++- .../qscintilla6/gen_qscilexercpp.cpp | 48 ++- .../qscintilla6/gen_qscilexercsharp.cpp | 14 +- .../qscintilla6/gen_qscilexercss.cpp | 45 ++- .../qscintilla6/gen_qscilexercustom.cpp | 44 ++- .../qscintilla6/gen_qscilexerd.cpp | 46 ++- .../qscintilla6/gen_qscilexerdiff.cpp | 43 ++- .../qscintilla6/gen_qscilexeredifact.cpp | 43 ++- .../qscintilla6/gen_qscilexerfortran.cpp | 10 +- .../qscintilla6/gen_qscilexerfortran77.cpp | 44 ++- .../qscintilla6/gen_qscilexerhtml.cpp | 46 ++- .../qscintilla6/gen_qscilexeridl.cpp | 14 +- .../qscintilla6/gen_qscilexerjava.cpp | 14 +- .../qscintilla6/gen_qscilexerjavascript.cpp | 14 +- .../qscintilla6/gen_qscilexerjson.cpp | 43 ++- .../qscintilla6/gen_qscilexerlua.cpp | 44 ++- .../qscintilla6/gen_qscilexermakefile.cpp | 43 ++- .../qscintilla6/gen_qscilexermarkdown.cpp | 43 ++- .../qscintilla6/gen_qscilexermatlab.cpp | 43 ++- .../qscintilla6/gen_qscilexeroctave.cpp | 9 +- .../qscintilla6/gen_qscilexerpascal.cpp | 46 ++- .../qscintilla6/gen_qscilexerperl.cpp | 45 ++- .../qscintilla6/gen_qscilexerpo.cpp | 45 ++- .../qscintilla6/gen_qscilexerpostscript.cpp | 47 ++- .../qscintilla6/gen_qscilexerpov.cpp | 46 ++- .../qscintilla6/gen_qscilexerproperties.cpp | 44 ++- .../qscintilla6/gen_qscilexerpython.cpp | 46 ++- .../qscintilla6/gen_qscilexerruby.cpp | 43 ++- .../qscintilla6/gen_qscilexerspice.cpp | 43 ++- .../qscintilla6/gen_qscilexersql.cpp | 46 ++- .../qscintilla6/gen_qscilexertcl.cpp | 43 ++- .../qscintilla6/gen_qscilexertex.cpp | 43 ++- .../qscintilla6/gen_qscilexerverilog.cpp | 43 ++- .../qscintilla6/gen_qscilexervhdl.cpp | 48 ++- .../qscintilla6/gen_qscilexerxml.cpp | 12 +- .../qscintilla6/gen_qscilexeryaml.cpp | 44 ++- .../qscintilla6/gen_qscimacro.cpp | 19 +- .../qscintilla6/gen_qsciprinter.cpp | 18 +- .../qscintilla6/gen_qsciscintilla.cpp | 128 ++++++- .../qscintilla6/gen_qsciscintillabase.cpp | 75 +++- .../qscintilla6/gen_qscistyle.cpp | 9 +- .../qscintilla6/gen_qscistyledtext.cpp | 9 +- qt/cbor/gen_qcborarray.cpp | 9 +- qt/cbor/gen_qcborcommon.cpp | 9 +- qt/cbor/gen_qcbormap.cpp | 9 +- qt/cbor/gen_qcborstreamreader.cpp | 9 +- qt/cbor/gen_qcborstreamwriter.cpp | 9 +- qt/cbor/gen_qcborvalue.cpp | 9 +- qt/gen_qabstractanimation.cpp | 37 +- qt/gen_qabstractbutton.cpp | 59 +++- qt/gen_qabstracteventdispatcher.cpp | 11 +- qt/gen_qabstractitemdelegate.cpp | 30 +- qt/gen_qabstractitemmodel.cpp | 122 ++++++- qt/gen_qabstractitemview.cpp | 81 ++++- qt/gen_qabstractnativeeventfilter.cpp | 10 +- qt/gen_qabstractproxymodel.cpp | 48 ++- qt/gen_qabstractscrollarea.cpp | 31 +- qt/gen_qabstractslider.cpp | 58 +++- qt/gen_qabstractspinbox.cpp | 57 +++- qt/gen_qabstractstate.cpp | 10 +- qt/gen_qabstracttextdocumentlayout.cpp | 31 +- qt/gen_qabstracttransition.cpp | 18 +- qt/gen_qaccessible.cpp | 14 +- qt/gen_qaccessiblebridge.cpp | 17 +- qt/gen_qaccessibleobject.cpp | 9 +- qt/gen_qaccessibleplugin.cpp | 17 +- qt/gen_qaccessiblewidget.cpp | 9 +- qt/gen_qaction.cpp | 21 +- qt/gen_qactiongroup.cpp | 18 +- qt/gen_qanimationgroup.cpp | 14 +- qt/gen_qapplication.cpp | 12 +- qt/gen_qarraydata.cpp | 9 +- qt/gen_qbackingstore.cpp | 9 +- qt/gen_qbasictimer.cpp | 9 +- qt/gen_qbitarray.cpp | 9 +- qt/gen_qbitmap.cpp | 12 +- qt/gen_qboxlayout.cpp | 54 ++- qt/gen_qbrush.cpp | 9 +- qt/gen_qbuffer.cpp | 27 +- qt/gen_qbuttongroup.cpp | 28 +- qt/gen_qbytearraymatcher.cpp | 9 +- qt/gen_qcalendar.cpp | 9 +- qt/gen_qcalendarwidget.cpp | 56 ++- qt/gen_qchar.cpp | 9 +- qt/gen_qcheckbox.cpp | 26 +- qt/gen_qclipboard.cpp | 13 +- qt/gen_qcollator.cpp | 9 +- qt/gen_qcolor.cpp | 9 +- qt/gen_qcolordialog.cpp | 26 +- qt/gen_qcolormap.cpp | 9 +- qt/gen_qcolorspace.cpp | 9 +- qt/gen_qcolortransform.cpp | 9 +- qt/gen_qcolumnview.cpp | 71 +++- qt/gen_qcombobox.cpp | 62 +++- qt/gen_qcommandlineoption.cpp | 9 +- qt/gen_qcommandlineparser.cpp | 9 +- qt/gen_qcommandlinkbutton.cpp | 18 +- qt/gen_qcommonstyle.cpp | 32 +- qt/gen_qcompleter.cpp | 22 +- qt/gen_qconcatenatetablesproxymodel.cpp | 43 ++- qt/gen_qcontiguouscache.cpp | 9 +- qt/gen_qcoreapplication.cpp | 21 +- qt/gen_qcoreevent.cpp | 9 +- qt/gen_qcryptographichash.cpp | 9 +- qt/gen_qcursor.cpp | 9 +- qt/gen_qdatastream.cpp | 9 +- qt/gen_qdatawidgetmapper.cpp | 18 +- qt/gen_qdatetime.cpp | 9 +- qt/gen_qdatetimeedit.cpp | 72 +++- qt/gen_qdeadlinetimer.cpp | 9 +- qt/gen_qdebug.cpp | 9 +- qt/gen_qdesktopservices.cpp | 9 +- qt/gen_qdesktopwidget.cpp | 54 ++- qt/gen_qdial.cpp | 22 +- qt/gen_qdialog.cpp | 59 +++- qt/gen_qdialogbuttonbox.cpp | 54 ++- qt/gen_qdir.cpp | 9 +- qt/gen_qdiriterator.cpp | 9 +- qt/gen_qdirmodel.cpp | 43 ++- qt/gen_qdockwidget.cpp | 55 ++- qt/gen_qdrag.cpp | 18 +- qt/gen_qdrawutil.cpp | 9 +- qt/gen_qeasingcurve.cpp | 9 +- qt/gen_qelapsedtimer.cpp | 9 +- qt/gen_qerrormessage.cpp | 24 +- qt/gen_qevent.cpp | 9 +- qt/gen_qeventloop.cpp | 16 +- qt/gen_qeventtransition.cpp | 12 +- qt/gen_qfactoryinterface.cpp | 9 +- qt/gen_qfile.cpp | 23 +- qt/gen_qfiledevice.cpp | 9 +- qt/gen_qfiledialog.cpp | 33 +- qt/gen_qfileiconprovider.cpp | 12 +- qt/gen_qfileinfo.cpp | 9 +- qt/gen_qfileselector.cpp | 16 +- qt/gen_qfilesystemmodel.cpp | 48 ++- qt/gen_qfilesystemwatcher.cpp | 16 +- qt/gen_qfinalstate.cpp | 12 +- qt/gen_qfloat16.cpp | 9 +- qt/gen_qfocusframe.cpp | 51 ++- qt/gen_qfont.cpp | 9 +- qt/gen_qfontcombobox.cpp | 30 +- qt/gen_qfontdatabase.cpp | 9 +- qt/gen_qfontdialog.cpp | 26 +- qt/gen_qfontinfo.cpp | 9 +- qt/gen_qfontmetrics.cpp | 9 +- qt/gen_qformlayout.cpp | 27 +- qt/gen_qframe.cpp | 50 ++- qt/gen_qfutureinterface.cpp | 9 +- qt/gen_qfuturewatcher.cpp | 19 +- qt/gen_qgenericplugin.cpp | 17 +- qt/gen_qgenericpluginfactory.cpp | 9 +- qt/gen_qgesture.cpp | 16 +- qt/gen_qgesturerecognizer.cpp | 12 +- qt/gen_qglobal.cpp | 9 +- qt/gen_qglyphrun.cpp | 9 +- qt/gen_qgraphicsanchorlayout.cpp | 18 +- qt/gen_qgraphicseffect.cpp | 41 ++- qt/gen_qgraphicsgridlayout.cpp | 18 +- qt/gen_qgraphicsitem.cpp | 320 +++++++++++++++++- qt/gen_qgraphicsitemanimation.cpp | 18 +- qt/gen_qgraphicslayout.cpp | 18 +- qt/gen_qgraphicslayoutitem.cpp | 13 +- qt/gen_qgraphicslinearlayout.cpp | 18 +- qt/gen_qgraphicsproxywidget.cpp | 57 +++- qt/gen_qgraphicsscene.cpp | 39 ++- qt/gen_qgraphicssceneevent.cpp | 9 +- qt/gen_qgraphicstransform.cpp | 27 +- qt/gen_qgraphicsview.cpp | 40 ++- qt/gen_qgraphicswidget.cpp | 43 ++- qt/gen_qgridlayout.cpp | 28 +- qt/gen_qgroupbox.cpp | 54 ++- qt/gen_qguiapplication.cpp | 25 +- qt/gen_qheaderview.cpp | 83 ++++- qt/gen_qhistorystate.cpp | 12 +- qt/gen_qicon.cpp | 9 +- qt/gen_qiconengine.cpp | 21 +- qt/gen_qiconengineplugin.cpp | 17 +- qt/gen_qidentityproxymodel.cpp | 47 ++- qt/gen_qimage.cpp | 15 +- qt/gen_qimageiohandler.cpp | 32 +- qt/gen_qimagereader.cpp | 9 +- qt/gen_qimagewriter.cpp | 9 +- qt/gen_qinputdialog.cpp | 29 +- qt/gen_qinputmethod.cpp | 17 +- qt/gen_qiodevice.cpp | 38 ++- qt/gen_qitemdelegate.cpp | 24 +- qt/gen_qitemeditorfactory.cpp | 11 +- qt/gen_qitemselectionmodel.cpp | 27 +- qt/gen_qjsonarray.cpp | 9 +- qt/gen_qjsondocument.cpp | 9 +- qt/gen_qjsonobject.cpp | 9 +- qt/gen_qjsonvalue.cpp | 9 +- qt/gen_qkeyeventtransition.cpp | 12 +- qt/gen_qkeysequence.cpp | 9 +- qt/gen_qkeysequenceedit.cpp | 53 ++- qt/gen_qlabel.cpp | 25 +- qt/gen_qlayout.cpp | 36 +- qt/gen_qlayoutitem.cpp | 65 +++- qt/gen_qlcdnumber.cpp | 14 +- qt/gen_qlibrary.cpp | 16 +- qt/gen_qlibraryinfo.cpp | 9 +- qt/gen_qline.cpp | 9 +- qt/gen_qlineedit.cpp | 57 +++- qt/gen_qlinkedlist.cpp | 9 +- qt/gen_qlistview.cpp | 71 +++- qt/gen_qlistwidget.cpp | 64 +++- qt/gen_qlocale.cpp | 9 +- qt/gen_qlockfile.cpp | 9 +- qt/gen_qloggingcategory.cpp | 9 +- qt/gen_qmainwindow.cpp | 54 ++- qt/gen_qmargins.cpp | 9 +- qt/gen_qmatrix.cpp | 9 +- qt/gen_qmatrix4x4.cpp | 9 +- qt/gen_qmdiarea.cpp | 34 +- qt/gen_qmdisubwindow.cpp | 55 ++- qt/gen_qmenu.cpp | 55 ++- qt/gen_qmenubar.cpp | 54 ++- qt/gen_qmessageauthenticationcode.cpp | 9 +- qt/gen_qmessagebox.cpp | 26 +- qt/gen_qmetaobject.cpp | 9 +- qt/gen_qmetatype.cpp | 9 +- qt/gen_qmimedata.cpp | 19 +- qt/gen_qmimedatabase.cpp | 9 +- qt/gen_qmimetype.cpp | 9 +- qt/gen_qmouseeventtransition.cpp | 12 +- qt/gen_qmovie.cpp | 23 +- qt/gen_qmutex.cpp | 9 +- qt/gen_qnamespace.cpp | 9 +- qt/gen_qobject.cpp | 18 +- qt/gen_qobjectcleanuphandler.cpp | 16 +- qt/gen_qobjectdefs.cpp | 9 +- qt/gen_qoffscreensurface.cpp | 20 +- qt/gen_qoperatingsystemversion.cpp | 9 +- qt/gen_qpagedpaintdevice.cpp | 19 +- qt/gen_qpagelayout.cpp | 9 +- qt/gen_qpagesize.cpp | 9 +- qt/gen_qpaintdevice.cpp | 9 +- qt/gen_qpaintdevicewindow.cpp | 9 +- qt/gen_qpaintengine.cpp | 29 +- qt/gen_qpainter.cpp | 9 +- qt/gen_qpainterpath.cpp | 9 +- qt/gen_qpalette.cpp | 9 +- qt/gen_qparallelanimationgroup.cpp | 14 +- qt/gen_qpauseanimation.cpp | 14 +- qt/gen_qpdfwriter.cpp | 22 +- qt/gen_qpen.cpp | 9 +- qt/gen_qpicture.cpp | 16 +- qt/gen_qpictureformatplugin.cpp | 19 +- qt/gen_qpixelformat.cpp | 9 +- qt/gen_qpixmap.cpp | 15 +- qt/gen_qpixmapcache.cpp | 9 +- qt/gen_qplaintextedit.cpp | 63 +++- qt/gen_qplugin.cpp | 9 +- qt/gen_qpluginloader.cpp | 16 +- qt/gen_qpoint.cpp | 9 +- qt/gen_qprocess.cpp | 30 +- qt/gen_qprogressbar.cpp | 52 ++- qt/gen_qprogressdialog.cpp | 25 +- qt/gen_qpropertyanimation.cpp | 15 +- qt/gen_qproxystyle.cpp | 33 +- qt/gen_qpushbutton.cpp | 25 +- qt/gen_qquaternion.cpp | 9 +- qt/gen_qradiobutton.cpp | 25 +- qt/gen_qrandom.cpp | 9 +- qt/gen_qrasterwindow.cpp | 14 +- qt/gen_qrawfont.cpp | 9 +- qt/gen_qreadwritelock.cpp | 9 +- qt/gen_qrect.cpp | 9 +- qt/gen_qregexp.cpp | 9 +- qt/gen_qregion.cpp | 9 +- qt/gen_qregularexpression.cpp | 9 +- qt/gen_qresource.cpp | 9 +- qt/gen_qrgba64.cpp | 9 +- qt/gen_qrubberband.cpp | 50 ++- qt/gen_qrunnable.cpp | 10 +- qt/gen_qsavefile.cpp | 22 +- qt/gen_qscopedpointer.cpp | 9 +- qt/gen_qscreen.cpp | 18 +- qt/gen_qscrollarea.cpp | 31 +- qt/gen_qscrollbar.cpp | 22 +- qt/gen_qscroller.cpp | 11 +- qt/gen_qscrollerproperties.cpp | 9 +- qt/gen_qsemaphore.cpp | 9 +- qt/gen_qsequentialanimationgroup.cpp | 15 +- qt/gen_qsessionmanager.cpp | 9 +- qt/gen_qsettings.cpp | 16 +- qt/gen_qshareddata.cpp | 9 +- qt/gen_qsharedmemory.cpp | 16 +- qt/gen_qshortcut.cpp | 18 +- qt/gen_qsignalmapper.cpp | 24 +- qt/gen_qsignaltransition.cpp | 12 +- qt/gen_qsize.cpp | 9 +- qt/gen_qsizegrip.cpp | 51 ++- qt/gen_qsizepolicy.cpp | 9 +- qt/gen_qslider.cpp | 21 +- qt/gen_qsocketnotifier.cpp | 16 +- qt/gen_qsortfilterproxymodel.cpp | 55 ++- qt/gen_qspinbox.cpp | 69 +++- qt/gen_qsplashscreen.cpp | 52 ++- qt/gen_qsplitter.cpp | 59 +++- qt/gen_qstackedlayout.cpp | 29 +- qt/gen_qstackedwidget.cpp | 15 +- qt/gen_qstandarditemmodel.cpp | 51 ++- qt/gen_qstandardpaths.cpp | 9 +- qt/gen_qstate.cpp | 12 +- qt/gen_qstatemachine.cpp | 18 +- qt/gen_qstatictext.cpp | 9 +- qt/gen_qstatusbar.cpp | 51 ++- qt/gen_qstorageinfo.cpp | 9 +- qt/gen_qstringbuilder.cpp | 9 +- qt/gen_qstringlistmodel.cpp | 23 +- qt/gen_qstringliteral.cpp | 9 +- qt/gen_qstringmatcher.cpp | 9 +- qt/gen_qstringview.cpp | 9 +- qt/gen_qstyle.cpp | 39 ++- qt/gen_qstyleditemdelegate.cpp | 22 +- qt/gen_qstylefactory.cpp | 9 +- qt/gen_qstylehints.cpp | 20 +- qt/gen_qstyleoption.cpp | 9 +- qt/gen_qstylepainter.cpp | 9 +- qt/gen_qstyleplugin.cpp | 17 +- qt/gen_qsurface.cpp | 9 +- qt/gen_qsurfaceformat.cpp | 9 +- qt/gen_qsyntaxhighlighter.cpp | 17 +- qt/gen_qsystemsemaphore.cpp | 9 +- qt/gen_qsystemtrayicon.cpp | 18 +- qt/gen_qtabbar.cpp | 61 +++- qt/gen_qtableview.cpp | 69 +++- qt/gen_qtablewidget.cpp | 61 +++- qt/gen_qtabwidget.cpp | 56 ++- qt/gen_qtemporarydir.cpp | 9 +- qt/gen_qtemporaryfile.cpp | 15 +- qt/gen_qtextboundaryfinder.cpp | 9 +- qt/gen_qtextbrowser.cpp | 50 ++- qt/gen_qtextcodec.cpp | 9 +- qt/gen_qtextcursor.cpp | 9 +- qt/gen_qtextdocument.cpp | 29 +- qt/gen_qtextdocumentfragment.cpp | 9 +- qt/gen_qtextdocumentwriter.cpp | 9 +- qt/gen_qtextedit.cpp | 51 ++- qt/gen_qtextformat.cpp | 9 +- qt/gen_qtextlayout.cpp | 9 +- qt/gen_qtextlist.cpp | 12 +- qt/gen_qtextobject.cpp | 9 +- qt/gen_qtextoption.cpp | 9 +- qt/gen_qtextstream.cpp | 9 +- qt/gen_qtexttable.cpp | 9 +- qt/gen_qthread.cpp | 17 +- qt/gen_qthreadpool.cpp | 16 +- qt/gen_qthreadstorage.cpp | 9 +- qt/gen_qtimeline.cpp | 17 +- qt/gen_qtimer.cpp | 16 +- qt/gen_qtimezone.cpp | 9 +- qt/gen_qtoolbar.cpp | 58 +++- qt/gen_qtoolbox.cpp | 17 +- qt/gen_qtoolbutton.cpp | 29 +- qt/gen_qtooltip.cpp | 9 +- qt/gen_qtouchdevice.cpp | 9 +- qt/gen_qtransform.cpp | 9 +- qt/gen_qtranslator.cpp | 18 +- qt/gen_qtransposeproxymodel.cpp | 46 ++- qt/gen_qtreeview.cpp | 73 +++- qt/gen_qtreewidget.cpp | 69 +++- qt/gen_qtreewidgetitemiterator.cpp | 9 +- qt/gen_qundogroup.cpp | 23 +- qt/gen_qundostack.cpp | 26 +- qt/gen_qundoview.cpp | 42 ++- qt/gen_qurl.cpp | 9 +- qt/gen_qurlquery.cpp | 9 +- qt/gen_quuid.cpp | 9 +- qt/gen_qvalidator.cpp | 37 +- qt/gen_qvariant.cpp | 9 +- qt/gen_qvariantanimation.cpp | 17 +- qt/gen_qvector2d.cpp | 9 +- qt/gen_qvector3d.cpp | 9 +- qt/gen_qvector4d.cpp | 9 +- qt/gen_qversionnumber.cpp | 9 +- qt/gen_qwaitcondition.cpp | 9 +- qt/gen_qwhatsthis.cpp | 9 +- qt/gen_qwidget.cpp | 60 +++- qt/gen_qwidgetaction.cpp | 13 +- qt/gen_qwindow.cpp | 57 +++- qt/gen_qwizard.cpp | 81 ++++- qt/gen_qxmlstream.cpp | 9 +- qt/multimedia/gen_qabstractvideobuffer.cpp | 19 +- qt/multimedia/gen_qabstractvideofilter.cpp | 18 +- qt/multimedia/gen_qabstractvideosurface.cpp | 26 +- qt/multimedia/gen_qaudio.cpp | 9 +- qt/multimedia/gen_qaudiobuffer.cpp | 9 +- qt/multimedia/gen_qaudiodecoder.cpp | 23 +- qt/multimedia/gen_qaudiodecodercontrol.cpp | 18 +- qt/multimedia/gen_qaudiodeviceinfo.cpp | 9 +- .../gen_qaudioencodersettingscontrol.cpp | 9 +- qt/multimedia/gen_qaudioformat.cpp | 9 +- qt/multimedia/gen_qaudioinput.cpp | 18 +- .../gen_qaudioinputselectorcontrol.cpp | 11 +- qt/multimedia/gen_qaudiooutput.cpp | 18 +- .../gen_qaudiooutputselectorcontrol.cpp | 11 +- qt/multimedia/gen_qaudioprobe.cpp | 18 +- qt/multimedia/gen_qaudiorecorder.cpp | 13 +- qt/multimedia/gen_qaudiorolecontrol.cpp | 10 +- qt/multimedia/gen_qaudiosystem.cpp | 15 +- qt/multimedia/gen_qaudiosystemplugin.cpp | 20 +- qt/multimedia/gen_qcamera.cpp | 23 +- .../gen_qcameracapturebufferformatcontrol.cpp | 10 +- .../gen_qcameracapturedestinationcontrol.cpp | 10 +- qt/multimedia/gen_qcameracontrol.cpp | 13 +- qt/multimedia/gen_qcameraexposure.cpp | 16 +- qt/multimedia/gen_qcameraexposurecontrol.cpp | 12 +- qt/multimedia/gen_qcamerafeedbackcontrol.cpp | 9 +- qt/multimedia/gen_qcameraflashcontrol.cpp | 10 +- qt/multimedia/gen_qcamerafocus.cpp | 14 +- qt/multimedia/gen_qcamerafocuscontrol.cpp | 13 +- qt/multimedia/gen_qcameraimagecapture.cpp | 27 +- .../gen_qcameraimagecapturecontrol.cpp | 16 +- qt/multimedia/gen_qcameraimageprocessing.cpp | 9 +- .../gen_qcameraimageprocessingcontrol.cpp | 9 +- qt/multimedia/gen_qcamerainfo.cpp | 9 +- qt/multimedia/gen_qcamerainfocontrol.cpp | 9 +- qt/multimedia/gen_qcameralockscontrol.cpp | 10 +- qt/multimedia/gen_qcameraviewfinder.cpp | 18 +- .../gen_qcameraviewfindersettings.cpp | 9 +- .../gen_qcameraviewfindersettingscontrol.cpp | 9 +- qt/multimedia/gen_qcamerazoomcontrol.cpp | 15 +- qt/multimedia/gen_qcustomaudiorolecontrol.cpp | 10 +- qt/multimedia/gen_qgraphicsvideoitem.cpp | 17 +- qt/multimedia/gen_qimageencodercontrol.cpp | 9 +- qt/multimedia/gen_qmediaaudioprobecontrol.cpp | 11 +- .../gen_qmediaavailabilitycontrol.cpp | 10 +- qt/multimedia/gen_qmediabindableinterface.cpp | 9 +- qt/multimedia/gen_qmediacontainercontrol.cpp | 9 +- qt/multimedia/gen_qmediacontent.cpp | 9 +- qt/multimedia/gen_qmediacontrol.cpp | 9 +- qt/multimedia/gen_qmediaencodersettings.cpp | 9 +- .../gen_qmediagaplessplaybackcontrol.cpp | 12 +- .../gen_qmedianetworkaccesscontrol.cpp | 10 +- qt/multimedia/gen_qmediaobject.cpp | 15 +- qt/multimedia/gen_qmediaplayer.cpp | 31 +- qt/multimedia/gen_qmediaplayercontrol.cpp | 23 +- qt/multimedia/gen_qmediaplaylist.cpp | 28 +- qt/multimedia/gen_qmediarecorder.cpp | 31 +- qt/multimedia/gen_qmediarecordercontrol.cpp | 16 +- qt/multimedia/gen_qmediaresource.cpp | 9 +- qt/multimedia/gen_qmediaservice.cpp | 9 +- .../gen_qmediaserviceproviderplugin.cpp | 9 +- qt/multimedia/gen_qmediastreamscontrol.cpp | 11 +- qt/multimedia/gen_qmediatimerange.cpp | 9 +- qt/multimedia/gen_qmediavideoprobecontrol.cpp | 11 +- qt/multimedia/gen_qmetadatareadercontrol.cpp | 12 +- qt/multimedia/gen_qmetadatawritercontrol.cpp | 13 +- qt/multimedia/gen_qmultimedia.cpp | 9 +- qt/multimedia/gen_qradiodata.cpp | 25 +- qt/multimedia/gen_qradiodatacontrol.cpp | 16 +- qt/multimedia/gen_qradiotuner.cpp | 25 +- qt/multimedia/gen_qradiotunercontrol.cpp | 20 +- qt/multimedia/gen_qsound.cpp | 16 +- qt/multimedia/gen_qsoundeffect.cpp | 25 +- .../gen_qvideodeviceselectorcontrol.cpp | 12 +- .../gen_qvideoencodersettingscontrol.cpp | 9 +- qt/multimedia/gen_qvideoframe.cpp | 9 +- qt/multimedia/gen_qvideoprobe.cpp | 18 +- qt/multimedia/gen_qvideorenderercontrol.cpp | 9 +- qt/multimedia/gen_qvideosurfaceformat.cpp | 9 +- qt/multimedia/gen_qvideowidget.cpp | 57 +++- qt/multimedia/gen_qvideowidgetcontrol.cpp | 14 +- qt/multimedia/gen_qvideowindowcontrol.cpp | 15 +- qt/network/gen_qabstractnetworkcache.cpp | 9 +- qt/network/gen_qabstractsocket.cpp | 43 ++- qt/network/gen_qauthenticator.cpp | 9 +- qt/network/gen_qdnslookup.cpp | 20 +- qt/network/gen_qdtls.cpp | 25 +- qt/network/gen_qhostaddress.cpp | 9 +- qt/network/gen_qhostinfo.cpp | 9 +- qt/network/gen_qhstspolicy.cpp | 9 +- qt/network/gen_qhttp2configuration.cpp | 9 +- qt/network/gen_qhttpmultipart.cpp | 16 +- qt/network/gen_qlocalserver.cpp | 20 +- qt/network/gen_qlocalsocket.cpp | 30 +- qt/network/gen_qnetworkaccessmanager.cpp | 25 +- qt/network/gen_qnetworkconfigmanager.cpp | 21 +- qt/network/gen_qnetworkconfiguration.cpp | 9 +- qt/network/gen_qnetworkcookie.cpp | 9 +- qt/network/gen_qnetworkcookiejar.cpp | 22 +- qt/network/gen_qnetworkdatagram.cpp | 9 +- qt/network/gen_qnetworkdiskcache.cpp | 18 +- qt/network/gen_qnetworkinterface.cpp | 9 +- qt/network/gen_qnetworkproxy.cpp | 10 +- qt/network/gen_qnetworkreply.cpp | 20 +- qt/network/gen_qnetworkrequest.cpp | 9 +- qt/network/gen_qnetworksession.cpp | 23 +- qt/network/gen_qocspresponse.cpp | 9 +- qt/network/gen_qssl.cpp | 9 +- qt/network/gen_qsslcertificate.cpp | 9 +- qt/network/gen_qsslcertificateextension.cpp | 9 +- qt/network/gen_qsslcipher.cpp | 9 +- qt/network/gen_qsslconfiguration.cpp | 9 +- .../gen_qssldiffiehellmanparameters.cpp | 9 +- qt/network/gen_qsslellipticcurve.cpp | 9 +- qt/network/gen_qsslerror.cpp | 9 +- qt/network/gen_qsslkey.cpp | 9 +- .../gen_qsslpresharedkeyauthenticator.cpp | 9 +- qt/network/gen_qsslsocket.cpp | 34 +- qt/network/gen_qtcpserver.cpp | 21 +- qt/network/gen_qtcpsocket.cpp | 30 +- qt/network/gen_qudpsocket.cpp | 30 +- qt/printsupport/gen_qabstractprintdialog.cpp | 23 +- qt/printsupport/gen_qpagesetupdialog.cpp | 23 +- qt/printsupport/gen_qprintdialog.cpp | 14 +- qt/printsupport/gen_qprintengine.cpp | 9 +- qt/printsupport/gen_qprinter.cpp | 16 +- qt/printsupport/gen_qprinterinfo.cpp | 9 +- qt/printsupport/gen_qprintpreviewdialog.cpp | 24 +- qt/printsupport/gen_qprintpreviewwidget.cpp | 52 ++- qt/script/gen_qscriptable.cpp | 9 +- qt/script/gen_qscriptclass.cpp | 18 +- .../gen_qscriptclasspropertyiterator.cpp | 9 +- qt/script/gen_qscriptcontext.cpp | 9 +- qt/script/gen_qscriptcontextinfo.cpp | 9 +- qt/script/gen_qscriptengine.cpp | 17 +- qt/script/gen_qscriptengineagent.cpp | 20 +- qt/script/gen_qscriptextensioninterface.cpp | 11 +- qt/script/gen_qscriptextensionplugin.cpp | 18 +- qt/script/gen_qscriptprogram.cpp | 9 +- qt/script/gen_qscriptstring.cpp | 9 +- qt/script/gen_qscriptvalue.cpp | 9 +- qt/script/gen_qscriptvalueiterator.cpp | 9 +- qt/svg/gen_qgraphicssvgitem.cpp | 13 +- qt/svg/gen_qsvggenerator.cpp | 15 +- qt/svg/gen_qsvgrenderer.cpp | 17 +- qt/svg/gen_qsvgwidget.cpp | 50 ++- qt/webchannel/gen_qqmlwebchannel.cpp | 9 +- qt/webchannel/gen_qwebchannel.cpp | 17 +- .../gen_qwebchannelabstracttransport.cpp | 18 +- .../gen_qwebenginecertificateerror.cpp | 9 +- ...n_qwebengineclientcertificateselection.cpp | 9 +- .../gen_qwebengineclientcertificatestore.cpp | 9 +- .../gen_qwebenginecontextmenudata.cpp | 9 +- qt/webengine/gen_qwebenginecookiestore.cpp | 11 +- qt/webengine/gen_qwebenginedownloaditem.cpp | 13 +- qt/webengine/gen_qwebenginefindtextresult.cpp | 9 +- .../gen_qwebenginefullscreenrequest.cpp | 9 +- qt/webengine/gen_qwebenginehistory.cpp | 9 +- qt/webengine/gen_qwebenginehttprequest.cpp | 9 +- qt/webengine/gen_qwebenginenotification.cpp | 10 +- qt/webengine/gen_qwebenginepage.cpp | 55 ++- qt/webengine/gen_qwebengineprofile.cpp | 17 +- qt/webengine/gen_qwebenginequotarequest.cpp | 9 +- ...ebengineregisterprotocolhandlerrequest.cpp | 9 +- qt/webengine/gen_qwebenginescript.cpp | 9 +- .../gen_qwebenginescriptcollection.cpp | 9 +- qt/webengine/gen_qwebenginesettings.cpp | 9 +- qt/webengine/gen_qwebengineurlrequestinfo.cpp | 9 +- .../gen_qwebengineurlrequestinterceptor.cpp | 17 +- qt/webengine/gen_qwebengineurlrequestjob.cpp | 9 +- qt/webengine/gen_qwebengineurlscheme.cpp | 9 +- .../gen_qwebengineurlschemehandler.cpp | 17 +- qt/webengine/gen_qwebengineview.cpp | 60 +++- qt/webkit/gen_qgraphicswebview.cpp | 63 +++- qt/webkit/gen_qwebdatabase.cpp | 9 +- qt/webkit/gen_qwebelement.cpp | 9 +- qt/webkit/gen_qwebframe.cpp | 19 +- qt/webkit/gen_qwebfullscreenrequest.cpp | 9 +- qt/webkit/gen_qwebhistory.cpp | 9 +- qt/webkit/gen_qwebhistoryinterface.cpp | 18 +- qt/webkit/gen_qwebinspector.cpp | 50 ++- qt/webkit/gen_qwebkitplatformplugin.cpp | 13 +- qt/webkit/gen_qwebpage.cpp | 59 +++- qt/webkit/gen_qwebpluginfactory.cpp | 21 +- qt/webkit/gen_qwebsecurityorigin.cpp | 9 +- qt/webkit/gen_qwebsettings.cpp | 9 +- qt/webkit/gen_qwebview.cpp | 60 +++- qt6/cbor/gen_qcborarray.cpp | 9 +- qt6/cbor/gen_qcborcommon.cpp | 9 +- qt6/cbor/gen_qcbormap.cpp | 9 +- qt6/cbor/gen_qcborstreamreader.cpp | 9 +- qt6/cbor/gen_qcborstreamwriter.cpp | 9 +- qt6/cbor/gen_qcborvalue.cpp | 9 +- qt6/gen_qabstractanimation.cpp | 37 +- qt6/gen_qabstractbutton.cpp | 59 +++- qt6/gen_qabstracteventdispatcher.cpp | 11 +- qt6/gen_qabstractfileiconprovider.cpp | 14 +- qt6/gen_qabstractitemdelegate.cpp | 30 +- qt6/gen_qabstractitemmodel.cpp | 131 ++++++- qt6/gen_qabstractitemview.cpp | 82 ++++- qt6/gen_qabstractnativeeventfilter.cpp | 10 +- qt6/gen_qabstractproxymodel.cpp | 51 ++- qt6/gen_qabstractscrollarea.cpp | 32 +- qt6/gen_qabstractslider.cpp | 58 +++- qt6/gen_qabstractspinbox.cpp | 58 +++- qt6/gen_qabstracttextdocumentlayout.cpp | 31 +- qt6/gen_qaccessible.cpp | 14 +- qt6/gen_qaccessible_base.cpp | 9 +- qt6/gen_qaccessiblebridge.cpp | 17 +- qt6/gen_qaccessibleobject.cpp | 9 +- qt6/gen_qaccessibleplugin.cpp | 17 +- qt6/gen_qaccessiblewidget.cpp | 9 +- qt6/gen_qaction.cpp | 24 +- qt6/gen_qactiongroup.cpp | 18 +- qt6/gen_qanimationgroup.cpp | 14 +- qt6/gen_qanystringview.cpp | 9 +- qt6/gen_qapplication.cpp | 12 +- qt6/gen_qarraydata.cpp | 9 +- qt6/gen_qbackingstore.cpp | 9 +- qt6/gen_qbasictimer.cpp | 9 +- qt6/gen_qbindingstorage.cpp | 9 +- qt6/gen_qbitarray.cpp | 9 +- qt6/gen_qbitmap.cpp | 12 +- qt6/gen_qboxlayout.cpp | 61 +++- qt6/gen_qbrush.cpp | 9 +- qt6/gen_qbuffer.cpp | 28 +- qt6/gen_qbuttongroup.cpp | 24 +- qt6/gen_qbytearraymatcher.cpp | 9 +- qt6/gen_qbytearrayview.cpp | 9 +- qt6/gen_qcalendar.cpp | 9 +- qt6/gen_qcalendarwidget.cpp | 56 ++- qt6/gen_qchar.cpp | 9 +- qt6/gen_qcheckbox.cpp | 27 +- qt6/gen_qclipboard.cpp | 13 +- qt6/gen_qcollator.cpp | 9 +- qt6/gen_qcolor.cpp | 9 +- qt6/gen_qcolordialog.cpp | 26 +- qt6/gen_qcolormap.cpp | 9 +- qt6/gen_qcolorspace.cpp | 9 +- qt6/gen_qcolortransform.cpp | 9 +- qt6/gen_qcolumnview.cpp | 72 +++- qt6/gen_qcombobox.cpp | 61 +++- qt6/gen_qcommandlineoption.cpp | 9 +- qt6/gen_qcommandlineparser.cpp | 9 +- qt6/gen_qcommandlinkbutton.cpp | 20 +- qt6/gen_qcommonstyle.cpp | 32 +- qt6/gen_qcompare.cpp | 9 +- qt6/gen_qcompleter.cpp | 22 +- qt6/gen_qconcatenatetablesproxymodel.cpp | 46 ++- qt6/gen_qcontiguouscache.cpp | 9 +- qt6/gen_qcoreapplication.cpp | 23 +- qt6/gen_qcoreevent.cpp | 17 +- qt6/gen_qcryptographichash.cpp | 9 +- qt6/gen_qcursor.cpp | 9 +- qt6/gen_qdatastream.cpp | 9 +- qt6/gen_qdatawidgetmapper.cpp | 18 +- qt6/gen_qdatetime.cpp | 9 +- qt6/gen_qdatetimeedit.cpp | 75 +++- qt6/gen_qdeadlinetimer.cpp | 9 +- qt6/gen_qdebug.cpp | 9 +- qt6/gen_qdesktopservices.cpp | 9 +- qt6/gen_qdial.cpp | 23 +- qt6/gen_qdialog.cpp | 59 +++- qt6/gen_qdialogbuttonbox.cpp | 54 ++- qt6/gen_qdir.cpp | 9 +- qt6/gen_qdiriterator.cpp | 9 +- qt6/gen_qdockwidget.cpp | 56 ++- qt6/gen_qdrag.cpp | 18 +- qt6/gen_qdrawutil.cpp | 9 +- qt6/gen_qeasingcurve.cpp | 9 +- qt6/gen_qelapsedtimer.cpp | 9 +- qt6/gen_qerrormessage.cpp | 24 +- qt6/gen_qevent.cpp | 106 +++++- qt6/gen_qeventloop.cpp | 16 +- qt6/gen_qeventpoint.cpp | 9 +- qt6/gen_qfactoryinterface.cpp | 9 +- qt6/gen_qfile.cpp | 23 +- qt6/gen_qfiledevice.cpp | 9 +- qt6/gen_qfiledialog.cpp | 33 +- qt6/gen_qfileiconprovider.cpp | 14 +- qt6/gen_qfileinfo.cpp | 9 +- qt6/gen_qfileselector.cpp | 16 +- qt6/gen_qfilesystemmodel.cpp | 51 ++- qt6/gen_qfilesystemwatcher.cpp | 16 +- qt6/gen_qfloat16.cpp | 9 +- qt6/gen_qfocusframe.cpp | 52 ++- qt6/gen_qfont.cpp | 9 +- qt6/gen_qfontcombobox.cpp | 32 +- qt6/gen_qfontdatabase.cpp | 9 +- qt6/gen_qfontdialog.cpp | 26 +- qt6/gen_qfontinfo.cpp | 9 +- qt6/gen_qfontmetrics.cpp | 9 +- qt6/gen_qformlayout.cpp | 30 +- qt6/gen_qframe.cpp | 51 ++- qt6/gen_qfutureinterface.cpp | 9 +- qt6/gen_qfuturewatcher.cpp | 21 +- qt6/gen_qgenericplugin.cpp | 17 +- qt6/gen_qgenericpluginfactory.cpp | 9 +- qt6/gen_qgesture.cpp | 18 +- qt6/gen_qgesturerecognizer.cpp | 12 +- qt6/gen_qglobal.cpp | 9 +- qt6/gen_qglyphrun.cpp | 9 +- qt6/gen_qgraphicsanchorlayout.cpp | 18 +- qt6/gen_qgraphicseffect.cpp | 41 ++- qt6/gen_qgraphicsgridlayout.cpp | 18 +- qt6/gen_qgraphicsitem.cpp | 320 +++++++++++++++++- qt6/gen_qgraphicsitemanimation.cpp | 18 +- qt6/gen_qgraphicslayout.cpp | 19 +- qt6/gen_qgraphicslayoutitem.cpp | 14 +- qt6/gen_qgraphicslinearlayout.cpp | 18 +- qt6/gen_qgraphicsproxywidget.cpp | 57 +++- qt6/gen_qgraphicsscene.cpp | 40 ++- qt6/gen_qgraphicssceneevent.cpp | 11 +- qt6/gen_qgraphicstransform.cpp | 27 +- qt6/gen_qgraphicsview.cpp | 40 ++- qt6/gen_qgraphicswidget.cpp | 44 ++- qt6/gen_qgridlayout.cpp | 31 +- qt6/gen_qgroupbox.cpp | 55 ++- qt6/gen_qguiapplication.cpp | 25 +- qt6/gen_qhashfunctions.cpp | 9 +- qt6/gen_qheaderview.cpp | 87 ++++- qt6/gen_qicon.cpp | 9 +- qt6/gen_qiconengine.cpp | 23 +- qt6/gen_qiconengineplugin.cpp | 17 +- qt6/gen_qidentityproxymodel.cpp | 49 ++- qt6/gen_qimage.cpp | 15 +- qt6/gen_qimageiohandler.cpp | 31 +- qt6/gen_qimagereader.cpp | 9 +- qt6/gen_qimagewriter.cpp | 9 +- qt6/gen_qinputdevice.cpp | 17 +- qt6/gen_qinputdialog.cpp | 29 +- qt6/gen_qinputmethod.cpp | 17 +- qt6/gen_qiodevice.cpp | 39 ++- qt6/gen_qiodevicebase.cpp | 9 +- qt6/gen_qitemdelegate.cpp | 24 +- qt6/gen_qitemeditorfactory.cpp | 11 +- qt6/gen_qitemselectionmodel.cpp | 27 +- qt6/gen_qjsonarray.cpp | 9 +- qt6/gen_qjsondocument.cpp | 9 +- qt6/gen_qjsonobject.cpp | 9 +- qt6/gen_qjsonvalue.cpp | 9 +- qt6/gen_qkeysequence.cpp | 9 +- qt6/gen_qkeysequenceedit.cpp | 53 ++- qt6/gen_qlabel.cpp | 26 +- qt6/gen_qlayout.cpp | 40 ++- qt6/gen_qlayoutitem.cpp | 66 +++- qt6/gen_qlcdnumber.cpp | 15 +- qt6/gen_qlibrary.cpp | 16 +- qt6/gen_qlibraryinfo.cpp | 9 +- qt6/gen_qline.cpp | 9 +- qt6/gen_qlineedit.cpp | 59 +++- qt6/gen_qlistview.cpp | 72 +++- qt6/gen_qlistwidget.cpp | 63 +++- qt6/gen_qlocale.cpp | 9 +- qt6/gen_qlockfile.cpp | 9 +- qt6/gen_qloggingcategory.cpp | 9 +- qt6/gen_qmainwindow.cpp | 54 ++- qt6/gen_qmargins.cpp | 9 +- qt6/gen_qmatrix4x4.cpp | 9 +- qt6/gen_qmdiarea.cpp | 34 +- qt6/gen_qmdisubwindow.cpp | 55 ++- qt6/gen_qmenu.cpp | 56 ++- qt6/gen_qmenubar.cpp | 55 ++- qt6/gen_qmessageauthenticationcode.cpp | 9 +- qt6/gen_qmessagebox.cpp | 26 +- qt6/gen_qmetacontainer.cpp | 9 +- qt6/gen_qmetaobject.cpp | 9 +- qt6/gen_qmetatype.cpp | 9 +- qt6/gen_qmimedata.cpp | 19 +- qt6/gen_qmimedatabase.cpp | 9 +- qt6/gen_qmimetype.cpp | 9 +- qt6/gen_qmovie.cpp | 23 +- qt6/gen_qmutex.cpp | 9 +- qt6/gen_qnamespace.cpp | 9 +- qt6/gen_qobject.cpp | 18 +- qt6/gen_qobjectcleanuphandler.cpp | 16 +- qt6/gen_qobjectdefs.cpp | 9 +- qt6/gen_qoffscreensurface.cpp | 20 +- qt6/gen_qoperatingsystemversion.cpp | 9 +- qt6/gen_qpagedpaintdevice.cpp | 9 +- qt6/gen_qpagelayout.cpp | 9 +- qt6/gen_qpageranges.cpp | 9 +- qt6/gen_qpagesize.cpp | 9 +- qt6/gen_qpaintdevice.cpp | 9 +- qt6/gen_qpaintdevicewindow.cpp | 9 +- qt6/gen_qpaintengine.cpp | 31 +- qt6/gen_qpainter.cpp | 9 +- qt6/gen_qpainterpath.cpp | 9 +- qt6/gen_qpalette.cpp | 9 +- qt6/gen_qparallelanimationgroup.cpp | 14 +- qt6/gen_qpauseanimation.cpp | 14 +- qt6/gen_qpdfwriter.cpp | 24 +- qt6/gen_qpen.cpp | 9 +- qt6/gen_qpicture.cpp | 16 +- qt6/gen_qpixelformat.cpp | 9 +- qt6/gen_qpixmap.cpp | 15 +- qt6/gen_qpixmapcache.cpp | 9 +- qt6/gen_qplaintextedit.cpp | 63 +++- qt6/gen_qplugin.cpp | 9 +- qt6/gen_qpluginloader.cpp | 16 +- qt6/gen_qpoint.cpp | 9 +- qt6/gen_qpointingdevice.cpp | 10 +- qt6/gen_qprocess.cpp | 29 +- qt6/gen_qprogressbar.cpp | 53 ++- qt6/gen_qprogressdialog.cpp | 25 +- qt6/gen_qproperty.cpp | 9 +- qt6/gen_qpropertyanimation.cpp | 15 +- qt6/gen_qpropertyprivate.cpp | 9 +- qt6/gen_qproxystyle.cpp | 33 +- qt6/gen_qpushbutton.cpp | 26 +- qt6/gen_qquaternion.cpp | 9 +- qt6/gen_qradiobutton.cpp | 26 +- qt6/gen_qrandom.cpp | 9 +- qt6/gen_qrasterwindow.cpp | 14 +- qt6/gen_qrawfont.cpp | 9 +- qt6/gen_qreadwritelock.cpp | 9 +- qt6/gen_qrect.cpp | 9 +- qt6/gen_qregion.cpp | 9 +- qt6/gen_qregularexpression.cpp | 9 +- qt6/gen_qresource.cpp | 9 +- qt6/gen_qrgba64.cpp | 9 +- qt6/gen_qrubberband.cpp | 51 ++- qt6/gen_qrunnable.cpp | 10 +- qt6/gen_qsavefile.cpp | 22 +- qt6/gen_qscopedpointer.cpp | 9 +- qt6/gen_qscreen.cpp | 18 +- qt6/gen_qscrollarea.cpp | 31 +- qt6/gen_qscrollbar.cpp | 23 +- qt6/gen_qscroller.cpp | 11 +- qt6/gen_qscrollerproperties.cpp | 9 +- qt6/gen_qsemaphore.cpp | 9 +- qt6/gen_qsequentialanimationgroup.cpp | 15 +- qt6/gen_qsequentialiterable.cpp | 9 +- qt6/gen_qsessionmanager.cpp | 9 +- qt6/gen_qsettings.cpp | 16 +- qt6/gen_qshareddata.cpp | 9 +- qt6/gen_qsharedmemory.cpp | 16 +- qt6/gen_qshortcut.cpp | 18 +- qt6/gen_qsignalmapper.cpp | 19 +- qt6/gen_qsize.cpp | 9 +- qt6/gen_qsizegrip.cpp | 51 ++- qt6/gen_qsizepolicy.cpp | 9 +- qt6/gen_qslider.cpp | 22 +- qt6/gen_qsocketnotifier.cpp | 16 +- qt6/gen_qsortfilterproxymodel.cpp | 58 +++- qt6/gen_qspinbox.cpp | 69 +++- qt6/gen_qsplashscreen.cpp | 52 ++- qt6/gen_qsplitter.cpp | 60 +++- qt6/gen_qstackedlayout.cpp | 32 +- qt6/gen_qstackedwidget.cpp | 16 +- qt6/gen_qstandarditemmodel.cpp | 55 ++- qt6/gen_qstandardpaths.cpp | 9 +- qt6/gen_qstatictext.cpp | 9 +- qt6/gen_qstatusbar.cpp | 51 ++- qt6/gen_qstorageinfo.cpp | 9 +- qt6/gen_qstringbuilder.cpp | 9 +- qt6/gen_qstringconverter.cpp | 9 +- qt6/gen_qstringconverter_base.cpp | 9 +- qt6/gen_qstringlistmodel.cpp | 24 +- qt6/gen_qstringmatcher.cpp | 9 +- qt6/gen_qstringtokenizer.cpp | 9 +- qt6/gen_qstringview.cpp | 9 +- qt6/gen_qstyle.cpp | 39 ++- qt6/gen_qstyleditemdelegate.cpp | 22 +- qt6/gen_qstylefactory.cpp | 9 +- qt6/gen_qstylehints.cpp | 20 +- qt6/gen_qstyleoption.cpp | 9 +- qt6/gen_qstylepainter.cpp | 9 +- qt6/gen_qstyleplugin.cpp | 17 +- qt6/gen_qsurface.cpp | 9 +- qt6/gen_qsurfaceformat.cpp | 9 +- qt6/gen_qsyntaxhighlighter.cpp | 17 +- qt6/gen_qsystemsemaphore.cpp | 9 +- qt6/gen_qsystemtrayicon.cpp | 18 +- qt6/gen_qtabbar.cpp | 62 +++- qt6/gen_qtableview.cpp | 70 +++- qt6/gen_qtablewidget.cpp | 61 +++- qt6/gen_qtabwidget.cpp | 57 +++- qt6/gen_qtemporarydir.cpp | 9 +- qt6/gen_qtemporaryfile.cpp | 15 +- qt6/gen_qtestsupport_gui.cpp | 9 +- qt6/gen_qtestsupport_widgets.cpp | 11 +- qt6/gen_qtextboundaryfinder.cpp | 9 +- qt6/gen_qtextbrowser.cpp | 49 ++- qt6/gen_qtextcursor.cpp | 9 +- qt6/gen_qtextdocument.cpp | 29 +- qt6/gen_qtextdocumentfragment.cpp | 9 +- qt6/gen_qtextdocumentwriter.cpp | 9 +- qt6/gen_qtextedit.cpp | 51 ++- qt6/gen_qtextformat.cpp | 9 +- qt6/gen_qtextlayout.cpp | 9 +- qt6/gen_qtextlist.cpp | 12 +- qt6/gen_qtextobject.cpp | 9 +- qt6/gen_qtextoption.cpp | 9 +- qt6/gen_qtextstream.cpp | 9 +- qt6/gen_qtexttable.cpp | 9 +- qt6/gen_qthread.cpp | 17 +- qt6/gen_qthreadpool.cpp | 16 +- qt6/gen_qthreadstorage.cpp | 9 +- qt6/gen_qtimeline.cpp | 17 +- qt6/gen_qtimer.cpp | 16 +- qt6/gen_qtimezone.cpp | 9 +- qt6/gen_qtoolbar.cpp | 59 +++- qt6/gen_qtoolbox.cpp | 18 +- qt6/gen_qtoolbutton.cpp | 30 +- qt6/gen_qtooltip.cpp | 9 +- qt6/gen_qtransform.cpp | 9 +- qt6/gen_qtranslator.cpp | 18 +- qt6/gen_qtransposeproxymodel.cpp | 48 ++- qt6/gen_qtreeview.cpp | 75 +++- qt6/gen_qtreewidget.cpp | 70 +++- qt6/gen_qtreewidgetitemiterator.cpp | 9 +- qt6/gen_qundogroup.cpp | 23 +- qt6/gen_qundostack.cpp | 26 +- qt6/gen_qundoview.cpp | 42 ++- qt6/gen_qurl.cpp | 9 +- qt6/gen_qurlquery.cpp | 9 +- qt6/gen_quuid.cpp | 9 +- qt6/gen_qvalidator.cpp | 32 +- qt6/gen_qvariant.cpp | 9 +- qt6/gen_qvariantanimation.cpp | 17 +- qt6/gen_qvarlengtharray.cpp | 9 +- qt6/gen_qvectornd.cpp | 9 +- qt6/gen_qversionnumber.cpp | 9 +- qt6/gen_qwaitcondition.cpp | 9 +- qt6/gen_qwhatsthis.cpp | 9 +- qt6/gen_qwidget.cpp | 60 +++- qt6/gen_qwidgetaction.cpp | 13 +- qt6/gen_qwindow.cpp | 59 +++- qt6/gen_qwizard.cpp | 81 ++++- qt6/gen_qxmlstream.cpp | 9 +- qt6/multimedia/gen_qaudio.cpp | 9 +- qt6/multimedia/gen_qaudiobuffer.cpp | 9 +- qt6/multimedia/gen_qaudiodecoder.cpp | 25 +- qt6/multimedia/gen_qaudiodevice.cpp | 9 +- qt6/multimedia/gen_qaudioformat.cpp | 9 +- qt6/multimedia/gen_qaudioinput.cpp | 19 +- qt6/multimedia/gen_qaudiooutput.cpp | 19 +- qt6/multimedia/gen_qaudiosink.cpp | 17 +- qt6/multimedia/gen_qaudiosource.cpp | 17 +- qt6/multimedia/gen_qcamera.cpp | 44 ++- qt6/multimedia/gen_qcameradevice.cpp | 9 +- qt6/multimedia/gen_qgraphicsvideoitem.cpp | 16 +- qt6/multimedia/gen_qimagecapture.cpp | 28 +- qt6/multimedia/gen_qmediacapturesession.cpp | 22 +- qt6/multimedia/gen_qmediadevices.cpp | 19 +- qt6/multimedia/gen_qmediaformat.cpp | 9 +- qt6/multimedia/gen_qmediametadata.cpp | 9 +- qt6/multimedia/gen_qmediaplayer.cpp | 34 +- qt6/multimedia/gen_qmediarecorder.cpp | 32 +- qt6/multimedia/gen_qmediatimerange.cpp | 9 +- qt6/multimedia/gen_qsoundeffect.cpp | 25 +- qt6/multimedia/gen_qvideoframe.cpp | 9 +- qt6/multimedia/gen_qvideoframeformat.cpp | 9 +- qt6/multimedia/gen_qvideosink.cpp | 19 +- qt6/multimedia/gen_qvideowidget.cpp | 52 ++- qt6/multimedia/gen_qwavedecoder.cpp | 26 +- qt6/network/gen_qabstractnetworkcache.cpp | 9 +- qt6/network/gen_qabstractsocket.cpp | 43 ++- qt6/network/gen_qauthenticator.cpp | 9 +- qt6/network/gen_qdnslookup.cpp | 20 +- qt6/network/gen_qdtls.cpp | 25 +- qt6/network/gen_qhostaddress.cpp | 9 +- qt6/network/gen_qhostinfo.cpp | 9 +- qt6/network/gen_qhstspolicy.cpp | 9 +- qt6/network/gen_qhttp2configuration.cpp | 9 +- qt6/network/gen_qhttpmultipart.cpp | 16 +- qt6/network/gen_qlocalserver.cpp | 20 +- qt6/network/gen_qlocalsocket.cpp | 30 +- qt6/network/gen_qnetworkaccessmanager.cpp | 24 +- qt6/network/gen_qnetworkcookie.cpp | 9 +- qt6/network/gen_qnetworkcookiejar.cpp | 22 +- qt6/network/gen_qnetworkdatagram.cpp | 9 +- qt6/network/gen_qnetworkdiskcache.cpp | 18 +- qt6/network/gen_qnetworkinformation.cpp | 13 +- qt6/network/gen_qnetworkinterface.cpp | 9 +- qt6/network/gen_qnetworkproxy.cpp | 10 +- qt6/network/gen_qnetworkreply.cpp | 21 +- qt6/network/gen_qnetworkrequest.cpp | 9 +- qt6/network/gen_qocspresponse.cpp | 9 +- qt6/network/gen_qsctpserver.cpp | 12 +- qt6/network/gen_qsctpsocket.cpp | 13 +- qt6/network/gen_qssl.cpp | 9 +- qt6/network/gen_qsslcertificate.cpp | 9 +- qt6/network/gen_qsslcertificateextension.cpp | 9 +- qt6/network/gen_qsslcipher.cpp | 9 +- qt6/network/gen_qsslconfiguration.cpp | 9 +- .../gen_qssldiffiehellmanparameters.cpp | 9 +- qt6/network/gen_qsslellipticcurve.cpp | 9 +- qt6/network/gen_qsslerror.cpp | 9 +- qt6/network/gen_qsslkey.cpp | 9 +- .../gen_qsslpresharedkeyauthenticator.cpp | 9 +- qt6/network/gen_qsslserver.cpp | 20 +- qt6/network/gen_qsslsocket.cpp | 38 ++- qt6/network/gen_qtcpserver.cpp | 21 +- qt6/network/gen_qtcpsocket.cpp | 30 +- qt6/network/gen_qudpsocket.cpp | 30 +- qt6/printsupport/gen_qabstractprintdialog.cpp | 23 +- qt6/printsupport/gen_qpagesetupdialog.cpp | 23 +- qt6/printsupport/gen_qprintdialog.cpp | 14 +- qt6/printsupport/gen_qprintengine.cpp | 9 +- qt6/printsupport/gen_qprinter.cpp | 18 +- qt6/printsupport/gen_qprinterinfo.cpp | 9 +- qt6/printsupport/gen_qprintpreviewdialog.cpp | 24 +- qt6/printsupport/gen_qprintpreviewwidget.cpp | 52 ++- qt6/spatialaudio/gen_qambientsound.cpp | 20 +- qt6/spatialaudio/gen_qaudioengine.cpp | 21 +- qt6/spatialaudio/gen_qaudiolistener.cpp | 16 +- qt6/spatialaudio/gen_qaudioroom.cpp | 24 +- qt6/spatialaudio/gen_qspatialsound.cpp | 30 +- qt6/svg/gen_qgraphicssvgitem.cpp | 13 +- qt6/svg/gen_qsvggenerator.cpp | 15 +- qt6/svg/gen_qsvgrenderer.cpp | 17 +- qt6/svg/gen_qsvgwidget.cpp | 50 ++- qt6/webchannel/gen_qqmlwebchannel.cpp | 9 +- qt6/webchannel/gen_qwebchannel.cpp | 17 +- .../gen_qwebchannelabstracttransport.cpp | 18 +- .../gen_qwebenginecertificateerror.cpp | 9 +- ...n_qwebengineclientcertificateselection.cpp | 9 +- .../gen_qwebengineclientcertificatestore.cpp | 9 +- .../gen_qwebenginecontextmenurequest.cpp | 9 +- qt6/webengine/gen_qwebenginecookiestore.cpp | 11 +- .../gen_qwebenginedownloadrequest.cpp | 18 +- .../gen_qwebenginefilesystemaccessrequest.cpp | 9 +- .../gen_qwebenginefindtextresult.cpp | 9 +- .../gen_qwebenginefullscreenrequest.cpp | 9 +- qt6/webengine/gen_qwebenginehistory.cpp | 9 +- qt6/webengine/gen_qwebenginehttprequest.cpp | 9 +- qt6/webengine/gen_qwebengineloadinginfo.cpp | 9 +- .../gen_qwebenginenavigationrequest.cpp | 10 +- .../gen_qwebenginenewwindowrequest.cpp | 9 +- qt6/webengine/gen_qwebenginenotification.cpp | 10 +- qt6/webengine/gen_qwebenginepage.cpp | 60 +++- qt6/webengine/gen_qwebengineprofile.cpp | 17 +- qt6/webengine/gen_qwebenginequotarequest.cpp | 9 +- ...ebengineregisterprotocolhandlerrequest.cpp | 9 +- qt6/webengine/gen_qwebenginescript.cpp | 9 +- .../gen_qwebenginescriptcollection.cpp | 9 +- qt6/webengine/gen_qwebenginesettings.cpp | 9 +- .../gen_qwebengineurlrequestinfo.cpp | 9 +- .../gen_qwebengineurlrequestinterceptor.cpp | 17 +- qt6/webengine/gen_qwebengineurlrequestjob.cpp | 9 +- qt6/webengine/gen_qwebengineurlscheme.cpp | 9 +- .../gen_qwebengineurlschemehandler.cpp | 17 +- qt6/webengine/gen_qwebengineview.cpp | 63 +++- 1095 files changed, 21513 insertions(+), 3306 deletions(-) diff --git a/cmd/genbindings/emitcabi.go b/cmd/genbindings/emitcabi.go index 87d34a5f..a3966ca9 100644 --- a/cmd/genbindings/emitcabi.go +++ b/cmd/genbindings/emitcabi.go @@ -14,6 +14,10 @@ func cppComment(s string) string { return "/* " + uncomment.Replace(s) + " */ " } +func cabiCallbackName(c CppClass, m CppMethod) string { + return "miqt_exec_callback_" + cabiClassName(c.ClassName) + "_" + m.SafeMethodName() +} + func (p CppParameter) RenderTypeCabi() string { if p.ParameterType == "QString" { @@ -810,22 +814,44 @@ func emitBindingCpp(src *CppParsedHeader, filename string) (string, error) { ret.WriteString(`#include <` + filename + ">\n") ret.WriteString(`#include "gen_` + filename + "\"\n") - // We need to import the cgo header so that we can call functions exported - // from Go code - // This header is written in C99 and uses C99 features (_Bool). We are C++ - // and _Bool is not defined anywhere - // There is stdbool.h () but that does the opposite (defines 'bool' - // in terms of C99's native _Bool type) - // This is not required in GCC nor Clang 12, but is required in Clang 16 and - // later. In the working compilers, it's likely that the _Bool definition is - // automatically applied in some non-strict mode by default. - // We have been recommending CGO_CXXFLAGS=-D_Bool=bool . Now that the problem - // is more well understood, do the equivalent thing automatically + // Write prototypes for functions that the host language bindings should export + // for virtual function overrides + ret.WriteString(` -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +`) + + for _, c := range src.Classes { + for _, m := range c.Methods { + if m.IsSignal { + callback := "void " + cabiCallbackName(c, m) + "(intptr_t" + + for _, p := range m.Parameters { + callback += ", " + p.RenderTypeCabi() + } + callback += ");\n" + ret.WriteString(callback) + } + } + + for _, m := range c.VirtualMethods() { + callback := m.ReturnType.RenderTypeCabi() + " " + cabiCallbackName(c, m) + "(void*, intptr_t" + + for _, p := range m.Parameters { + callback += ", " + p.RenderTypeCabi() + } + callback += ");\n" + ret.WriteString(callback) + } + } + + ret.WriteString( + `#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" `) @@ -932,7 +958,7 @@ func emitBindingCpp(src *CppParsedHeader, filename string) (string, error) { ret.WriteString( "\t\t\n" + signalCode + "\n" + - "\t\t" + maybeReturn2 + "miqt_exec_callback_" + methodPrefixName + "_" + m.SafeMethodName() + "(" + strings.Join(paramArgs, `, `) + ");\n" + + "\t\t" + maybeReturn2 + cabiCallbackName(c, m) + "(" + strings.Join(paramArgs, `, `) + ");\n" + returnTransformP + "\n" + "\t\t" + ifv(maybeReturn == "", "", "return "+returnTransformF+";") + "\n" + "\t}\n" + @@ -1113,9 +1139,6 @@ func emitBindingCpp(src *CppParsedHeader, filename string) (string, error) { } if m.IsSignal { - - bindingFunc := "miqt_exec_callback_" + cabiClassName(c.ClassName) + "_" + m.SafeMethodName() - // If there are hidden parameters, the type of the signal itself // needs to include them exactSignal := `static_cast(&` + c.ClassName + `::` + m.CppCallTarget() + `)` @@ -1131,7 +1154,7 @@ func emitBindingCpp(src *CppParsedHeader, filename string) (string, error) { paramArgDefs = append(paramArgDefs, p.RenderTypeCabi()+" "+p.ParameterName) } - signalCode += "\t\t" + bindingFunc + "(" + strings.Join(paramArgs, `, `) + ");\n" + signalCode += "\t\t" + cabiCallbackName(c, m) + "(" + strings.Join(paramArgs, `, `) + ");\n" ret.WriteString( `void ` + methodPrefixName + `_connect_` + m.SafeMethodName() + `(` + methodPrefixName + `* self, intptr_t slot) {` + "\n" + diff --git a/cmd/genbindings/emitgo.go b/cmd/genbindings/emitgo.go index 2cb07b8d..d90316da 100644 --- a/cmd/genbindings/emitgo.go +++ b/cmd/genbindings/emitgo.go @@ -949,13 +949,13 @@ import "C" } goCbType := `func(` + gfs.emitParametersGo(m.Parameters) + `)` - + callbackName := cabiCallbackName(c, m) ret.WriteString(`func (this *` + goClassName + `) On` + m.SafeMethodName() + `(slot ` + goCbType + `) { C.` + goClassName + `_connect_` + m.SafeMethodName() + `(this.h, C.intptr_t(cgo.NewHandle(slot)) ) } - - //export miqt_exec_callback_` + goClassName + `_` + m.SafeMethodName() + ` - func miqt_exec_callback_` + goClassName + `_` + m.SafeMethodName() + `(cb C.intptr_t` + ifv(len(m.Parameters) > 0, ", ", "") + strings.Join(cgoNamedParams, `, `) + `) { + + //export ` + callbackName + ` + func ` + callbackName + `(cb C.intptr_t` + ifv(len(m.Parameters) > 0, ", ", "") + strings.Join(cgoNamedParams, `, `) + `) { gofunc, ok := cgo.Handle(cb).Value().(` + goCbType + `) if !ok { panic("miqt: callback of non-callback type (heap corruption?)") @@ -1033,16 +1033,16 @@ import "C" } goCbType += gfs.emitParametersGo(m.Parameters) goCbType += `) ` + m.ReturnType.renderReturnTypeGo(&gfs) - + callbackName := cabiCallbackName(c, m) ret.WriteString(`func (this *` + goClassName + `) On` + m.SafeMethodName() + `(slot ` + goCbType + `) { if ! this.isSubclass { panic("miqt: can only override virtual methods for directly constructed types") } C.` + goClassName + `_override_virtual_` + m.SafeMethodName() + `(unsafe.Pointer(this.h), C.intptr_t(cgo.NewHandle(slot)) ) } - - //export miqt_exec_callback_` + goClassName + `_` + m.SafeMethodName() + ` - func miqt_exec_callback_` + goClassName + `_` + m.SafeMethodName() + `(self *C.` + goClassName + `, cb C.intptr_t` + ifv(len(m.Parameters) > 0, ", ", "") + strings.Join(cgoNamedParams, `, `) + `) ` + cabiReturnType + `{ + + //export ` + callbackName + ` + func ` + callbackName + `(self *C.` + goClassName + `, cb C.intptr_t` + ifv(len(m.Parameters) > 0, ", ", "") + strings.Join(cgoNamedParams, `, `) + `) ` + cabiReturnType + `{ gofunc, ok := cgo.Handle(cb).Value().(` + goCbType + `) if !ok { panic("miqt: callback of non-callback type (heap corruption?)") diff --git a/qt-extras/scintillaedit/gen_ScintillaEdit.cpp b/qt-extras/scintillaedit/gen_ScintillaEdit.cpp index cc645066..cab09bc6 100644 --- a/qt-extras/scintillaedit/gen_ScintillaEdit.cpp +++ b/qt-extras/scintillaedit/gen_ScintillaEdit.cpp @@ -63,10 +63,161 @@ #include #include "gen_ScintillaEdit.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_Scintilla__Internal__Surface_Init(void*, intptr_t, void*); +void miqt_exec_callback_Scintilla__Internal__Surface_Init2(void*, intptr_t, void*, void*); +void miqt_exec_callback_Scintilla__Internal__Surface_SetMode(void*, intptr_t, Scintilla__Internal__SurfaceMode*); +void miqt_exec_callback_Scintilla__Internal__Surface_Release(void*, intptr_t); +int miqt_exec_callback_Scintilla__Internal__Surface_SupportsFeature(void*, intptr_t, int); +bool miqt_exec_callback_Scintilla__Internal__Surface_Initialised(void*, intptr_t); +int miqt_exec_callback_Scintilla__Internal__Surface_LogPixelsY(void*, intptr_t); +int miqt_exec_callback_Scintilla__Internal__Surface_PixelDivisions(void*, intptr_t); +int miqt_exec_callback_Scintilla__Internal__Surface_DeviceHeightFont(void*, intptr_t, int); +void miqt_exec_callback_Scintilla__Internal__Surface_LineDraw(void*, intptr_t, Scintilla__Internal__Point*, Scintilla__Internal__Point*, Scintilla__Internal__Stroke*); +void miqt_exec_callback_Scintilla__Internal__Surface_PolyLine(void*, intptr_t, Scintilla__Internal__Point*, size_t, Scintilla__Internal__Stroke*); +void miqt_exec_callback_Scintilla__Internal__Surface_Polygon(void*, intptr_t, Scintilla__Internal__Point*, size_t, Scintilla__Internal__FillStroke*); +void miqt_exec_callback_Scintilla__Internal__Surface_RectangleDraw(void*, intptr_t, Scintilla__Internal__PRectangle*, Scintilla__Internal__FillStroke*); +void miqt_exec_callback_Scintilla__Internal__Surface_RectangleFrame(void*, intptr_t, Scintilla__Internal__PRectangle*, Scintilla__Internal__Stroke*); +void miqt_exec_callback_Scintilla__Internal__Surface_FillRectangle(void*, intptr_t, Scintilla__Internal__PRectangle*, Scintilla__Internal__Fill*); +void miqt_exec_callback_Scintilla__Internal__Surface_FillRectangleAligned(void*, intptr_t, Scintilla__Internal__PRectangle*, Scintilla__Internal__Fill*); +void miqt_exec_callback_Scintilla__Internal__Surface_FillRectangle2(void*, intptr_t, Scintilla__Internal__PRectangle*, Scintilla__Internal__Surface*); +void miqt_exec_callback_Scintilla__Internal__Surface_RoundedRectangle(void*, intptr_t, Scintilla__Internal__PRectangle*, Scintilla__Internal__FillStroke*); +void miqt_exec_callback_Scintilla__Internal__Surface_AlphaRectangle(void*, intptr_t, Scintilla__Internal__PRectangle*, double, Scintilla__Internal__FillStroke*); +void miqt_exec_callback_Scintilla__Internal__Surface_DrawRGBAImage(void*, intptr_t, Scintilla__Internal__PRectangle*, int, int, const unsigned char*); +void miqt_exec_callback_Scintilla__Internal__Surface_Ellipse(void*, intptr_t, Scintilla__Internal__PRectangle*, Scintilla__Internal__FillStroke*); +void miqt_exec_callback_Scintilla__Internal__Surface_Stadium(void*, intptr_t, Scintilla__Internal__PRectangle*, Scintilla__Internal__FillStroke*, int); +void miqt_exec_callback_Scintilla__Internal__Surface_Copy(void*, intptr_t, Scintilla__Internal__PRectangle*, Scintilla__Internal__Point*, Scintilla__Internal__Surface*); +double miqt_exec_callback_Scintilla__Internal__Surface_Ascent(void*, intptr_t, Scintilla__Internal__Font*); +double miqt_exec_callback_Scintilla__Internal__Surface_Descent(void*, intptr_t, Scintilla__Internal__Font*); +double miqt_exec_callback_Scintilla__Internal__Surface_InternalLeading(void*, intptr_t, Scintilla__Internal__Font*); +double miqt_exec_callback_Scintilla__Internal__Surface_Height(void*, intptr_t, Scintilla__Internal__Font*); +double miqt_exec_callback_Scintilla__Internal__Surface_AverageCharWidth(void*, intptr_t, Scintilla__Internal__Font*); +void miqt_exec_callback_Scintilla__Internal__Surface_SetClip(void*, intptr_t, Scintilla__Internal__PRectangle*); +void miqt_exec_callback_Scintilla__Internal__Surface_PopClip(void*, intptr_t); +void miqt_exec_callback_Scintilla__Internal__Surface_FlushCachedState(void*, intptr_t); +void miqt_exec_callback_Scintilla__Internal__Surface_FlushDrawing(void*, intptr_t); +void miqt_exec_callback_Scintilla__Internal__ListBox_SetFont(void*, intptr_t, Scintilla__Internal__Font*); +void miqt_exec_callback_Scintilla__Internal__ListBox_Create(void*, intptr_t, Scintilla__Internal__Window*, int, Scintilla__Internal__Point*, int, bool, int); +void miqt_exec_callback_Scintilla__Internal__ListBox_SetAverageCharWidth(void*, intptr_t, int); +void miqt_exec_callback_Scintilla__Internal__ListBox_SetVisibleRows(void*, intptr_t, int); +int miqt_exec_callback_Scintilla__Internal__ListBox_GetVisibleRows(void*, intptr_t); +Scintilla__Internal__PRectangle* miqt_exec_callback_Scintilla__Internal__ListBox_GetDesiredRect(void*, intptr_t); +int miqt_exec_callback_Scintilla__Internal__ListBox_CaretFromEdge(void*, intptr_t); +void miqt_exec_callback_Scintilla__Internal__ListBox_Clear(void*, intptr_t); +void miqt_exec_callback_Scintilla__Internal__ListBox_Append(void*, intptr_t, char*, int); +int miqt_exec_callback_Scintilla__Internal__ListBox_Length(void*, intptr_t); +void miqt_exec_callback_Scintilla__Internal__ListBox_Select(void*, intptr_t, int); +int miqt_exec_callback_Scintilla__Internal__ListBox_GetSelection(void*, intptr_t); +int miqt_exec_callback_Scintilla__Internal__ListBox_Find(void*, intptr_t, const char*); +void miqt_exec_callback_Scintilla__Internal__ListBox_RegisterImage(void*, intptr_t, int, const char*); +void miqt_exec_callback_Scintilla__Internal__ListBox_RegisterRGBAImage(void*, intptr_t, int, int, int, const unsigned char*); +void miqt_exec_callback_Scintilla__Internal__ListBox_ClearRegisteredImages(void*, intptr_t); +void miqt_exec_callback_Scintilla__Internal__ListBox_SetDelegate(void*, intptr_t, Scintilla__Internal__IListBoxDelegate*); +void miqt_exec_callback_Scintilla__Internal__ListBox_SetList(void*, intptr_t, const char*, char, char); +void miqt_exec_callback_Scintilla__Internal__ListBox_SetOptions(void*, intptr_t, Scintilla__Internal__ListOptions*); +void miqt_exec_callback_ScintillaEditBase_HorizontalScrolled(intptr_t, int); +void miqt_exec_callback_ScintillaEditBase_VerticalScrolled(intptr_t, int); +void miqt_exec_callback_ScintillaEditBase_HorizontalRangeChanged(intptr_t, int, int); +void miqt_exec_callback_ScintillaEditBase_VerticalRangeChanged(intptr_t, int, int); +void miqt_exec_callback_ScintillaEditBase_NotifyChange(intptr_t); +void miqt_exec_callback_ScintillaEditBase_LinesAdded(intptr_t, intptr_t); +void miqt_exec_callback_ScintillaEditBase_AboutToCopy(intptr_t, QMimeData*); +void miqt_exec_callback_ScintillaEditBase_StyleNeeded(intptr_t, intptr_t); +void miqt_exec_callback_ScintillaEditBase_CharAdded(intptr_t, int); +void miqt_exec_callback_ScintillaEditBase_SavePointChanged(intptr_t, bool); +void miqt_exec_callback_ScintillaEditBase_ModifyAttemptReadOnly(intptr_t); +void miqt_exec_callback_ScintillaEditBase_Key(intptr_t, int); +void miqt_exec_callback_ScintillaEditBase_DoubleClick(intptr_t, intptr_t, intptr_t); +void miqt_exec_callback_ScintillaEditBase_UpdateUi(intptr_t, int); +void miqt_exec_callback_ScintillaEditBase_Modified(intptr_t, int, intptr_t, intptr_t, intptr_t, struct miqt_string, intptr_t, int, int); +void miqt_exec_callback_ScintillaEditBase_MacroRecord(intptr_t, int, uintptr_t, intptr_t); +void miqt_exec_callback_ScintillaEditBase_MarginClicked(intptr_t, intptr_t, int, int); +void miqt_exec_callback_ScintillaEditBase_TextAreaClicked(intptr_t, intptr_t, int); +void miqt_exec_callback_ScintillaEditBase_NeedShown(intptr_t, intptr_t, intptr_t); +void miqt_exec_callback_ScintillaEditBase_Painted(intptr_t); +void miqt_exec_callback_ScintillaEditBase_UserListSelection(intptr_t); +void miqt_exec_callback_ScintillaEditBase_UriDropped(intptr_t, struct miqt_string); +void miqt_exec_callback_ScintillaEditBase_DwellStart(intptr_t, int, int); +void miqt_exec_callback_ScintillaEditBase_DwellEnd(intptr_t, int, int); +void miqt_exec_callback_ScintillaEditBase_Zoom(intptr_t, int); +void miqt_exec_callback_ScintillaEditBase_HotSpotClick(intptr_t, intptr_t, int); +void miqt_exec_callback_ScintillaEditBase_HotSpotDoubleClick(intptr_t, intptr_t, int); +void miqt_exec_callback_ScintillaEditBase_CallTipClick(intptr_t); +void miqt_exec_callback_ScintillaEditBase_AutoCompleteSelection(intptr_t, intptr_t, struct miqt_string); +void miqt_exec_callback_ScintillaEditBase_AutoCompleteCancelled(intptr_t); +void miqt_exec_callback_ScintillaEditBase_FocusChanged(intptr_t, bool); +void miqt_exec_callback_ScintillaEditBase_Notify(intptr_t, Scintilla__NotificationData*); +void miqt_exec_callback_ScintillaEditBase_Command(intptr_t, uintptr_t, intptr_t); +void miqt_exec_callback_ScintillaEditBase_ButtonPressed(intptr_t, QMouseEvent*); +void miqt_exec_callback_ScintillaEditBase_ButtonReleased(intptr_t, QMouseEvent*); +void miqt_exec_callback_ScintillaEditBase_KeyPressed(intptr_t, QKeyEvent*); +void miqt_exec_callback_ScintillaEditBase_Resized(intptr_t); +intptr_t miqt_exec_callback_ScintillaEditBase_Send(void*, intptr_t, unsigned int, uintptr_t, intptr_t); +intptr_t miqt_exec_callback_ScintillaEditBase_Sends(void*, intptr_t, unsigned int, uintptr_t, const char*); +bool miqt_exec_callback_ScintillaEditBase_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_ScintillaEditBase_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_ScintillaEditBase_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_ScintillaEditBase_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_ScintillaEditBase_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_ScintillaEditBase_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_ScintillaEditBase_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_ScintillaEditBase_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_ScintillaEditBase_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_ScintillaEditBase_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_ScintillaEditBase_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_ScintillaEditBase_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_ScintillaEditBase_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_ScintillaEditBase_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_ScintillaEditBase_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_ScintillaEditBase_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_ScintillaEditBase_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_ScintillaEditBase_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_ScintillaEditBase_ScrollContentsBy(void*, intptr_t, int, int); +QSize* miqt_exec_callback_ScintillaEditBase_MinimumSizeHint(void*, intptr_t); +QSize* miqt_exec_callback_ScintillaEditBase_SizeHint(void*, intptr_t); +void miqt_exec_callback_ScintillaEditBase_SetupViewport(void*, intptr_t, QWidget*); +bool miqt_exec_callback_ScintillaEditBase_EventFilter(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_ScintillaEditBase_ViewportEvent(void*, intptr_t, QEvent*); +QSize* miqt_exec_callback_ScintillaEditBase_ViewportSizeHint(void*, intptr_t); +void miqt_exec_callback_ScintillaDocument_ModifyAttempt(intptr_t); +void miqt_exec_callback_ScintillaDocument_SavePoint(intptr_t, bool); +void miqt_exec_callback_ScintillaDocument_Modified(intptr_t, int, int, struct miqt_string, int, int, int, int, int); +void miqt_exec_callback_ScintillaDocument_StyleNeeded(intptr_t, int); +void miqt_exec_callback_ScintillaDocument_ErrorOccurred(intptr_t, int); +bool miqt_exec_callback_ScintillaDocument_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_ScintillaDocument_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_ScintillaDocument_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_ScintillaDocument_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_ScintillaDocument_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_ScintillaDocument_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_ScintillaDocument_DisconnectNotify(void*, intptr_t, QMetaMethod*); +intptr_t miqt_exec_callback_ScintillaEdit_Send(void*, intptr_t, unsigned int, uintptr_t, intptr_t); +intptr_t miqt_exec_callback_ScintillaEdit_Sends(void*, intptr_t, unsigned int, uintptr_t, const char*); +bool miqt_exec_callback_ScintillaEdit_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_ScintillaEdit_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_ScintillaEdit_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_ScintillaEdit_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_ScintillaEdit_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_ScintillaEdit_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_ScintillaEdit_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_ScintillaEdit_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_ScintillaEdit_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_ScintillaEdit_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_ScintillaEdit_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_ScintillaEdit_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_ScintillaEdit_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_ScintillaEdit_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_ScintillaEdit_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_ScintillaEdit_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_ScintillaEdit_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_ScintillaEdit_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_ScintillaEdit_ScrollContentsBy(void*, intptr_t, int, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" Scintilla__Internal__Point* Scintilla__Internal__Point_new() { return new Scintilla::Internal::Point(); diff --git a/qt-restricted-extras/qscintilla/gen_qsciabstractapis.cpp b/qt-restricted-extras/qscintilla/gen_qsciabstractapis.cpp index a7de2852..4ba95f01 100644 --- a/qt-restricted-extras/qscintilla/gen_qsciabstractapis.cpp +++ b/qt-restricted-extras/qscintilla/gen_qsciabstractapis.cpp @@ -11,10 +11,23 @@ #include #include "gen_qsciabstractapis.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciAbstractAPIs_UpdateAutoCompletionList(void*, intptr_t, struct miqt_array /* of struct miqt_string */ , struct miqt_array /* of struct miqt_string */ ); +void miqt_exec_callback_QsciAbstractAPIs_AutoCompletionSelected(void*, intptr_t, struct miqt_string); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciAbstractAPIs_CallTips(void*, intptr_t, struct miqt_array /* of struct miqt_string */ , int, int, struct miqt_array /* of int */ ); +bool miqt_exec_callback_QsciAbstractAPIs_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QsciAbstractAPIs_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QsciAbstractAPIs_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QsciAbstractAPIs_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QsciAbstractAPIs_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QsciAbstractAPIs_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QsciAbstractAPIs_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciAbstractAPIs : public virtual QsciAbstractAPIs { public: diff --git a/qt-restricted-extras/qscintilla/gen_qsciapis.cpp b/qt-restricted-extras/qscintilla/gen_qsciapis.cpp index 9772257c..4f454e68 100644 --- a/qt-restricted-extras/qscintilla/gen_qsciapis.cpp +++ b/qt-restricted-extras/qscintilla/gen_qsciapis.cpp @@ -8,10 +8,20 @@ #include #include "gen_qsciapis.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciAPIs_ApiPreparationCancelled(intptr_t); +void miqt_exec_callback_QsciAPIs_ApiPreparationStarted(intptr_t); +void miqt_exec_callback_QsciAPIs_ApiPreparationFinished(intptr_t); +void miqt_exec_callback_QsciAPIs_UpdateAutoCompletionList(void*, intptr_t, struct miqt_array /* of struct miqt_string */ , struct miqt_array /* of struct miqt_string */ ); +void miqt_exec_callback_QsciAPIs_AutoCompletionSelected(void*, intptr_t, struct miqt_string); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciAPIs_CallTips(void*, intptr_t, struct miqt_array /* of struct miqt_string */ , int, int, struct miqt_array /* of int */ ); +bool miqt_exec_callback_QsciAPIs_Event(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciAPIs : public virtual QsciAPIs { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscicommand.cpp b/qt-restricted-extras/qscintilla/gen_qscicommand.cpp index e845903c..08e09fe2 100644 --- a/qt-restricted-extras/qscintilla/gen_qscicommand.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscicommand.cpp @@ -4,10 +4,13 @@ #include #include "gen_qscicommand.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" int QsciCommand_Command(const QsciCommand* self) { QsciCommand::Command _ret = self->command(); diff --git a/qt-restricted-extras/qscintilla/gen_qscicommandset.cpp b/qt-restricted-extras/qscintilla/gen_qscicommandset.cpp index 6d4f57c3..659cc5a4 100644 --- a/qt-restricted-extras/qscintilla/gen_qscicommandset.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscicommandset.cpp @@ -3,10 +3,13 @@ #include #include "gen_qscicommandset.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" bool QsciCommandSet_ReadSettings(QsciCommandSet* self, QSettings* qs) { return self->readSettings(*qs); diff --git a/qt-restricted-extras/qscintilla/gen_qscidocument.cpp b/qt-restricted-extras/qscintilla/gen_qscidocument.cpp index da9f9d38..41e20bb2 100644 --- a/qt-restricted-extras/qscintilla/gen_qscidocument.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscidocument.cpp @@ -1,10 +1,13 @@ #include #include "gen_qscidocument.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QsciDocument* QsciDocument_new() { return new QsciDocument(); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexer.cpp b/qt-restricted-extras/qscintilla/gen_qscilexer.cpp index d5040ea0..b6d46bc2 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexer.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexer.cpp @@ -14,10 +14,59 @@ #include #include "gen_qscilexer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexer_ColorChanged(intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexer_EolFillChanged(intptr_t, bool, int); +void miqt_exec_callback_QsciLexer_FontChanged(intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexer_PaperChanged(intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexer_PropertyChanged(intptr_t, const char*, const char*); +const char* miqt_exec_callback_QsciLexer_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexer_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexer_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexer_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexer_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexer_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexer_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexer_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexer_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexer_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexer_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexer_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexer_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexer_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexer_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexer_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexer_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexer_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexer_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexer_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexer_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexer_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexer_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexer_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexer_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexer_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexer_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexer_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexer_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexer_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexer_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexer_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexer_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexer_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexer_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QsciLexer_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QsciLexer_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QsciLexer_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QsciLexer_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QsciLexer_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QsciLexer_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexer : public virtual QsciLexer { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexeravs.cpp b/qt-restricted-extras/qscintilla/gen_qscilexeravs.cpp index 96cef97f..d2ad8e97 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexeravs.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexeravs.cpp @@ -10,10 +10,49 @@ #include #include "gen_qscilexeravs.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerAVS_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerAVS_SetFoldCompact(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerAVS_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerAVS_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerAVS_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerAVS_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerAVS_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerAVS_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerAVS_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerAVS_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerAVS_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerAVS_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerAVS_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerAVS_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerAVS_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerAVS_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerAVS_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerAVS_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerAVS_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerAVS_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerAVS_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerAVS_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerAVS_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerAVS_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerAVS_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerAVS_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerAVS_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerAVS_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerAVS_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerAVS_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerAVS_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerAVS_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerAVS_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerAVS_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerAVS_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerAVS_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerAVS : public virtual QsciLexerAVS { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerbash.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerbash.cpp index 939f8b08..eecfe478 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerbash.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerbash.cpp @@ -10,10 +10,49 @@ #include #include "gen_qscilexerbash.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerBash_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerBash_SetFoldCompact(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerBash_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerBash_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerBash_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerBash_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerBash_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerBash_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerBash_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerBash_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerBash_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerBash_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerBash_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerBash_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerBash_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerBash_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerBash_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerBash_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerBash_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerBash_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerBash_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerBash_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerBash_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerBash_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerBash_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerBash_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerBash_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerBash_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerBash_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerBash_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerBash_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerBash_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerBash_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerBash_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerBash_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerBash_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerBash : public virtual QsciLexerBash { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerbatch.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerbatch.cpp index 64428fb3..8f83a604 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerbatch.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerbatch.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexerbatch.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerBatch_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerBatch_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerBatch_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerBatch_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerBatch_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerBatch_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerBatch_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerBatch_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerBatch_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerBatch_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerBatch_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerBatch_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerBatch_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerBatch_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerBatch_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerBatch_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerBatch_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerBatch_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerBatch_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerBatch_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerBatch_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerBatch_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerBatch_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerBatch_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerBatch_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerBatch_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerBatch_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerBatch_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerBatch_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerBatch_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerBatch_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerBatch_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerBatch_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerBatch_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerBatch : public virtual QsciLexerBatch { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexercmake.cpp b/qt-restricted-extras/qscintilla/gen_qscilexercmake.cpp index 5e44588d..e272f710 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexercmake.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexercmake.cpp @@ -10,10 +10,48 @@ #include #include "gen_qscilexercmake.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerCMake_SetFoldAtElse(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerCMake_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCMake_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerCMake_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCMake_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerCMake_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCMake_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerCMake_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCMake_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerCMake_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerCMake_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerCMake_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerCMake_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerCMake_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerCMake_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerCMake_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCMake_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerCMake_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerCMake_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCMake_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCMake_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerCMake_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerCMake_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCMake_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerCMake_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerCMake_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerCMake_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCMake_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerCMake_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerCMake_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerCMake_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerCMake_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerCMake_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerCMake_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerCMake_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerCMake : public virtual QsciLexerCMake { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexercoffeescript.cpp b/qt-restricted-extras/qscintilla/gen_qscilexercoffeescript.cpp index 3bad3925..e34e4fba 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexercoffeescript.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexercoffeescript.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexercoffeescript.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerCoffeeScript_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCoffeeScript_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerCoffeeScript_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCoffeeScript_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerCoffeeScript_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCoffeeScript_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerCoffeeScript_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCoffeeScript_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerCoffeeScript_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerCoffeeScript_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerCoffeeScript_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerCoffeeScript_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerCoffeeScript_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerCoffeeScript_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerCoffeeScript_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCoffeeScript_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerCoffeeScript_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerCoffeeScript_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCoffeeScript_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCoffeeScript_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerCoffeeScript_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerCoffeeScript_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCoffeeScript_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerCoffeeScript_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerCoffeeScript_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerCoffeeScript_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCoffeeScript_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerCoffeeScript_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerCoffeeScript_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerCoffeeScript_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerCoffeeScript_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerCoffeeScript_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerCoffeeScript_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerCoffeeScript_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerCoffeeScript : public virtual QsciLexerCoffeeScript { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexercpp.cpp b/qt-restricted-extras/qscintilla/gen_qscilexercpp.cpp index fc41fd1d..2cf34da0 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexercpp.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexercpp.cpp @@ -10,10 +10,52 @@ #include #include "gen_qscilexercpp.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerCPP_SetFoldAtElse(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerCPP_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerCPP_SetFoldCompact(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerCPP_SetFoldPreprocessor(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerCPP_SetStylePreprocessor(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerCPP_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCPP_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerCPP_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCPP_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerCPP_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCPP_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerCPP_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCPP_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerCPP_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerCPP_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerCPP_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerCPP_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerCPP_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerCPP_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerCPP_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCPP_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerCPP_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerCPP_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCPP_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCPP_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerCPP_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerCPP_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCPP_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerCPP_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerCPP_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerCPP_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCPP_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerCPP_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerCPP_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerCPP_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerCPP_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerCPP_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerCPP_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerCPP_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerCPP : public virtual QsciLexerCPP { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexercsharp.cpp b/qt-restricted-extras/qscintilla/gen_qscilexercsharp.cpp index e76fe009..32226ae2 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexercsharp.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexercsharp.cpp @@ -8,10 +8,18 @@ #include #include "gen_qscilexercsharp.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerCSharp_SetFoldAtElse(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerCSharp_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerCSharp_SetFoldCompact(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerCSharp_SetFoldPreprocessor(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerCSharp_SetStylePreprocessor(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerCSharp : public virtual QsciLexerCSharp { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexercss.cpp b/qt-restricted-extras/qscintilla/gen_qscilexercss.cpp index d4cca49c..32f92b36 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexercss.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexercss.cpp @@ -10,10 +10,49 @@ #include #include "gen_qscilexercss.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerCSS_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerCSS_SetFoldCompact(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerCSS_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCSS_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerCSS_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCSS_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerCSS_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCSS_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerCSS_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCSS_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerCSS_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerCSS_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerCSS_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerCSS_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerCSS_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerCSS_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerCSS_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCSS_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerCSS_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerCSS_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCSS_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCSS_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerCSS_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerCSS_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCSS_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerCSS_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerCSS_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerCSS_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCSS_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerCSS_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerCSS_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerCSS_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerCSS_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerCSS_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerCSS_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerCSS_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerCSS : public virtual QsciLexerCSS { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexercustom.cpp b/qt-restricted-extras/qscintilla/gen_qscilexercustom.cpp index e4a11751..ddfa06ff 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexercustom.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexercustom.cpp @@ -10,10 +10,48 @@ #include #include "gen_qscilexercustom.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerCustom_StyleText(void*, intptr_t, int, int); +void miqt_exec_callback_QsciLexerCustom_SetEditor(void*, intptr_t, QsciScintilla*); +int miqt_exec_callback_QsciLexerCustom_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCustom_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCustom_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerCustom_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCustom_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerCustom_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCustom_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerCustom_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCustom_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerCustom_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerCustom_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerCustom_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerCustom_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerCustom_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerCustom_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerCustom_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCustom_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerCustom_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerCustom_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCustom_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCustom_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerCustom_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerCustom_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCustom_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerCustom_RefreshProperties(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCustom_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerCustom_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerCustom_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerCustom_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerCustom_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerCustom_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerCustom_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerCustom_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerCustom : public virtual QsciLexerCustom { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerd.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerd.cpp index 6d561c90..70e16f63 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerd.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerd.cpp @@ -10,10 +10,50 @@ #include #include "gen_qscilexerd.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerD_SetFoldAtElse(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerD_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerD_SetFoldCompact(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerD_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerD_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerD_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerD_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerD_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerD_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerD_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerD_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerD_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerD_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerD_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerD_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerD_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerD_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerD_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerD_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerD_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerD_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerD_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerD_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerD_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerD_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerD_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerD_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerD_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerD_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerD_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerD_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerD_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerD_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerD_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerD_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerD_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerD_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerD : public virtual QsciLexerD { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerdiff.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerdiff.cpp index 9362308e..3affd993 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerdiff.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerdiff.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexerdiff.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerDiff_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerDiff_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerDiff_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerDiff_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerDiff_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerDiff_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerDiff_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerDiff_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerDiff_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerDiff_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerDiff_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerDiff_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerDiff_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerDiff_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerDiff_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerDiff_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerDiff_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerDiff_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerDiff_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerDiff_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerDiff_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerDiff_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerDiff_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerDiff_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerDiff_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerDiff_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerDiff_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerDiff_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerDiff_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerDiff_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerDiff_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerDiff_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerDiff_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerDiff_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerDiff : public virtual QsciLexerDiff { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexeredifact.cpp b/qt-restricted-extras/qscintilla/gen_qscilexeredifact.cpp index a6fb3414..f64cc693 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexeredifact.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexeredifact.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexeredifact.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerEDIFACT_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerEDIFACT_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerEDIFACT_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerEDIFACT_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerEDIFACT_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerEDIFACT_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerEDIFACT_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerEDIFACT_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerEDIFACT_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerEDIFACT_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerEDIFACT_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerEDIFACT_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerEDIFACT_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerEDIFACT_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerEDIFACT_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerEDIFACT_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerEDIFACT_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerEDIFACT_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerEDIFACT_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerEDIFACT_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerEDIFACT_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerEDIFACT_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerEDIFACT_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerEDIFACT_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerEDIFACT_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerEDIFACT_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerEDIFACT_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerEDIFACT_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerEDIFACT_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerEDIFACT_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerEDIFACT_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerEDIFACT_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerEDIFACT_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerEDIFACT_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerEDIFACT : public virtual QsciLexerEDIFACT { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerfortran.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerfortran.cpp index 4adf2538..0e440f91 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerfortran.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerfortran.cpp @@ -6,10 +6,14 @@ #include #include "gen_qscilexerfortran.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerFortran_SetFoldCompact(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerFortran : public virtual QsciLexerFortran { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerfortran77.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerfortran77.cpp index f4f6335a..428531a8 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerfortran77.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerfortran77.cpp @@ -10,10 +10,48 @@ #include #include "gen_qscilexerfortran77.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerFortran77_SetFoldCompact(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerFortran77_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerFortran77_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerFortran77_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerFortran77_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerFortran77_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerFortran77_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerFortran77_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerFortran77_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerFortran77_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerFortran77_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerFortran77_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerFortran77_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerFortran77_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerFortran77_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerFortran77_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerFortran77_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerFortran77_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerFortran77_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerFortran77_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerFortran77_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerFortran77_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerFortran77_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerFortran77_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerFortran77_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerFortran77_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerFortran77_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerFortran77_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerFortran77_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerFortran77_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerFortran77_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerFortran77_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerFortran77_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerFortran77_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerFortran77_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerFortran77 : public virtual QsciLexerFortran77 { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerhtml.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerhtml.cpp index 8b02d76a..b5efc0d5 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerhtml.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerhtml.cpp @@ -10,10 +10,50 @@ #include #include "gen_qscilexerhtml.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerHTML_SetFoldCompact(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerHTML_SetFoldPreprocessor(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerHTML_SetCaseSensitiveTags(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerHTML_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerHTML_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerHTML_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerHTML_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerHTML_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerHTML_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerHTML_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerHTML_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerHTML_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerHTML_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerHTML_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerHTML_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerHTML_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerHTML_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerHTML_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerHTML_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerHTML_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerHTML_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerHTML_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerHTML_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerHTML_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerHTML_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerHTML_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerHTML_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerHTML_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerHTML_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerHTML_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerHTML_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerHTML_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerHTML_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerHTML_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerHTML_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerHTML_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerHTML_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerHTML : public virtual QsciLexerHTML { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexeridl.cpp b/qt-restricted-extras/qscintilla/gen_qscilexeridl.cpp index 4ecb3b04..9cda741e 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexeridl.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexeridl.cpp @@ -7,10 +7,18 @@ #include #include "gen_qscilexeridl.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerIDL_SetFoldAtElse(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerIDL_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerIDL_SetFoldCompact(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerIDL_SetFoldPreprocessor(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerIDL_SetStylePreprocessor(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerIDL : public virtual QsciLexerIDL { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerjava.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerjava.cpp index 7823401e..c689f1b6 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerjava.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerjava.cpp @@ -6,10 +6,18 @@ #include #include "gen_qscilexerjava.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerJava_SetFoldAtElse(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerJava_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerJava_SetFoldCompact(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerJava_SetFoldPreprocessor(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerJava_SetStylePreprocessor(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerJava : public virtual QsciLexerJava { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerjavascript.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerjavascript.cpp index 2b4c1879..ff8ca2ff 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerjavascript.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerjavascript.cpp @@ -8,10 +8,18 @@ #include #include "gen_qscilexerjavascript.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerJavaScript_SetFoldAtElse(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerJavaScript_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerJavaScript_SetFoldCompact(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerJavaScript_SetFoldPreprocessor(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerJavaScript_SetStylePreprocessor(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerJavaScript : public virtual QsciLexerJavaScript { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerjson.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerjson.cpp index 70302f7b..0220e428 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerjson.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerjson.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexerjson.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerJSON_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerJSON_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerJSON_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerJSON_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerJSON_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerJSON_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerJSON_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerJSON_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerJSON_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerJSON_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerJSON_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerJSON_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerJSON_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerJSON_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerJSON_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerJSON_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerJSON_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerJSON_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerJSON_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerJSON_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerJSON_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerJSON_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerJSON_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerJSON_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerJSON_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerJSON_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerJSON_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerJSON_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerJSON_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerJSON_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerJSON_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerJSON_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerJSON_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerJSON_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerJSON : public virtual QsciLexerJSON { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerlua.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerlua.cpp index 7eaecfde..8e18b02e 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerlua.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerlua.cpp @@ -10,10 +10,48 @@ #include #include "gen_qscilexerlua.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerLua_SetFoldCompact(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerLua_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerLua_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerLua_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerLua_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerLua_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerLua_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerLua_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerLua_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerLua_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerLua_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerLua_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerLua_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerLua_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerLua_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerLua_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerLua_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerLua_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerLua_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerLua_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerLua_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerLua_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerLua_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerLua_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerLua_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerLua_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerLua_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerLua_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerLua_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerLua_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerLua_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerLua_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerLua_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerLua_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerLua_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerLua : public virtual QsciLexerLua { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexermakefile.cpp b/qt-restricted-extras/qscintilla/gen_qscilexermakefile.cpp index 00ea6a9f..1154065c 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexermakefile.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexermakefile.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexermakefile.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerMakefile_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMakefile_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerMakefile_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMakefile_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerMakefile_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMakefile_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerMakefile_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMakefile_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerMakefile_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerMakefile_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerMakefile_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerMakefile_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerMakefile_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerMakefile_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerMakefile_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMakefile_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerMakefile_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerMakefile_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerMakefile_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerMakefile_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerMakefile_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerMakefile_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerMakefile_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerMakefile_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerMakefile_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerMakefile_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMakefile_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerMakefile_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerMakefile_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerMakefile_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerMakefile_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerMakefile_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerMakefile_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerMakefile_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerMakefile : public virtual QsciLexerMakefile { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexermarkdown.cpp b/qt-restricted-extras/qscintilla/gen_qscilexermarkdown.cpp index 988ec0ad..54faccf2 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexermarkdown.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexermarkdown.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexermarkdown.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerMarkdown_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMarkdown_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerMarkdown_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMarkdown_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerMarkdown_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMarkdown_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerMarkdown_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMarkdown_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerMarkdown_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerMarkdown_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerMarkdown_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerMarkdown_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerMarkdown_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerMarkdown_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerMarkdown_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMarkdown_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerMarkdown_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerMarkdown_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerMarkdown_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerMarkdown_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerMarkdown_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerMarkdown_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerMarkdown_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerMarkdown_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerMarkdown_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerMarkdown_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMarkdown_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerMarkdown_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerMarkdown_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerMarkdown_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerMarkdown_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerMarkdown_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerMarkdown_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerMarkdown_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerMarkdown : public virtual QsciLexerMarkdown { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexermatlab.cpp b/qt-restricted-extras/qscintilla/gen_qscilexermatlab.cpp index f4af8429..204c2789 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexermatlab.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexermatlab.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexermatlab.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerMatlab_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMatlab_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerMatlab_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMatlab_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerMatlab_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMatlab_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerMatlab_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMatlab_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerMatlab_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerMatlab_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerMatlab_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerMatlab_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerMatlab_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerMatlab_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerMatlab_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMatlab_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerMatlab_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerMatlab_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerMatlab_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerMatlab_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerMatlab_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerMatlab_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerMatlab_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerMatlab_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerMatlab_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerMatlab_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMatlab_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerMatlab_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerMatlab_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerMatlab_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerMatlab_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerMatlab_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerMatlab_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerMatlab_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerMatlab : public virtual QsciLexerMatlab { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexeroctave.cpp b/qt-restricted-extras/qscintilla/gen_qscilexeroctave.cpp index b318c211..4ba23a3f 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexeroctave.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexeroctave.cpp @@ -6,10 +6,13 @@ #include #include "gen_qscilexeroctave.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QsciLexerOctave* QsciLexerOctave_new() { return new QsciLexerOctave(); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerpascal.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerpascal.cpp index 5cb01679..227af7b2 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerpascal.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerpascal.cpp @@ -10,10 +10,50 @@ #include #include "gen_qscilexerpascal.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerPascal_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerPascal_SetFoldCompact(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerPascal_SetFoldPreprocessor(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerPascal_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPascal_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerPascal_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPascal_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerPascal_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPascal_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerPascal_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPascal_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerPascal_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerPascal_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerPascal_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerPascal_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerPascal_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerPascal_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerPascal_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPascal_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerPascal_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerPascal_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPascal_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPascal_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerPascal_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerPascal_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPascal_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPascal_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerPascal_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerPascal_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPascal_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerPascal_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPascal_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerPascal_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerPascal_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerPascal_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerPascal_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerPascal_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerPascal : public virtual QsciLexerPascal { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerperl.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerperl.cpp index 7c46250d..23799b17 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerperl.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerperl.cpp @@ -10,10 +10,49 @@ #include #include "gen_qscilexerperl.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerPerl_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerPerl_SetFoldCompact(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerPerl_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPerl_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerPerl_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPerl_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerPerl_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPerl_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerPerl_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPerl_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerPerl_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerPerl_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerPerl_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerPerl_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerPerl_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerPerl_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerPerl_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPerl_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerPerl_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerPerl_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPerl_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPerl_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerPerl_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerPerl_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPerl_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPerl_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerPerl_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerPerl_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPerl_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerPerl_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPerl_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerPerl_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerPerl_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerPerl_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerPerl_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerPerl_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerPerl : public virtual QsciLexerPerl { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerpo.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerpo.cpp index 7805693b..486f1cc7 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerpo.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerpo.cpp @@ -10,10 +10,49 @@ #include #include "gen_qscilexerpo.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerPO_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerPO_SetFoldCompact(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerPO_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPO_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerPO_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPO_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerPO_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPO_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerPO_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPO_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerPO_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerPO_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerPO_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerPO_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerPO_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerPO_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerPO_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPO_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerPO_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerPO_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPO_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPO_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerPO_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerPO_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPO_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPO_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerPO_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerPO_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPO_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerPO_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPO_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerPO_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerPO_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerPO_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerPO_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerPO_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerPO : public virtual QsciLexerPO { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerpostscript.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerpostscript.cpp index c1d8fd95..ccbc5b73 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerpostscript.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerpostscript.cpp @@ -10,10 +10,51 @@ #include #include "gen_qscilexerpostscript.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerPostScript_SetTokenize(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerPostScript_SetLevel(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPostScript_SetFoldCompact(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerPostScript_SetFoldAtElse(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerPostScript_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPostScript_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerPostScript_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPostScript_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerPostScript_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPostScript_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerPostScript_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPostScript_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerPostScript_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerPostScript_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerPostScript_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerPostScript_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerPostScript_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerPostScript_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerPostScript_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPostScript_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerPostScript_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerPostScript_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPostScript_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPostScript_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerPostScript_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerPostScript_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPostScript_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPostScript_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerPostScript_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerPostScript_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPostScript_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerPostScript_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPostScript_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerPostScript_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerPostScript_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerPostScript_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerPostScript_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerPostScript_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerPostScript : public virtual QsciLexerPostScript { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerpov.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerpov.cpp index cf99f075..ae31edf4 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerpov.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerpov.cpp @@ -10,10 +10,50 @@ #include #include "gen_qscilexerpov.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerPOV_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerPOV_SetFoldCompact(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerPOV_SetFoldDirectives(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerPOV_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPOV_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerPOV_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPOV_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerPOV_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPOV_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerPOV_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPOV_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerPOV_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerPOV_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerPOV_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerPOV_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerPOV_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerPOV_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerPOV_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPOV_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerPOV_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerPOV_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPOV_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPOV_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerPOV_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerPOV_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPOV_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPOV_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerPOV_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerPOV_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPOV_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerPOV_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPOV_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerPOV_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerPOV_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerPOV_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerPOV_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerPOV_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerPOV : public virtual QsciLexerPOV { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerproperties.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerproperties.cpp index f9113bbf..aa00ae76 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerproperties.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerproperties.cpp @@ -10,10 +10,48 @@ #include #include "gen_qscilexerproperties.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerProperties_SetFoldCompact(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerProperties_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerProperties_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerProperties_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerProperties_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerProperties_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerProperties_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerProperties_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerProperties_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerProperties_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerProperties_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerProperties_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerProperties_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerProperties_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerProperties_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerProperties_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerProperties_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerProperties_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerProperties_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerProperties_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerProperties_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerProperties_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerProperties_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerProperties_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerProperties_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerProperties_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerProperties_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerProperties_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerProperties_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerProperties_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerProperties_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerProperties_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerProperties_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerProperties_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerProperties_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerProperties : public virtual QsciLexerProperties { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerpython.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerpython.cpp index 52e48c02..135ff8b1 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerpython.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerpython.cpp @@ -10,10 +10,50 @@ #include #include "gen_qscilexerpython.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QsciLexerPython_IndentationGuideView(void*, intptr_t); +void miqt_exec_callback_QsciLexerPython_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerPython_SetFoldQuotes(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerPython_SetIndentationWarning(void*, intptr_t, int); +const char* miqt_exec_callback_QsciLexerPython_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPython_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerPython_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPython_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerPython_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPython_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerPython_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPython_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerPython_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerPython_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerPython_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerPython_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerPython_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerPython_Font(void*, intptr_t, int); +const char* miqt_exec_callback_QsciLexerPython_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerPython_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerPython_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPython_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPython_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerPython_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerPython_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPython_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPython_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerPython_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerPython_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPython_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerPython_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPython_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerPython_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerPython_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerPython_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerPython_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerPython_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerPython : public virtual QsciLexerPython { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerruby.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerruby.cpp index 13c4550d..69ee39ac 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerruby.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerruby.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexerruby.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerRuby_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerRuby_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerRuby_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerRuby_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerRuby_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerRuby_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerRuby_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerRuby_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerRuby_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerRuby_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerRuby_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerRuby_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerRuby_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerRuby_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerRuby_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerRuby_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerRuby_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerRuby_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerRuby_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerRuby_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerRuby_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerRuby_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerRuby_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerRuby_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerRuby_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerRuby_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerRuby_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerRuby_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerRuby_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerRuby_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerRuby_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerRuby_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerRuby_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerRuby_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerRuby : public virtual QsciLexerRuby { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerspice.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerspice.cpp index 97090674..993df4ef 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerspice.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerspice.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexerspice.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerSpice_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerSpice_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerSpice_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerSpice_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerSpice_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerSpice_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerSpice_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerSpice_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerSpice_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerSpice_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerSpice_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerSpice_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerSpice_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerSpice_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerSpice_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerSpice_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerSpice_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerSpice_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerSpice_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerSpice_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerSpice_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerSpice_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerSpice_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerSpice_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerSpice_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerSpice_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerSpice_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerSpice_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerSpice_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerSpice_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerSpice_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerSpice_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerSpice_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerSpice_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerSpice : public virtual QsciLexerSpice { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexersql.cpp b/qt-restricted-extras/qscintilla/gen_qscilexersql.cpp index 8cd95489..6270ccbd 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexersql.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexersql.cpp @@ -10,10 +10,50 @@ #include #include "gen_qscilexersql.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerSQL_SetBackslashEscapes(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerSQL_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerSQL_SetFoldCompact(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerSQL_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerSQL_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerSQL_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerSQL_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerSQL_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerSQL_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerSQL_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerSQL_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerSQL_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerSQL_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerSQL_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerSQL_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerSQL_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerSQL_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerSQL_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerSQL_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerSQL_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerSQL_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerSQL_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerSQL_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerSQL_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerSQL_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerSQL_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerSQL_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerSQL_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerSQL_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerSQL_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerSQL_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerSQL_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerSQL_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerSQL_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerSQL_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerSQL_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerSQL_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerSQL : public virtual QsciLexerSQL { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexertcl.cpp b/qt-restricted-extras/qscintilla/gen_qscilexertcl.cpp index 6a12d957..463953f5 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexertcl.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexertcl.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexertcl.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerTCL_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerTCL_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerTCL_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerTCL_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerTCL_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerTCL_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerTCL_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerTCL_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerTCL_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerTCL_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerTCL_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerTCL_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerTCL_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerTCL_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerTCL_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerTCL_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerTCL_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerTCL_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerTCL_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerTCL_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerTCL_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerTCL_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerTCL_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerTCL_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerTCL_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerTCL_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerTCL_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerTCL_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerTCL_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerTCL_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerTCL_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerTCL_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerTCL_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerTCL_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerTCL : public virtual QsciLexerTCL { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexertex.cpp b/qt-restricted-extras/qscintilla/gen_qscilexertex.cpp index 2949b39b..592faac0 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexertex.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexertex.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexertex.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerTeX_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerTeX_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerTeX_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerTeX_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerTeX_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerTeX_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerTeX_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerTeX_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerTeX_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerTeX_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerTeX_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerTeX_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerTeX_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerTeX_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerTeX_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerTeX_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerTeX_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerTeX_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerTeX_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerTeX_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerTeX_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerTeX_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerTeX_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerTeX_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerTeX_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerTeX_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerTeX_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerTeX_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerTeX_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerTeX_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerTeX_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerTeX_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerTeX_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerTeX_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerTeX : public virtual QsciLexerTeX { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerverilog.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerverilog.cpp index 9c940555..c61e1189 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerverilog.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerverilog.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexerverilog.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerVerilog_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerVerilog_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerVerilog_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerVerilog_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerVerilog_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerVerilog_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerVerilog_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerVerilog_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerVerilog_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerVerilog_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerVerilog_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerVerilog_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerVerilog_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerVerilog_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerVerilog_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerVerilog_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerVerilog_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerVerilog_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerVerilog_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerVerilog_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerVerilog_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerVerilog_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerVerilog_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerVerilog_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerVerilog_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerVerilog_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerVerilog_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerVerilog_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerVerilog_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerVerilog_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerVerilog_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerVerilog_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerVerilog_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerVerilog_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerVerilog : public virtual QsciLexerVerilog { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexervhdl.cpp b/qt-restricted-extras/qscintilla/gen_qscilexervhdl.cpp index fba344a5..34b1abed 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexervhdl.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexervhdl.cpp @@ -10,10 +10,52 @@ #include #include "gen_qscilexervhdl.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerVHDL_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerVHDL_SetFoldCompact(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerVHDL_SetFoldAtElse(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerVHDL_SetFoldAtBegin(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerVHDL_SetFoldAtParenthesis(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerVHDL_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerVHDL_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerVHDL_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerVHDL_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerVHDL_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerVHDL_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerVHDL_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerVHDL_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerVHDL_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerVHDL_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerVHDL_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerVHDL_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerVHDL_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerVHDL_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerVHDL_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerVHDL_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerVHDL_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerVHDL_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerVHDL_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerVHDL_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerVHDL_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerVHDL_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerVHDL_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerVHDL_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerVHDL_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerVHDL_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerVHDL_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerVHDL_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerVHDL_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerVHDL_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerVHDL_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerVHDL_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerVHDL_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerVHDL_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerVHDL : public virtual QsciLexerVHDL { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerxml.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerxml.cpp index 80f4819b..582a3b8f 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerxml.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerxml.cpp @@ -8,10 +8,16 @@ #include #include "gen_qscilexerxml.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerXML_SetFoldCompact(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerXML_SetFoldPreprocessor(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerXML_SetCaseSensitiveTags(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerXML : public virtual QsciLexerXML { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscilexeryaml.cpp b/qt-restricted-extras/qscintilla/gen_qscilexeryaml.cpp index d70f57ee..5fc998b3 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexeryaml.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexeryaml.cpp @@ -10,10 +10,48 @@ #include #include "gen_qscilexeryaml.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerYAML_SetFoldComments(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerYAML_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerYAML_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerYAML_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerYAML_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerYAML_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerYAML_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerYAML_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerYAML_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerYAML_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerYAML_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerYAML_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerYAML_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerYAML_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerYAML_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerYAML_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerYAML_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerYAML_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerYAML_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerYAML_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerYAML_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerYAML_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerYAML_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerYAML_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerYAML_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerYAML_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerYAML_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerYAML_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerYAML_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerYAML_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerYAML_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerYAML_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerYAML_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerYAML_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerYAML_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerYAML : public virtual QsciLexerYAML { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscimacro.cpp b/qt-restricted-extras/qscintilla/gen_qscimacro.cpp index 7cdfa554..d047815e 100644 --- a/qt-restricted-extras/qscintilla/gen_qscimacro.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscimacro.cpp @@ -10,10 +10,23 @@ #include #include "gen_qscimacro.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciMacro_Play(void*, intptr_t); +void miqt_exec_callback_QsciMacro_StartRecording(void*, intptr_t); +void miqt_exec_callback_QsciMacro_EndRecording(void*, intptr_t); +bool miqt_exec_callback_QsciMacro_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QsciMacro_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QsciMacro_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QsciMacro_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QsciMacro_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QsciMacro_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QsciMacro_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciMacro : public virtual QsciMacro { public: diff --git a/qt-restricted-extras/qscintilla/gen_qsciprinter.cpp b/qt-restricted-extras/qscintilla/gen_qsciprinter.cpp index 03dee0f8..d4bfb499 100644 --- a/qt-restricted-extras/qscintilla/gen_qsciprinter.cpp +++ b/qt-restricted-extras/qscintilla/gen_qsciprinter.cpp @@ -9,10 +9,25 @@ #include #include "gen_qsciprinter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciPrinter_FormatPage(void*, intptr_t, QPainter*, bool, QRect*, int); +void miqt_exec_callback_QsciPrinter_SetMagnification(void*, intptr_t, int); +int miqt_exec_callback_QsciPrinter_PrintRange(void*, intptr_t, QsciScintillaBase*, QPainter*, int, int); +int miqt_exec_callback_QsciPrinter_PrintRange2(void*, intptr_t, QsciScintillaBase*, int, int); +void miqt_exec_callback_QsciPrinter_SetWrapMode(void*, intptr_t, int); +int miqt_exec_callback_QsciPrinter_DevType(void*, intptr_t); +void miqt_exec_callback_QsciPrinter_SetPageSize(void*, intptr_t, int); +void miqt_exec_callback_QsciPrinter_SetPageSizeMM(void*, intptr_t, QSizeF*); +bool miqt_exec_callback_QsciPrinter_NewPage(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QsciPrinter_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QsciPrinter_SetMargins(void*, intptr_t, QPagedPaintDevice__Margins*); +int miqt_exec_callback_QsciPrinter_Metric(void*, intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciPrinter : public virtual QsciPrinter { public: diff --git a/qt-restricted-extras/qscintilla/gen_qsciscintilla.cpp b/qt-restricted-extras/qscintilla/gen_qsciscintilla.cpp index 8a098709..50c38cce 100644 --- a/qt-restricted-extras/qscintilla/gen_qsciscintilla.cpp +++ b/qt-restricted-extras/qscintilla/gen_qsciscintilla.cpp @@ -34,10 +34,132 @@ #include #include "gen_qsciscintilla.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciScintilla_CursorPositionChanged(intptr_t, int, int); +void miqt_exec_callback_QsciScintilla_CopyAvailable(intptr_t, bool); +void miqt_exec_callback_QsciScintilla_IndicatorClicked(intptr_t, int, int, int); +void miqt_exec_callback_QsciScintilla_IndicatorReleased(intptr_t, int, int, int); +void miqt_exec_callback_QsciScintilla_LinesChanged(intptr_t); +void miqt_exec_callback_QsciScintilla_MarginClicked(intptr_t, int, int, int); +void miqt_exec_callback_QsciScintilla_MarginRightClicked(intptr_t, int, int, int); +void miqt_exec_callback_QsciScintilla_ModificationAttempted(intptr_t); +void miqt_exec_callback_QsciScintilla_ModificationChanged(intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SelectionChanged(intptr_t); +void miqt_exec_callback_QsciScintilla_TextChanged(intptr_t); +void miqt_exec_callback_QsciScintilla_UserListActivated(intptr_t, int, struct miqt_string); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciScintilla_ApiContext(void*, intptr_t, int, int*, int*); +bool miqt_exec_callback_QsciScintilla_FindFirst(void*, intptr_t, struct miqt_string, bool, bool, bool, bool, bool, int, int, bool, bool, bool); +bool miqt_exec_callback_QsciScintilla_FindFirstInSelection(void*, intptr_t, struct miqt_string, bool, bool, bool, bool, bool, bool, bool); +bool miqt_exec_callback_QsciScintilla_FindNext(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_Recolor(void*, intptr_t, int, int); +void miqt_exec_callback_QsciScintilla_Replace(void*, intptr_t, struct miqt_string); +void miqt_exec_callback_QsciScintilla_Append(void*, intptr_t, struct miqt_string); +void miqt_exec_callback_QsciScintilla_AutoCompleteFromAll(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_AutoCompleteFromAPIs(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_AutoCompleteFromDocument(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_CallTip(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_Clear(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_Copy(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_Cut(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_EnsureCursorVisible(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_EnsureLineVisible(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_FoldAll(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_FoldLine(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_Indent(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_Insert(void*, intptr_t, struct miqt_string); +void miqt_exec_callback_QsciScintilla_InsertAt(void*, intptr_t, struct miqt_string, int, int); +void miqt_exec_callback_QsciScintilla_MoveToMatchingBrace(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_Paste(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_Redo(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_RemoveSelectedText(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_ReplaceSelectedText(void*, intptr_t, struct miqt_string); +void miqt_exec_callback_QsciScintilla_ResetSelectionBackgroundColor(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_ResetSelectionForegroundColor(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_SelectAll(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SelectToMatchingBrace(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_SetAutoCompletionCaseSensitivity(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetAutoCompletionReplaceWord(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetAutoCompletionShowSingle(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetAutoCompletionSource(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_SetAutoCompletionThreshold(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_SetAutoCompletionUseSingle(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_SetAutoIndent(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetBraceMatching(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_SetBackspaceUnindents(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetCaretForegroundColor(void*, intptr_t, QColor*); +void miqt_exec_callback_QsciScintilla_SetCaretLineBackgroundColor(void*, intptr_t, QColor*); +void miqt_exec_callback_QsciScintilla_SetCaretLineFrameWidth(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_SetCaretLineVisible(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetCaretWidth(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_SetColor(void*, intptr_t, QColor*); +void miqt_exec_callback_QsciScintilla_SetCursorPosition(void*, intptr_t, int, int); +void miqt_exec_callback_QsciScintilla_SetEolMode(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_SetEolVisibility(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetFolding(void*, intptr_t, int, int); +void miqt_exec_callback_QsciScintilla_SetIndentation(void*, intptr_t, int, int); +void miqt_exec_callback_QsciScintilla_SetIndentationGuides(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetIndentationGuidesBackgroundColor(void*, intptr_t, QColor*); +void miqt_exec_callback_QsciScintilla_SetIndentationGuidesForegroundColor(void*, intptr_t, QColor*); +void miqt_exec_callback_QsciScintilla_SetIndentationsUseTabs(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetIndentationWidth(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_SetLexer(void*, intptr_t, QsciLexer*); +void miqt_exec_callback_QsciScintilla_SetMarginsBackgroundColor(void*, intptr_t, QColor*); +void miqt_exec_callback_QsciScintilla_SetMarginsFont(void*, intptr_t, QFont*); +void miqt_exec_callback_QsciScintilla_SetMarginsForegroundColor(void*, intptr_t, QColor*); +void miqt_exec_callback_QsciScintilla_SetMarginLineNumbers(void*, intptr_t, int, bool); +void miqt_exec_callback_QsciScintilla_SetMarginMarkerMask(void*, intptr_t, int, int); +void miqt_exec_callback_QsciScintilla_SetMarginSensitivity(void*, intptr_t, int, bool); +void miqt_exec_callback_QsciScintilla_SetMarginWidth(void*, intptr_t, int, int); +void miqt_exec_callback_QsciScintilla_SetMarginWidth2(void*, intptr_t, int, struct miqt_string); +void miqt_exec_callback_QsciScintilla_SetModified(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetPaper(void*, intptr_t, QColor*); +void miqt_exec_callback_QsciScintilla_SetReadOnly(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetSelection(void*, intptr_t, int, int, int, int); +void miqt_exec_callback_QsciScintilla_SetSelectionBackgroundColor(void*, intptr_t, QColor*); +void miqt_exec_callback_QsciScintilla_SetSelectionForegroundColor(void*, intptr_t, QColor*); +void miqt_exec_callback_QsciScintilla_SetTabIndents(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetTabWidth(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_SetText(void*, intptr_t, struct miqt_string); +void miqt_exec_callback_QsciScintilla_SetUtf8(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetWhitespaceVisibility(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_SetWrapMode(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_Undo(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_Unindent(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_ZoomIn(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_ZoomIn2(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_ZoomOut(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_ZoomOut2(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_ZoomTo(void*, intptr_t, int); +bool miqt_exec_callback_QsciScintilla_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QsciScintilla_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QsciScintilla_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QsciScintilla_WheelEvent(void*, intptr_t, QWheelEvent*); +bool miqt_exec_callback_QsciScintilla_CanInsertFromMimeData(void*, intptr_t, QMimeData*); +struct miqt_string miqt_exec_callback_QsciScintilla_FromMimeData(void*, intptr_t, QMimeData*, bool*); +QMimeData* miqt_exec_callback_QsciScintilla_ToMimeData(void*, intptr_t, struct miqt_string, bool); +void miqt_exec_callback_QsciScintilla_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QsciScintilla_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QsciScintilla_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QsciScintilla_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QsciScintilla_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QsciScintilla_FocusOutEvent(void*, intptr_t, QFocusEvent*); +bool miqt_exec_callback_QsciScintilla_FocusNextPrevChild(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QsciScintilla_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QsciScintilla_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QsciScintilla_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QsciScintilla_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QsciScintilla_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QsciScintilla_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QsciScintilla_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QsciScintilla_ScrollContentsBy(void*, intptr_t, int, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciScintilla : public virtual QsciScintilla { public: diff --git a/qt-restricted-extras/qscintilla/gen_qsciscintillabase.cpp b/qt-restricted-extras/qscintilla/gen_qsciscintillabase.cpp index 5968fe84..b61daaa7 100644 --- a/qt-restricted-extras/qscintilla/gen_qsciscintillabase.cpp +++ b/qt-restricted-extras/qscintilla/gen_qsciscintillabase.cpp @@ -34,10 +34,79 @@ #include #include "gen_qsciscintillabase.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciScintillaBase_QSCN_SELCHANGED(intptr_t, bool); +void miqt_exec_callback_QsciScintillaBase_SCN_AUTOCCANCELLED(intptr_t); +void miqt_exec_callback_QsciScintillaBase_SCN_AUTOCCHARDELETED(intptr_t); +void miqt_exec_callback_QsciScintillaBase_SCN_AUTOCCOMPLETED(intptr_t, const char*, int, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_AUTOCSELECTION(intptr_t, const char*, int, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_AUTOCSELECTION2(intptr_t, const char*, int); +void miqt_exec_callback_QsciScintillaBase_SCN_AUTOCSELECTIONCHANGE(intptr_t, const char*, int, int); +void miqt_exec_callback_QsciScintillaBase_SCEN_CHANGE(intptr_t); +void miqt_exec_callback_QsciScintillaBase_SCN_CALLTIPCLICK(intptr_t, int); +void miqt_exec_callback_QsciScintillaBase_SCN_CHARADDED(intptr_t, int); +void miqt_exec_callback_QsciScintillaBase_SCN_DOUBLECLICK(intptr_t, int, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_DWELLEND(intptr_t, int, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_DWELLSTART(intptr_t, int, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_FOCUSIN(intptr_t); +void miqt_exec_callback_QsciScintillaBase_SCN_FOCUSOUT(intptr_t); +void miqt_exec_callback_QsciScintillaBase_SCN_HOTSPOTCLICK(intptr_t, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_HOTSPOTDOUBLECLICK(intptr_t, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_HOTSPOTRELEASECLICK(intptr_t, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_INDICATORCLICK(intptr_t, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_INDICATORRELEASE(intptr_t, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_MACRORECORD(intptr_t, unsigned int, unsigned long, void*); +void miqt_exec_callback_QsciScintillaBase_SCN_MARGINCLICK(intptr_t, int, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_MARGINRIGHTCLICK(intptr_t, int, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_MODIFIED(intptr_t, int, int, const char*, int, int, int, int, int, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_MODIFYATTEMPTRO(intptr_t); +void miqt_exec_callback_QsciScintillaBase_SCN_NEEDSHOWN(intptr_t, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_PAINTED(intptr_t); +void miqt_exec_callback_QsciScintillaBase_SCN_SAVEPOINTLEFT(intptr_t); +void miqt_exec_callback_QsciScintillaBase_SCN_SAVEPOINTREACHED(intptr_t); +void miqt_exec_callback_QsciScintillaBase_SCN_STYLENEEDED(intptr_t, int); +void miqt_exec_callback_QsciScintillaBase_SCN_URIDROPPED(intptr_t, QUrl*); +void miqt_exec_callback_QsciScintillaBase_SCN_UPDATEUI(intptr_t, int); +void miqt_exec_callback_QsciScintillaBase_SCN_USERLISTSELECTION(intptr_t, const char*, int, int, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_USERLISTSELECTION2(intptr_t, const char*, int, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_USERLISTSELECTION3(intptr_t, const char*, int); +void miqt_exec_callback_QsciScintillaBase_SCN_ZOOM(intptr_t); +bool miqt_exec_callback_QsciScintillaBase_CanInsertFromMimeData(void*, intptr_t, QMimeData*); +struct miqt_string miqt_exec_callback_QsciScintillaBase_FromMimeData(void*, intptr_t, QMimeData*, bool*); +QMimeData* miqt_exec_callback_QsciScintillaBase_ToMimeData(void*, intptr_t, struct miqt_string, bool); +void miqt_exec_callback_QsciScintillaBase_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QsciScintillaBase_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QsciScintillaBase_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QsciScintillaBase_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QsciScintillaBase_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QsciScintillaBase_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QsciScintillaBase_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QsciScintillaBase_FocusOutEvent(void*, intptr_t, QFocusEvent*); +bool miqt_exec_callback_QsciScintillaBase_FocusNextPrevChild(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintillaBase_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QsciScintillaBase_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QsciScintillaBase_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QsciScintillaBase_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QsciScintillaBase_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QsciScintillaBase_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QsciScintillaBase_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QsciScintillaBase_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QsciScintillaBase_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QsciScintillaBase_ScrollContentsBy(void*, intptr_t, int, int); +QSize* miqt_exec_callback_QsciScintillaBase_MinimumSizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QsciScintillaBase_SizeHint(void*, intptr_t); +void miqt_exec_callback_QsciScintillaBase_SetupViewport(void*, intptr_t, QWidget*); +bool miqt_exec_callback_QsciScintillaBase_EventFilter(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QsciScintillaBase_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QsciScintillaBase_ViewportEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QsciScintillaBase_WheelEvent(void*, intptr_t, QWheelEvent*); +QSize* miqt_exec_callback_QsciScintillaBase_ViewportSizeHint(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciScintillaBase : public virtual QsciScintillaBase { public: diff --git a/qt-restricted-extras/qscintilla/gen_qscistyle.cpp b/qt-restricted-extras/qscintilla/gen_qscistyle.cpp index 5ac06136..a856dbc1 100644 --- a/qt-restricted-extras/qscintilla/gen_qscistyle.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscistyle.cpp @@ -6,10 +6,13 @@ #include #include "gen_qscistyle.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QsciStyle* QsciStyle_new() { return new QsciStyle(); diff --git a/qt-restricted-extras/qscintilla/gen_qscistyledtext.cpp b/qt-restricted-extras/qscintilla/gen_qscistyledtext.cpp index 849df1a0..28e78713 100644 --- a/qt-restricted-extras/qscintilla/gen_qscistyledtext.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscistyledtext.cpp @@ -4,10 +4,13 @@ #include #include "gen_qscistyledtext.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QsciStyledText* QsciStyledText_new(struct miqt_string text, int style) { QString text_QString = QString::fromUtf8(text.data, text.len); diff --git a/qt-restricted-extras/qscintilla6/gen_qsciabstractapis.cpp b/qt-restricted-extras/qscintilla6/gen_qsciabstractapis.cpp index 1a20905f..692a2096 100644 --- a/qt-restricted-extras/qscintilla6/gen_qsciabstractapis.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qsciabstractapis.cpp @@ -11,10 +11,23 @@ #include #include "gen_qsciabstractapis.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciAbstractAPIs_UpdateAutoCompletionList(void*, intptr_t, struct miqt_array /* of struct miqt_string */ , struct miqt_array /* of struct miqt_string */ ); +void miqt_exec_callback_QsciAbstractAPIs_AutoCompletionSelected(void*, intptr_t, struct miqt_string); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciAbstractAPIs_CallTips(void*, intptr_t, struct miqt_array /* of struct miqt_string */ , int, int, struct miqt_array /* of int */ ); +bool miqt_exec_callback_QsciAbstractAPIs_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QsciAbstractAPIs_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QsciAbstractAPIs_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QsciAbstractAPIs_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QsciAbstractAPIs_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QsciAbstractAPIs_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QsciAbstractAPIs_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciAbstractAPIs : public virtual QsciAbstractAPIs { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qsciapis.cpp b/qt-restricted-extras/qscintilla6/gen_qsciapis.cpp index 7c8e95bd..e0fa2c82 100644 --- a/qt-restricted-extras/qscintilla6/gen_qsciapis.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qsciapis.cpp @@ -8,10 +8,20 @@ #include #include "gen_qsciapis.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciAPIs_ApiPreparationCancelled(intptr_t); +void miqt_exec_callback_QsciAPIs_ApiPreparationStarted(intptr_t); +void miqt_exec_callback_QsciAPIs_ApiPreparationFinished(intptr_t); +void miqt_exec_callback_QsciAPIs_UpdateAutoCompletionList(void*, intptr_t, struct miqt_array /* of struct miqt_string */ , struct miqt_array /* of struct miqt_string */ ); +void miqt_exec_callback_QsciAPIs_AutoCompletionSelected(void*, intptr_t, struct miqt_string); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciAPIs_CallTips(void*, intptr_t, struct miqt_array /* of struct miqt_string */ , int, int, struct miqt_array /* of int */ ); +bool miqt_exec_callback_QsciAPIs_Event(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciAPIs : public virtual QsciAPIs { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscicommand.cpp b/qt-restricted-extras/qscintilla6/gen_qscicommand.cpp index e845903c..08e09fe2 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscicommand.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscicommand.cpp @@ -4,10 +4,13 @@ #include #include "gen_qscicommand.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" int QsciCommand_Command(const QsciCommand* self) { QsciCommand::Command _ret = self->command(); diff --git a/qt-restricted-extras/qscintilla6/gen_qscicommandset.cpp b/qt-restricted-extras/qscintilla6/gen_qscicommandset.cpp index 6d4f57c3..659cc5a4 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscicommandset.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscicommandset.cpp @@ -3,10 +3,13 @@ #include #include "gen_qscicommandset.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" bool QsciCommandSet_ReadSettings(QsciCommandSet* self, QSettings* qs) { return self->readSettings(*qs); diff --git a/qt-restricted-extras/qscintilla6/gen_qscidocument.cpp b/qt-restricted-extras/qscintilla6/gen_qscidocument.cpp index da9f9d38..41e20bb2 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscidocument.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscidocument.cpp @@ -1,10 +1,13 @@ #include #include "gen_qscidocument.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QsciDocument* QsciDocument_new() { return new QsciDocument(); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexer.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexer.cpp index 49c806b0..ab84e0c3 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexer.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexer.cpp @@ -14,10 +14,59 @@ #include #include "gen_qscilexer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexer_ColorChanged(intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexer_EolFillChanged(intptr_t, bool, int); +void miqt_exec_callback_QsciLexer_FontChanged(intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexer_PaperChanged(intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexer_PropertyChanged(intptr_t, const char*, const char*); +const char* miqt_exec_callback_QsciLexer_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexer_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexer_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexer_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexer_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexer_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexer_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexer_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexer_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexer_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexer_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexer_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexer_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexer_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexer_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexer_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexer_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexer_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexer_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexer_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexer_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexer_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexer_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexer_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexer_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexer_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexer_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexer_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexer_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexer_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexer_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexer_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexer_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexer_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexer_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QsciLexer_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QsciLexer_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QsciLexer_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QsciLexer_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QsciLexer_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QsciLexer_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexer : public virtual QsciLexer { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexeravs.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexeravs.cpp index 6ed8d4a8..93c1103a 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexeravs.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexeravs.cpp @@ -10,10 +10,49 @@ #include #include "gen_qscilexeravs.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerAVS_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerAVS_SetFoldCompact(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerAVS_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerAVS_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerAVS_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerAVS_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerAVS_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerAVS_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerAVS_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerAVS_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerAVS_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerAVS_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerAVS_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerAVS_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerAVS_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerAVS_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerAVS_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerAVS_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerAVS_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerAVS_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerAVS_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerAVS_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerAVS_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerAVS_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerAVS_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerAVS_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerAVS_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerAVS_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerAVS_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerAVS_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerAVS_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerAVS_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerAVS_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerAVS_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerAVS_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerAVS_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerAVS : public virtual QsciLexerAVS { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerbash.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerbash.cpp index a5d90934..0ea83d24 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerbash.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerbash.cpp @@ -10,10 +10,49 @@ #include #include "gen_qscilexerbash.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerBash_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerBash_SetFoldCompact(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerBash_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerBash_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerBash_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerBash_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerBash_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerBash_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerBash_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerBash_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerBash_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerBash_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerBash_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerBash_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerBash_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerBash_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerBash_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerBash_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerBash_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerBash_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerBash_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerBash_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerBash_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerBash_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerBash_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerBash_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerBash_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerBash_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerBash_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerBash_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerBash_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerBash_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerBash_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerBash_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerBash_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerBash_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerBash : public virtual QsciLexerBash { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerbatch.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerbatch.cpp index f8c494e4..15f16bff 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerbatch.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerbatch.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexerbatch.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerBatch_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerBatch_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerBatch_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerBatch_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerBatch_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerBatch_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerBatch_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerBatch_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerBatch_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerBatch_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerBatch_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerBatch_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerBatch_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerBatch_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerBatch_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerBatch_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerBatch_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerBatch_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerBatch_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerBatch_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerBatch_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerBatch_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerBatch_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerBatch_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerBatch_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerBatch_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerBatch_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerBatch_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerBatch_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerBatch_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerBatch_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerBatch_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerBatch_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerBatch_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerBatch : public virtual QsciLexerBatch { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexercmake.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexercmake.cpp index 859dbea6..ba61697c 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexercmake.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexercmake.cpp @@ -10,10 +10,48 @@ #include #include "gen_qscilexercmake.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerCMake_SetFoldAtElse(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerCMake_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCMake_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerCMake_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCMake_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerCMake_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCMake_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerCMake_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCMake_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerCMake_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerCMake_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerCMake_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerCMake_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerCMake_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerCMake_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerCMake_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCMake_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerCMake_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerCMake_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCMake_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCMake_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerCMake_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerCMake_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCMake_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerCMake_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerCMake_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerCMake_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCMake_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerCMake_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerCMake_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerCMake_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerCMake_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerCMake_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerCMake_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerCMake_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerCMake : public virtual QsciLexerCMake { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexercoffeescript.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexercoffeescript.cpp index 5c2ed280..9ca30a7e 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexercoffeescript.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexercoffeescript.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexercoffeescript.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerCoffeeScript_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCoffeeScript_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerCoffeeScript_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCoffeeScript_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerCoffeeScript_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCoffeeScript_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerCoffeeScript_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCoffeeScript_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerCoffeeScript_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerCoffeeScript_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerCoffeeScript_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerCoffeeScript_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerCoffeeScript_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerCoffeeScript_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerCoffeeScript_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCoffeeScript_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerCoffeeScript_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerCoffeeScript_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCoffeeScript_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCoffeeScript_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerCoffeeScript_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerCoffeeScript_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCoffeeScript_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerCoffeeScript_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerCoffeeScript_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerCoffeeScript_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCoffeeScript_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerCoffeeScript_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerCoffeeScript_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerCoffeeScript_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerCoffeeScript_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerCoffeeScript_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerCoffeeScript_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerCoffeeScript_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerCoffeeScript : public virtual QsciLexerCoffeeScript { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexercpp.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexercpp.cpp index 2ae12582..8a09f427 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexercpp.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexercpp.cpp @@ -10,10 +10,52 @@ #include #include "gen_qscilexercpp.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerCPP_SetFoldAtElse(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerCPP_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerCPP_SetFoldCompact(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerCPP_SetFoldPreprocessor(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerCPP_SetStylePreprocessor(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerCPP_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCPP_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerCPP_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCPP_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerCPP_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCPP_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerCPP_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCPP_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerCPP_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerCPP_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerCPP_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerCPP_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerCPP_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerCPP_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerCPP_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCPP_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerCPP_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerCPP_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCPP_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCPP_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerCPP_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerCPP_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCPP_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerCPP_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerCPP_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerCPP_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCPP_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerCPP_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerCPP_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerCPP_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerCPP_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerCPP_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerCPP_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerCPP_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerCPP : public virtual QsciLexerCPP { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexercsharp.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexercsharp.cpp index b3495866..ab352517 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexercsharp.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexercsharp.cpp @@ -8,10 +8,18 @@ #include #include "gen_qscilexercsharp.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerCSharp_SetFoldAtElse(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerCSharp_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerCSharp_SetFoldCompact(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerCSharp_SetFoldPreprocessor(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerCSharp_SetStylePreprocessor(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerCSharp : public virtual QsciLexerCSharp { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexercss.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexercss.cpp index 7a38d52c..1dcc5559 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexercss.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexercss.cpp @@ -10,10 +10,49 @@ #include #include "gen_qscilexercss.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerCSS_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerCSS_SetFoldCompact(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerCSS_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCSS_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerCSS_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCSS_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerCSS_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCSS_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerCSS_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCSS_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerCSS_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerCSS_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerCSS_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerCSS_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerCSS_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerCSS_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerCSS_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCSS_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerCSS_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerCSS_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCSS_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCSS_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerCSS_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerCSS_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCSS_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerCSS_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerCSS_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerCSS_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCSS_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerCSS_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerCSS_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerCSS_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerCSS_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerCSS_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerCSS_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerCSS_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerCSS : public virtual QsciLexerCSS { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexercustom.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexercustom.cpp index baa08180..97f51fa7 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexercustom.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexercustom.cpp @@ -10,10 +10,48 @@ #include #include "gen_qscilexercustom.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerCustom_StyleText(void*, intptr_t, int, int); +void miqt_exec_callback_QsciLexerCustom_SetEditor(void*, intptr_t, QsciScintilla*); +int miqt_exec_callback_QsciLexerCustom_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCustom_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCustom_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerCustom_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCustom_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerCustom_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCustom_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerCustom_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCustom_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerCustom_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerCustom_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerCustom_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerCustom_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerCustom_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerCustom_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerCustom_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCustom_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerCustom_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerCustom_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCustom_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCustom_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerCustom_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerCustom_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerCustom_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerCustom_RefreshProperties(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerCustom_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerCustom_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerCustom_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerCustom_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerCustom_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerCustom_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerCustom_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerCustom_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerCustom : public virtual QsciLexerCustom { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerd.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerd.cpp index d29b8476..5279bc99 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerd.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerd.cpp @@ -10,10 +10,50 @@ #include #include "gen_qscilexerd.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerD_SetFoldAtElse(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerD_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerD_SetFoldCompact(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerD_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerD_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerD_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerD_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerD_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerD_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerD_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerD_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerD_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerD_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerD_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerD_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerD_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerD_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerD_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerD_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerD_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerD_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerD_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerD_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerD_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerD_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerD_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerD_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerD_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerD_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerD_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerD_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerD_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerD_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerD_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerD_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerD_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerD_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerD : public virtual QsciLexerD { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerdiff.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerdiff.cpp index 4180d845..1072dfd3 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerdiff.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerdiff.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexerdiff.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerDiff_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerDiff_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerDiff_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerDiff_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerDiff_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerDiff_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerDiff_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerDiff_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerDiff_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerDiff_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerDiff_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerDiff_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerDiff_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerDiff_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerDiff_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerDiff_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerDiff_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerDiff_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerDiff_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerDiff_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerDiff_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerDiff_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerDiff_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerDiff_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerDiff_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerDiff_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerDiff_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerDiff_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerDiff_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerDiff_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerDiff_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerDiff_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerDiff_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerDiff_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerDiff : public virtual QsciLexerDiff { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexeredifact.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexeredifact.cpp index 51ceb1f8..2f355ab3 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexeredifact.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexeredifact.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexeredifact.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerEDIFACT_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerEDIFACT_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerEDIFACT_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerEDIFACT_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerEDIFACT_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerEDIFACT_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerEDIFACT_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerEDIFACT_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerEDIFACT_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerEDIFACT_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerEDIFACT_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerEDIFACT_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerEDIFACT_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerEDIFACT_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerEDIFACT_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerEDIFACT_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerEDIFACT_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerEDIFACT_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerEDIFACT_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerEDIFACT_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerEDIFACT_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerEDIFACT_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerEDIFACT_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerEDIFACT_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerEDIFACT_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerEDIFACT_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerEDIFACT_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerEDIFACT_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerEDIFACT_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerEDIFACT_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerEDIFACT_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerEDIFACT_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerEDIFACT_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerEDIFACT_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerEDIFACT : public virtual QsciLexerEDIFACT { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerfortran.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerfortran.cpp index daa5cb3e..329d2355 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerfortran.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerfortran.cpp @@ -6,10 +6,14 @@ #include #include "gen_qscilexerfortran.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerFortran_SetFoldCompact(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerFortran : public virtual QsciLexerFortran { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerfortran77.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerfortran77.cpp index a4404d20..30f100d9 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerfortran77.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerfortran77.cpp @@ -10,10 +10,48 @@ #include #include "gen_qscilexerfortran77.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerFortran77_SetFoldCompact(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerFortran77_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerFortran77_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerFortran77_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerFortran77_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerFortran77_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerFortran77_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerFortran77_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerFortran77_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerFortran77_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerFortran77_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerFortran77_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerFortran77_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerFortran77_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerFortran77_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerFortran77_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerFortran77_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerFortran77_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerFortran77_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerFortran77_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerFortran77_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerFortran77_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerFortran77_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerFortran77_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerFortran77_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerFortran77_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerFortran77_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerFortran77_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerFortran77_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerFortran77_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerFortran77_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerFortran77_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerFortran77_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerFortran77_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerFortran77_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerFortran77 : public virtual QsciLexerFortran77 { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerhtml.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerhtml.cpp index a065ddbc..5f4536bd 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerhtml.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerhtml.cpp @@ -10,10 +10,50 @@ #include #include "gen_qscilexerhtml.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerHTML_SetFoldCompact(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerHTML_SetFoldPreprocessor(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerHTML_SetCaseSensitiveTags(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerHTML_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerHTML_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerHTML_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerHTML_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerHTML_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerHTML_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerHTML_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerHTML_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerHTML_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerHTML_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerHTML_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerHTML_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerHTML_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerHTML_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerHTML_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerHTML_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerHTML_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerHTML_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerHTML_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerHTML_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerHTML_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerHTML_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerHTML_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerHTML_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerHTML_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerHTML_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerHTML_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerHTML_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerHTML_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerHTML_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerHTML_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerHTML_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerHTML_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerHTML_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerHTML : public virtual QsciLexerHTML { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexeridl.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexeridl.cpp index 81c09694..1c382f46 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexeridl.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexeridl.cpp @@ -7,10 +7,18 @@ #include #include "gen_qscilexeridl.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerIDL_SetFoldAtElse(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerIDL_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerIDL_SetFoldCompact(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerIDL_SetFoldPreprocessor(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerIDL_SetStylePreprocessor(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerIDL : public virtual QsciLexerIDL { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerjava.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerjava.cpp index ad7253bd..c7963b01 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerjava.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerjava.cpp @@ -6,10 +6,18 @@ #include #include "gen_qscilexerjava.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerJava_SetFoldAtElse(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerJava_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerJava_SetFoldCompact(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerJava_SetFoldPreprocessor(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerJava_SetStylePreprocessor(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerJava : public virtual QsciLexerJava { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerjavascript.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerjavascript.cpp index 510db14c..75eb8c58 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerjavascript.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerjavascript.cpp @@ -8,10 +8,18 @@ #include #include "gen_qscilexerjavascript.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerJavaScript_SetFoldAtElse(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerJavaScript_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerJavaScript_SetFoldCompact(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerJavaScript_SetFoldPreprocessor(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerJavaScript_SetStylePreprocessor(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerJavaScript : public virtual QsciLexerJavaScript { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerjson.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerjson.cpp index 61acf668..826dd406 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerjson.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerjson.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexerjson.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerJSON_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerJSON_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerJSON_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerJSON_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerJSON_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerJSON_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerJSON_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerJSON_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerJSON_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerJSON_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerJSON_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerJSON_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerJSON_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerJSON_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerJSON_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerJSON_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerJSON_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerJSON_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerJSON_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerJSON_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerJSON_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerJSON_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerJSON_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerJSON_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerJSON_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerJSON_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerJSON_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerJSON_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerJSON_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerJSON_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerJSON_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerJSON_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerJSON_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerJSON_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerJSON : public virtual QsciLexerJSON { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerlua.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerlua.cpp index 23a82886..c6519c4b 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerlua.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerlua.cpp @@ -10,10 +10,48 @@ #include #include "gen_qscilexerlua.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerLua_SetFoldCompact(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerLua_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerLua_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerLua_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerLua_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerLua_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerLua_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerLua_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerLua_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerLua_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerLua_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerLua_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerLua_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerLua_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerLua_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerLua_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerLua_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerLua_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerLua_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerLua_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerLua_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerLua_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerLua_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerLua_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerLua_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerLua_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerLua_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerLua_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerLua_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerLua_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerLua_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerLua_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerLua_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerLua_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerLua_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerLua : public virtual QsciLexerLua { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexermakefile.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexermakefile.cpp index 9a118d6b..ea299c78 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexermakefile.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexermakefile.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexermakefile.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerMakefile_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMakefile_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerMakefile_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMakefile_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerMakefile_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMakefile_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerMakefile_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMakefile_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerMakefile_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerMakefile_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerMakefile_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerMakefile_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerMakefile_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerMakefile_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerMakefile_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMakefile_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerMakefile_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerMakefile_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerMakefile_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerMakefile_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerMakefile_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerMakefile_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerMakefile_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerMakefile_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerMakefile_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerMakefile_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMakefile_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerMakefile_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerMakefile_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerMakefile_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerMakefile_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerMakefile_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerMakefile_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerMakefile_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerMakefile : public virtual QsciLexerMakefile { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexermarkdown.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexermarkdown.cpp index 21a36899..35a8d7bf 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexermarkdown.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexermarkdown.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexermarkdown.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerMarkdown_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMarkdown_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerMarkdown_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMarkdown_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerMarkdown_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMarkdown_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerMarkdown_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMarkdown_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerMarkdown_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerMarkdown_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerMarkdown_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerMarkdown_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerMarkdown_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerMarkdown_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerMarkdown_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMarkdown_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerMarkdown_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerMarkdown_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerMarkdown_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerMarkdown_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerMarkdown_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerMarkdown_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerMarkdown_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerMarkdown_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerMarkdown_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerMarkdown_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMarkdown_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerMarkdown_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerMarkdown_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerMarkdown_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerMarkdown_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerMarkdown_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerMarkdown_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerMarkdown_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerMarkdown : public virtual QsciLexerMarkdown { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexermatlab.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexermatlab.cpp index a7193358..bb506e0f 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexermatlab.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexermatlab.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexermatlab.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerMatlab_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMatlab_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerMatlab_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMatlab_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerMatlab_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMatlab_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerMatlab_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMatlab_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerMatlab_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerMatlab_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerMatlab_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerMatlab_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerMatlab_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerMatlab_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerMatlab_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMatlab_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerMatlab_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerMatlab_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerMatlab_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerMatlab_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerMatlab_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerMatlab_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerMatlab_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerMatlab_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerMatlab_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerMatlab_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerMatlab_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerMatlab_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerMatlab_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerMatlab_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerMatlab_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerMatlab_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerMatlab_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerMatlab_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerMatlab : public virtual QsciLexerMatlab { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexeroctave.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexeroctave.cpp index ddb1c0ce..43c18bba 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexeroctave.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexeroctave.cpp @@ -6,10 +6,13 @@ #include #include "gen_qscilexeroctave.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QsciLexerOctave* QsciLexerOctave_new() { return new QsciLexerOctave(); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerpascal.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerpascal.cpp index 1ae1327e..34d07e38 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerpascal.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerpascal.cpp @@ -10,10 +10,50 @@ #include #include "gen_qscilexerpascal.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerPascal_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerPascal_SetFoldCompact(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerPascal_SetFoldPreprocessor(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerPascal_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPascal_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerPascal_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPascal_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerPascal_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPascal_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerPascal_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPascal_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerPascal_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerPascal_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerPascal_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerPascal_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerPascal_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerPascal_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerPascal_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPascal_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerPascal_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerPascal_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPascal_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPascal_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerPascal_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerPascal_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPascal_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPascal_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerPascal_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerPascal_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPascal_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerPascal_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPascal_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerPascal_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerPascal_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerPascal_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerPascal_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerPascal_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerPascal : public virtual QsciLexerPascal { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerperl.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerperl.cpp index caf5d2d5..737a1e95 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerperl.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerperl.cpp @@ -10,10 +10,49 @@ #include #include "gen_qscilexerperl.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerPerl_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerPerl_SetFoldCompact(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerPerl_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPerl_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerPerl_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPerl_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerPerl_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPerl_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerPerl_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPerl_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerPerl_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerPerl_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerPerl_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerPerl_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerPerl_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerPerl_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerPerl_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPerl_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerPerl_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerPerl_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPerl_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPerl_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerPerl_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerPerl_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPerl_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPerl_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerPerl_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerPerl_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPerl_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerPerl_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPerl_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerPerl_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerPerl_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerPerl_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerPerl_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerPerl_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerPerl : public virtual QsciLexerPerl { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerpo.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerpo.cpp index 19f52cab..285a06ec 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerpo.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerpo.cpp @@ -10,10 +10,49 @@ #include #include "gen_qscilexerpo.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerPO_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerPO_SetFoldCompact(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerPO_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPO_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerPO_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPO_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerPO_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPO_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerPO_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPO_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerPO_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerPO_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerPO_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerPO_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerPO_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerPO_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerPO_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPO_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerPO_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerPO_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPO_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPO_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerPO_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerPO_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPO_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPO_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerPO_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerPO_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPO_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerPO_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPO_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerPO_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerPO_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerPO_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerPO_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerPO_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerPO : public virtual QsciLexerPO { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerpostscript.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerpostscript.cpp index 1d90dd63..3e2796f2 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerpostscript.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerpostscript.cpp @@ -10,10 +10,51 @@ #include #include "gen_qscilexerpostscript.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerPostScript_SetTokenize(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerPostScript_SetLevel(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPostScript_SetFoldCompact(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerPostScript_SetFoldAtElse(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerPostScript_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPostScript_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerPostScript_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPostScript_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerPostScript_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPostScript_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerPostScript_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPostScript_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerPostScript_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerPostScript_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerPostScript_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerPostScript_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerPostScript_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerPostScript_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerPostScript_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPostScript_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerPostScript_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerPostScript_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPostScript_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPostScript_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerPostScript_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerPostScript_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPostScript_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPostScript_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerPostScript_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerPostScript_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPostScript_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerPostScript_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPostScript_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerPostScript_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerPostScript_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerPostScript_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerPostScript_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerPostScript_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerPostScript : public virtual QsciLexerPostScript { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerpov.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerpov.cpp index 0a22077f..e377e636 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerpov.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerpov.cpp @@ -10,10 +10,50 @@ #include #include "gen_qscilexerpov.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerPOV_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerPOV_SetFoldCompact(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerPOV_SetFoldDirectives(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerPOV_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPOV_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerPOV_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPOV_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerPOV_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPOV_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerPOV_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPOV_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerPOV_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerPOV_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerPOV_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerPOV_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerPOV_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerPOV_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerPOV_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPOV_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerPOV_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerPOV_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPOV_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPOV_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerPOV_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerPOV_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPOV_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPOV_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerPOV_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerPOV_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPOV_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerPOV_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPOV_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerPOV_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerPOV_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerPOV_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerPOV_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerPOV_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerPOV : public virtual QsciLexerPOV { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerproperties.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerproperties.cpp index d5dd3892..5aad52f2 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerproperties.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerproperties.cpp @@ -10,10 +10,48 @@ #include #include "gen_qscilexerproperties.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerProperties_SetFoldCompact(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerProperties_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerProperties_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerProperties_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerProperties_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerProperties_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerProperties_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerProperties_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerProperties_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerProperties_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerProperties_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerProperties_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerProperties_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerProperties_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerProperties_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerProperties_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerProperties_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerProperties_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerProperties_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerProperties_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerProperties_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerProperties_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerProperties_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerProperties_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerProperties_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerProperties_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerProperties_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerProperties_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerProperties_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerProperties_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerProperties_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerProperties_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerProperties_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerProperties_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerProperties_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerProperties : public virtual QsciLexerProperties { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerpython.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerpython.cpp index 5fa9f495..388d8def 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerpython.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerpython.cpp @@ -10,10 +10,50 @@ #include #include "gen_qscilexerpython.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QsciLexerPython_IndentationGuideView(void*, intptr_t); +void miqt_exec_callback_QsciLexerPython_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerPython_SetFoldQuotes(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerPython_SetIndentationWarning(void*, intptr_t, int); +const char* miqt_exec_callback_QsciLexerPython_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPython_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerPython_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPython_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerPython_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPython_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerPython_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPython_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerPython_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerPython_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerPython_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerPython_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerPython_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerPython_Font(void*, intptr_t, int); +const char* miqt_exec_callback_QsciLexerPython_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerPython_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerPython_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPython_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPython_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerPython_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerPython_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerPython_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPython_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerPython_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerPython_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerPython_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerPython_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerPython_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerPython_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerPython_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerPython_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerPython_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerPython_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerPython : public virtual QsciLexerPython { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerruby.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerruby.cpp index 103fa932..0a59d756 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerruby.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerruby.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexerruby.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerRuby_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerRuby_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerRuby_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerRuby_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerRuby_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerRuby_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerRuby_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerRuby_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerRuby_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerRuby_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerRuby_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerRuby_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerRuby_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerRuby_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerRuby_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerRuby_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerRuby_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerRuby_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerRuby_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerRuby_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerRuby_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerRuby_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerRuby_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerRuby_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerRuby_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerRuby_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerRuby_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerRuby_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerRuby_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerRuby_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerRuby_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerRuby_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerRuby_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerRuby_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerRuby : public virtual QsciLexerRuby { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerspice.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerspice.cpp index 69ffc9e5..9693e422 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerspice.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerspice.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexerspice.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerSpice_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerSpice_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerSpice_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerSpice_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerSpice_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerSpice_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerSpice_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerSpice_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerSpice_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerSpice_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerSpice_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerSpice_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerSpice_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerSpice_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerSpice_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerSpice_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerSpice_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerSpice_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerSpice_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerSpice_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerSpice_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerSpice_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerSpice_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerSpice_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerSpice_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerSpice_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerSpice_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerSpice_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerSpice_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerSpice_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerSpice_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerSpice_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerSpice_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerSpice_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerSpice : public virtual QsciLexerSpice { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexersql.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexersql.cpp index 10657ca8..26849ab1 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexersql.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexersql.cpp @@ -10,10 +10,50 @@ #include #include "gen_qscilexersql.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerSQL_SetBackslashEscapes(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerSQL_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerSQL_SetFoldCompact(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerSQL_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerSQL_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerSQL_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerSQL_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerSQL_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerSQL_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerSQL_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerSQL_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerSQL_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerSQL_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerSQL_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerSQL_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerSQL_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerSQL_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerSQL_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerSQL_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerSQL_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerSQL_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerSQL_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerSQL_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerSQL_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerSQL_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerSQL_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerSQL_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerSQL_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerSQL_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerSQL_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerSQL_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerSQL_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerSQL_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerSQL_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerSQL_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerSQL_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerSQL_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerSQL : public virtual QsciLexerSQL { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexertcl.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexertcl.cpp index ae5b36af..38ccdd27 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexertcl.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexertcl.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexertcl.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerTCL_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerTCL_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerTCL_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerTCL_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerTCL_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerTCL_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerTCL_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerTCL_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerTCL_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerTCL_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerTCL_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerTCL_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerTCL_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerTCL_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerTCL_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerTCL_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerTCL_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerTCL_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerTCL_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerTCL_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerTCL_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerTCL_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerTCL_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerTCL_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerTCL_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerTCL_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerTCL_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerTCL_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerTCL_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerTCL_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerTCL_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerTCL_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerTCL_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerTCL_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerTCL : public virtual QsciLexerTCL { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexertex.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexertex.cpp index f8a784f6..11ffa139 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexertex.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexertex.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexertex.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerTeX_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerTeX_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerTeX_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerTeX_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerTeX_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerTeX_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerTeX_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerTeX_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerTeX_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerTeX_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerTeX_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerTeX_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerTeX_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerTeX_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerTeX_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerTeX_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerTeX_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerTeX_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerTeX_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerTeX_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerTeX_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerTeX_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerTeX_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerTeX_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerTeX_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerTeX_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerTeX_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerTeX_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerTeX_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerTeX_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerTeX_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerTeX_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerTeX_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerTeX_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerTeX : public virtual QsciLexerTeX { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerverilog.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerverilog.cpp index e1a62242..ffa3fc8a 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerverilog.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerverilog.cpp @@ -10,10 +10,47 @@ #include #include "gen_qscilexerverilog.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +const char* miqt_exec_callback_QsciLexerVerilog_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerVerilog_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerVerilog_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerVerilog_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerVerilog_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerVerilog_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerVerilog_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerVerilog_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerVerilog_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerVerilog_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerVerilog_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerVerilog_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerVerilog_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerVerilog_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerVerilog_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerVerilog_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerVerilog_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerVerilog_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerVerilog_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerVerilog_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerVerilog_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerVerilog_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerVerilog_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerVerilog_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerVerilog_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerVerilog_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerVerilog_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerVerilog_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerVerilog_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerVerilog_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerVerilog_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerVerilog_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerVerilog_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerVerilog_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerVerilog : public virtual QsciLexerVerilog { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexervhdl.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexervhdl.cpp index a1220444..caf4b990 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexervhdl.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexervhdl.cpp @@ -10,10 +10,52 @@ #include #include "gen_qscilexervhdl.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerVHDL_SetFoldComments(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerVHDL_SetFoldCompact(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerVHDL_SetFoldAtElse(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerVHDL_SetFoldAtBegin(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerVHDL_SetFoldAtParenthesis(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerVHDL_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerVHDL_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerVHDL_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerVHDL_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerVHDL_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerVHDL_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerVHDL_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerVHDL_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerVHDL_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerVHDL_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerVHDL_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerVHDL_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerVHDL_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerVHDL_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerVHDL_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerVHDL_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerVHDL_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerVHDL_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerVHDL_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerVHDL_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerVHDL_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerVHDL_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerVHDL_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerVHDL_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerVHDL_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerVHDL_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerVHDL_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerVHDL_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerVHDL_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerVHDL_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerVHDL_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerVHDL_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerVHDL_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerVHDL_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerVHDL : public virtual QsciLexerVHDL { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerxml.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerxml.cpp index c21ee1f9..2ee32fd5 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerxml.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerxml.cpp @@ -8,10 +8,16 @@ #include #include "gen_qscilexerxml.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerXML_SetFoldCompact(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerXML_SetFoldPreprocessor(void*, intptr_t, bool); +void miqt_exec_callback_QsciLexerXML_SetCaseSensitiveTags(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerXML : public virtual QsciLexerXML { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexeryaml.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexeryaml.cpp index 305ff8d5..ed72cc05 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexeryaml.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexeryaml.cpp @@ -10,10 +10,48 @@ #include #include "gen_qscilexeryaml.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciLexerYAML_SetFoldComments(void*, intptr_t, bool); +const char* miqt_exec_callback_QsciLexerYAML_Language(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerYAML_Lexer(void*, intptr_t); +int miqt_exec_callback_QsciLexerYAML_LexerId(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerYAML_AutoCompletionFillups(void*, intptr_t); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerYAML_AutoCompletionWordSeparators(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerYAML_BlockEnd(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerYAML_BlockLookback(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerYAML_BlockStart(void*, intptr_t, int*); +const char* miqt_exec_callback_QsciLexerYAML_BlockStartKeyword(void*, intptr_t, int*); +int miqt_exec_callback_QsciLexerYAML_BraceStyle(void*, intptr_t); +bool miqt_exec_callback_QsciLexerYAML_CaseSensitive(void*, intptr_t); +QColor* miqt_exec_callback_QsciLexerYAML_Color(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerYAML_EolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerYAML_Font(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerYAML_IndentationGuideView(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerYAML_Keywords(void*, intptr_t, int); +int miqt_exec_callback_QsciLexerYAML_DefaultStyle(void*, intptr_t); +struct miqt_string miqt_exec_callback_QsciLexerYAML_Description(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerYAML_Paper(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerYAML_DefaultColorWithStyle(void*, intptr_t, int); +bool miqt_exec_callback_QsciLexerYAML_DefaultEolFill(void*, intptr_t, int); +QFont* miqt_exec_callback_QsciLexerYAML_DefaultFontWithStyle(void*, intptr_t, int); +QColor* miqt_exec_callback_QsciLexerYAML_DefaultPaperWithStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerYAML_SetEditor(void*, intptr_t, QsciScintilla*); +void miqt_exec_callback_QsciLexerYAML_RefreshProperties(void*, intptr_t); +int miqt_exec_callback_QsciLexerYAML_StyleBitsNeeded(void*, intptr_t); +const char* miqt_exec_callback_QsciLexerYAML_WordCharacters(void*, intptr_t); +void miqt_exec_callback_QsciLexerYAML_SetAutoIndentStyle(void*, intptr_t, int); +void miqt_exec_callback_QsciLexerYAML_SetColor(void*, intptr_t, QColor*, int); +void miqt_exec_callback_QsciLexerYAML_SetEolFill(void*, intptr_t, bool, int); +void miqt_exec_callback_QsciLexerYAML_SetFont(void*, intptr_t, QFont*, int); +void miqt_exec_callback_QsciLexerYAML_SetPaper(void*, intptr_t, QColor*, int); +bool miqt_exec_callback_QsciLexerYAML_ReadProperties(void*, intptr_t, QSettings*, struct miqt_string); +bool miqt_exec_callback_QsciLexerYAML_WriteProperties(void*, intptr_t, QSettings*, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciLexerYAML : public virtual QsciLexerYAML { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscimacro.cpp b/qt-restricted-extras/qscintilla6/gen_qscimacro.cpp index ad37a8bb..c01f5b02 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscimacro.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscimacro.cpp @@ -10,10 +10,23 @@ #include #include "gen_qscimacro.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciMacro_Play(void*, intptr_t); +void miqt_exec_callback_QsciMacro_StartRecording(void*, intptr_t); +void miqt_exec_callback_QsciMacro_EndRecording(void*, intptr_t); +bool miqt_exec_callback_QsciMacro_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QsciMacro_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QsciMacro_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QsciMacro_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QsciMacro_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QsciMacro_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QsciMacro_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciMacro : public virtual QsciMacro { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qsciprinter.cpp b/qt-restricted-extras/qscintilla6/gen_qsciprinter.cpp index 41bd24a1..20af42ba 100644 --- a/qt-restricted-extras/qscintilla6/gen_qsciprinter.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qsciprinter.cpp @@ -7,10 +7,22 @@ #include #include "gen_qsciprinter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciPrinter_FormatPage(void*, intptr_t, QPainter*, bool, QRect*, int); +void miqt_exec_callback_QsciPrinter_SetMagnification(void*, intptr_t, int); +int miqt_exec_callback_QsciPrinter_PrintRange(void*, intptr_t, QsciScintillaBase*, QPainter*, int, int); +int miqt_exec_callback_QsciPrinter_PrintRange2(void*, intptr_t, QsciScintillaBase*, int, int); +void miqt_exec_callback_QsciPrinter_SetWrapMode(void*, intptr_t, int); +int miqt_exec_callback_QsciPrinter_DevType(void*, intptr_t); +bool miqt_exec_callback_QsciPrinter_NewPage(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QsciPrinter_PaintEngine(void*, intptr_t); +int miqt_exec_callback_QsciPrinter_Metric(void*, intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciPrinter : public virtual QsciPrinter { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qsciscintilla.cpp b/qt-restricted-extras/qscintilla6/gen_qsciscintilla.cpp index b373e73f..d63cecee 100644 --- a/qt-restricted-extras/qscintilla6/gen_qsciscintilla.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qsciscintilla.cpp @@ -34,10 +34,132 @@ #include #include "gen_qsciscintilla.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciScintilla_CursorPositionChanged(intptr_t, int, int); +void miqt_exec_callback_QsciScintilla_CopyAvailable(intptr_t, bool); +void miqt_exec_callback_QsciScintilla_IndicatorClicked(intptr_t, int, int, int); +void miqt_exec_callback_QsciScintilla_IndicatorReleased(intptr_t, int, int, int); +void miqt_exec_callback_QsciScintilla_LinesChanged(intptr_t); +void miqt_exec_callback_QsciScintilla_MarginClicked(intptr_t, int, int, int); +void miqt_exec_callback_QsciScintilla_MarginRightClicked(intptr_t, int, int, int); +void miqt_exec_callback_QsciScintilla_ModificationAttempted(intptr_t); +void miqt_exec_callback_QsciScintilla_ModificationChanged(intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SelectionChanged(intptr_t); +void miqt_exec_callback_QsciScintilla_TextChanged(intptr_t); +void miqt_exec_callback_QsciScintilla_UserListActivated(intptr_t, int, struct miqt_string); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciScintilla_ApiContext(void*, intptr_t, int, int*, int*); +bool miqt_exec_callback_QsciScintilla_FindFirst(void*, intptr_t, struct miqt_string, bool, bool, bool, bool, bool, int, int, bool, bool, bool); +bool miqt_exec_callback_QsciScintilla_FindFirstInSelection(void*, intptr_t, struct miqt_string, bool, bool, bool, bool, bool, bool, bool); +bool miqt_exec_callback_QsciScintilla_FindNext(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_Recolor(void*, intptr_t, int, int); +void miqt_exec_callback_QsciScintilla_Replace(void*, intptr_t, struct miqt_string); +void miqt_exec_callback_QsciScintilla_Append(void*, intptr_t, struct miqt_string); +void miqt_exec_callback_QsciScintilla_AutoCompleteFromAll(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_AutoCompleteFromAPIs(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_AutoCompleteFromDocument(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_CallTip(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_Clear(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_Copy(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_Cut(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_EnsureCursorVisible(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_EnsureLineVisible(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_FoldAll(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_FoldLine(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_Indent(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_Insert(void*, intptr_t, struct miqt_string); +void miqt_exec_callback_QsciScintilla_InsertAt(void*, intptr_t, struct miqt_string, int, int); +void miqt_exec_callback_QsciScintilla_MoveToMatchingBrace(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_Paste(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_Redo(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_RemoveSelectedText(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_ReplaceSelectedText(void*, intptr_t, struct miqt_string); +void miqt_exec_callback_QsciScintilla_ResetSelectionBackgroundColor(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_ResetSelectionForegroundColor(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_SelectAll(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SelectToMatchingBrace(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_SetAutoCompletionCaseSensitivity(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetAutoCompletionReplaceWord(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetAutoCompletionShowSingle(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetAutoCompletionSource(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_SetAutoCompletionThreshold(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_SetAutoCompletionUseSingle(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_SetAutoIndent(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetBraceMatching(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_SetBackspaceUnindents(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetCaretForegroundColor(void*, intptr_t, QColor*); +void miqt_exec_callback_QsciScintilla_SetCaretLineBackgroundColor(void*, intptr_t, QColor*); +void miqt_exec_callback_QsciScintilla_SetCaretLineFrameWidth(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_SetCaretLineVisible(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetCaretWidth(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_SetColor(void*, intptr_t, QColor*); +void miqt_exec_callback_QsciScintilla_SetCursorPosition(void*, intptr_t, int, int); +void miqt_exec_callback_QsciScintilla_SetEolMode(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_SetEolVisibility(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetFolding(void*, intptr_t, int, int); +void miqt_exec_callback_QsciScintilla_SetIndentation(void*, intptr_t, int, int); +void miqt_exec_callback_QsciScintilla_SetIndentationGuides(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetIndentationGuidesBackgroundColor(void*, intptr_t, QColor*); +void miqt_exec_callback_QsciScintilla_SetIndentationGuidesForegroundColor(void*, intptr_t, QColor*); +void miqt_exec_callback_QsciScintilla_SetIndentationsUseTabs(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetIndentationWidth(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_SetLexer(void*, intptr_t, QsciLexer*); +void miqt_exec_callback_QsciScintilla_SetMarginsBackgroundColor(void*, intptr_t, QColor*); +void miqt_exec_callback_QsciScintilla_SetMarginsFont(void*, intptr_t, QFont*); +void miqt_exec_callback_QsciScintilla_SetMarginsForegroundColor(void*, intptr_t, QColor*); +void miqt_exec_callback_QsciScintilla_SetMarginLineNumbers(void*, intptr_t, int, bool); +void miqt_exec_callback_QsciScintilla_SetMarginMarkerMask(void*, intptr_t, int, int); +void miqt_exec_callback_QsciScintilla_SetMarginSensitivity(void*, intptr_t, int, bool); +void miqt_exec_callback_QsciScintilla_SetMarginWidth(void*, intptr_t, int, int); +void miqt_exec_callback_QsciScintilla_SetMarginWidth2(void*, intptr_t, int, struct miqt_string); +void miqt_exec_callback_QsciScintilla_SetModified(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetPaper(void*, intptr_t, QColor*); +void miqt_exec_callback_QsciScintilla_SetReadOnly(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetSelection(void*, intptr_t, int, int, int, int); +void miqt_exec_callback_QsciScintilla_SetSelectionBackgroundColor(void*, intptr_t, QColor*); +void miqt_exec_callback_QsciScintilla_SetSelectionForegroundColor(void*, intptr_t, QColor*); +void miqt_exec_callback_QsciScintilla_SetTabIndents(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetTabWidth(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_SetText(void*, intptr_t, struct miqt_string); +void miqt_exec_callback_QsciScintilla_SetUtf8(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_SetWhitespaceVisibility(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_SetWrapMode(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_Undo(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_Unindent(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_ZoomIn(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_ZoomIn2(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_ZoomOut(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_ZoomOut2(void*, intptr_t); +void miqt_exec_callback_QsciScintilla_ZoomTo(void*, intptr_t, int); +bool miqt_exec_callback_QsciScintilla_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QsciScintilla_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QsciScintilla_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QsciScintilla_WheelEvent(void*, intptr_t, QWheelEvent*); +bool miqt_exec_callback_QsciScintilla_CanInsertFromMimeData(void*, intptr_t, QMimeData*); +struct miqt_string miqt_exec_callback_QsciScintilla_FromMimeData(void*, intptr_t, QMimeData*, bool*); +QMimeData* miqt_exec_callback_QsciScintilla_ToMimeData(void*, intptr_t, struct miqt_string, bool); +void miqt_exec_callback_QsciScintilla_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QsciScintilla_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QsciScintilla_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QsciScintilla_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QsciScintilla_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QsciScintilla_FocusOutEvent(void*, intptr_t, QFocusEvent*); +bool miqt_exec_callback_QsciScintilla_FocusNextPrevChild(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintilla_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QsciScintilla_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QsciScintilla_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QsciScintilla_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QsciScintilla_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QsciScintilla_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QsciScintilla_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QsciScintilla_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QsciScintilla_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QsciScintilla_ScrollContentsBy(void*, intptr_t, int, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciScintilla : public virtual QsciScintilla { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qsciscintillabase.cpp b/qt-restricted-extras/qscintilla6/gen_qsciscintillabase.cpp index 26cc95ec..e20bca7d 100644 --- a/qt-restricted-extras/qscintilla6/gen_qsciscintillabase.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qsciscintillabase.cpp @@ -34,10 +34,79 @@ #include #include "gen_qsciscintillabase.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QsciScintillaBase_QSCN_SELCHANGED(intptr_t, bool); +void miqt_exec_callback_QsciScintillaBase_SCN_AUTOCCANCELLED(intptr_t); +void miqt_exec_callback_QsciScintillaBase_SCN_AUTOCCHARDELETED(intptr_t); +void miqt_exec_callback_QsciScintillaBase_SCN_AUTOCCOMPLETED(intptr_t, const char*, int, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_AUTOCSELECTION(intptr_t, const char*, int, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_AUTOCSELECTION2(intptr_t, const char*, int); +void miqt_exec_callback_QsciScintillaBase_SCN_AUTOCSELECTIONCHANGE(intptr_t, const char*, int, int); +void miqt_exec_callback_QsciScintillaBase_SCEN_CHANGE(intptr_t); +void miqt_exec_callback_QsciScintillaBase_SCN_CALLTIPCLICK(intptr_t, int); +void miqt_exec_callback_QsciScintillaBase_SCN_CHARADDED(intptr_t, int); +void miqt_exec_callback_QsciScintillaBase_SCN_DOUBLECLICK(intptr_t, int, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_DWELLEND(intptr_t, int, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_DWELLSTART(intptr_t, int, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_FOCUSIN(intptr_t); +void miqt_exec_callback_QsciScintillaBase_SCN_FOCUSOUT(intptr_t); +void miqt_exec_callback_QsciScintillaBase_SCN_HOTSPOTCLICK(intptr_t, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_HOTSPOTDOUBLECLICK(intptr_t, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_HOTSPOTRELEASECLICK(intptr_t, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_INDICATORCLICK(intptr_t, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_INDICATORRELEASE(intptr_t, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_MACRORECORD(intptr_t, unsigned int, unsigned long, void*); +void miqt_exec_callback_QsciScintillaBase_SCN_MARGINCLICK(intptr_t, int, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_MARGINRIGHTCLICK(intptr_t, int, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_MODIFIED(intptr_t, int, int, const char*, int, int, int, int, int, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_MODIFYATTEMPTRO(intptr_t); +void miqt_exec_callback_QsciScintillaBase_SCN_NEEDSHOWN(intptr_t, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_PAINTED(intptr_t); +void miqt_exec_callback_QsciScintillaBase_SCN_SAVEPOINTLEFT(intptr_t); +void miqt_exec_callback_QsciScintillaBase_SCN_SAVEPOINTREACHED(intptr_t); +void miqt_exec_callback_QsciScintillaBase_SCN_STYLENEEDED(intptr_t, int); +void miqt_exec_callback_QsciScintillaBase_SCN_URIDROPPED(intptr_t, QUrl*); +void miqt_exec_callback_QsciScintillaBase_SCN_UPDATEUI(intptr_t, int); +void miqt_exec_callback_QsciScintillaBase_SCN_USERLISTSELECTION(intptr_t, const char*, int, int, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_USERLISTSELECTION2(intptr_t, const char*, int, int, int); +void miqt_exec_callback_QsciScintillaBase_SCN_USERLISTSELECTION3(intptr_t, const char*, int); +void miqt_exec_callback_QsciScintillaBase_SCN_ZOOM(intptr_t); +bool miqt_exec_callback_QsciScintillaBase_CanInsertFromMimeData(void*, intptr_t, QMimeData*); +struct miqt_string miqt_exec_callback_QsciScintillaBase_FromMimeData(void*, intptr_t, QMimeData*, bool*); +QMimeData* miqt_exec_callback_QsciScintillaBase_ToMimeData(void*, intptr_t, struct miqt_string, bool); +void miqt_exec_callback_QsciScintillaBase_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QsciScintillaBase_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QsciScintillaBase_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QsciScintillaBase_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QsciScintillaBase_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QsciScintillaBase_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QsciScintillaBase_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QsciScintillaBase_FocusOutEvent(void*, intptr_t, QFocusEvent*); +bool miqt_exec_callback_QsciScintillaBase_FocusNextPrevChild(void*, intptr_t, bool); +void miqt_exec_callback_QsciScintillaBase_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QsciScintillaBase_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QsciScintillaBase_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QsciScintillaBase_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QsciScintillaBase_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QsciScintillaBase_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QsciScintillaBase_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QsciScintillaBase_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QsciScintillaBase_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QsciScintillaBase_ScrollContentsBy(void*, intptr_t, int, int); +QSize* miqt_exec_callback_QsciScintillaBase_MinimumSizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QsciScintillaBase_SizeHint(void*, intptr_t); +void miqt_exec_callback_QsciScintillaBase_SetupViewport(void*, intptr_t, QWidget*); +bool miqt_exec_callback_QsciScintillaBase_EventFilter(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QsciScintillaBase_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QsciScintillaBase_ViewportEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QsciScintillaBase_WheelEvent(void*, intptr_t, QWheelEvent*); +QSize* miqt_exec_callback_QsciScintillaBase_ViewportSizeHint(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQsciScintillaBase : public virtual QsciScintillaBase { public: diff --git a/qt-restricted-extras/qscintilla6/gen_qscistyle.cpp b/qt-restricted-extras/qscintilla6/gen_qscistyle.cpp index 5ac06136..a856dbc1 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscistyle.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscistyle.cpp @@ -6,10 +6,13 @@ #include #include "gen_qscistyle.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QsciStyle* QsciStyle_new() { return new QsciStyle(); diff --git a/qt-restricted-extras/qscintilla6/gen_qscistyledtext.cpp b/qt-restricted-extras/qscintilla6/gen_qscistyledtext.cpp index 849df1a0..28e78713 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscistyledtext.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscistyledtext.cpp @@ -4,10 +4,13 @@ #include #include "gen_qscistyledtext.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QsciStyledText* QsciStyledText_new(struct miqt_string text, int style) { QString text_QString = QString::fromUtf8(text.data, text.len); diff --git a/qt/cbor/gen_qcborarray.cpp b/qt/cbor/gen_qcborarray.cpp index f257a090..806c80e0 100644 --- a/qt/cbor/gen_qcborarray.cpp +++ b/qt/cbor/gen_qcborarray.cpp @@ -11,10 +11,13 @@ #include #include "gen_qcborarray.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QCborArray* QCborArray_new() { return new QCborArray(); diff --git a/qt/cbor/gen_qcborcommon.cpp b/qt/cbor/gen_qcborcommon.cpp index 43b83da9..ef718233 100644 --- a/qt/cbor/gen_qcborcommon.cpp +++ b/qt/cbor/gen_qcborcommon.cpp @@ -5,10 +5,13 @@ #include #include "gen_qcborcommon.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" int QCborError_ToQCborError__Code(const QCborError* self) { QCborError::Code _ret = self->operator QCborError::Code(); diff --git a/qt/cbor/gen_qcbormap.cpp b/qt/cbor/gen_qcbormap.cpp index 2417ae9a..82bd1b5c 100644 --- a/qt/cbor/gen_qcbormap.cpp +++ b/qt/cbor/gen_qcbormap.cpp @@ -14,10 +14,13 @@ #include #include "gen_qcbormap.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QCborMap* QCborMap_new() { return new QCborMap(); diff --git a/qt/cbor/gen_qcborstreamreader.cpp b/qt/cbor/gen_qcborstreamreader.cpp index 5f6a316e..6d1ce9eb 100644 --- a/qt/cbor/gen_qcborstreamreader.cpp +++ b/qt/cbor/gen_qcborstreamreader.cpp @@ -5,10 +5,13 @@ #include #include "gen_qcborstreamreader.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QCborStreamReader* QCborStreamReader_new() { return new QCborStreamReader(); diff --git a/qt/cbor/gen_qcborstreamwriter.cpp b/qt/cbor/gen_qcborstreamwriter.cpp index f9889db3..38204425 100644 --- a/qt/cbor/gen_qcborstreamwriter.cpp +++ b/qt/cbor/gen_qcborstreamwriter.cpp @@ -4,10 +4,13 @@ #include #include "gen_qcborstreamwriter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QCborStreamWriter* QCborStreamWriter_new(QIODevice* device) { return new QCborStreamWriter(device); diff --git a/qt/cbor/gen_qcborvalue.cpp b/qt/cbor/gen_qcborvalue.cpp index 228b7ada..9913456a 100644 --- a/qt/cbor/gen_qcborvalue.cpp +++ b/qt/cbor/gen_qcborvalue.cpp @@ -18,10 +18,13 @@ #include #include "gen_qcborvalue.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" struct miqt_string QCborParserError_ErrorString(const QCborParserError* self) { QString _ret = self->errorString(); diff --git a/qt/gen_qabstractanimation.cpp b/qt/gen_qabstractanimation.cpp index b807be0a..ec5b3fbd 100644 --- a/qt/gen_qabstractanimation.cpp +++ b/qt/gen_qabstractanimation.cpp @@ -13,10 +13,41 @@ #include #include "gen_qabstractanimation.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractAnimation_Finished(intptr_t); +void miqt_exec_callback_QAbstractAnimation_StateChanged(intptr_t, int, int); +void miqt_exec_callback_QAbstractAnimation_CurrentLoopChanged(intptr_t, int); +void miqt_exec_callback_QAbstractAnimation_DirectionChanged(intptr_t, int); +int miqt_exec_callback_QAbstractAnimation_Duration(void*, intptr_t); +bool miqt_exec_callback_QAbstractAnimation_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractAnimation_UpdateCurrentTime(void*, intptr_t, int); +void miqt_exec_callback_QAbstractAnimation_UpdateState(void*, intptr_t, int, int); +void miqt_exec_callback_QAbstractAnimation_UpdateDirection(void*, intptr_t, int); +bool miqt_exec_callback_QAbstractAnimation_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAbstractAnimation_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAbstractAnimation_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAbstractAnimation_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractAnimation_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAbstractAnimation_DisconnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAnimationDriver_Started(intptr_t); +void miqt_exec_callback_QAnimationDriver_Stopped(intptr_t); +void miqt_exec_callback_QAnimationDriver_Advance(void*, intptr_t); +long long miqt_exec_callback_QAnimationDriver_Elapsed(void*, intptr_t); +void miqt_exec_callback_QAnimationDriver_Start(void*, intptr_t); +void miqt_exec_callback_QAnimationDriver_Stop(void*, intptr_t); +bool miqt_exec_callback_QAnimationDriver_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAnimationDriver_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAnimationDriver_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAnimationDriver_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAnimationDriver_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAnimationDriver_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAnimationDriver_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractAnimation : public virtual QAbstractAnimation { public: diff --git a/qt/gen_qabstractbutton.cpp b/qt/gen_qabstractbutton.cpp index e639df98..e9de0b0c 100644 --- a/qt/gen_qabstractbutton.cpp +++ b/qt/gen_qabstractbutton.cpp @@ -38,10 +38,63 @@ #include #include "gen_qabstractbutton.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractButton_Pressed(intptr_t); +void miqt_exec_callback_QAbstractButton_Released(intptr_t); +void miqt_exec_callback_QAbstractButton_Clicked(intptr_t); +void miqt_exec_callback_QAbstractButton_Toggled(intptr_t, bool); +void miqt_exec_callback_QAbstractButton_Clicked1(intptr_t, bool); +void miqt_exec_callback_QAbstractButton_PaintEvent(void*, intptr_t, QPaintEvent*); +bool miqt_exec_callback_QAbstractButton_HitButton(void*, intptr_t, QPoint*); +void miqt_exec_callback_QAbstractButton_CheckStateSet(void*, intptr_t); +void miqt_exec_callback_QAbstractButton_NextCheckState(void*, intptr_t); +bool miqt_exec_callback_QAbstractButton_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractButton_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QAbstractButton_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QAbstractButton_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractButton_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractButton_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractButton_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QAbstractButton_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QAbstractButton_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractButton_TimerEvent(void*, intptr_t, QTimerEvent*); +int miqt_exec_callback_QAbstractButton_DevType(void*, intptr_t); +void miqt_exec_callback_QAbstractButton_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QAbstractButton_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QAbstractButton_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QAbstractButton_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QAbstractButton_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QAbstractButton_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QAbstractButton_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractButton_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QAbstractButton_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractButton_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractButton_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QAbstractButton_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QAbstractButton_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QAbstractButton_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QAbstractButton_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QAbstractButton_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QAbstractButton_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QAbstractButton_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QAbstractButton_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QAbstractButton_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QAbstractButton_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QAbstractButton_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QAbstractButton_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +int miqt_exec_callback_QAbstractButton_Metric(void*, intptr_t, int); +void miqt_exec_callback_QAbstractButton_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QAbstractButton_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QAbstractButton_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QAbstractButton_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QAbstractButton_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QAbstractButton_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractButton : public virtual QAbstractButton { public: diff --git a/qt/gen_qabstracteventdispatcher.cpp b/qt/gen_qabstracteventdispatcher.cpp index 313900a9..c79baef0 100644 --- a/qt/gen_qabstracteventdispatcher.cpp +++ b/qt/gen_qabstracteventdispatcher.cpp @@ -13,10 +13,15 @@ #include #include "gen_qabstracteventdispatcher.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractEventDispatcher_AboutToBlock(intptr_t); +void miqt_exec_callback_QAbstractEventDispatcher_Awake(intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QAbstractEventDispatcher_virtbase(QAbstractEventDispatcher* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt/gen_qabstractitemdelegate.cpp b/qt/gen_qabstractitemdelegate.cpp index d19fc856..4ddeadc2 100644 --- a/qt/gen_qabstractitemdelegate.cpp +++ b/qt/gen_qabstractitemdelegate.cpp @@ -21,10 +21,34 @@ #include #include "gen_qabstractitemdelegate.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractItemDelegate_CommitData(intptr_t, QWidget*); +void miqt_exec_callback_QAbstractItemDelegate_CloseEditor(intptr_t, QWidget*); +void miqt_exec_callback_QAbstractItemDelegate_SizeHintChanged(intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractItemDelegate_CloseEditor2(intptr_t, QWidget*, int); +void miqt_exec_callback_QAbstractItemDelegate_Paint(void*, intptr_t, QPainter*, QStyleOptionViewItem*, QModelIndex*); +QSize* miqt_exec_callback_QAbstractItemDelegate_SizeHint(void*, intptr_t, QStyleOptionViewItem*, QModelIndex*); +QWidget* miqt_exec_callback_QAbstractItemDelegate_CreateEditor(void*, intptr_t, QWidget*, QStyleOptionViewItem*, QModelIndex*); +void miqt_exec_callback_QAbstractItemDelegate_DestroyEditor(void*, intptr_t, QWidget*, QModelIndex*); +void miqt_exec_callback_QAbstractItemDelegate_SetEditorData(void*, intptr_t, QWidget*, QModelIndex*); +void miqt_exec_callback_QAbstractItemDelegate_SetModelData(void*, intptr_t, QWidget*, QAbstractItemModel*, QModelIndex*); +void miqt_exec_callback_QAbstractItemDelegate_UpdateEditorGeometry(void*, intptr_t, QWidget*, QStyleOptionViewItem*, QModelIndex*); +bool miqt_exec_callback_QAbstractItemDelegate_EditorEvent(void*, intptr_t, QEvent*, QAbstractItemModel*, QStyleOptionViewItem*, QModelIndex*); +bool miqt_exec_callback_QAbstractItemDelegate_HelpEvent(void*, intptr_t, QHelpEvent*, QAbstractItemView*, QStyleOptionViewItem*, QModelIndex*); +struct miqt_array /* of int */ miqt_exec_callback_QAbstractItemDelegate_PaintingRoles(void*, intptr_t); +bool miqt_exec_callback_QAbstractItemDelegate_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAbstractItemDelegate_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAbstractItemDelegate_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAbstractItemDelegate_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAbstractItemDelegate_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractItemDelegate_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAbstractItemDelegate_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractItemDelegate : public virtual QAbstractItemDelegate { public: diff --git a/qt/gen_qabstractitemmodel.cpp b/qt/gen_qabstractitemmodel.cpp index 15a1e194..8498e79c 100644 --- a/qt/gen_qabstractitemmodel.cpp +++ b/qt/gen_qabstractitemmodel.cpp @@ -21,10 +21,126 @@ #include #include "gen_qabstractitemmodel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractItemModel_DataChanged(intptr_t, QModelIndex*, QModelIndex*); +void miqt_exec_callback_QAbstractItemModel_HeaderDataChanged(intptr_t, int, int, int); +void miqt_exec_callback_QAbstractItemModel_LayoutChanged(intptr_t); +void miqt_exec_callback_QAbstractItemModel_LayoutAboutToBeChanged(intptr_t); +void miqt_exec_callback_QAbstractItemModel_DataChanged3(intptr_t, QModelIndex*, QModelIndex*, struct miqt_array /* of int */ ); +void miqt_exec_callback_QAbstractItemModel_LayoutChanged1(intptr_t, struct miqt_array /* of QPersistentModelIndex* */ ); +void miqt_exec_callback_QAbstractItemModel_LayoutChanged2(intptr_t, struct miqt_array /* of QPersistentModelIndex* */ , int); +void miqt_exec_callback_QAbstractItemModel_LayoutAboutToBeChanged1(intptr_t, struct miqt_array /* of QPersistentModelIndex* */ ); +void miqt_exec_callback_QAbstractItemModel_LayoutAboutToBeChanged2(intptr_t, struct miqt_array /* of QPersistentModelIndex* */ , int); +QModelIndex* miqt_exec_callback_QAbstractItemModel_Index(void*, intptr_t, int, int, QModelIndex*); +QModelIndex* miqt_exec_callback_QAbstractItemModel_Parent(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QAbstractItemModel_Sibling(void*, intptr_t, int, int, QModelIndex*); +int miqt_exec_callback_QAbstractItemModel_RowCount(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QAbstractItemModel_ColumnCount(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QAbstractItemModel_HasChildren(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QAbstractItemModel_Data(void*, intptr_t, QModelIndex*, int); +bool miqt_exec_callback_QAbstractItemModel_SetData(void*, intptr_t, QModelIndex*, QVariant*, int); +QVariant* miqt_exec_callback_QAbstractItemModel_HeaderData(void*, intptr_t, int, int, int); +bool miqt_exec_callback_QAbstractItemModel_SetHeaderData(void*, intptr_t, int, int, QVariant*, int); +struct miqt_map /* of int to QVariant* */ miqt_exec_callback_QAbstractItemModel_ItemData(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QAbstractItemModel_SetItemData(void*, intptr_t, QModelIndex*, struct miqt_map /* of int to QVariant* */ ); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QAbstractItemModel_MimeTypes(void*, intptr_t); +QMimeData* miqt_exec_callback_QAbstractItemModel_MimeData(void*, intptr_t, struct miqt_array /* of QModelIndex* */ ); +bool miqt_exec_callback_QAbstractItemModel_CanDropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractItemModel_DropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +int miqt_exec_callback_QAbstractItemModel_SupportedDropActions(void*, intptr_t); +int miqt_exec_callback_QAbstractItemModel_SupportedDragActions(void*, intptr_t); +bool miqt_exec_callback_QAbstractItemModel_InsertRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractItemModel_InsertColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractItemModel_RemoveRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractItemModel_RemoveColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractItemModel_MoveRows(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +bool miqt_exec_callback_QAbstractItemModel_MoveColumns(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +void miqt_exec_callback_QAbstractItemModel_FetchMore(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QAbstractItemModel_CanFetchMore(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QAbstractItemModel_Flags(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractItemModel_Sort(void*, intptr_t, int, int); +QModelIndex* miqt_exec_callback_QAbstractItemModel_Buddy(void*, intptr_t, QModelIndex*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QAbstractItemModel_Match(void*, intptr_t, QModelIndex*, int, QVariant*, int, int); +QSize* miqt_exec_callback_QAbstractItemModel_Span(void*, intptr_t, QModelIndex*); +struct miqt_map /* of int to struct miqt_string */ miqt_exec_callback_QAbstractItemModel_RoleNames(void*, intptr_t); +bool miqt_exec_callback_QAbstractItemModel_Submit(void*, intptr_t); +void miqt_exec_callback_QAbstractItemModel_Revert(void*, intptr_t); +bool miqt_exec_callback_QAbstractItemModel_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAbstractItemModel_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAbstractItemModel_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAbstractItemModel_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAbstractItemModel_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractItemModel_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAbstractItemModel_DisconnectNotify(void*, intptr_t, QMetaMethod*); +QModelIndex* miqt_exec_callback_QAbstractTableModel_Index(void*, intptr_t, int, int, QModelIndex*); +QModelIndex* miqt_exec_callback_QAbstractTableModel_Sibling(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractTableModel_DropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +int miqt_exec_callback_QAbstractTableModel_Flags(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QAbstractTableModel_RowCount(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QAbstractTableModel_ColumnCount(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QAbstractTableModel_Data(void*, intptr_t, QModelIndex*, int); +bool miqt_exec_callback_QAbstractTableModel_SetData(void*, intptr_t, QModelIndex*, QVariant*, int); +QVariant* miqt_exec_callback_QAbstractTableModel_HeaderData(void*, intptr_t, int, int, int); +bool miqt_exec_callback_QAbstractTableModel_SetHeaderData(void*, intptr_t, int, int, QVariant*, int); +struct miqt_map /* of int to QVariant* */ miqt_exec_callback_QAbstractTableModel_ItemData(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QAbstractTableModel_SetItemData(void*, intptr_t, QModelIndex*, struct miqt_map /* of int to QVariant* */ ); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QAbstractTableModel_MimeTypes(void*, intptr_t); +QMimeData* miqt_exec_callback_QAbstractTableModel_MimeData(void*, intptr_t, struct miqt_array /* of QModelIndex* */ ); +bool miqt_exec_callback_QAbstractTableModel_CanDropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +int miqt_exec_callback_QAbstractTableModel_SupportedDropActions(void*, intptr_t); +int miqt_exec_callback_QAbstractTableModel_SupportedDragActions(void*, intptr_t); +bool miqt_exec_callback_QAbstractTableModel_InsertRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractTableModel_InsertColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractTableModel_RemoveRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractTableModel_RemoveColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractTableModel_MoveRows(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +bool miqt_exec_callback_QAbstractTableModel_MoveColumns(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +void miqt_exec_callback_QAbstractTableModel_FetchMore(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QAbstractTableModel_CanFetchMore(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractTableModel_Sort(void*, intptr_t, int, int); +QModelIndex* miqt_exec_callback_QAbstractTableModel_Buddy(void*, intptr_t, QModelIndex*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QAbstractTableModel_Match(void*, intptr_t, QModelIndex*, int, QVariant*, int, int); +QSize* miqt_exec_callback_QAbstractTableModel_Span(void*, intptr_t, QModelIndex*); +struct miqt_map /* of int to struct miqt_string */ miqt_exec_callback_QAbstractTableModel_RoleNames(void*, intptr_t); +bool miqt_exec_callback_QAbstractTableModel_Submit(void*, intptr_t); +void miqt_exec_callback_QAbstractTableModel_Revert(void*, intptr_t); +QModelIndex* miqt_exec_callback_QAbstractListModel_Index(void*, intptr_t, int, int, QModelIndex*); +QModelIndex* miqt_exec_callback_QAbstractListModel_Sibling(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractListModel_DropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +int miqt_exec_callback_QAbstractListModel_Flags(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QAbstractListModel_RowCount(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QAbstractListModel_Data(void*, intptr_t, QModelIndex*, int); +bool miqt_exec_callback_QAbstractListModel_SetData(void*, intptr_t, QModelIndex*, QVariant*, int); +QVariant* miqt_exec_callback_QAbstractListModel_HeaderData(void*, intptr_t, int, int, int); +bool miqt_exec_callback_QAbstractListModel_SetHeaderData(void*, intptr_t, int, int, QVariant*, int); +struct miqt_map /* of int to QVariant* */ miqt_exec_callback_QAbstractListModel_ItemData(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QAbstractListModel_SetItemData(void*, intptr_t, QModelIndex*, struct miqt_map /* of int to QVariant* */ ); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QAbstractListModel_MimeTypes(void*, intptr_t); +QMimeData* miqt_exec_callback_QAbstractListModel_MimeData(void*, intptr_t, struct miqt_array /* of QModelIndex* */ ); +bool miqt_exec_callback_QAbstractListModel_CanDropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +int miqt_exec_callback_QAbstractListModel_SupportedDropActions(void*, intptr_t); +int miqt_exec_callback_QAbstractListModel_SupportedDragActions(void*, intptr_t); +bool miqt_exec_callback_QAbstractListModel_InsertRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractListModel_InsertColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractListModel_RemoveRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractListModel_RemoveColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractListModel_MoveRows(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +bool miqt_exec_callback_QAbstractListModel_MoveColumns(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +void miqt_exec_callback_QAbstractListModel_FetchMore(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QAbstractListModel_CanFetchMore(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractListModel_Sort(void*, intptr_t, int, int); +QModelIndex* miqt_exec_callback_QAbstractListModel_Buddy(void*, intptr_t, QModelIndex*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QAbstractListModel_Match(void*, intptr_t, QModelIndex*, int, QVariant*, int, int); +QSize* miqt_exec_callback_QAbstractListModel_Span(void*, intptr_t, QModelIndex*); +struct miqt_map /* of int to struct miqt_string */ miqt_exec_callback_QAbstractListModel_RoleNames(void*, intptr_t); +bool miqt_exec_callback_QAbstractListModel_Submit(void*, intptr_t); +void miqt_exec_callback_QAbstractListModel_Revert(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QModelIndex* QModelIndex_new() { return new QModelIndex(); diff --git a/qt/gen_qabstractitemview.cpp b/qt/gen_qabstractitemview.cpp index 2363a06f..17bdc593 100644 --- a/qt/gen_qabstractitemview.cpp +++ b/qt/gen_qabstractitemview.cpp @@ -37,10 +37,85 @@ #include #include "gen_qabstractitemview.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractItemView_Pressed(intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractItemView_Clicked(intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractItemView_DoubleClicked(intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractItemView_Activated(intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractItemView_Entered(intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractItemView_ViewportEntered(intptr_t); +void miqt_exec_callback_QAbstractItemView_IconSizeChanged(intptr_t, QSize*); +void miqt_exec_callback_QAbstractItemView_SetModel(void*, intptr_t, QAbstractItemModel*); +void miqt_exec_callback_QAbstractItemView_SetSelectionModel(void*, intptr_t, QItemSelectionModel*); +void miqt_exec_callback_QAbstractItemView_KeyboardSearch(void*, intptr_t, struct miqt_string); +QRect* miqt_exec_callback_QAbstractItemView_VisualRect(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractItemView_ScrollTo(void*, intptr_t, QModelIndex*, int); +QModelIndex* miqt_exec_callback_QAbstractItemView_IndexAt(void*, intptr_t, QPoint*); +int miqt_exec_callback_QAbstractItemView_SizeHintForRow(void*, intptr_t, int); +int miqt_exec_callback_QAbstractItemView_SizeHintForColumn(void*, intptr_t, int); +QVariant* miqt_exec_callback_QAbstractItemView_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QAbstractItemView_Reset(void*, intptr_t); +void miqt_exec_callback_QAbstractItemView_SetRootIndex(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractItemView_DoItemsLayout(void*, intptr_t); +void miqt_exec_callback_QAbstractItemView_SelectAll(void*, intptr_t); +void miqt_exec_callback_QAbstractItemView_DataChanged(void*, intptr_t, QModelIndex*, QModelIndex*, struct miqt_array /* of int */ ); +void miqt_exec_callback_QAbstractItemView_RowsInserted(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QAbstractItemView_RowsAboutToBeRemoved(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QAbstractItemView_SelectionChanged(void*, intptr_t, QItemSelection*, QItemSelection*); +void miqt_exec_callback_QAbstractItemView_CurrentChanged(void*, intptr_t, QModelIndex*, QModelIndex*); +void miqt_exec_callback_QAbstractItemView_UpdateEditorData(void*, intptr_t); +void miqt_exec_callback_QAbstractItemView_UpdateEditorGeometries(void*, intptr_t); +void miqt_exec_callback_QAbstractItemView_UpdateGeometries(void*, intptr_t); +void miqt_exec_callback_QAbstractItemView_VerticalScrollbarAction(void*, intptr_t, int); +void miqt_exec_callback_QAbstractItemView_HorizontalScrollbarAction(void*, intptr_t, int); +void miqt_exec_callback_QAbstractItemView_VerticalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QAbstractItemView_HorizontalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QAbstractItemView_CloseEditor(void*, intptr_t, QWidget*, int); +void miqt_exec_callback_QAbstractItemView_CommitData(void*, intptr_t, QWidget*); +void miqt_exec_callback_QAbstractItemView_EditorDestroyed(void*, intptr_t, QObject*); +QModelIndex* miqt_exec_callback_QAbstractItemView_MoveCursor(void*, intptr_t, int, int); +int miqt_exec_callback_QAbstractItemView_HorizontalOffset(void*, intptr_t); +int miqt_exec_callback_QAbstractItemView_VerticalOffset(void*, intptr_t); +bool miqt_exec_callback_QAbstractItemView_IsIndexHidden(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractItemView_SetSelection(void*, intptr_t, QRect*, int); +QRegion* miqt_exec_callback_QAbstractItemView_VisualRegionForSelection(void*, intptr_t, QItemSelection*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QAbstractItemView_SelectedIndexes(void*, intptr_t); +bool miqt_exec_callback_QAbstractItemView_Edit2(void*, intptr_t, QModelIndex*, int, QEvent*); +int miqt_exec_callback_QAbstractItemView_SelectionCommand(void*, intptr_t, QModelIndex*, QEvent*); +void miqt_exec_callback_QAbstractItemView_StartDrag(void*, intptr_t, int); +QStyleOptionViewItem* miqt_exec_callback_QAbstractItemView_ViewOptions(void*, intptr_t); +bool miqt_exec_callback_QAbstractItemView_FocusNextPrevChild(void*, intptr_t, bool); +bool miqt_exec_callback_QAbstractItemView_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAbstractItemView_ViewportEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractItemView_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractItemView_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractItemView_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractItemView_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractItemView_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QAbstractItemView_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QAbstractItemView_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QAbstractItemView_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QAbstractItemView_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QAbstractItemView_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QAbstractItemView_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QAbstractItemView_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QAbstractItemView_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAbstractItemView_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +bool miqt_exec_callback_QAbstractItemView_EventFilter(void*, intptr_t, QObject*, QEvent*); +QSize* miqt_exec_callback_QAbstractItemView_ViewportSizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QAbstractItemView_MinimumSizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QAbstractItemView_SizeHint(void*, intptr_t); +void miqt_exec_callback_QAbstractItemView_SetupViewport(void*, intptr_t, QWidget*); +void miqt_exec_callback_QAbstractItemView_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QAbstractItemView_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QAbstractItemView_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QAbstractItemView_ScrollContentsBy(void*, intptr_t, int, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractItemView : public virtual QAbstractItemView { public: diff --git a/qt/gen_qabstractnativeeventfilter.cpp b/qt/gen_qabstractnativeeventfilter.cpp index 83fd4510..f0e160ed 100644 --- a/qt/gen_qabstractnativeeventfilter.cpp +++ b/qt/gen_qabstractnativeeventfilter.cpp @@ -3,10 +3,14 @@ #include #include "gen_qabstractnativeeventfilter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QAbstractNativeEventFilter_NativeEventFilter(void*, intptr_t, struct miqt_string, void*, long*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractNativeEventFilter : public virtual QAbstractNativeEventFilter { public: diff --git a/qt/gen_qabstractproxymodel.cpp b/qt/gen_qabstractproxymodel.cpp index 7d893b1d..a660af6c 100644 --- a/qt/gen_qabstractproxymodel.cpp +++ b/qt/gen_qabstractproxymodel.cpp @@ -16,10 +16,52 @@ #include #include "gen_qabstractproxymodel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractProxyModel_SetSourceModel(void*, intptr_t, QAbstractItemModel*); +QModelIndex* miqt_exec_callback_QAbstractProxyModel_MapToSource(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QAbstractProxyModel_MapFromSource(void*, intptr_t, QModelIndex*); +QItemSelection* miqt_exec_callback_QAbstractProxyModel_MapSelectionToSource(void*, intptr_t, QItemSelection*); +QItemSelection* miqt_exec_callback_QAbstractProxyModel_MapSelectionFromSource(void*, intptr_t, QItemSelection*); +bool miqt_exec_callback_QAbstractProxyModel_Submit(void*, intptr_t); +void miqt_exec_callback_QAbstractProxyModel_Revert(void*, intptr_t); +QVariant* miqt_exec_callback_QAbstractProxyModel_Data(void*, intptr_t, QModelIndex*, int); +QVariant* miqt_exec_callback_QAbstractProxyModel_HeaderData(void*, intptr_t, int, int, int); +struct miqt_map /* of int to QVariant* */ miqt_exec_callback_QAbstractProxyModel_ItemData(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QAbstractProxyModel_Flags(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QAbstractProxyModel_SetData(void*, intptr_t, QModelIndex*, QVariant*, int); +bool miqt_exec_callback_QAbstractProxyModel_SetItemData(void*, intptr_t, QModelIndex*, struct miqt_map /* of int to QVariant* */ ); +bool miqt_exec_callback_QAbstractProxyModel_SetHeaderData(void*, intptr_t, int, int, QVariant*, int); +QModelIndex* miqt_exec_callback_QAbstractProxyModel_Buddy(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QAbstractProxyModel_CanFetchMore(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractProxyModel_FetchMore(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractProxyModel_Sort(void*, intptr_t, int, int); +QSize* miqt_exec_callback_QAbstractProxyModel_Span(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QAbstractProxyModel_HasChildren(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QAbstractProxyModel_Sibling(void*, intptr_t, int, int, QModelIndex*); +QMimeData* miqt_exec_callback_QAbstractProxyModel_MimeData(void*, intptr_t, struct miqt_array /* of QModelIndex* */ ); +bool miqt_exec_callback_QAbstractProxyModel_CanDropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractProxyModel_DropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QAbstractProxyModel_MimeTypes(void*, intptr_t); +int miqt_exec_callback_QAbstractProxyModel_SupportedDragActions(void*, intptr_t); +int miqt_exec_callback_QAbstractProxyModel_SupportedDropActions(void*, intptr_t); +QModelIndex* miqt_exec_callback_QAbstractProxyModel_Index(void*, intptr_t, int, int, QModelIndex*); +QModelIndex* miqt_exec_callback_QAbstractProxyModel_Parent(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QAbstractProxyModel_RowCount(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QAbstractProxyModel_ColumnCount(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QAbstractProxyModel_InsertRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractProxyModel_InsertColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractProxyModel_RemoveRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractProxyModel_RemoveColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractProxyModel_MoveRows(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +bool miqt_exec_callback_QAbstractProxyModel_MoveColumns(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QAbstractProxyModel_Match(void*, intptr_t, QModelIndex*, int, QVariant*, int, int); +struct miqt_map /* of int to struct miqt_string */ miqt_exec_callback_QAbstractProxyModel_RoleNames(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractProxyModel : public virtual QAbstractProxyModel { public: diff --git a/qt/gen_qabstractscrollarea.cpp b/qt/gen_qabstractscrollarea.cpp index d0050b55..3f80b4f4 100644 --- a/qt/gen_qabstractscrollarea.cpp +++ b/qt/gen_qabstractscrollarea.cpp @@ -24,10 +24,35 @@ #include #include "gen_qabstractscrollarea.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QAbstractScrollArea_MinimumSizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QAbstractScrollArea_SizeHint(void*, intptr_t); +void miqt_exec_callback_QAbstractScrollArea_SetupViewport(void*, intptr_t, QWidget*); +bool miqt_exec_callback_QAbstractScrollArea_EventFilter(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QAbstractScrollArea_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAbstractScrollArea_ViewportEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractScrollArea_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QAbstractScrollArea_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QAbstractScrollArea_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractScrollArea_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractScrollArea_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractScrollArea_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractScrollArea_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QAbstractScrollArea_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QAbstractScrollArea_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QAbstractScrollArea_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QAbstractScrollArea_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QAbstractScrollArea_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QAbstractScrollArea_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QAbstractScrollArea_ScrollContentsBy(void*, intptr_t, int, int); +QSize* miqt_exec_callback_QAbstractScrollArea_ViewportSizeHint(void*, intptr_t); +void miqt_exec_callback_QAbstractScrollArea_ChangeEvent(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractScrollArea : public virtual QAbstractScrollArea { public: diff --git a/qt/gen_qabstractslider.cpp b/qt/gen_qabstractslider.cpp index 6e014ece..09a765e9 100644 --- a/qt/gen_qabstractslider.cpp +++ b/qt/gen_qabstractslider.cpp @@ -35,10 +35,62 @@ #include #include "gen_qabstractslider.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractSlider_ValueChanged(intptr_t, int); +void miqt_exec_callback_QAbstractSlider_SliderPressed(intptr_t); +void miqt_exec_callback_QAbstractSlider_SliderMoved(intptr_t, int); +void miqt_exec_callback_QAbstractSlider_SliderReleased(intptr_t); +void miqt_exec_callback_QAbstractSlider_RangeChanged(intptr_t, int, int); +void miqt_exec_callback_QAbstractSlider_ActionTriggered(intptr_t, int); +bool miqt_exec_callback_QAbstractSlider_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractSlider_SliderChange(void*, intptr_t, int); +void miqt_exec_callback_QAbstractSlider_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QAbstractSlider_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAbstractSlider_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QAbstractSlider_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QAbstractSlider_DevType(void*, intptr_t); +void miqt_exec_callback_QAbstractSlider_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QAbstractSlider_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QAbstractSlider_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QAbstractSlider_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QAbstractSlider_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QAbstractSlider_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QAbstractSlider_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractSlider_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractSlider_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractSlider_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractSlider_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QAbstractSlider_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QAbstractSlider_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QAbstractSlider_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractSlider_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractSlider_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QAbstractSlider_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QAbstractSlider_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QAbstractSlider_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QAbstractSlider_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QAbstractSlider_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QAbstractSlider_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QAbstractSlider_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QAbstractSlider_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QAbstractSlider_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QAbstractSlider_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QAbstractSlider_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QAbstractSlider_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QAbstractSlider_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +int miqt_exec_callback_QAbstractSlider_Metric(void*, intptr_t, int); +void miqt_exec_callback_QAbstractSlider_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QAbstractSlider_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QAbstractSlider_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QAbstractSlider_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QAbstractSlider_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QAbstractSlider_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractSlider : public virtual QAbstractSlider { public: diff --git a/qt/gen_qabstractspinbox.cpp b/qt/gen_qabstractspinbox.cpp index 70cac8c0..0a0a7cd5 100644 --- a/qt/gen_qabstractspinbox.cpp +++ b/qt/gen_qabstractspinbox.cpp @@ -35,10 +35,61 @@ #include #include "gen_qabstractspinbox.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractSpinBox_EditingFinished(intptr_t); +QSize* miqt_exec_callback_QAbstractSpinBox_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QAbstractSpinBox_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QAbstractSpinBox_Event(void*, intptr_t, QEvent*); +QVariant* miqt_exec_callback_QAbstractSpinBox_InputMethodQuery(void*, intptr_t, int); +int miqt_exec_callback_QAbstractSpinBox_Validate(void*, intptr_t, struct miqt_string, int*); +void miqt_exec_callback_QAbstractSpinBox_Fixup(void*, intptr_t, struct miqt_string); +void miqt_exec_callback_QAbstractSpinBox_StepBy(void*, intptr_t, int); +void miqt_exec_callback_QAbstractSpinBox_Clear(void*, intptr_t); +void miqt_exec_callback_QAbstractSpinBox_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QAbstractSpinBox_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QAbstractSpinBox_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QAbstractSpinBox_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QAbstractSpinBox_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QAbstractSpinBox_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QAbstractSpinBox_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QAbstractSpinBox_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractSpinBox_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QAbstractSpinBox_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QAbstractSpinBox_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractSpinBox_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractSpinBox_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractSpinBox_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAbstractSpinBox_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QAbstractSpinBox_ShowEvent(void*, intptr_t, QShowEvent*); +int miqt_exec_callback_QAbstractSpinBox_StepEnabled(void*, intptr_t); +int miqt_exec_callback_QAbstractSpinBox_DevType(void*, intptr_t); +void miqt_exec_callback_QAbstractSpinBox_SetVisible(void*, intptr_t, bool); +int miqt_exec_callback_QAbstractSpinBox_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QAbstractSpinBox_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QAbstractSpinBox_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QAbstractSpinBox_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractSpinBox_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractSpinBox_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractSpinBox_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QAbstractSpinBox_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QAbstractSpinBox_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QAbstractSpinBox_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QAbstractSpinBox_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QAbstractSpinBox_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QAbstractSpinBox_DropEvent(void*, intptr_t, QDropEvent*); +bool miqt_exec_callback_QAbstractSpinBox_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +int miqt_exec_callback_QAbstractSpinBox_Metric(void*, intptr_t, int); +void miqt_exec_callback_QAbstractSpinBox_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QAbstractSpinBox_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QAbstractSpinBox_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QAbstractSpinBox_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +bool miqt_exec_callback_QAbstractSpinBox_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractSpinBox : public virtual QAbstractSpinBox { public: diff --git a/qt/gen_qabstractstate.cpp b/qt/gen_qabstractstate.cpp index 9a9f90d8..e1bbf29e 100644 --- a/qt/gen_qabstractstate.cpp +++ b/qt/gen_qabstractstate.cpp @@ -10,10 +10,14 @@ #include #include "gen_qabstractstate.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractState_ActiveChanged(intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QAbstractState_virtbase(QAbstractState* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt/gen_qabstracttextdocumentlayout.cpp b/qt/gen_qabstracttextdocumentlayout.cpp index 53c3dfea..20c1b8ff 100644 --- a/qt/gen_qabstracttextdocumentlayout.cpp +++ b/qt/gen_qabstracttextdocumentlayout.cpp @@ -24,10 +24,35 @@ #include #include "gen_qabstracttextdocumentlayout.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractTextDocumentLayout_Update(intptr_t); +void miqt_exec_callback_QAbstractTextDocumentLayout_UpdateBlock(intptr_t, QTextBlock*); +void miqt_exec_callback_QAbstractTextDocumentLayout_DocumentSizeChanged(intptr_t, QSizeF*); +void miqt_exec_callback_QAbstractTextDocumentLayout_PageCountChanged(intptr_t, int); +void miqt_exec_callback_QAbstractTextDocumentLayout_Update1(intptr_t, QRectF*); +void miqt_exec_callback_QAbstractTextDocumentLayout_Draw(void*, intptr_t, QPainter*, QAbstractTextDocumentLayout__PaintContext*); +int miqt_exec_callback_QAbstractTextDocumentLayout_HitTest(void*, intptr_t, QPointF*, int); +int miqt_exec_callback_QAbstractTextDocumentLayout_PageCount(void*, intptr_t); +QSizeF* miqt_exec_callback_QAbstractTextDocumentLayout_DocumentSize(void*, intptr_t); +QRectF* miqt_exec_callback_QAbstractTextDocumentLayout_FrameBoundingRect(void*, intptr_t, QTextFrame*); +QRectF* miqt_exec_callback_QAbstractTextDocumentLayout_BlockBoundingRect(void*, intptr_t, QTextBlock*); +void miqt_exec_callback_QAbstractTextDocumentLayout_DocumentChanged(void*, intptr_t, int, int, int); +void miqt_exec_callback_QAbstractTextDocumentLayout_ResizeInlineObject(void*, intptr_t, QTextInlineObject*, int, QTextFormat*); +void miqt_exec_callback_QAbstractTextDocumentLayout_PositionInlineObject(void*, intptr_t, QTextInlineObject*, int, QTextFormat*); +void miqt_exec_callback_QAbstractTextDocumentLayout_DrawInlineObject(void*, intptr_t, QPainter*, QRectF*, QTextInlineObject*, int, QTextFormat*); +bool miqt_exec_callback_QAbstractTextDocumentLayout_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAbstractTextDocumentLayout_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAbstractTextDocumentLayout_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAbstractTextDocumentLayout_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAbstractTextDocumentLayout_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractTextDocumentLayout_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAbstractTextDocumentLayout_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractTextDocumentLayout : public virtual QAbstractTextDocumentLayout { public: diff --git a/qt/gen_qabstracttransition.cpp b/qt/gen_qabstracttransition.cpp index 272b20db..223f91c2 100644 --- a/qt/gen_qabstracttransition.cpp +++ b/qt/gen_qabstracttransition.cpp @@ -16,10 +16,22 @@ #include #include "gen_qabstracttransition.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QAbstractTransition_EventTest(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractTransition_OnTransition(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAbstractTransition_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAbstractTransition_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAbstractTransition_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAbstractTransition_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAbstractTransition_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractTransition_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAbstractTransition_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractTransition : public virtual QAbstractTransition { public: diff --git a/qt/gen_qaccessible.cpp b/qt/gen_qaccessible.cpp index f5c10af7..5a999409 100644 --- a/qt/gen_qaccessible.cpp +++ b/qt/gen_qaccessible.cpp @@ -34,10 +34,18 @@ #include #include "gen_qaccessible.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QAccessibleInterface* miqt_exec_callback_QAccessibleEvent_AccessibleInterface(void*, intptr_t); +QAccessibleInterface* miqt_exec_callback_QAccessibleStateChangeEvent_AccessibleInterface(void*, intptr_t); +QAccessibleInterface* miqt_exec_callback_QAccessibleTextCursorEvent_AccessibleInterface(void*, intptr_t); +QAccessibleInterface* miqt_exec_callback_QAccessibleValueChangeEvent_AccessibleInterface(void*, intptr_t); +QAccessibleInterface* miqt_exec_callback_QAccessibleTableModelChangeEvent_AccessibleInterface(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QAccessible_InstallActivationObserver(QAccessible__ActivationObserver* param1) { QAccessible::installActivationObserver(param1); diff --git a/qt/gen_qaccessiblebridge.cpp b/qt/gen_qaccessiblebridge.cpp index 9dc09f51..64d64bb1 100644 --- a/qt/gen_qaccessiblebridge.cpp +++ b/qt/gen_qaccessiblebridge.cpp @@ -14,10 +14,21 @@ #include #include "gen_qaccessiblebridge.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QAccessibleBridge* miqt_exec_callback_QAccessibleBridgePlugin_Create(void*, intptr_t, struct miqt_string); +bool miqt_exec_callback_QAccessibleBridgePlugin_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAccessibleBridgePlugin_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAccessibleBridgePlugin_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAccessibleBridgePlugin_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAccessibleBridgePlugin_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAccessibleBridgePlugin_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAccessibleBridgePlugin_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QAccessibleBridge_SetRootObject(QAccessibleBridge* self, QAccessibleInterface* rootObject) { self->setRootObject(rootObject); diff --git a/qt/gen_qaccessibleobject.cpp b/qt/gen_qaccessibleobject.cpp index b715c670..7161e54a 100644 --- a/qt/gen_qaccessibleobject.cpp +++ b/qt/gen_qaccessibleobject.cpp @@ -11,10 +11,13 @@ #include #include "gen_qaccessibleobject.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QAccessibleObject_virtbase(QAccessibleObject* src, QAccessibleInterface** outptr_QAccessibleInterface) { *outptr_QAccessibleInterface = static_cast(src); diff --git a/qt/gen_qaccessibleplugin.cpp b/qt/gen_qaccessibleplugin.cpp index 57f007c8..6b43d854 100644 --- a/qt/gen_qaccessibleplugin.cpp +++ b/qt/gen_qaccessibleplugin.cpp @@ -12,10 +12,21 @@ #include #include "gen_qaccessibleplugin.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QAccessibleInterface* miqt_exec_callback_QAccessiblePlugin_Create(void*, intptr_t, struct miqt_string, QObject*); +bool miqt_exec_callback_QAccessiblePlugin_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAccessiblePlugin_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAccessiblePlugin_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAccessiblePlugin_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAccessiblePlugin_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAccessiblePlugin_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAccessiblePlugin_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAccessiblePlugin : public virtual QAccessiblePlugin { public: diff --git a/qt/gen_qaccessiblewidget.cpp b/qt/gen_qaccessiblewidget.cpp index 3525365e..0a05a8a1 100644 --- a/qt/gen_qaccessiblewidget.cpp +++ b/qt/gen_qaccessiblewidget.cpp @@ -15,10 +15,13 @@ #include #include "gen_qaccessiblewidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QAccessibleWidget* QAccessibleWidget_new(QWidget* o) { return new QAccessibleWidget(o); diff --git a/qt/gen_qaction.cpp b/qt/gen_qaction.cpp index ae25d335..5eef33db 100644 --- a/qt/gen_qaction.cpp +++ b/qt/gen_qaction.cpp @@ -20,10 +20,25 @@ #include #include "gen_qaction.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAction_Changed(intptr_t); +void miqt_exec_callback_QAction_Triggered(intptr_t); +void miqt_exec_callback_QAction_Hovered(intptr_t); +void miqt_exec_callback_QAction_Toggled(intptr_t, bool); +void miqt_exec_callback_QAction_Triggered1(intptr_t, bool); +bool miqt_exec_callback_QAction_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAction_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAction_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAction_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAction_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAction_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAction_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAction : public virtual QAction { public: diff --git a/qt/gen_qactiongroup.cpp b/qt/gen_qactiongroup.cpp index b73eceb0..d664b1ad 100644 --- a/qt/gen_qactiongroup.cpp +++ b/qt/gen_qactiongroup.cpp @@ -14,10 +14,22 @@ #include #include "gen_qactiongroup.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QActionGroup_Triggered(intptr_t, QAction*); +void miqt_exec_callback_QActionGroup_Hovered(intptr_t, QAction*); +bool miqt_exec_callback_QActionGroup_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QActionGroup_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QActionGroup_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QActionGroup_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QActionGroup_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QActionGroup_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QActionGroup_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQActionGroup : public virtual QActionGroup { public: diff --git a/qt/gen_qanimationgroup.cpp b/qt/gen_qanimationgroup.cpp index 81903c57..cff9ad8e 100644 --- a/qt/gen_qanimationgroup.cpp +++ b/qt/gen_qanimationgroup.cpp @@ -9,10 +9,18 @@ #include #include "gen_qanimationgroup.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QAnimationGroup_Event(void*, intptr_t, QEvent*); +int miqt_exec_callback_QAnimationGroup_Duration(void*, intptr_t); +void miqt_exec_callback_QAnimationGroup_UpdateCurrentTime(void*, intptr_t, int); +void miqt_exec_callback_QAnimationGroup_UpdateState(void*, intptr_t, int, int); +void miqt_exec_callback_QAnimationGroup_UpdateDirection(void*, intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAnimationGroup : public virtual QAnimationGroup { public: diff --git a/qt/gen_qapplication.cpp b/qt/gen_qapplication.cpp index 8188bbfe..30ab75b4 100644 --- a/qt/gen_qapplication.cpp +++ b/qt/gen_qapplication.cpp @@ -20,10 +20,16 @@ #include #include "gen_qapplication.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QApplication_FocusChanged(intptr_t, QWidget*, QWidget*); +bool miqt_exec_callback_QApplication_Notify(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QApplication_Event(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQApplication : public virtual QApplication { public: diff --git a/qt/gen_qarraydata.cpp b/qt/gen_qarraydata.cpp index d36d12ef..2dee5e90 100644 --- a/qt/gen_qarraydata.cpp +++ b/qt/gen_qarraydata.cpp @@ -2,10 +2,13 @@ #include #include "gen_qarraydata.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void* QArrayData_Data(QArrayData* self) { return self->data(); diff --git a/qt/gen_qbackingstore.cpp b/qt/gen_qbackingstore.cpp index a154edc7..cdf92ecc 100644 --- a/qt/gen_qbackingstore.cpp +++ b/qt/gen_qbackingstore.cpp @@ -7,10 +7,13 @@ #include #include "gen_qbackingstore.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QBackingStore* QBackingStore_new(QWindow* window) { return new QBackingStore(window); diff --git a/qt/gen_qbasictimer.cpp b/qt/gen_qbasictimer.cpp index 2a6be382..7134e8fc 100644 --- a/qt/gen_qbasictimer.cpp +++ b/qt/gen_qbasictimer.cpp @@ -3,10 +3,13 @@ #include #include "gen_qbasictimer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QBasicTimer* QBasicTimer_new(QBasicTimer* param1) { return new QBasicTimer(*param1); diff --git a/qt/gen_qbitarray.cpp b/qt/gen_qbitarray.cpp index 187fd0ba..39e642d2 100644 --- a/qt/gen_qbitarray.cpp +++ b/qt/gen_qbitarray.cpp @@ -3,10 +3,13 @@ #include #include "gen_qbitarray.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QBitArray* QBitArray_new() { return new QBitArray(); diff --git a/qt/gen_qbitmap.cpp b/qt/gen_qbitmap.cpp index 9370b622..d9f4dbda 100644 --- a/qt/gen_qbitmap.cpp +++ b/qt/gen_qbitmap.cpp @@ -13,10 +13,16 @@ #include #include "gen_qbitmap.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QBitmap_DevType(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QBitmap_PaintEngine(void*, intptr_t); +int miqt_exec_callback_QBitmap_Metric(void*, intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQBitmap : public virtual QBitmap { public: diff --git a/qt/gen_qboxlayout.cpp b/qt/gen_qboxlayout.cpp index d9dca198..d8e51979 100644 --- a/qt/gen_qboxlayout.cpp +++ b/qt/gen_qboxlayout.cpp @@ -16,10 +16,58 @@ #include #include "gen_qboxlayout.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QBoxLayout_AddItem(void*, intptr_t, QLayoutItem*); +QSize* miqt_exec_callback_QBoxLayout_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QBoxLayout_MinimumSize(void*, intptr_t); +QSize* miqt_exec_callback_QBoxLayout_MaximumSize(void*, intptr_t); +bool miqt_exec_callback_QBoxLayout_HasHeightForWidth(void*, intptr_t); +int miqt_exec_callback_QBoxLayout_HeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QBoxLayout_MinimumHeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QBoxLayout_ExpandingDirections(void*, intptr_t); +void miqt_exec_callback_QBoxLayout_Invalidate(void*, intptr_t); +QLayoutItem* miqt_exec_callback_QBoxLayout_ItemAt(void*, intptr_t, int); +QLayoutItem* miqt_exec_callback_QBoxLayout_TakeAt(void*, intptr_t, int); +int miqt_exec_callback_QBoxLayout_Count(void*, intptr_t); +void miqt_exec_callback_QBoxLayout_SetGeometry(void*, intptr_t, QRect*); +QRect* miqt_exec_callback_QBoxLayout_Geometry(void*, intptr_t); +int miqt_exec_callback_QBoxLayout_IndexOf(void*, intptr_t, QWidget*); +bool miqt_exec_callback_QBoxLayout_IsEmpty(void*, intptr_t); +int miqt_exec_callback_QBoxLayout_ControlTypes(void*, intptr_t); +QLayout* miqt_exec_callback_QBoxLayout_Layout(void*, intptr_t); +void miqt_exec_callback_QBoxLayout_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QHBoxLayout_AddItem(void*, intptr_t, QLayoutItem*); +QSize* miqt_exec_callback_QHBoxLayout_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QHBoxLayout_MinimumSize(void*, intptr_t); +QSize* miqt_exec_callback_QHBoxLayout_MaximumSize(void*, intptr_t); +bool miqt_exec_callback_QHBoxLayout_HasHeightForWidth(void*, intptr_t); +int miqt_exec_callback_QHBoxLayout_HeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QHBoxLayout_MinimumHeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QHBoxLayout_ExpandingDirections(void*, intptr_t); +void miqt_exec_callback_QHBoxLayout_Invalidate(void*, intptr_t); +QLayoutItem* miqt_exec_callback_QHBoxLayout_ItemAt(void*, intptr_t, int); +QLayoutItem* miqt_exec_callback_QHBoxLayout_TakeAt(void*, intptr_t, int); +int miqt_exec_callback_QHBoxLayout_Count(void*, intptr_t); +void miqt_exec_callback_QHBoxLayout_SetGeometry(void*, intptr_t, QRect*); +void miqt_exec_callback_QVBoxLayout_AddItem(void*, intptr_t, QLayoutItem*); +QSize* miqt_exec_callback_QVBoxLayout_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QVBoxLayout_MinimumSize(void*, intptr_t); +QSize* miqt_exec_callback_QVBoxLayout_MaximumSize(void*, intptr_t); +bool miqt_exec_callback_QVBoxLayout_HasHeightForWidth(void*, intptr_t); +int miqt_exec_callback_QVBoxLayout_HeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QVBoxLayout_MinimumHeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QVBoxLayout_ExpandingDirections(void*, intptr_t); +void miqt_exec_callback_QVBoxLayout_Invalidate(void*, intptr_t); +QLayoutItem* miqt_exec_callback_QVBoxLayout_ItemAt(void*, intptr_t, int); +QLayoutItem* miqt_exec_callback_QVBoxLayout_TakeAt(void*, intptr_t, int); +int miqt_exec_callback_QVBoxLayout_Count(void*, intptr_t); +void miqt_exec_callback_QVBoxLayout_SetGeometry(void*, intptr_t, QRect*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQBoxLayout : public virtual QBoxLayout { public: diff --git a/qt/gen_qbrush.cpp b/qt/gen_qbrush.cpp index cfc45030..5c4bb12e 100644 --- a/qt/gen_qbrush.cpp +++ b/qt/gen_qbrush.cpp @@ -17,10 +17,13 @@ #include #include "gen_qbrush.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QBrush* QBrush_new() { return new QBrush(); diff --git a/qt/gen_qbuffer.cpp b/qt/gen_qbuffer.cpp index 115f3345..d2c58611 100644 --- a/qt/gen_qbuffer.cpp +++ b/qt/gen_qbuffer.cpp @@ -10,10 +10,31 @@ #include #include "gen_qbuffer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QBuffer_Open(void*, intptr_t, int); +void miqt_exec_callback_QBuffer_Close(void*, intptr_t); +long long miqt_exec_callback_QBuffer_Size(void*, intptr_t); +long long miqt_exec_callback_QBuffer_Pos(void*, intptr_t); +bool miqt_exec_callback_QBuffer_Seek(void*, intptr_t, long long); +bool miqt_exec_callback_QBuffer_AtEnd(void*, intptr_t); +bool miqt_exec_callback_QBuffer_CanReadLine(void*, intptr_t); +void miqt_exec_callback_QBuffer_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QBuffer_DisconnectNotify(void*, intptr_t, QMetaMethod*); +long long miqt_exec_callback_QBuffer_ReadData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QBuffer_WriteData(void*, intptr_t, const char*, long long); +bool miqt_exec_callback_QBuffer_IsSequential(void*, intptr_t); +bool miqt_exec_callback_QBuffer_Reset(void*, intptr_t); +long long miqt_exec_callback_QBuffer_BytesAvailable(void*, intptr_t); +long long miqt_exec_callback_QBuffer_BytesToWrite(void*, intptr_t); +bool miqt_exec_callback_QBuffer_WaitForReadyRead(void*, intptr_t, int); +bool miqt_exec_callback_QBuffer_WaitForBytesWritten(void*, intptr_t, int); +long long miqt_exec_callback_QBuffer_ReadLineData(void*, intptr_t, char*, long long); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQBuffer : public virtual QBuffer { public: diff --git a/qt/gen_qbuttongroup.cpp b/qt/gen_qbuttongroup.cpp index d63cea86..6afdbc88 100644 --- a/qt/gen_qbuttongroup.cpp +++ b/qt/gen_qbuttongroup.cpp @@ -13,10 +13,32 @@ #include #include "gen_qbuttongroup.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QButtonGroup_ButtonClicked(intptr_t, QAbstractButton*); +void miqt_exec_callback_QButtonGroup_ButtonPressed(intptr_t, QAbstractButton*); +void miqt_exec_callback_QButtonGroup_ButtonReleased(intptr_t, QAbstractButton*); +void miqt_exec_callback_QButtonGroup_ButtonToggled(intptr_t, QAbstractButton*, bool); +void miqt_exec_callback_QButtonGroup_IdClicked(intptr_t, int); +void miqt_exec_callback_QButtonGroup_IdPressed(intptr_t, int); +void miqt_exec_callback_QButtonGroup_IdReleased(intptr_t, int); +void miqt_exec_callback_QButtonGroup_IdToggled(intptr_t, int, bool); +void miqt_exec_callback_QButtonGroup_ButtonClickedWithInt(intptr_t, int); +void miqt_exec_callback_QButtonGroup_ButtonPressedWithInt(intptr_t, int); +void miqt_exec_callback_QButtonGroup_ButtonReleasedWithInt(intptr_t, int); +void miqt_exec_callback_QButtonGroup_ButtonToggled2(intptr_t, int, bool); +bool miqt_exec_callback_QButtonGroup_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QButtonGroup_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QButtonGroup_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QButtonGroup_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QButtonGroup_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QButtonGroup_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QButtonGroup_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQButtonGroup : public virtual QButtonGroup { public: diff --git a/qt/gen_qbytearraymatcher.cpp b/qt/gen_qbytearraymatcher.cpp index af706d9f..e5018019 100644 --- a/qt/gen_qbytearraymatcher.cpp +++ b/qt/gen_qbytearraymatcher.cpp @@ -4,10 +4,13 @@ #include #include "gen_qbytearraymatcher.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QByteArrayMatcher* QByteArrayMatcher_new() { return new QByteArrayMatcher(); diff --git a/qt/gen_qcalendar.cpp b/qt/gen_qcalendar.cpp index 9bd18b7c..54f08bad 100644 --- a/qt/gen_qcalendar.cpp +++ b/qt/gen_qcalendar.cpp @@ -9,10 +9,13 @@ #include #include "gen_qcalendar.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QCalendar* QCalendar_new() { return new QCalendar(); diff --git a/qt/gen_qcalendarwidget.cpp b/qt/gen_qcalendarwidget.cpp index 380be210..68c7154a 100644 --- a/qt/gen_qcalendarwidget.cpp +++ b/qt/gen_qcalendarwidget.cpp @@ -39,10 +39,60 @@ #include #include "gen_qcalendarwidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCalendarWidget_SelectionChanged(intptr_t); +void miqt_exec_callback_QCalendarWidget_Clicked(intptr_t, QDate*); +void miqt_exec_callback_QCalendarWidget_Activated(intptr_t, QDate*); +void miqt_exec_callback_QCalendarWidget_CurrentPageChanged(intptr_t, int, int); +QSize* miqt_exec_callback_QCalendarWidget_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QCalendarWidget_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QCalendarWidget_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QCalendarWidget_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QCalendarWidget_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QCalendarWidget_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QCalendarWidget_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QCalendarWidget_PaintCell(void*, intptr_t, QPainter*, QRect*, QDate*); +int miqt_exec_callback_QCalendarWidget_DevType(void*, intptr_t); +void miqt_exec_callback_QCalendarWidget_SetVisible(void*, intptr_t, bool); +int miqt_exec_callback_QCalendarWidget_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QCalendarWidget_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QCalendarWidget_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QCalendarWidget_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QCalendarWidget_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QCalendarWidget_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QCalendarWidget_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QCalendarWidget_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QCalendarWidget_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QCalendarWidget_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QCalendarWidget_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QCalendarWidget_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QCalendarWidget_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QCalendarWidget_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QCalendarWidget_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QCalendarWidget_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QCalendarWidget_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QCalendarWidget_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QCalendarWidget_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QCalendarWidget_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QCalendarWidget_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QCalendarWidget_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QCalendarWidget_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QCalendarWidget_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QCalendarWidget_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +void miqt_exec_callback_QCalendarWidget_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QCalendarWidget_Metric(void*, intptr_t, int); +void miqt_exec_callback_QCalendarWidget_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QCalendarWidget_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QCalendarWidget_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QCalendarWidget_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QCalendarWidget_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QCalendarWidget_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQCalendarWidget : public virtual QCalendarWidget { public: diff --git a/qt/gen_qchar.cpp b/qt/gen_qchar.cpp index 2f987f1d..edda3f68 100644 --- a/qt/gen_qchar.cpp +++ b/qt/gen_qchar.cpp @@ -6,10 +6,13 @@ #include #include "gen_qchar.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QLatin1Char* QLatin1Char_new(char c) { return new QLatin1Char(static_cast(c)); diff --git a/qt/gen_qcheckbox.cpp b/qt/gen_qcheckbox.cpp index 8b3aeee2..09158004 100644 --- a/qt/gen_qcheckbox.cpp +++ b/qt/gen_qcheckbox.cpp @@ -18,10 +18,30 @@ #include #include "gen_qcheckbox.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCheckBox_StateChanged(intptr_t, int); +QSize* miqt_exec_callback_QCheckBox_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QCheckBox_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QCheckBox_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QCheckBox_HitButton(void*, intptr_t, QPoint*); +void miqt_exec_callback_QCheckBox_CheckStateSet(void*, intptr_t); +void miqt_exec_callback_QCheckBox_NextCheckState(void*, intptr_t); +void miqt_exec_callback_QCheckBox_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QCheckBox_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QCheckBox_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QCheckBox_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QCheckBox_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QCheckBox_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QCheckBox_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QCheckBox_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QCheckBox_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QCheckBox_TimerEvent(void*, intptr_t, QTimerEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQCheckBox : public virtual QCheckBox { public: diff --git a/qt/gen_qclipboard.cpp b/qt/gen_qclipboard.cpp index e1ce52da..37412031 100644 --- a/qt/gen_qclipboard.cpp +++ b/qt/gen_qclipboard.cpp @@ -10,10 +10,17 @@ #include #include "gen_qclipboard.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QClipboard_Changed(intptr_t, int); +void miqt_exec_callback_QClipboard_SelectionChanged(intptr_t); +void miqt_exec_callback_QClipboard_FindBufferChanged(intptr_t); +void miqt_exec_callback_QClipboard_DataChanged(intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QClipboard_virtbase(QClipboard* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt/gen_qcollator.cpp b/qt/gen_qcollator.cpp index 8ada5758..d432a0d5 100644 --- a/qt/gen_qcollator.cpp +++ b/qt/gen_qcollator.cpp @@ -8,10 +8,13 @@ #include #include "gen_qcollator.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QCollatorSortKey* QCollatorSortKey_new(QCollatorSortKey* other) { return new QCollatorSortKey(*other); diff --git a/qt/gen_qcolor.cpp b/qt/gen_qcolor.cpp index 78d2d271..9cd20ec1 100644 --- a/qt/gen_qcolor.cpp +++ b/qt/gen_qcolor.cpp @@ -8,10 +8,13 @@ #include #include "gen_qcolor.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QColor* QColor_new() { return new QColor(); diff --git a/qt/gen_qcolordialog.cpp b/qt/gen_qcolordialog.cpp index a7c245b6..94d66a65 100644 --- a/qt/gen_qcolordialog.cpp +++ b/qt/gen_qcolordialog.cpp @@ -18,10 +18,30 @@ #include #include "gen_qcolordialog.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QColorDialog_CurrentColorChanged(intptr_t, QColor*); +void miqt_exec_callback_QColorDialog_ColorSelected(intptr_t, QColor*); +void miqt_exec_callback_QColorDialog_SetVisible(void*, intptr_t, bool); +void miqt_exec_callback_QColorDialog_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QColorDialog_Done(void*, intptr_t, int); +QSize* miqt_exec_callback_QColorDialog_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QColorDialog_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QColorDialog_Open(void*, intptr_t); +int miqt_exec_callback_QColorDialog_Exec(void*, intptr_t); +void miqt_exec_callback_QColorDialog_Accept(void*, intptr_t); +void miqt_exec_callback_QColorDialog_Reject(void*, intptr_t); +void miqt_exec_callback_QColorDialog_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QColorDialog_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QColorDialog_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QColorDialog_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QColorDialog_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QColorDialog_EventFilter(void*, intptr_t, QObject*, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQColorDialog : public virtual QColorDialog { public: diff --git a/qt/gen_qcolormap.cpp b/qt/gen_qcolormap.cpp index a76bad26..9bfbc812 100644 --- a/qt/gen_qcolormap.cpp +++ b/qt/gen_qcolormap.cpp @@ -4,10 +4,13 @@ #include #include "gen_qcolormap.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QColormap* QColormap_new(QColormap* colormap) { return new QColormap(*colormap); diff --git a/qt/gen_qcolorspace.cpp b/qt/gen_qcolorspace.cpp index 318f2c8b..af8b1638 100644 --- a/qt/gen_qcolorspace.cpp +++ b/qt/gen_qcolorspace.cpp @@ -6,10 +6,13 @@ #include #include "gen_qcolorspace.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QColorSpace* QColorSpace_new() { return new QColorSpace(); diff --git a/qt/gen_qcolortransform.cpp b/qt/gen_qcolortransform.cpp index 57920bc4..51df3c14 100644 --- a/qt/gen_qcolortransform.cpp +++ b/qt/gen_qcolortransform.cpp @@ -4,10 +4,13 @@ #include #include "gen_qcolortransform.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QColorTransform* QColorTransform_new() { return new QColorTransform(); diff --git a/qt/gen_qcolumnview.cpp b/qt/gen_qcolumnview.cpp index 44c3e7bd..1ce8b873 100644 --- a/qt/gen_qcolumnview.cpp +++ b/qt/gen_qcolumnview.cpp @@ -34,10 +34,75 @@ #include #include "gen_qcolumnview.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QColumnView_UpdatePreviewWidget(intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QColumnView_IndexAt(void*, intptr_t, QPoint*); +void miqt_exec_callback_QColumnView_ScrollTo(void*, intptr_t, QModelIndex*, int); +QSize* miqt_exec_callback_QColumnView_SizeHint(void*, intptr_t); +QRect* miqt_exec_callback_QColumnView_VisualRect(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QColumnView_SetModel(void*, intptr_t, QAbstractItemModel*); +void miqt_exec_callback_QColumnView_SetSelectionModel(void*, intptr_t, QItemSelectionModel*); +void miqt_exec_callback_QColumnView_SetRootIndex(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QColumnView_SelectAll(void*, intptr_t); +bool miqt_exec_callback_QColumnView_IsIndexHidden(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QColumnView_MoveCursor(void*, intptr_t, int, int); +void miqt_exec_callback_QColumnView_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QColumnView_SetSelection(void*, intptr_t, QRect*, int); +QRegion* miqt_exec_callback_QColumnView_VisualRegionForSelection(void*, intptr_t, QItemSelection*); +int miqt_exec_callback_QColumnView_HorizontalOffset(void*, intptr_t); +int miqt_exec_callback_QColumnView_VerticalOffset(void*, intptr_t); +void miqt_exec_callback_QColumnView_RowsInserted(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QColumnView_CurrentChanged(void*, intptr_t, QModelIndex*, QModelIndex*); +void miqt_exec_callback_QColumnView_ScrollContentsBy(void*, intptr_t, int, int); +QAbstractItemView* miqt_exec_callback_QColumnView_CreateColumn(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QColumnView_KeyboardSearch(void*, intptr_t, struct miqt_string); +int miqt_exec_callback_QColumnView_SizeHintForRow(void*, intptr_t, int); +int miqt_exec_callback_QColumnView_SizeHintForColumn(void*, intptr_t, int); +QVariant* miqt_exec_callback_QColumnView_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QColumnView_Reset(void*, intptr_t); +void miqt_exec_callback_QColumnView_DoItemsLayout(void*, intptr_t); +void miqt_exec_callback_QColumnView_DataChanged(void*, intptr_t, QModelIndex*, QModelIndex*, struct miqt_array /* of int */ ); +void miqt_exec_callback_QColumnView_RowsAboutToBeRemoved(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QColumnView_SelectionChanged(void*, intptr_t, QItemSelection*, QItemSelection*); +void miqt_exec_callback_QColumnView_UpdateEditorData(void*, intptr_t); +void miqt_exec_callback_QColumnView_UpdateEditorGeometries(void*, intptr_t); +void miqt_exec_callback_QColumnView_UpdateGeometries(void*, intptr_t); +void miqt_exec_callback_QColumnView_VerticalScrollbarAction(void*, intptr_t, int); +void miqt_exec_callback_QColumnView_HorizontalScrollbarAction(void*, intptr_t, int); +void miqt_exec_callback_QColumnView_VerticalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QColumnView_HorizontalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QColumnView_CloseEditor(void*, intptr_t, QWidget*, int); +void miqt_exec_callback_QColumnView_CommitData(void*, intptr_t, QWidget*); +void miqt_exec_callback_QColumnView_EditorDestroyed(void*, intptr_t, QObject*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QColumnView_SelectedIndexes(void*, intptr_t); +bool miqt_exec_callback_QColumnView_Edit2(void*, intptr_t, QModelIndex*, int, QEvent*); +int miqt_exec_callback_QColumnView_SelectionCommand(void*, intptr_t, QModelIndex*, QEvent*); +void miqt_exec_callback_QColumnView_StartDrag(void*, intptr_t, int); +QStyleOptionViewItem* miqt_exec_callback_QColumnView_ViewOptions(void*, intptr_t); +bool miqt_exec_callback_QColumnView_FocusNextPrevChild(void*, intptr_t, bool); +bool miqt_exec_callback_QColumnView_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QColumnView_ViewportEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QColumnView_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QColumnView_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QColumnView_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QColumnView_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QColumnView_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QColumnView_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QColumnView_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QColumnView_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QColumnView_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QColumnView_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QColumnView_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QColumnView_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QColumnView_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +bool miqt_exec_callback_QColumnView_EventFilter(void*, intptr_t, QObject*, QEvent*); +QSize* miqt_exec_callback_QColumnView_ViewportSizeHint(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQColumnView : public virtual QColumnView { public: diff --git a/qt/gen_qcombobox.cpp b/qt/gen_qcombobox.cpp index 16d00d50..bdb0e772 100644 --- a/qt/gen_qcombobox.cpp +++ b/qt/gen_qcombobox.cpp @@ -43,10 +43,66 @@ #include #include "gen_qcombobox.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QComboBox_EditTextChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QComboBox_Activated(intptr_t, int); +void miqt_exec_callback_QComboBox_TextActivated(intptr_t, struct miqt_string); +void miqt_exec_callback_QComboBox_Highlighted(intptr_t, int); +void miqt_exec_callback_QComboBox_TextHighlighted(intptr_t, struct miqt_string); +void miqt_exec_callback_QComboBox_CurrentIndexChanged(intptr_t, int); +void miqt_exec_callback_QComboBox_CurrentIndexChangedWithQString(intptr_t, struct miqt_string); +void miqt_exec_callback_QComboBox_CurrentTextChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QComboBox_ActivatedWithQString(intptr_t, struct miqt_string); +void miqt_exec_callback_QComboBox_HighlightedWithQString(intptr_t, struct miqt_string); +QSize* miqt_exec_callback_QComboBox_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QComboBox_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QComboBox_ShowPopup(void*, intptr_t); +void miqt_exec_callback_QComboBox_HidePopup(void*, intptr_t); +bool miqt_exec_callback_QComboBox_Event(void*, intptr_t, QEvent*); +QVariant* miqt_exec_callback_QComboBox_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QComboBox_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QComboBox_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QComboBox_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QComboBox_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QComboBox_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QComboBox_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QComboBox_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QComboBox_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QComboBox_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QComboBox_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QComboBox_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QComboBox_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QComboBox_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QComboBox_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +int miqt_exec_callback_QComboBox_DevType(void*, intptr_t); +void miqt_exec_callback_QComboBox_SetVisible(void*, intptr_t, bool); +int miqt_exec_callback_QComboBox_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QComboBox_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QComboBox_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QComboBox_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QComboBox_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QComboBox_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QComboBox_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QComboBox_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QComboBox_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QComboBox_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QComboBox_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QComboBox_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QComboBox_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QComboBox_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QComboBox_DropEvent(void*, intptr_t, QDropEvent*); +bool miqt_exec_callback_QComboBox_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +int miqt_exec_callback_QComboBox_Metric(void*, intptr_t, int); +void miqt_exec_callback_QComboBox_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QComboBox_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QComboBox_SharedPainter(void*, intptr_t); +bool miqt_exec_callback_QComboBox_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQComboBox : public virtual QComboBox { public: diff --git a/qt/gen_qcommandlineoption.cpp b/qt/gen_qcommandlineoption.cpp index 5414ed1c..3905758c 100644 --- a/qt/gen_qcommandlineoption.cpp +++ b/qt/gen_qcommandlineoption.cpp @@ -6,10 +6,13 @@ #include #include "gen_qcommandlineoption.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QCommandLineOption* QCommandLineOption_new(struct miqt_string name) { QString name_QString = QString::fromUtf8(name.data, name.len); diff --git a/qt/gen_qcommandlineparser.cpp b/qt/gen_qcommandlineparser.cpp index f0fce64b..bf50f9d6 100644 --- a/qt/gen_qcommandlineparser.cpp +++ b/qt/gen_qcommandlineparser.cpp @@ -8,10 +8,13 @@ #include #include "gen_qcommandlineparser.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QCommandLineParser* QCommandLineParser_new() { return new QCommandLineParser(); diff --git a/qt/gen_qcommandlinkbutton.cpp b/qt/gen_qcommandlinkbutton.cpp index 50019a8e..488b0922 100644 --- a/qt/gen_qcommandlinkbutton.cpp +++ b/qt/gen_qcommandlinkbutton.cpp @@ -17,10 +17,22 @@ #include #include "gen_qcommandlinkbutton.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QCommandLinkButton_SizeHint(void*, intptr_t); +int miqt_exec_callback_QCommandLinkButton_HeightForWidth(void*, intptr_t, int); +QSize* miqt_exec_callback_QCommandLinkButton_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QCommandLinkButton_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QCommandLinkButton_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QCommandLinkButton_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QCommandLinkButton_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QCommandLinkButton_FocusOutEvent(void*, intptr_t, QFocusEvent*); +bool miqt_exec_callback_QCommandLinkButton_HitButton(void*, intptr_t, QPoint*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQCommandLinkButton : public virtual QCommandLinkButton { public: diff --git a/qt/gen_qcommonstyle.cpp b/qt/gen_qcommonstyle.cpp index 2070ff0b..7bc16dba 100644 --- a/qt/gen_qcommonstyle.cpp +++ b/qt/gen_qcommonstyle.cpp @@ -21,10 +21,36 @@ #include #include "gen_qcommonstyle.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCommonStyle_DrawPrimitive(void*, intptr_t, int, QStyleOption*, QPainter*, QWidget*); +void miqt_exec_callback_QCommonStyle_DrawControl(void*, intptr_t, int, QStyleOption*, QPainter*, QWidget*); +QRect* miqt_exec_callback_QCommonStyle_SubElementRect(void*, intptr_t, int, QStyleOption*, QWidget*); +void miqt_exec_callback_QCommonStyle_DrawComplexControl(void*, intptr_t, int, QStyleOptionComplex*, QPainter*, QWidget*); +int miqt_exec_callback_QCommonStyle_HitTestComplexControl(void*, intptr_t, int, QStyleOptionComplex*, QPoint*, QWidget*); +QRect* miqt_exec_callback_QCommonStyle_SubControlRect(void*, intptr_t, int, QStyleOptionComplex*, int, QWidget*); +QSize* miqt_exec_callback_QCommonStyle_SizeFromContents(void*, intptr_t, int, QStyleOption*, QSize*, QWidget*); +int miqt_exec_callback_QCommonStyle_PixelMetric(void*, intptr_t, int, QStyleOption*, QWidget*); +int miqt_exec_callback_QCommonStyle_StyleHint(void*, intptr_t, int, QStyleOption*, QWidget*, QStyleHintReturn*); +QIcon* miqt_exec_callback_QCommonStyle_StandardIcon(void*, intptr_t, int, QStyleOption*, QWidget*); +QPixmap* miqt_exec_callback_QCommonStyle_StandardPixmap(void*, intptr_t, int, QStyleOption*, QWidget*); +QPixmap* miqt_exec_callback_QCommonStyle_GeneratedIconPixmap(void*, intptr_t, int, QPixmap*, QStyleOption*); +int miqt_exec_callback_QCommonStyle_LayoutSpacing(void*, intptr_t, int, int, int, QStyleOption*, QWidget*); +void miqt_exec_callback_QCommonStyle_Polish(void*, intptr_t, QPalette*); +void miqt_exec_callback_QCommonStyle_PolishWithApp(void*, intptr_t, QApplication*); +void miqt_exec_callback_QCommonStyle_PolishWithWidget(void*, intptr_t, QWidget*); +void miqt_exec_callback_QCommonStyle_Unpolish(void*, intptr_t, QWidget*); +void miqt_exec_callback_QCommonStyle_UnpolishWithApplication(void*, intptr_t, QApplication*); +QRect* miqt_exec_callback_QCommonStyle_ItemTextRect(void*, intptr_t, QFontMetrics*, QRect*, int, bool, struct miqt_string); +QRect* miqt_exec_callback_QCommonStyle_ItemPixmapRect(void*, intptr_t, QRect*, int, QPixmap*); +void miqt_exec_callback_QCommonStyle_DrawItemText(void*, intptr_t, QPainter*, QRect*, int, QPalette*, bool, struct miqt_string, int); +void miqt_exec_callback_QCommonStyle_DrawItemPixmap(void*, intptr_t, QPainter*, QRect*, int, QPixmap*); +QPalette* miqt_exec_callback_QCommonStyle_StandardPalette(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQCommonStyle : public virtual QCommonStyle { public: diff --git a/qt/gen_qcompleter.cpp b/qt/gen_qcompleter.cpp index f8f9470d..34ee414b 100644 --- a/qt/gen_qcompleter.cpp +++ b/qt/gen_qcompleter.cpp @@ -17,10 +17,26 @@ #include #include "gen_qcompleter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCompleter_Activated(intptr_t, struct miqt_string); +void miqt_exec_callback_QCompleter_ActivatedWithIndex(intptr_t, QModelIndex*); +void miqt_exec_callback_QCompleter_Highlighted(intptr_t, struct miqt_string); +void miqt_exec_callback_QCompleter_HighlightedWithIndex(intptr_t, QModelIndex*); +struct miqt_string miqt_exec_callback_QCompleter_PathFromIndex(void*, intptr_t, QModelIndex*); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QCompleter_SplitPath(void*, intptr_t, struct miqt_string); +bool miqt_exec_callback_QCompleter_EventFilter(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QCompleter_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QCompleter_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QCompleter_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QCompleter_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QCompleter_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QCompleter_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQCompleter : public virtual QCompleter { public: diff --git a/qt/gen_qconcatenatetablesproxymodel.cpp b/qt/gen_qconcatenatetablesproxymodel.cpp index c43baff6..2e0fa24d 100644 --- a/qt/gen_qconcatenatetablesproxymodel.cpp +++ b/qt/gen_qconcatenatetablesproxymodel.cpp @@ -15,10 +15,47 @@ #include #include "gen_qconcatenatetablesproxymodel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QVariant* miqt_exec_callback_QConcatenateTablesProxyModel_Data(void*, intptr_t, QModelIndex*, int); +bool miqt_exec_callback_QConcatenateTablesProxyModel_SetData(void*, intptr_t, QModelIndex*, QVariant*, int); +struct miqt_map /* of int to QVariant* */ miqt_exec_callback_QConcatenateTablesProxyModel_ItemData(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QConcatenateTablesProxyModel_SetItemData(void*, intptr_t, QModelIndex*, struct miqt_map /* of int to QVariant* */ ); +int miqt_exec_callback_QConcatenateTablesProxyModel_Flags(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QConcatenateTablesProxyModel_Index(void*, intptr_t, int, int, QModelIndex*); +QModelIndex* miqt_exec_callback_QConcatenateTablesProxyModel_Parent(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QConcatenateTablesProxyModel_RowCount(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QConcatenateTablesProxyModel_HeaderData(void*, intptr_t, int, int, int); +int miqt_exec_callback_QConcatenateTablesProxyModel_ColumnCount(void*, intptr_t, QModelIndex*); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QConcatenateTablesProxyModel_MimeTypes(void*, intptr_t); +QMimeData* miqt_exec_callback_QConcatenateTablesProxyModel_MimeData(void*, intptr_t, struct miqt_array /* of QModelIndex* */ ); +bool miqt_exec_callback_QConcatenateTablesProxyModel_CanDropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +bool miqt_exec_callback_QConcatenateTablesProxyModel_DropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +QSize* miqt_exec_callback_QConcatenateTablesProxyModel_Span(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QConcatenateTablesProxyModel_Sibling(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QConcatenateTablesProxyModel_HasChildren(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QConcatenateTablesProxyModel_SetHeaderData(void*, intptr_t, int, int, QVariant*, int); +int miqt_exec_callback_QConcatenateTablesProxyModel_SupportedDropActions(void*, intptr_t); +int miqt_exec_callback_QConcatenateTablesProxyModel_SupportedDragActions(void*, intptr_t); +bool miqt_exec_callback_QConcatenateTablesProxyModel_InsertRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QConcatenateTablesProxyModel_InsertColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QConcatenateTablesProxyModel_RemoveRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QConcatenateTablesProxyModel_RemoveColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QConcatenateTablesProxyModel_MoveRows(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +bool miqt_exec_callback_QConcatenateTablesProxyModel_MoveColumns(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +void miqt_exec_callback_QConcatenateTablesProxyModel_FetchMore(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QConcatenateTablesProxyModel_CanFetchMore(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QConcatenateTablesProxyModel_Sort(void*, intptr_t, int, int); +QModelIndex* miqt_exec_callback_QConcatenateTablesProxyModel_Buddy(void*, intptr_t, QModelIndex*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QConcatenateTablesProxyModel_Match(void*, intptr_t, QModelIndex*, int, QVariant*, int, int); +struct miqt_map /* of int to struct miqt_string */ miqt_exec_callback_QConcatenateTablesProxyModel_RoleNames(void*, intptr_t); +bool miqt_exec_callback_QConcatenateTablesProxyModel_Submit(void*, intptr_t); +void miqt_exec_callback_QConcatenateTablesProxyModel_Revert(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQConcatenateTablesProxyModel : public virtual QConcatenateTablesProxyModel { public: diff --git a/qt/gen_qcontiguouscache.cpp b/qt/gen_qcontiguouscache.cpp index b4c723ab..efddc8bc 100644 --- a/qt/gen_qcontiguouscache.cpp +++ b/qt/gen_qcontiguouscache.cpp @@ -2,10 +2,13 @@ #include #include "gen_qcontiguouscache.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QContiguousCacheData* QContiguousCacheData_AllocateData(int size, int alignment) { return QContiguousCacheData::allocateData(static_cast(size), static_cast(alignment)); diff --git a/qt/gen_qcoreapplication.cpp b/qt/gen_qcoreapplication.cpp index 6564b1a5..101346d3 100644 --- a/qt/gen_qcoreapplication.cpp +++ b/qt/gen_qcoreapplication.cpp @@ -15,10 +15,25 @@ #include #include "gen_qcoreapplication.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCoreApplication_OrganizationNameChanged(intptr_t); +void miqt_exec_callback_QCoreApplication_OrganizationDomainChanged(intptr_t); +void miqt_exec_callback_QCoreApplication_ApplicationNameChanged(intptr_t); +void miqt_exec_callback_QCoreApplication_ApplicationVersionChanged(intptr_t); +bool miqt_exec_callback_QCoreApplication_Notify(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QCoreApplication_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QCoreApplication_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QCoreApplication_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QCoreApplication_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QCoreApplication_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QCoreApplication_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QCoreApplication_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQCoreApplication : public virtual QCoreApplication { public: diff --git a/qt/gen_qcoreevent.cpp b/qt/gen_qcoreevent.cpp index 218224f5..8fcb3ab9 100644 --- a/qt/gen_qcoreevent.cpp +++ b/qt/gen_qcoreevent.cpp @@ -7,10 +7,13 @@ #include #include "gen_qcoreevent.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QEvent* QEvent_new(int typeVal) { return new QEvent(static_cast(typeVal)); diff --git a/qt/gen_qcryptographichash.cpp b/qt/gen_qcryptographichash.cpp index 5ab327fb..f8032e17 100644 --- a/qt/gen_qcryptographichash.cpp +++ b/qt/gen_qcryptographichash.cpp @@ -4,10 +4,13 @@ #include #include "gen_qcryptographichash.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QCryptographicHash* QCryptographicHash_new(int method) { return new QCryptographicHash(static_cast(method)); diff --git a/qt/gen_qcursor.cpp b/qt/gen_qcursor.cpp index ad3d6fb0..837eab82 100644 --- a/qt/gen_qcursor.cpp +++ b/qt/gen_qcursor.cpp @@ -7,10 +7,13 @@ #include #include "gen_qcursor.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QCursor* QCursor_new() { return new QCursor(); diff --git a/qt/gen_qdatastream.cpp b/qt/gen_qdatastream.cpp index dde0bf7d..452caea0 100644 --- a/qt/gen_qdatastream.cpp +++ b/qt/gen_qdatastream.cpp @@ -4,10 +4,13 @@ #include #include "gen_qdatastream.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QDataStream* QDataStream_new() { return new QDataStream(); diff --git a/qt/gen_qdatawidgetmapper.cpp b/qt/gen_qdatawidgetmapper.cpp index 4d756b56..b9882d8f 100644 --- a/qt/gen_qdatawidgetmapper.cpp +++ b/qt/gen_qdatawidgetmapper.cpp @@ -16,10 +16,22 @@ #include #include "gen_qdatawidgetmapper.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QDataWidgetMapper_CurrentIndexChanged(intptr_t, int); +void miqt_exec_callback_QDataWidgetMapper_SetCurrentIndex(void*, intptr_t, int); +bool miqt_exec_callback_QDataWidgetMapper_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QDataWidgetMapper_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QDataWidgetMapper_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QDataWidgetMapper_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QDataWidgetMapper_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDataWidgetMapper_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QDataWidgetMapper_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQDataWidgetMapper : public virtual QDataWidgetMapper { public: diff --git a/qt/gen_qdatetime.cpp b/qt/gen_qdatetime.cpp index b4c48542..e97f74a1 100644 --- a/qt/gen_qdatetime.cpp +++ b/qt/gen_qdatetime.cpp @@ -9,10 +9,13 @@ #include #include "gen_qdatetime.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QDate* QDate_new() { return new QDate(); diff --git a/qt/gen_qdatetimeedit.cpp b/qt/gen_qdatetimeedit.cpp index 2858017e..6de5d79b 100644 --- a/qt/gen_qdatetimeedit.cpp +++ b/qt/gen_qdatetimeedit.cpp @@ -31,10 +31,76 @@ #include #include "gen_qdatetimeedit.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QDateTimeEdit_DateTimeChanged(intptr_t, QDateTime*); +void miqt_exec_callback_QDateTimeEdit_TimeChanged(intptr_t, QTime*); +void miqt_exec_callback_QDateTimeEdit_DateChanged(intptr_t, QDate*); +QSize* miqt_exec_callback_QDateTimeEdit_SizeHint(void*, intptr_t); +void miqt_exec_callback_QDateTimeEdit_Clear(void*, intptr_t); +void miqt_exec_callback_QDateTimeEdit_StepBy(void*, intptr_t, int); +bool miqt_exec_callback_QDateTimeEdit_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDateTimeEdit_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDateTimeEdit_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QDateTimeEdit_FocusInEvent(void*, intptr_t, QFocusEvent*); +bool miqt_exec_callback_QDateTimeEdit_FocusNextPrevChild(void*, intptr_t, bool); +int miqt_exec_callback_QDateTimeEdit_Validate(void*, intptr_t, struct miqt_string, int*); +void miqt_exec_callback_QDateTimeEdit_Fixup(void*, intptr_t, struct miqt_string); +QDateTime* miqt_exec_callback_QDateTimeEdit_DateTimeFromText(void*, intptr_t, struct miqt_string); +struct miqt_string miqt_exec_callback_QDateTimeEdit_TextFromDateTime(void*, intptr_t, QDateTime*); +int miqt_exec_callback_QDateTimeEdit_StepEnabled(void*, intptr_t); +void miqt_exec_callback_QDateTimeEdit_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDateTimeEdit_PaintEvent(void*, intptr_t, QPaintEvent*); +QSize* miqt_exec_callback_QDateTimeEdit_MinimumSizeHint(void*, intptr_t); +QVariant* miqt_exec_callback_QDateTimeEdit_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QDateTimeEdit_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QDateTimeEdit_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDateTimeEdit_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QDateTimeEdit_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QDateTimeEdit_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDateTimeEdit_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QDateTimeEdit_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QDateTimeEdit_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDateTimeEdit_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDateTimeEdit_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QDateTimeEdit_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QTimeEdit_UserTimeChanged(intptr_t, QTime*); +QSize* miqt_exec_callback_QTimeEdit_SizeHint(void*, intptr_t); +void miqt_exec_callback_QTimeEdit_Clear(void*, intptr_t); +void miqt_exec_callback_QTimeEdit_StepBy(void*, intptr_t, int); +bool miqt_exec_callback_QTimeEdit_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTimeEdit_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QTimeEdit_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QTimeEdit_FocusInEvent(void*, intptr_t, QFocusEvent*); +bool miqt_exec_callback_QTimeEdit_FocusNextPrevChild(void*, intptr_t, bool); +int miqt_exec_callback_QTimeEdit_Validate(void*, intptr_t, struct miqt_string, int*); +void miqt_exec_callback_QTimeEdit_Fixup(void*, intptr_t, struct miqt_string); +QDateTime* miqt_exec_callback_QTimeEdit_DateTimeFromText(void*, intptr_t, struct miqt_string); +struct miqt_string miqt_exec_callback_QTimeEdit_TextFromDateTime(void*, intptr_t, QDateTime*); +int miqt_exec_callback_QTimeEdit_StepEnabled(void*, intptr_t); +void miqt_exec_callback_QTimeEdit_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTimeEdit_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QDateEdit_UserDateChanged(intptr_t, QDate*); +QSize* miqt_exec_callback_QDateEdit_SizeHint(void*, intptr_t); +void miqt_exec_callback_QDateEdit_Clear(void*, intptr_t); +void miqt_exec_callback_QDateEdit_StepBy(void*, intptr_t, int); +bool miqt_exec_callback_QDateEdit_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDateEdit_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDateEdit_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QDateEdit_FocusInEvent(void*, intptr_t, QFocusEvent*); +bool miqt_exec_callback_QDateEdit_FocusNextPrevChild(void*, intptr_t, bool); +int miqt_exec_callback_QDateEdit_Validate(void*, intptr_t, struct miqt_string, int*); +void miqt_exec_callback_QDateEdit_Fixup(void*, intptr_t, struct miqt_string); +QDateTime* miqt_exec_callback_QDateEdit_DateTimeFromText(void*, intptr_t, struct miqt_string); +struct miqt_string miqt_exec_callback_QDateEdit_TextFromDateTime(void*, intptr_t, QDateTime*); +int miqt_exec_callback_QDateEdit_StepEnabled(void*, intptr_t); +void miqt_exec_callback_QDateEdit_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDateEdit_PaintEvent(void*, intptr_t, QPaintEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQDateTimeEdit : public virtual QDateTimeEdit { public: diff --git a/qt/gen_qdeadlinetimer.cpp b/qt/gen_qdeadlinetimer.cpp index 19201dc8..99f291eb 100644 --- a/qt/gen_qdeadlinetimer.cpp +++ b/qt/gen_qdeadlinetimer.cpp @@ -2,10 +2,13 @@ #include #include "gen_qdeadlinetimer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QDeadlineTimer* QDeadlineTimer_new() { return new QDeadlineTimer(); diff --git a/qt/gen_qdebug.cpp b/qt/gen_qdebug.cpp index 7a1f4f30..72169cae 100644 --- a/qt/gen_qdebug.cpp +++ b/qt/gen_qdebug.cpp @@ -10,10 +10,13 @@ #include #include "gen_qdebug.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QDebug* QDebug_new(QIODevice* device) { return new QDebug(device); diff --git a/qt/gen_qdesktopservices.cpp b/qt/gen_qdesktopservices.cpp index 0b40ece4..fd2d46f5 100644 --- a/qt/gen_qdesktopservices.cpp +++ b/qt/gen_qdesktopservices.cpp @@ -7,10 +7,13 @@ #include #include "gen_qdesktopservices.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" bool QDesktopServices_OpenUrl(QUrl* url) { return QDesktopServices::openUrl(*url); diff --git a/qt/gen_qdesktopwidget.cpp b/qt/gen_qdesktopwidget.cpp index f738fc63..99c44828 100644 --- a/qt/gen_qdesktopwidget.cpp +++ b/qt/gen_qdesktopwidget.cpp @@ -35,10 +35,58 @@ #include #include "gen_qdesktopwidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QDesktopWidget_Resized(intptr_t, int); +void miqt_exec_callback_QDesktopWidget_WorkAreaResized(intptr_t, int); +void miqt_exec_callback_QDesktopWidget_ScreenCountChanged(intptr_t, int); +void miqt_exec_callback_QDesktopWidget_PrimaryScreenChanged(intptr_t); +void miqt_exec_callback_QDesktopWidget_ResizeEvent(void*, intptr_t, QResizeEvent*); +int miqt_exec_callback_QDesktopWidget_DevType(void*, intptr_t); +void miqt_exec_callback_QDesktopWidget_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QDesktopWidget_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QDesktopWidget_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QDesktopWidget_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QDesktopWidget_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QDesktopWidget_PaintEngine(void*, intptr_t); +bool miqt_exec_callback_QDesktopWidget_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDesktopWidget_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDesktopWidget_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDesktopWidget_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDesktopWidget_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDesktopWidget_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QDesktopWidget_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDesktopWidget_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDesktopWidget_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QDesktopWidget_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QDesktopWidget_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDesktopWidget_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDesktopWidget_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QDesktopWidget_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QDesktopWidget_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QDesktopWidget_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QDesktopWidget_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QDesktopWidget_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QDesktopWidget_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QDesktopWidget_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QDesktopWidget_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QDesktopWidget_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QDesktopWidget_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QDesktopWidget_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QDesktopWidget_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +void miqt_exec_callback_QDesktopWidget_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QDesktopWidget_Metric(void*, intptr_t, int); +void miqt_exec_callback_QDesktopWidget_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QDesktopWidget_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QDesktopWidget_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QDesktopWidget_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QDesktopWidget_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QDesktopWidget_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQDesktopWidget : public virtual QDesktopWidget { public: diff --git a/qt/gen_qdial.cpp b/qt/gen_qdial.cpp index c2dc0b60..36151f07 100644 --- a/qt/gen_qdial.cpp +++ b/qt/gen_qdial.cpp @@ -18,10 +18,26 @@ #include #include "gen_qdial.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QDial_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QDial_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QDial_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDial_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QDial_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QDial_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDial_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDial_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDial_SliderChange(void*, intptr_t, int); +void miqt_exec_callback_QDial_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDial_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QDial_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QDial_ChangeEvent(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQDial : public virtual QDial { public: diff --git a/qt/gen_qdialog.cpp b/qt/gen_qdialog.cpp index aff371c0..ebe2dc92 100644 --- a/qt/gen_qdialog.cpp +++ b/qt/gen_qdialog.cpp @@ -34,10 +34,63 @@ #include #include "gen_qdialog.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QDialog_Finished(intptr_t, int); +void miqt_exec_callback_QDialog_Accepted(intptr_t); +void miqt_exec_callback_QDialog_Rejected(intptr_t); +void miqt_exec_callback_QDialog_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QDialog_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QDialog_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QDialog_Open(void*, intptr_t); +int miqt_exec_callback_QDialog_Exec(void*, intptr_t); +void miqt_exec_callback_QDialog_Done(void*, intptr_t, int); +void miqt_exec_callback_QDialog_Accept(void*, intptr_t); +void miqt_exec_callback_QDialog_Reject(void*, intptr_t); +void miqt_exec_callback_QDialog_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDialog_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QDialog_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QDialog_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QDialog_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QDialog_EventFilter(void*, intptr_t, QObject*, QEvent*); +int miqt_exec_callback_QDialog_DevType(void*, intptr_t); +int miqt_exec_callback_QDialog_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QDialog_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QDialog_PaintEngine(void*, intptr_t); +bool miqt_exec_callback_QDialog_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDialog_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDialog_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDialog_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDialog_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDialog_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QDialog_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDialog_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QDialog_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QDialog_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDialog_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDialog_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QDialog_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QDialog_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QDialog_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QDialog_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QDialog_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QDialog_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QDialog_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QDialog_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QDialog_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +void miqt_exec_callback_QDialog_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QDialog_Metric(void*, intptr_t, int); +void miqt_exec_callback_QDialog_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QDialog_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QDialog_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QDialog_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QDialog_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QDialog_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQDialog : public virtual QDialog { public: diff --git a/qt/gen_qdialogbuttonbox.cpp b/qt/gen_qdialogbuttonbox.cpp index 3bc1079b..b48d320b 100644 --- a/qt/gen_qdialogbuttonbox.cpp +++ b/qt/gen_qdialogbuttonbox.cpp @@ -37,10 +37,58 @@ #include #include "gen_qdialogbuttonbox.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QDialogButtonBox_Clicked(intptr_t, QAbstractButton*); +void miqt_exec_callback_QDialogButtonBox_Accepted(intptr_t); +void miqt_exec_callback_QDialogButtonBox_HelpRequested(intptr_t); +void miqt_exec_callback_QDialogButtonBox_Rejected(intptr_t); +void miqt_exec_callback_QDialogButtonBox_ChangeEvent(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QDialogButtonBox_Event(void*, intptr_t, QEvent*); +int miqt_exec_callback_QDialogButtonBox_DevType(void*, intptr_t); +void miqt_exec_callback_QDialogButtonBox_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QDialogButtonBox_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QDialogButtonBox_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QDialogButtonBox_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QDialogButtonBox_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QDialogButtonBox_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QDialogButtonBox_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDialogButtonBox_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDialogButtonBox_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDialogButtonBox_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDialogButtonBox_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QDialogButtonBox_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDialogButtonBox_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDialogButtonBox_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QDialogButtonBox_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QDialogButtonBox_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDialogButtonBox_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDialogButtonBox_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QDialogButtonBox_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QDialogButtonBox_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QDialogButtonBox_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QDialogButtonBox_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QDialogButtonBox_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QDialogButtonBox_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QDialogButtonBox_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QDialogButtonBox_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QDialogButtonBox_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QDialogButtonBox_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QDialogButtonBox_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QDialogButtonBox_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QDialogButtonBox_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +int miqt_exec_callback_QDialogButtonBox_Metric(void*, intptr_t, int); +void miqt_exec_callback_QDialogButtonBox_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QDialogButtonBox_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QDialogButtonBox_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QDialogButtonBox_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QDialogButtonBox_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QDialogButtonBox_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQDialogButtonBox : public virtual QDialogButtonBox { public: diff --git a/qt/gen_qdir.cpp b/qt/gen_qdir.cpp index d50b1f18..b7201ae5 100644 --- a/qt/gen_qdir.cpp +++ b/qt/gen_qdir.cpp @@ -8,10 +8,13 @@ #include #include "gen_qdir.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QDir* QDir_new(QDir* param1) { return new QDir(*param1); diff --git a/qt/gen_qdiriterator.cpp b/qt/gen_qdiriterator.cpp index 0c163203..c084b78f 100644 --- a/qt/gen_qdiriterator.cpp +++ b/qt/gen_qdiriterator.cpp @@ -8,10 +8,13 @@ #include #include "gen_qdiriterator.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QDirIterator* QDirIterator_new(QDir* dir) { return new QDirIterator(*dir); diff --git a/qt/gen_qdirmodel.cpp b/qt/gen_qdirmodel.cpp index 41ffc5a2..cb5bee2b 100644 --- a/qt/gen_qdirmodel.cpp +++ b/qt/gen_qdirmodel.cpp @@ -18,10 +18,47 @@ #include #include "gen_qdirmodel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QModelIndex* miqt_exec_callback_QDirModel_Index(void*, intptr_t, int, int, QModelIndex*); +QModelIndex* miqt_exec_callback_QDirModel_Parent(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QDirModel_RowCount(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QDirModel_ColumnCount(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QDirModel_Data(void*, intptr_t, QModelIndex*, int); +bool miqt_exec_callback_QDirModel_SetData(void*, intptr_t, QModelIndex*, QVariant*, int); +QVariant* miqt_exec_callback_QDirModel_HeaderData(void*, intptr_t, int, int, int); +bool miqt_exec_callback_QDirModel_HasChildren(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QDirModel_Flags(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QDirModel_Sort(void*, intptr_t, int, int); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QDirModel_MimeTypes(void*, intptr_t); +QMimeData* miqt_exec_callback_QDirModel_MimeData(void*, intptr_t, struct miqt_array /* of QModelIndex* */ ); +bool miqt_exec_callback_QDirModel_DropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +int miqt_exec_callback_QDirModel_SupportedDropActions(void*, intptr_t); +QModelIndex* miqt_exec_callback_QDirModel_Sibling(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QDirModel_SetHeaderData(void*, intptr_t, int, int, QVariant*, int); +struct miqt_map /* of int to QVariant* */ miqt_exec_callback_QDirModel_ItemData(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QDirModel_SetItemData(void*, intptr_t, QModelIndex*, struct miqt_map /* of int to QVariant* */ ); +bool miqt_exec_callback_QDirModel_CanDropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +int miqt_exec_callback_QDirModel_SupportedDragActions(void*, intptr_t); +bool miqt_exec_callback_QDirModel_InsertRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QDirModel_InsertColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QDirModel_RemoveRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QDirModel_RemoveColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QDirModel_MoveRows(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +bool miqt_exec_callback_QDirModel_MoveColumns(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +void miqt_exec_callback_QDirModel_FetchMore(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QDirModel_CanFetchMore(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QDirModel_Buddy(void*, intptr_t, QModelIndex*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QDirModel_Match(void*, intptr_t, QModelIndex*, int, QVariant*, int, int); +QSize* miqt_exec_callback_QDirModel_Span(void*, intptr_t, QModelIndex*); +struct miqt_map /* of int to struct miqt_string */ miqt_exec_callback_QDirModel_RoleNames(void*, intptr_t); +bool miqt_exec_callback_QDirModel_Submit(void*, intptr_t); +void miqt_exec_callback_QDirModel_Revert(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQDirModel : public virtual QDirModel { public: diff --git a/qt/gen_qdockwidget.cpp b/qt/gen_qdockwidget.cpp index 4b84e9d3..38fcc62e 100644 --- a/qt/gen_qdockwidget.cpp +++ b/qt/gen_qdockwidget.cpp @@ -35,10 +35,59 @@ #include #include "gen_qdockwidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QDockWidget_FeaturesChanged(intptr_t, int); +void miqt_exec_callback_QDockWidget_TopLevelChanged(intptr_t, bool); +void miqt_exec_callback_QDockWidget_AllowedAreasChanged(intptr_t, int); +void miqt_exec_callback_QDockWidget_VisibilityChanged(intptr_t, bool); +void miqt_exec_callback_QDockWidget_DockLocationChanged(intptr_t, int); +void miqt_exec_callback_QDockWidget_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDockWidget_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QDockWidget_PaintEvent(void*, intptr_t, QPaintEvent*); +bool miqt_exec_callback_QDockWidget_Event(void*, intptr_t, QEvent*); +int miqt_exec_callback_QDockWidget_DevType(void*, intptr_t); +void miqt_exec_callback_QDockWidget_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QDockWidget_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QDockWidget_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QDockWidget_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QDockWidget_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QDockWidget_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QDockWidget_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDockWidget_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDockWidget_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDockWidget_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDockWidget_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QDockWidget_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDockWidget_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDockWidget_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QDockWidget_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QDockWidget_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDockWidget_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDockWidget_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QDockWidget_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QDockWidget_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QDockWidget_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QDockWidget_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QDockWidget_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QDockWidget_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QDockWidget_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QDockWidget_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QDockWidget_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QDockWidget_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QDockWidget_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +int miqt_exec_callback_QDockWidget_Metric(void*, intptr_t, int); +void miqt_exec_callback_QDockWidget_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QDockWidget_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QDockWidget_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QDockWidget_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QDockWidget_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QDockWidget_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQDockWidget : public virtual QDockWidget { public: diff --git a/qt/gen_qdrag.cpp b/qt/gen_qdrag.cpp index d813b65e..0c8413cb 100644 --- a/qt/gen_qdrag.cpp +++ b/qt/gen_qdrag.cpp @@ -14,10 +14,22 @@ #include #include "gen_qdrag.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QDrag_ActionChanged(intptr_t, int); +void miqt_exec_callback_QDrag_TargetChanged(intptr_t, QObject*); +bool miqt_exec_callback_QDrag_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QDrag_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QDrag_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QDrag_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QDrag_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDrag_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QDrag_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQDrag : public virtual QDrag { public: diff --git a/qt/gen_qdrawutil.cpp b/qt/gen_qdrawutil.cpp index 3f78c483..a4c6a62f 100644 --- a/qt/gen_qdrawutil.cpp +++ b/qt/gen_qdrawutil.cpp @@ -2,10 +2,13 @@ #include #include "gen_qdrawutil.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTileRules* QTileRules_new(int horizontalRule, int verticalRule) { return new QTileRules(static_cast(horizontalRule), static_cast(verticalRule)); diff --git a/qt/gen_qeasingcurve.cpp b/qt/gen_qeasingcurve.cpp index 486f1e7d..3d78a0cb 100644 --- a/qt/gen_qeasingcurve.cpp +++ b/qt/gen_qeasingcurve.cpp @@ -4,10 +4,13 @@ #include #include "gen_qeasingcurve.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QEasingCurve* QEasingCurve_new() { return new QEasingCurve(); diff --git a/qt/gen_qelapsedtimer.cpp b/qt/gen_qelapsedtimer.cpp index 57870345..81208833 100644 --- a/qt/gen_qelapsedtimer.cpp +++ b/qt/gen_qelapsedtimer.cpp @@ -2,10 +2,13 @@ #include #include "gen_qelapsedtimer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QElapsedTimer* QElapsedTimer_new() { return new QElapsedTimer(); diff --git a/qt/gen_qerrormessage.cpp b/qt/gen_qerrormessage.cpp index 613f2799..77298100 100644 --- a/qt/gen_qerrormessage.cpp +++ b/qt/gen_qerrormessage.cpp @@ -17,10 +17,28 @@ #include #include "gen_qerrormessage.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QErrorMessage_Done(void*, intptr_t, int); +void miqt_exec_callback_QErrorMessage_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QErrorMessage_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QErrorMessage_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QErrorMessage_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QErrorMessage_Open(void*, intptr_t); +int miqt_exec_callback_QErrorMessage_Exec(void*, intptr_t); +void miqt_exec_callback_QErrorMessage_Accept(void*, intptr_t); +void miqt_exec_callback_QErrorMessage_Reject(void*, intptr_t); +void miqt_exec_callback_QErrorMessage_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QErrorMessage_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QErrorMessage_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QErrorMessage_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QErrorMessage_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QErrorMessage_EventFilter(void*, intptr_t, QObject*, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQErrorMessage : public virtual QErrorMessage { public: diff --git a/qt/gen_qevent.cpp b/qt/gen_qevent.cpp index bb71156e..ecf01d94 100644 --- a/qt/gen_qevent.cpp +++ b/qt/gen_qevent.cpp @@ -64,10 +64,13 @@ #include #include "gen_qevent.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QInputEvent* QInputEvent_new(int typeVal) { return new QInputEvent(static_cast(typeVal)); diff --git a/qt/gen_qeventloop.cpp b/qt/gen_qeventloop.cpp index 935eb90c..0e20842d 100644 --- a/qt/gen_qeventloop.cpp +++ b/qt/gen_qeventloop.cpp @@ -13,10 +13,20 @@ #include #include "gen_qeventloop.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QEventLoop_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QEventLoop_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QEventLoop_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QEventLoop_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QEventLoop_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QEventLoop_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QEventLoop_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQEventLoop : public virtual QEventLoop { public: diff --git a/qt/gen_qeventtransition.cpp b/qt/gen_qeventtransition.cpp index dc443f88..bfff74d3 100644 --- a/qt/gen_qeventtransition.cpp +++ b/qt/gen_qeventtransition.cpp @@ -10,10 +10,16 @@ #include #include "gen_qeventtransition.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QEventTransition_EventTest(void*, intptr_t, QEvent*); +void miqt_exec_callback_QEventTransition_OnTransition(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QEventTransition_Event(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQEventTransition : public virtual QEventTransition { public: diff --git a/qt/gen_qfactoryinterface.cpp b/qt/gen_qfactoryinterface.cpp index 02e6dd7b..a64a4cd3 100644 --- a/qt/gen_qfactoryinterface.cpp +++ b/qt/gen_qfactoryinterface.cpp @@ -6,10 +6,13 @@ #include #include "gen_qfactoryinterface.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" struct miqt_array /* of struct miqt_string */ QFactoryInterface_Keys(const QFactoryInterface* self) { QStringList _ret = self->keys(); diff --git a/qt/gen_qfile.cpp b/qt/gen_qfile.cpp index 3729f21e..1074ca09 100644 --- a/qt/gen_qfile.cpp +++ b/qt/gen_qfile.cpp @@ -10,10 +10,27 @@ #include #include "gen_qfile.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +struct miqt_string miqt_exec_callback_QFile_FileName(void*, intptr_t); +bool miqt_exec_callback_QFile_Open(void*, intptr_t, int); +long long miqt_exec_callback_QFile_Size(void*, intptr_t); +bool miqt_exec_callback_QFile_Resize(void*, intptr_t, long long); +int miqt_exec_callback_QFile_Permissions(void*, intptr_t); +bool miqt_exec_callback_QFile_SetPermissions(void*, intptr_t, int); +void miqt_exec_callback_QFile_Close(void*, intptr_t); +bool miqt_exec_callback_QFile_IsSequential(void*, intptr_t); +long long miqt_exec_callback_QFile_Pos(void*, intptr_t); +bool miqt_exec_callback_QFile_Seek(void*, intptr_t, long long); +bool miqt_exec_callback_QFile_AtEnd(void*, intptr_t); +long long miqt_exec_callback_QFile_ReadData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QFile_WriteData(void*, intptr_t, const char*, long long); +long long miqt_exec_callback_QFile_ReadLineData(void*, intptr_t, char*, long long); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQFile : public virtual QFile { public: diff --git a/qt/gen_qfiledevice.cpp b/qt/gen_qfiledevice.cpp index 434fe68f..3658dc99 100644 --- a/qt/gen_qfiledevice.cpp +++ b/qt/gen_qfiledevice.cpp @@ -9,10 +9,13 @@ #include #include "gen_qfiledevice.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QFileDevice_virtbase(QFileDevice* src, QIODevice** outptr_QIODevice) { *outptr_QIODevice = static_cast(src); diff --git a/qt/gen_qfiledialog.cpp b/qt/gen_qfiledialog.cpp index 6f3c358d..5ba1beb0 100644 --- a/qt/gen_qfiledialog.cpp +++ b/qt/gen_qfiledialog.cpp @@ -24,10 +24,37 @@ #include #include "gen_qfiledialog.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QFileDialog_FileSelected(intptr_t, struct miqt_string); +void miqt_exec_callback_QFileDialog_FilesSelected(intptr_t, struct miqt_array /* of struct miqt_string */ ); +void miqt_exec_callback_QFileDialog_CurrentChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QFileDialog_DirectoryEntered(intptr_t, struct miqt_string); +void miqt_exec_callback_QFileDialog_UrlSelected(intptr_t, QUrl*); +void miqt_exec_callback_QFileDialog_UrlsSelected(intptr_t, struct miqt_array /* of QUrl* */ ); +void miqt_exec_callback_QFileDialog_CurrentUrlChanged(intptr_t, QUrl*); +void miqt_exec_callback_QFileDialog_DirectoryUrlEntered(intptr_t, QUrl*); +void miqt_exec_callback_QFileDialog_FilterSelected(intptr_t, struct miqt_string); +void miqt_exec_callback_QFileDialog_SetVisible(void*, intptr_t, bool); +void miqt_exec_callback_QFileDialog_Done(void*, intptr_t, int); +void miqt_exec_callback_QFileDialog_Accept(void*, intptr_t); +void miqt_exec_callback_QFileDialog_ChangeEvent(void*, intptr_t, QEvent*); +QSize* miqt_exec_callback_QFileDialog_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QFileDialog_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QFileDialog_Open(void*, intptr_t); +int miqt_exec_callback_QFileDialog_Exec(void*, intptr_t); +void miqt_exec_callback_QFileDialog_Reject(void*, intptr_t); +void miqt_exec_callback_QFileDialog_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QFileDialog_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QFileDialog_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QFileDialog_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QFileDialog_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QFileDialog_EventFilter(void*, intptr_t, QObject*, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQFileDialog : public virtual QFileDialog { public: diff --git a/qt/gen_qfileiconprovider.cpp b/qt/gen_qfileiconprovider.cpp index 126da80a..fe48423b 100644 --- a/qt/gen_qfileiconprovider.cpp +++ b/qt/gen_qfileiconprovider.cpp @@ -7,10 +7,16 @@ #include #include "gen_qfileiconprovider.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QIcon* miqt_exec_callback_QFileIconProvider_Icon(void*, intptr_t, int); +QIcon* miqt_exec_callback_QFileIconProvider_IconWithInfo(void*, intptr_t, QFileInfo*); +struct miqt_string miqt_exec_callback_QFileIconProvider_Type(void*, intptr_t, QFileInfo*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQFileIconProvider : public virtual QFileIconProvider { public: diff --git a/qt/gen_qfileinfo.cpp b/qt/gen_qfileinfo.cpp index f7975e5d..38c02d11 100644 --- a/qt/gen_qfileinfo.cpp +++ b/qt/gen_qfileinfo.cpp @@ -8,10 +8,13 @@ #include #include "gen_qfileinfo.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QFileInfo* QFileInfo_new() { return new QFileInfo(); diff --git a/qt/gen_qfileselector.cpp b/qt/gen_qfileselector.cpp index 9bcac7b0..b565bc14 100644 --- a/qt/gen_qfileselector.cpp +++ b/qt/gen_qfileselector.cpp @@ -13,10 +13,20 @@ #include #include "gen_qfileselector.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QFileSelector_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QFileSelector_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QFileSelector_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QFileSelector_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QFileSelector_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QFileSelector_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QFileSelector_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQFileSelector : public virtual QFileSelector { public: diff --git a/qt/gen_qfilesystemmodel.cpp b/qt/gen_qfilesystemmodel.cpp index a53198b2..c0b29a1b 100644 --- a/qt/gen_qfilesystemmodel.cpp +++ b/qt/gen_qfilesystemmodel.cpp @@ -22,10 +22,52 @@ #include #include "gen_qfilesystemmodel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QFileSystemModel_RootPathChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QFileSystemModel_FileRenamed(intptr_t, struct miqt_string, struct miqt_string, struct miqt_string); +void miqt_exec_callback_QFileSystemModel_DirectoryLoaded(intptr_t, struct miqt_string); +QModelIndex* miqt_exec_callback_QFileSystemModel_Index(void*, intptr_t, int, int, QModelIndex*); +QModelIndex* miqt_exec_callback_QFileSystemModel_Parent(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QFileSystemModel_Sibling(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QFileSystemModel_HasChildren(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QFileSystemModel_CanFetchMore(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QFileSystemModel_FetchMore(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QFileSystemModel_RowCount(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QFileSystemModel_ColumnCount(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QFileSystemModel_Data(void*, intptr_t, QModelIndex*, int); +bool miqt_exec_callback_QFileSystemModel_SetData(void*, intptr_t, QModelIndex*, QVariant*, int); +QVariant* miqt_exec_callback_QFileSystemModel_HeaderData(void*, intptr_t, int, int, int); +int miqt_exec_callback_QFileSystemModel_Flags(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QFileSystemModel_Sort(void*, intptr_t, int, int); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QFileSystemModel_MimeTypes(void*, intptr_t); +QMimeData* miqt_exec_callback_QFileSystemModel_MimeData(void*, intptr_t, struct miqt_array /* of QModelIndex* */ ); +bool miqt_exec_callback_QFileSystemModel_DropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +int miqt_exec_callback_QFileSystemModel_SupportedDropActions(void*, intptr_t); +void miqt_exec_callback_QFileSystemModel_TimerEvent(void*, intptr_t, QTimerEvent*); +bool miqt_exec_callback_QFileSystemModel_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QFileSystemModel_SetHeaderData(void*, intptr_t, int, int, QVariant*, int); +struct miqt_map /* of int to QVariant* */ miqt_exec_callback_QFileSystemModel_ItemData(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QFileSystemModel_SetItemData(void*, intptr_t, QModelIndex*, struct miqt_map /* of int to QVariant* */ ); +bool miqt_exec_callback_QFileSystemModel_CanDropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +int miqt_exec_callback_QFileSystemModel_SupportedDragActions(void*, intptr_t); +bool miqt_exec_callback_QFileSystemModel_InsertRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QFileSystemModel_InsertColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QFileSystemModel_RemoveRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QFileSystemModel_RemoveColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QFileSystemModel_MoveRows(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +bool miqt_exec_callback_QFileSystemModel_MoveColumns(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +QModelIndex* miqt_exec_callback_QFileSystemModel_Buddy(void*, intptr_t, QModelIndex*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QFileSystemModel_Match(void*, intptr_t, QModelIndex*, int, QVariant*, int, int); +QSize* miqt_exec_callback_QFileSystemModel_Span(void*, intptr_t, QModelIndex*); +struct miqt_map /* of int to struct miqt_string */ miqt_exec_callback_QFileSystemModel_RoleNames(void*, intptr_t); +bool miqt_exec_callback_QFileSystemModel_Submit(void*, intptr_t); +void miqt_exec_callback_QFileSystemModel_Revert(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQFileSystemModel : public virtual QFileSystemModel { public: diff --git a/qt/gen_qfilesystemwatcher.cpp b/qt/gen_qfilesystemwatcher.cpp index 539fb8bb..6656fc8f 100644 --- a/qt/gen_qfilesystemwatcher.cpp +++ b/qt/gen_qfilesystemwatcher.cpp @@ -12,10 +12,20 @@ #include #include "gen_qfilesystemwatcher.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QFileSystemWatcher_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QFileSystemWatcher_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QFileSystemWatcher_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QFileSystemWatcher_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QFileSystemWatcher_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QFileSystemWatcher_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QFileSystemWatcher_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQFileSystemWatcher : public virtual QFileSystemWatcher { public: diff --git a/qt/gen_qfinalstate.cpp b/qt/gen_qfinalstate.cpp index e23f6bd6..cfcda73d 100644 --- a/qt/gen_qfinalstate.cpp +++ b/qt/gen_qfinalstate.cpp @@ -10,10 +10,16 @@ #include #include "gen_qfinalstate.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QFinalState_OnEntry(void*, intptr_t, QEvent*); +void miqt_exec_callback_QFinalState_OnExit(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QFinalState_Event(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQFinalState : public virtual QFinalState { public: diff --git a/qt/gen_qfloat16.cpp b/qt/gen_qfloat16.cpp index 6ff334c8..55e03554 100644 --- a/qt/gen_qfloat16.cpp +++ b/qt/gen_qfloat16.cpp @@ -1,10 +1,13 @@ #include #include "gen_qfloat16.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" qfloat16* qfloat16_new() { return new qfloat16(); diff --git a/qt/gen_qfocusframe.cpp b/qt/gen_qfocusframe.cpp index 53dc05e1..896cf973 100644 --- a/qt/gen_qfocusframe.cpp +++ b/qt/gen_qfocusframe.cpp @@ -34,10 +34,55 @@ #include #include "gen_qfocusframe.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QFocusFrame_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QFocusFrame_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QFocusFrame_PaintEvent(void*, intptr_t, QPaintEvent*); +int miqt_exec_callback_QFocusFrame_DevType(void*, intptr_t); +void miqt_exec_callback_QFocusFrame_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QFocusFrame_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QFocusFrame_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QFocusFrame_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QFocusFrame_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QFocusFrame_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QFocusFrame_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QFocusFrame_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QFocusFrame_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QFocusFrame_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QFocusFrame_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QFocusFrame_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QFocusFrame_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QFocusFrame_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QFocusFrame_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QFocusFrame_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QFocusFrame_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QFocusFrame_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QFocusFrame_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QFocusFrame_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QFocusFrame_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QFocusFrame_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QFocusFrame_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QFocusFrame_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QFocusFrame_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QFocusFrame_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QFocusFrame_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QFocusFrame_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QFocusFrame_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QFocusFrame_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +void miqt_exec_callback_QFocusFrame_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QFocusFrame_Metric(void*, intptr_t, int); +void miqt_exec_callback_QFocusFrame_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QFocusFrame_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QFocusFrame_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QFocusFrame_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QFocusFrame_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QFocusFrame_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQFocusFrame : public virtual QFocusFrame { public: diff --git a/qt/gen_qfont.cpp b/qt/gen_qfont.cpp index c4ea2e97..4b5daf6d 100644 --- a/qt/gen_qfont.cpp +++ b/qt/gen_qfont.cpp @@ -8,10 +8,13 @@ #include #include "gen_qfont.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QFont* QFont_new() { return new QFont(); diff --git a/qt/gen_qfontcombobox.cpp b/qt/gen_qfontcombobox.cpp index 6c3ce4de..79e8c994 100644 --- a/qt/gen_qfontcombobox.cpp +++ b/qt/gen_qfontcombobox.cpp @@ -24,10 +24,34 @@ #include #include "gen_qfontcombobox.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QFontComboBox_CurrentFontChanged(intptr_t, QFont*); +QSize* miqt_exec_callback_QFontComboBox_SizeHint(void*, intptr_t); +bool miqt_exec_callback_QFontComboBox_Event(void*, intptr_t, QEvent*); +QSize* miqt_exec_callback_QFontComboBox_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QFontComboBox_ShowPopup(void*, intptr_t); +void miqt_exec_callback_QFontComboBox_HidePopup(void*, intptr_t); +QVariant* miqt_exec_callback_QFontComboBox_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QFontComboBox_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QFontComboBox_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QFontComboBox_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QFontComboBox_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QFontComboBox_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QFontComboBox_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QFontComboBox_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QFontComboBox_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QFontComboBox_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QFontComboBox_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QFontComboBox_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QFontComboBox_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QFontComboBox_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QFontComboBox_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQFontComboBox : public virtual QFontComboBox { public: diff --git a/qt/gen_qfontdatabase.cpp b/qt/gen_qfontdatabase.cpp index bc4615b5..229c590c 100644 --- a/qt/gen_qfontdatabase.cpp +++ b/qt/gen_qfontdatabase.cpp @@ -9,10 +9,13 @@ #include #include "gen_qfontdatabase.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QFontDatabase* QFontDatabase_new() { return new QFontDatabase(); diff --git a/qt/gen_qfontdialog.cpp b/qt/gen_qfontdialog.cpp index a43f46f7..6be4d772 100644 --- a/qt/gen_qfontdialog.cpp +++ b/qt/gen_qfontdialog.cpp @@ -18,10 +18,30 @@ #include #include "gen_qfontdialog.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QFontDialog_CurrentFontChanged(intptr_t, QFont*); +void miqt_exec_callback_QFontDialog_FontSelected(intptr_t, QFont*); +void miqt_exec_callback_QFontDialog_SetVisible(void*, intptr_t, bool); +void miqt_exec_callback_QFontDialog_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QFontDialog_Done(void*, intptr_t, int); +bool miqt_exec_callback_QFontDialog_EventFilter(void*, intptr_t, QObject*, QEvent*); +QSize* miqt_exec_callback_QFontDialog_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QFontDialog_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QFontDialog_Open(void*, intptr_t); +int miqt_exec_callback_QFontDialog_Exec(void*, intptr_t); +void miqt_exec_callback_QFontDialog_Accept(void*, intptr_t); +void miqt_exec_callback_QFontDialog_Reject(void*, intptr_t); +void miqt_exec_callback_QFontDialog_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QFontDialog_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QFontDialog_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QFontDialog_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QFontDialog_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQFontDialog : public virtual QFontDialog { public: diff --git a/qt/gen_qfontinfo.cpp b/qt/gen_qfontinfo.cpp index fc020e30..e54af0da 100644 --- a/qt/gen_qfontinfo.cpp +++ b/qt/gen_qfontinfo.cpp @@ -6,10 +6,13 @@ #include #include "gen_qfontinfo.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QFontInfo* QFontInfo_new(QFont* param1) { return new QFontInfo(*param1); diff --git a/qt/gen_qfontmetrics.cpp b/qt/gen_qfontmetrics.cpp index 88ce3601..cf531484 100644 --- a/qt/gen_qfontmetrics.cpp +++ b/qt/gen_qfontmetrics.cpp @@ -13,10 +13,13 @@ #include #include "gen_qfontmetrics.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QFontMetrics* QFontMetrics_new(QFont* param1) { return new QFontMetrics(*param1); diff --git a/qt/gen_qformlayout.cpp b/qt/gen_qformlayout.cpp index 4a77067f..76f1ae67 100644 --- a/qt/gen_qformlayout.cpp +++ b/qt/gen_qformlayout.cpp @@ -14,10 +14,31 @@ #include #include "gen_qformlayout.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QFormLayout_AddItem(void*, intptr_t, QLayoutItem*); +QLayoutItem* miqt_exec_callback_QFormLayout_ItemAtWithIndex(void*, intptr_t, int); +QLayoutItem* miqt_exec_callback_QFormLayout_TakeAt(void*, intptr_t, int); +void miqt_exec_callback_QFormLayout_SetGeometry(void*, intptr_t, QRect*); +QSize* miqt_exec_callback_QFormLayout_MinimumSize(void*, intptr_t); +QSize* miqt_exec_callback_QFormLayout_SizeHint(void*, intptr_t); +void miqt_exec_callback_QFormLayout_Invalidate(void*, intptr_t); +bool miqt_exec_callback_QFormLayout_HasHeightForWidth(void*, intptr_t); +int miqt_exec_callback_QFormLayout_HeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QFormLayout_ExpandingDirections(void*, intptr_t); +int miqt_exec_callback_QFormLayout_Count(void*, intptr_t); +QRect* miqt_exec_callback_QFormLayout_Geometry(void*, intptr_t); +QSize* miqt_exec_callback_QFormLayout_MaximumSize(void*, intptr_t); +int miqt_exec_callback_QFormLayout_IndexOf(void*, intptr_t, QWidget*); +bool miqt_exec_callback_QFormLayout_IsEmpty(void*, intptr_t); +int miqt_exec_callback_QFormLayout_ControlTypes(void*, intptr_t); +QLayout* miqt_exec_callback_QFormLayout_Layout(void*, intptr_t); +void miqt_exec_callback_QFormLayout_ChildEvent(void*, intptr_t, QChildEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQFormLayout : public virtual QFormLayout { public: diff --git a/qt/gen_qframe.cpp b/qt/gen_qframe.cpp index dcd611f4..29218ebc 100644 --- a/qt/gen_qframe.cpp +++ b/qt/gen_qframe.cpp @@ -35,10 +35,54 @@ #include #include "gen_qframe.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QFrame_SizeHint(void*, intptr_t); +bool miqt_exec_callback_QFrame_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QFrame_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QFrame_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QFrame_DevType(void*, intptr_t); +void miqt_exec_callback_QFrame_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QFrame_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QFrame_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QFrame_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QFrame_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QFrame_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QFrame_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QFrame_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QFrame_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QFrame_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QFrame_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QFrame_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QFrame_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QFrame_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QFrame_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QFrame_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QFrame_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QFrame_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QFrame_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QFrame_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QFrame_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QFrame_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QFrame_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QFrame_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QFrame_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QFrame_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QFrame_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QFrame_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QFrame_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +int miqt_exec_callback_QFrame_Metric(void*, intptr_t, int); +void miqt_exec_callback_QFrame_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QFrame_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QFrame_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QFrame_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QFrame_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QFrame_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQFrame : public virtual QFrame { public: diff --git a/qt/gen_qfutureinterface.cpp b/qt/gen_qfutureinterface.cpp index 50467dfc..030943bf 100644 --- a/qt/gen_qfutureinterface.cpp +++ b/qt/gen_qfutureinterface.cpp @@ -8,10 +8,13 @@ #include #include "gen_qfutureinterface.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QFutureInterfaceBase* QFutureInterfaceBase_new() { return new QFutureInterfaceBase(); diff --git a/qt/gen_qfuturewatcher.cpp b/qt/gen_qfuturewatcher.cpp index 5d568d0d..724cc762 100644 --- a/qt/gen_qfuturewatcher.cpp +++ b/qt/gen_qfuturewatcher.cpp @@ -9,10 +9,23 @@ #include #include "gen_qfuturewatcher.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QFutureWatcherBase_Started(intptr_t); +void miqt_exec_callback_QFutureWatcherBase_Finished(intptr_t); +void miqt_exec_callback_QFutureWatcherBase_Canceled(intptr_t); +void miqt_exec_callback_QFutureWatcherBase_Paused(intptr_t); +void miqt_exec_callback_QFutureWatcherBase_Resumed(intptr_t); +void miqt_exec_callback_QFutureWatcherBase_ResultReadyAt(intptr_t, int); +void miqt_exec_callback_QFutureWatcherBase_ResultsReadyAt(intptr_t, int, int); +void miqt_exec_callback_QFutureWatcherBase_ProgressRangeChanged(intptr_t, int, int); +void miqt_exec_callback_QFutureWatcherBase_ProgressValueChanged(intptr_t, int); +void miqt_exec_callback_QFutureWatcherBase_ProgressTextChanged(intptr_t, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QFutureWatcherBase_virtbase(QFutureWatcherBase* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt/gen_qgenericplugin.cpp b/qt/gen_qgenericplugin.cpp index 28b9ebbe..c6338081 100644 --- a/qt/gen_qgenericplugin.cpp +++ b/qt/gen_qgenericplugin.cpp @@ -11,10 +11,21 @@ #include #include "gen_qgenericplugin.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QObject* miqt_exec_callback_QGenericPlugin_Create(void*, intptr_t, struct miqt_string, struct miqt_string); +bool miqt_exec_callback_QGenericPlugin_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QGenericPlugin_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QGenericPlugin_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QGenericPlugin_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QGenericPlugin_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGenericPlugin_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QGenericPlugin_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGenericPlugin : public virtual QGenericPlugin { public: diff --git a/qt/gen_qgenericpluginfactory.cpp b/qt/gen_qgenericpluginfactory.cpp index 73aaf5fe..b4f6fd64 100644 --- a/qt/gen_qgenericpluginfactory.cpp +++ b/qt/gen_qgenericpluginfactory.cpp @@ -7,10 +7,13 @@ #include #include "gen_qgenericpluginfactory.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" struct miqt_array /* of struct miqt_string */ QGenericPluginFactory_Keys() { QStringList _ret = QGenericPluginFactory::keys(); diff --git a/qt/gen_qgesture.cpp b/qt/gen_qgesture.cpp index aaf68714..c5bacf92 100644 --- a/qt/gen_qgesture.cpp +++ b/qt/gen_qgesture.cpp @@ -20,10 +20,20 @@ #include #include "gen_qgesture.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QGesture_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QGesture_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QGesture_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QGesture_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QGesture_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGesture_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QGesture_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGesture : public virtual QGesture { public: diff --git a/qt/gen_qgesturerecognizer.cpp b/qt/gen_qgesturerecognizer.cpp index 328fc7c3..fff91da3 100644 --- a/qt/gen_qgesturerecognizer.cpp +++ b/qt/gen_qgesturerecognizer.cpp @@ -5,10 +5,16 @@ #include #include "gen_qgesturerecognizer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QGesture* miqt_exec_callback_QGestureRecognizer_Create(void*, intptr_t, QObject*); +int miqt_exec_callback_QGestureRecognizer_Recognize(void*, intptr_t, QGesture*, QObject*, QEvent*); +void miqt_exec_callback_QGestureRecognizer_Reset(void*, intptr_t, QGesture*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGestureRecognizer : public virtual QGestureRecognizer { public: diff --git a/qt/gen_qglobal.cpp b/qt/gen_qglobal.cpp index 051bd029..348a2f52 100644 --- a/qt/gen_qglobal.cpp +++ b/qt/gen_qglobal.cpp @@ -1,8 +1,11 @@ #include #include "gen_qglobal.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" diff --git a/qt/gen_qglyphrun.cpp b/qt/gen_qglyphrun.cpp index 22504f2f..098a5f5a 100644 --- a/qt/gen_qglyphrun.cpp +++ b/qt/gen_qglyphrun.cpp @@ -6,10 +6,13 @@ #include #include "gen_qglyphrun.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QGlyphRun* QGlyphRun_new() { return new QGlyphRun(); diff --git a/qt/gen_qgraphicsanchorlayout.cpp b/qt/gen_qgraphicsanchorlayout.cpp index 05fd8807..44abb206 100644 --- a/qt/gen_qgraphicsanchorlayout.cpp +++ b/qt/gen_qgraphicsanchorlayout.cpp @@ -13,10 +13,22 @@ #include #include "gen_qgraphicsanchorlayout.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsAnchorLayout_RemoveAt(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsAnchorLayout_SetGeometry(void*, intptr_t, QRectF*); +int miqt_exec_callback_QGraphicsAnchorLayout_Count(void*, intptr_t); +QGraphicsLayoutItem* miqt_exec_callback_QGraphicsAnchorLayout_ItemAt(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsAnchorLayout_Invalidate(void*, intptr_t); +QSizeF* miqt_exec_callback_QGraphicsAnchorLayout_SizeHint(void*, intptr_t, int, QSizeF*); +void miqt_exec_callback_QGraphicsAnchorLayout_GetContentsMargins(void*, intptr_t, double*, double*, double*, double*); +void miqt_exec_callback_QGraphicsAnchorLayout_UpdateGeometry(void*, intptr_t); +void miqt_exec_callback_QGraphicsAnchorLayout_WidgetEvent(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QGraphicsAnchor_virtbase(QGraphicsAnchor* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt/gen_qgraphicseffect.cpp b/qt/gen_qgraphicseffect.cpp index 7e6aa0a1..a076ce16 100644 --- a/qt/gen_qgraphicseffect.cpp +++ b/qt/gen_qgraphicseffect.cpp @@ -20,10 +20,45 @@ #include #include "gen_qgraphicseffect.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsEffect_EnabledChanged(intptr_t, bool); +QRectF* miqt_exec_callback_QGraphicsEffect_BoundingRectFor(void*, intptr_t, QRectF*); +void miqt_exec_callback_QGraphicsEffect_Draw(void*, intptr_t, QPainter*); +void miqt_exec_callback_QGraphicsEffect_SourceChanged(void*, intptr_t, int); +bool miqt_exec_callback_QGraphicsEffect_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QGraphicsEffect_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QGraphicsEffect_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QGraphicsEffect_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QGraphicsEffect_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsEffect_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QGraphicsEffect_DisconnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QGraphicsColorizeEffect_ColorChanged(intptr_t, QColor*); +void miqt_exec_callback_QGraphicsColorizeEffect_StrengthChanged(intptr_t, double); +void miqt_exec_callback_QGraphicsColorizeEffect_Draw(void*, intptr_t, QPainter*); +QRectF* miqt_exec_callback_QGraphicsColorizeEffect_BoundingRectFor(void*, intptr_t, QRectF*); +void miqt_exec_callback_QGraphicsColorizeEffect_SourceChanged(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsBlurEffect_BlurRadiusChanged(intptr_t, double); +void miqt_exec_callback_QGraphicsBlurEffect_BlurHintsChanged(intptr_t, int); +QRectF* miqt_exec_callback_QGraphicsBlurEffect_BoundingRectFor(void*, intptr_t, QRectF*); +void miqt_exec_callback_QGraphicsBlurEffect_Draw(void*, intptr_t, QPainter*); +void miqt_exec_callback_QGraphicsBlurEffect_SourceChanged(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsDropShadowEffect_OffsetChanged(intptr_t, QPointF*); +void miqt_exec_callback_QGraphicsDropShadowEffect_BlurRadiusChanged(intptr_t, double); +void miqt_exec_callback_QGraphicsDropShadowEffect_ColorChanged(intptr_t, QColor*); +QRectF* miqt_exec_callback_QGraphicsDropShadowEffect_BoundingRectFor(void*, intptr_t, QRectF*); +void miqt_exec_callback_QGraphicsDropShadowEffect_Draw(void*, intptr_t, QPainter*); +void miqt_exec_callback_QGraphicsDropShadowEffect_SourceChanged(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsOpacityEffect_OpacityChanged(intptr_t, double); +void miqt_exec_callback_QGraphicsOpacityEffect_OpacityMaskChanged(intptr_t, QBrush*); +void miqt_exec_callback_QGraphicsOpacityEffect_Draw(void*, intptr_t, QPainter*); +QRectF* miqt_exec_callback_QGraphicsOpacityEffect_BoundingRectFor(void*, intptr_t, QRectF*); +void miqt_exec_callback_QGraphicsOpacityEffect_SourceChanged(void*, intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsEffect : public virtual QGraphicsEffect { public: diff --git a/qt/gen_qgraphicsgridlayout.cpp b/qt/gen_qgraphicsgridlayout.cpp index a00036c4..7498121f 100644 --- a/qt/gen_qgraphicsgridlayout.cpp +++ b/qt/gen_qgraphicsgridlayout.cpp @@ -7,10 +7,22 @@ #include #include "gen_qgraphicsgridlayout.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QGraphicsGridLayout_Count(void*, intptr_t); +QGraphicsLayoutItem* miqt_exec_callback_QGraphicsGridLayout_ItemAtWithIndex(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsGridLayout_RemoveAt(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsGridLayout_Invalidate(void*, intptr_t); +void miqt_exec_callback_QGraphicsGridLayout_SetGeometry(void*, intptr_t, QRectF*); +QSizeF* miqt_exec_callback_QGraphicsGridLayout_SizeHint(void*, intptr_t, int, QSizeF*); +void miqt_exec_callback_QGraphicsGridLayout_GetContentsMargins(void*, intptr_t, double*, double*, double*, double*); +void miqt_exec_callback_QGraphicsGridLayout_UpdateGeometry(void*, intptr_t); +void miqt_exec_callback_QGraphicsGridLayout_WidgetEvent(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsGridLayout : public virtual QGraphicsGridLayout { public: diff --git a/qt/gen_qgraphicsitem.cpp b/qt/gen_qgraphicsitem.cpp index ba9431bf..c4648920 100644 --- a/qt/gen_qgraphicsitem.cpp +++ b/qt/gen_qgraphicsitem.cpp @@ -55,10 +55,324 @@ #include #include "gen_qgraphicsitem.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsItem_Advance(void*, intptr_t, int); +QRectF* miqt_exec_callback_QGraphicsItem_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsItem_Shape(void*, intptr_t); +bool miqt_exec_callback_QGraphicsItem_Contains(void*, intptr_t, QPointF*); +bool miqt_exec_callback_QGraphicsItem_CollidesWithItem(void*, intptr_t, QGraphicsItem*, int); +bool miqt_exec_callback_QGraphicsItem_CollidesWithPath(void*, intptr_t, QPainterPath*, int); +bool miqt_exec_callback_QGraphicsItem_IsObscuredBy(void*, intptr_t, QGraphicsItem*); +QPainterPath* miqt_exec_callback_QGraphicsItem_OpaqueArea(void*, intptr_t); +void miqt_exec_callback_QGraphicsItem_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +int miqt_exec_callback_QGraphicsItem_Type(void*, intptr_t); +bool miqt_exec_callback_QGraphicsItem_SceneEventFilter(void*, intptr_t, QGraphicsItem*, QEvent*); +bool miqt_exec_callback_QGraphicsItem_SceneEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsItem_ContextMenuEvent(void*, intptr_t, QGraphicsSceneContextMenuEvent*); +void miqt_exec_callback_QGraphicsItem_DragEnterEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsItem_DragLeaveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsItem_DragMoveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsItem_DropEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsItem_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsItem_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsItem_HoverEnterEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsItem_HoverMoveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsItem_HoverLeaveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsItem_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsItem_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsItem_MousePressEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsItem_MouseMoveEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsItem_MouseReleaseEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsItem_MouseDoubleClickEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsItem_WheelEvent(void*, intptr_t, QGraphicsSceneWheelEvent*); +void miqt_exec_callback_QGraphicsItem_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QGraphicsItem_InputMethodQuery(void*, intptr_t, int); +QVariant* miqt_exec_callback_QGraphicsItem_ItemChange(void*, intptr_t, int, QVariant*); +bool miqt_exec_callback_QGraphicsItem_SupportsExtension(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsItem_SetExtension(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QGraphicsItem_Extension(void*, intptr_t, QVariant*); +void miqt_exec_callback_QGraphicsObject_ParentChanged(intptr_t); +void miqt_exec_callback_QGraphicsObject_OpacityChanged(intptr_t); +void miqt_exec_callback_QGraphicsObject_VisibleChanged(intptr_t); +void miqt_exec_callback_QGraphicsObject_EnabledChanged(intptr_t); +void miqt_exec_callback_QGraphicsObject_XChanged(intptr_t); +void miqt_exec_callback_QGraphicsObject_YChanged(intptr_t); +void miqt_exec_callback_QGraphicsObject_ZChanged(intptr_t); +void miqt_exec_callback_QGraphicsObject_RotationChanged(intptr_t); +void miqt_exec_callback_QGraphicsObject_ScaleChanged(intptr_t); +void miqt_exec_callback_QGraphicsObject_ChildrenChanged(intptr_t); +void miqt_exec_callback_QGraphicsObject_WidthChanged(intptr_t); +void miqt_exec_callback_QGraphicsObject_HeightChanged(intptr_t); +bool miqt_exec_callback_QGraphicsObject_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QGraphicsObject_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QGraphicsObject_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QGraphicsObject_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QGraphicsObject_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsObject_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QGraphicsObject_DisconnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QGraphicsObject_Advance(void*, intptr_t, int); +QRectF* miqt_exec_callback_QGraphicsObject_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsObject_Shape(void*, intptr_t); +bool miqt_exec_callback_QGraphicsObject_Contains(void*, intptr_t, QPointF*); +bool miqt_exec_callback_QGraphicsObject_CollidesWithItem(void*, intptr_t, QGraphicsItem*, int); +bool miqt_exec_callback_QGraphicsObject_CollidesWithPath(void*, intptr_t, QPainterPath*, int); +bool miqt_exec_callback_QGraphicsObject_IsObscuredBy(void*, intptr_t, QGraphicsItem*); +QPainterPath* miqt_exec_callback_QGraphicsObject_OpaqueArea(void*, intptr_t); +void miqt_exec_callback_QGraphicsObject_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +int miqt_exec_callback_QGraphicsObject_Type(void*, intptr_t); +bool miqt_exec_callback_QGraphicsObject_SceneEventFilter(void*, intptr_t, QGraphicsItem*, QEvent*); +bool miqt_exec_callback_QGraphicsObject_SceneEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsObject_ContextMenuEvent(void*, intptr_t, QGraphicsSceneContextMenuEvent*); +void miqt_exec_callback_QGraphicsObject_DragEnterEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsObject_DragLeaveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsObject_DragMoveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsObject_DropEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsObject_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsObject_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsObject_HoverEnterEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsObject_HoverMoveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsObject_HoverLeaveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsObject_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsObject_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsObject_MousePressEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsObject_MouseMoveEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsObject_MouseReleaseEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsObject_MouseDoubleClickEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsObject_WheelEvent(void*, intptr_t, QGraphicsSceneWheelEvent*); +void miqt_exec_callback_QGraphicsObject_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QGraphicsObject_InputMethodQuery(void*, intptr_t, int); +QVariant* miqt_exec_callback_QGraphicsObject_ItemChange(void*, intptr_t, int, QVariant*); +bool miqt_exec_callback_QGraphicsObject_SupportsExtension(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsObject_SetExtension(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QGraphicsObject_Extension(void*, intptr_t, QVariant*); +bool miqt_exec_callback_QAbstractGraphicsShapeItem_IsObscuredBy(void*, intptr_t, QGraphicsItem*); +QPainterPath* miqt_exec_callback_QAbstractGraphicsShapeItem_OpaqueArea(void*, intptr_t); +void miqt_exec_callback_QAbstractGraphicsShapeItem_Advance(void*, intptr_t, int); +QRectF* miqt_exec_callback_QAbstractGraphicsShapeItem_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QAbstractGraphicsShapeItem_Shape(void*, intptr_t); +bool miqt_exec_callback_QAbstractGraphicsShapeItem_Contains(void*, intptr_t, QPointF*); +bool miqt_exec_callback_QAbstractGraphicsShapeItem_CollidesWithItem(void*, intptr_t, QGraphicsItem*, int); +bool miqt_exec_callback_QAbstractGraphicsShapeItem_CollidesWithPath(void*, intptr_t, QPainterPath*, int); +void miqt_exec_callback_QAbstractGraphicsShapeItem_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +int miqt_exec_callback_QAbstractGraphicsShapeItem_Type(void*, intptr_t); +bool miqt_exec_callback_QAbstractGraphicsShapeItem_SceneEventFilter(void*, intptr_t, QGraphicsItem*, QEvent*); +bool miqt_exec_callback_QAbstractGraphicsShapeItem_SceneEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_ContextMenuEvent(void*, intptr_t, QGraphicsSceneContextMenuEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_DragEnterEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_DragLeaveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_DragMoveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_DropEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_HoverEnterEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_HoverMoveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_HoverLeaveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_MousePressEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_MouseMoveEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_MouseReleaseEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_MouseDoubleClickEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_WheelEvent(void*, intptr_t, QGraphicsSceneWheelEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QAbstractGraphicsShapeItem_InputMethodQuery(void*, intptr_t, int); +QVariant* miqt_exec_callback_QAbstractGraphicsShapeItem_ItemChange(void*, intptr_t, int, QVariant*); +bool miqt_exec_callback_QAbstractGraphicsShapeItem_SupportsExtension(void*, intptr_t, int); +void miqt_exec_callback_QAbstractGraphicsShapeItem_SetExtension(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QAbstractGraphicsShapeItem_Extension(void*, intptr_t, QVariant*); +QRectF* miqt_exec_callback_QGraphicsPathItem_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsPathItem_Shape(void*, intptr_t); +bool miqt_exec_callback_QGraphicsPathItem_Contains(void*, intptr_t, QPointF*); +void miqt_exec_callback_QGraphicsPathItem_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +bool miqt_exec_callback_QGraphicsPathItem_IsObscuredBy(void*, intptr_t, QGraphicsItem*); +QPainterPath* miqt_exec_callback_QGraphicsPathItem_OpaqueArea(void*, intptr_t); +int miqt_exec_callback_QGraphicsPathItem_Type(void*, intptr_t); +bool miqt_exec_callback_QGraphicsPathItem_SupportsExtension(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsPathItem_SetExtension(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QGraphicsPathItem_Extension(void*, intptr_t, QVariant*); +QRectF* miqt_exec_callback_QGraphicsRectItem_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsRectItem_Shape(void*, intptr_t); +bool miqt_exec_callback_QGraphicsRectItem_Contains(void*, intptr_t, QPointF*); +void miqt_exec_callback_QGraphicsRectItem_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +bool miqt_exec_callback_QGraphicsRectItem_IsObscuredBy(void*, intptr_t, QGraphicsItem*); +QPainterPath* miqt_exec_callback_QGraphicsRectItem_OpaqueArea(void*, intptr_t); +int miqt_exec_callback_QGraphicsRectItem_Type(void*, intptr_t); +bool miqt_exec_callback_QGraphicsRectItem_SupportsExtension(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsRectItem_SetExtension(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QGraphicsRectItem_Extension(void*, intptr_t, QVariant*); +QRectF* miqt_exec_callback_QGraphicsEllipseItem_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsEllipseItem_Shape(void*, intptr_t); +bool miqt_exec_callback_QGraphicsEllipseItem_Contains(void*, intptr_t, QPointF*); +void miqt_exec_callback_QGraphicsEllipseItem_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +bool miqt_exec_callback_QGraphicsEllipseItem_IsObscuredBy(void*, intptr_t, QGraphicsItem*); +QPainterPath* miqt_exec_callback_QGraphicsEllipseItem_OpaqueArea(void*, intptr_t); +int miqt_exec_callback_QGraphicsEllipseItem_Type(void*, intptr_t); +bool miqt_exec_callback_QGraphicsEllipseItem_SupportsExtension(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsEllipseItem_SetExtension(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QGraphicsEllipseItem_Extension(void*, intptr_t, QVariant*); +QRectF* miqt_exec_callback_QGraphicsPolygonItem_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsPolygonItem_Shape(void*, intptr_t); +bool miqt_exec_callback_QGraphicsPolygonItem_Contains(void*, intptr_t, QPointF*); +void miqt_exec_callback_QGraphicsPolygonItem_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +bool miqt_exec_callback_QGraphicsPolygonItem_IsObscuredBy(void*, intptr_t, QGraphicsItem*); +QPainterPath* miqt_exec_callback_QGraphicsPolygonItem_OpaqueArea(void*, intptr_t); +int miqt_exec_callback_QGraphicsPolygonItem_Type(void*, intptr_t); +bool miqt_exec_callback_QGraphicsPolygonItem_SupportsExtension(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsPolygonItem_SetExtension(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QGraphicsPolygonItem_Extension(void*, intptr_t, QVariant*); +QRectF* miqt_exec_callback_QGraphicsLineItem_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsLineItem_Shape(void*, intptr_t); +bool miqt_exec_callback_QGraphicsLineItem_Contains(void*, intptr_t, QPointF*); +void miqt_exec_callback_QGraphicsLineItem_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +bool miqt_exec_callback_QGraphicsLineItem_IsObscuredBy(void*, intptr_t, QGraphicsItem*); +QPainterPath* miqt_exec_callback_QGraphicsLineItem_OpaqueArea(void*, intptr_t); +int miqt_exec_callback_QGraphicsLineItem_Type(void*, intptr_t); +bool miqt_exec_callback_QGraphicsLineItem_SupportsExtension(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsLineItem_SetExtension(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QGraphicsLineItem_Extension(void*, intptr_t, QVariant*); +void miqt_exec_callback_QGraphicsLineItem_Advance(void*, intptr_t, int); +bool miqt_exec_callback_QGraphicsLineItem_CollidesWithItem(void*, intptr_t, QGraphicsItem*, int); +bool miqt_exec_callback_QGraphicsLineItem_CollidesWithPath(void*, intptr_t, QPainterPath*, int); +bool miqt_exec_callback_QGraphicsLineItem_SceneEventFilter(void*, intptr_t, QGraphicsItem*, QEvent*); +bool miqt_exec_callback_QGraphicsLineItem_SceneEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsLineItem_ContextMenuEvent(void*, intptr_t, QGraphicsSceneContextMenuEvent*); +void miqt_exec_callback_QGraphicsLineItem_DragEnterEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsLineItem_DragLeaveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsLineItem_DragMoveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsLineItem_DropEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsLineItem_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsLineItem_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsLineItem_HoverEnterEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsLineItem_HoverMoveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsLineItem_HoverLeaveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsLineItem_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsLineItem_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsLineItem_MousePressEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsLineItem_MouseMoveEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsLineItem_MouseReleaseEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsLineItem_MouseDoubleClickEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsLineItem_WheelEvent(void*, intptr_t, QGraphicsSceneWheelEvent*); +void miqt_exec_callback_QGraphicsLineItem_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QGraphicsLineItem_InputMethodQuery(void*, intptr_t, int); +QVariant* miqt_exec_callback_QGraphicsLineItem_ItemChange(void*, intptr_t, int, QVariant*); +QRectF* miqt_exec_callback_QGraphicsPixmapItem_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsPixmapItem_Shape(void*, intptr_t); +bool miqt_exec_callback_QGraphicsPixmapItem_Contains(void*, intptr_t, QPointF*); +void miqt_exec_callback_QGraphicsPixmapItem_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +bool miqt_exec_callback_QGraphicsPixmapItem_IsObscuredBy(void*, intptr_t, QGraphicsItem*); +QPainterPath* miqt_exec_callback_QGraphicsPixmapItem_OpaqueArea(void*, intptr_t); +int miqt_exec_callback_QGraphicsPixmapItem_Type(void*, intptr_t); +bool miqt_exec_callback_QGraphicsPixmapItem_SupportsExtension(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsPixmapItem_SetExtension(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QGraphicsPixmapItem_Extension(void*, intptr_t, QVariant*); +void miqt_exec_callback_QGraphicsPixmapItem_Advance(void*, intptr_t, int); +bool miqt_exec_callback_QGraphicsPixmapItem_CollidesWithItem(void*, intptr_t, QGraphicsItem*, int); +bool miqt_exec_callback_QGraphicsPixmapItem_CollidesWithPath(void*, intptr_t, QPainterPath*, int); +bool miqt_exec_callback_QGraphicsPixmapItem_SceneEventFilter(void*, intptr_t, QGraphicsItem*, QEvent*); +bool miqt_exec_callback_QGraphicsPixmapItem_SceneEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_ContextMenuEvent(void*, intptr_t, QGraphicsSceneContextMenuEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_DragEnterEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_DragLeaveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_DragMoveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_DropEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_HoverEnterEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_HoverMoveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_HoverLeaveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_MousePressEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_MouseMoveEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_MouseReleaseEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_MouseDoubleClickEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_WheelEvent(void*, intptr_t, QGraphicsSceneWheelEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QGraphicsPixmapItem_InputMethodQuery(void*, intptr_t, int); +QVariant* miqt_exec_callback_QGraphicsPixmapItem_ItemChange(void*, intptr_t, int, QVariant*); +void miqt_exec_callback_QGraphicsTextItem_LinkActivated(intptr_t, struct miqt_string); +void miqt_exec_callback_QGraphicsTextItem_LinkHovered(intptr_t, struct miqt_string); +QRectF* miqt_exec_callback_QGraphicsTextItem_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsTextItem_Shape(void*, intptr_t); +bool miqt_exec_callback_QGraphicsTextItem_Contains(void*, intptr_t, QPointF*); +void miqt_exec_callback_QGraphicsTextItem_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +bool miqt_exec_callback_QGraphicsTextItem_IsObscuredBy(void*, intptr_t, QGraphicsItem*); +QPainterPath* miqt_exec_callback_QGraphicsTextItem_OpaqueArea(void*, intptr_t); +int miqt_exec_callback_QGraphicsTextItem_Type(void*, intptr_t); +bool miqt_exec_callback_QGraphicsTextItem_SceneEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsTextItem_MousePressEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsTextItem_MouseMoveEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsTextItem_MouseReleaseEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsTextItem_MouseDoubleClickEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsTextItem_ContextMenuEvent(void*, intptr_t, QGraphicsSceneContextMenuEvent*); +void miqt_exec_callback_QGraphicsTextItem_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsTextItem_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsTextItem_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsTextItem_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsTextItem_DragEnterEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsTextItem_DragLeaveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsTextItem_DragMoveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsTextItem_DropEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsTextItem_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +void miqt_exec_callback_QGraphicsTextItem_HoverEnterEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsTextItem_HoverMoveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsTextItem_HoverLeaveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +QVariant* miqt_exec_callback_QGraphicsTextItem_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QGraphicsTextItem_SupportsExtension(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsTextItem_SetExtension(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QGraphicsTextItem_Extension(void*, intptr_t, QVariant*); +bool miqt_exec_callback_QGraphicsTextItem_Event(void*, intptr_t, QEvent*); +QRectF* miqt_exec_callback_QGraphicsSimpleTextItem_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsSimpleTextItem_Shape(void*, intptr_t); +bool miqt_exec_callback_QGraphicsSimpleTextItem_Contains(void*, intptr_t, QPointF*); +void miqt_exec_callback_QGraphicsSimpleTextItem_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +bool miqt_exec_callback_QGraphicsSimpleTextItem_IsObscuredBy(void*, intptr_t, QGraphicsItem*); +QPainterPath* miqt_exec_callback_QGraphicsSimpleTextItem_OpaqueArea(void*, intptr_t); +int miqt_exec_callback_QGraphicsSimpleTextItem_Type(void*, intptr_t); +bool miqt_exec_callback_QGraphicsSimpleTextItem_SupportsExtension(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsSimpleTextItem_SetExtension(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QGraphicsSimpleTextItem_Extension(void*, intptr_t, QVariant*); +QRectF* miqt_exec_callback_QGraphicsItemGroup_BoundingRect(void*, intptr_t); +void miqt_exec_callback_QGraphicsItemGroup_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +bool miqt_exec_callback_QGraphicsItemGroup_IsObscuredBy(void*, intptr_t, QGraphicsItem*); +QPainterPath* miqt_exec_callback_QGraphicsItemGroup_OpaqueArea(void*, intptr_t); +int miqt_exec_callback_QGraphicsItemGroup_Type(void*, intptr_t); +void miqt_exec_callback_QGraphicsItemGroup_Advance(void*, intptr_t, int); +QPainterPath* miqt_exec_callback_QGraphicsItemGroup_Shape(void*, intptr_t); +bool miqt_exec_callback_QGraphicsItemGroup_Contains(void*, intptr_t, QPointF*); +bool miqt_exec_callback_QGraphicsItemGroup_CollidesWithItem(void*, intptr_t, QGraphicsItem*, int); +bool miqt_exec_callback_QGraphicsItemGroup_CollidesWithPath(void*, intptr_t, QPainterPath*, int); +bool miqt_exec_callback_QGraphicsItemGroup_SceneEventFilter(void*, intptr_t, QGraphicsItem*, QEvent*); +bool miqt_exec_callback_QGraphicsItemGroup_SceneEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsItemGroup_ContextMenuEvent(void*, intptr_t, QGraphicsSceneContextMenuEvent*); +void miqt_exec_callback_QGraphicsItemGroup_DragEnterEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsItemGroup_DragLeaveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsItemGroup_DragMoveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsItemGroup_DropEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsItemGroup_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsItemGroup_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsItemGroup_HoverEnterEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsItemGroup_HoverMoveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsItemGroup_HoverLeaveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsItemGroup_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsItemGroup_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsItemGroup_MousePressEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsItemGroup_MouseMoveEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsItemGroup_MouseReleaseEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsItemGroup_MouseDoubleClickEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsItemGroup_WheelEvent(void*, intptr_t, QGraphicsSceneWheelEvent*); +void miqt_exec_callback_QGraphicsItemGroup_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QGraphicsItemGroup_InputMethodQuery(void*, intptr_t, int); +QVariant* miqt_exec_callback_QGraphicsItemGroup_ItemChange(void*, intptr_t, int, QVariant*); +bool miqt_exec_callback_QGraphicsItemGroup_SupportsExtension(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsItemGroup_SetExtension(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QGraphicsItemGroup_Extension(void*, intptr_t, QVariant*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsItem : public virtual QGraphicsItem { public: diff --git a/qt/gen_qgraphicsitemanimation.cpp b/qt/gen_qgraphicsitemanimation.cpp index 384da608..d7ac0eba 100644 --- a/qt/gen_qgraphicsitemanimation.cpp +++ b/qt/gen_qgraphicsitemanimation.cpp @@ -18,10 +18,22 @@ #include #include "gen_qgraphicsitemanimation.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsItemAnimation_BeforeAnimationStep(void*, intptr_t, double); +void miqt_exec_callback_QGraphicsItemAnimation_AfterAnimationStep(void*, intptr_t, double); +bool miqt_exec_callback_QGraphicsItemAnimation_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QGraphicsItemAnimation_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QGraphicsItemAnimation_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QGraphicsItemAnimation_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QGraphicsItemAnimation_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsItemAnimation_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QGraphicsItemAnimation_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsItemAnimation : public virtual QGraphicsItemAnimation { public: diff --git a/qt/gen_qgraphicslayout.cpp b/qt/gen_qgraphicslayout.cpp index d6328235..1a20cbea 100644 --- a/qt/gen_qgraphicslayout.cpp +++ b/qt/gen_qgraphicslayout.cpp @@ -6,10 +6,22 @@ #include #include "gen_qgraphicslayout.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsLayout_GetContentsMargins(void*, intptr_t, double*, double*, double*, double*); +void miqt_exec_callback_QGraphicsLayout_Invalidate(void*, intptr_t); +void miqt_exec_callback_QGraphicsLayout_UpdateGeometry(void*, intptr_t); +void miqt_exec_callback_QGraphicsLayout_WidgetEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QGraphicsLayout_Count(void*, intptr_t); +QGraphicsLayoutItem* miqt_exec_callback_QGraphicsLayout_ItemAt(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsLayout_RemoveAt(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsLayout_SetGeometry(void*, intptr_t, QRectF*); +QSizeF* miqt_exec_callback_QGraphicsLayout_SizeHint(void*, intptr_t, int, QSizeF*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsLayout : public virtual QGraphicsLayout { public: diff --git a/qt/gen_qgraphicslayoutitem.cpp b/qt/gen_qgraphicslayoutitem.cpp index 91be2ca7..febf4fe9 100644 --- a/qt/gen_qgraphicslayoutitem.cpp +++ b/qt/gen_qgraphicslayoutitem.cpp @@ -6,10 +6,17 @@ #include #include "gen_qgraphicslayoutitem.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsLayoutItem_SetGeometry(void*, intptr_t, QRectF*); +void miqt_exec_callback_QGraphicsLayoutItem_GetContentsMargins(void*, intptr_t, double*, double*, double*, double*); +void miqt_exec_callback_QGraphicsLayoutItem_UpdateGeometry(void*, intptr_t); +QSizeF* miqt_exec_callback_QGraphicsLayoutItem_SizeHint(void*, intptr_t, int, QSizeF*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsLayoutItem : public virtual QGraphicsLayoutItem { public: diff --git a/qt/gen_qgraphicslinearlayout.cpp b/qt/gen_qgraphicslinearlayout.cpp index 46f1f82d..db2aab10 100644 --- a/qt/gen_qgraphicslinearlayout.cpp +++ b/qt/gen_qgraphicslinearlayout.cpp @@ -7,10 +7,22 @@ #include #include "gen_qgraphicslinearlayout.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsLinearLayout_RemoveAt(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsLinearLayout_SetGeometry(void*, intptr_t, QRectF*); +int miqt_exec_callback_QGraphicsLinearLayout_Count(void*, intptr_t); +QGraphicsLayoutItem* miqt_exec_callback_QGraphicsLinearLayout_ItemAt(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsLinearLayout_Invalidate(void*, intptr_t); +QSizeF* miqt_exec_callback_QGraphicsLinearLayout_SizeHint(void*, intptr_t, int, QSizeF*); +void miqt_exec_callback_QGraphicsLinearLayout_GetContentsMargins(void*, intptr_t, double*, double*, double*, double*); +void miqt_exec_callback_QGraphicsLinearLayout_UpdateGeometry(void*, intptr_t); +void miqt_exec_callback_QGraphicsLinearLayout_WidgetEvent(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsLinearLayout : public virtual QGraphicsLinearLayout { public: diff --git a/qt/gen_qgraphicsproxywidget.cpp b/qt/gen_qgraphicsproxywidget.cpp index be964f4a..0a8e8fe0 100644 --- a/qt/gen_qgraphicsproxywidget.cpp +++ b/qt/gen_qgraphicsproxywidget.cpp @@ -34,10 +34,61 @@ #include #include "gen_qgraphicsproxywidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsProxyWidget_SetGeometry(void*, intptr_t, QRectF*); +void miqt_exec_callback_QGraphicsProxyWidget_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +int miqt_exec_callback_QGraphicsProxyWidget_Type(void*, intptr_t); +QVariant* miqt_exec_callback_QGraphicsProxyWidget_ItemChange(void*, intptr_t, int, QVariant*); +bool miqt_exec_callback_QGraphicsProxyWidget_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QGraphicsProxyWidget_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_ContextMenuEvent(void*, intptr_t, QGraphicsSceneContextMenuEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_DragEnterEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_DragLeaveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_DragMoveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_DropEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_HoverEnterEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_HoverLeaveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_HoverMoveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_GrabMouseEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_UngrabMouseEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_MouseMoveEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_MousePressEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_MouseReleaseEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_MouseDoubleClickEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_WheelEvent(void*, intptr_t, QGraphicsSceneWheelEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_FocusOutEvent(void*, intptr_t, QFocusEvent*); +bool miqt_exec_callback_QGraphicsProxyWidget_FocusNextPrevChild(void*, intptr_t, bool); +QVariant* miqt_exec_callback_QGraphicsProxyWidget_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsProxyWidget_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QSizeF* miqt_exec_callback_QGraphicsProxyWidget_SizeHint(void*, intptr_t, int, QSizeF*); +void miqt_exec_callback_QGraphicsProxyWidget_ResizeEvent(void*, intptr_t, QGraphicsSceneResizeEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_GetContentsMargins(void*, intptr_t, double*, double*, double*, double*); +void miqt_exec_callback_QGraphicsProxyWidget_PaintWindowFrame(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +QRectF* miqt_exec_callback_QGraphicsProxyWidget_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsProxyWidget_Shape(void*, intptr_t); +void miqt_exec_callback_QGraphicsProxyWidget_InitStyleOption(void*, intptr_t, QStyleOption*); +void miqt_exec_callback_QGraphicsProxyWidget_UpdateGeometry(void*, intptr_t); +QVariant* miqt_exec_callback_QGraphicsProxyWidget_PropertyChange(void*, intptr_t, struct miqt_string, QVariant*); +bool miqt_exec_callback_QGraphicsProxyWidget_SceneEvent(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QGraphicsProxyWidget_WindowFrameEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QGraphicsProxyWidget_WindowFrameSectionAt(void*, intptr_t, QPointF*); +void miqt_exec_callback_QGraphicsProxyWidget_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_MoveEvent(void*, intptr_t, QGraphicsSceneMoveEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_PolishEvent(void*, intptr_t); +void miqt_exec_callback_QGraphicsProxyWidget_GrabKeyboardEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_UngrabKeyboardEvent(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsProxyWidget : public virtual QGraphicsProxyWidget { public: diff --git a/qt/gen_qgraphicsscene.cpp b/qt/gen_qgraphicsscene.cpp index 078c3f5b..dda7bf38 100644 --- a/qt/gen_qgraphicsscene.cpp +++ b/qt/gen_qgraphicsscene.cpp @@ -46,10 +46,43 @@ #include #include "gen_qgraphicsscene.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsScene_Changed(intptr_t, struct miqt_array /* of QRectF* */ ); +void miqt_exec_callback_QGraphicsScene_SceneRectChanged(intptr_t, QRectF*); +void miqt_exec_callback_QGraphicsScene_SelectionChanged(intptr_t); +void miqt_exec_callback_QGraphicsScene_FocusItemChanged(intptr_t, QGraphicsItem*, QGraphicsItem*, int); +QVariant* miqt_exec_callback_QGraphicsScene_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QGraphicsScene_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QGraphicsScene_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QGraphicsScene_ContextMenuEvent(void*, intptr_t, QGraphicsSceneContextMenuEvent*); +void miqt_exec_callback_QGraphicsScene_DragEnterEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsScene_DragMoveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsScene_DragLeaveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsScene_DropEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsScene_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsScene_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsScene_HelpEvent(void*, intptr_t, QGraphicsSceneHelpEvent*); +void miqt_exec_callback_QGraphicsScene_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsScene_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsScene_MousePressEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsScene_MouseMoveEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsScene_MouseReleaseEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsScene_MouseDoubleClickEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsScene_WheelEvent(void*, intptr_t, QGraphicsSceneWheelEvent*); +void miqt_exec_callback_QGraphicsScene_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +void miqt_exec_callback_QGraphicsScene_DrawBackground(void*, intptr_t, QPainter*, QRectF*); +void miqt_exec_callback_QGraphicsScene_DrawForeground(void*, intptr_t, QPainter*, QRectF*); +void miqt_exec_callback_QGraphicsScene_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QGraphicsScene_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QGraphicsScene_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsScene_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QGraphicsScene_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsScene : public virtual QGraphicsScene { public: diff --git a/qt/gen_qgraphicssceneevent.cpp b/qt/gen_qgraphicssceneevent.cpp index 27c71722..c87783fb 100644 --- a/qt/gen_qgraphicssceneevent.cpp +++ b/qt/gen_qgraphicssceneevent.cpp @@ -16,10 +16,13 @@ #include #include "gen_qgraphicssceneevent.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QGraphicsSceneEvent* QGraphicsSceneEvent_new(int typeVal) { return new QGraphicsSceneEvent(static_cast(typeVal)); diff --git a/qt/gen_qgraphicstransform.cpp b/qt/gen_qgraphicstransform.cpp index 7f75ab7e..dcd2f2a4 100644 --- a/qt/gen_qgraphicstransform.cpp +++ b/qt/gen_qgraphicstransform.cpp @@ -15,10 +15,31 @@ #include #include "gen_qgraphicstransform.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsTransform_ApplyTo(void*, intptr_t, QMatrix4x4*); +bool miqt_exec_callback_QGraphicsTransform_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QGraphicsTransform_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QGraphicsTransform_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QGraphicsTransform_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QGraphicsTransform_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsTransform_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QGraphicsTransform_DisconnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QGraphicsScale_OriginChanged(intptr_t); +void miqt_exec_callback_QGraphicsScale_XScaleChanged(intptr_t); +void miqt_exec_callback_QGraphicsScale_YScaleChanged(intptr_t); +void miqt_exec_callback_QGraphicsScale_ZScaleChanged(intptr_t); +void miqt_exec_callback_QGraphicsScale_ScaleChanged(intptr_t); +void miqt_exec_callback_QGraphicsScale_ApplyTo(void*, intptr_t, QMatrix4x4*); +void miqt_exec_callback_QGraphicsRotation_OriginChanged(intptr_t); +void miqt_exec_callback_QGraphicsRotation_AngleChanged(intptr_t); +void miqt_exec_callback_QGraphicsRotation_AxisChanged(intptr_t); +void miqt_exec_callback_QGraphicsRotation_ApplyTo(void*, intptr_t, QMatrix4x4*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsTransform : public virtual QGraphicsTransform { public: diff --git a/qt/gen_qgraphicsview.cpp b/qt/gen_qgraphicsview.cpp index 1814bec3..f66736fb 100644 --- a/qt/gen_qgraphicsview.cpp +++ b/qt/gen_qgraphicsview.cpp @@ -39,10 +39,44 @@ #include #include "gen_qgraphicsview.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsView_RubberBandChanged(intptr_t, QRect*, QPointF*, QPointF*); +QSize* miqt_exec_callback_QGraphicsView_SizeHint(void*, intptr_t); +QVariant* miqt_exec_callback_QGraphicsView_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsView_SetupViewport(void*, intptr_t, QWidget*); +bool miqt_exec_callback_QGraphicsView_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QGraphicsView_ViewportEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsView_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QGraphicsView_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QGraphicsView_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QGraphicsView_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QGraphicsView_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QGraphicsView_FocusInEvent(void*, intptr_t, QFocusEvent*); +bool miqt_exec_callback_QGraphicsView_FocusNextPrevChild(void*, intptr_t, bool); +void miqt_exec_callback_QGraphicsView_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsView_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsView_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsView_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QGraphicsView_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QGraphicsView_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QGraphicsView_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QGraphicsView_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QGraphicsView_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QGraphicsView_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QGraphicsView_ScrollContentsBy(void*, intptr_t, int, int); +void miqt_exec_callback_QGraphicsView_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QGraphicsView_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +void miqt_exec_callback_QGraphicsView_DrawBackground(void*, intptr_t, QPainter*, QRectF*); +void miqt_exec_callback_QGraphicsView_DrawForeground(void*, intptr_t, QPainter*, QRectF*); +QSize* miqt_exec_callback_QGraphicsView_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QGraphicsView_EventFilter(void*, intptr_t, QObject*, QEvent*); +QSize* miqt_exec_callback_QGraphicsView_ViewportSizeHint(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsView : public virtual QGraphicsView { public: diff --git a/qt/gen_qgraphicswidget.cpp b/qt/gen_qgraphicswidget.cpp index 1a060846..aabffc67 100644 --- a/qt/gen_qgraphicswidget.cpp +++ b/qt/gen_qgraphicswidget.cpp @@ -35,10 +35,47 @@ #include #include "gen_qgraphicswidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsWidget_GeometryChanged(intptr_t); +void miqt_exec_callback_QGraphicsWidget_LayoutChanged(intptr_t); +void miqt_exec_callback_QGraphicsWidget_SetGeometry(void*, intptr_t, QRectF*); +void miqt_exec_callback_QGraphicsWidget_GetContentsMargins(void*, intptr_t, double*, double*, double*, double*); +int miqt_exec_callback_QGraphicsWidget_Type(void*, intptr_t); +void miqt_exec_callback_QGraphicsWidget_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +void miqt_exec_callback_QGraphicsWidget_PaintWindowFrame(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +QRectF* miqt_exec_callback_QGraphicsWidget_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsWidget_Shape(void*, intptr_t); +void miqt_exec_callback_QGraphicsWidget_InitStyleOption(void*, intptr_t, QStyleOption*); +QSizeF* miqt_exec_callback_QGraphicsWidget_SizeHint(void*, intptr_t, int, QSizeF*); +void miqt_exec_callback_QGraphicsWidget_UpdateGeometry(void*, intptr_t); +QVariant* miqt_exec_callback_QGraphicsWidget_ItemChange(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QGraphicsWidget_PropertyChange(void*, intptr_t, struct miqt_string, QVariant*); +bool miqt_exec_callback_QGraphicsWidget_SceneEvent(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QGraphicsWidget_WindowFrameEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QGraphicsWidget_WindowFrameSectionAt(void*, intptr_t, QPointF*); +bool miqt_exec_callback_QGraphicsWidget_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsWidget_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsWidget_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QGraphicsWidget_FocusInEvent(void*, intptr_t, QFocusEvent*); +bool miqt_exec_callback_QGraphicsWidget_FocusNextPrevChild(void*, intptr_t, bool); +void miqt_exec_callback_QGraphicsWidget_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsWidget_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QGraphicsWidget_MoveEvent(void*, intptr_t, QGraphicsSceneMoveEvent*); +void miqt_exec_callback_QGraphicsWidget_PolishEvent(void*, intptr_t); +void miqt_exec_callback_QGraphicsWidget_ResizeEvent(void*, intptr_t, QGraphicsSceneResizeEvent*); +void miqt_exec_callback_QGraphicsWidget_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QGraphicsWidget_HoverMoveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsWidget_HoverLeaveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsWidget_GrabMouseEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsWidget_UngrabMouseEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsWidget_GrabKeyboardEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsWidget_UngrabKeyboardEvent(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsWidget : public virtual QGraphicsWidget { public: diff --git a/qt/gen_qgridlayout.cpp b/qt/gen_qgridlayout.cpp index 631ee659..a3b73539 100644 --- a/qt/gen_qgridlayout.cpp +++ b/qt/gen_qgridlayout.cpp @@ -13,10 +13,32 @@ #include #include "gen_qgridlayout.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QGridLayout_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QGridLayout_MinimumSize(void*, intptr_t); +QSize* miqt_exec_callback_QGridLayout_MaximumSize(void*, intptr_t); +bool miqt_exec_callback_QGridLayout_HasHeightForWidth(void*, intptr_t); +int miqt_exec_callback_QGridLayout_HeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QGridLayout_MinimumHeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QGridLayout_ExpandingDirections(void*, intptr_t); +void miqt_exec_callback_QGridLayout_Invalidate(void*, intptr_t); +QLayoutItem* miqt_exec_callback_QGridLayout_ItemAt(void*, intptr_t, int); +QLayoutItem* miqt_exec_callback_QGridLayout_TakeAt(void*, intptr_t, int); +int miqt_exec_callback_QGridLayout_Count(void*, intptr_t); +void miqt_exec_callback_QGridLayout_SetGeometry(void*, intptr_t, QRect*); +void miqt_exec_callback_QGridLayout_AddItemWithQLayoutItem(void*, intptr_t, QLayoutItem*); +QRect* miqt_exec_callback_QGridLayout_Geometry(void*, intptr_t); +int miqt_exec_callback_QGridLayout_IndexOf(void*, intptr_t, QWidget*); +bool miqt_exec_callback_QGridLayout_IsEmpty(void*, intptr_t); +int miqt_exec_callback_QGridLayout_ControlTypes(void*, intptr_t); +QLayout* miqt_exec_callback_QGridLayout_Layout(void*, intptr_t); +void miqt_exec_callback_QGridLayout_ChildEvent(void*, intptr_t, QChildEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGridLayout : public virtual QGridLayout { public: diff --git a/qt/gen_qgroupbox.cpp b/qt/gen_qgroupbox.cpp index 210e5d1b..dd312064 100644 --- a/qt/gen_qgroupbox.cpp +++ b/qt/gen_qgroupbox.cpp @@ -35,10 +35,58 @@ #include #include "gen_qgroupbox.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGroupBox_Clicked(intptr_t); +void miqt_exec_callback_QGroupBox_Toggled(intptr_t, bool); +void miqt_exec_callback_QGroupBox_Clicked1(intptr_t, bool); +QSize* miqt_exec_callback_QGroupBox_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QGroupBox_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGroupBox_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QGroupBox_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QGroupBox_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QGroupBox_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGroupBox_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGroupBox_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QGroupBox_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QGroupBox_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +int miqt_exec_callback_QGroupBox_DevType(void*, intptr_t); +void miqt_exec_callback_QGroupBox_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QGroupBox_SizeHint(void*, intptr_t); +int miqt_exec_callback_QGroupBox_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QGroupBox_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QGroupBox_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QGroupBox_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QGroupBox_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QGroupBox_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGroupBox_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGroupBox_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGroupBox_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGroupBox_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGroupBox_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QGroupBox_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QGroupBox_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QGroupBox_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QGroupBox_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QGroupBox_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QGroupBox_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QGroupBox_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QGroupBox_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QGroupBox_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QGroupBox_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QGroupBox_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +int miqt_exec_callback_QGroupBox_Metric(void*, intptr_t, int); +void miqt_exec_callback_QGroupBox_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QGroupBox_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QGroupBox_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QGroupBox_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QGroupBox_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QGroupBox_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGroupBox : public virtual QGroupBox { public: diff --git a/qt/gen_qguiapplication.cpp b/qt/gen_qguiapplication.cpp index 84aa4f38..4b491784 100644 --- a/qt/gen_qguiapplication.cpp +++ b/qt/gen_qguiapplication.cpp @@ -21,10 +21,29 @@ #include #include "gen_qguiapplication.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGuiApplication_FontDatabaseChanged(intptr_t); +void miqt_exec_callback_QGuiApplication_ScreenAdded(intptr_t, QScreen*); +void miqt_exec_callback_QGuiApplication_ScreenRemoved(intptr_t, QScreen*); +void miqt_exec_callback_QGuiApplication_PrimaryScreenChanged(intptr_t, QScreen*); +void miqt_exec_callback_QGuiApplication_LastWindowClosed(intptr_t); +void miqt_exec_callback_QGuiApplication_FocusObjectChanged(intptr_t, QObject*); +void miqt_exec_callback_QGuiApplication_FocusWindowChanged(intptr_t, QWindow*); +void miqt_exec_callback_QGuiApplication_ApplicationStateChanged(intptr_t, int); +void miqt_exec_callback_QGuiApplication_LayoutDirectionChanged(intptr_t, int); +void miqt_exec_callback_QGuiApplication_CommitDataRequest(intptr_t, QSessionManager*); +void miqt_exec_callback_QGuiApplication_SaveStateRequest(intptr_t, QSessionManager*); +void miqt_exec_callback_QGuiApplication_PaletteChanged(intptr_t, QPalette*); +void miqt_exec_callback_QGuiApplication_ApplicationDisplayNameChanged(intptr_t); +void miqt_exec_callback_QGuiApplication_FontChanged(intptr_t, QFont*); +bool miqt_exec_callback_QGuiApplication_Notify(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QGuiApplication_Event(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGuiApplication : public virtual QGuiApplication { public: diff --git a/qt/gen_qheaderview.cpp b/qt/gen_qheaderview.cpp index 53e9798e..21a20319 100644 --- a/qt/gen_qheaderview.cpp +++ b/qt/gen_qheaderview.cpp @@ -37,10 +37,87 @@ #include #include "gen_qheaderview.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QHeaderView_SectionMoved(intptr_t, int, int, int); +void miqt_exec_callback_QHeaderView_SectionResized(intptr_t, int, int, int); +void miqt_exec_callback_QHeaderView_SectionPressed(intptr_t, int); +void miqt_exec_callback_QHeaderView_SectionClicked(intptr_t, int); +void miqt_exec_callback_QHeaderView_SectionEntered(intptr_t, int); +void miqt_exec_callback_QHeaderView_SectionDoubleClicked(intptr_t, int); +void miqt_exec_callback_QHeaderView_SectionCountChanged(intptr_t, int, int); +void miqt_exec_callback_QHeaderView_SectionHandleDoubleClicked(intptr_t, int); +void miqt_exec_callback_QHeaderView_GeometriesChanged(intptr_t); +void miqt_exec_callback_QHeaderView_SortIndicatorChanged(intptr_t, int, int); +void miqt_exec_callback_QHeaderView_SetModel(void*, intptr_t, QAbstractItemModel*); +QSize* miqt_exec_callback_QHeaderView_SizeHint(void*, intptr_t); +void miqt_exec_callback_QHeaderView_SetVisible(void*, intptr_t, bool); +void miqt_exec_callback_QHeaderView_DoItemsLayout(void*, intptr_t); +void miqt_exec_callback_QHeaderView_Reset(void*, intptr_t); +void miqt_exec_callback_QHeaderView_CurrentChanged(void*, intptr_t, QModelIndex*, QModelIndex*); +bool miqt_exec_callback_QHeaderView_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QHeaderView_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QHeaderView_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QHeaderView_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QHeaderView_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QHeaderView_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +bool miqt_exec_callback_QHeaderView_ViewportEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QHeaderView_PaintSection(void*, intptr_t, QPainter*, QRect*, int); +QSize* miqt_exec_callback_QHeaderView_SectionSizeFromContents(void*, intptr_t, int); +int miqt_exec_callback_QHeaderView_HorizontalOffset(void*, intptr_t); +int miqt_exec_callback_QHeaderView_VerticalOffset(void*, intptr_t); +void miqt_exec_callback_QHeaderView_UpdateGeometries(void*, intptr_t); +void miqt_exec_callback_QHeaderView_ScrollContentsBy(void*, intptr_t, int, int); +void miqt_exec_callback_QHeaderView_DataChanged(void*, intptr_t, QModelIndex*, QModelIndex*, struct miqt_array /* of int */ ); +void miqt_exec_callback_QHeaderView_RowsInserted(void*, intptr_t, QModelIndex*, int, int); +QRect* miqt_exec_callback_QHeaderView_VisualRect(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QHeaderView_ScrollTo(void*, intptr_t, QModelIndex*, int); +QModelIndex* miqt_exec_callback_QHeaderView_IndexAt(void*, intptr_t, QPoint*); +bool miqt_exec_callback_QHeaderView_IsIndexHidden(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QHeaderView_MoveCursor(void*, intptr_t, int, int); +void miqt_exec_callback_QHeaderView_SetSelection(void*, intptr_t, QRect*, int); +QRegion* miqt_exec_callback_QHeaderView_VisualRegionForSelection(void*, intptr_t, QItemSelection*); +void miqt_exec_callback_QHeaderView_SetSelectionModel(void*, intptr_t, QItemSelectionModel*); +void miqt_exec_callback_QHeaderView_KeyboardSearch(void*, intptr_t, struct miqt_string); +int miqt_exec_callback_QHeaderView_SizeHintForRow(void*, intptr_t, int); +int miqt_exec_callback_QHeaderView_SizeHintForColumn(void*, intptr_t, int); +QVariant* miqt_exec_callback_QHeaderView_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QHeaderView_SetRootIndex(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QHeaderView_SelectAll(void*, intptr_t); +void miqt_exec_callback_QHeaderView_RowsAboutToBeRemoved(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QHeaderView_SelectionChanged(void*, intptr_t, QItemSelection*, QItemSelection*); +void miqt_exec_callback_QHeaderView_UpdateEditorData(void*, intptr_t); +void miqt_exec_callback_QHeaderView_UpdateEditorGeometries(void*, intptr_t); +void miqt_exec_callback_QHeaderView_VerticalScrollbarAction(void*, intptr_t, int); +void miqt_exec_callback_QHeaderView_HorizontalScrollbarAction(void*, intptr_t, int); +void miqt_exec_callback_QHeaderView_VerticalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QHeaderView_HorizontalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QHeaderView_CloseEditor(void*, intptr_t, QWidget*, int); +void miqt_exec_callback_QHeaderView_CommitData(void*, intptr_t, QWidget*); +void miqt_exec_callback_QHeaderView_EditorDestroyed(void*, intptr_t, QObject*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QHeaderView_SelectedIndexes(void*, intptr_t); +bool miqt_exec_callback_QHeaderView_Edit2(void*, intptr_t, QModelIndex*, int, QEvent*); +int miqt_exec_callback_QHeaderView_SelectionCommand(void*, intptr_t, QModelIndex*, QEvent*); +void miqt_exec_callback_QHeaderView_StartDrag(void*, intptr_t, int); +QStyleOptionViewItem* miqt_exec_callback_QHeaderView_ViewOptions(void*, intptr_t); +bool miqt_exec_callback_QHeaderView_FocusNextPrevChild(void*, intptr_t, bool); +void miqt_exec_callback_QHeaderView_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QHeaderView_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QHeaderView_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QHeaderView_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QHeaderView_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QHeaderView_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QHeaderView_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QHeaderView_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QHeaderView_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QHeaderView_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +bool miqt_exec_callback_QHeaderView_EventFilter(void*, intptr_t, QObject*, QEvent*); +QSize* miqt_exec_callback_QHeaderView_ViewportSizeHint(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQHeaderView : public virtual QHeaderView { public: diff --git a/qt/gen_qhistorystate.cpp b/qt/gen_qhistorystate.cpp index 6ff99471..bfcc45eb 100644 --- a/qt/gen_qhistorystate.cpp +++ b/qt/gen_qhistorystate.cpp @@ -11,10 +11,16 @@ #include #include "gen_qhistorystate.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QHistoryState_OnEntry(void*, intptr_t, QEvent*); +void miqt_exec_callback_QHistoryState_OnExit(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QHistoryState_Event(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQHistoryState : public virtual QHistoryState { public: diff --git a/qt/gen_qicon.cpp b/qt/gen_qicon.cpp index 9a033c66..7cddfcc7 100644 --- a/qt/gen_qicon.cpp +++ b/qt/gen_qicon.cpp @@ -13,10 +13,13 @@ #include #include "gen_qicon.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QIcon* QIcon_new() { return new QIcon(); diff --git a/qt/gen_qiconengine.cpp b/qt/gen_qiconengine.cpp index 86c7f675..cff35458 100644 --- a/qt/gen_qiconengine.cpp +++ b/qt/gen_qiconengine.cpp @@ -13,10 +13,25 @@ #include #include "gen_qiconengine.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QIconEngine_Paint(void*, intptr_t, QPainter*, QRect*, int, int); +QSize* miqt_exec_callback_QIconEngine_ActualSize(void*, intptr_t, QSize*, int, int); +QPixmap* miqt_exec_callback_QIconEngine_Pixmap(void*, intptr_t, QSize*, int, int); +void miqt_exec_callback_QIconEngine_AddPixmap(void*, intptr_t, QPixmap*, int, int); +void miqt_exec_callback_QIconEngine_AddFile(void*, intptr_t, struct miqt_string, QSize*, int, int); +struct miqt_string miqt_exec_callback_QIconEngine_Key(void*, intptr_t); +QIconEngine* miqt_exec_callback_QIconEngine_Clone(void*, intptr_t); +bool miqt_exec_callback_QIconEngine_Read(void*, intptr_t, QDataStream*); +bool miqt_exec_callback_QIconEngine_Write(void*, intptr_t, QDataStream*); +struct miqt_array /* of QSize* */ miqt_exec_callback_QIconEngine_AvailableSizes(void*, intptr_t, int, int); +struct miqt_string miqt_exec_callback_QIconEngine_IconName(void*, intptr_t); +void miqt_exec_callback_QIconEngine_VirtualHook(void*, intptr_t, int, void*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQIconEngine : public virtual QIconEngine { public: diff --git a/qt/gen_qiconengineplugin.cpp b/qt/gen_qiconengineplugin.cpp index f67820be..6b0b322c 100644 --- a/qt/gen_qiconengineplugin.cpp +++ b/qt/gen_qiconengineplugin.cpp @@ -12,10 +12,21 @@ #include #include "gen_qiconengineplugin.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QIconEngine* miqt_exec_callback_QIconEnginePlugin_Create(void*, intptr_t, struct miqt_string); +bool miqt_exec_callback_QIconEnginePlugin_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QIconEnginePlugin_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QIconEnginePlugin_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QIconEnginePlugin_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QIconEnginePlugin_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QIconEnginePlugin_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QIconEnginePlugin_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQIconEnginePlugin : public virtual QIconEnginePlugin { public: diff --git a/qt/gen_qidentityproxymodel.cpp b/qt/gen_qidentityproxymodel.cpp index 61a68b51..59e0830a 100644 --- a/qt/gen_qidentityproxymodel.cpp +++ b/qt/gen_qidentityproxymodel.cpp @@ -16,10 +16,51 @@ #include #include "gen_qidentityproxymodel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QIdentityProxyModel_ColumnCount(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QIdentityProxyModel_Index(void*, intptr_t, int, int, QModelIndex*); +QModelIndex* miqt_exec_callback_QIdentityProxyModel_MapFromSource(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QIdentityProxyModel_MapToSource(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QIdentityProxyModel_Parent(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QIdentityProxyModel_RowCount(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QIdentityProxyModel_HeaderData(void*, intptr_t, int, int, int); +bool miqt_exec_callback_QIdentityProxyModel_DropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +QModelIndex* miqt_exec_callback_QIdentityProxyModel_Sibling(void*, intptr_t, int, int, QModelIndex*); +QItemSelection* miqt_exec_callback_QIdentityProxyModel_MapSelectionFromSource(void*, intptr_t, QItemSelection*); +QItemSelection* miqt_exec_callback_QIdentityProxyModel_MapSelectionToSource(void*, intptr_t, QItemSelection*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QIdentityProxyModel_Match(void*, intptr_t, QModelIndex*, int, QVariant*, int, int); +void miqt_exec_callback_QIdentityProxyModel_SetSourceModel(void*, intptr_t, QAbstractItemModel*); +bool miqt_exec_callback_QIdentityProxyModel_InsertColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QIdentityProxyModel_InsertRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QIdentityProxyModel_RemoveColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QIdentityProxyModel_RemoveRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QIdentityProxyModel_MoveRows(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +bool miqt_exec_callback_QIdentityProxyModel_MoveColumns(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +bool miqt_exec_callback_QIdentityProxyModel_Submit(void*, intptr_t); +void miqt_exec_callback_QIdentityProxyModel_Revert(void*, intptr_t); +QVariant* miqt_exec_callback_QIdentityProxyModel_Data(void*, intptr_t, QModelIndex*, int); +struct miqt_map /* of int to QVariant* */ miqt_exec_callback_QIdentityProxyModel_ItemData(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QIdentityProxyModel_Flags(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QIdentityProxyModel_SetData(void*, intptr_t, QModelIndex*, QVariant*, int); +bool miqt_exec_callback_QIdentityProxyModel_SetItemData(void*, intptr_t, QModelIndex*, struct miqt_map /* of int to QVariant* */ ); +bool miqt_exec_callback_QIdentityProxyModel_SetHeaderData(void*, intptr_t, int, int, QVariant*, int); +QModelIndex* miqt_exec_callback_QIdentityProxyModel_Buddy(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QIdentityProxyModel_CanFetchMore(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QIdentityProxyModel_FetchMore(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QIdentityProxyModel_Sort(void*, intptr_t, int, int); +QSize* miqt_exec_callback_QIdentityProxyModel_Span(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QIdentityProxyModel_HasChildren(void*, intptr_t, QModelIndex*); +QMimeData* miqt_exec_callback_QIdentityProxyModel_MimeData(void*, intptr_t, struct miqt_array /* of QModelIndex* */ ); +bool miqt_exec_callback_QIdentityProxyModel_CanDropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QIdentityProxyModel_MimeTypes(void*, intptr_t); +int miqt_exec_callback_QIdentityProxyModel_SupportedDragActions(void*, intptr_t); +int miqt_exec_callback_QIdentityProxyModel_SupportedDropActions(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQIdentityProxyModel : public virtual QIdentityProxyModel { public: diff --git a/qt/gen_qimage.cpp b/qt/gen_qimage.cpp index 763ce739..4f53f1be 100644 --- a/qt/gen_qimage.cpp +++ b/qt/gen_qimage.cpp @@ -21,10 +21,19 @@ #include #include "gen_qimage.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QImage_DevType(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QImage_PaintEngine(void*, intptr_t); +int miqt_exec_callback_QImage_Metric(void*, intptr_t, int); +void miqt_exec_callback_QImage_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QImage_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QImage_SharedPainter(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQImage : public virtual QImage { public: diff --git a/qt/gen_qimageiohandler.cpp b/qt/gen_qimageiohandler.cpp index 2dbb9ce2..e9c4c517 100644 --- a/qt/gen_qimageiohandler.cpp +++ b/qt/gen_qimageiohandler.cpp @@ -17,10 +17,36 @@ #include #include "gen_qimageiohandler.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +struct miqt_string miqt_exec_callback_QImageIOHandler_Name(void*, intptr_t); +bool miqt_exec_callback_QImageIOHandler_CanRead(void*, intptr_t); +bool miqt_exec_callback_QImageIOHandler_Read(void*, intptr_t, QImage*); +bool miqt_exec_callback_QImageIOHandler_Write(void*, intptr_t, QImage*); +QVariant* miqt_exec_callback_QImageIOHandler_Option(void*, intptr_t, int); +void miqt_exec_callback_QImageIOHandler_SetOption(void*, intptr_t, int, QVariant*); +bool miqt_exec_callback_QImageIOHandler_SupportsOption(void*, intptr_t, int); +bool miqt_exec_callback_QImageIOHandler_JumpToNextImage(void*, intptr_t); +bool miqt_exec_callback_QImageIOHandler_JumpToImage(void*, intptr_t, int); +int miqt_exec_callback_QImageIOHandler_LoopCount(void*, intptr_t); +int miqt_exec_callback_QImageIOHandler_ImageCount(void*, intptr_t); +int miqt_exec_callback_QImageIOHandler_NextImageDelay(void*, intptr_t); +int miqt_exec_callback_QImageIOHandler_CurrentImageNumber(void*, intptr_t); +QRect* miqt_exec_callback_QImageIOHandler_CurrentImageRect(void*, intptr_t); +int miqt_exec_callback_QImageIOPlugin_Capabilities(void*, intptr_t, QIODevice*, struct miqt_string); +QImageIOHandler* miqt_exec_callback_QImageIOPlugin_Create(void*, intptr_t, QIODevice*, struct miqt_string); +bool miqt_exec_callback_QImageIOPlugin_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QImageIOPlugin_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QImageIOPlugin_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QImageIOPlugin_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QImageIOPlugin_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QImageIOPlugin_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QImageIOPlugin_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQImageIOHandler : public virtual QImageIOHandler { public: diff --git a/qt/gen_qimagereader.cpp b/qt/gen_qimagereader.cpp index b97c6439..63ab862d 100644 --- a/qt/gen_qimagereader.cpp +++ b/qt/gen_qimagereader.cpp @@ -12,10 +12,13 @@ #include #include "gen_qimagereader.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QImageReader* QImageReader_new() { return new QImageReader(); diff --git a/qt/gen_qimagewriter.cpp b/qt/gen_qimagewriter.cpp index 6197e63e..f2e73b3a 100644 --- a/qt/gen_qimagewriter.cpp +++ b/qt/gen_qimagewriter.cpp @@ -9,10 +9,13 @@ #include #include "gen_qimagewriter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QImageWriter* QImageWriter_new() { return new QImageWriter(); diff --git a/qt/gen_qinputdialog.cpp b/qt/gen_qinputdialog.cpp index abe544e6..826d6357 100644 --- a/qt/gen_qinputdialog.cpp +++ b/qt/gen_qinputdialog.cpp @@ -18,10 +18,33 @@ #include #include "gen_qinputdialog.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QInputDialog_TextValueChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QInputDialog_TextValueSelected(intptr_t, struct miqt_string); +void miqt_exec_callback_QInputDialog_IntValueChanged(intptr_t, int); +void miqt_exec_callback_QInputDialog_IntValueSelected(intptr_t, int); +void miqt_exec_callback_QInputDialog_DoubleValueChanged(intptr_t, double); +void miqt_exec_callback_QInputDialog_DoubleValueSelected(intptr_t, double); +QSize* miqt_exec_callback_QInputDialog_MinimumSizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QInputDialog_SizeHint(void*, intptr_t); +void miqt_exec_callback_QInputDialog_SetVisible(void*, intptr_t, bool); +void miqt_exec_callback_QInputDialog_Done(void*, intptr_t, int); +void miqt_exec_callback_QInputDialog_Open(void*, intptr_t); +int miqt_exec_callback_QInputDialog_Exec(void*, intptr_t); +void miqt_exec_callback_QInputDialog_Accept(void*, intptr_t); +void miqt_exec_callback_QInputDialog_Reject(void*, intptr_t); +void miqt_exec_callback_QInputDialog_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QInputDialog_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QInputDialog_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QInputDialog_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QInputDialog_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QInputDialog_EventFilter(void*, intptr_t, QObject*, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQInputDialog : public virtual QInputDialog { public: diff --git a/qt/gen_qinputmethod.cpp b/qt/gen_qinputmethod.cpp index 92c0fecf..013c444e 100644 --- a/qt/gen_qinputmethod.cpp +++ b/qt/gen_qinputmethod.cpp @@ -11,10 +11,21 @@ #include #include "gen_qinputmethod.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QInputMethod_CursorRectangleChanged(intptr_t); +void miqt_exec_callback_QInputMethod_AnchorRectangleChanged(intptr_t); +void miqt_exec_callback_QInputMethod_KeyboardRectangleChanged(intptr_t); +void miqt_exec_callback_QInputMethod_InputItemClipRectangleChanged(intptr_t); +void miqt_exec_callback_QInputMethod_VisibleChanged(intptr_t); +void miqt_exec_callback_QInputMethod_AnimatingChanged(intptr_t); +void miqt_exec_callback_QInputMethod_LocaleChanged(intptr_t); +void miqt_exec_callback_QInputMethod_InputDirectionChanged(intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QInputMethod_virtbase(QInputMethod* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt/gen_qiodevice.cpp b/qt/gen_qiodevice.cpp index 7099ddd5..51c1a6be 100644 --- a/qt/gen_qiodevice.cpp +++ b/qt/gen_qiodevice.cpp @@ -12,10 +12,42 @@ #include #include "gen_qiodevice.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QIODevice_ReadyRead(intptr_t); +void miqt_exec_callback_QIODevice_ChannelReadyRead(intptr_t, int); +void miqt_exec_callback_QIODevice_BytesWritten(intptr_t, long long); +void miqt_exec_callback_QIODevice_ChannelBytesWritten(intptr_t, int, long long); +void miqt_exec_callback_QIODevice_AboutToClose(intptr_t); +void miqt_exec_callback_QIODevice_ReadChannelFinished(intptr_t); +bool miqt_exec_callback_QIODevice_IsSequential(void*, intptr_t); +bool miqt_exec_callback_QIODevice_Open(void*, intptr_t, int); +void miqt_exec_callback_QIODevice_Close(void*, intptr_t); +long long miqt_exec_callback_QIODevice_Pos(void*, intptr_t); +long long miqt_exec_callback_QIODevice_Size(void*, intptr_t); +bool miqt_exec_callback_QIODevice_Seek(void*, intptr_t, long long); +bool miqt_exec_callback_QIODevice_AtEnd(void*, intptr_t); +bool miqt_exec_callback_QIODevice_Reset(void*, intptr_t); +long long miqt_exec_callback_QIODevice_BytesAvailable(void*, intptr_t); +long long miqt_exec_callback_QIODevice_BytesToWrite(void*, intptr_t); +bool miqt_exec_callback_QIODevice_CanReadLine(void*, intptr_t); +bool miqt_exec_callback_QIODevice_WaitForReadyRead(void*, intptr_t, int); +bool miqt_exec_callback_QIODevice_WaitForBytesWritten(void*, intptr_t, int); +long long miqt_exec_callback_QIODevice_ReadData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QIODevice_ReadLineData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QIODevice_WriteData(void*, intptr_t, const char*, long long); +bool miqt_exec_callback_QIODevice_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QIODevice_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QIODevice_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QIODevice_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QIODevice_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QIODevice_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QIODevice_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQIODevice : public virtual QIODevice { public: diff --git a/qt/gen_qitemdelegate.cpp b/qt/gen_qitemdelegate.cpp index 5301b800..97083eed 100644 --- a/qt/gen_qitemdelegate.cpp +++ b/qt/gen_qitemdelegate.cpp @@ -21,10 +21,28 @@ #include #include "gen_qitemdelegate.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QItemDelegate_Paint(void*, intptr_t, QPainter*, QStyleOptionViewItem*, QModelIndex*); +QSize* miqt_exec_callback_QItemDelegate_SizeHint(void*, intptr_t, QStyleOptionViewItem*, QModelIndex*); +QWidget* miqt_exec_callback_QItemDelegate_CreateEditor(void*, intptr_t, QWidget*, QStyleOptionViewItem*, QModelIndex*); +void miqt_exec_callback_QItemDelegate_SetEditorData(void*, intptr_t, QWidget*, QModelIndex*); +void miqt_exec_callback_QItemDelegate_SetModelData(void*, intptr_t, QWidget*, QAbstractItemModel*, QModelIndex*); +void miqt_exec_callback_QItemDelegate_UpdateEditorGeometry(void*, intptr_t, QWidget*, QStyleOptionViewItem*, QModelIndex*); +void miqt_exec_callback_QItemDelegate_DrawDisplay(void*, intptr_t, QPainter*, QStyleOptionViewItem*, QRect*, struct miqt_string); +void miqt_exec_callback_QItemDelegate_DrawDecoration(void*, intptr_t, QPainter*, QStyleOptionViewItem*, QRect*, QPixmap*); +void miqt_exec_callback_QItemDelegate_DrawFocus(void*, intptr_t, QPainter*, QStyleOptionViewItem*, QRect*); +void miqt_exec_callback_QItemDelegate_DrawCheck(void*, intptr_t, QPainter*, QStyleOptionViewItem*, QRect*, int); +bool miqt_exec_callback_QItemDelegate_EventFilter(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QItemDelegate_EditorEvent(void*, intptr_t, QEvent*, QAbstractItemModel*, QStyleOptionViewItem*, QModelIndex*); +void miqt_exec_callback_QItemDelegate_DestroyEditor(void*, intptr_t, QWidget*, QModelIndex*); +bool miqt_exec_callback_QItemDelegate_HelpEvent(void*, intptr_t, QHelpEvent*, QAbstractItemView*, QStyleOptionViewItem*, QModelIndex*); +struct miqt_array /* of int */ miqt_exec_callback_QItemDelegate_PaintingRoles(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQItemDelegate : public virtual QItemDelegate { public: diff --git a/qt/gen_qitemeditorfactory.cpp b/qt/gen_qitemeditorfactory.cpp index 675fa407..8c83fb0c 100644 --- a/qt/gen_qitemeditorfactory.cpp +++ b/qt/gen_qitemeditorfactory.cpp @@ -5,10 +5,15 @@ #include #include "gen_qitemeditorfactory.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QWidget* miqt_exec_callback_QItemEditorFactory_CreateEditor(void*, intptr_t, int, QWidget*); +struct miqt_string miqt_exec_callback_QItemEditorFactory_ValuePropertyName(void*, intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWidget* QItemEditorCreatorBase_CreateWidget(const QItemEditorCreatorBase* self, QWidget* parent) { return self->createWidget(parent); diff --git a/qt/gen_qitemselectionmodel.cpp b/qt/gen_qitemselectionmodel.cpp index 5b869c05..e781e5cf 100644 --- a/qt/gen_qitemselectionmodel.cpp +++ b/qt/gen_qitemselectionmodel.cpp @@ -17,10 +17,31 @@ #include #include "gen_qitemselectionmodel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QItemSelectionModel_SelectionChanged(intptr_t, QItemSelection*, QItemSelection*); +void miqt_exec_callback_QItemSelectionModel_CurrentChanged(intptr_t, QModelIndex*, QModelIndex*); +void miqt_exec_callback_QItemSelectionModel_CurrentRowChanged(intptr_t, QModelIndex*, QModelIndex*); +void miqt_exec_callback_QItemSelectionModel_CurrentColumnChanged(intptr_t, QModelIndex*, QModelIndex*); +void miqt_exec_callback_QItemSelectionModel_ModelChanged(intptr_t, QAbstractItemModel*); +void miqt_exec_callback_QItemSelectionModel_SetCurrentIndex(void*, intptr_t, QModelIndex*, int); +void miqt_exec_callback_QItemSelectionModel_Select(void*, intptr_t, QModelIndex*, int); +void miqt_exec_callback_QItemSelectionModel_Select2(void*, intptr_t, QItemSelection*, int); +void miqt_exec_callback_QItemSelectionModel_Clear(void*, intptr_t); +void miqt_exec_callback_QItemSelectionModel_Reset(void*, intptr_t); +void miqt_exec_callback_QItemSelectionModel_ClearCurrentIndex(void*, intptr_t); +bool miqt_exec_callback_QItemSelectionModel_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QItemSelectionModel_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QItemSelectionModel_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QItemSelectionModel_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QItemSelectionModel_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QItemSelectionModel_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QItemSelectionModel_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QItemSelectionRange* QItemSelectionRange_new() { return new QItemSelectionRange(); diff --git a/qt/gen_qjsonarray.cpp b/qt/gen_qjsonarray.cpp index 36c96cc3..46db7c0d 100644 --- a/qt/gen_qjsonarray.cpp +++ b/qt/gen_qjsonarray.cpp @@ -12,10 +12,13 @@ #include #include "gen_qjsonarray.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QJsonArray* QJsonArray_new() { return new QJsonArray(); diff --git a/qt/gen_qjsondocument.cpp b/qt/gen_qjsondocument.cpp index 39ea6635..77b00bc1 100644 --- a/qt/gen_qjsondocument.cpp +++ b/qt/gen_qjsondocument.cpp @@ -11,10 +11,13 @@ #include #include "gen_qjsondocument.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" struct miqt_string QJsonParseError_ErrorString(const QJsonParseError* self) { QString _ret = self->errorString(); diff --git a/qt/gen_qjsonobject.cpp b/qt/gen_qjsonobject.cpp index cbffbd7d..e4c02161 100644 --- a/qt/gen_qjsonobject.cpp +++ b/qt/gen_qjsonobject.cpp @@ -14,10 +14,13 @@ #include #include "gen_qjsonobject.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QJsonObject* QJsonObject_new() { return new QJsonObject(); diff --git a/qt/gen_qjsonvalue.cpp b/qt/gen_qjsonvalue.cpp index 59299400..1af51313 100644 --- a/qt/gen_qjsonvalue.cpp +++ b/qt/gen_qjsonvalue.cpp @@ -11,10 +11,13 @@ #include #include "gen_qjsonvalue.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QJsonValue* QJsonValue_new() { return new QJsonValue(); diff --git a/qt/gen_qkeyeventtransition.cpp b/qt/gen_qkeyeventtransition.cpp index d2bd6e9a..cfce3dc9 100644 --- a/qt/gen_qkeyeventtransition.cpp +++ b/qt/gen_qkeyeventtransition.cpp @@ -11,10 +11,16 @@ #include #include "gen_qkeyeventtransition.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QKeyEventTransition_OnTransition(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QKeyEventTransition_EventTest(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QKeyEventTransition_Event(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQKeyEventTransition : public virtual QKeyEventTransition { public: diff --git a/qt/gen_qkeysequence.cpp b/qt/gen_qkeysequence.cpp index 51bea66c..d528924b 100644 --- a/qt/gen_qkeysequence.cpp +++ b/qt/gen_qkeysequence.cpp @@ -7,10 +7,13 @@ #include #include "gen_qkeysequence.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QKeySequence* QKeySequence_new() { return new QKeySequence(); diff --git a/qt/gen_qkeysequenceedit.cpp b/qt/gen_qkeysequenceedit.cpp index 9651c9f0..5fec7db0 100644 --- a/qt/gen_qkeysequenceedit.cpp +++ b/qt/gen_qkeysequenceedit.cpp @@ -36,10 +36,57 @@ #include #include "gen_qkeysequenceedit.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QKeySequenceEdit_EditingFinished(intptr_t); +void miqt_exec_callback_QKeySequenceEdit_KeySequenceChanged(intptr_t, QKeySequence*); +bool miqt_exec_callback_QKeySequenceEdit_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QKeySequenceEdit_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QKeySequenceEdit_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QKeySequenceEdit_TimerEvent(void*, intptr_t, QTimerEvent*); +int miqt_exec_callback_QKeySequenceEdit_DevType(void*, intptr_t); +void miqt_exec_callback_QKeySequenceEdit_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QKeySequenceEdit_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QKeySequenceEdit_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QKeySequenceEdit_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QKeySequenceEdit_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QKeySequenceEdit_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QKeySequenceEdit_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QKeySequenceEdit_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QKeySequenceEdit_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QKeySequenceEdit_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QKeySequenceEdit_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QKeySequenceEdit_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QKeySequenceEdit_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QKeySequenceEdit_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QKeySequenceEdit_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QKeySequenceEdit_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QKeySequenceEdit_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QKeySequenceEdit_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QKeySequenceEdit_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QKeySequenceEdit_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QKeySequenceEdit_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QKeySequenceEdit_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QKeySequenceEdit_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QKeySequenceEdit_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QKeySequenceEdit_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QKeySequenceEdit_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QKeySequenceEdit_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QKeySequenceEdit_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QKeySequenceEdit_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +void miqt_exec_callback_QKeySequenceEdit_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QKeySequenceEdit_Metric(void*, intptr_t, int); +void miqt_exec_callback_QKeySequenceEdit_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QKeySequenceEdit_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QKeySequenceEdit_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QKeySequenceEdit_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QKeySequenceEdit_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QKeySequenceEdit_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQKeySequenceEdit : public virtual QKeySequenceEdit { public: diff --git a/qt/gen_qlabel.cpp b/qt/gen_qlabel.cpp index 28f49dfd..9c20ed38 100644 --- a/qt/gen_qlabel.cpp +++ b/qt/gen_qlabel.cpp @@ -20,10 +20,29 @@ #include #include "gen_qlabel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QLabel_LinkActivated(intptr_t, struct miqt_string); +void miqt_exec_callback_QLabel_LinkHovered(intptr_t, struct miqt_string); +QSize* miqt_exec_callback_QLabel_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QLabel_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QLabel_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QLabel_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QLabel_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QLabel_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QLabel_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QLabel_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QLabel_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QLabel_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QLabel_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QLabel_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QLabel_FocusOutEvent(void*, intptr_t, QFocusEvent*); +bool miqt_exec_callback_QLabel_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQLabel : public virtual QLabel { public: diff --git a/qt/gen_qlayout.cpp b/qt/gen_qlayout.cpp index 04048feb..a8c90336 100644 --- a/qt/gen_qlayout.cpp +++ b/qt/gen_qlayout.cpp @@ -17,10 +17,40 @@ #include #include "gen_qlayout.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QLayout_Invalidate(void*, intptr_t); +QRect* miqt_exec_callback_QLayout_Geometry(void*, intptr_t); +void miqt_exec_callback_QLayout_AddItem(void*, intptr_t, QLayoutItem*); +int miqt_exec_callback_QLayout_ExpandingDirections(void*, intptr_t); +QSize* miqt_exec_callback_QLayout_MinimumSize(void*, intptr_t); +QSize* miqt_exec_callback_QLayout_MaximumSize(void*, intptr_t); +void miqt_exec_callback_QLayout_SetGeometry(void*, intptr_t, QRect*); +QLayoutItem* miqt_exec_callback_QLayout_ItemAt(void*, intptr_t, int); +QLayoutItem* miqt_exec_callback_QLayout_TakeAt(void*, intptr_t, int); +int miqt_exec_callback_QLayout_IndexOf(void*, intptr_t, QWidget*); +int miqt_exec_callback_QLayout_Count(void*, intptr_t); +bool miqt_exec_callback_QLayout_IsEmpty(void*, intptr_t); +int miqt_exec_callback_QLayout_ControlTypes(void*, intptr_t); +QLayout* miqt_exec_callback_QLayout_Layout(void*, intptr_t); +void miqt_exec_callback_QLayout_ChildEvent(void*, intptr_t, QChildEvent*); +bool miqt_exec_callback_QLayout_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QLayout_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QLayout_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QLayout_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QLayout_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QLayout_DisconnectNotify(void*, intptr_t, QMetaMethod*); +QSize* miqt_exec_callback_QLayout_SizeHint(void*, intptr_t); +bool miqt_exec_callback_QLayout_HasHeightForWidth(void*, intptr_t); +int miqt_exec_callback_QLayout_HeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QLayout_MinimumHeightForWidth(void*, intptr_t, int); +QWidget* miqt_exec_callback_QLayout_Widget(void*, intptr_t); +QSpacerItem* miqt_exec_callback_QLayout_SpacerItem(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQLayout : public virtual QLayout { public: diff --git a/qt/gen_qlayoutitem.cpp b/qt/gen_qlayoutitem.cpp index 19b886e3..c98a1190 100644 --- a/qt/gen_qlayoutitem.cpp +++ b/qt/gen_qlayoutitem.cpp @@ -10,10 +10,69 @@ #include #include "gen_qlayoutitem.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QLayoutItem_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QLayoutItem_MinimumSize(void*, intptr_t); +QSize* miqt_exec_callback_QLayoutItem_MaximumSize(void*, intptr_t); +int miqt_exec_callback_QLayoutItem_ExpandingDirections(void*, intptr_t); +void miqt_exec_callback_QLayoutItem_SetGeometry(void*, intptr_t, QRect*); +QRect* miqt_exec_callback_QLayoutItem_Geometry(void*, intptr_t); +bool miqt_exec_callback_QLayoutItem_IsEmpty(void*, intptr_t); +bool miqt_exec_callback_QLayoutItem_HasHeightForWidth(void*, intptr_t); +int miqt_exec_callback_QLayoutItem_HeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QLayoutItem_MinimumHeightForWidth(void*, intptr_t, int); +void miqt_exec_callback_QLayoutItem_Invalidate(void*, intptr_t); +QWidget* miqt_exec_callback_QLayoutItem_Widget(void*, intptr_t); +QLayout* miqt_exec_callback_QLayoutItem_Layout(void*, intptr_t); +QSpacerItem* miqt_exec_callback_QLayoutItem_SpacerItem(void*, intptr_t); +int miqt_exec_callback_QLayoutItem_ControlTypes(void*, intptr_t); +QSize* miqt_exec_callback_QSpacerItem_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QSpacerItem_MinimumSize(void*, intptr_t); +QSize* miqt_exec_callback_QSpacerItem_MaximumSize(void*, intptr_t); +int miqt_exec_callback_QSpacerItem_ExpandingDirections(void*, intptr_t); +bool miqt_exec_callback_QSpacerItem_IsEmpty(void*, intptr_t); +void miqt_exec_callback_QSpacerItem_SetGeometry(void*, intptr_t, QRect*); +QRect* miqt_exec_callback_QSpacerItem_Geometry(void*, intptr_t); +QSpacerItem* miqt_exec_callback_QSpacerItem_SpacerItem(void*, intptr_t); +bool miqt_exec_callback_QSpacerItem_HasHeightForWidth(void*, intptr_t); +int miqt_exec_callback_QSpacerItem_HeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QSpacerItem_MinimumHeightForWidth(void*, intptr_t, int); +void miqt_exec_callback_QSpacerItem_Invalidate(void*, intptr_t); +QWidget* miqt_exec_callback_QSpacerItem_Widget(void*, intptr_t); +QLayout* miqt_exec_callback_QSpacerItem_Layout(void*, intptr_t); +int miqt_exec_callback_QSpacerItem_ControlTypes(void*, intptr_t); +QSize* miqt_exec_callback_QWidgetItem_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QWidgetItem_MinimumSize(void*, intptr_t); +QSize* miqt_exec_callback_QWidgetItem_MaximumSize(void*, intptr_t); +int miqt_exec_callback_QWidgetItem_ExpandingDirections(void*, intptr_t); +bool miqt_exec_callback_QWidgetItem_IsEmpty(void*, intptr_t); +void miqt_exec_callback_QWidgetItem_SetGeometry(void*, intptr_t, QRect*); +QRect* miqt_exec_callback_QWidgetItem_Geometry(void*, intptr_t); +QWidget* miqt_exec_callback_QWidgetItem_Widget(void*, intptr_t); +bool miqt_exec_callback_QWidgetItem_HasHeightForWidth(void*, intptr_t); +int miqt_exec_callback_QWidgetItem_HeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QWidgetItem_ControlTypes(void*, intptr_t); +int miqt_exec_callback_QWidgetItem_MinimumHeightForWidth(void*, intptr_t, int); +void miqt_exec_callback_QWidgetItem_Invalidate(void*, intptr_t); +QLayout* miqt_exec_callback_QWidgetItem_Layout(void*, intptr_t); +QSpacerItem* miqt_exec_callback_QWidgetItem_SpacerItem(void*, intptr_t); +QSize* miqt_exec_callback_QWidgetItemV2_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QWidgetItemV2_MinimumSize(void*, intptr_t); +QSize* miqt_exec_callback_QWidgetItemV2_MaximumSize(void*, intptr_t); +int miqt_exec_callback_QWidgetItemV2_HeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QWidgetItemV2_ExpandingDirections(void*, intptr_t); +bool miqt_exec_callback_QWidgetItemV2_IsEmpty(void*, intptr_t); +void miqt_exec_callback_QWidgetItemV2_SetGeometry(void*, intptr_t, QRect*); +QRect* miqt_exec_callback_QWidgetItemV2_Geometry(void*, intptr_t); +QWidget* miqt_exec_callback_QWidgetItemV2_Widget(void*, intptr_t); +bool miqt_exec_callback_QWidgetItemV2_HasHeightForWidth(void*, intptr_t); +int miqt_exec_callback_QWidgetItemV2_ControlTypes(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQLayoutItem : public virtual QLayoutItem { public: diff --git a/qt/gen_qlcdnumber.cpp b/qt/gen_qlcdnumber.cpp index 18184c10..1aecbf0f 100644 --- a/qt/gen_qlcdnumber.cpp +++ b/qt/gen_qlcdnumber.cpp @@ -13,10 +13,18 @@ #include #include "gen_qlcdnumber.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QLCDNumber_Overflow(intptr_t); +QSize* miqt_exec_callback_QLCDNumber_SizeHint(void*, intptr_t); +bool miqt_exec_callback_QLCDNumber_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QLCDNumber_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QLCDNumber_ChangeEvent(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQLCDNumber : public virtual QLCDNumber { public: diff --git a/qt/gen_qlibrary.cpp b/qt/gen_qlibrary.cpp index 14240960..7a33870d 100644 --- a/qt/gen_qlibrary.cpp +++ b/qt/gen_qlibrary.cpp @@ -11,10 +11,20 @@ #include #include "gen_qlibrary.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QLibrary_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QLibrary_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QLibrary_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QLibrary_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QLibrary_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QLibrary_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QLibrary_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQLibrary : public virtual QLibrary { public: diff --git a/qt/gen_qlibraryinfo.cpp b/qt/gen_qlibraryinfo.cpp index 599356e2..f44813b6 100644 --- a/qt/gen_qlibraryinfo.cpp +++ b/qt/gen_qlibraryinfo.cpp @@ -8,10 +8,13 @@ #include #include "gen_qlibraryinfo.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" struct miqt_string QLibraryInfo_Licensee() { QString _ret = QLibraryInfo::licensee(); diff --git a/qt/gen_qline.cpp b/qt/gen_qline.cpp index 1b2f02bd..f2cf6390 100644 --- a/qt/gen_qline.cpp +++ b/qt/gen_qline.cpp @@ -5,10 +5,13 @@ #include #include "gen_qline.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QLine* QLine_new() { return new QLine(); diff --git a/qt/gen_qlineedit.cpp b/qt/gen_qlineedit.cpp index 56cd3744..bf04e299 100644 --- a/qt/gen_qlineedit.cpp +++ b/qt/gen_qlineedit.cpp @@ -40,10 +40,61 @@ #include #include "gen_qlineedit.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QLineEdit_TextChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QLineEdit_TextEdited(intptr_t, struct miqt_string); +void miqt_exec_callback_QLineEdit_CursorPositionChanged(intptr_t, int, int); +void miqt_exec_callback_QLineEdit_ReturnPressed(intptr_t); +void miqt_exec_callback_QLineEdit_EditingFinished(intptr_t); +void miqt_exec_callback_QLineEdit_SelectionChanged(intptr_t); +void miqt_exec_callback_QLineEdit_InputRejected(intptr_t); +QSize* miqt_exec_callback_QLineEdit_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QLineEdit_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QLineEdit_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QLineEdit_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QLineEdit_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QLineEdit_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QLineEdit_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QLineEdit_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QLineEdit_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QLineEdit_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QLineEdit_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QLineEdit_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QLineEdit_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QLineEdit_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QLineEdit_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QLineEdit_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QLineEdit_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QLineEdit_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QLineEdit_Event(void*, intptr_t, QEvent*); +int miqt_exec_callback_QLineEdit_DevType(void*, intptr_t); +void miqt_exec_callback_QLineEdit_SetVisible(void*, intptr_t, bool); +int miqt_exec_callback_QLineEdit_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QLineEdit_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QLineEdit_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QLineEdit_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QLineEdit_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QLineEdit_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QLineEdit_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QLineEdit_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QLineEdit_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QLineEdit_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QLineEdit_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QLineEdit_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QLineEdit_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QLineEdit_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QLineEdit_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +int miqt_exec_callback_QLineEdit_Metric(void*, intptr_t, int); +void miqt_exec_callback_QLineEdit_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QLineEdit_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QLineEdit_SharedPainter(void*, intptr_t); +bool miqt_exec_callback_QLineEdit_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQLineEdit : public virtual QLineEdit { public: diff --git a/qt/gen_qlinkedlist.cpp b/qt/gen_qlinkedlist.cpp index 0af6ad90..87b7f123 100644 --- a/qt/gen_qlinkedlist.cpp +++ b/qt/gen_qlinkedlist.cpp @@ -2,10 +2,13 @@ #include #include "gen_qlinkedlist.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QLinkedListData* QLinkedListData_new() { return new QLinkedListData(); diff --git a/qt/gen_qlistview.cpp b/qt/gen_qlistview.cpp index 046f692d..3cb897fb 100644 --- a/qt/gen_qlistview.cpp +++ b/qt/gen_qlistview.cpp @@ -36,10 +36,75 @@ #include #include "gen_qlistview.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QListView_IndexesMoved(intptr_t, struct miqt_array /* of QModelIndex* */ ); +QRect* miqt_exec_callback_QListView_VisualRect(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QListView_ScrollTo(void*, intptr_t, QModelIndex*, int); +QModelIndex* miqt_exec_callback_QListView_IndexAt(void*, intptr_t, QPoint*); +void miqt_exec_callback_QListView_DoItemsLayout(void*, intptr_t); +void miqt_exec_callback_QListView_Reset(void*, intptr_t); +void miqt_exec_callback_QListView_SetRootIndex(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QListView_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QListView_ScrollContentsBy(void*, intptr_t, int, int); +void miqt_exec_callback_QListView_DataChanged(void*, intptr_t, QModelIndex*, QModelIndex*, struct miqt_array /* of int */ ); +void miqt_exec_callback_QListView_RowsInserted(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QListView_RowsAboutToBeRemoved(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QListView_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QListView_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QListView_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QListView_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QListView_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QListView_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QListView_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QListView_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QListView_StartDrag(void*, intptr_t, int); +QStyleOptionViewItem* miqt_exec_callback_QListView_ViewOptions(void*, intptr_t); +void miqt_exec_callback_QListView_PaintEvent(void*, intptr_t, QPaintEvent*); +int miqt_exec_callback_QListView_HorizontalOffset(void*, intptr_t); +int miqt_exec_callback_QListView_VerticalOffset(void*, intptr_t); +QModelIndex* miqt_exec_callback_QListView_MoveCursor(void*, intptr_t, int, int); +void miqt_exec_callback_QListView_SetSelection(void*, intptr_t, QRect*, int); +QRegion* miqt_exec_callback_QListView_VisualRegionForSelection(void*, intptr_t, QItemSelection*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QListView_SelectedIndexes(void*, intptr_t); +void miqt_exec_callback_QListView_UpdateGeometries(void*, intptr_t); +bool miqt_exec_callback_QListView_IsIndexHidden(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QListView_SelectionChanged(void*, intptr_t, QItemSelection*, QItemSelection*); +void miqt_exec_callback_QListView_CurrentChanged(void*, intptr_t, QModelIndex*, QModelIndex*); +QSize* miqt_exec_callback_QListView_ViewportSizeHint(void*, intptr_t); +void miqt_exec_callback_QListView_SetModel(void*, intptr_t, QAbstractItemModel*); +void miqt_exec_callback_QListView_SetSelectionModel(void*, intptr_t, QItemSelectionModel*); +void miqt_exec_callback_QListView_KeyboardSearch(void*, intptr_t, struct miqt_string); +int miqt_exec_callback_QListView_SizeHintForRow(void*, intptr_t, int); +int miqt_exec_callback_QListView_SizeHintForColumn(void*, intptr_t, int); +QVariant* miqt_exec_callback_QListView_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QListView_SelectAll(void*, intptr_t); +void miqt_exec_callback_QListView_UpdateEditorData(void*, intptr_t); +void miqt_exec_callback_QListView_UpdateEditorGeometries(void*, intptr_t); +void miqt_exec_callback_QListView_VerticalScrollbarAction(void*, intptr_t, int); +void miqt_exec_callback_QListView_HorizontalScrollbarAction(void*, intptr_t, int); +void miqt_exec_callback_QListView_VerticalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QListView_HorizontalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QListView_CloseEditor(void*, intptr_t, QWidget*, int); +void miqt_exec_callback_QListView_CommitData(void*, intptr_t, QWidget*); +void miqt_exec_callback_QListView_EditorDestroyed(void*, intptr_t, QObject*); +bool miqt_exec_callback_QListView_Edit2(void*, intptr_t, QModelIndex*, int, QEvent*); +int miqt_exec_callback_QListView_SelectionCommand(void*, intptr_t, QModelIndex*, QEvent*); +bool miqt_exec_callback_QListView_FocusNextPrevChild(void*, intptr_t, bool); +bool miqt_exec_callback_QListView_ViewportEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QListView_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QListView_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QListView_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QListView_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QListView_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QListView_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QListView_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +bool miqt_exec_callback_QListView_EventFilter(void*, intptr_t, QObject*, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQListView : public virtual QListView { public: diff --git a/qt/gen_qlistwidget.cpp b/qt/gen_qlistwidget.cpp index 088bf959..1d988431 100644 --- a/qt/gen_qlistwidget.cpp +++ b/qt/gen_qlistwidget.cpp @@ -39,10 +39,68 @@ #include #include "gen_qlistwidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QListWidgetItem* miqt_exec_callback_QListWidgetItem_Clone(void*, intptr_t); +void miqt_exec_callback_QListWidgetItem_SetBackgroundColor(void*, intptr_t, QColor*); +QVariant* miqt_exec_callback_QListWidgetItem_Data(void*, intptr_t, int); +void miqt_exec_callback_QListWidgetItem_SetData(void*, intptr_t, int, QVariant*); +bool miqt_exec_callback_QListWidgetItem_OperatorLesser(void*, intptr_t, QListWidgetItem*); +void miqt_exec_callback_QListWidgetItem_Read(void*, intptr_t, QDataStream*); +void miqt_exec_callback_QListWidgetItem_Write(void*, intptr_t, QDataStream*); +void miqt_exec_callback_QListWidget_ItemPressed(intptr_t, QListWidgetItem*); +void miqt_exec_callback_QListWidget_ItemClicked(intptr_t, QListWidgetItem*); +void miqt_exec_callback_QListWidget_ItemDoubleClicked(intptr_t, QListWidgetItem*); +void miqt_exec_callback_QListWidget_ItemActivated(intptr_t, QListWidgetItem*); +void miqt_exec_callback_QListWidget_ItemEntered(intptr_t, QListWidgetItem*); +void miqt_exec_callback_QListWidget_ItemChanged(intptr_t, QListWidgetItem*); +void miqt_exec_callback_QListWidget_CurrentItemChanged(intptr_t, QListWidgetItem*, QListWidgetItem*); +void miqt_exec_callback_QListWidget_CurrentTextChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QListWidget_CurrentRowChanged(intptr_t, int); +void miqt_exec_callback_QListWidget_ItemSelectionChanged(intptr_t); +void miqt_exec_callback_QListWidget_SetSelectionModel(void*, intptr_t, QItemSelectionModel*); +void miqt_exec_callback_QListWidget_DropEvent(void*, intptr_t, QDropEvent*); +bool miqt_exec_callback_QListWidget_Event(void*, intptr_t, QEvent*); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QListWidget_MimeTypes(void*, intptr_t); +QMimeData* miqt_exec_callback_QListWidget_MimeData(void*, intptr_t, struct miqt_array /* of QListWidgetItem* */ ); +bool miqt_exec_callback_QListWidget_DropMimeData(void*, intptr_t, int, QMimeData*, int); +int miqt_exec_callback_QListWidget_SupportedDropActions(void*, intptr_t); +QRect* miqt_exec_callback_QListWidget_VisualRect(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QListWidget_ScrollTo(void*, intptr_t, QModelIndex*, int); +QModelIndex* miqt_exec_callback_QListWidget_IndexAt(void*, intptr_t, QPoint*); +void miqt_exec_callback_QListWidget_DoItemsLayout(void*, intptr_t); +void miqt_exec_callback_QListWidget_Reset(void*, intptr_t); +void miqt_exec_callback_QListWidget_SetRootIndex(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QListWidget_ScrollContentsBy(void*, intptr_t, int, int); +void miqt_exec_callback_QListWidget_DataChanged(void*, intptr_t, QModelIndex*, QModelIndex*, struct miqt_array /* of int */ ); +void miqt_exec_callback_QListWidget_RowsInserted(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QListWidget_RowsAboutToBeRemoved(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QListWidget_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QListWidget_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QListWidget_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QListWidget_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QListWidget_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QListWidget_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QListWidget_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QListWidget_StartDrag(void*, intptr_t, int); +QStyleOptionViewItem* miqt_exec_callback_QListWidget_ViewOptions(void*, intptr_t); +void miqt_exec_callback_QListWidget_PaintEvent(void*, intptr_t, QPaintEvent*); +int miqt_exec_callback_QListWidget_HorizontalOffset(void*, intptr_t); +int miqt_exec_callback_QListWidget_VerticalOffset(void*, intptr_t); +QModelIndex* miqt_exec_callback_QListWidget_MoveCursor(void*, intptr_t, int, int); +void miqt_exec_callback_QListWidget_SetSelection(void*, intptr_t, QRect*, int); +QRegion* miqt_exec_callback_QListWidget_VisualRegionForSelection(void*, intptr_t, QItemSelection*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QListWidget_SelectedIndexes(void*, intptr_t); +void miqt_exec_callback_QListWidget_UpdateGeometries(void*, intptr_t); +bool miqt_exec_callback_QListWidget_IsIndexHidden(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QListWidget_SelectionChanged(void*, intptr_t, QItemSelection*, QItemSelection*); +void miqt_exec_callback_QListWidget_CurrentChanged(void*, intptr_t, QModelIndex*, QModelIndex*); +QSize* miqt_exec_callback_QListWidget_ViewportSizeHint(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQListWidgetItem : public virtual QListWidgetItem { public: diff --git a/qt/gen_qlocale.cpp b/qt/gen_qlocale.cpp index 63f96267..d45b6f3e 100644 --- a/qt/gen_qlocale.cpp +++ b/qt/gen_qlocale.cpp @@ -11,10 +11,13 @@ #include #include "gen_qlocale.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QLocale* QLocale_new() { return new QLocale(); diff --git a/qt/gen_qlockfile.cpp b/qt/gen_qlockfile.cpp index 714906da..173d133e 100644 --- a/qt/gen_qlockfile.cpp +++ b/qt/gen_qlockfile.cpp @@ -5,10 +5,13 @@ #include #include "gen_qlockfile.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QLockFile* QLockFile_new(struct miqt_string fileName) { QString fileName_QString = QString::fromUtf8(fileName.data, fileName.len); diff --git a/qt/gen_qloggingcategory.cpp b/qt/gen_qloggingcategory.cpp index 2c919a2d..86219aa2 100644 --- a/qt/gen_qloggingcategory.cpp +++ b/qt/gen_qloggingcategory.cpp @@ -5,10 +5,13 @@ #include #include "gen_qloggingcategory.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QLoggingCategory* QLoggingCategory_new(const char* category) { return new QLoggingCategory(category); diff --git a/qt/gen_qmainwindow.cpp b/qt/gen_qmainwindow.cpp index b50cd079..95f854ef 100644 --- a/qt/gen_qmainwindow.cpp +++ b/qt/gen_qmainwindow.cpp @@ -40,10 +40,58 @@ #include #include "gen_qmainwindow.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMainWindow_IconSizeChanged(intptr_t, QSize*); +void miqt_exec_callback_QMainWindow_ToolButtonStyleChanged(intptr_t, int); +void miqt_exec_callback_QMainWindow_TabifiedDockWidgetActivated(intptr_t, QDockWidget*); +QMenu* miqt_exec_callback_QMainWindow_CreatePopupMenu(void*, intptr_t); +void miqt_exec_callback_QMainWindow_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QMainWindow_Event(void*, intptr_t, QEvent*); +int miqt_exec_callback_QMainWindow_DevType(void*, intptr_t); +void miqt_exec_callback_QMainWindow_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QMainWindow_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QMainWindow_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QMainWindow_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QMainWindow_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QMainWindow_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QMainWindow_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMainWindow_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMainWindow_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMainWindow_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMainWindow_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QMainWindow_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QMainWindow_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QMainWindow_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QMainWindow_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QMainWindow_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMainWindow_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMainWindow_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QMainWindow_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QMainWindow_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QMainWindow_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QMainWindow_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QMainWindow_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QMainWindow_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QMainWindow_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QMainWindow_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QMainWindow_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QMainWindow_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QMainWindow_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QMainWindow_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +void miqt_exec_callback_QMainWindow_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QMainWindow_Metric(void*, intptr_t, int); +void miqt_exec_callback_QMainWindow_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QMainWindow_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QMainWindow_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QMainWindow_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QMainWindow_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QMainWindow_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQMainWindow : public virtual QMainWindow { public: diff --git a/qt/gen_qmargins.cpp b/qt/gen_qmargins.cpp index 9ebb938e..f96f440f 100644 --- a/qt/gen_qmargins.cpp +++ b/qt/gen_qmargins.cpp @@ -3,10 +3,13 @@ #include #include "gen_qmargins.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMargins* QMargins_new() { return new QMargins(); diff --git a/qt/gen_qmatrix.cpp b/qt/gen_qmatrix.cpp index 0ad4b27f..5d37f9c4 100644 --- a/qt/gen_qmatrix.cpp +++ b/qt/gen_qmatrix.cpp @@ -11,10 +11,13 @@ #include #include "gen_qmatrix.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMatrix* QMatrix_new(int param1) { return new QMatrix(static_cast(param1)); diff --git a/qt/gen_qmatrix4x4.cpp b/qt/gen_qmatrix4x4.cpp index bc6086c3..bb69ac98 100644 --- a/qt/gen_qmatrix4x4.cpp +++ b/qt/gen_qmatrix4x4.cpp @@ -12,10 +12,13 @@ #include #include "gen_qmatrix4x4.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMatrix4x4* QMatrix4x4_new() { return new QMatrix4x4(); diff --git a/qt/gen_qmdiarea.cpp b/qt/gen_qmdiarea.cpp index 6cb235c2..4e1ecda8 100644 --- a/qt/gen_qmdiarea.cpp +++ b/qt/gen_qmdiarea.cpp @@ -29,10 +29,38 @@ #include #include "gen_qmdiarea.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMdiArea_SubWindowActivated(intptr_t, QMdiSubWindow*); +QSize* miqt_exec_callback_QMdiArea_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QMdiArea_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QMdiArea_SetupViewport(void*, intptr_t, QWidget*); +bool miqt_exec_callback_QMdiArea_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QMdiArea_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QMdiArea_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QMdiArea_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QMdiArea_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QMdiArea_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QMdiArea_ShowEvent(void*, intptr_t, QShowEvent*); +bool miqt_exec_callback_QMdiArea_ViewportEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMdiArea_ScrollContentsBy(void*, intptr_t, int, int); +void miqt_exec_callback_QMdiArea_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMdiArea_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMdiArea_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMdiArea_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMdiArea_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QMdiArea_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QMdiArea_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QMdiArea_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QMdiArea_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QMdiArea_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QMdiArea_KeyPressEvent(void*, intptr_t, QKeyEvent*); +QSize* miqt_exec_callback_QMdiArea_ViewportSizeHint(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQMdiArea : public virtual QMdiArea { public: diff --git a/qt/gen_qmdisubwindow.cpp b/qt/gen_qmdisubwindow.cpp index 56f87e02..b3c7fd9c 100644 --- a/qt/gen_qmdisubwindow.cpp +++ b/qt/gen_qmdisubwindow.cpp @@ -38,10 +38,59 @@ #include #include "gen_qmdisubwindow.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMdiSubWindow_WindowStateChanged(intptr_t, int, int); +void miqt_exec_callback_QMdiSubWindow_AboutToActivate(intptr_t); +QSize* miqt_exec_callback_QMdiSubWindow_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QMdiSubWindow_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QMdiSubWindow_EventFilter(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QMdiSubWindow_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMdiSubWindow_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QMdiSubWindow_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QMdiSubWindow_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMdiSubWindow_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QMdiSubWindow_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMdiSubWindow_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QMdiSubWindow_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QMdiSubWindow_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QMdiSubWindow_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QMdiSubWindow_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMdiSubWindow_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMdiSubWindow_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMdiSubWindow_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMdiSubWindow_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QMdiSubWindow_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QMdiSubWindow_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QMdiSubWindow_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QMdiSubWindow_ChildEvent(void*, intptr_t, QChildEvent*); +int miqt_exec_callback_QMdiSubWindow_DevType(void*, intptr_t); +void miqt_exec_callback_QMdiSubWindow_SetVisible(void*, intptr_t, bool); +int miqt_exec_callback_QMdiSubWindow_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QMdiSubWindow_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QMdiSubWindow_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QMdiSubWindow_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QMdiSubWindow_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QMdiSubWindow_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMdiSubWindow_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QMdiSubWindow_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QMdiSubWindow_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QMdiSubWindow_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QMdiSubWindow_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QMdiSubWindow_DropEvent(void*, intptr_t, QDropEvent*); +bool miqt_exec_callback_QMdiSubWindow_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +int miqt_exec_callback_QMdiSubWindow_Metric(void*, intptr_t, int); +void miqt_exec_callback_QMdiSubWindow_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QMdiSubWindow_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QMdiSubWindow_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QMdiSubWindow_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QMdiSubWindow_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QMdiSubWindow_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQMdiSubWindow : public virtual QMdiSubWindow { public: diff --git a/qt/gen_qmenu.cpp b/qt/gen_qmenu.cpp index 4e40ed3c..ecb0b337 100644 --- a/qt/gen_qmenu.cpp +++ b/qt/gen_qmenu.cpp @@ -39,10 +39,59 @@ #include #include "gen_qmenu.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMenu_AboutToShow(intptr_t); +void miqt_exec_callback_QMenu_AboutToHide(intptr_t); +void miqt_exec_callback_QMenu_Triggered(intptr_t, QAction*); +void miqt_exec_callback_QMenu_Hovered(intptr_t, QAction*); +QSize* miqt_exec_callback_QMenu_SizeHint(void*, intptr_t); +void miqt_exec_callback_QMenu_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMenu_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QMenu_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMenu_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMenu_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMenu_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QMenu_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMenu_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMenu_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QMenu_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QMenu_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QMenu_TimerEvent(void*, intptr_t, QTimerEvent*); +bool miqt_exec_callback_QMenu_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QMenu_FocusNextPrevChild(void*, intptr_t, bool); +int miqt_exec_callback_QMenu_DevType(void*, intptr_t); +void miqt_exec_callback_QMenu_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QMenu_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QMenu_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QMenu_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QMenu_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QMenu_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMenu_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QMenu_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QMenu_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QMenu_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QMenu_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QMenu_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QMenu_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QMenu_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QMenu_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QMenu_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QMenu_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QMenu_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QMenu_ShowEvent(void*, intptr_t, QShowEvent*); +bool miqt_exec_callback_QMenu_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +int miqt_exec_callback_QMenu_Metric(void*, intptr_t, int); +void miqt_exec_callback_QMenu_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QMenu_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QMenu_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QMenu_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QMenu_InputMethodQuery(void*, intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQMenu : public virtual QMenu { public: diff --git a/qt/gen_qmenubar.cpp b/qt/gen_qmenubar.cpp index 841e85b6..365e2fdc 100644 --- a/qt/gen_qmenubar.cpp +++ b/qt/gen_qmenubar.cpp @@ -39,10 +39,58 @@ #include #include "gen_qmenubar.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMenuBar_Triggered(intptr_t, QAction*); +void miqt_exec_callback_QMenuBar_Hovered(intptr_t, QAction*); +QSize* miqt_exec_callback_QMenuBar_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QMenuBar_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QMenuBar_HeightForWidth(void*, intptr_t, int); +void miqt_exec_callback_QMenuBar_SetVisible(void*, intptr_t, bool); +void miqt_exec_callback_QMenuBar_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMenuBar_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QMenuBar_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMenuBar_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMenuBar_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMenuBar_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMenuBar_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QMenuBar_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QMenuBar_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QMenuBar_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QMenuBar_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QMenuBar_TimerEvent(void*, intptr_t, QTimerEvent*); +bool miqt_exec_callback_QMenuBar_EventFilter(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QMenuBar_Event(void*, intptr_t, QEvent*); +int miqt_exec_callback_QMenuBar_DevType(void*, intptr_t); +bool miqt_exec_callback_QMenuBar_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QMenuBar_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QMenuBar_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMenuBar_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QMenuBar_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QMenuBar_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMenuBar_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QMenuBar_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QMenuBar_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QMenuBar_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QMenuBar_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QMenuBar_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QMenuBar_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QMenuBar_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QMenuBar_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QMenuBar_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QMenuBar_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +int miqt_exec_callback_QMenuBar_Metric(void*, intptr_t, int); +void miqt_exec_callback_QMenuBar_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QMenuBar_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QMenuBar_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QMenuBar_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QMenuBar_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QMenuBar_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQMenuBar : public virtual QMenuBar { public: diff --git a/qt/gen_qmessageauthenticationcode.cpp b/qt/gen_qmessageauthenticationcode.cpp index bbeddf08..91044fc8 100644 --- a/qt/gen_qmessageauthenticationcode.cpp +++ b/qt/gen_qmessageauthenticationcode.cpp @@ -4,10 +4,13 @@ #include #include "gen_qmessageauthenticationcode.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMessageAuthenticationCode* QMessageAuthenticationCode_new(int method) { return new QMessageAuthenticationCode(static_cast(method)); diff --git a/qt/gen_qmessagebox.cpp b/qt/gen_qmessagebox.cpp index 6327e5ed..da7e57e6 100644 --- a/qt/gen_qmessagebox.cpp +++ b/qt/gen_qmessagebox.cpp @@ -22,10 +22,30 @@ #include #include "gen_qmessagebox.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMessageBox_ButtonClicked(intptr_t, QAbstractButton*); +bool miqt_exec_callback_QMessageBox_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMessageBox_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QMessageBox_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QMessageBox_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QMessageBox_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QMessageBox_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMessageBox_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QMessageBox_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QMessageBox_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QMessageBox_Open(void*, intptr_t); +int miqt_exec_callback_QMessageBox_Exec(void*, intptr_t); +void miqt_exec_callback_QMessageBox_Done(void*, intptr_t, int); +void miqt_exec_callback_QMessageBox_Accept(void*, intptr_t); +void miqt_exec_callback_QMessageBox_Reject(void*, intptr_t); +void miqt_exec_callback_QMessageBox_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QMessageBox_EventFilter(void*, intptr_t, QObject*, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQMessageBox : public virtual QMessageBox { public: diff --git a/qt/gen_qmetaobject.cpp b/qt/gen_qmetaobject.cpp index 5ea9f83a..b7e5e457 100644 --- a/qt/gen_qmetaobject.cpp +++ b/qt/gen_qmetaobject.cpp @@ -12,10 +12,13 @@ #include #include "gen_qmetaobject.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMetaMethod* QMetaMethod_new() { return new QMetaMethod(); diff --git a/qt/gen_qmetatype.cpp b/qt/gen_qmetatype.cpp index 086254cf..af92987f 100644 --- a/qt/gen_qmetatype.cpp +++ b/qt/gen_qmetatype.cpp @@ -6,10 +6,13 @@ #include #include "gen_qmetatype.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMetaType* QMetaType_new() { return new QMetaType(); diff --git a/qt/gen_qmimedata.cpp b/qt/gen_qmimedata.cpp index 6dd8d799..07df0a1a 100644 --- a/qt/gen_qmimedata.cpp +++ b/qt/gen_qmimedata.cpp @@ -15,10 +15,23 @@ #include #include "gen_qmimedata.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QMimeData_HasFormat(void*, intptr_t, struct miqt_string); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QMimeData_Formats(void*, intptr_t); +QVariant* miqt_exec_callback_QMimeData_RetrieveData(void*, intptr_t, struct miqt_string, int); +bool miqt_exec_callback_QMimeData_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QMimeData_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QMimeData_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QMimeData_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QMimeData_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMimeData_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QMimeData_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQMimeData : public virtual QMimeData { public: diff --git a/qt/gen_qmimedatabase.cpp b/qt/gen_qmimedatabase.cpp index f8226b40..31f780f4 100644 --- a/qt/gen_qmimedatabase.cpp +++ b/qt/gen_qmimedatabase.cpp @@ -11,10 +11,13 @@ #include #include "gen_qmimedatabase.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMimeDatabase* QMimeDatabase_new() { return new QMimeDatabase(); diff --git a/qt/gen_qmimetype.cpp b/qt/gen_qmimetype.cpp index 5a1564c5..d27007d1 100644 --- a/qt/gen_qmimetype.cpp +++ b/qt/gen_qmimetype.cpp @@ -6,10 +6,13 @@ #include #include "gen_qmimetype.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMimeType* QMimeType_new() { return new QMimeType(); diff --git a/qt/gen_qmouseeventtransition.cpp b/qt/gen_qmouseeventtransition.cpp index f0106bc9..5064d698 100644 --- a/qt/gen_qmouseeventtransition.cpp +++ b/qt/gen_qmouseeventtransition.cpp @@ -12,10 +12,16 @@ #include #include "gen_qmouseeventtransition.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMouseEventTransition_OnTransition(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QMouseEventTransition_EventTest(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QMouseEventTransition_Event(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQMouseEventTransition : public virtual QMouseEventTransition { public: diff --git a/qt/gen_qmovie.cpp b/qt/gen_qmovie.cpp index 887b4d7f..f5cc60c8 100644 --- a/qt/gen_qmovie.cpp +++ b/qt/gen_qmovie.cpp @@ -19,10 +19,27 @@ #include #include "gen_qmovie.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMovie_Started(intptr_t); +void miqt_exec_callback_QMovie_Resized(intptr_t, QSize*); +void miqt_exec_callback_QMovie_Updated(intptr_t, QRect*); +void miqt_exec_callback_QMovie_StateChanged(intptr_t, int); +void miqt_exec_callback_QMovie_Error(intptr_t, int); +void miqt_exec_callback_QMovie_Finished(intptr_t); +void miqt_exec_callback_QMovie_FrameChanged(intptr_t, int); +bool miqt_exec_callback_QMovie_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QMovie_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QMovie_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QMovie_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QMovie_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMovie_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QMovie_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQMovie : public virtual QMovie { public: diff --git a/qt/gen_qmutex.cpp b/qt/gen_qmutex.cpp index 75384578..e13b7726 100644 --- a/qt/gen_qmutex.cpp +++ b/qt/gen_qmutex.cpp @@ -5,10 +5,13 @@ #include #include "gen_qmutex.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QBasicMutex* QBasicMutex_new() { return new QBasicMutex(); diff --git a/qt/gen_qnamespace.cpp b/qt/gen_qnamespace.cpp index ef30bfc9..9927a21d 100644 --- a/qt/gen_qnamespace.cpp +++ b/qt/gen_qnamespace.cpp @@ -2,10 +2,13 @@ #include #include "gen_qnamespace.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QInternal_Delete(QInternal* self, bool isSubclass) { if (isSubclass) { diff --git a/qt/gen_qobject.cpp b/qt/gen_qobject.cpp index f7168f09..5d529d66 100644 --- a/qt/gen_qobject.cpp +++ b/qt/gen_qobject.cpp @@ -18,10 +18,22 @@ #include #include "gen_qobject.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QObject_Destroyed(intptr_t); +void miqt_exec_callback_QObject_Destroyed1(intptr_t, QObject*); +bool miqt_exec_callback_QObject_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QObject_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QObject_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QObject_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QObject_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QObject_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QObject_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMetaObject* QObjectData_DynamicMetaObject(const QObjectData* self) { return self->dynamicMetaObject(); diff --git a/qt/gen_qobjectcleanuphandler.cpp b/qt/gen_qobjectcleanuphandler.cpp index a261dbc4..aedba09c 100644 --- a/qt/gen_qobjectcleanuphandler.cpp +++ b/qt/gen_qobjectcleanuphandler.cpp @@ -11,10 +11,20 @@ #include #include "gen_qobjectcleanuphandler.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QObjectCleanupHandler_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QObjectCleanupHandler_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QObjectCleanupHandler_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QObjectCleanupHandler_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QObjectCleanupHandler_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QObjectCleanupHandler_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QObjectCleanupHandler_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQObjectCleanupHandler : public virtual QObjectCleanupHandler { public: diff --git a/qt/gen_qobjectdefs.cpp b/qt/gen_qobjectdefs.cpp index 2f4aa21b..3a7795d3 100644 --- a/qt/gen_qobjectdefs.cpp +++ b/qt/gen_qobjectdefs.cpp @@ -15,10 +15,13 @@ #include #include "gen_qobjectdefs.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QGenericArgument* QGenericArgument_new() { return new QGenericArgument(); diff --git a/qt/gen_qoffscreensurface.cpp b/qt/gen_qoffscreensurface.cpp index 87b0a674..2cb3da2e 100644 --- a/qt/gen_qoffscreensurface.cpp +++ b/qt/gen_qoffscreensurface.cpp @@ -15,10 +15,24 @@ #include #include "gen_qoffscreensurface.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QOffscreenSurface_ScreenChanged(intptr_t, QScreen*); +int miqt_exec_callback_QOffscreenSurface_SurfaceType(void*, intptr_t); +QSurfaceFormat* miqt_exec_callback_QOffscreenSurface_Format(void*, intptr_t); +QSize* miqt_exec_callback_QOffscreenSurface_Size(void*, intptr_t); +bool miqt_exec_callback_QOffscreenSurface_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QOffscreenSurface_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QOffscreenSurface_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QOffscreenSurface_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QOffscreenSurface_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QOffscreenSurface_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QOffscreenSurface_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQOffscreenSurface : public virtual QOffscreenSurface { public: diff --git a/qt/gen_qoperatingsystemversion.cpp b/qt/gen_qoperatingsystemversion.cpp index 245cc2b1..631450f6 100644 --- a/qt/gen_qoperatingsystemversion.cpp +++ b/qt/gen_qoperatingsystemversion.cpp @@ -5,10 +5,13 @@ #include #include "gen_qoperatingsystemversion.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QOperatingSystemVersion* QOperatingSystemVersion_new(int osType, int vmajor) { return new QOperatingSystemVersion(static_cast(osType), static_cast(vmajor)); diff --git a/qt/gen_qpagedpaintdevice.cpp b/qt/gen_qpagedpaintdevice.cpp index 947d8fa4..dc71b58d 100644 --- a/qt/gen_qpagedpaintdevice.cpp +++ b/qt/gen_qpagedpaintdevice.cpp @@ -11,10 +11,23 @@ #include #include "gen_qpagedpaintdevice.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QPagedPaintDevice_NewPage(void*, intptr_t); +void miqt_exec_callback_QPagedPaintDevice_SetPageSizeWithSize(void*, intptr_t, int); +void miqt_exec_callback_QPagedPaintDevice_SetPageSizeMM(void*, intptr_t, QSizeF*); +void miqt_exec_callback_QPagedPaintDevice_SetMargins(void*, intptr_t, QPagedPaintDevice__Margins*); +int miqt_exec_callback_QPagedPaintDevice_DevType(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QPagedPaintDevice_PaintEngine(void*, intptr_t); +int miqt_exec_callback_QPagedPaintDevice_Metric(void*, intptr_t, int); +void miqt_exec_callback_QPagedPaintDevice_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QPagedPaintDevice_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QPagedPaintDevice_SharedPainter(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPagedPaintDevice : public virtual QPagedPaintDevice { public: diff --git a/qt/gen_qpagelayout.cpp b/qt/gen_qpagelayout.cpp index 6bc9d2dd..f8568a31 100644 --- a/qt/gen_qpagelayout.cpp +++ b/qt/gen_qpagelayout.cpp @@ -7,10 +7,13 @@ #include #include "gen_qpagelayout.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QPageLayout* QPageLayout_new() { return new QPageLayout(); diff --git a/qt/gen_qpagesize.cpp b/qt/gen_qpagesize.cpp index f99e04ea..6ce39c20 100644 --- a/qt/gen_qpagesize.cpp +++ b/qt/gen_qpagesize.cpp @@ -9,10 +9,13 @@ #include #include "gen_qpagesize.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QPageSize* QPageSize_new() { return new QPageSize(); diff --git a/qt/gen_qpaintdevice.cpp b/qt/gen_qpaintdevice.cpp index a2f11508..3a68a9ce 100644 --- a/qt/gen_qpaintdevice.cpp +++ b/qt/gen_qpaintdevice.cpp @@ -5,10 +5,13 @@ #include #include "gen_qpaintdevice.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" int QPaintDevice_DevType(const QPaintDevice* self) { return self->devType(); diff --git a/qt/gen_qpaintdevicewindow.cpp b/qt/gen_qpaintdevicewindow.cpp index 4fb3196f..3d0efc9d 100644 --- a/qt/gen_qpaintdevicewindow.cpp +++ b/qt/gen_qpaintdevicewindow.cpp @@ -15,10 +15,13 @@ #include #include "gen_qpaintdevicewindow.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QPaintDeviceWindow_virtbase(QPaintDeviceWindow* src, QWindow** outptr_QWindow, QPaintDevice** outptr_QPaintDevice) { *outptr_QWindow = static_cast(src); diff --git a/qt/gen_qpaintengine.cpp b/qt/gen_qpaintengine.cpp index 5bb8bd99..8aefa41f 100644 --- a/qt/gen_qpaintengine.cpp +++ b/qt/gen_qpaintengine.cpp @@ -24,10 +24,33 @@ #include #include "gen_qpaintengine.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QPaintEngine_Begin(void*, intptr_t, QPaintDevice*); +bool miqt_exec_callback_QPaintEngine_End(void*, intptr_t); +void miqt_exec_callback_QPaintEngine_UpdateState(void*, intptr_t, QPaintEngineState*); +void miqt_exec_callback_QPaintEngine_DrawRects(void*, intptr_t, QRect*, int); +void miqt_exec_callback_QPaintEngine_DrawRects2(void*, intptr_t, QRectF*, int); +void miqt_exec_callback_QPaintEngine_DrawLines(void*, intptr_t, QLine*, int); +void miqt_exec_callback_QPaintEngine_DrawLines2(void*, intptr_t, QLineF*, int); +void miqt_exec_callback_QPaintEngine_DrawEllipse(void*, intptr_t, QRectF*); +void miqt_exec_callback_QPaintEngine_DrawEllipseWithQRect(void*, intptr_t, QRect*); +void miqt_exec_callback_QPaintEngine_DrawPath(void*, intptr_t, QPainterPath*); +void miqt_exec_callback_QPaintEngine_DrawPoints(void*, intptr_t, QPointF*, int); +void miqt_exec_callback_QPaintEngine_DrawPoints2(void*, intptr_t, QPoint*, int); +void miqt_exec_callback_QPaintEngine_DrawPolygon(void*, intptr_t, QPointF*, int, int); +void miqt_exec_callback_QPaintEngine_DrawPolygon2(void*, intptr_t, QPoint*, int, int); +void miqt_exec_callback_QPaintEngine_DrawPixmap(void*, intptr_t, QRectF*, QPixmap*, QRectF*); +void miqt_exec_callback_QPaintEngine_DrawTextItem(void*, intptr_t, QPointF*, QTextItem*); +void miqt_exec_callback_QPaintEngine_DrawTiledPixmap(void*, intptr_t, QRectF*, QPixmap*, QPointF*); +void miqt_exec_callback_QPaintEngine_DrawImage(void*, intptr_t, QRectF*, QImage*, QRectF*, int); +QPoint* miqt_exec_callback_QPaintEngine_CoordinateOffset(void*, intptr_t); +int miqt_exec_callback_QPaintEngine_Type(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" double QTextItem_Descent(const QTextItem* self) { qreal _ret = self->descent(); diff --git a/qt/gen_qpainter.cpp b/qt/gen_qpainter.cpp index 165c5c5c..ade323ee 100644 --- a/qt/gen_qpainter.cpp +++ b/qt/gen_qpainter.cpp @@ -32,10 +32,13 @@ #include #include "gen_qpainter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QPainter* QPainter_new() { return new QPainter(); diff --git a/qt/gen_qpainterpath.cpp b/qt/gen_qpainterpath.cpp index 0e89870f..753b792b 100644 --- a/qt/gen_qpainterpath.cpp +++ b/qt/gen_qpainterpath.cpp @@ -13,10 +13,13 @@ #include #include "gen_qpainterpath.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QPainterPath* QPainterPath_new() { return new QPainterPath(); diff --git a/qt/gen_qpalette.cpp b/qt/gen_qpalette.cpp index 14c58d44..a8b250d0 100644 --- a/qt/gen_qpalette.cpp +++ b/qt/gen_qpalette.cpp @@ -5,10 +5,13 @@ #include #include "gen_qpalette.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QPalette* QPalette_new() { return new QPalette(); diff --git a/qt/gen_qparallelanimationgroup.cpp b/qt/gen_qparallelanimationgroup.cpp index edf0ab7a..093e72ba 100644 --- a/qt/gen_qparallelanimationgroup.cpp +++ b/qt/gen_qparallelanimationgroup.cpp @@ -10,10 +10,18 @@ #include #include "gen_qparallelanimationgroup.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QParallelAnimationGroup_Duration(void*, intptr_t); +bool miqt_exec_callback_QParallelAnimationGroup_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QParallelAnimationGroup_UpdateCurrentTime(void*, intptr_t, int); +void miqt_exec_callback_QParallelAnimationGroup_UpdateState(void*, intptr_t, int, int); +void miqt_exec_callback_QParallelAnimationGroup_UpdateDirection(void*, intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQParallelAnimationGroup : public virtual QParallelAnimationGroup { public: diff --git a/qt/gen_qpauseanimation.cpp b/qt/gen_qpauseanimation.cpp index 8bc2e0aa..f2924788 100644 --- a/qt/gen_qpauseanimation.cpp +++ b/qt/gen_qpauseanimation.cpp @@ -9,10 +9,18 @@ #include #include "gen_qpauseanimation.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QPauseAnimation_Duration(void*, intptr_t); +bool miqt_exec_callback_QPauseAnimation_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QPauseAnimation_UpdateCurrentTime(void*, intptr_t, int); +void miqt_exec_callback_QPauseAnimation_UpdateState(void*, intptr_t, int, int); +void miqt_exec_callback_QPauseAnimation_UpdateDirection(void*, intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPauseAnimation : public virtual QPauseAnimation { public: diff --git a/qt/gen_qpdfwriter.cpp b/qt/gen_qpdfwriter.cpp index bb931b6f..1bc7fd76 100644 --- a/qt/gen_qpdfwriter.cpp +++ b/qt/gen_qpdfwriter.cpp @@ -18,10 +18,26 @@ #include #include "gen_qpdfwriter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QPdfWriter_NewPage(void*, intptr_t); +void miqt_exec_callback_QPdfWriter_SetPageSize(void*, intptr_t, int); +void miqt_exec_callback_QPdfWriter_SetPageSizeMM(void*, intptr_t, QSizeF*); +void miqt_exec_callback_QPdfWriter_SetMargins(void*, intptr_t, QPagedPaintDevice__Margins*); +QPaintEngine* miqt_exec_callback_QPdfWriter_PaintEngine(void*, intptr_t); +int miqt_exec_callback_QPdfWriter_Metric(void*, intptr_t, int); +bool miqt_exec_callback_QPdfWriter_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QPdfWriter_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QPdfWriter_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QPdfWriter_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QPdfWriter_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QPdfWriter_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QPdfWriter_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPdfWriter : public virtual QPdfWriter { public: diff --git a/qt/gen_qpen.cpp b/qt/gen_qpen.cpp index a7c25846..ff54b3e2 100644 --- a/qt/gen_qpen.cpp +++ b/qt/gen_qpen.cpp @@ -6,10 +6,13 @@ #include #include "gen_qpen.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QPen* QPen_new() { return new QPen(); diff --git a/qt/gen_qpicture.cpp b/qt/gen_qpicture.cpp index ff72cc36..acb54350 100644 --- a/qt/gen_qpicture.cpp +++ b/qt/gen_qpicture.cpp @@ -14,10 +14,20 @@ #include #include "gen_qpicture.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QPicture_DevType(void*, intptr_t); +void miqt_exec_callback_QPicture_SetData(void*, intptr_t, const char*, unsigned int); +QPaintEngine* miqt_exec_callback_QPicture_PaintEngine(void*, intptr_t); +int miqt_exec_callback_QPicture_Metric(void*, intptr_t, int); +void miqt_exec_callback_QPicture_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QPicture_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QPicture_SharedPainter(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPicture : public virtual QPicture { public: diff --git a/qt/gen_qpictureformatplugin.cpp b/qt/gen_qpictureformatplugin.cpp index 33c53ef1..90e5ee26 100644 --- a/qt/gen_qpictureformatplugin.cpp +++ b/qt/gen_qpictureformatplugin.cpp @@ -12,10 +12,23 @@ #include #include "gen_qpictureformatplugin.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QPictureFormatPlugin_LoadPicture(void*, intptr_t, struct miqt_string, struct miqt_string, QPicture*); +bool miqt_exec_callback_QPictureFormatPlugin_SavePicture(void*, intptr_t, struct miqt_string, struct miqt_string, QPicture*); +bool miqt_exec_callback_QPictureFormatPlugin_InstallIOHandler(void*, intptr_t, struct miqt_string); +bool miqt_exec_callback_QPictureFormatPlugin_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QPictureFormatPlugin_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QPictureFormatPlugin_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QPictureFormatPlugin_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QPictureFormatPlugin_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QPictureFormatPlugin_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QPictureFormatPlugin_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPictureFormatPlugin : public virtual QPictureFormatPlugin { public: diff --git a/qt/gen_qpixelformat.cpp b/qt/gen_qpixelformat.cpp index cf506be7..388e521a 100644 --- a/qt/gen_qpixelformat.cpp +++ b/qt/gen_qpixelformat.cpp @@ -2,10 +2,13 @@ #include #include "gen_qpixelformat.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QPixelFormat* QPixelFormat_new() { return new QPixelFormat(); diff --git a/qt/gen_qpixmap.cpp b/qt/gen_qpixmap.cpp index f8c551bc..e1df75f4 100644 --- a/qt/gen_qpixmap.cpp +++ b/qt/gen_qpixmap.cpp @@ -22,10 +22,19 @@ #include #include "gen_qpixmap.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QPixmap_DevType(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QPixmap_PaintEngine(void*, intptr_t); +int miqt_exec_callback_QPixmap_Metric(void*, intptr_t, int); +void miqt_exec_callback_QPixmap_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QPixmap_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QPixmap_SharedPainter(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPixmap : public virtual QPixmap { public: diff --git a/qt/gen_qpixmapcache.cpp b/qt/gen_qpixmapcache.cpp index f779dada..b56c1765 100644 --- a/qt/gen_qpixmapcache.cpp +++ b/qt/gen_qpixmapcache.cpp @@ -7,10 +7,13 @@ #include #include "gen_qpixmapcache.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" int QPixmapCache_CacheLimit() { return QPixmapCache::cacheLimit(); diff --git a/qt/gen_qplaintextedit.cpp b/qt/gen_qplaintextedit.cpp index 4bc670dc..ca7703d4 100644 --- a/qt/gen_qplaintextedit.cpp +++ b/qt/gen_qplaintextedit.cpp @@ -52,10 +52,67 @@ #include #include "gen_qplaintextedit.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QPlainTextEdit_TextChanged(intptr_t); +void miqt_exec_callback_QPlainTextEdit_UndoAvailable(intptr_t, bool); +void miqt_exec_callback_QPlainTextEdit_RedoAvailable(intptr_t, bool); +void miqt_exec_callback_QPlainTextEdit_CopyAvailable(intptr_t, bool); +void miqt_exec_callback_QPlainTextEdit_SelectionChanged(intptr_t); +void miqt_exec_callback_QPlainTextEdit_CursorPositionChanged(intptr_t); +void miqt_exec_callback_QPlainTextEdit_UpdateRequest(intptr_t, QRect*, int); +void miqt_exec_callback_QPlainTextEdit_BlockCountChanged(intptr_t, int); +void miqt_exec_callback_QPlainTextEdit_ModificationChanged(intptr_t, bool); +QVariant* miqt_exec_callback_QPlainTextEdit_LoadResource(void*, intptr_t, int, QUrl*); +QVariant* miqt_exec_callback_QPlainTextEdit_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QPlainTextEdit_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QPlainTextEdit_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QPlainTextEdit_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QPlainTextEdit_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QPlainTextEdit_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QPlainTextEdit_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QPlainTextEdit_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QPlainTextEdit_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QPlainTextEdit_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QPlainTextEdit_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +bool miqt_exec_callback_QPlainTextEdit_FocusNextPrevChild(void*, intptr_t, bool); +void miqt_exec_callback_QPlainTextEdit_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QPlainTextEdit_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QPlainTextEdit_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QPlainTextEdit_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QPlainTextEdit_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QPlainTextEdit_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QPlainTextEdit_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QPlainTextEdit_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QPlainTextEdit_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QPlainTextEdit_WheelEvent(void*, intptr_t, QWheelEvent*); +QMimeData* miqt_exec_callback_QPlainTextEdit_CreateMimeDataFromSelection(void*, intptr_t); +bool miqt_exec_callback_QPlainTextEdit_CanInsertFromMimeData(void*, intptr_t, QMimeData*); +void miqt_exec_callback_QPlainTextEdit_InsertFromMimeData(void*, intptr_t, QMimeData*); +void miqt_exec_callback_QPlainTextEdit_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +void miqt_exec_callback_QPlainTextEdit_ScrollContentsBy(void*, intptr_t, int, int); +void miqt_exec_callback_QPlainTextEdit_DoSetTextCursor(void*, intptr_t, QTextCursor*); +QSize* miqt_exec_callback_QPlainTextEdit_MinimumSizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QPlainTextEdit_SizeHint(void*, intptr_t); +void miqt_exec_callback_QPlainTextEdit_SetupViewport(void*, intptr_t, QWidget*); +bool miqt_exec_callback_QPlainTextEdit_EventFilter(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QPlainTextEdit_ViewportEvent(void*, intptr_t, QEvent*); +QSize* miqt_exec_callback_QPlainTextEdit_ViewportSizeHint(void*, intptr_t); +void miqt_exec_callback_QPlainTextDocumentLayout_Draw(void*, intptr_t, QPainter*, QAbstractTextDocumentLayout__PaintContext*); +int miqt_exec_callback_QPlainTextDocumentLayout_HitTest(void*, intptr_t, QPointF*, int); +int miqt_exec_callback_QPlainTextDocumentLayout_PageCount(void*, intptr_t); +QSizeF* miqt_exec_callback_QPlainTextDocumentLayout_DocumentSize(void*, intptr_t); +QRectF* miqt_exec_callback_QPlainTextDocumentLayout_FrameBoundingRect(void*, intptr_t, QTextFrame*); +QRectF* miqt_exec_callback_QPlainTextDocumentLayout_BlockBoundingRect(void*, intptr_t, QTextBlock*); +void miqt_exec_callback_QPlainTextDocumentLayout_DocumentChanged(void*, intptr_t, int, int, int); +void miqt_exec_callback_QPlainTextDocumentLayout_ResizeInlineObject(void*, intptr_t, QTextInlineObject*, int, QTextFormat*); +void miqt_exec_callback_QPlainTextDocumentLayout_PositionInlineObject(void*, intptr_t, QTextInlineObject*, int, QTextFormat*); +void miqt_exec_callback_QPlainTextDocumentLayout_DrawInlineObject(void*, intptr_t, QPainter*, QRectF*, QTextInlineObject*, int, QTextFormat*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPlainTextEdit : public virtual QPlainTextEdit { public: diff --git a/qt/gen_qplugin.cpp b/qt/gen_qplugin.cpp index 273433ef..98180bbc 100644 --- a/qt/gen_qplugin.cpp +++ b/qt/gen_qplugin.cpp @@ -3,10 +3,13 @@ #include #include "gen_qplugin.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QJsonObject* QStaticPlugin_MetaData(const QStaticPlugin* self) { return new QJsonObject(self->metaData()); diff --git a/qt/gen_qpluginloader.cpp b/qt/gen_qpluginloader.cpp index 176d3271..b55e6fcb 100644 --- a/qt/gen_qpluginloader.cpp +++ b/qt/gen_qpluginloader.cpp @@ -14,10 +14,20 @@ #include #include "gen_qpluginloader.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QPluginLoader_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QPluginLoader_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QPluginLoader_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QPluginLoader_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QPluginLoader_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QPluginLoader_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QPluginLoader_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPluginLoader : public virtual QPluginLoader { public: diff --git a/qt/gen_qpoint.cpp b/qt/gen_qpoint.cpp index 3a845534..72ddf5a5 100644 --- a/qt/gen_qpoint.cpp +++ b/qt/gen_qpoint.cpp @@ -3,10 +3,13 @@ #include #include "gen_qpoint.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QPoint* QPoint_new() { return new QPoint(); diff --git a/qt/gen_qprocess.cpp b/qt/gen_qprocess.cpp index 023fa1ed..86b77310 100644 --- a/qt/gen_qprocess.cpp +++ b/qt/gen_qprocess.cpp @@ -11,10 +11,34 @@ #include #include "gen_qprocess.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QProcess_Finished(intptr_t, int); +void miqt_exec_callback_QProcess_Finished2(intptr_t, int, int); +void miqt_exec_callback_QProcess_ErrorWithError(intptr_t, int); +void miqt_exec_callback_QProcess_ErrorOccurred(intptr_t, int); +bool miqt_exec_callback_QProcess_Open(void*, intptr_t, int); +bool miqt_exec_callback_QProcess_WaitForReadyRead(void*, intptr_t, int); +bool miqt_exec_callback_QProcess_WaitForBytesWritten(void*, intptr_t, int); +long long miqt_exec_callback_QProcess_BytesAvailable(void*, intptr_t); +long long miqt_exec_callback_QProcess_BytesToWrite(void*, intptr_t); +bool miqt_exec_callback_QProcess_IsSequential(void*, intptr_t); +bool miqt_exec_callback_QProcess_CanReadLine(void*, intptr_t); +void miqt_exec_callback_QProcess_Close(void*, intptr_t); +bool miqt_exec_callback_QProcess_AtEnd(void*, intptr_t); +void miqt_exec_callback_QProcess_SetupChildProcess(void*, intptr_t); +long long miqt_exec_callback_QProcess_ReadData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QProcess_WriteData(void*, intptr_t, const char*, long long); +long long miqt_exec_callback_QProcess_Pos(void*, intptr_t); +long long miqt_exec_callback_QProcess_Size(void*, intptr_t); +bool miqt_exec_callback_QProcess_Seek(void*, intptr_t, long long); +bool miqt_exec_callback_QProcess_Reset(void*, intptr_t); +long long miqt_exec_callback_QProcess_ReadLineData(void*, intptr_t, char*, long long); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QProcessEnvironment* QProcessEnvironment_new() { return new QProcessEnvironment(); diff --git a/qt/gen_qprogressbar.cpp b/qt/gen_qprogressbar.cpp index 73d12352..d6eeeef4 100644 --- a/qt/gen_qprogressbar.cpp +++ b/qt/gen_qprogressbar.cpp @@ -34,10 +34,56 @@ #include #include "gen_qprogressbar.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QProgressBar_ValueChanged(intptr_t, int); +struct miqt_string miqt_exec_callback_QProgressBar_Text(void*, intptr_t); +QSize* miqt_exec_callback_QProgressBar_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QProgressBar_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QProgressBar_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QProgressBar_PaintEvent(void*, intptr_t, QPaintEvent*); +int miqt_exec_callback_QProgressBar_DevType(void*, intptr_t); +void miqt_exec_callback_QProgressBar_SetVisible(void*, intptr_t, bool); +int miqt_exec_callback_QProgressBar_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QProgressBar_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QProgressBar_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QProgressBar_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QProgressBar_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QProgressBar_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QProgressBar_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QProgressBar_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QProgressBar_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QProgressBar_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QProgressBar_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QProgressBar_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QProgressBar_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QProgressBar_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QProgressBar_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QProgressBar_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QProgressBar_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QProgressBar_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QProgressBar_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QProgressBar_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QProgressBar_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QProgressBar_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QProgressBar_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QProgressBar_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QProgressBar_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QProgressBar_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QProgressBar_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +void miqt_exec_callback_QProgressBar_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QProgressBar_Metric(void*, intptr_t, int); +void miqt_exec_callback_QProgressBar_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QProgressBar_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QProgressBar_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QProgressBar_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QProgressBar_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QProgressBar_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQProgressBar : public virtual QProgressBar { public: diff --git a/qt/gen_qprogressdialog.cpp b/qt/gen_qprogressdialog.cpp index ca83ab5c..165a396f 100644 --- a/qt/gen_qprogressdialog.cpp +++ b/qt/gen_qprogressdialog.cpp @@ -20,10 +20,29 @@ #include #include "gen_qprogressdialog.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QProgressDialog_Canceled(intptr_t); +QSize* miqt_exec_callback_QProgressDialog_SizeHint(void*, intptr_t); +void miqt_exec_callback_QProgressDialog_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QProgressDialog_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QProgressDialog_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QProgressDialog_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QProgressDialog_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QProgressDialog_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QProgressDialog_Open(void*, intptr_t); +int miqt_exec_callback_QProgressDialog_Exec(void*, intptr_t); +void miqt_exec_callback_QProgressDialog_Done(void*, intptr_t, int); +void miqt_exec_callback_QProgressDialog_Accept(void*, intptr_t); +void miqt_exec_callback_QProgressDialog_Reject(void*, intptr_t); +void miqt_exec_callback_QProgressDialog_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QProgressDialog_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QProgressDialog_EventFilter(void*, intptr_t, QObject*, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQProgressDialog : public virtual QProgressDialog { public: diff --git a/qt/gen_qpropertyanimation.cpp b/qt/gen_qpropertyanimation.cpp index 2d50fae0..ecbb6173 100644 --- a/qt/gen_qpropertyanimation.cpp +++ b/qt/gen_qpropertyanimation.cpp @@ -12,10 +12,19 @@ #include #include "gen_qpropertyanimation.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QPropertyAnimation_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QPropertyAnimation_UpdateCurrentValue(void*, intptr_t, QVariant*); +void miqt_exec_callback_QPropertyAnimation_UpdateState(void*, intptr_t, int, int); +int miqt_exec_callback_QPropertyAnimation_Duration(void*, intptr_t); +void miqt_exec_callback_QPropertyAnimation_UpdateCurrentTime(void*, intptr_t, int); +QVariant* miqt_exec_callback_QPropertyAnimation_Interpolated(void*, intptr_t, QVariant*, QVariant*, double); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPropertyAnimation : public virtual QPropertyAnimation { public: diff --git a/qt/gen_qproxystyle.cpp b/qt/gen_qproxystyle.cpp index 30cd0652..2dc083da 100644 --- a/qt/gen_qproxystyle.cpp +++ b/qt/gen_qproxystyle.cpp @@ -23,10 +23,37 @@ #include #include "gen_qproxystyle.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QProxyStyle_DrawPrimitive(void*, intptr_t, int, QStyleOption*, QPainter*, QWidget*); +void miqt_exec_callback_QProxyStyle_DrawControl(void*, intptr_t, int, QStyleOption*, QPainter*, QWidget*); +void miqt_exec_callback_QProxyStyle_DrawComplexControl(void*, intptr_t, int, QStyleOptionComplex*, QPainter*, QWidget*); +void miqt_exec_callback_QProxyStyle_DrawItemText(void*, intptr_t, QPainter*, QRect*, int, QPalette*, bool, struct miqt_string, int); +void miqt_exec_callback_QProxyStyle_DrawItemPixmap(void*, intptr_t, QPainter*, QRect*, int, QPixmap*); +QSize* miqt_exec_callback_QProxyStyle_SizeFromContents(void*, intptr_t, int, QStyleOption*, QSize*, QWidget*); +QRect* miqt_exec_callback_QProxyStyle_SubElementRect(void*, intptr_t, int, QStyleOption*, QWidget*); +QRect* miqt_exec_callback_QProxyStyle_SubControlRect(void*, intptr_t, int, QStyleOptionComplex*, int, QWidget*); +QRect* miqt_exec_callback_QProxyStyle_ItemTextRect(void*, intptr_t, QFontMetrics*, QRect*, int, bool, struct miqt_string); +QRect* miqt_exec_callback_QProxyStyle_ItemPixmapRect(void*, intptr_t, QRect*, int, QPixmap*); +int miqt_exec_callback_QProxyStyle_HitTestComplexControl(void*, intptr_t, int, QStyleOptionComplex*, QPoint*, QWidget*); +int miqt_exec_callback_QProxyStyle_StyleHint(void*, intptr_t, int, QStyleOption*, QWidget*, QStyleHintReturn*); +int miqt_exec_callback_QProxyStyle_PixelMetric(void*, intptr_t, int, QStyleOption*, QWidget*); +int miqt_exec_callback_QProxyStyle_LayoutSpacing(void*, intptr_t, int, int, int, QStyleOption*, QWidget*); +QIcon* miqt_exec_callback_QProxyStyle_StandardIcon(void*, intptr_t, int, QStyleOption*, QWidget*); +QPixmap* miqt_exec_callback_QProxyStyle_StandardPixmap(void*, intptr_t, int, QStyleOption*, QWidget*); +QPixmap* miqt_exec_callback_QProxyStyle_GeneratedIconPixmap(void*, intptr_t, int, QPixmap*, QStyleOption*); +QPalette* miqt_exec_callback_QProxyStyle_StandardPalette(void*, intptr_t); +void miqt_exec_callback_QProxyStyle_Polish(void*, intptr_t, QWidget*); +void miqt_exec_callback_QProxyStyle_PolishWithPal(void*, intptr_t, QPalette*); +void miqt_exec_callback_QProxyStyle_PolishWithApp(void*, intptr_t, QApplication*); +void miqt_exec_callback_QProxyStyle_Unpolish(void*, intptr_t, QWidget*); +void miqt_exec_callback_QProxyStyle_UnpolishWithApp(void*, intptr_t, QApplication*); +bool miqt_exec_callback_QProxyStyle_Event(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQProxyStyle : public virtual QProxyStyle { public: diff --git a/qt/gen_qpushbutton.cpp b/qt/gen_qpushbutton.cpp index 3a8e0491..9cf93e02 100644 --- a/qt/gen_qpushbutton.cpp +++ b/qt/gen_qpushbutton.cpp @@ -20,10 +20,29 @@ #include #include "gen_qpushbutton.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QPushButton_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QPushButton_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QPushButton_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QPushButton_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QPushButton_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QPushButton_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QPushButton_FocusOutEvent(void*, intptr_t, QFocusEvent*); +bool miqt_exec_callback_QPushButton_HitButton(void*, intptr_t, QPoint*); +void miqt_exec_callback_QPushButton_CheckStateSet(void*, intptr_t); +void miqt_exec_callback_QPushButton_NextCheckState(void*, intptr_t); +void miqt_exec_callback_QPushButton_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QPushButton_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QPushButton_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QPushButton_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QPushButton_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QPushButton_TimerEvent(void*, intptr_t, QTimerEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPushButton : public virtual QPushButton { public: diff --git a/qt/gen_qquaternion.cpp b/qt/gen_qquaternion.cpp index 811be499..21e73261 100644 --- a/qt/gen_qquaternion.cpp +++ b/qt/gen_qquaternion.cpp @@ -5,10 +5,13 @@ #include #include "gen_qquaternion.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QQuaternion* QQuaternion_new() { return new QQuaternion(); diff --git a/qt/gen_qradiobutton.cpp b/qt/gen_qradiobutton.cpp index aece70d7..69f0fd2a 100644 --- a/qt/gen_qradiobutton.cpp +++ b/qt/gen_qradiobutton.cpp @@ -18,10 +18,29 @@ #include #include "gen_qradiobutton.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QRadioButton_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QRadioButton_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QRadioButton_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QRadioButton_HitButton(void*, intptr_t, QPoint*); +void miqt_exec_callback_QRadioButton_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QRadioButton_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QRadioButton_CheckStateSet(void*, intptr_t); +void miqt_exec_callback_QRadioButton_NextCheckState(void*, intptr_t); +void miqt_exec_callback_QRadioButton_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QRadioButton_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QRadioButton_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QRadioButton_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QRadioButton_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QRadioButton_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QRadioButton_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QRadioButton_TimerEvent(void*, intptr_t, QTimerEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQRadioButton : public virtual QRadioButton { public: diff --git a/qt/gen_qrandom.cpp b/qt/gen_qrandom.cpp index e4a2ff26..499726d5 100644 --- a/qt/gen_qrandom.cpp +++ b/qt/gen_qrandom.cpp @@ -3,10 +3,13 @@ #include #include "gen_qrandom.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QRandomGenerator* QRandomGenerator_new() { return new QRandomGenerator(); diff --git a/qt/gen_qrasterwindow.cpp b/qt/gen_qrasterwindow.cpp index 9ad53fc8..b1fc388a 100644 --- a/qt/gen_qrasterwindow.cpp +++ b/qt/gen_qrasterwindow.cpp @@ -15,10 +15,18 @@ #include #include "gen_qrasterwindow.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QRasterWindow_Metric(void*, intptr_t, int); +QPaintDevice* miqt_exec_callback_QRasterWindow_Redirected(void*, intptr_t, QPoint*); +void miqt_exec_callback_QRasterWindow_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QRasterWindow_ExposeEvent(void*, intptr_t, QExposeEvent*); +bool miqt_exec_callback_QRasterWindow_Event(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQRasterWindow : public virtual QRasterWindow { public: diff --git a/qt/gen_qrawfont.cpp b/qt/gen_qrawfont.cpp index e578582a..806fad8e 100644 --- a/qt/gen_qrawfont.cpp +++ b/qt/gen_qrawfont.cpp @@ -14,10 +14,13 @@ #include #include "gen_qrawfont.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QRawFont* QRawFont_new() { return new QRawFont(); diff --git a/qt/gen_qreadwritelock.cpp b/qt/gen_qreadwritelock.cpp index 3984036a..bb1796d9 100644 --- a/qt/gen_qreadwritelock.cpp +++ b/qt/gen_qreadwritelock.cpp @@ -4,10 +4,13 @@ #include #include "gen_qreadwritelock.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QReadWriteLock* QReadWriteLock_new() { return new QReadWriteLock(); diff --git a/qt/gen_qrect.cpp b/qt/gen_qrect.cpp index 503bcd15..aac69f6b 100644 --- a/qt/gen_qrect.cpp +++ b/qt/gen_qrect.cpp @@ -9,10 +9,13 @@ #include #include "gen_qrect.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QRect* QRect_new() { return new QRect(); diff --git a/qt/gen_qregexp.cpp b/qt/gen_qregexp.cpp index a7675840..bb5433e1 100644 --- a/qt/gen_qregexp.cpp +++ b/qt/gen_qregexp.cpp @@ -6,10 +6,13 @@ #include #include "gen_qregexp.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QRegExp* QRegExp_new() { return new QRegExp(); diff --git a/qt/gen_qregion.cpp b/qt/gen_qregion.cpp index 287cbb28..a64a3fe8 100644 --- a/qt/gen_qregion.cpp +++ b/qt/gen_qregion.cpp @@ -7,10 +7,13 @@ #include #include "gen_qregion.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QRegion* QRegion_new() { return new QRegion(); diff --git a/qt/gen_qregularexpression.cpp b/qt/gen_qregularexpression.cpp index a8ffd085..4b59bb50 100644 --- a/qt/gen_qregularexpression.cpp +++ b/qt/gen_qregularexpression.cpp @@ -8,10 +8,13 @@ #include #include "gen_qregularexpression.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QRegularExpression* QRegularExpression_new() { return new QRegularExpression(); diff --git a/qt/gen_qresource.cpp b/qt/gen_qresource.cpp index 5b4e3c89..15b795a3 100644 --- a/qt/gen_qresource.cpp +++ b/qt/gen_qresource.cpp @@ -9,10 +9,13 @@ #include #include "gen_qresource.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QResource* QResource_new() { return new QResource(); diff --git a/qt/gen_qrgba64.cpp b/qt/gen_qrgba64.cpp index 6032ccca..70bed548 100644 --- a/qt/gen_qrgba64.cpp +++ b/qt/gen_qrgba64.cpp @@ -2,10 +2,13 @@ #include #include "gen_qrgba64.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QRgba64* QRgba64_new() { return new QRgba64(); diff --git a/qt/gen_qrubberband.cpp b/qt/gen_qrubberband.cpp index 6f1ddbd7..303bf927 100644 --- a/qt/gen_qrubberband.cpp +++ b/qt/gen_qrubberband.cpp @@ -35,10 +35,54 @@ #include #include "gen_qrubberband.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QRubberBand_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QRubberBand_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QRubberBand_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QRubberBand_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QRubberBand_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QRubberBand_MoveEvent(void*, intptr_t, QMoveEvent*); +int miqt_exec_callback_QRubberBand_DevType(void*, intptr_t); +void miqt_exec_callback_QRubberBand_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QRubberBand_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QRubberBand_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QRubberBand_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QRubberBand_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QRubberBand_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QRubberBand_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QRubberBand_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QRubberBand_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QRubberBand_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QRubberBand_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QRubberBand_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QRubberBand_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QRubberBand_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QRubberBand_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QRubberBand_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QRubberBand_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QRubberBand_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QRubberBand_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QRubberBand_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QRubberBand_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QRubberBand_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QRubberBand_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QRubberBand_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QRubberBand_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QRubberBand_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QRubberBand_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +int miqt_exec_callback_QRubberBand_Metric(void*, intptr_t, int); +void miqt_exec_callback_QRubberBand_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QRubberBand_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QRubberBand_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QRubberBand_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QRubberBand_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QRubberBand_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQRubberBand : public virtual QRubberBand { public: diff --git a/qt/gen_qrunnable.cpp b/qt/gen_qrunnable.cpp index 3e5767e0..a094512e 100644 --- a/qt/gen_qrunnable.cpp +++ b/qt/gen_qrunnable.cpp @@ -2,10 +2,14 @@ #include #include "gen_qrunnable.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QRunnable_Run(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQRunnable : public virtual QRunnable { public: diff --git a/qt/gen_qsavefile.cpp b/qt/gen_qsavefile.cpp index 03470460..42ffabc5 100644 --- a/qt/gen_qsavefile.cpp +++ b/qt/gen_qsavefile.cpp @@ -9,10 +9,26 @@ #include #include "gen_qsavefile.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +struct miqt_string miqt_exec_callback_QSaveFile_FileName(void*, intptr_t); +bool miqt_exec_callback_QSaveFile_Open(void*, intptr_t, int); +long long miqt_exec_callback_QSaveFile_WriteData(void*, intptr_t, const char*, long long); +bool miqt_exec_callback_QSaveFile_IsSequential(void*, intptr_t); +long long miqt_exec_callback_QSaveFile_Pos(void*, intptr_t); +bool miqt_exec_callback_QSaveFile_Seek(void*, intptr_t, long long); +bool miqt_exec_callback_QSaveFile_AtEnd(void*, intptr_t); +long long miqt_exec_callback_QSaveFile_Size(void*, intptr_t); +bool miqt_exec_callback_QSaveFile_Resize(void*, intptr_t, long long); +int miqt_exec_callback_QSaveFile_Permissions(void*, intptr_t); +bool miqt_exec_callback_QSaveFile_SetPermissions(void*, intptr_t, int); +long long miqt_exec_callback_QSaveFile_ReadData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QSaveFile_ReadLineData(void*, intptr_t, char*, long long); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSaveFile : public virtual QSaveFile { public: diff --git a/qt/gen_qscopedpointer.cpp b/qt/gen_qscopedpointer.cpp index c7a137dc..7507910f 100644 --- a/qt/gen_qscopedpointer.cpp +++ b/qt/gen_qscopedpointer.cpp @@ -2,10 +2,13 @@ #include #include "gen_qscopedpointer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QScopedPointerPodDeleter_Cleanup(void* pointer) { QScopedPointerPodDeleter::cleanup(pointer); diff --git a/qt/gen_qscreen.cpp b/qt/gen_qscreen.cpp index 99e8d541..92939a47 100644 --- a/qt/gen_qscreen.cpp +++ b/qt/gen_qscreen.cpp @@ -14,10 +14,22 @@ #include #include "gen_qscreen.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QScreen_GeometryChanged(intptr_t, QRect*); +void miqt_exec_callback_QScreen_AvailableGeometryChanged(intptr_t, QRect*); +void miqt_exec_callback_QScreen_PhysicalSizeChanged(intptr_t, QSizeF*); +void miqt_exec_callback_QScreen_PhysicalDotsPerInchChanged(intptr_t, double); +void miqt_exec_callback_QScreen_LogicalDotsPerInchChanged(intptr_t, double); +void miqt_exec_callback_QScreen_VirtualGeometryChanged(intptr_t, QRect*); +void miqt_exec_callback_QScreen_PrimaryOrientationChanged(intptr_t, int); +void miqt_exec_callback_QScreen_OrientationChanged(intptr_t, int); +void miqt_exec_callback_QScreen_RefreshRateChanged(intptr_t, double); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QScreen_virtbase(QScreen* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt/gen_qscrollarea.cpp b/qt/gen_qscrollarea.cpp index fb9d158f..46baecbe 100644 --- a/qt/gen_qscrollarea.cpp +++ b/qt/gen_qscrollarea.cpp @@ -23,10 +23,35 @@ #include #include "gen_qscrollarea.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QScrollArea_SizeHint(void*, intptr_t); +bool miqt_exec_callback_QScrollArea_FocusNextPrevChild(void*, intptr_t, bool); +bool miqt_exec_callback_QScrollArea_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QScrollArea_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QScrollArea_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QScrollArea_ScrollContentsBy(void*, intptr_t, int, int); +QSize* miqt_exec_callback_QScrollArea_ViewportSizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QScrollArea_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QScrollArea_SetupViewport(void*, intptr_t, QWidget*); +bool miqt_exec_callback_QScrollArea_ViewportEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QScrollArea_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QScrollArea_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QScrollArea_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QScrollArea_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QScrollArea_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QScrollArea_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QScrollArea_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QScrollArea_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QScrollArea_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QScrollArea_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QScrollArea_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QScrollArea_KeyPressEvent(void*, intptr_t, QKeyEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQScrollArea : public virtual QScrollArea { public: diff --git a/qt/gen_qscrollbar.cpp b/qt/gen_qscrollbar.cpp index 601582d1..be133b3c 100644 --- a/qt/gen_qscrollbar.cpp +++ b/qt/gen_qscrollbar.cpp @@ -19,10 +19,26 @@ #include #include "gen_qscrollbar.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QScrollBar_SizeHint(void*, intptr_t); +bool miqt_exec_callback_QScrollBar_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QScrollBar_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QScrollBar_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QScrollBar_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QScrollBar_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QScrollBar_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QScrollBar_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QScrollBar_SliderChange(void*, intptr_t, int); +void miqt_exec_callback_QScrollBar_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QScrollBar_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QScrollBar_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QScrollBar_ChangeEvent(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQScrollBar : public virtual QScrollBar { public: diff --git a/qt/gen_qscroller.cpp b/qt/gen_qscroller.cpp index 9585bf68..66ec88e0 100644 --- a/qt/gen_qscroller.cpp +++ b/qt/gen_qscroller.cpp @@ -11,10 +11,15 @@ #include #include "gen_qscroller.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QScroller_StateChanged(intptr_t, int); +void miqt_exec_callback_QScroller_ScrollerPropertiesChanged(intptr_t, QScrollerProperties*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QScroller_virtbase(QScroller* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt/gen_qscrollerproperties.cpp b/qt/gen_qscrollerproperties.cpp index 8ef7dafe..7d06bc1b 100644 --- a/qt/gen_qscrollerproperties.cpp +++ b/qt/gen_qscrollerproperties.cpp @@ -3,10 +3,13 @@ #include #include "gen_qscrollerproperties.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QScrollerProperties* QScrollerProperties_new() { return new QScrollerProperties(); diff --git a/qt/gen_qsemaphore.cpp b/qt/gen_qsemaphore.cpp index a4233cd2..bdfed033 100644 --- a/qt/gen_qsemaphore.cpp +++ b/qt/gen_qsemaphore.cpp @@ -3,10 +3,13 @@ #include #include "gen_qsemaphore.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSemaphore* QSemaphore_new() { return new QSemaphore(); diff --git a/qt/gen_qsequentialanimationgroup.cpp b/qt/gen_qsequentialanimationgroup.cpp index cd465d47..c2b4a12c 100644 --- a/qt/gen_qsequentialanimationgroup.cpp +++ b/qt/gen_qsequentialanimationgroup.cpp @@ -11,10 +11,19 @@ #include #include "gen_qsequentialanimationgroup.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSequentialAnimationGroup_CurrentAnimationChanged(intptr_t, QAbstractAnimation*); +int miqt_exec_callback_QSequentialAnimationGroup_Duration(void*, intptr_t); +bool miqt_exec_callback_QSequentialAnimationGroup_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSequentialAnimationGroup_UpdateCurrentTime(void*, intptr_t, int); +void miqt_exec_callback_QSequentialAnimationGroup_UpdateState(void*, intptr_t, int, int); +void miqt_exec_callback_QSequentialAnimationGroup_UpdateDirection(void*, intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSequentialAnimationGroup : public virtual QSequentialAnimationGroup { public: diff --git a/qt/gen_qsessionmanager.cpp b/qt/gen_qsessionmanager.cpp index f90d0e09..d89f394d 100644 --- a/qt/gen_qsessionmanager.cpp +++ b/qt/gen_qsessionmanager.cpp @@ -8,10 +8,13 @@ #include #include "gen_qsessionmanager.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QSessionManager_virtbase(QSessionManager* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt/gen_qsettings.cpp b/qt/gen_qsettings.cpp index 44620c25..392f72b9 100644 --- a/qt/gen_qsettings.cpp +++ b/qt/gen_qsettings.cpp @@ -14,10 +14,20 @@ #include #include "gen_qsettings.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QSettings_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QSettings_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QSettings_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QSettings_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QSettings_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSettings_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QSettings_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSettings : public virtual QSettings { public: diff --git a/qt/gen_qshareddata.cpp b/qt/gen_qshareddata.cpp index 6d932ef2..7d7237f7 100644 --- a/qt/gen_qshareddata.cpp +++ b/qt/gen_qshareddata.cpp @@ -2,10 +2,13 @@ #include #include "gen_qshareddata.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSharedData* QSharedData_new() { return new QSharedData(); diff --git a/qt/gen_qsharedmemory.cpp b/qt/gen_qsharedmemory.cpp index c16ff46e..c285be2a 100644 --- a/qt/gen_qsharedmemory.cpp +++ b/qt/gen_qsharedmemory.cpp @@ -11,10 +11,20 @@ #include #include "gen_qsharedmemory.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QSharedMemory_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QSharedMemory_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QSharedMemory_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QSharedMemory_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QSharedMemory_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSharedMemory_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QSharedMemory_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSharedMemory : public virtual QSharedMemory { public: diff --git a/qt/gen_qshortcut.cpp b/qt/gen_qshortcut.cpp index cf118bed..0d80fecf 100644 --- a/qt/gen_qshortcut.cpp +++ b/qt/gen_qshortcut.cpp @@ -13,10 +13,22 @@ #include #include "gen_qshortcut.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QShortcut_Activated(intptr_t); +void miqt_exec_callback_QShortcut_ActivatedAmbiguously(intptr_t); +bool miqt_exec_callback_QShortcut_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QShortcut_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QShortcut_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QShortcut_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QShortcut_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QShortcut_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QShortcut_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQShortcut : public virtual QShortcut { public: diff --git a/qt/gen_qsignalmapper.cpp b/qt/gen_qsignalmapper.cpp index 99fa74e5..bce08ec5 100644 --- a/qt/gen_qsignalmapper.cpp +++ b/qt/gen_qsignalmapper.cpp @@ -12,10 +12,28 @@ #include #include "gen_qsignalmapper.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSignalMapper_Mapped(intptr_t, int); +void miqt_exec_callback_QSignalMapper_MappedWithQString(intptr_t, struct miqt_string); +void miqt_exec_callback_QSignalMapper_MappedWithQWidget(intptr_t, QWidget*); +void miqt_exec_callback_QSignalMapper_MappedWithQObject(intptr_t, QObject*); +void miqt_exec_callback_QSignalMapper_MappedInt(intptr_t, int); +void miqt_exec_callback_QSignalMapper_MappedString(intptr_t, struct miqt_string); +void miqt_exec_callback_QSignalMapper_MappedWidget(intptr_t, QWidget*); +void miqt_exec_callback_QSignalMapper_MappedObject(intptr_t, QObject*); +bool miqt_exec_callback_QSignalMapper_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QSignalMapper_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QSignalMapper_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QSignalMapper_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QSignalMapper_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSignalMapper_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QSignalMapper_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSignalMapper : public virtual QSignalMapper { public: diff --git a/qt/gen_qsignaltransition.cpp b/qt/gen_qsignaltransition.cpp index f0972d87..8c798fa5 100644 --- a/qt/gen_qsignaltransition.cpp +++ b/qt/gen_qsignaltransition.cpp @@ -11,10 +11,16 @@ #include #include "gen_qsignaltransition.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QSignalTransition_EventTest(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSignalTransition_OnTransition(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QSignalTransition_Event(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSignalTransition : public virtual QSignalTransition { public: diff --git a/qt/gen_qsize.cpp b/qt/gen_qsize.cpp index 17bda955..d2d9e93a 100644 --- a/qt/gen_qsize.cpp +++ b/qt/gen_qsize.cpp @@ -5,10 +5,13 @@ #include #include "gen_qsize.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSize* QSize_new() { return new QSize(); diff --git a/qt/gen_qsizegrip.cpp b/qt/gen_qsizegrip.cpp index 4fdef808..bdbc6a50 100644 --- a/qt/gen_qsizegrip.cpp +++ b/qt/gen_qsizegrip.cpp @@ -34,10 +34,55 @@ #include #include "gen_qsizegrip.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QSizeGrip_SizeHint(void*, intptr_t); +void miqt_exec_callback_QSizeGrip_SetVisible(void*, intptr_t, bool); +void miqt_exec_callback_QSizeGrip_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QSizeGrip_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSizeGrip_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSizeGrip_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSizeGrip_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QSizeGrip_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QSizeGrip_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QSizeGrip_EventFilter(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QSizeGrip_Event(void*, intptr_t, QEvent*); +int miqt_exec_callback_QSizeGrip_DevType(void*, intptr_t); +QSize* miqt_exec_callback_QSizeGrip_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QSizeGrip_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QSizeGrip_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QSizeGrip_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QSizeGrip_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSizeGrip_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QSizeGrip_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QSizeGrip_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QSizeGrip_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QSizeGrip_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QSizeGrip_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSizeGrip_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSizeGrip_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QSizeGrip_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QSizeGrip_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QSizeGrip_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QSizeGrip_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QSizeGrip_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QSizeGrip_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QSizeGrip_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QSizeGrip_DropEvent(void*, intptr_t, QDropEvent*); +bool miqt_exec_callback_QSizeGrip_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +void miqt_exec_callback_QSizeGrip_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QSizeGrip_Metric(void*, intptr_t, int); +void miqt_exec_callback_QSizeGrip_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QSizeGrip_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QSizeGrip_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QSizeGrip_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QSizeGrip_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QSizeGrip_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSizeGrip : public virtual QSizeGrip { public: diff --git a/qt/gen_qsizepolicy.cpp b/qt/gen_qsizepolicy.cpp index fe7e9d58..341fbb18 100644 --- a/qt/gen_qsizepolicy.cpp +++ b/qt/gen_qsizepolicy.cpp @@ -3,10 +3,13 @@ #include #include "gen_qsizepolicy.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSizePolicy* QSizePolicy_new() { return new QSizePolicy(); diff --git a/qt/gen_qslider.cpp b/qt/gen_qslider.cpp index c43dfd56..7f068afd 100644 --- a/qt/gen_qslider.cpp +++ b/qt/gen_qslider.cpp @@ -17,10 +17,25 @@ #include #include "gen_qslider.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QSlider_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QSlider_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QSlider_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSlider_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QSlider_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSlider_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSlider_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSlider_SliderChange(void*, intptr_t, int); +void miqt_exec_callback_QSlider_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QSlider_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QSlider_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QSlider_ChangeEvent(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSlider : public virtual QSlider { public: diff --git a/qt/gen_qsocketnotifier.cpp b/qt/gen_qsocketnotifier.cpp index 60d8aa8f..1b52ba71 100644 --- a/qt/gen_qsocketnotifier.cpp +++ b/qt/gen_qsocketnotifier.cpp @@ -12,10 +12,20 @@ #include #include "gen_qsocketnotifier.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QSocketNotifier_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QSocketNotifier_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QSocketNotifier_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QSocketNotifier_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QSocketNotifier_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSocketNotifier_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QSocketNotifier_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSocketNotifier : public virtual QSocketNotifier { public: diff --git a/qt/gen_qsortfilterproxymodel.cpp b/qt/gen_qsortfilterproxymodel.cpp index 41a0820f..ee10f4ad 100644 --- a/qt/gen_qsortfilterproxymodel.cpp +++ b/qt/gen_qsortfilterproxymodel.cpp @@ -18,10 +18,59 @@ #include #include "gen_qsortfilterproxymodel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSortFilterProxyModel_DynamicSortFilterChanged(intptr_t, bool); +void miqt_exec_callback_QSortFilterProxyModel_FilterCaseSensitivityChanged(intptr_t, int); +void miqt_exec_callback_QSortFilterProxyModel_SortCaseSensitivityChanged(intptr_t, int); +void miqt_exec_callback_QSortFilterProxyModel_SortLocaleAwareChanged(intptr_t, bool); +void miqt_exec_callback_QSortFilterProxyModel_SortRoleChanged(intptr_t, int); +void miqt_exec_callback_QSortFilterProxyModel_FilterRoleChanged(intptr_t, int); +void miqt_exec_callback_QSortFilterProxyModel_RecursiveFilteringEnabledChanged(intptr_t, bool); +void miqt_exec_callback_QSortFilterProxyModel_SetSourceModel(void*, intptr_t, QAbstractItemModel*); +QModelIndex* miqt_exec_callback_QSortFilterProxyModel_MapToSource(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QSortFilterProxyModel_MapFromSource(void*, intptr_t, QModelIndex*); +QItemSelection* miqt_exec_callback_QSortFilterProxyModel_MapSelectionToSource(void*, intptr_t, QItemSelection*); +QItemSelection* miqt_exec_callback_QSortFilterProxyModel_MapSelectionFromSource(void*, intptr_t, QItemSelection*); +bool miqt_exec_callback_QSortFilterProxyModel_FilterAcceptsRow(void*, intptr_t, int, QModelIndex*); +bool miqt_exec_callback_QSortFilterProxyModel_FilterAcceptsColumn(void*, intptr_t, int, QModelIndex*); +bool miqt_exec_callback_QSortFilterProxyModel_LessThan(void*, intptr_t, QModelIndex*, QModelIndex*); +QModelIndex* miqt_exec_callback_QSortFilterProxyModel_Index(void*, intptr_t, int, int, QModelIndex*); +QModelIndex* miqt_exec_callback_QSortFilterProxyModel_Parent(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QSortFilterProxyModel_Sibling(void*, intptr_t, int, int, QModelIndex*); +int miqt_exec_callback_QSortFilterProxyModel_RowCount(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QSortFilterProxyModel_ColumnCount(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QSortFilterProxyModel_HasChildren(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QSortFilterProxyModel_Data(void*, intptr_t, QModelIndex*, int); +bool miqt_exec_callback_QSortFilterProxyModel_SetData(void*, intptr_t, QModelIndex*, QVariant*, int); +QVariant* miqt_exec_callback_QSortFilterProxyModel_HeaderData(void*, intptr_t, int, int, int); +bool miqt_exec_callback_QSortFilterProxyModel_SetHeaderData(void*, intptr_t, int, int, QVariant*, int); +QMimeData* miqt_exec_callback_QSortFilterProxyModel_MimeData(void*, intptr_t, struct miqt_array /* of QModelIndex* */ ); +bool miqt_exec_callback_QSortFilterProxyModel_DropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +bool miqt_exec_callback_QSortFilterProxyModel_InsertRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QSortFilterProxyModel_InsertColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QSortFilterProxyModel_RemoveRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QSortFilterProxyModel_RemoveColumns(void*, intptr_t, int, int, QModelIndex*); +void miqt_exec_callback_QSortFilterProxyModel_FetchMore(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QSortFilterProxyModel_CanFetchMore(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QSortFilterProxyModel_Flags(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QSortFilterProxyModel_Buddy(void*, intptr_t, QModelIndex*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QSortFilterProxyModel_Match(void*, intptr_t, QModelIndex*, int, QVariant*, int, int); +QSize* miqt_exec_callback_QSortFilterProxyModel_Span(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QSortFilterProxyModel_Sort(void*, intptr_t, int, int); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QSortFilterProxyModel_MimeTypes(void*, intptr_t); +int miqt_exec_callback_QSortFilterProxyModel_SupportedDropActions(void*, intptr_t); +bool miqt_exec_callback_QSortFilterProxyModel_Submit(void*, intptr_t); +void miqt_exec_callback_QSortFilterProxyModel_Revert(void*, intptr_t); +struct miqt_map /* of int to QVariant* */ miqt_exec_callback_QSortFilterProxyModel_ItemData(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QSortFilterProxyModel_SetItemData(void*, intptr_t, QModelIndex*, struct miqt_map /* of int to QVariant* */ ); +bool miqt_exec_callback_QSortFilterProxyModel_CanDropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +int miqt_exec_callback_QSortFilterProxyModel_SupportedDragActions(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSortFilterProxyModel : public virtual QSortFilterProxyModel { public: diff --git a/qt/gen_qspinbox.cpp b/qt/gen_qspinbox.cpp index 69bb18aa..4f256c58 100644 --- a/qt/gen_qspinbox.cpp +++ b/qt/gen_qspinbox.cpp @@ -25,10 +25,73 @@ #include #include "gen_qspinbox.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSpinBox_ValueChanged(intptr_t, int); +void miqt_exec_callback_QSpinBox_TextChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QSpinBox_ValueChangedWithQString(intptr_t, struct miqt_string); +bool miqt_exec_callback_QSpinBox_Event(void*, intptr_t, QEvent*); +int miqt_exec_callback_QSpinBox_Validate(void*, intptr_t, struct miqt_string, int*); +int miqt_exec_callback_QSpinBox_ValueFromText(void*, intptr_t, struct miqt_string); +struct miqt_string miqt_exec_callback_QSpinBox_TextFromValue(void*, intptr_t, int); +void miqt_exec_callback_QSpinBox_Fixup(void*, intptr_t, struct miqt_string); +QSize* miqt_exec_callback_QSpinBox_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QSpinBox_MinimumSizeHint(void*, intptr_t); +QVariant* miqt_exec_callback_QSpinBox_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QSpinBox_StepBy(void*, intptr_t, int); +void miqt_exec_callback_QSpinBox_Clear(void*, intptr_t); +void miqt_exec_callback_QSpinBox_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QSpinBox_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QSpinBox_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QSpinBox_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QSpinBox_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QSpinBox_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QSpinBox_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QSpinBox_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSpinBox_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QSpinBox_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QSpinBox_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSpinBox_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSpinBox_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSpinBox_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QSpinBox_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QSpinBox_ShowEvent(void*, intptr_t, QShowEvent*); +int miqt_exec_callback_QSpinBox_StepEnabled(void*, intptr_t); +void miqt_exec_callback_QDoubleSpinBox_ValueChanged(intptr_t, double); +void miqt_exec_callback_QDoubleSpinBox_TextChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QDoubleSpinBox_ValueChangedWithQString(intptr_t, struct miqt_string); +int miqt_exec_callback_QDoubleSpinBox_Validate(void*, intptr_t, struct miqt_string, int*); +double miqt_exec_callback_QDoubleSpinBox_ValueFromText(void*, intptr_t, struct miqt_string); +struct miqt_string miqt_exec_callback_QDoubleSpinBox_TextFromValue(void*, intptr_t, double); +void miqt_exec_callback_QDoubleSpinBox_Fixup(void*, intptr_t, struct miqt_string); +QSize* miqt_exec_callback_QDoubleSpinBox_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QDoubleSpinBox_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QDoubleSpinBox_Event(void*, intptr_t, QEvent*); +QVariant* miqt_exec_callback_QDoubleSpinBox_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QDoubleSpinBox_StepBy(void*, intptr_t, int); +void miqt_exec_callback_QDoubleSpinBox_Clear(void*, intptr_t); +void miqt_exec_callback_QDoubleSpinBox_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QDoubleSpinBox_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDoubleSpinBox_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDoubleSpinBox_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QDoubleSpinBox_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QDoubleSpinBox_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QDoubleSpinBox_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QDoubleSpinBox_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDoubleSpinBox_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QDoubleSpinBox_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QDoubleSpinBox_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDoubleSpinBox_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDoubleSpinBox_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDoubleSpinBox_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QDoubleSpinBox_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QDoubleSpinBox_ShowEvent(void*, intptr_t, QShowEvent*); +int miqt_exec_callback_QDoubleSpinBox_StepEnabled(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSpinBox : public virtual QSpinBox { public: diff --git a/qt/gen_qsplashscreen.cpp b/qt/gen_qsplashscreen.cpp index 18012eae..39290863 100644 --- a/qt/gen_qsplashscreen.cpp +++ b/qt/gen_qsplashscreen.cpp @@ -37,10 +37,56 @@ #include #include "gen_qsplashscreen.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSplashScreen_MessageChanged(intptr_t, struct miqt_string); +bool miqt_exec_callback_QSplashScreen_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSplashScreen_DrawContents(void*, intptr_t, QPainter*); +void miqt_exec_callback_QSplashScreen_MousePressEvent(void*, intptr_t, QMouseEvent*); +int miqt_exec_callback_QSplashScreen_DevType(void*, intptr_t); +void miqt_exec_callback_QSplashScreen_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QSplashScreen_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QSplashScreen_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QSplashScreen_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QSplashScreen_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QSplashScreen_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QSplashScreen_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSplashScreen_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSplashScreen_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSplashScreen_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QSplashScreen_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QSplashScreen_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QSplashScreen_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QSplashScreen_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QSplashScreen_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSplashScreen_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSplashScreen_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QSplashScreen_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QSplashScreen_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QSplashScreen_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QSplashScreen_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QSplashScreen_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QSplashScreen_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QSplashScreen_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QSplashScreen_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QSplashScreen_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QSplashScreen_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QSplashScreen_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QSplashScreen_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QSplashScreen_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +void miqt_exec_callback_QSplashScreen_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QSplashScreen_Metric(void*, intptr_t, int); +void miqt_exec_callback_QSplashScreen_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QSplashScreen_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QSplashScreen_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QSplashScreen_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QSplashScreen_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QSplashScreen_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSplashScreen : public virtual QSplashScreen { public: diff --git a/qt/gen_qsplitter.cpp b/qt/gen_qsplitter.cpp index 12257c31..7913d47c 100644 --- a/qt/gen_qsplitter.cpp +++ b/qt/gen_qsplitter.cpp @@ -38,10 +38,63 @@ #include #include "gen_qsplitter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSplitter_SplitterMoved(intptr_t, int, int); +QSize* miqt_exec_callback_QSplitter_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QSplitter_MinimumSizeHint(void*, intptr_t); +QSplitterHandle* miqt_exec_callback_QSplitter_CreateHandle(void*, intptr_t); +void miqt_exec_callback_QSplitter_ChildEvent(void*, intptr_t, QChildEvent*); +bool miqt_exec_callback_QSplitter_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSplitter_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QSplitter_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSplitter_PaintEvent(void*, intptr_t, QPaintEvent*); +QSize* miqt_exec_callback_QSplitterHandle_SizeHint(void*, intptr_t); +void miqt_exec_callback_QSplitterHandle_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QSplitterHandle_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSplitterHandle_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSplitterHandle_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSplitterHandle_ResizeEvent(void*, intptr_t, QResizeEvent*); +bool miqt_exec_callback_QSplitterHandle_Event(void*, intptr_t, QEvent*); +int miqt_exec_callback_QSplitterHandle_DevType(void*, intptr_t); +void miqt_exec_callback_QSplitterHandle_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QSplitterHandle_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QSplitterHandle_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QSplitterHandle_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QSplitterHandle_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QSplitterHandle_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSplitterHandle_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QSplitterHandle_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QSplitterHandle_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QSplitterHandle_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QSplitterHandle_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QSplitterHandle_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSplitterHandle_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSplitterHandle_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QSplitterHandle_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QSplitterHandle_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QSplitterHandle_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QSplitterHandle_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QSplitterHandle_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QSplitterHandle_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QSplitterHandle_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QSplitterHandle_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QSplitterHandle_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QSplitterHandle_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QSplitterHandle_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +void miqt_exec_callback_QSplitterHandle_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QSplitterHandle_Metric(void*, intptr_t, int); +void miqt_exec_callback_QSplitterHandle_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QSplitterHandle_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QSplitterHandle_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QSplitterHandle_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QSplitterHandle_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QSplitterHandle_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSplitter : public virtual QSplitter { public: diff --git a/qt/gen_qstackedlayout.cpp b/qt/gen_qstackedlayout.cpp index 6ccb1a34..351c985a 100644 --- a/qt/gen_qstackedlayout.cpp +++ b/qt/gen_qstackedlayout.cpp @@ -13,10 +13,33 @@ #include #include "gen_qstackedlayout.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QStackedLayout_WidgetRemoved(intptr_t, int); +void miqt_exec_callback_QStackedLayout_CurrentChanged(intptr_t, int); +int miqt_exec_callback_QStackedLayout_Count(void*, intptr_t); +void miqt_exec_callback_QStackedLayout_AddItem(void*, intptr_t, QLayoutItem*); +QSize* miqt_exec_callback_QStackedLayout_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QStackedLayout_MinimumSize(void*, intptr_t); +QLayoutItem* miqt_exec_callback_QStackedLayout_ItemAt(void*, intptr_t, int); +QLayoutItem* miqt_exec_callback_QStackedLayout_TakeAt(void*, intptr_t, int); +void miqt_exec_callback_QStackedLayout_SetGeometry(void*, intptr_t, QRect*); +bool miqt_exec_callback_QStackedLayout_HasHeightForWidth(void*, intptr_t); +int miqt_exec_callback_QStackedLayout_HeightForWidth(void*, intptr_t, int); +void miqt_exec_callback_QStackedLayout_Invalidate(void*, intptr_t); +QRect* miqt_exec_callback_QStackedLayout_Geometry(void*, intptr_t); +int miqt_exec_callback_QStackedLayout_ExpandingDirections(void*, intptr_t); +QSize* miqt_exec_callback_QStackedLayout_MaximumSize(void*, intptr_t); +int miqt_exec_callback_QStackedLayout_IndexOf(void*, intptr_t, QWidget*); +bool miqt_exec_callback_QStackedLayout_IsEmpty(void*, intptr_t); +int miqt_exec_callback_QStackedLayout_ControlTypes(void*, intptr_t); +QLayout* miqt_exec_callback_QStackedLayout_Layout(void*, intptr_t); +void miqt_exec_callback_QStackedLayout_ChildEvent(void*, intptr_t, QChildEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQStackedLayout : public virtual QStackedLayout { public: diff --git a/qt/gen_qstackedwidget.cpp b/qt/gen_qstackedwidget.cpp index 9fa10585..f87c4a33 100644 --- a/qt/gen_qstackedwidget.cpp +++ b/qt/gen_qstackedwidget.cpp @@ -13,10 +13,19 @@ #include #include "gen_qstackedwidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QStackedWidget_CurrentChanged(intptr_t, int); +void miqt_exec_callback_QStackedWidget_WidgetRemoved(intptr_t, int); +bool miqt_exec_callback_QStackedWidget_Event(void*, intptr_t, QEvent*); +QSize* miqt_exec_callback_QStackedWidget_SizeHint(void*, intptr_t); +void miqt_exec_callback_QStackedWidget_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QStackedWidget_ChangeEvent(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQStackedWidget : public virtual QStackedWidget { public: diff --git a/qt/gen_qstandarditemmodel.cpp b/qt/gen_qstandarditemmodel.cpp index 935daa80..72fd5180 100644 --- a/qt/gen_qstandarditemmodel.cpp +++ b/qt/gen_qstandarditemmodel.cpp @@ -20,10 +20,55 @@ #include #include "gen_qstandarditemmodel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QVariant* miqt_exec_callback_QStandardItem_Data(void*, intptr_t, int); +void miqt_exec_callback_QStandardItem_SetData(void*, intptr_t, QVariant*, int); +QStandardItem* miqt_exec_callback_QStandardItem_Clone(void*, intptr_t); +int miqt_exec_callback_QStandardItem_Type(void*, intptr_t); +void miqt_exec_callback_QStandardItem_Read(void*, intptr_t, QDataStream*); +void miqt_exec_callback_QStandardItem_Write(void*, intptr_t, QDataStream*); +bool miqt_exec_callback_QStandardItem_OperatorLesser(void*, intptr_t, QStandardItem*); +void miqt_exec_callback_QStandardItemModel_ItemChanged(intptr_t, QStandardItem*); +QModelIndex* miqt_exec_callback_QStandardItemModel_Index(void*, intptr_t, int, int, QModelIndex*); +QModelIndex* miqt_exec_callback_QStandardItemModel_Parent(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QStandardItemModel_RowCount(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QStandardItemModel_ColumnCount(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QStandardItemModel_HasChildren(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QStandardItemModel_Sibling(void*, intptr_t, int, int, QModelIndex*); +QVariant* miqt_exec_callback_QStandardItemModel_Data(void*, intptr_t, QModelIndex*, int); +bool miqt_exec_callback_QStandardItemModel_SetData(void*, intptr_t, QModelIndex*, QVariant*, int); +QVariant* miqt_exec_callback_QStandardItemModel_HeaderData(void*, intptr_t, int, int, int); +bool miqt_exec_callback_QStandardItemModel_SetHeaderData(void*, intptr_t, int, int, QVariant*, int); +bool miqt_exec_callback_QStandardItemModel_InsertRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QStandardItemModel_InsertColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QStandardItemModel_RemoveRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QStandardItemModel_RemoveColumns(void*, intptr_t, int, int, QModelIndex*); +int miqt_exec_callback_QStandardItemModel_Flags(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QStandardItemModel_SupportedDropActions(void*, intptr_t); +struct miqt_map /* of int to QVariant* */ miqt_exec_callback_QStandardItemModel_ItemData(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QStandardItemModel_SetItemData(void*, intptr_t, QModelIndex*, struct miqt_map /* of int to QVariant* */ ); +void miqt_exec_callback_QStandardItemModel_Sort(void*, intptr_t, int, int); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QStandardItemModel_MimeTypes(void*, intptr_t); +QMimeData* miqt_exec_callback_QStandardItemModel_MimeData(void*, intptr_t, struct miqt_array /* of QModelIndex* */ ); +bool miqt_exec_callback_QStandardItemModel_DropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +bool miqt_exec_callback_QStandardItemModel_CanDropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +int miqt_exec_callback_QStandardItemModel_SupportedDragActions(void*, intptr_t); +bool miqt_exec_callback_QStandardItemModel_MoveRows(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +bool miqt_exec_callback_QStandardItemModel_MoveColumns(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +void miqt_exec_callback_QStandardItemModel_FetchMore(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QStandardItemModel_CanFetchMore(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QStandardItemModel_Buddy(void*, intptr_t, QModelIndex*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QStandardItemModel_Match(void*, intptr_t, QModelIndex*, int, QVariant*, int, int); +QSize* miqt_exec_callback_QStandardItemModel_Span(void*, intptr_t, QModelIndex*); +struct miqt_map /* of int to struct miqt_string */ miqt_exec_callback_QStandardItemModel_RoleNames(void*, intptr_t); +bool miqt_exec_callback_QStandardItemModel_Submit(void*, intptr_t); +void miqt_exec_callback_QStandardItemModel_Revert(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQStandardItem : public virtual QStandardItem { public: diff --git a/qt/gen_qstandardpaths.cpp b/qt/gen_qstandardpaths.cpp index 8acd303b..7bb1fa06 100644 --- a/qt/gen_qstandardpaths.cpp +++ b/qt/gen_qstandardpaths.cpp @@ -6,10 +6,13 @@ #include #include "gen_qstandardpaths.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" struct miqt_string QStandardPaths_WritableLocation(int typeVal) { QString _ret = QStandardPaths::writableLocation(static_cast(typeVal)); diff --git a/qt/gen_qstate.cpp b/qt/gen_qstate.cpp index fc9b2a69..048fdc69 100644 --- a/qt/gen_qstate.cpp +++ b/qt/gen_qstate.cpp @@ -13,10 +13,16 @@ #include #include "gen_qstate.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QState_OnEntry(void*, intptr_t, QEvent*); +void miqt_exec_callback_QState_OnExit(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QState_Event(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQState : public virtual QState { public: diff --git a/qt/gen_qstatemachine.cpp b/qt/gen_qstatemachine.cpp index 6b9f385a..1f0ab978 100644 --- a/qt/gen_qstatemachine.cpp +++ b/qt/gen_qstatemachine.cpp @@ -15,10 +15,22 @@ #include #include "gen_qstatemachine.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QStateMachine_RunningChanged(intptr_t, bool); +bool miqt_exec_callback_QStateMachine_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QStateMachine_OnEntry(void*, intptr_t, QEvent*); +void miqt_exec_callback_QStateMachine_OnExit(void*, intptr_t, QEvent*); +void miqt_exec_callback_QStateMachine_BeginSelectTransitions(void*, intptr_t, QEvent*); +void miqt_exec_callback_QStateMachine_EndSelectTransitions(void*, intptr_t, QEvent*); +void miqt_exec_callback_QStateMachine_BeginMicrostep(void*, intptr_t, QEvent*); +void miqt_exec_callback_QStateMachine_EndMicrostep(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QStateMachine_Event(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQStateMachine : public virtual QStateMachine { public: diff --git a/qt/gen_qstatictext.cpp b/qt/gen_qstatictext.cpp index f7b67f37..a4d678b9 100644 --- a/qt/gen_qstatictext.cpp +++ b/qt/gen_qstatictext.cpp @@ -9,10 +9,13 @@ #include #include "gen_qstatictext.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QStaticText* QStaticText_new() { return new QStaticText(); diff --git a/qt/gen_qstatusbar.cpp b/qt/gen_qstatusbar.cpp index aa81ab41..d09b2f61 100644 --- a/qt/gen_qstatusbar.cpp +++ b/qt/gen_qstatusbar.cpp @@ -34,10 +34,55 @@ #include #include "gen_qstatusbar.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QStatusBar_MessageChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QStatusBar_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QStatusBar_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QStatusBar_ResizeEvent(void*, intptr_t, QResizeEvent*); +bool miqt_exec_callback_QStatusBar_Event(void*, intptr_t, QEvent*); +int miqt_exec_callback_QStatusBar_DevType(void*, intptr_t); +void miqt_exec_callback_QStatusBar_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QStatusBar_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QStatusBar_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QStatusBar_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QStatusBar_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QStatusBar_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QStatusBar_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QStatusBar_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QStatusBar_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QStatusBar_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QStatusBar_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QStatusBar_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QStatusBar_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QStatusBar_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QStatusBar_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QStatusBar_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QStatusBar_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QStatusBar_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QStatusBar_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QStatusBar_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QStatusBar_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QStatusBar_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QStatusBar_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QStatusBar_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QStatusBar_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QStatusBar_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QStatusBar_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QStatusBar_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +void miqt_exec_callback_QStatusBar_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QStatusBar_Metric(void*, intptr_t, int); +void miqt_exec_callback_QStatusBar_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QStatusBar_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QStatusBar_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QStatusBar_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QStatusBar_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QStatusBar_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQStatusBar : public virtual QStatusBar { public: diff --git a/qt/gen_qstorageinfo.cpp b/qt/gen_qstorageinfo.cpp index 1de4580c..b124a3ea 100644 --- a/qt/gen_qstorageinfo.cpp +++ b/qt/gen_qstorageinfo.cpp @@ -8,10 +8,13 @@ #include #include "gen_qstorageinfo.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QStorageInfo* QStorageInfo_new() { return new QStorageInfo(); diff --git a/qt/gen_qstringbuilder.cpp b/qt/gen_qstringbuilder.cpp index df2298fb..12612395 100644 --- a/qt/gen_qstringbuilder.cpp +++ b/qt/gen_qstringbuilder.cpp @@ -1,10 +1,13 @@ #include #include "gen_qstringbuilder.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QAbstractConcatenable_Delete(QAbstractConcatenable* self, bool isSubclass) { if (isSubclass) { diff --git a/qt/gen_qstringlistmodel.cpp b/qt/gen_qstringlistmodel.cpp index f142bf6d..ac4ea33d 100644 --- a/qt/gen_qstringlistmodel.cpp +++ b/qt/gen_qstringlistmodel.cpp @@ -14,10 +14,27 @@ #include #include "gen_qstringlistmodel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QStringListModel_RowCount(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QStringListModel_Sibling(void*, intptr_t, int, int, QModelIndex*); +QVariant* miqt_exec_callback_QStringListModel_Data(void*, intptr_t, QModelIndex*, int); +bool miqt_exec_callback_QStringListModel_SetData(void*, intptr_t, QModelIndex*, QVariant*, int); +int miqt_exec_callback_QStringListModel_Flags(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QStringListModel_InsertRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QStringListModel_RemoveRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QStringListModel_MoveRows(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +struct miqt_map /* of int to QVariant* */ miqt_exec_callback_QStringListModel_ItemData(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QStringListModel_SetItemData(void*, intptr_t, QModelIndex*, struct miqt_map /* of int to QVariant* */ ); +void miqt_exec_callback_QStringListModel_Sort(void*, intptr_t, int, int); +int miqt_exec_callback_QStringListModel_SupportedDropActions(void*, intptr_t); +QModelIndex* miqt_exec_callback_QStringListModel_Index(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QStringListModel_DropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQStringListModel : public virtual QStringListModel { public: diff --git a/qt/gen_qstringliteral.cpp b/qt/gen_qstringliteral.cpp index d32f863c..2ffef722 100644 --- a/qt/gen_qstringliteral.cpp +++ b/qt/gen_qstringliteral.cpp @@ -2,10 +2,13 @@ #include #include "gen_qstringliteral.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QStringDataPtr_Delete(QStringDataPtr* self, bool isSubclass) { if (isSubclass) { diff --git a/qt/gen_qstringmatcher.cpp b/qt/gen_qstringmatcher.cpp index 9d98182c..a0aaafab 100644 --- a/qt/gen_qstringmatcher.cpp +++ b/qt/gen_qstringmatcher.cpp @@ -6,10 +6,13 @@ #include #include "gen_qstringmatcher.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QStringMatcher* QStringMatcher_new() { return new QStringMatcher(); diff --git a/qt/gen_qstringview.cpp b/qt/gen_qstringview.cpp index 5e634ef9..f99f2247 100644 --- a/qt/gen_qstringview.cpp +++ b/qt/gen_qstringview.cpp @@ -8,10 +8,13 @@ #include #include "gen_qstringview.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QStringView* QStringView_new() { return new QStringView(); diff --git a/qt/gen_qstyle.cpp b/qt/gen_qstyle.cpp index 4152f982..cf064ec7 100644 --- a/qt/gen_qstyle.cpp +++ b/qt/gen_qstyle.cpp @@ -24,10 +24,43 @@ #include #include "gen_qstyle.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QStyle_Polish(void*, intptr_t, QWidget*); +void miqt_exec_callback_QStyle_Unpolish(void*, intptr_t, QWidget*); +void miqt_exec_callback_QStyle_PolishWithApplication(void*, intptr_t, QApplication*); +void miqt_exec_callback_QStyle_UnpolishWithApplication(void*, intptr_t, QApplication*); +void miqt_exec_callback_QStyle_PolishWithPalette(void*, intptr_t, QPalette*); +QRect* miqt_exec_callback_QStyle_ItemTextRect(void*, intptr_t, QFontMetrics*, QRect*, int, bool, struct miqt_string); +QRect* miqt_exec_callback_QStyle_ItemPixmapRect(void*, intptr_t, QRect*, int, QPixmap*); +void miqt_exec_callback_QStyle_DrawItemText(void*, intptr_t, QPainter*, QRect*, int, QPalette*, bool, struct miqt_string, int); +void miqt_exec_callback_QStyle_DrawItemPixmap(void*, intptr_t, QPainter*, QRect*, int, QPixmap*); +QPalette* miqt_exec_callback_QStyle_StandardPalette(void*, intptr_t); +void miqt_exec_callback_QStyle_DrawPrimitive(void*, intptr_t, int, QStyleOption*, QPainter*, QWidget*); +void miqt_exec_callback_QStyle_DrawControl(void*, intptr_t, int, QStyleOption*, QPainter*, QWidget*); +QRect* miqt_exec_callback_QStyle_SubElementRect(void*, intptr_t, int, QStyleOption*, QWidget*); +void miqt_exec_callback_QStyle_DrawComplexControl(void*, intptr_t, int, QStyleOptionComplex*, QPainter*, QWidget*); +int miqt_exec_callback_QStyle_HitTestComplexControl(void*, intptr_t, int, QStyleOptionComplex*, QPoint*, QWidget*); +QRect* miqt_exec_callback_QStyle_SubControlRect(void*, intptr_t, int, QStyleOptionComplex*, int, QWidget*); +int miqt_exec_callback_QStyle_PixelMetric(void*, intptr_t, int, QStyleOption*, QWidget*); +QSize* miqt_exec_callback_QStyle_SizeFromContents(void*, intptr_t, int, QStyleOption*, QSize*, QWidget*); +int miqt_exec_callback_QStyle_StyleHint(void*, intptr_t, int, QStyleOption*, QWidget*, QStyleHintReturn*); +QPixmap* miqt_exec_callback_QStyle_StandardPixmap(void*, intptr_t, int, QStyleOption*, QWidget*); +QIcon* miqt_exec_callback_QStyle_StandardIcon(void*, intptr_t, int, QStyleOption*, QWidget*); +QPixmap* miqt_exec_callback_QStyle_GeneratedIconPixmap(void*, intptr_t, int, QPixmap*, QStyleOption*); +int miqt_exec_callback_QStyle_LayoutSpacing(void*, intptr_t, int, int, int, QStyleOption*, QWidget*); +bool miqt_exec_callback_QStyle_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QStyle_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QStyle_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QStyle_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QStyle_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QStyle_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QStyle_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQStyle : public virtual QStyle { public: diff --git a/qt/gen_qstyleditemdelegate.cpp b/qt/gen_qstyleditemdelegate.cpp index 73f8b5d4..a5c12826 100644 --- a/qt/gen_qstyleditemdelegate.cpp +++ b/qt/gen_qstyleditemdelegate.cpp @@ -21,10 +21,26 @@ #include #include "gen_qstyleditemdelegate.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QStyledItemDelegate_Paint(void*, intptr_t, QPainter*, QStyleOptionViewItem*, QModelIndex*); +QSize* miqt_exec_callback_QStyledItemDelegate_SizeHint(void*, intptr_t, QStyleOptionViewItem*, QModelIndex*); +QWidget* miqt_exec_callback_QStyledItemDelegate_CreateEditor(void*, intptr_t, QWidget*, QStyleOptionViewItem*, QModelIndex*); +void miqt_exec_callback_QStyledItemDelegate_SetEditorData(void*, intptr_t, QWidget*, QModelIndex*); +void miqt_exec_callback_QStyledItemDelegate_SetModelData(void*, intptr_t, QWidget*, QAbstractItemModel*, QModelIndex*); +void miqt_exec_callback_QStyledItemDelegate_UpdateEditorGeometry(void*, intptr_t, QWidget*, QStyleOptionViewItem*, QModelIndex*); +struct miqt_string miqt_exec_callback_QStyledItemDelegate_DisplayText(void*, intptr_t, QVariant*, QLocale*); +void miqt_exec_callback_QStyledItemDelegate_InitStyleOption(void*, intptr_t, QStyleOptionViewItem*, QModelIndex*); +bool miqt_exec_callback_QStyledItemDelegate_EventFilter(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QStyledItemDelegate_EditorEvent(void*, intptr_t, QEvent*, QAbstractItemModel*, QStyleOptionViewItem*, QModelIndex*); +void miqt_exec_callback_QStyledItemDelegate_DestroyEditor(void*, intptr_t, QWidget*, QModelIndex*); +bool miqt_exec_callback_QStyledItemDelegate_HelpEvent(void*, intptr_t, QHelpEvent*, QAbstractItemView*, QStyleOptionViewItem*, QModelIndex*); +struct miqt_array /* of int */ miqt_exec_callback_QStyledItemDelegate_PaintingRoles(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQStyledItemDelegate : public virtual QStyledItemDelegate { public: diff --git a/qt/gen_qstylefactory.cpp b/qt/gen_qstylefactory.cpp index 6bf9443c..38d7168f 100644 --- a/qt/gen_qstylefactory.cpp +++ b/qt/gen_qstylefactory.cpp @@ -7,10 +7,13 @@ #include #include "gen_qstylefactory.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" struct miqt_array /* of struct miqt_string */ QStyleFactory_Keys() { QStringList _ret = QStyleFactory::keys(); diff --git a/qt/gen_qstylehints.cpp b/qt/gen_qstylehints.cpp index ac734f52..519862af 100644 --- a/qt/gen_qstylehints.cpp +++ b/qt/gen_qstylehints.cpp @@ -8,10 +8,24 @@ #include #include "gen_qstylehints.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QStyleHints_CursorFlashTimeChanged(intptr_t, int); +void miqt_exec_callback_QStyleHints_KeyboardInputIntervalChanged(intptr_t, int); +void miqt_exec_callback_QStyleHints_MouseDoubleClickIntervalChanged(intptr_t, int); +void miqt_exec_callback_QStyleHints_MousePressAndHoldIntervalChanged(intptr_t, int); +void miqt_exec_callback_QStyleHints_StartDragDistanceChanged(intptr_t, int); +void miqt_exec_callback_QStyleHints_StartDragTimeChanged(intptr_t, int); +void miqt_exec_callback_QStyleHints_TabFocusBehaviorChanged(intptr_t, int); +void miqt_exec_callback_QStyleHints_UseHoverEffectsChanged(intptr_t, bool); +void miqt_exec_callback_QStyleHints_ShowShortcutsInContextMenusChanged(intptr_t, bool); +void miqt_exec_callback_QStyleHints_WheelScrollLinesChanged(intptr_t, int); +void miqt_exec_callback_QStyleHints_MouseQuickSelectionThresholdChanged(intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QStyleHints_virtbase(QStyleHints* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt/gen_qstyleoption.cpp b/qt/gen_qstyleoption.cpp index d07ba0bf..9bf49cb2 100644 --- a/qt/gen_qstyleoption.cpp +++ b/qt/gen_qstyleoption.cpp @@ -31,10 +31,13 @@ #include #include "gen_qstyleoption.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QStyleOption* QStyleOption_new() { return new QStyleOption(); diff --git a/qt/gen_qstylepainter.cpp b/qt/gen_qstylepainter.cpp index 18bae40f..7c9c725e 100644 --- a/qt/gen_qstylepainter.cpp +++ b/qt/gen_qstylepainter.cpp @@ -14,10 +14,13 @@ #include #include "gen_qstylepainter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QStylePainter* QStylePainter_new(QWidget* w) { return new QStylePainter(w); diff --git a/qt/gen_qstyleplugin.cpp b/qt/gen_qstyleplugin.cpp index 8827d64b..29df482a 100644 --- a/qt/gen_qstyleplugin.cpp +++ b/qt/gen_qstyleplugin.cpp @@ -12,10 +12,21 @@ #include #include "gen_qstyleplugin.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QStyle* miqt_exec_callback_QStylePlugin_Create(void*, intptr_t, struct miqt_string); +bool miqt_exec_callback_QStylePlugin_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QStylePlugin_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QStylePlugin_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QStylePlugin_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QStylePlugin_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QStylePlugin_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QStylePlugin_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQStylePlugin : public virtual QStylePlugin { public: diff --git a/qt/gen_qsurface.cpp b/qt/gen_qsurface.cpp index ae706d33..d252664c 100644 --- a/qt/gen_qsurface.cpp +++ b/qt/gen_qsurface.cpp @@ -4,10 +4,13 @@ #include #include "gen_qsurface.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" int QSurface_SurfaceClass(const QSurface* self) { QSurface::SurfaceClass _ret = self->surfaceClass(); diff --git a/qt/gen_qsurfaceformat.cpp b/qt/gen_qsurfaceformat.cpp index 874b9e59..3268f615 100644 --- a/qt/gen_qsurfaceformat.cpp +++ b/qt/gen_qsurfaceformat.cpp @@ -3,10 +3,13 @@ #include #include "gen_qsurfaceformat.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSurfaceFormat* QSurfaceFormat_new() { return new QSurfaceFormat(); diff --git a/qt/gen_qsyntaxhighlighter.cpp b/qt/gen_qsyntaxhighlighter.cpp index a1bdbc08..4bc84f23 100644 --- a/qt/gen_qsyntaxhighlighter.cpp +++ b/qt/gen_qsyntaxhighlighter.cpp @@ -13,10 +13,21 @@ #include #include "gen_qsyntaxhighlighter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSyntaxHighlighter_HighlightBlock(void*, intptr_t, struct miqt_string); +bool miqt_exec_callback_QSyntaxHighlighter_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QSyntaxHighlighter_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QSyntaxHighlighter_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QSyntaxHighlighter_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QSyntaxHighlighter_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSyntaxHighlighter_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QSyntaxHighlighter_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSyntaxHighlighter : public virtual QSyntaxHighlighter { public: diff --git a/qt/gen_qsystemsemaphore.cpp b/qt/gen_qsystemsemaphore.cpp index 253f624c..88d507e3 100644 --- a/qt/gen_qsystemsemaphore.cpp +++ b/qt/gen_qsystemsemaphore.cpp @@ -5,10 +5,13 @@ #include #include "gen_qsystemsemaphore.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSystemSemaphore* QSystemSemaphore_new(struct miqt_string key) { QString key_QString = QString::fromUtf8(key.data, key.len); diff --git a/qt/gen_qsystemtrayicon.cpp b/qt/gen_qsystemtrayicon.cpp index 370f4ddd..bfaa761b 100644 --- a/qt/gen_qsystemtrayicon.cpp +++ b/qt/gen_qsystemtrayicon.cpp @@ -14,10 +14,22 @@ #include #include "gen_qsystemtrayicon.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSystemTrayIcon_Activated(intptr_t, int); +void miqt_exec_callback_QSystemTrayIcon_MessageClicked(intptr_t); +bool miqt_exec_callback_QSystemTrayIcon_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QSystemTrayIcon_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QSystemTrayIcon_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QSystemTrayIcon_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QSystemTrayIcon_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSystemTrayIcon_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QSystemTrayIcon_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSystemTrayIcon : public virtual QSystemTrayIcon { public: diff --git a/qt/gen_qtabbar.cpp b/qt/gen_qtabbar.cpp index 05d843d6..1696468e 100644 --- a/qt/gen_qtabbar.cpp +++ b/qt/gen_qtabbar.cpp @@ -38,10 +38,65 @@ #include #include "gen_qtabbar.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QTabBar_CurrentChanged(intptr_t, int); +void miqt_exec_callback_QTabBar_TabCloseRequested(intptr_t, int); +void miqt_exec_callback_QTabBar_TabMoved(intptr_t, int, int); +void miqt_exec_callback_QTabBar_TabBarClicked(intptr_t, int); +void miqt_exec_callback_QTabBar_TabBarDoubleClicked(intptr_t, int); +QSize* miqt_exec_callback_QTabBar_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QTabBar_MinimumSizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QTabBar_TabSizeHint(void*, intptr_t, int); +QSize* miqt_exec_callback_QTabBar_MinimumTabSizeHint(void*, intptr_t, int); +void miqt_exec_callback_QTabBar_TabInserted(void*, intptr_t, int); +void miqt_exec_callback_QTabBar_TabRemoved(void*, intptr_t, int); +void miqt_exec_callback_QTabBar_TabLayoutChange(void*, intptr_t); +bool miqt_exec_callback_QTabBar_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTabBar_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QTabBar_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QTabBar_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QTabBar_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QTabBar_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTabBar_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTabBar_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTabBar_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QTabBar_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QTabBar_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTabBar_TimerEvent(void*, intptr_t, QTimerEvent*); +int miqt_exec_callback_QTabBar_DevType(void*, intptr_t); +void miqt_exec_callback_QTabBar_SetVisible(void*, intptr_t, bool); +int miqt_exec_callback_QTabBar_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QTabBar_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QTabBar_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QTabBar_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTabBar_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QTabBar_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QTabBar_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QTabBar_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTabBar_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTabBar_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QTabBar_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QTabBar_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QTabBar_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QTabBar_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QTabBar_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QTabBar_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QTabBar_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QTabBar_DropEvent(void*, intptr_t, QDropEvent*); +bool miqt_exec_callback_QTabBar_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +int miqt_exec_callback_QTabBar_Metric(void*, intptr_t, int); +void miqt_exec_callback_QTabBar_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QTabBar_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QTabBar_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QTabBar_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QTabBar_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QTabBar_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTabBar : public virtual QTabBar { public: diff --git a/qt/gen_qtableview.cpp b/qt/gen_qtableview.cpp index 7ebc7429..a2a99ad9 100644 --- a/qt/gen_qtableview.cpp +++ b/qt/gen_qtableview.cpp @@ -36,10 +36,73 @@ #include #include "gen_qtableview.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QTableView_SetModel(void*, intptr_t, QAbstractItemModel*); +void miqt_exec_callback_QTableView_SetRootIndex(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTableView_SetSelectionModel(void*, intptr_t, QItemSelectionModel*); +void miqt_exec_callback_QTableView_DoItemsLayout(void*, intptr_t); +QRect* miqt_exec_callback_QTableView_VisualRect(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTableView_ScrollTo(void*, intptr_t, QModelIndex*, int); +QModelIndex* miqt_exec_callback_QTableView_IndexAt(void*, intptr_t, QPoint*); +void miqt_exec_callback_QTableView_ScrollContentsBy(void*, intptr_t, int, int); +QStyleOptionViewItem* miqt_exec_callback_QTableView_ViewOptions(void*, intptr_t); +void miqt_exec_callback_QTableView_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QTableView_TimerEvent(void*, intptr_t, QTimerEvent*); +int miqt_exec_callback_QTableView_HorizontalOffset(void*, intptr_t); +int miqt_exec_callback_QTableView_VerticalOffset(void*, intptr_t); +QModelIndex* miqt_exec_callback_QTableView_MoveCursor(void*, intptr_t, int, int); +void miqt_exec_callback_QTableView_SetSelection(void*, intptr_t, QRect*, int); +QRegion* miqt_exec_callback_QTableView_VisualRegionForSelection(void*, intptr_t, QItemSelection*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QTableView_SelectedIndexes(void*, intptr_t); +void miqt_exec_callback_QTableView_UpdateGeometries(void*, intptr_t); +QSize* miqt_exec_callback_QTableView_ViewportSizeHint(void*, intptr_t); +int miqt_exec_callback_QTableView_SizeHintForRow(void*, intptr_t, int); +int miqt_exec_callback_QTableView_SizeHintForColumn(void*, intptr_t, int); +void miqt_exec_callback_QTableView_VerticalScrollbarAction(void*, intptr_t, int); +void miqt_exec_callback_QTableView_HorizontalScrollbarAction(void*, intptr_t, int); +bool miqt_exec_callback_QTableView_IsIndexHidden(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTableView_SelectionChanged(void*, intptr_t, QItemSelection*, QItemSelection*); +void miqt_exec_callback_QTableView_CurrentChanged(void*, intptr_t, QModelIndex*, QModelIndex*); +void miqt_exec_callback_QTableView_KeyboardSearch(void*, intptr_t, struct miqt_string); +QVariant* miqt_exec_callback_QTableView_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QTableView_Reset(void*, intptr_t); +void miqt_exec_callback_QTableView_SelectAll(void*, intptr_t); +void miqt_exec_callback_QTableView_DataChanged(void*, intptr_t, QModelIndex*, QModelIndex*, struct miqt_array /* of int */ ); +void miqt_exec_callback_QTableView_RowsInserted(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QTableView_RowsAboutToBeRemoved(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QTableView_UpdateEditorData(void*, intptr_t); +void miqt_exec_callback_QTableView_UpdateEditorGeometries(void*, intptr_t); +void miqt_exec_callback_QTableView_VerticalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QTableView_HorizontalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QTableView_CloseEditor(void*, intptr_t, QWidget*, int); +void miqt_exec_callback_QTableView_CommitData(void*, intptr_t, QWidget*); +void miqt_exec_callback_QTableView_EditorDestroyed(void*, intptr_t, QObject*); +bool miqt_exec_callback_QTableView_Edit2(void*, intptr_t, QModelIndex*, int, QEvent*); +int miqt_exec_callback_QTableView_SelectionCommand(void*, intptr_t, QModelIndex*, QEvent*); +void miqt_exec_callback_QTableView_StartDrag(void*, intptr_t, int); +bool miqt_exec_callback_QTableView_FocusNextPrevChild(void*, intptr_t, bool); +bool miqt_exec_callback_QTableView_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QTableView_ViewportEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTableView_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTableView_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTableView_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTableView_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTableView_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QTableView_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QTableView_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QTableView_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QTableView_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QTableView_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QTableView_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QTableView_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QTableView_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +bool miqt_exec_callback_QTableView_EventFilter(void*, intptr_t, QObject*, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTableView : public virtual QTableView { public: diff --git a/qt/gen_qtablewidget.cpp b/qt/gen_qtablewidget.cpp index ee8965bf..b62c7f2f 100644 --- a/qt/gen_qtablewidget.cpp +++ b/qt/gen_qtablewidget.cpp @@ -35,10 +35,65 @@ #include #include "gen_qtablewidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QTableWidgetItem* miqt_exec_callback_QTableWidgetItem_Clone(void*, intptr_t); +QVariant* miqt_exec_callback_QTableWidgetItem_Data(void*, intptr_t, int); +void miqt_exec_callback_QTableWidgetItem_SetData(void*, intptr_t, int, QVariant*); +bool miqt_exec_callback_QTableWidgetItem_OperatorLesser(void*, intptr_t, QTableWidgetItem*); +void miqt_exec_callback_QTableWidgetItem_Read(void*, intptr_t, QDataStream*); +void miqt_exec_callback_QTableWidgetItem_Write(void*, intptr_t, QDataStream*); +void miqt_exec_callback_QTableWidget_ItemPressed(intptr_t, QTableWidgetItem*); +void miqt_exec_callback_QTableWidget_ItemClicked(intptr_t, QTableWidgetItem*); +void miqt_exec_callback_QTableWidget_ItemDoubleClicked(intptr_t, QTableWidgetItem*); +void miqt_exec_callback_QTableWidget_ItemActivated(intptr_t, QTableWidgetItem*); +void miqt_exec_callback_QTableWidget_ItemEntered(intptr_t, QTableWidgetItem*); +void miqt_exec_callback_QTableWidget_ItemChanged(intptr_t, QTableWidgetItem*); +void miqt_exec_callback_QTableWidget_CurrentItemChanged(intptr_t, QTableWidgetItem*, QTableWidgetItem*); +void miqt_exec_callback_QTableWidget_ItemSelectionChanged(intptr_t); +void miqt_exec_callback_QTableWidget_CellPressed(intptr_t, int, int); +void miqt_exec_callback_QTableWidget_CellClicked(intptr_t, int, int); +void miqt_exec_callback_QTableWidget_CellDoubleClicked(intptr_t, int, int); +void miqt_exec_callback_QTableWidget_CellActivated(intptr_t, int, int); +void miqt_exec_callback_QTableWidget_CellEntered(intptr_t, int, int); +void miqt_exec_callback_QTableWidget_CellChanged(intptr_t, int, int); +void miqt_exec_callback_QTableWidget_CurrentCellChanged(intptr_t, int, int, int, int); +bool miqt_exec_callback_QTableWidget_Event(void*, intptr_t, QEvent*); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QTableWidget_MimeTypes(void*, intptr_t); +QMimeData* miqt_exec_callback_QTableWidget_MimeData(void*, intptr_t, struct miqt_array /* of QTableWidgetItem* */ ); +bool miqt_exec_callback_QTableWidget_DropMimeData(void*, intptr_t, int, int, QMimeData*, int); +int miqt_exec_callback_QTableWidget_SupportedDropActions(void*, intptr_t); +void miqt_exec_callback_QTableWidget_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QTableWidget_SetRootIndex(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTableWidget_SetSelectionModel(void*, intptr_t, QItemSelectionModel*); +void miqt_exec_callback_QTableWidget_DoItemsLayout(void*, intptr_t); +QRect* miqt_exec_callback_QTableWidget_VisualRect(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTableWidget_ScrollTo(void*, intptr_t, QModelIndex*, int); +QModelIndex* miqt_exec_callback_QTableWidget_IndexAt(void*, intptr_t, QPoint*); +void miqt_exec_callback_QTableWidget_ScrollContentsBy(void*, intptr_t, int, int); +QStyleOptionViewItem* miqt_exec_callback_QTableWidget_ViewOptions(void*, intptr_t); +void miqt_exec_callback_QTableWidget_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QTableWidget_TimerEvent(void*, intptr_t, QTimerEvent*); +int miqt_exec_callback_QTableWidget_HorizontalOffset(void*, intptr_t); +int miqt_exec_callback_QTableWidget_VerticalOffset(void*, intptr_t); +QModelIndex* miqt_exec_callback_QTableWidget_MoveCursor(void*, intptr_t, int, int); +void miqt_exec_callback_QTableWidget_SetSelection(void*, intptr_t, QRect*, int); +QRegion* miqt_exec_callback_QTableWidget_VisualRegionForSelection(void*, intptr_t, QItemSelection*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QTableWidget_SelectedIndexes(void*, intptr_t); +void miqt_exec_callback_QTableWidget_UpdateGeometries(void*, intptr_t); +QSize* miqt_exec_callback_QTableWidget_ViewportSizeHint(void*, intptr_t); +int miqt_exec_callback_QTableWidget_SizeHintForRow(void*, intptr_t, int); +int miqt_exec_callback_QTableWidget_SizeHintForColumn(void*, intptr_t, int); +void miqt_exec_callback_QTableWidget_VerticalScrollbarAction(void*, intptr_t, int); +void miqt_exec_callback_QTableWidget_HorizontalScrollbarAction(void*, intptr_t, int); +bool miqt_exec_callback_QTableWidget_IsIndexHidden(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTableWidget_SelectionChanged(void*, intptr_t, QItemSelection*, QItemSelection*); +void miqt_exec_callback_QTableWidget_CurrentChanged(void*, intptr_t, QModelIndex*, QModelIndex*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTableWidgetSelectionRange* QTableWidgetSelectionRange_new() { return new QTableWidgetSelectionRange(); diff --git a/qt/gen_qtabwidget.cpp b/qt/gen_qtabwidget.cpp index 38a45d04..6487a3f1 100644 --- a/qt/gen_qtabwidget.cpp +++ b/qt/gen_qtabwidget.cpp @@ -36,10 +36,60 @@ #include #include "gen_qtabwidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QTabWidget_CurrentChanged(intptr_t, int); +void miqt_exec_callback_QTabWidget_TabCloseRequested(intptr_t, int); +void miqt_exec_callback_QTabWidget_TabBarClicked(intptr_t, int); +void miqt_exec_callback_QTabWidget_TabBarDoubleClicked(intptr_t, int); +QSize* miqt_exec_callback_QTabWidget_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QTabWidget_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QTabWidget_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QTabWidget_HasHeightForWidth(void*, intptr_t); +void miqt_exec_callback_QTabWidget_TabInserted(void*, intptr_t, int); +void miqt_exec_callback_QTabWidget_TabRemoved(void*, intptr_t, int); +void miqt_exec_callback_QTabWidget_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QTabWidget_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QTabWidget_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QTabWidget_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QTabWidget_ChangeEvent(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QTabWidget_Event(void*, intptr_t, QEvent*); +int miqt_exec_callback_QTabWidget_DevType(void*, intptr_t); +void miqt_exec_callback_QTabWidget_SetVisible(void*, intptr_t, bool); +QPaintEngine* miqt_exec_callback_QTabWidget_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QTabWidget_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTabWidget_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTabWidget_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTabWidget_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTabWidget_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QTabWidget_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QTabWidget_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QTabWidget_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QTabWidget_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTabWidget_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTabWidget_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QTabWidget_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QTabWidget_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QTabWidget_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QTabWidget_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QTabWidget_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QTabWidget_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QTabWidget_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QTabWidget_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QTabWidget_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QTabWidget_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +int miqt_exec_callback_QTabWidget_Metric(void*, intptr_t, int); +void miqt_exec_callback_QTabWidget_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QTabWidget_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QTabWidget_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QTabWidget_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QTabWidget_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QTabWidget_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTabWidget : public virtual QTabWidget { public: diff --git a/qt/gen_qtemporarydir.cpp b/qt/gen_qtemporarydir.cpp index 0853116f..81deea00 100644 --- a/qt/gen_qtemporarydir.cpp +++ b/qt/gen_qtemporarydir.cpp @@ -5,10 +5,13 @@ #include #include "gen_qtemporarydir.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTemporaryDir* QTemporaryDir_new() { return new QTemporaryDir(); diff --git a/qt/gen_qtemporaryfile.cpp b/qt/gen_qtemporaryfile.cpp index d12a3d5b..a52adc56 100644 --- a/qt/gen_qtemporaryfile.cpp +++ b/qt/gen_qtemporaryfile.cpp @@ -10,10 +10,19 @@ #include #include "gen_qtemporaryfile.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +struct miqt_string miqt_exec_callback_QTemporaryFile_FileName(void*, intptr_t); +bool miqt_exec_callback_QTemporaryFile_OpenWithFlags(void*, intptr_t, int); +long long miqt_exec_callback_QTemporaryFile_Size(void*, intptr_t); +bool miqt_exec_callback_QTemporaryFile_Resize(void*, intptr_t, long long); +int miqt_exec_callback_QTemporaryFile_Permissions(void*, intptr_t); +bool miqt_exec_callback_QTemporaryFile_SetPermissions(void*, intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTemporaryFile : public virtual QTemporaryFile { public: diff --git a/qt/gen_qtextboundaryfinder.cpp b/qt/gen_qtextboundaryfinder.cpp index 681886af..d4bf6a0c 100644 --- a/qt/gen_qtextboundaryfinder.cpp +++ b/qt/gen_qtextboundaryfinder.cpp @@ -6,10 +6,13 @@ #include #include "gen_qtextboundaryfinder.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTextBoundaryFinder* QTextBoundaryFinder_new() { return new QTextBoundaryFinder(); diff --git a/qt/gen_qtextbrowser.cpp b/qt/gen_qtextbrowser.cpp index b34e6afe..3aed4be4 100644 --- a/qt/gen_qtextbrowser.cpp +++ b/qt/gen_qtextbrowser.cpp @@ -32,10 +32,54 @@ #include #include "gen_qtextbrowser.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QTextBrowser_BackwardAvailable(intptr_t, bool); +void miqt_exec_callback_QTextBrowser_ForwardAvailable(intptr_t, bool); +void miqt_exec_callback_QTextBrowser_HistoryChanged(intptr_t); +void miqt_exec_callback_QTextBrowser_SourceChanged(intptr_t, QUrl*); +void miqt_exec_callback_QTextBrowser_Highlighted(intptr_t, QUrl*); +void miqt_exec_callback_QTextBrowser_HighlightedWithQString(intptr_t, struct miqt_string); +void miqt_exec_callback_QTextBrowser_AnchorClicked(intptr_t, QUrl*); +QVariant* miqt_exec_callback_QTextBrowser_LoadResource(void*, intptr_t, int, QUrl*); +void miqt_exec_callback_QTextBrowser_SetSource(void*, intptr_t, QUrl*); +void miqt_exec_callback_QTextBrowser_Backward(void*, intptr_t); +void miqt_exec_callback_QTextBrowser_Forward(void*, intptr_t); +void miqt_exec_callback_QTextBrowser_Home(void*, intptr_t); +void miqt_exec_callback_QTextBrowser_Reload(void*, intptr_t); +bool miqt_exec_callback_QTextBrowser_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTextBrowser_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QTextBrowser_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTextBrowser_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTextBrowser_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTextBrowser_FocusOutEvent(void*, intptr_t, QFocusEvent*); +bool miqt_exec_callback_QTextBrowser_FocusNextPrevChild(void*, intptr_t, bool); +void miqt_exec_callback_QTextBrowser_PaintEvent(void*, intptr_t, QPaintEvent*); +QVariant* miqt_exec_callback_QTextBrowser_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QTextBrowser_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QTextBrowser_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QTextBrowser_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QTextBrowser_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTextBrowser_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QTextBrowser_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QTextBrowser_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QTextBrowser_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QTextBrowser_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QTextBrowser_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QTextBrowser_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QTextBrowser_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTextBrowser_WheelEvent(void*, intptr_t, QWheelEvent*); +QMimeData* miqt_exec_callback_QTextBrowser_CreateMimeDataFromSelection(void*, intptr_t); +bool miqt_exec_callback_QTextBrowser_CanInsertFromMimeData(void*, intptr_t, QMimeData*); +void miqt_exec_callback_QTextBrowser_InsertFromMimeData(void*, intptr_t, QMimeData*); +void miqt_exec_callback_QTextBrowser_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +void miqt_exec_callback_QTextBrowser_ScrollContentsBy(void*, intptr_t, int, int); +void miqt_exec_callback_QTextBrowser_DoSetTextCursor(void*, intptr_t, QTextCursor*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTextBrowser : public virtual QTextBrowser { public: diff --git a/qt/gen_qtextcodec.cpp b/qt/gen_qtextcodec.cpp index 136752bb..38ce32dd 100644 --- a/qt/gen_qtextcodec.cpp +++ b/qt/gen_qtextcodec.cpp @@ -11,10 +11,13 @@ #include #include "gen_qtextcodec.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTextCodec* QTextCodec_CodecForName(struct miqt_string name) { QByteArray name_QByteArray(name.data, name.len); diff --git a/qt/gen_qtextcursor.cpp b/qt/gen_qtextcursor.cpp index f9e0cc4d..b6ba5454 100644 --- a/qt/gen_qtextcursor.cpp +++ b/qt/gen_qtextcursor.cpp @@ -18,10 +18,13 @@ #include #include "gen_qtextcursor.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTextCursor* QTextCursor_new() { return new QTextCursor(); diff --git a/qt/gen_qtextdocument.cpp b/qt/gen_qtextdocument.cpp index 9bb0ebeb..1e7e586b 100644 --- a/qt/gen_qtextdocument.cpp +++ b/qt/gen_qtextdocument.cpp @@ -31,10 +31,33 @@ #include #include "gen_qtextdocument.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QTextDocument_ContentsChange(intptr_t, int, int, int); +void miqt_exec_callback_QTextDocument_ContentsChanged(intptr_t); +void miqt_exec_callback_QTextDocument_UndoAvailable(intptr_t, bool); +void miqt_exec_callback_QTextDocument_RedoAvailable(intptr_t, bool); +void miqt_exec_callback_QTextDocument_UndoCommandAdded(intptr_t); +void miqt_exec_callback_QTextDocument_ModificationChanged(intptr_t, bool); +void miqt_exec_callback_QTextDocument_CursorPositionChanged(intptr_t, QTextCursor*); +void miqt_exec_callback_QTextDocument_BlockCountChanged(intptr_t, int); +void miqt_exec_callback_QTextDocument_BaseUrlChanged(intptr_t, QUrl*); +void miqt_exec_callback_QTextDocument_DocumentLayoutChanged(intptr_t); +void miqt_exec_callback_QTextDocument_Clear(void*, intptr_t); +QTextObject* miqt_exec_callback_QTextDocument_CreateObject(void*, intptr_t, QTextFormat*); +QVariant* miqt_exec_callback_QTextDocument_LoadResource(void*, intptr_t, int, QUrl*); +bool miqt_exec_callback_QTextDocument_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QTextDocument_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QTextDocument_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QTextDocument_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QTextDocument_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTextDocument_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QTextDocument_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QAbstractUndoItem_Undo(QAbstractUndoItem* self) { self->undo(); diff --git a/qt/gen_qtextdocumentfragment.cpp b/qt/gen_qtextdocumentfragment.cpp index c6bd8842..7d30dc1d 100644 --- a/qt/gen_qtextdocumentfragment.cpp +++ b/qt/gen_qtextdocumentfragment.cpp @@ -8,10 +8,13 @@ #include #include "gen_qtextdocumentfragment.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTextDocumentFragment* QTextDocumentFragment_new() { return new QTextDocumentFragment(); diff --git a/qt/gen_qtextdocumentwriter.cpp b/qt/gen_qtextdocumentwriter.cpp index dac68ab5..c87d0509 100644 --- a/qt/gen_qtextdocumentwriter.cpp +++ b/qt/gen_qtextdocumentwriter.cpp @@ -11,10 +11,13 @@ #include #include "gen_qtextdocumentwriter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTextDocumentWriter* QTextDocumentWriter_new() { return new QTextDocumentWriter(); diff --git a/qt/gen_qtextedit.cpp b/qt/gen_qtextedit.cpp index 341a95bf..4485c648 100644 --- a/qt/gen_qtextedit.cpp +++ b/qt/gen_qtextedit.cpp @@ -43,10 +43,55 @@ #include #include "gen_qtextedit.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QTextEdit_TextChanged(intptr_t); +void miqt_exec_callback_QTextEdit_UndoAvailable(intptr_t, bool); +void miqt_exec_callback_QTextEdit_RedoAvailable(intptr_t, bool); +void miqt_exec_callback_QTextEdit_CurrentCharFormatChanged(intptr_t, QTextCharFormat*); +void miqt_exec_callback_QTextEdit_CopyAvailable(intptr_t, bool); +void miqt_exec_callback_QTextEdit_SelectionChanged(intptr_t); +void miqt_exec_callback_QTextEdit_CursorPositionChanged(intptr_t); +QVariant* miqt_exec_callback_QTextEdit_LoadResource(void*, intptr_t, int, QUrl*); +QVariant* miqt_exec_callback_QTextEdit_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QTextEdit_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTextEdit_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QTextEdit_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QTextEdit_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QTextEdit_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QTextEdit_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QTextEdit_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTextEdit_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTextEdit_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTextEdit_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +bool miqt_exec_callback_QTextEdit_FocusNextPrevChild(void*, intptr_t, bool); +void miqt_exec_callback_QTextEdit_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QTextEdit_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QTextEdit_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QTextEdit_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QTextEdit_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QTextEdit_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QTextEdit_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QTextEdit_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QTextEdit_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTextEdit_WheelEvent(void*, intptr_t, QWheelEvent*); +QMimeData* miqt_exec_callback_QTextEdit_CreateMimeDataFromSelection(void*, intptr_t); +bool miqt_exec_callback_QTextEdit_CanInsertFromMimeData(void*, intptr_t, QMimeData*); +void miqt_exec_callback_QTextEdit_InsertFromMimeData(void*, intptr_t, QMimeData*); +void miqt_exec_callback_QTextEdit_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +void miqt_exec_callback_QTextEdit_ScrollContentsBy(void*, intptr_t, int, int); +void miqt_exec_callback_QTextEdit_DoSetTextCursor(void*, intptr_t, QTextCursor*); +QSize* miqt_exec_callback_QTextEdit_MinimumSizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QTextEdit_SizeHint(void*, intptr_t); +void miqt_exec_callback_QTextEdit_SetupViewport(void*, intptr_t, QWidget*); +bool miqt_exec_callback_QTextEdit_EventFilter(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QTextEdit_ViewportEvent(void*, intptr_t, QEvent*); +QSize* miqt_exec_callback_QTextEdit_ViewportSizeHint(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTextEdit : public virtual QTextEdit { public: diff --git a/qt/gen_qtextformat.cpp b/qt/gen_qtextformat.cpp index 2eff05e4..be3249de 100644 --- a/qt/gen_qtextformat.cpp +++ b/qt/gen_qtextformat.cpp @@ -21,10 +21,13 @@ #include #include "gen_qtextformat.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTextLength* QTextLength_new() { return new QTextLength(); diff --git a/qt/gen_qtextlayout.cpp b/qt/gen_qtextlayout.cpp index 85506800..1b49a4ad 100644 --- a/qt/gen_qtextlayout.cpp +++ b/qt/gen_qtextlayout.cpp @@ -19,10 +19,13 @@ #include #include "gen_qtextlayout.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTextInlineObject* QTextInlineObject_new() { return new QTextInlineObject(); diff --git a/qt/gen_qtextlist.cpp b/qt/gen_qtextlist.cpp index c75b9af4..d24ec1ee 100644 --- a/qt/gen_qtextlist.cpp +++ b/qt/gen_qtextlist.cpp @@ -12,10 +12,16 @@ #include #include "gen_qtextlist.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QTextList_BlockInserted(void*, intptr_t, QTextBlock*); +void miqt_exec_callback_QTextList_BlockRemoved(void*, intptr_t, QTextBlock*); +void miqt_exec_callback_QTextList_BlockFormatChanged(void*, intptr_t, QTextBlock*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTextList : public virtual QTextList { public: diff --git a/qt/gen_qtextobject.cpp b/qt/gen_qtextobject.cpp index d6475806..232847e9 100644 --- a/qt/gen_qtextobject.cpp +++ b/qt/gen_qtextobject.cpp @@ -26,10 +26,13 @@ #include #include "gen_qtextobject.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QTextObject_virtbase(QTextObject* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt/gen_qtextoption.cpp b/qt/gen_qtextoption.cpp index 35202af6..a86cec3c 100644 --- a/qt/gen_qtextoption.cpp +++ b/qt/gen_qtextoption.cpp @@ -5,10 +5,13 @@ #include #include "gen_qtextoption.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTextOption* QTextOption_new() { return new QTextOption(); diff --git a/qt/gen_qtextstream.cpp b/qt/gen_qtextstream.cpp index 83165f9d..b77ea3e8 100644 --- a/qt/gen_qtextstream.cpp +++ b/qt/gen_qtextstream.cpp @@ -10,10 +10,13 @@ #include #include "gen_qtextstream.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTextStream* QTextStream_new() { return new QTextStream(); diff --git a/qt/gen_qtexttable.cpp b/qt/gen_qtexttable.cpp index 5ae9c3ce..a66329be 100644 --- a/qt/gen_qtexttable.cpp +++ b/qt/gen_qtexttable.cpp @@ -15,10 +15,13 @@ #include #include "gen_qtexttable.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTextTableCell* QTextTableCell_new() { return new QTextTableCell(); diff --git a/qt/gen_qthread.cpp b/qt/gen_qthread.cpp index 84254c36..835d58b4 100644 --- a/qt/gen_qthread.cpp +++ b/qt/gen_qthread.cpp @@ -13,10 +13,21 @@ #include #include "gen_qthread.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QThread_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QThread_Run(void*, intptr_t); +bool miqt_exec_callback_QThread_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QThread_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QThread_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QThread_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QThread_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QThread_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQThread : public virtual QThread { public: diff --git a/qt/gen_qthreadpool.cpp b/qt/gen_qthreadpool.cpp index 7de74492..87c711e6 100644 --- a/qt/gen_qthreadpool.cpp +++ b/qt/gen_qthreadpool.cpp @@ -13,10 +13,20 @@ #include #include "gen_qthreadpool.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QThreadPool_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QThreadPool_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QThreadPool_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QThreadPool_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QThreadPool_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QThreadPool_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QThreadPool_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQThreadPool : public virtual QThreadPool { public: diff --git a/qt/gen_qthreadstorage.cpp b/qt/gen_qthreadstorage.cpp index 6833d3c2..33d079b9 100644 --- a/qt/gen_qthreadstorage.cpp +++ b/qt/gen_qthreadstorage.cpp @@ -2,10 +2,13 @@ #include #include "gen_qthreadstorage.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QThreadStorageData* QThreadStorageData_new(QThreadStorageData* param1) { return new QThreadStorageData(*param1); diff --git a/qt/gen_qtimeline.cpp b/qt/gen_qtimeline.cpp index c4e00faf..1abc5ef2 100644 --- a/qt/gen_qtimeline.cpp +++ b/qt/gen_qtimeline.cpp @@ -12,10 +12,21 @@ #include #include "gen_qtimeline.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +double miqt_exec_callback_QTimeLine_ValueForTime(void*, intptr_t, int); +void miqt_exec_callback_QTimeLine_TimerEvent(void*, intptr_t, QTimerEvent*); +bool miqt_exec_callback_QTimeLine_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QTimeLine_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QTimeLine_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QTimeLine_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTimeLine_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QTimeLine_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTimeLine : public virtual QTimeLine { public: diff --git a/qt/gen_qtimer.cpp b/qt/gen_qtimer.cpp index 2a2d7dd6..20079d83 100644 --- a/qt/gen_qtimer.cpp +++ b/qt/gen_qtimer.cpp @@ -11,10 +11,20 @@ #include #include "gen_qtimer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QTimer_TimerEvent(void*, intptr_t, QTimerEvent*); +bool miqt_exec_callback_QTimer_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QTimer_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QTimer_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QTimer_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTimer_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QTimer_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTimer : public virtual QTimer { public: diff --git a/qt/gen_qtimezone.cpp b/qt/gen_qtimezone.cpp index 3e2c5f3e..45c12b2d 100644 --- a/qt/gen_qtimezone.cpp +++ b/qt/gen_qtimezone.cpp @@ -10,10 +10,13 @@ #include #include "gen_qtimezone.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTimeZone* QTimeZone_new() { return new QTimeZone(); diff --git a/qt/gen_qtoolbar.cpp b/qt/gen_qtoolbar.cpp index 8273bb6d..34bc2a0f 100644 --- a/qt/gen_qtoolbar.cpp +++ b/qt/gen_qtoolbar.cpp @@ -37,10 +37,62 @@ #include #include "gen_qtoolbar.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QToolBar_ActionTriggered(intptr_t, QAction*); +void miqt_exec_callback_QToolBar_MovableChanged(intptr_t, bool); +void miqt_exec_callback_QToolBar_AllowedAreasChanged(intptr_t, int); +void miqt_exec_callback_QToolBar_OrientationChanged(intptr_t, int); +void miqt_exec_callback_QToolBar_IconSizeChanged(intptr_t, QSize*); +void miqt_exec_callback_QToolBar_ToolButtonStyleChanged(intptr_t, int); +void miqt_exec_callback_QToolBar_TopLevelChanged(intptr_t, bool); +void miqt_exec_callback_QToolBar_VisibilityChanged(intptr_t, bool); +void miqt_exec_callback_QToolBar_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QToolBar_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QToolBar_PaintEvent(void*, intptr_t, QPaintEvent*); +bool miqt_exec_callback_QToolBar_Event(void*, intptr_t, QEvent*); +int miqt_exec_callback_QToolBar_DevType(void*, intptr_t); +void miqt_exec_callback_QToolBar_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QToolBar_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QToolBar_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QToolBar_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QToolBar_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QToolBar_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QToolBar_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QToolBar_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QToolBar_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QToolBar_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QToolBar_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QToolBar_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QToolBar_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QToolBar_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QToolBar_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QToolBar_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QToolBar_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QToolBar_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QToolBar_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QToolBar_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QToolBar_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QToolBar_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QToolBar_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QToolBar_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QToolBar_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QToolBar_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QToolBar_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QToolBar_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QToolBar_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +int miqt_exec_callback_QToolBar_Metric(void*, intptr_t, int); +void miqt_exec_callback_QToolBar_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QToolBar_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QToolBar_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QToolBar_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QToolBar_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QToolBar_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQToolBar : public virtual QToolBar { public: diff --git a/qt/gen_qtoolbox.cpp b/qt/gen_qtoolbox.cpp index fd2202e4..3435bd66 100644 --- a/qt/gen_qtoolbox.cpp +++ b/qt/gen_qtoolbox.cpp @@ -15,10 +15,21 @@ #include #include "gen_qtoolbox.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QToolBox_CurrentChanged(intptr_t, int); +bool miqt_exec_callback_QToolBox_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QToolBox_ItemInserted(void*, intptr_t, int); +void miqt_exec_callback_QToolBox_ItemRemoved(void*, intptr_t, int); +void miqt_exec_callback_QToolBox_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QToolBox_ChangeEvent(void*, intptr_t, QEvent*); +QSize* miqt_exec_callback_QToolBox_SizeHint(void*, intptr_t); +void miqt_exec_callback_QToolBox_PaintEvent(void*, intptr_t, QPaintEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQToolBox : public virtual QToolBox { public: diff --git a/qt/gen_qtoolbutton.cpp b/qt/gen_qtoolbutton.cpp index 85105dae..a5adde83 100644 --- a/qt/gen_qtoolbutton.cpp +++ b/qt/gen_qtoolbutton.cpp @@ -21,10 +21,33 @@ #include #include "gen_qtoolbutton.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QToolButton_Triggered(intptr_t, QAction*); +QSize* miqt_exec_callback_QToolButton_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QToolButton_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QToolButton_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QToolButton_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QToolButton_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QToolButton_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QToolButton_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QToolButton_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QToolButton_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QToolButton_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QToolButton_ChangeEvent(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QToolButton_HitButton(void*, intptr_t, QPoint*); +void miqt_exec_callback_QToolButton_NextCheckState(void*, intptr_t); +void miqt_exec_callback_QToolButton_CheckStateSet(void*, intptr_t); +void miqt_exec_callback_QToolButton_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QToolButton_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QToolButton_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QToolButton_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QToolButton_FocusOutEvent(void*, intptr_t, QFocusEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQToolButton : public virtual QToolButton { public: diff --git a/qt/gen_qtooltip.cpp b/qt/gen_qtooltip.cpp index d9a80e27..c0ba49f2 100644 --- a/qt/gen_qtooltip.cpp +++ b/qt/gen_qtooltip.cpp @@ -10,10 +10,13 @@ #include #include "gen_qtooltip.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QToolTip_ShowText(QPoint* pos, struct miqt_string text) { QString text_QString = QString::fromUtf8(text.data, text.len); diff --git a/qt/gen_qtouchdevice.cpp b/qt/gen_qtouchdevice.cpp index 81248755..d80e86ea 100644 --- a/qt/gen_qtouchdevice.cpp +++ b/qt/gen_qtouchdevice.cpp @@ -6,10 +6,13 @@ #include #include "gen_qtouchdevice.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTouchDevice* QTouchDevice_new() { return new QTouchDevice(); diff --git a/qt/gen_qtransform.cpp b/qt/gen_qtransform.cpp index 0f6e3fb5..cc47656a 100644 --- a/qt/gen_qtransform.cpp +++ b/qt/gen_qtransform.cpp @@ -12,10 +12,13 @@ #include #include "gen_qtransform.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTransform* QTransform_new(int param1) { return new QTransform(static_cast(param1)); diff --git a/qt/gen_qtranslator.cpp b/qt/gen_qtranslator.cpp index 7f30b7a3..8e07f178 100644 --- a/qt/gen_qtranslator.cpp +++ b/qt/gen_qtranslator.cpp @@ -12,10 +12,22 @@ #include #include "gen_qtranslator.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +struct miqt_string miqt_exec_callback_QTranslator_Translate(void*, intptr_t, const char*, const char*, const char*, int); +bool miqt_exec_callback_QTranslator_IsEmpty(void*, intptr_t); +bool miqt_exec_callback_QTranslator_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QTranslator_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QTranslator_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QTranslator_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QTranslator_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTranslator_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QTranslator_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTranslator : public virtual QTranslator { public: diff --git a/qt/gen_qtransposeproxymodel.cpp b/qt/gen_qtransposeproxymodel.cpp index bcabf7ad..0aad706f 100644 --- a/qt/gen_qtransposeproxymodel.cpp +++ b/qt/gen_qtransposeproxymodel.cpp @@ -16,10 +16,50 @@ #include #include "gen_qtransposeproxymodel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QTransposeProxyModel_SetSourceModel(void*, intptr_t, QAbstractItemModel*); +int miqt_exec_callback_QTransposeProxyModel_RowCount(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QTransposeProxyModel_ColumnCount(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QTransposeProxyModel_HeaderData(void*, intptr_t, int, int, int); +bool miqt_exec_callback_QTransposeProxyModel_SetHeaderData(void*, intptr_t, int, int, QVariant*, int); +bool miqt_exec_callback_QTransposeProxyModel_SetItemData(void*, intptr_t, QModelIndex*, struct miqt_map /* of int to QVariant* */ ); +QSize* miqt_exec_callback_QTransposeProxyModel_Span(void*, intptr_t, QModelIndex*); +struct miqt_map /* of int to QVariant* */ miqt_exec_callback_QTransposeProxyModel_ItemData(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QTransposeProxyModel_MapFromSource(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QTransposeProxyModel_MapToSource(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QTransposeProxyModel_Parent(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QTransposeProxyModel_Index(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QTransposeProxyModel_InsertRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QTransposeProxyModel_RemoveRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QTransposeProxyModel_MoveRows(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +bool miqt_exec_callback_QTransposeProxyModel_InsertColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QTransposeProxyModel_RemoveColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QTransposeProxyModel_MoveColumns(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +void miqt_exec_callback_QTransposeProxyModel_Sort(void*, intptr_t, int, int); +QItemSelection* miqt_exec_callback_QTransposeProxyModel_MapSelectionToSource(void*, intptr_t, QItemSelection*); +QItemSelection* miqt_exec_callback_QTransposeProxyModel_MapSelectionFromSource(void*, intptr_t, QItemSelection*); +bool miqt_exec_callback_QTransposeProxyModel_Submit(void*, intptr_t); +void miqt_exec_callback_QTransposeProxyModel_Revert(void*, intptr_t); +QVariant* miqt_exec_callback_QTransposeProxyModel_Data(void*, intptr_t, QModelIndex*, int); +int miqt_exec_callback_QTransposeProxyModel_Flags(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QTransposeProxyModel_SetData(void*, intptr_t, QModelIndex*, QVariant*, int); +QModelIndex* miqt_exec_callback_QTransposeProxyModel_Buddy(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QTransposeProxyModel_CanFetchMore(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTransposeProxyModel_FetchMore(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QTransposeProxyModel_HasChildren(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QTransposeProxyModel_Sibling(void*, intptr_t, int, int, QModelIndex*); +QMimeData* miqt_exec_callback_QTransposeProxyModel_MimeData(void*, intptr_t, struct miqt_array /* of QModelIndex* */ ); +bool miqt_exec_callback_QTransposeProxyModel_CanDropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +bool miqt_exec_callback_QTransposeProxyModel_DropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QTransposeProxyModel_MimeTypes(void*, intptr_t); +int miqt_exec_callback_QTransposeProxyModel_SupportedDragActions(void*, intptr_t); +int miqt_exec_callback_QTransposeProxyModel_SupportedDropActions(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTransposeProxyModel : public virtual QTransposeProxyModel { public: diff --git a/qt/gen_qtreeview.cpp b/qt/gen_qtreeview.cpp index a0aa02fc..5c31075f 100644 --- a/qt/gen_qtreeview.cpp +++ b/qt/gen_qtreeview.cpp @@ -37,10 +37,77 @@ #include #include "gen_qtreeview.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QTreeView_Expanded(intptr_t, QModelIndex*); +void miqt_exec_callback_QTreeView_Collapsed(intptr_t, QModelIndex*); +void miqt_exec_callback_QTreeView_SetModel(void*, intptr_t, QAbstractItemModel*); +void miqt_exec_callback_QTreeView_SetRootIndex(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTreeView_SetSelectionModel(void*, intptr_t, QItemSelectionModel*); +void miqt_exec_callback_QTreeView_KeyboardSearch(void*, intptr_t, struct miqt_string); +QRect* miqt_exec_callback_QTreeView_VisualRect(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTreeView_ScrollTo(void*, intptr_t, QModelIndex*, int); +QModelIndex* miqt_exec_callback_QTreeView_IndexAt(void*, intptr_t, QPoint*); +void miqt_exec_callback_QTreeView_DoItemsLayout(void*, intptr_t); +void miqt_exec_callback_QTreeView_Reset(void*, intptr_t); +void miqt_exec_callback_QTreeView_DataChanged(void*, intptr_t, QModelIndex*, QModelIndex*, struct miqt_array /* of int */ ); +void miqt_exec_callback_QTreeView_SelectAll(void*, intptr_t); +void miqt_exec_callback_QTreeView_VerticalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QTreeView_ScrollContentsBy(void*, intptr_t, int, int); +void miqt_exec_callback_QTreeView_RowsInserted(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QTreeView_RowsAboutToBeRemoved(void*, intptr_t, QModelIndex*, int, int); +QModelIndex* miqt_exec_callback_QTreeView_MoveCursor(void*, intptr_t, int, int); +int miqt_exec_callback_QTreeView_HorizontalOffset(void*, intptr_t); +int miqt_exec_callback_QTreeView_VerticalOffset(void*, intptr_t); +void miqt_exec_callback_QTreeView_SetSelection(void*, intptr_t, QRect*, int); +QRegion* miqt_exec_callback_QTreeView_VisualRegionForSelection(void*, intptr_t, QItemSelection*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QTreeView_SelectedIndexes(void*, intptr_t); +void miqt_exec_callback_QTreeView_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QTreeView_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QTreeView_DrawRow(void*, intptr_t, QPainter*, QStyleOptionViewItem*, QModelIndex*); +void miqt_exec_callback_QTreeView_DrawBranches(void*, intptr_t, QPainter*, QRect*, QModelIndex*); +void miqt_exec_callback_QTreeView_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTreeView_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTreeView_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTreeView_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTreeView_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QTreeView_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +bool miqt_exec_callback_QTreeView_ViewportEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTreeView_UpdateGeometries(void*, intptr_t); +QSize* miqt_exec_callback_QTreeView_ViewportSizeHint(void*, intptr_t); +int miqt_exec_callback_QTreeView_SizeHintForColumn(void*, intptr_t, int); +void miqt_exec_callback_QTreeView_HorizontalScrollbarAction(void*, intptr_t, int); +bool miqt_exec_callback_QTreeView_IsIndexHidden(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTreeView_SelectionChanged(void*, intptr_t, QItemSelection*, QItemSelection*); +void miqt_exec_callback_QTreeView_CurrentChanged(void*, intptr_t, QModelIndex*, QModelIndex*); +int miqt_exec_callback_QTreeView_SizeHintForRow(void*, intptr_t, int); +QVariant* miqt_exec_callback_QTreeView_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QTreeView_UpdateEditorData(void*, intptr_t); +void miqt_exec_callback_QTreeView_UpdateEditorGeometries(void*, intptr_t); +void miqt_exec_callback_QTreeView_VerticalScrollbarAction(void*, intptr_t, int); +void miqt_exec_callback_QTreeView_HorizontalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QTreeView_CloseEditor(void*, intptr_t, QWidget*, int); +void miqt_exec_callback_QTreeView_CommitData(void*, intptr_t, QWidget*); +void miqt_exec_callback_QTreeView_EditorDestroyed(void*, intptr_t, QObject*); +bool miqt_exec_callback_QTreeView_Edit2(void*, intptr_t, QModelIndex*, int, QEvent*); +int miqt_exec_callback_QTreeView_SelectionCommand(void*, intptr_t, QModelIndex*, QEvent*); +void miqt_exec_callback_QTreeView_StartDrag(void*, intptr_t, int); +QStyleOptionViewItem* miqt_exec_callback_QTreeView_ViewOptions(void*, intptr_t); +bool miqt_exec_callback_QTreeView_FocusNextPrevChild(void*, intptr_t, bool); +bool miqt_exec_callback_QTreeView_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTreeView_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QTreeView_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QTreeView_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QTreeView_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QTreeView_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QTreeView_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QTreeView_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +bool miqt_exec_callback_QTreeView_EventFilter(void*, intptr_t, QObject*, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTreeView : public virtual QTreeView { public: diff --git a/qt/gen_qtreewidget.cpp b/qt/gen_qtreewidget.cpp index c4ec5310..0497df72 100644 --- a/qt/gen_qtreewidget.cpp +++ b/qt/gen_qtreewidget.cpp @@ -38,10 +38,73 @@ #include #include "gen_qtreewidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QTreeWidgetItem* miqt_exec_callback_QTreeWidgetItem_Clone(void*, intptr_t); +QVariant* miqt_exec_callback_QTreeWidgetItem_Data(void*, intptr_t, int, int); +void miqt_exec_callback_QTreeWidgetItem_SetData(void*, intptr_t, int, int, QVariant*); +bool miqt_exec_callback_QTreeWidgetItem_OperatorLesser(void*, intptr_t, QTreeWidgetItem*); +void miqt_exec_callback_QTreeWidgetItem_Read(void*, intptr_t, QDataStream*); +void miqt_exec_callback_QTreeWidgetItem_Write(void*, intptr_t, QDataStream*); +void miqt_exec_callback_QTreeWidget_ItemPressed(intptr_t, QTreeWidgetItem*, int); +void miqt_exec_callback_QTreeWidget_ItemClicked(intptr_t, QTreeWidgetItem*, int); +void miqt_exec_callback_QTreeWidget_ItemDoubleClicked(intptr_t, QTreeWidgetItem*, int); +void miqt_exec_callback_QTreeWidget_ItemActivated(intptr_t, QTreeWidgetItem*, int); +void miqt_exec_callback_QTreeWidget_ItemEntered(intptr_t, QTreeWidgetItem*, int); +void miqt_exec_callback_QTreeWidget_ItemChanged(intptr_t, QTreeWidgetItem*, int); +void miqt_exec_callback_QTreeWidget_ItemExpanded(intptr_t, QTreeWidgetItem*); +void miqt_exec_callback_QTreeWidget_ItemCollapsed(intptr_t, QTreeWidgetItem*); +void miqt_exec_callback_QTreeWidget_CurrentItemChanged(intptr_t, QTreeWidgetItem*, QTreeWidgetItem*); +void miqt_exec_callback_QTreeWidget_ItemSelectionChanged(intptr_t); +void miqt_exec_callback_QTreeWidget_SetSelectionModel(void*, intptr_t, QItemSelectionModel*); +bool miqt_exec_callback_QTreeWidget_Event(void*, intptr_t, QEvent*); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QTreeWidget_MimeTypes(void*, intptr_t); +QMimeData* miqt_exec_callback_QTreeWidget_MimeData(void*, intptr_t, struct miqt_array /* of QTreeWidgetItem* */ ); +bool miqt_exec_callback_QTreeWidget_DropMimeData(void*, intptr_t, QTreeWidgetItem*, int, QMimeData*, int); +int miqt_exec_callback_QTreeWidget_SupportedDropActions(void*, intptr_t); +void miqt_exec_callback_QTreeWidget_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QTreeWidget_SetRootIndex(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTreeWidget_KeyboardSearch(void*, intptr_t, struct miqt_string); +QRect* miqt_exec_callback_QTreeWidget_VisualRect(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTreeWidget_ScrollTo(void*, intptr_t, QModelIndex*, int); +QModelIndex* miqt_exec_callback_QTreeWidget_IndexAt(void*, intptr_t, QPoint*); +void miqt_exec_callback_QTreeWidget_DoItemsLayout(void*, intptr_t); +void miqt_exec_callback_QTreeWidget_Reset(void*, intptr_t); +void miqt_exec_callback_QTreeWidget_DataChanged(void*, intptr_t, QModelIndex*, QModelIndex*, struct miqt_array /* of int */ ); +void miqt_exec_callback_QTreeWidget_SelectAll(void*, intptr_t); +void miqt_exec_callback_QTreeWidget_VerticalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QTreeWidget_ScrollContentsBy(void*, intptr_t, int, int); +void miqt_exec_callback_QTreeWidget_RowsInserted(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QTreeWidget_RowsAboutToBeRemoved(void*, intptr_t, QModelIndex*, int, int); +QModelIndex* miqt_exec_callback_QTreeWidget_MoveCursor(void*, intptr_t, int, int); +int miqt_exec_callback_QTreeWidget_HorizontalOffset(void*, intptr_t); +int miqt_exec_callback_QTreeWidget_VerticalOffset(void*, intptr_t); +void miqt_exec_callback_QTreeWidget_SetSelection(void*, intptr_t, QRect*, int); +QRegion* miqt_exec_callback_QTreeWidget_VisualRegionForSelection(void*, intptr_t, QItemSelection*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QTreeWidget_SelectedIndexes(void*, intptr_t); +void miqt_exec_callback_QTreeWidget_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QTreeWidget_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QTreeWidget_DrawRow(void*, intptr_t, QPainter*, QStyleOptionViewItem*, QModelIndex*); +void miqt_exec_callback_QTreeWidget_DrawBranches(void*, intptr_t, QPainter*, QRect*, QModelIndex*); +void miqt_exec_callback_QTreeWidget_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTreeWidget_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTreeWidget_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTreeWidget_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTreeWidget_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QTreeWidget_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +bool miqt_exec_callback_QTreeWidget_ViewportEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTreeWidget_UpdateGeometries(void*, intptr_t); +QSize* miqt_exec_callback_QTreeWidget_ViewportSizeHint(void*, intptr_t); +int miqt_exec_callback_QTreeWidget_SizeHintForColumn(void*, intptr_t, int); +void miqt_exec_callback_QTreeWidget_HorizontalScrollbarAction(void*, intptr_t, int); +bool miqt_exec_callback_QTreeWidget_IsIndexHidden(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTreeWidget_SelectionChanged(void*, intptr_t, QItemSelection*, QItemSelection*); +void miqt_exec_callback_QTreeWidget_CurrentChanged(void*, intptr_t, QModelIndex*, QModelIndex*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTreeWidgetItem : public virtual QTreeWidgetItem { public: diff --git a/qt/gen_qtreewidgetitemiterator.cpp b/qt/gen_qtreewidgetitemiterator.cpp index 3490538c..15f94275 100644 --- a/qt/gen_qtreewidgetitemiterator.cpp +++ b/qt/gen_qtreewidgetitemiterator.cpp @@ -4,10 +4,13 @@ #include #include "gen_qtreewidgetitemiterator.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTreeWidgetItemIterator* QTreeWidgetItemIterator_new(QTreeWidgetItemIterator* it) { return new QTreeWidgetItemIterator(*it); diff --git a/qt/gen_qundogroup.cpp b/qt/gen_qundogroup.cpp index 0b8e07d6..2dab6a55 100644 --- a/qt/gen_qundogroup.cpp +++ b/qt/gen_qundogroup.cpp @@ -14,10 +14,27 @@ #include #include "gen_qundogroup.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QUndoGroup_ActiveStackChanged(intptr_t, QUndoStack*); +void miqt_exec_callback_QUndoGroup_IndexChanged(intptr_t, int); +void miqt_exec_callback_QUndoGroup_CleanChanged(intptr_t, bool); +void miqt_exec_callback_QUndoGroup_CanUndoChanged(intptr_t, bool); +void miqt_exec_callback_QUndoGroup_CanRedoChanged(intptr_t, bool); +void miqt_exec_callback_QUndoGroup_UndoTextChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QUndoGroup_RedoTextChanged(intptr_t, struct miqt_string); +bool miqt_exec_callback_QUndoGroup_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QUndoGroup_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QUndoGroup_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QUndoGroup_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QUndoGroup_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QUndoGroup_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QUndoGroup_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQUndoGroup : public virtual QUndoGroup { public: diff --git a/qt/gen_qundostack.cpp b/qt/gen_qundostack.cpp index e5b6d608..0cb5ca71 100644 --- a/qt/gen_qundostack.cpp +++ b/qt/gen_qundostack.cpp @@ -13,10 +13,30 @@ #include #include "gen_qundostack.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QUndoCommand_Undo(void*, intptr_t); +void miqt_exec_callback_QUndoCommand_Redo(void*, intptr_t); +int miqt_exec_callback_QUndoCommand_Id(void*, intptr_t); +bool miqt_exec_callback_QUndoCommand_MergeWith(void*, intptr_t, QUndoCommand*); +void miqt_exec_callback_QUndoStack_IndexChanged(intptr_t, int); +void miqt_exec_callback_QUndoStack_CleanChanged(intptr_t, bool); +void miqt_exec_callback_QUndoStack_CanUndoChanged(intptr_t, bool); +void miqt_exec_callback_QUndoStack_CanRedoChanged(intptr_t, bool); +void miqt_exec_callback_QUndoStack_UndoTextChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QUndoStack_RedoTextChanged(intptr_t, struct miqt_string); +bool miqt_exec_callback_QUndoStack_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QUndoStack_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QUndoStack_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QUndoStack_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QUndoStack_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QUndoStack_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QUndoStack_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQUndoCommand : public virtual QUndoCommand { public: diff --git a/qt/gen_qundoview.cpp b/qt/gen_qundoview.cpp index 67e425a5..5c31329f 100644 --- a/qt/gen_qundoview.cpp +++ b/qt/gen_qundoview.cpp @@ -33,10 +33,46 @@ #include #include "gen_qundoview.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QRect* miqt_exec_callback_QUndoView_VisualRect(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QUndoView_ScrollTo(void*, intptr_t, QModelIndex*, int); +QModelIndex* miqt_exec_callback_QUndoView_IndexAt(void*, intptr_t, QPoint*); +void miqt_exec_callback_QUndoView_DoItemsLayout(void*, intptr_t); +void miqt_exec_callback_QUndoView_Reset(void*, intptr_t); +void miqt_exec_callback_QUndoView_SetRootIndex(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QUndoView_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QUndoView_ScrollContentsBy(void*, intptr_t, int, int); +void miqt_exec_callback_QUndoView_DataChanged(void*, intptr_t, QModelIndex*, QModelIndex*, struct miqt_array /* of int */ ); +void miqt_exec_callback_QUndoView_RowsInserted(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QUndoView_RowsAboutToBeRemoved(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QUndoView_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QUndoView_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QUndoView_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QUndoView_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QUndoView_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QUndoView_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QUndoView_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QUndoView_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QUndoView_StartDrag(void*, intptr_t, int); +QStyleOptionViewItem* miqt_exec_callback_QUndoView_ViewOptions(void*, intptr_t); +void miqt_exec_callback_QUndoView_PaintEvent(void*, intptr_t, QPaintEvent*); +int miqt_exec_callback_QUndoView_HorizontalOffset(void*, intptr_t); +int miqt_exec_callback_QUndoView_VerticalOffset(void*, intptr_t); +QModelIndex* miqt_exec_callback_QUndoView_MoveCursor(void*, intptr_t, int, int); +void miqt_exec_callback_QUndoView_SetSelection(void*, intptr_t, QRect*, int); +QRegion* miqt_exec_callback_QUndoView_VisualRegionForSelection(void*, intptr_t, QItemSelection*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QUndoView_SelectedIndexes(void*, intptr_t); +void miqt_exec_callback_QUndoView_UpdateGeometries(void*, intptr_t); +bool miqt_exec_callback_QUndoView_IsIndexHidden(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QUndoView_SelectionChanged(void*, intptr_t, QItemSelection*, QItemSelection*); +void miqt_exec_callback_QUndoView_CurrentChanged(void*, intptr_t, QModelIndex*, QModelIndex*); +QSize* miqt_exec_callback_QUndoView_ViewportSizeHint(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQUndoView : public virtual QUndoView { public: diff --git a/qt/gen_qurl.cpp b/qt/gen_qurl.cpp index 8b0e68d9..516b4127 100644 --- a/qt/gen_qurl.cpp +++ b/qt/gen_qurl.cpp @@ -8,10 +8,13 @@ #include #include "gen_qurl.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QUrl* QUrl_new() { return new QUrl(); diff --git a/qt/gen_qurlquery.cpp b/qt/gen_qurlquery.cpp index 18f72142..7c30e856 100644 --- a/qt/gen_qurlquery.cpp +++ b/qt/gen_qurlquery.cpp @@ -9,10 +9,13 @@ #include #include "gen_qurlquery.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QUrlQuery* QUrlQuery_new() { return new QUrlQuery(); diff --git a/qt/gen_quuid.cpp b/qt/gen_quuid.cpp index 6315b1e6..f8d9c30c 100644 --- a/qt/gen_quuid.cpp +++ b/qt/gen_quuid.cpp @@ -6,10 +6,13 @@ #include #include "gen_quuid.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QUuid* QUuid_new() { return new QUuid(); diff --git a/qt/gen_qvalidator.cpp b/qt/gen_qvalidator.cpp index 138f4fde..e609ec73 100644 --- a/qt/gen_qvalidator.cpp +++ b/qt/gen_qvalidator.cpp @@ -18,10 +18,41 @@ #include #include "gen_qvalidator.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QValidator_Changed(intptr_t); +int miqt_exec_callback_QValidator_Validate(void*, intptr_t, struct miqt_string, int*); +void miqt_exec_callback_QValidator_Fixup(void*, intptr_t, struct miqt_string); +bool miqt_exec_callback_QValidator_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QValidator_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QValidator_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QValidator_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QValidator_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QValidator_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QValidator_DisconnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QIntValidator_BottomChanged(intptr_t, int); +void miqt_exec_callback_QIntValidator_TopChanged(intptr_t, int); +int miqt_exec_callback_QIntValidator_Validate(void*, intptr_t, struct miqt_string, int*); +void miqt_exec_callback_QIntValidator_Fixup(void*, intptr_t, struct miqt_string); +void miqt_exec_callback_QIntValidator_SetRange(void*, intptr_t, int, int); +void miqt_exec_callback_QDoubleValidator_BottomChanged(intptr_t, double); +void miqt_exec_callback_QDoubleValidator_TopChanged(intptr_t, double); +void miqt_exec_callback_QDoubleValidator_DecimalsChanged(intptr_t, int); +void miqt_exec_callback_QDoubleValidator_NotationChanged(intptr_t, int); +int miqt_exec_callback_QDoubleValidator_Validate(void*, intptr_t, struct miqt_string, int*); +void miqt_exec_callback_QDoubleValidator_SetRange(void*, intptr_t, double, double, int); +void miqt_exec_callback_QDoubleValidator_Fixup(void*, intptr_t, struct miqt_string); +void miqt_exec_callback_QRegExpValidator_RegExpChanged(intptr_t, QRegExp*); +int miqt_exec_callback_QRegExpValidator_Validate(void*, intptr_t, struct miqt_string, int*); +void miqt_exec_callback_QRegExpValidator_Fixup(void*, intptr_t, struct miqt_string); +void miqt_exec_callback_QRegularExpressionValidator_RegularExpressionChanged(intptr_t, QRegularExpression*); +int miqt_exec_callback_QRegularExpressionValidator_Validate(void*, intptr_t, struct miqt_string, int*); +void miqt_exec_callback_QRegularExpressionValidator_Fixup(void*, intptr_t, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQValidator : public virtual QValidator { public: diff --git a/qt/gen_qvariant.cpp b/qt/gen_qvariant.cpp index 500a89fa..8b9dfc87 100644 --- a/qt/gen_qvariant.cpp +++ b/qt/gen_qvariant.cpp @@ -38,10 +38,13 @@ #include #include "gen_qvariant.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QVariant* QVariant_new() { return new QVariant(); diff --git a/qt/gen_qvariantanimation.cpp b/qt/gen_qvariantanimation.cpp index ab2554ae..112d5789 100644 --- a/qt/gen_qvariantanimation.cpp +++ b/qt/gen_qvariantanimation.cpp @@ -13,10 +13,21 @@ #include #include "gen_qvariantanimation.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QVariantAnimation_ValueChanged(intptr_t, QVariant*); +int miqt_exec_callback_QVariantAnimation_Duration(void*, intptr_t); +bool miqt_exec_callback_QVariantAnimation_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QVariantAnimation_UpdateCurrentTime(void*, intptr_t, int); +void miqt_exec_callback_QVariantAnimation_UpdateState(void*, intptr_t, int, int); +void miqt_exec_callback_QVariantAnimation_UpdateCurrentValue(void*, intptr_t, QVariant*); +QVariant* miqt_exec_callback_QVariantAnimation_Interpolated(void*, intptr_t, QVariant*, QVariant*, double); +void miqt_exec_callback_QVariantAnimation_UpdateDirection(void*, intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQVariantAnimation : public virtual QVariantAnimation { public: diff --git a/qt/gen_qvector2d.cpp b/qt/gen_qvector2d.cpp index e5cc2f8f..e92bf651 100644 --- a/qt/gen_qvector2d.cpp +++ b/qt/gen_qvector2d.cpp @@ -7,10 +7,13 @@ #include #include "gen_qvector2d.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QVector2D* QVector2D_new() { return new QVector2D(); diff --git a/qt/gen_qvector3d.cpp b/qt/gen_qvector3d.cpp index 838fde18..5612ab9e 100644 --- a/qt/gen_qvector3d.cpp +++ b/qt/gen_qvector3d.cpp @@ -9,10 +9,13 @@ #include #include "gen_qvector3d.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QVector3D* QVector3D_new() { return new QVector3D(); diff --git a/qt/gen_qvector4d.cpp b/qt/gen_qvector4d.cpp index 90ced0b1..dc6736e6 100644 --- a/qt/gen_qvector4d.cpp +++ b/qt/gen_qvector4d.cpp @@ -7,10 +7,13 @@ #include #include "gen_qvector4d.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QVector4D* QVector4D_new() { return new QVector4D(); diff --git a/qt/gen_qversionnumber.cpp b/qt/gen_qversionnumber.cpp index 3cb1ce5e..09c62c68 100644 --- a/qt/gen_qversionnumber.cpp +++ b/qt/gen_qversionnumber.cpp @@ -6,10 +6,13 @@ #include #include "gen_qversionnumber.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QVersionNumber* QVersionNumber_new() { return new QVersionNumber(); diff --git a/qt/gen_qwaitcondition.cpp b/qt/gen_qwaitcondition.cpp index bbbaaabd..06803ab6 100644 --- a/qt/gen_qwaitcondition.cpp +++ b/qt/gen_qwaitcondition.cpp @@ -5,10 +5,13 @@ #include #include "gen_qwaitcondition.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWaitCondition* QWaitCondition_new() { return new QWaitCondition(); diff --git a/qt/gen_qwhatsthis.cpp b/qt/gen_qwhatsthis.cpp index 6ddef27b..16c9b30d 100644 --- a/qt/gen_qwhatsthis.cpp +++ b/qt/gen_qwhatsthis.cpp @@ -9,10 +9,13 @@ #include #include "gen_qwhatsthis.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QWhatsThis_EnterWhatsThisMode() { QWhatsThis::enterWhatsThisMode(); diff --git a/qt/gen_qwidget.cpp b/qt/gen_qwidget.cpp index aa693787..f6a52f77 100644 --- a/qt/gen_qwidget.cpp +++ b/qt/gen_qwidget.cpp @@ -60,10 +60,64 @@ #include #include "gen_qwidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWidget_WindowTitleChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QWidget_WindowIconChanged(intptr_t, QIcon*); +void miqt_exec_callback_QWidget_WindowIconTextChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QWidget_CustomContextMenuRequested(intptr_t, QPoint*); +int miqt_exec_callback_QWidget_DevType(void*, intptr_t); +void miqt_exec_callback_QWidget_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QWidget_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QWidget_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QWidget_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QWidget_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QWidget_PaintEngine(void*, intptr_t); +bool miqt_exec_callback_QWidget_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWidget_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWidget_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWidget_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWidget_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWidget_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QWidget_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QWidget_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QWidget_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QWidget_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QWidget_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWidget_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWidget_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QWidget_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QWidget_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QWidget_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QWidget_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QWidget_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QWidget_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QWidget_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QWidget_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QWidget_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QWidget_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QWidget_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QWidget_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QWidget_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +void miqt_exec_callback_QWidget_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QWidget_Metric(void*, intptr_t, int); +void miqt_exec_callback_QWidget_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QWidget_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QWidget_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QWidget_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QWidget_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QWidget_FocusNextPrevChild(void*, intptr_t, bool); +bool miqt_exec_callback_QWidget_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QWidget_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QWidget_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QWidget_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWidget_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QWidget_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWidgetData* QWidgetData_new(QWidgetData* param1) { return new QWidgetData(*param1); diff --git a/qt/gen_qwidgetaction.cpp b/qt/gen_qwidgetaction.cpp index 9d8c185f..fa847df6 100644 --- a/qt/gen_qwidgetaction.cpp +++ b/qt/gen_qwidgetaction.cpp @@ -10,10 +10,17 @@ #include #include "gen_qwidgetaction.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QWidgetAction_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QWidgetAction_EventFilter(void*, intptr_t, QObject*, QEvent*); +QWidget* miqt_exec_callback_QWidgetAction_CreateWidget(void*, intptr_t, QWidget*); +void miqt_exec_callback_QWidgetAction_DeleteWidget(void*, intptr_t, QWidget*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWidgetAction : public virtual QWidgetAction { public: diff --git a/qt/gen_qwindow.cpp b/qt/gen_qwindow.cpp index bb9a7688..aced6581 100644 --- a/qt/gen_qwindow.cpp +++ b/qt/gen_qwindow.cpp @@ -34,10 +34,61 @@ #include #include "gen_qwindow.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWindow_ScreenChanged(intptr_t, QScreen*); +void miqt_exec_callback_QWindow_ModalityChanged(intptr_t, int); +void miqt_exec_callback_QWindow_WindowStateChanged(intptr_t, int); +void miqt_exec_callback_QWindow_WindowTitleChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QWindow_XChanged(intptr_t, int); +void miqt_exec_callback_QWindow_YChanged(intptr_t, int); +void miqt_exec_callback_QWindow_WidthChanged(intptr_t, int); +void miqt_exec_callback_QWindow_HeightChanged(intptr_t, int); +void miqt_exec_callback_QWindow_MinimumWidthChanged(intptr_t, int); +void miqt_exec_callback_QWindow_MinimumHeightChanged(intptr_t, int); +void miqt_exec_callback_QWindow_MaximumWidthChanged(intptr_t, int); +void miqt_exec_callback_QWindow_MaximumHeightChanged(intptr_t, int); +void miqt_exec_callback_QWindow_VisibleChanged(intptr_t, bool); +void miqt_exec_callback_QWindow_VisibilityChanged(intptr_t, int); +void miqt_exec_callback_QWindow_ActiveChanged(intptr_t); +void miqt_exec_callback_QWindow_ContentOrientationChanged(intptr_t, int); +void miqt_exec_callback_QWindow_FocusObjectChanged(intptr_t, QObject*); +void miqt_exec_callback_QWindow_OpacityChanged(intptr_t, double); +void miqt_exec_callback_QWindow_TransientParentChanged(intptr_t, QWindow*); +int miqt_exec_callback_QWindow_SurfaceType(void*, intptr_t); +QSurfaceFormat* miqt_exec_callback_QWindow_Format(void*, intptr_t); +QSize* miqt_exec_callback_QWindow_Size(void*, intptr_t); +QAccessibleInterface* miqt_exec_callback_QWindow_AccessibleRoot(void*, intptr_t); +QObject* miqt_exec_callback_QWindow_FocusObject(void*, intptr_t); +void miqt_exec_callback_QWindow_ExposeEvent(void*, intptr_t, QExposeEvent*); +void miqt_exec_callback_QWindow_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QWindow_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QWindow_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QWindow_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QWindow_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QWindow_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QWindow_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWindow_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QWindow_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QWindow_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWindow_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWindow_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWindow_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWindow_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QWindow_TouchEvent(void*, intptr_t, QTouchEvent*); +void miqt_exec_callback_QWindow_TabletEvent(void*, intptr_t, QTabletEvent*); +bool miqt_exec_callback_QWindow_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +bool miqt_exec_callback_QWindow_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QWindow_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QWindow_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QWindow_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWindow_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QWindow_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWindow : public virtual QWindow { public: diff --git a/qt/gen_qwizard.cpp b/qt/gen_qwizard.cpp index f23f68a9..3e40d1b3 100644 --- a/qt/gen_qwizard.cpp +++ b/qt/gen_qwizard.cpp @@ -39,10 +39,85 @@ #include #include "gen_qwizard.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWizard_CurrentIdChanged(intptr_t, int); +void miqt_exec_callback_QWizard_HelpRequested(intptr_t); +void miqt_exec_callback_QWizard_CustomButtonClicked(intptr_t, int); +void miqt_exec_callback_QWizard_PageAdded(intptr_t, int); +void miqt_exec_callback_QWizard_PageRemoved(intptr_t, int); +bool miqt_exec_callback_QWizard_ValidateCurrentPage(void*, intptr_t); +int miqt_exec_callback_QWizard_NextId(void*, intptr_t); +void miqt_exec_callback_QWizard_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QWizard_SizeHint(void*, intptr_t); +bool miqt_exec_callback_QWizard_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWizard_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QWizard_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QWizard_Done(void*, intptr_t, int); +void miqt_exec_callback_QWizard_InitializePage(void*, intptr_t, int); +void miqt_exec_callback_QWizard_CleanupPage(void*, intptr_t, int); +QSize* miqt_exec_callback_QWizard_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QWizard_Open(void*, intptr_t); +int miqt_exec_callback_QWizard_Exec(void*, intptr_t); +void miqt_exec_callback_QWizard_Accept(void*, intptr_t); +void miqt_exec_callback_QWizard_Reject(void*, intptr_t); +void miqt_exec_callback_QWizard_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QWizard_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QWizard_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QWizard_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QWizard_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QWizardPage_CompleteChanged(intptr_t); +void miqt_exec_callback_QWizardPage_InitializePage(void*, intptr_t); +void miqt_exec_callback_QWizardPage_CleanupPage(void*, intptr_t); +bool miqt_exec_callback_QWizardPage_ValidatePage(void*, intptr_t); +bool miqt_exec_callback_QWizardPage_IsComplete(void*, intptr_t); +int miqt_exec_callback_QWizardPage_NextId(void*, intptr_t); +int miqt_exec_callback_QWizardPage_DevType(void*, intptr_t); +void miqt_exec_callback_QWizardPage_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QWizardPage_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QWizardPage_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QWizardPage_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QWizardPage_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QWizardPage_PaintEngine(void*, intptr_t); +bool miqt_exec_callback_QWizardPage_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWizardPage_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWizardPage_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWizardPage_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWizardPage_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWizardPage_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QWizardPage_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QWizardPage_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QWizardPage_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QWizardPage_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QWizardPage_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWizardPage_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWizardPage_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QWizardPage_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QWizardPage_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QWizardPage_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QWizardPage_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QWizardPage_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QWizardPage_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QWizardPage_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QWizardPage_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QWizardPage_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QWizardPage_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QWizardPage_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QWizardPage_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QWizardPage_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +void miqt_exec_callback_QWizardPage_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QWizardPage_Metric(void*, intptr_t, int); +void miqt_exec_callback_QWizardPage_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QWizardPage_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QWizardPage_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QWizardPage_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QWizardPage_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QWizardPage_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWizard : public virtual QWizard { public: diff --git a/qt/gen_qxmlstream.cpp b/qt/gen_qxmlstream.cpp index 9a15f5ec..d300a13e 100644 --- a/qt/gen_qxmlstream.cpp +++ b/qt/gen_qxmlstream.cpp @@ -16,10 +16,13 @@ #include #include "gen_qxmlstream.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QXmlStreamStringRef* QXmlStreamStringRef_new() { return new QXmlStreamStringRef(); diff --git a/qt/multimedia/gen_qabstractvideobuffer.cpp b/qt/multimedia/gen_qabstractvideobuffer.cpp index 4351b392..64e1997d 100644 --- a/qt/multimedia/gen_qabstractvideobuffer.cpp +++ b/qt/multimedia/gen_qabstractvideobuffer.cpp @@ -4,10 +4,23 @@ #include #include "gen_qabstractvideobuffer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractVideoBuffer_Release(void*, intptr_t); +int miqt_exec_callback_QAbstractVideoBuffer_MapMode(void*, intptr_t); +unsigned char* miqt_exec_callback_QAbstractVideoBuffer_Map(void*, intptr_t, int, int*, int*); +void miqt_exec_callback_QAbstractVideoBuffer_Unmap(void*, intptr_t); +QVariant* miqt_exec_callback_QAbstractVideoBuffer_Handle(void*, intptr_t); +unsigned char* miqt_exec_callback_QAbstractPlanarVideoBuffer_Map(void*, intptr_t, int, int*, int*); +void miqt_exec_callback_QAbstractPlanarVideoBuffer_Release(void*, intptr_t); +int miqt_exec_callback_QAbstractPlanarVideoBuffer_MapMode(void*, intptr_t); +void miqt_exec_callback_QAbstractPlanarVideoBuffer_Unmap(void*, intptr_t); +QVariant* miqt_exec_callback_QAbstractPlanarVideoBuffer_Handle(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractVideoBuffer : public virtual QAbstractVideoBuffer { public: diff --git a/qt/multimedia/gen_qabstractvideofilter.cpp b/qt/multimedia/gen_qabstractvideofilter.cpp index 3f612ac3..a3f60270 100644 --- a/qt/multimedia/gen_qabstractvideofilter.cpp +++ b/qt/multimedia/gen_qabstractvideofilter.cpp @@ -14,10 +14,22 @@ #include #include "gen_qabstractvideofilter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractVideoFilter_ActiveChanged(intptr_t); +QVideoFilterRunnable* miqt_exec_callback_QAbstractVideoFilter_CreateFilterRunnable(void*, intptr_t); +bool miqt_exec_callback_QAbstractVideoFilter_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAbstractVideoFilter_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAbstractVideoFilter_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAbstractVideoFilter_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAbstractVideoFilter_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractVideoFilter_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAbstractVideoFilter_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QVideoFrame* QVideoFilterRunnable_Run(QVideoFilterRunnable* self, QVideoFrame* input, QVideoSurfaceFormat* surfaceFormat, int flags) { return new QVideoFrame(self->run(input, *surfaceFormat, static_cast(flags))); diff --git a/qt/multimedia/gen_qabstractvideosurface.cpp b/qt/multimedia/gen_qabstractvideosurface.cpp index 3b47d782..8d1023f2 100644 --- a/qt/multimedia/gen_qabstractvideosurface.cpp +++ b/qt/multimedia/gen_qabstractvideosurface.cpp @@ -15,10 +15,30 @@ #include #include "gen_qabstractvideosurface.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractVideoSurface_ActiveChanged(intptr_t, bool); +void miqt_exec_callback_QAbstractVideoSurface_SurfaceFormatChanged(intptr_t, QVideoSurfaceFormat*); +void miqt_exec_callback_QAbstractVideoSurface_SupportedFormatsChanged(intptr_t); +void miqt_exec_callback_QAbstractVideoSurface_NativeResolutionChanged(intptr_t, QSize*); +struct miqt_array /* of int */ miqt_exec_callback_QAbstractVideoSurface_SupportedPixelFormats(void*, intptr_t, int); +bool miqt_exec_callback_QAbstractVideoSurface_IsFormatSupported(void*, intptr_t, QVideoSurfaceFormat*); +QVideoSurfaceFormat* miqt_exec_callback_QAbstractVideoSurface_NearestFormat(void*, intptr_t, QVideoSurfaceFormat*); +bool miqt_exec_callback_QAbstractVideoSurface_Start(void*, intptr_t, QVideoSurfaceFormat*); +void miqt_exec_callback_QAbstractVideoSurface_Stop(void*, intptr_t); +bool miqt_exec_callback_QAbstractVideoSurface_Present(void*, intptr_t, QVideoFrame*); +bool miqt_exec_callback_QAbstractVideoSurface_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAbstractVideoSurface_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAbstractVideoSurface_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAbstractVideoSurface_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAbstractVideoSurface_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractVideoSurface_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAbstractVideoSurface_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractVideoSurface : public virtual QAbstractVideoSurface { public: diff --git a/qt/multimedia/gen_qaudio.cpp b/qt/multimedia/gen_qaudio.cpp index d2682cc3..6cd93092 100644 --- a/qt/multimedia/gen_qaudio.cpp +++ b/qt/multimedia/gen_qaudio.cpp @@ -1,8 +1,11 @@ #include #include "gen_qaudio.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" diff --git a/qt/multimedia/gen_qaudiobuffer.cpp b/qt/multimedia/gen_qaudiobuffer.cpp index 92d70b4c..516fb2fd 100644 --- a/qt/multimedia/gen_qaudiobuffer.cpp +++ b/qt/multimedia/gen_qaudiobuffer.cpp @@ -4,10 +4,13 @@ #include #include "gen_qaudiobuffer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QAudioBuffer* QAudioBuffer_new() { return new QAudioBuffer(); diff --git a/qt/multimedia/gen_qaudiodecoder.cpp b/qt/multimedia/gen_qaudiodecoder.cpp index c9455aa6..05ece4c2 100644 --- a/qt/multimedia/gen_qaudiodecoder.cpp +++ b/qt/multimedia/gen_qaudiodecoder.cpp @@ -13,10 +13,27 @@ #include #include "gen_qaudiodecoder.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAudioDecoder_BufferAvailableChanged(intptr_t, bool); +void miqt_exec_callback_QAudioDecoder_BufferReady(intptr_t); +void miqt_exec_callback_QAudioDecoder_Finished(intptr_t); +void miqt_exec_callback_QAudioDecoder_StateChanged(intptr_t, int); +void miqt_exec_callback_QAudioDecoder_FormatChanged(intptr_t, QAudioFormat*); +void miqt_exec_callback_QAudioDecoder_ErrorWithError(intptr_t, int); +void miqt_exec_callback_QAudioDecoder_SourceChanged(intptr_t); +void miqt_exec_callback_QAudioDecoder_PositionChanged(intptr_t, long long); +void miqt_exec_callback_QAudioDecoder_DurationChanged(intptr_t, long long); +bool miqt_exec_callback_QAudioDecoder_Bind(void*, intptr_t, QObject*); +void miqt_exec_callback_QAudioDecoder_Unbind(void*, intptr_t, QObject*); +bool miqt_exec_callback_QAudioDecoder_IsAvailable(void*, intptr_t); +int miqt_exec_callback_QAudioDecoder_Availability(void*, intptr_t); +QMediaService* miqt_exec_callback_QAudioDecoder_Service(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAudioDecoder : public virtual QAudioDecoder { public: diff --git a/qt/multimedia/gen_qaudiodecodercontrol.cpp b/qt/multimedia/gen_qaudiodecodercontrol.cpp index 735e00e4..104a9767 100644 --- a/qt/multimedia/gen_qaudiodecodercontrol.cpp +++ b/qt/multimedia/gen_qaudiodecodercontrol.cpp @@ -11,10 +11,22 @@ #include #include "gen_qaudiodecodercontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAudioDecoderControl_StateChanged(intptr_t, int); +void miqt_exec_callback_QAudioDecoderControl_FormatChanged(intptr_t, QAudioFormat*); +void miqt_exec_callback_QAudioDecoderControl_SourceChanged(intptr_t); +void miqt_exec_callback_QAudioDecoderControl_Error(intptr_t, int, struct miqt_string); +void miqt_exec_callback_QAudioDecoderControl_BufferReady(intptr_t); +void miqt_exec_callback_QAudioDecoderControl_BufferAvailableChanged(intptr_t, bool); +void miqt_exec_callback_QAudioDecoderControl_Finished(intptr_t); +void miqt_exec_callback_QAudioDecoderControl_PositionChanged(intptr_t, long long); +void miqt_exec_callback_QAudioDecoderControl_DurationChanged(intptr_t, long long); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QAudioDecoderControl_virtbase(QAudioDecoderControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qaudiodeviceinfo.cpp b/qt/multimedia/gen_qaudiodeviceinfo.cpp index 0250b78b..334f2d34 100644 --- a/qt/multimedia/gen_qaudiodeviceinfo.cpp +++ b/qt/multimedia/gen_qaudiodeviceinfo.cpp @@ -7,10 +7,13 @@ #include #include "gen_qaudiodeviceinfo.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QAudioDeviceInfo* QAudioDeviceInfo_new() { return new QAudioDeviceInfo(); diff --git a/qt/multimedia/gen_qaudioencodersettingscontrol.cpp b/qt/multimedia/gen_qaudioencodersettingscontrol.cpp index 2732fcc9..12640f3c 100644 --- a/qt/multimedia/gen_qaudioencodersettingscontrol.cpp +++ b/qt/multimedia/gen_qaudioencodersettingscontrol.cpp @@ -10,10 +10,13 @@ #include #include "gen_qaudioencodersettingscontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QAudioEncoderSettingsControl_virtbase(QAudioEncoderSettingsControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qaudioformat.cpp b/qt/multimedia/gen_qaudioformat.cpp index 40b7f503..c179bf1b 100644 --- a/qt/multimedia/gen_qaudioformat.cpp +++ b/qt/multimedia/gen_qaudioformat.cpp @@ -5,10 +5,13 @@ #include #include "gen_qaudioformat.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QAudioFormat* QAudioFormat_new() { return new QAudioFormat(); diff --git a/qt/multimedia/gen_qaudioinput.cpp b/qt/multimedia/gen_qaudioinput.cpp index ce55b029..a1e41680 100644 --- a/qt/multimedia/gen_qaudioinput.cpp +++ b/qt/multimedia/gen_qaudioinput.cpp @@ -14,10 +14,22 @@ #include #include "gen_qaudioinput.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAudioInput_StateChanged(intptr_t, int); +void miqt_exec_callback_QAudioInput_Notify(intptr_t); +bool miqt_exec_callback_QAudioInput_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAudioInput_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAudioInput_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAudioInput_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAudioInput_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAudioInput_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAudioInput_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAudioInput : public virtual QAudioInput { public: diff --git a/qt/multimedia/gen_qaudioinputselectorcontrol.cpp b/qt/multimedia/gen_qaudioinputselectorcontrol.cpp index 70829913..18bc41c5 100644 --- a/qt/multimedia/gen_qaudioinputselectorcontrol.cpp +++ b/qt/multimedia/gen_qaudioinputselectorcontrol.cpp @@ -9,10 +9,15 @@ #include #include "gen_qaudioinputselectorcontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAudioInputSelectorControl_ActiveInputChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QAudioInputSelectorControl_AvailableInputsChanged(intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QAudioInputSelectorControl_virtbase(QAudioInputSelectorControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qaudiooutput.cpp b/qt/multimedia/gen_qaudiooutput.cpp index f5adb2c5..0da25f12 100644 --- a/qt/multimedia/gen_qaudiooutput.cpp +++ b/qt/multimedia/gen_qaudiooutput.cpp @@ -14,10 +14,22 @@ #include #include "gen_qaudiooutput.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAudioOutput_StateChanged(intptr_t, int); +void miqt_exec_callback_QAudioOutput_Notify(intptr_t); +bool miqt_exec_callback_QAudioOutput_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAudioOutput_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAudioOutput_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAudioOutput_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAudioOutput_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAudioOutput_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAudioOutput_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAudioOutput : public virtual QAudioOutput { public: diff --git a/qt/multimedia/gen_qaudiooutputselectorcontrol.cpp b/qt/multimedia/gen_qaudiooutputselectorcontrol.cpp index 14c3159e..7510f40d 100644 --- a/qt/multimedia/gen_qaudiooutputselectorcontrol.cpp +++ b/qt/multimedia/gen_qaudiooutputselectorcontrol.cpp @@ -9,10 +9,15 @@ #include #include "gen_qaudiooutputselectorcontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAudioOutputSelectorControl_ActiveOutputChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QAudioOutputSelectorControl_AvailableOutputsChanged(intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QAudioOutputSelectorControl_virtbase(QAudioOutputSelectorControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qaudioprobe.cpp b/qt/multimedia/gen_qaudioprobe.cpp index df0ca63c..c9afdfd8 100644 --- a/qt/multimedia/gen_qaudioprobe.cpp +++ b/qt/multimedia/gen_qaudioprobe.cpp @@ -14,10 +14,22 @@ #include #include "gen_qaudioprobe.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAudioProbe_AudioBufferProbed(intptr_t, QAudioBuffer*); +void miqt_exec_callback_QAudioProbe_Flush(intptr_t); +bool miqt_exec_callback_QAudioProbe_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAudioProbe_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAudioProbe_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAudioProbe_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAudioProbe_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAudioProbe_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAudioProbe_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAudioProbe : public virtual QAudioProbe { public: diff --git a/qt/multimedia/gen_qaudiorecorder.cpp b/qt/multimedia/gen_qaudiorecorder.cpp index c7606e5c..0ea589da 100644 --- a/qt/multimedia/gen_qaudiorecorder.cpp +++ b/qt/multimedia/gen_qaudiorecorder.cpp @@ -11,10 +11,17 @@ #include #include "gen_qaudiorecorder.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAudioRecorder_AudioInputChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QAudioRecorder_AvailableAudioInputsChanged(intptr_t); +QMediaObject* miqt_exec_callback_QAudioRecorder_MediaObject(void*, intptr_t); +bool miqt_exec_callback_QAudioRecorder_SetMediaObject(void*, intptr_t, QMediaObject*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAudioRecorder : public virtual QAudioRecorder { public: diff --git a/qt/multimedia/gen_qaudiorolecontrol.cpp b/qt/multimedia/gen_qaudiorolecontrol.cpp index 935853ec..8f3b1407 100644 --- a/qt/multimedia/gen_qaudiorolecontrol.cpp +++ b/qt/multimedia/gen_qaudiorolecontrol.cpp @@ -9,10 +9,14 @@ #include #include "gen_qaudiorolecontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAudioRoleControl_AudioRoleChanged(intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QAudioRoleControl_virtbase(QAudioRoleControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qaudiosystem.cpp b/qt/multimedia/gen_qaudiosystem.cpp index 767ab236..c592d27d 100644 --- a/qt/multimedia/gen_qaudiosystem.cpp +++ b/qt/multimedia/gen_qaudiosystem.cpp @@ -12,10 +12,19 @@ #include #include "gen_qaudiosystem.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractAudioOutput_ErrorChanged(intptr_t, int); +void miqt_exec_callback_QAbstractAudioOutput_StateChanged(intptr_t, int); +void miqt_exec_callback_QAbstractAudioOutput_Notify(intptr_t); +void miqt_exec_callback_QAbstractAudioInput_ErrorChanged(intptr_t, int); +void miqt_exec_callback_QAbstractAudioInput_StateChanged(intptr_t, int); +void miqt_exec_callback_QAbstractAudioInput_Notify(intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QAbstractAudioDeviceInfo_virtbase(QAbstractAudioDeviceInfo* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt/multimedia/gen_qaudiosystemplugin.cpp b/qt/multimedia/gen_qaudiosystemplugin.cpp index e16d299c..d89770c3 100644 --- a/qt/multimedia/gen_qaudiosystemplugin.cpp +++ b/qt/multimedia/gen_qaudiosystemplugin.cpp @@ -17,10 +17,24 @@ #include #include "gen_qaudiosystemplugin.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QAudioSystemPlugin_AvailableDevices(void*, intptr_t, int); +QAbstractAudioInput* miqt_exec_callback_QAudioSystemPlugin_CreateInput(void*, intptr_t, struct miqt_string); +QAbstractAudioOutput* miqt_exec_callback_QAudioSystemPlugin_CreateOutput(void*, intptr_t, struct miqt_string); +QAbstractAudioDeviceInfo* miqt_exec_callback_QAudioSystemPlugin_CreateDeviceInfo(void*, intptr_t, struct miqt_string, int); +bool miqt_exec_callback_QAudioSystemPlugin_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAudioSystemPlugin_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAudioSystemPlugin_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAudioSystemPlugin_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAudioSystemPlugin_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAudioSystemPlugin_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAudioSystemPlugin_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" struct miqt_array /* of struct miqt_string */ QAudioSystemFactoryInterface_AvailableDevices(const QAudioSystemFactoryInterface* self, int param1) { QList _ret = self->availableDevices(static_cast(param1)); diff --git a/qt/multimedia/gen_qcamera.cpp b/qt/multimedia/gen_qcamera.cpp index 75f3c4cc..1c253a0a 100644 --- a/qt/multimedia/gen_qcamera.cpp +++ b/qt/multimedia/gen_qcamera.cpp @@ -21,10 +21,27 @@ #include #include "gen_qcamera.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCamera_StateChanged(intptr_t, int); +void miqt_exec_callback_QCamera_CaptureModeChanged(intptr_t, int); +void miqt_exec_callback_QCamera_StatusChanged(intptr_t, int); +void miqt_exec_callback_QCamera_Locked(intptr_t); +void miqt_exec_callback_QCamera_LockFailed(intptr_t); +void miqt_exec_callback_QCamera_LockStatusChanged(intptr_t, int, int); +void miqt_exec_callback_QCamera_LockStatusChanged2(intptr_t, int, int, int); +void miqt_exec_callback_QCamera_ErrorWithQCameraError(intptr_t, int); +void miqt_exec_callback_QCamera_ErrorOccurred(intptr_t, int); +int miqt_exec_callback_QCamera_Availability(void*, intptr_t); +bool miqt_exec_callback_QCamera_IsAvailable(void*, intptr_t); +QMediaService* miqt_exec_callback_QCamera_Service(void*, intptr_t); +bool miqt_exec_callback_QCamera_Bind(void*, intptr_t, QObject*); +void miqt_exec_callback_QCamera_Unbind(void*, intptr_t, QObject*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQCamera : public virtual QCamera { public: diff --git a/qt/multimedia/gen_qcameracapturebufferformatcontrol.cpp b/qt/multimedia/gen_qcameracapturebufferformatcontrol.cpp index deaaada8..0b101f46 100644 --- a/qt/multimedia/gen_qcameracapturebufferformatcontrol.cpp +++ b/qt/multimedia/gen_qcameracapturebufferformatcontrol.cpp @@ -9,10 +9,14 @@ #include #include "gen_qcameracapturebufferformatcontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCameraCaptureBufferFormatControl_BufferFormatChanged(intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QCameraCaptureBufferFormatControl_virtbase(QCameraCaptureBufferFormatControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qcameracapturedestinationcontrol.cpp b/qt/multimedia/gen_qcameracapturedestinationcontrol.cpp index 7753b3df..cafbc06b 100644 --- a/qt/multimedia/gen_qcameracapturedestinationcontrol.cpp +++ b/qt/multimedia/gen_qcameracapturedestinationcontrol.cpp @@ -8,10 +8,14 @@ #include #include "gen_qcameracapturedestinationcontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCameraCaptureDestinationControl_CaptureDestinationChanged(intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QCameraCaptureDestinationControl_virtbase(QCameraCaptureDestinationControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qcameracontrol.cpp b/qt/multimedia/gen_qcameracontrol.cpp index 7fa3e0c8..752d37ad 100644 --- a/qt/multimedia/gen_qcameracontrol.cpp +++ b/qt/multimedia/gen_qcameracontrol.cpp @@ -8,10 +8,17 @@ #include #include "gen_qcameracontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCameraControl_StateChanged(intptr_t, int); +void miqt_exec_callback_QCameraControl_StatusChanged(intptr_t, int); +void miqt_exec_callback_QCameraControl_Error(intptr_t, int, struct miqt_string); +void miqt_exec_callback_QCameraControl_CaptureModeChanged(intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QCameraControl_virtbase(QCameraControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qcameraexposure.cpp b/qt/multimedia/gen_qcameraexposure.cpp index 3483c7d1..97857010 100644 --- a/qt/multimedia/gen_qcameraexposure.cpp +++ b/qt/multimedia/gen_qcameraexposure.cpp @@ -9,10 +9,20 @@ #include #include "gen_qcameraexposure.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCameraExposure_FlashReady(intptr_t, bool); +void miqt_exec_callback_QCameraExposure_ApertureChanged(intptr_t, double); +void miqt_exec_callback_QCameraExposure_ApertureRangeChanged(intptr_t); +void miqt_exec_callback_QCameraExposure_ShutterSpeedChanged(intptr_t, double); +void miqt_exec_callback_QCameraExposure_ShutterSpeedRangeChanged(intptr_t); +void miqt_exec_callback_QCameraExposure_IsoSensitivityChanged(intptr_t, int); +void miqt_exec_callback_QCameraExposure_ExposureCompensationChanged(intptr_t, double); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QCameraExposure_virtbase(QCameraExposure* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt/multimedia/gen_qcameraexposurecontrol.cpp b/qt/multimedia/gen_qcameraexposurecontrol.cpp index 8e1f1483..456f4d5c 100644 --- a/qt/multimedia/gen_qcameraexposurecontrol.cpp +++ b/qt/multimedia/gen_qcameraexposurecontrol.cpp @@ -9,10 +9,16 @@ #include #include "gen_qcameraexposurecontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCameraExposureControl_RequestedValueChanged(intptr_t, int); +void miqt_exec_callback_QCameraExposureControl_ActualValueChanged(intptr_t, int); +void miqt_exec_callback_QCameraExposureControl_ParameterRangeChanged(intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QCameraExposureControl_virtbase(QCameraExposureControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qcamerafeedbackcontrol.cpp b/qt/multimedia/gen_qcamerafeedbackcontrol.cpp index 060bc55d..c1a07feb 100644 --- a/qt/multimedia/gen_qcamerafeedbackcontrol.cpp +++ b/qt/multimedia/gen_qcamerafeedbackcontrol.cpp @@ -8,10 +8,13 @@ #include #include "gen_qcamerafeedbackcontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QCameraFeedbackControl_virtbase(QCameraFeedbackControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qcameraflashcontrol.cpp b/qt/multimedia/gen_qcameraflashcontrol.cpp index 7cc1696c..73749069 100644 --- a/qt/multimedia/gen_qcameraflashcontrol.cpp +++ b/qt/multimedia/gen_qcameraflashcontrol.cpp @@ -8,10 +8,14 @@ #include #include "gen_qcameraflashcontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCameraFlashControl_FlashReady(intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QCameraFlashControl_virtbase(QCameraFlashControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qcamerafocus.cpp b/qt/multimedia/gen_qcamerafocus.cpp index f9af520a..67517c08 100644 --- a/qt/multimedia/gen_qcamerafocus.cpp +++ b/qt/multimedia/gen_qcamerafocus.cpp @@ -11,10 +11,18 @@ #include #include "gen_qcamerafocus.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCameraFocus_OpticalZoomChanged(intptr_t, double); +void miqt_exec_callback_QCameraFocus_DigitalZoomChanged(intptr_t, double); +void miqt_exec_callback_QCameraFocus_FocusZonesChanged(intptr_t); +void miqt_exec_callback_QCameraFocus_MaximumOpticalZoomChanged(intptr_t, double); +void miqt_exec_callback_QCameraFocus_MaximumDigitalZoomChanged(intptr_t, double); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QCameraFocusZone* QCameraFocusZone_new() { return new QCameraFocusZone(); diff --git a/qt/multimedia/gen_qcamerafocuscontrol.cpp b/qt/multimedia/gen_qcamerafocuscontrol.cpp index e6439bb6..aa99838a 100644 --- a/qt/multimedia/gen_qcamerafocuscontrol.cpp +++ b/qt/multimedia/gen_qcamerafocuscontrol.cpp @@ -11,10 +11,17 @@ #include #include "gen_qcamerafocuscontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCameraFocusControl_FocusModeChanged(intptr_t, int); +void miqt_exec_callback_QCameraFocusControl_FocusPointModeChanged(intptr_t, int); +void miqt_exec_callback_QCameraFocusControl_CustomFocusPointChanged(intptr_t, QPointF*); +void miqt_exec_callback_QCameraFocusControl_FocusZonesChanged(intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QCameraFocusControl_virtbase(QCameraFocusControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qcameraimagecapture.cpp b/qt/multimedia/gen_qcameraimagecapture.cpp index 2319c288..cca49c0b 100644 --- a/qt/multimedia/gen_qcameraimagecapture.cpp +++ b/qt/multimedia/gen_qcameraimagecapture.cpp @@ -19,10 +19,31 @@ #include #include "gen_qcameraimagecapture.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCameraImageCapture_Error2(intptr_t, int, int, struct miqt_string); +void miqt_exec_callback_QCameraImageCapture_ReadyForCaptureChanged(intptr_t, bool); +void miqt_exec_callback_QCameraImageCapture_BufferFormatChanged(intptr_t, int); +void miqt_exec_callback_QCameraImageCapture_CaptureDestinationChanged(intptr_t, int); +void miqt_exec_callback_QCameraImageCapture_ImageExposed(intptr_t, int); +void miqt_exec_callback_QCameraImageCapture_ImageCaptured(intptr_t, int, QImage*); +void miqt_exec_callback_QCameraImageCapture_ImageMetadataAvailable(intptr_t, int, struct miqt_string, QVariant*); +void miqt_exec_callback_QCameraImageCapture_ImageAvailable(intptr_t, int, QVideoFrame*); +void miqt_exec_callback_QCameraImageCapture_ImageSaved(intptr_t, int, struct miqt_string); +QMediaObject* miqt_exec_callback_QCameraImageCapture_MediaObject(void*, intptr_t); +bool miqt_exec_callback_QCameraImageCapture_SetMediaObject(void*, intptr_t, QMediaObject*); +bool miqt_exec_callback_QCameraImageCapture_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QCameraImageCapture_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QCameraImageCapture_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QCameraImageCapture_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QCameraImageCapture_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QCameraImageCapture_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QCameraImageCapture_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQCameraImageCapture : public virtual QCameraImageCapture { public: diff --git a/qt/multimedia/gen_qcameraimagecapturecontrol.cpp b/qt/multimedia/gen_qcameraimagecapturecontrol.cpp index 1cb8dbbc..b2a088c1 100644 --- a/qt/multimedia/gen_qcameraimagecapturecontrol.cpp +++ b/qt/multimedia/gen_qcameraimagecapturecontrol.cpp @@ -11,10 +11,20 @@ #include #include "gen_qcameraimagecapturecontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCameraImageCaptureControl_ReadyForCaptureChanged(intptr_t, bool); +void miqt_exec_callback_QCameraImageCaptureControl_ImageExposed(intptr_t, int); +void miqt_exec_callback_QCameraImageCaptureControl_ImageCaptured(intptr_t, int, QImage*); +void miqt_exec_callback_QCameraImageCaptureControl_ImageMetadataAvailable(intptr_t, int, struct miqt_string, QVariant*); +void miqt_exec_callback_QCameraImageCaptureControl_ImageAvailable(intptr_t, int, QVideoFrame*); +void miqt_exec_callback_QCameraImageCaptureControl_ImageSaved(intptr_t, int, struct miqt_string); +void miqt_exec_callback_QCameraImageCaptureControl_Error(intptr_t, int, int, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QCameraImageCaptureControl_virtbase(QCameraImageCaptureControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qcameraimageprocessing.cpp b/qt/multimedia/gen_qcameraimageprocessing.cpp index edf4d17d..15d558b8 100644 --- a/qt/multimedia/gen_qcameraimageprocessing.cpp +++ b/qt/multimedia/gen_qcameraimageprocessing.cpp @@ -7,10 +7,13 @@ #include #include "gen_qcameraimageprocessing.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QCameraImageProcessing_virtbase(QCameraImageProcessing* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt/multimedia/gen_qcameraimageprocessingcontrol.cpp b/qt/multimedia/gen_qcameraimageprocessingcontrol.cpp index b5646fa8..959717eb 100644 --- a/qt/multimedia/gen_qcameraimageprocessingcontrol.cpp +++ b/qt/multimedia/gen_qcameraimageprocessingcontrol.cpp @@ -9,10 +9,13 @@ #include #include "gen_qcameraimageprocessingcontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QCameraImageProcessingControl_virtbase(QCameraImageProcessingControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qcamerainfo.cpp b/qt/multimedia/gen_qcamerainfo.cpp index b6789e08..f8ab6717 100644 --- a/qt/multimedia/gen_qcamerainfo.cpp +++ b/qt/multimedia/gen_qcamerainfo.cpp @@ -8,10 +8,13 @@ #include #include "gen_qcamerainfo.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QCameraInfo* QCameraInfo_new() { return new QCameraInfo(); diff --git a/qt/multimedia/gen_qcamerainfocontrol.cpp b/qt/multimedia/gen_qcamerainfocontrol.cpp index 586479af..ec145939 100644 --- a/qt/multimedia/gen_qcamerainfocontrol.cpp +++ b/qt/multimedia/gen_qcamerainfocontrol.cpp @@ -8,10 +8,13 @@ #include #include "gen_qcamerainfocontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QCameraInfoControl_virtbase(QCameraInfoControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qcameralockscontrol.cpp b/qt/multimedia/gen_qcameralockscontrol.cpp index 9120d026..3722c089 100644 --- a/qt/multimedia/gen_qcameralockscontrol.cpp +++ b/qt/multimedia/gen_qcameralockscontrol.cpp @@ -8,10 +8,14 @@ #include #include "gen_qcameralockscontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCameraLocksControl_LockStatusChanged(intptr_t, int, int, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QCameraLocksControl_virtbase(QCameraLocksControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qcameraviewfinder.cpp b/qt/multimedia/gen_qcameraviewfinder.cpp index 7d2c7acf..52146e8b 100644 --- a/qt/multimedia/gen_qcameraviewfinder.cpp +++ b/qt/multimedia/gen_qcameraviewfinder.cpp @@ -19,10 +19,22 @@ #include #include "gen_qcameraviewfinder.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QMediaObject* miqt_exec_callback_QCameraViewfinder_MediaObject(void*, intptr_t); +bool miqt_exec_callback_QCameraViewfinder_SetMediaObject(void*, intptr_t, QMediaObject*); +QSize* miqt_exec_callback_QCameraViewfinder_SizeHint(void*, intptr_t); +bool miqt_exec_callback_QCameraViewfinder_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QCameraViewfinder_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QCameraViewfinder_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QCameraViewfinder_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QCameraViewfinder_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QCameraViewfinder_PaintEvent(void*, intptr_t, QPaintEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQCameraViewfinder : public virtual QCameraViewfinder { public: diff --git a/qt/multimedia/gen_qcameraviewfindersettings.cpp b/qt/multimedia/gen_qcameraviewfindersettings.cpp index 31300ff6..e357aad2 100644 --- a/qt/multimedia/gen_qcameraviewfindersettings.cpp +++ b/qt/multimedia/gen_qcameraviewfindersettings.cpp @@ -3,10 +3,13 @@ #include #include "gen_qcameraviewfindersettings.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QCameraViewfinderSettings* QCameraViewfinderSettings_new() { return new QCameraViewfinderSettings(); diff --git a/qt/multimedia/gen_qcameraviewfindersettingscontrol.cpp b/qt/multimedia/gen_qcameraviewfindersettingscontrol.cpp index 773197a9..33f7d5cb 100644 --- a/qt/multimedia/gen_qcameraviewfindersettingscontrol.cpp +++ b/qt/multimedia/gen_qcameraviewfindersettingscontrol.cpp @@ -12,10 +12,13 @@ #include #include "gen_qcameraviewfindersettingscontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QCameraViewfinderSettingsControl_virtbase(QCameraViewfinderSettingsControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qcamerazoomcontrol.cpp b/qt/multimedia/gen_qcamerazoomcontrol.cpp index ad5cc6fc..32ce2b05 100644 --- a/qt/multimedia/gen_qcamerazoomcontrol.cpp +++ b/qt/multimedia/gen_qcamerazoomcontrol.cpp @@ -8,10 +8,19 @@ #include #include "gen_qcamerazoomcontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCameraZoomControl_MaximumOpticalZoomChanged(intptr_t, double); +void miqt_exec_callback_QCameraZoomControl_MaximumDigitalZoomChanged(intptr_t, double); +void miqt_exec_callback_QCameraZoomControl_RequestedOpticalZoomChanged(intptr_t, double); +void miqt_exec_callback_QCameraZoomControl_RequestedDigitalZoomChanged(intptr_t, double); +void miqt_exec_callback_QCameraZoomControl_CurrentOpticalZoomChanged(intptr_t, double); +void miqt_exec_callback_QCameraZoomControl_CurrentDigitalZoomChanged(intptr_t, double); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QCameraZoomControl_virtbase(QCameraZoomControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qcustomaudiorolecontrol.cpp b/qt/multimedia/gen_qcustomaudiorolecontrol.cpp index 186ea950..958b926c 100644 --- a/qt/multimedia/gen_qcustomaudiorolecontrol.cpp +++ b/qt/multimedia/gen_qcustomaudiorolecontrol.cpp @@ -9,10 +9,14 @@ #include #include "gen_qcustomaudiorolecontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCustomAudioRoleControl_CustomAudioRoleChanged(intptr_t, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QCustomAudioRoleControl_virtbase(QCustomAudioRoleControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qgraphicsvideoitem.cpp b/qt/multimedia/gen_qgraphicsvideoitem.cpp index dd00dd27..56658284 100644 --- a/qt/multimedia/gen_qgraphicsvideoitem.cpp +++ b/qt/multimedia/gen_qgraphicsvideoitem.cpp @@ -21,10 +21,21 @@ #include #include "gen_qgraphicsvideoitem.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsVideoItem_NativeSizeChanged(intptr_t, QSizeF*); +QMediaObject* miqt_exec_callback_QGraphicsVideoItem_MediaObject(void*, intptr_t); +QRectF* miqt_exec_callback_QGraphicsVideoItem_BoundingRect(void*, intptr_t); +void miqt_exec_callback_QGraphicsVideoItem_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +void miqt_exec_callback_QGraphicsVideoItem_TimerEvent(void*, intptr_t, QTimerEvent*); +QVariant* miqt_exec_callback_QGraphicsVideoItem_ItemChange(void*, intptr_t, int, QVariant*); +bool miqt_exec_callback_QGraphicsVideoItem_SetMediaObject(void*, intptr_t, QMediaObject*); +bool miqt_exec_callback_QGraphicsVideoItem_Event(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsVideoItem : public virtual QGraphicsVideoItem { public: diff --git a/qt/multimedia/gen_qimageencodercontrol.cpp b/qt/multimedia/gen_qimageencodercontrol.cpp index b1e5de29..88db58dc 100644 --- a/qt/multimedia/gen_qimageencodercontrol.cpp +++ b/qt/multimedia/gen_qimageencodercontrol.cpp @@ -11,10 +11,13 @@ #include #include "gen_qimageencodercontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QImageEncoderControl_virtbase(QImageEncoderControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qmediaaudioprobecontrol.cpp b/qt/multimedia/gen_qmediaaudioprobecontrol.cpp index 3614f347..9aaec30e 100644 --- a/qt/multimedia/gen_qmediaaudioprobecontrol.cpp +++ b/qt/multimedia/gen_qmediaaudioprobecontrol.cpp @@ -9,10 +9,15 @@ #include #include "gen_qmediaaudioprobecontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMediaAudioProbeControl_AudioBufferProbed(intptr_t, QAudioBuffer*); +void miqt_exec_callback_QMediaAudioProbeControl_Flush(intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QMediaAudioProbeControl_virtbase(QMediaAudioProbeControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qmediaavailabilitycontrol.cpp b/qt/multimedia/gen_qmediaavailabilitycontrol.cpp index e57f2efe..bc054451 100644 --- a/qt/multimedia/gen_qmediaavailabilitycontrol.cpp +++ b/qt/multimedia/gen_qmediaavailabilitycontrol.cpp @@ -8,10 +8,14 @@ #include #include "gen_qmediaavailabilitycontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMediaAvailabilityControl_AvailabilityChanged(intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QMediaAvailabilityControl_virtbase(QMediaAvailabilityControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qmediabindableinterface.cpp b/qt/multimedia/gen_qmediabindableinterface.cpp index cc05a694..0b148abf 100644 --- a/qt/multimedia/gen_qmediabindableinterface.cpp +++ b/qt/multimedia/gen_qmediabindableinterface.cpp @@ -3,10 +3,13 @@ #include #include "gen_qmediabindableinterface.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMediaObject* QMediaBindableInterface_MediaObject(const QMediaBindableInterface* self) { return self->mediaObject(); diff --git a/qt/multimedia/gen_qmediacontainercontrol.cpp b/qt/multimedia/gen_qmediacontainercontrol.cpp index bcd3799a..4929158d 100644 --- a/qt/multimedia/gen_qmediacontainercontrol.cpp +++ b/qt/multimedia/gen_qmediacontainercontrol.cpp @@ -9,10 +9,13 @@ #include #include "gen_qmediacontainercontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QMediaContainerControl_virtbase(QMediaContainerControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qmediacontent.cpp b/qt/multimedia/gen_qmediacontent.cpp index aef618ee..34132226 100644 --- a/qt/multimedia/gen_qmediacontent.cpp +++ b/qt/multimedia/gen_qmediacontent.cpp @@ -7,10 +7,13 @@ #include #include "gen_qmediacontent.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMediaContent* QMediaContent_new() { return new QMediaContent(); diff --git a/qt/multimedia/gen_qmediacontrol.cpp b/qt/multimedia/gen_qmediacontrol.cpp index 1f119fc0..33f6ae21 100644 --- a/qt/multimedia/gen_qmediacontrol.cpp +++ b/qt/multimedia/gen_qmediacontrol.cpp @@ -7,10 +7,13 @@ #include #include "gen_qmediacontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QMediaControl_virtbase(QMediaControl* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt/multimedia/gen_qmediaencodersettings.cpp b/qt/multimedia/gen_qmediaencodersettings.cpp index cbcc0a95..6bc12563 100644 --- a/qt/multimedia/gen_qmediaencodersettings.cpp +++ b/qt/multimedia/gen_qmediaencodersettings.cpp @@ -10,10 +10,13 @@ #include #include "gen_qmediaencodersettings.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QAudioEncoderSettings* QAudioEncoderSettings_new() { return new QAudioEncoderSettings(); diff --git a/qt/multimedia/gen_qmediagaplessplaybackcontrol.cpp b/qt/multimedia/gen_qmediagaplessplaybackcontrol.cpp index 2f1d6390..a4a47663 100644 --- a/qt/multimedia/gen_qmediagaplessplaybackcontrol.cpp +++ b/qt/multimedia/gen_qmediagaplessplaybackcontrol.cpp @@ -9,10 +9,16 @@ #include #include "gen_qmediagaplessplaybackcontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMediaGaplessPlaybackControl_CrossfadeTimeChanged(intptr_t, double); +void miqt_exec_callback_QMediaGaplessPlaybackControl_NextMediaChanged(intptr_t, QMediaContent*); +void miqt_exec_callback_QMediaGaplessPlaybackControl_AdvancedToNextMedia(intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QMediaGaplessPlaybackControl_virtbase(QMediaGaplessPlaybackControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qmedianetworkaccesscontrol.cpp b/qt/multimedia/gen_qmedianetworkaccesscontrol.cpp index 5219acc1..7a5300d3 100644 --- a/qt/multimedia/gen_qmedianetworkaccesscontrol.cpp +++ b/qt/multimedia/gen_qmedianetworkaccesscontrol.cpp @@ -10,10 +10,14 @@ #include #include "gen_qmedianetworkaccesscontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMediaNetworkAccessControl_ConfigurationChanged(intptr_t, QNetworkConfiguration*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QMediaNetworkAccessControl_virtbase(QMediaNetworkAccessControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qmediaobject.cpp b/qt/multimedia/gen_qmediaobject.cpp index 21446c58..682a6359 100644 --- a/qt/multimedia/gen_qmediaobject.cpp +++ b/qt/multimedia/gen_qmediaobject.cpp @@ -10,10 +10,19 @@ #include #include "gen_qmediaobject.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMediaObject_NotifyIntervalChanged(intptr_t, int); +void miqt_exec_callback_QMediaObject_MetaDataAvailableChanged(intptr_t, bool); +void miqt_exec_callback_QMediaObject_MetaDataChanged(intptr_t); +void miqt_exec_callback_QMediaObject_MetaDataChanged2(intptr_t, struct miqt_string, QVariant*); +void miqt_exec_callback_QMediaObject_AvailabilityChanged(intptr_t, bool); +void miqt_exec_callback_QMediaObject_AvailabilityChangedWithAvailability(intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QMediaObject_virtbase(QMediaObject* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt/multimedia/gen_qmediaplayer.cpp b/qt/multimedia/gen_qmediaplayer.cpp index f1864b54..48344a9e 100644 --- a/qt/multimedia/gen_qmediaplayer.cpp +++ b/qt/multimedia/gen_qmediaplayer.cpp @@ -17,10 +17,35 @@ #include #include "gen_qmediaplayer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMediaPlayer_MediaChanged(intptr_t, QMediaContent*); +void miqt_exec_callback_QMediaPlayer_CurrentMediaChanged(intptr_t, QMediaContent*); +void miqt_exec_callback_QMediaPlayer_StateChanged(intptr_t, int); +void miqt_exec_callback_QMediaPlayer_MediaStatusChanged(intptr_t, int); +void miqt_exec_callback_QMediaPlayer_DurationChanged(intptr_t, long long); +void miqt_exec_callback_QMediaPlayer_PositionChanged(intptr_t, long long); +void miqt_exec_callback_QMediaPlayer_VolumeChanged(intptr_t, int); +void miqt_exec_callback_QMediaPlayer_MutedChanged(intptr_t, bool); +void miqt_exec_callback_QMediaPlayer_AudioAvailableChanged(intptr_t, bool); +void miqt_exec_callback_QMediaPlayer_VideoAvailableChanged(intptr_t, bool); +void miqt_exec_callback_QMediaPlayer_BufferStatusChanged(intptr_t, int); +void miqt_exec_callback_QMediaPlayer_SeekableChanged(intptr_t, bool); +void miqt_exec_callback_QMediaPlayer_PlaybackRateChanged(intptr_t, double); +void miqt_exec_callback_QMediaPlayer_AudioRoleChanged(intptr_t, int); +void miqt_exec_callback_QMediaPlayer_CustomAudioRoleChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QMediaPlayer_ErrorWithError(intptr_t, int); +void miqt_exec_callback_QMediaPlayer_NetworkConfigurationChanged(intptr_t, QNetworkConfiguration*); +int miqt_exec_callback_QMediaPlayer_Availability(void*, intptr_t); +bool miqt_exec_callback_QMediaPlayer_Bind(void*, intptr_t, QObject*); +void miqt_exec_callback_QMediaPlayer_Unbind(void*, intptr_t, QObject*); +bool miqt_exec_callback_QMediaPlayer_IsAvailable(void*, intptr_t); +QMediaService* miqt_exec_callback_QMediaPlayer_Service(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQMediaPlayer : public virtual QMediaPlayer { public: diff --git a/qt/multimedia/gen_qmediaplayercontrol.cpp b/qt/multimedia/gen_qmediaplayercontrol.cpp index 022f0a56..58bb5c87 100644 --- a/qt/multimedia/gen_qmediaplayercontrol.cpp +++ b/qt/multimedia/gen_qmediaplayercontrol.cpp @@ -11,10 +11,27 @@ #include #include "gen_qmediaplayercontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMediaPlayerControl_MediaChanged(intptr_t, QMediaContent*); +void miqt_exec_callback_QMediaPlayerControl_DurationChanged(intptr_t, long long); +void miqt_exec_callback_QMediaPlayerControl_PositionChanged(intptr_t, long long); +void miqt_exec_callback_QMediaPlayerControl_StateChanged(intptr_t, int); +void miqt_exec_callback_QMediaPlayerControl_MediaStatusChanged(intptr_t, int); +void miqt_exec_callback_QMediaPlayerControl_VolumeChanged(intptr_t, int); +void miqt_exec_callback_QMediaPlayerControl_MutedChanged(intptr_t, bool); +void miqt_exec_callback_QMediaPlayerControl_AudioAvailableChanged(intptr_t, bool); +void miqt_exec_callback_QMediaPlayerControl_VideoAvailableChanged(intptr_t, bool); +void miqt_exec_callback_QMediaPlayerControl_BufferStatusChanged(intptr_t, int); +void miqt_exec_callback_QMediaPlayerControl_SeekableChanged(intptr_t, bool); +void miqt_exec_callback_QMediaPlayerControl_AvailablePlaybackRangesChanged(intptr_t, QMediaTimeRange*); +void miqt_exec_callback_QMediaPlayerControl_PlaybackRateChanged(intptr_t, double); +void miqt_exec_callback_QMediaPlayerControl_Error(intptr_t, int, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QMediaPlayerControl_virtbase(QMediaPlayerControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qmediaplaylist.cpp b/qt/multimedia/gen_qmediaplaylist.cpp index 70f04f37..187e2426 100644 --- a/qt/multimedia/gen_qmediaplaylist.cpp +++ b/qt/multimedia/gen_qmediaplaylist.cpp @@ -18,10 +18,32 @@ #include #include "gen_qmediaplaylist.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMediaPlaylist_CurrentIndexChanged(intptr_t, int); +void miqt_exec_callback_QMediaPlaylist_PlaybackModeChanged(intptr_t, int); +void miqt_exec_callback_QMediaPlaylist_CurrentMediaChanged(intptr_t, QMediaContent*); +void miqt_exec_callback_QMediaPlaylist_MediaAboutToBeInserted(intptr_t, int, int); +void miqt_exec_callback_QMediaPlaylist_MediaInserted(intptr_t, int, int); +void miqt_exec_callback_QMediaPlaylist_MediaAboutToBeRemoved(intptr_t, int, int); +void miqt_exec_callback_QMediaPlaylist_MediaRemoved(intptr_t, int, int); +void miqt_exec_callback_QMediaPlaylist_MediaChanged(intptr_t, int, int); +void miqt_exec_callback_QMediaPlaylist_Loaded(intptr_t); +void miqt_exec_callback_QMediaPlaylist_LoadFailed(intptr_t); +QMediaObject* miqt_exec_callback_QMediaPlaylist_MediaObject(void*, intptr_t); +bool miqt_exec_callback_QMediaPlaylist_SetMediaObject(void*, intptr_t, QMediaObject*); +bool miqt_exec_callback_QMediaPlaylist_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QMediaPlaylist_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QMediaPlaylist_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QMediaPlaylist_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QMediaPlaylist_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMediaPlaylist_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QMediaPlaylist_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQMediaPlaylist : public virtual QMediaPlaylist { public: diff --git a/qt/multimedia/gen_qmediarecorder.cpp b/qt/multimedia/gen_qmediarecorder.cpp index 84a04fa7..4a988883 100644 --- a/qt/multimedia/gen_qmediarecorder.cpp +++ b/qt/multimedia/gen_qmediarecorder.cpp @@ -19,10 +19,35 @@ #include #include "gen_qmediarecorder.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMediaRecorder_StateChanged(intptr_t, int); +void miqt_exec_callback_QMediaRecorder_StatusChanged(intptr_t, int); +void miqt_exec_callback_QMediaRecorder_DurationChanged(intptr_t, long long); +void miqt_exec_callback_QMediaRecorder_MutedChanged(intptr_t, bool); +void miqt_exec_callback_QMediaRecorder_VolumeChanged(intptr_t, double); +void miqt_exec_callback_QMediaRecorder_ActualLocationChanged(intptr_t, QUrl*); +void miqt_exec_callback_QMediaRecorder_ErrorWithError(intptr_t, int); +void miqt_exec_callback_QMediaRecorder_MetaDataAvailableChanged(intptr_t, bool); +void miqt_exec_callback_QMediaRecorder_MetaDataWritableChanged(intptr_t, bool); +void miqt_exec_callback_QMediaRecorder_MetaDataChanged(intptr_t); +void miqt_exec_callback_QMediaRecorder_MetaDataChanged2(intptr_t, struct miqt_string, QVariant*); +void miqt_exec_callback_QMediaRecorder_AvailabilityChanged(intptr_t, bool); +void miqt_exec_callback_QMediaRecorder_AvailabilityChangedWithAvailability(intptr_t, int); +QMediaObject* miqt_exec_callback_QMediaRecorder_MediaObject(void*, intptr_t); +bool miqt_exec_callback_QMediaRecorder_SetMediaObject(void*, intptr_t, QMediaObject*); +bool miqt_exec_callback_QMediaRecorder_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QMediaRecorder_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QMediaRecorder_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QMediaRecorder_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QMediaRecorder_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMediaRecorder_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QMediaRecorder_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQMediaRecorder : public virtual QMediaRecorder { public: diff --git a/qt/multimedia/gen_qmediarecordercontrol.cpp b/qt/multimedia/gen_qmediarecordercontrol.cpp index 337ee815..d26da765 100644 --- a/qt/multimedia/gen_qmediarecordercontrol.cpp +++ b/qt/multimedia/gen_qmediarecordercontrol.cpp @@ -9,10 +9,20 @@ #include #include "gen_qmediarecordercontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMediaRecorderControl_StateChanged(intptr_t, int); +void miqt_exec_callback_QMediaRecorderControl_StatusChanged(intptr_t, int); +void miqt_exec_callback_QMediaRecorderControl_DurationChanged(intptr_t, long long); +void miqt_exec_callback_QMediaRecorderControl_MutedChanged(intptr_t, bool); +void miqt_exec_callback_QMediaRecorderControl_VolumeChanged(intptr_t, double); +void miqt_exec_callback_QMediaRecorderControl_ActualLocationChanged(intptr_t, QUrl*); +void miqt_exec_callback_QMediaRecorderControl_Error(intptr_t, int, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QMediaRecorderControl_virtbase(QMediaRecorderControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qmediaresource.cpp b/qt/multimedia/gen_qmediaresource.cpp index 8af00078..498a28f5 100644 --- a/qt/multimedia/gen_qmediaresource.cpp +++ b/qt/multimedia/gen_qmediaresource.cpp @@ -8,10 +8,13 @@ #include #include "gen_qmediaresource.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMediaResource* QMediaResource_new() { return new QMediaResource(); diff --git a/qt/multimedia/gen_qmediaservice.cpp b/qt/multimedia/gen_qmediaservice.cpp index b81bd56f..3e7e2f83 100644 --- a/qt/multimedia/gen_qmediaservice.cpp +++ b/qt/multimedia/gen_qmediaservice.cpp @@ -8,10 +8,13 @@ #include #include "gen_qmediaservice.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QMediaService_virtbase(QMediaService* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt/multimedia/gen_qmediaserviceproviderplugin.cpp b/qt/multimedia/gen_qmediaserviceproviderplugin.cpp index 16cd089c..6492371d 100644 --- a/qt/multimedia/gen_qmediaserviceproviderplugin.cpp +++ b/qt/multimedia/gen_qmediaserviceproviderplugin.cpp @@ -17,10 +17,13 @@ #include #include "gen_qmediaserviceproviderplugin.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMediaServiceProviderHint* QMediaServiceProviderHint_new() { return new QMediaServiceProviderHint(); diff --git a/qt/multimedia/gen_qmediastreamscontrol.cpp b/qt/multimedia/gen_qmediastreamscontrol.cpp index 3ff1eabf..acdb131a 100644 --- a/qt/multimedia/gen_qmediastreamscontrol.cpp +++ b/qt/multimedia/gen_qmediastreamscontrol.cpp @@ -9,10 +9,15 @@ #include #include "gen_qmediastreamscontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMediaStreamsControl_StreamsChanged(intptr_t); +void miqt_exec_callback_QMediaStreamsControl_ActiveStreamsChanged(intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QMediaStreamsControl_virtbase(QMediaStreamsControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qmediatimerange.cpp b/qt/multimedia/gen_qmediatimerange.cpp index 1f7b4180..edebd9c0 100644 --- a/qt/multimedia/gen_qmediatimerange.cpp +++ b/qt/multimedia/gen_qmediatimerange.cpp @@ -4,10 +4,13 @@ #include #include "gen_qmediatimerange.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMediaTimeInterval* QMediaTimeInterval_new() { return new QMediaTimeInterval(); diff --git a/qt/multimedia/gen_qmediavideoprobecontrol.cpp b/qt/multimedia/gen_qmediavideoprobecontrol.cpp index 143662d7..3b87f84f 100644 --- a/qt/multimedia/gen_qmediavideoprobecontrol.cpp +++ b/qt/multimedia/gen_qmediavideoprobecontrol.cpp @@ -9,10 +9,15 @@ #include #include "gen_qmediavideoprobecontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMediaVideoProbeControl_VideoFrameProbed(intptr_t, QVideoFrame*); +void miqt_exec_callback_QMediaVideoProbeControl_Flush(intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QMediaVideoProbeControl_virtbase(QMediaVideoProbeControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qmetadatareadercontrol.cpp b/qt/multimedia/gen_qmetadatareadercontrol.cpp index d226c16e..b4188e47 100644 --- a/qt/multimedia/gen_qmetadatareadercontrol.cpp +++ b/qt/multimedia/gen_qmetadatareadercontrol.cpp @@ -10,10 +10,16 @@ #include #include "gen_qmetadatareadercontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMetaDataReaderControl_MetaDataChanged(intptr_t); +void miqt_exec_callback_QMetaDataReaderControl_MetaDataChanged2(intptr_t, struct miqt_string, QVariant*); +void miqt_exec_callback_QMetaDataReaderControl_MetaDataAvailableChanged(intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QMetaDataReaderControl_virtbase(QMetaDataReaderControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qmetadatawritercontrol.cpp b/qt/multimedia/gen_qmetadatawritercontrol.cpp index 4331d375..ebcd20e9 100644 --- a/qt/multimedia/gen_qmetadatawritercontrol.cpp +++ b/qt/multimedia/gen_qmetadatawritercontrol.cpp @@ -10,10 +10,17 @@ #include #include "gen_qmetadatawritercontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMetaDataWriterControl_MetaDataChanged(intptr_t); +void miqt_exec_callback_QMetaDataWriterControl_MetaDataChanged2(intptr_t, struct miqt_string, QVariant*); +void miqt_exec_callback_QMetaDataWriterControl_WritableChanged(intptr_t, bool); +void miqt_exec_callback_QMetaDataWriterControl_MetaDataAvailableChanged(intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QMetaDataWriterControl_virtbase(QMetaDataWriterControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qmultimedia.cpp b/qt/multimedia/gen_qmultimedia.cpp index e6786d93..78daa96b 100644 --- a/qt/multimedia/gen_qmultimedia.cpp +++ b/qt/multimedia/gen_qmultimedia.cpp @@ -1,8 +1,11 @@ #include #include "gen_qmultimedia.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" diff --git a/qt/multimedia/gen_qradiodata.cpp b/qt/multimedia/gen_qradiodata.cpp index eef9d83d..9eef7e2b 100644 --- a/qt/multimedia/gen_qradiodata.cpp +++ b/qt/multimedia/gen_qradiodata.cpp @@ -13,10 +13,29 @@ #include #include "gen_qradiodata.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QRadioData_StationIdChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QRadioData_ProgramTypeChanged(intptr_t, int); +void miqt_exec_callback_QRadioData_ProgramTypeNameChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QRadioData_StationNameChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QRadioData_RadioTextChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QRadioData_AlternativeFrequenciesEnabledChanged(intptr_t, bool); +void miqt_exec_callback_QRadioData_ErrorWithError(intptr_t, int); +QMediaObject* miqt_exec_callback_QRadioData_MediaObject(void*, intptr_t); +bool miqt_exec_callback_QRadioData_SetMediaObject(void*, intptr_t, QMediaObject*); +bool miqt_exec_callback_QRadioData_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QRadioData_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QRadioData_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QRadioData_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QRadioData_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QRadioData_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QRadioData_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQRadioData : public virtual QRadioData { public: diff --git a/qt/multimedia/gen_qradiodatacontrol.cpp b/qt/multimedia/gen_qradiodatacontrol.cpp index 9bd4dd39..b742fa68 100644 --- a/qt/multimedia/gen_qradiodatacontrol.cpp +++ b/qt/multimedia/gen_qradiodatacontrol.cpp @@ -8,10 +8,20 @@ #include #include "gen_qradiodatacontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QRadioDataControl_StationIdChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QRadioDataControl_ProgramTypeChanged(intptr_t, int); +void miqt_exec_callback_QRadioDataControl_ProgramTypeNameChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QRadioDataControl_StationNameChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QRadioDataControl_RadioTextChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QRadioDataControl_AlternativeFrequenciesEnabledChanged(intptr_t, bool); +void miqt_exec_callback_QRadioDataControl_ErrorWithErr(intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QRadioDataControl_virtbase(QRadioDataControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qradiotuner.cpp b/qt/multimedia/gen_qradiotuner.cpp index e00e3543..d4dbc03f 100644 --- a/qt/multimedia/gen_qradiotuner.cpp +++ b/qt/multimedia/gen_qradiotuner.cpp @@ -11,10 +11,29 @@ #include #include "gen_qradiotuner.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QRadioTuner_StateChanged(intptr_t, int); +void miqt_exec_callback_QRadioTuner_BandChanged(intptr_t, int); +void miqt_exec_callback_QRadioTuner_FrequencyChanged(intptr_t, int); +void miqt_exec_callback_QRadioTuner_StereoStatusChanged(intptr_t, bool); +void miqt_exec_callback_QRadioTuner_SearchingChanged(intptr_t, bool); +void miqt_exec_callback_QRadioTuner_SignalStrengthChanged(intptr_t, int); +void miqt_exec_callback_QRadioTuner_VolumeChanged(intptr_t, int); +void miqt_exec_callback_QRadioTuner_MutedChanged(intptr_t, bool); +void miqt_exec_callback_QRadioTuner_StationFound(intptr_t, int, struct miqt_string); +void miqt_exec_callback_QRadioTuner_AntennaConnectedChanged(intptr_t, bool); +void miqt_exec_callback_QRadioTuner_ErrorWithError(intptr_t, int); +int miqt_exec_callback_QRadioTuner_Availability(void*, intptr_t); +bool miqt_exec_callback_QRadioTuner_IsAvailable(void*, intptr_t); +QMediaService* miqt_exec_callback_QRadioTuner_Service(void*, intptr_t); +bool miqt_exec_callback_QRadioTuner_Bind(void*, intptr_t, QObject*); +void miqt_exec_callback_QRadioTuner_Unbind(void*, intptr_t, QObject*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQRadioTuner : public virtual QRadioTuner { public: diff --git a/qt/multimedia/gen_qradiotunercontrol.cpp b/qt/multimedia/gen_qradiotunercontrol.cpp index 0bc257b3..edff7132 100644 --- a/qt/multimedia/gen_qradiotunercontrol.cpp +++ b/qt/multimedia/gen_qradiotunercontrol.cpp @@ -9,10 +9,24 @@ #include #include "gen_qradiotunercontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QRadioTunerControl_StateChanged(intptr_t, int); +void miqt_exec_callback_QRadioTunerControl_BandChanged(intptr_t, int); +void miqt_exec_callback_QRadioTunerControl_FrequencyChanged(intptr_t, int); +void miqt_exec_callback_QRadioTunerControl_StereoStatusChanged(intptr_t, bool); +void miqt_exec_callback_QRadioTunerControl_SearchingChanged(intptr_t, bool); +void miqt_exec_callback_QRadioTunerControl_SignalStrengthChanged(intptr_t, int); +void miqt_exec_callback_QRadioTunerControl_VolumeChanged(intptr_t, int); +void miqt_exec_callback_QRadioTunerControl_MutedChanged(intptr_t, bool); +void miqt_exec_callback_QRadioTunerControl_ErrorWithErr(intptr_t, int); +void miqt_exec_callback_QRadioTunerControl_StationFound(intptr_t, int, struct miqt_string); +void miqt_exec_callback_QRadioTunerControl_AntennaConnectedChanged(intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QRadioTunerControl_virtbase(QRadioTunerControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qsound.cpp b/qt/multimedia/gen_qsound.cpp index 3a84ac26..55193486 100644 --- a/qt/multimedia/gen_qsound.cpp +++ b/qt/multimedia/gen_qsound.cpp @@ -11,10 +11,20 @@ #include #include "gen_qsound.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QSound_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QSound_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QSound_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QSound_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QSound_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSound_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QSound_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSound : public virtual QSound { public: diff --git a/qt/multimedia/gen_qsoundeffect.cpp b/qt/multimedia/gen_qsoundeffect.cpp index 4a45fbcc..e1d859ce 100644 --- a/qt/multimedia/gen_qsoundeffect.cpp +++ b/qt/multimedia/gen_qsoundeffect.cpp @@ -14,10 +14,29 @@ #include #include "gen_qsoundeffect.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSoundEffect_SourceChanged(intptr_t); +void miqt_exec_callback_QSoundEffect_LoopCountChanged(intptr_t); +void miqt_exec_callback_QSoundEffect_LoopsRemainingChanged(intptr_t); +void miqt_exec_callback_QSoundEffect_VolumeChanged(intptr_t); +void miqt_exec_callback_QSoundEffect_MutedChanged(intptr_t); +void miqt_exec_callback_QSoundEffect_LoadedChanged(intptr_t); +void miqt_exec_callback_QSoundEffect_PlayingChanged(intptr_t); +void miqt_exec_callback_QSoundEffect_StatusChanged(intptr_t); +void miqt_exec_callback_QSoundEffect_CategoryChanged(intptr_t); +bool miqt_exec_callback_QSoundEffect_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QSoundEffect_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QSoundEffect_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QSoundEffect_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QSoundEffect_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSoundEffect_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QSoundEffect_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSoundEffect : public virtual QSoundEffect { public: diff --git a/qt/multimedia/gen_qvideodeviceselectorcontrol.cpp b/qt/multimedia/gen_qvideodeviceselectorcontrol.cpp index 91192bab..8597e5d0 100644 --- a/qt/multimedia/gen_qvideodeviceselectorcontrol.cpp +++ b/qt/multimedia/gen_qvideodeviceselectorcontrol.cpp @@ -8,10 +8,16 @@ #include #include "gen_qvideodeviceselectorcontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QVideoDeviceSelectorControl_SelectedDeviceChanged(intptr_t, int); +void miqt_exec_callback_QVideoDeviceSelectorControl_SelectedDeviceChangedWithName(intptr_t, struct miqt_string); +void miqt_exec_callback_QVideoDeviceSelectorControl_DevicesChanged(intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QVideoDeviceSelectorControl_virtbase(QVideoDeviceSelectorControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qvideoencodersettingscontrol.cpp b/qt/multimedia/gen_qvideoencodersettingscontrol.cpp index 05b26e8b..95758805 100644 --- a/qt/multimedia/gen_qvideoencodersettingscontrol.cpp +++ b/qt/multimedia/gen_qvideoencodersettingscontrol.cpp @@ -11,10 +11,13 @@ #include #include "gen_qvideoencodersettingscontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QVideoEncoderSettingsControl_virtbase(QVideoEncoderSettingsControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qvideoframe.cpp b/qt/multimedia/gen_qvideoframe.cpp index 71950f17..1afd4cf4 100644 --- a/qt/multimedia/gen_qvideoframe.cpp +++ b/qt/multimedia/gen_qvideoframe.cpp @@ -9,10 +9,13 @@ #include #include "gen_qvideoframe.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QVideoFrame* QVideoFrame_new() { return new QVideoFrame(); diff --git a/qt/multimedia/gen_qvideoprobe.cpp b/qt/multimedia/gen_qvideoprobe.cpp index 2abceb55..eb2c2ec4 100644 --- a/qt/multimedia/gen_qvideoprobe.cpp +++ b/qt/multimedia/gen_qvideoprobe.cpp @@ -14,10 +14,22 @@ #include #include "gen_qvideoprobe.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QVideoProbe_VideoFrameProbed(intptr_t, QVideoFrame*); +void miqt_exec_callback_QVideoProbe_Flush(intptr_t); +bool miqt_exec_callback_QVideoProbe_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QVideoProbe_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QVideoProbe_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QVideoProbe_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QVideoProbe_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QVideoProbe_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QVideoProbe_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQVideoProbe : public virtual QVideoProbe { public: diff --git a/qt/multimedia/gen_qvideorenderercontrol.cpp b/qt/multimedia/gen_qvideorenderercontrol.cpp index 138d564b..c0851b2f 100644 --- a/qt/multimedia/gen_qvideorenderercontrol.cpp +++ b/qt/multimedia/gen_qvideorenderercontrol.cpp @@ -9,10 +9,13 @@ #include #include "gen_qvideorenderercontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QVideoRendererControl_virtbase(QVideoRendererControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qvideosurfaceformat.cpp b/qt/multimedia/gen_qvideosurfaceformat.cpp index b98b7cf4..304a78f2 100644 --- a/qt/multimedia/gen_qvideosurfaceformat.cpp +++ b/qt/multimedia/gen_qvideosurfaceformat.cpp @@ -7,10 +7,13 @@ #include #include "gen_qvideosurfaceformat.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QVideoSurfaceFormat* QVideoSurfaceFormat_new() { return new QVideoSurfaceFormat(); diff --git a/qt/multimedia/gen_qvideowidget.cpp b/qt/multimedia/gen_qvideowidget.cpp index f52d4f0b..7e5a102f 100644 --- a/qt/multimedia/gen_qvideowidget.cpp +++ b/qt/multimedia/gen_qvideowidget.cpp @@ -37,10 +37,61 @@ #include #include "gen_qvideowidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QVideoWidget_FullScreenChanged(intptr_t, bool); +void miqt_exec_callback_QVideoWidget_BrightnessChanged(intptr_t, int); +void miqt_exec_callback_QVideoWidget_ContrastChanged(intptr_t, int); +void miqt_exec_callback_QVideoWidget_HueChanged(intptr_t, int); +void miqt_exec_callback_QVideoWidget_SaturationChanged(intptr_t, int); +QMediaObject* miqt_exec_callback_QVideoWidget_MediaObject(void*, intptr_t); +QSize* miqt_exec_callback_QVideoWidget_SizeHint(void*, intptr_t); +bool miqt_exec_callback_QVideoWidget_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QVideoWidget_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QVideoWidget_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QVideoWidget_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QVideoWidget_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QVideoWidget_PaintEvent(void*, intptr_t, QPaintEvent*); +bool miqt_exec_callback_QVideoWidget_SetMediaObject(void*, intptr_t, QMediaObject*); +int miqt_exec_callback_QVideoWidget_DevType(void*, intptr_t); +void miqt_exec_callback_QVideoWidget_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QVideoWidget_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QVideoWidget_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QVideoWidget_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QVideoWidget_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QVideoWidget_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QVideoWidget_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QVideoWidget_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QVideoWidget_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QVideoWidget_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QVideoWidget_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QVideoWidget_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QVideoWidget_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QVideoWidget_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QVideoWidget_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QVideoWidget_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QVideoWidget_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QVideoWidget_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QVideoWidget_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QVideoWidget_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QVideoWidget_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QVideoWidget_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QVideoWidget_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QVideoWidget_DropEvent(void*, intptr_t, QDropEvent*); +bool miqt_exec_callback_QVideoWidget_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +void miqt_exec_callback_QVideoWidget_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QVideoWidget_Metric(void*, intptr_t, int); +void miqt_exec_callback_QVideoWidget_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QVideoWidget_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QVideoWidget_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QVideoWidget_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QVideoWidget_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QVideoWidget_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQVideoWidget : public virtual QVideoWidget { public: diff --git a/qt/multimedia/gen_qvideowidgetcontrol.cpp b/qt/multimedia/gen_qvideowidgetcontrol.cpp index cca188ed..27ae59f4 100644 --- a/qt/multimedia/gen_qvideowidgetcontrol.cpp +++ b/qt/multimedia/gen_qvideowidgetcontrol.cpp @@ -9,10 +9,18 @@ #include #include "gen_qvideowidgetcontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QVideoWidgetControl_FullScreenChanged(intptr_t, bool); +void miqt_exec_callback_QVideoWidgetControl_BrightnessChanged(intptr_t, int); +void miqt_exec_callback_QVideoWidgetControl_ContrastChanged(intptr_t, int); +void miqt_exec_callback_QVideoWidgetControl_HueChanged(intptr_t, int); +void miqt_exec_callback_QVideoWidgetControl_SaturationChanged(intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QVideoWidgetControl_virtbase(QVideoWidgetControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/multimedia/gen_qvideowindowcontrol.cpp b/qt/multimedia/gen_qvideowindowcontrol.cpp index da070b38..ee4b267a 100644 --- a/qt/multimedia/gen_qvideowindowcontrol.cpp +++ b/qt/multimedia/gen_qvideowindowcontrol.cpp @@ -10,10 +10,19 @@ #include #include "gen_qvideowindowcontrol.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QVideoWindowControl_FullScreenChanged(intptr_t, bool); +void miqt_exec_callback_QVideoWindowControl_BrightnessChanged(intptr_t, int); +void miqt_exec_callback_QVideoWindowControl_ContrastChanged(intptr_t, int); +void miqt_exec_callback_QVideoWindowControl_HueChanged(intptr_t, int); +void miqt_exec_callback_QVideoWindowControl_SaturationChanged(intptr_t, int); +void miqt_exec_callback_QVideoWindowControl_NativeSizeChanged(intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QVideoWindowControl_virtbase(QVideoWindowControl* src, QMediaControl** outptr_QMediaControl) { *outptr_QMediaControl = static_cast(src); diff --git a/qt/network/gen_qabstractnetworkcache.cpp b/qt/network/gen_qabstractnetworkcache.cpp index b23db4d8..53488d8c 100644 --- a/qt/network/gen_qabstractnetworkcache.cpp +++ b/qt/network/gen_qabstractnetworkcache.cpp @@ -16,10 +16,13 @@ #include #include "gen_qabstractnetworkcache.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QNetworkCacheMetaData* QNetworkCacheMetaData_new() { return new QNetworkCacheMetaData(); diff --git a/qt/network/gen_qabstractsocket.cpp b/qt/network/gen_qabstractsocket.cpp index 95cb5fed..e246096a 100644 --- a/qt/network/gen_qabstractsocket.cpp +++ b/qt/network/gen_qabstractsocket.cpp @@ -12,10 +12,47 @@ #include #include "gen_qabstractsocket.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractSocket_HostFound(intptr_t); +void miqt_exec_callback_QAbstractSocket_Connected(intptr_t); +void miqt_exec_callback_QAbstractSocket_Disconnected(intptr_t); +void miqt_exec_callback_QAbstractSocket_StateChanged(intptr_t, int); +void miqt_exec_callback_QAbstractSocket_ErrorWithQAbstractSocketSocketError(intptr_t, int); +void miqt_exec_callback_QAbstractSocket_ErrorOccurred(intptr_t, int); +void miqt_exec_callback_QAbstractSocket_ProxyAuthenticationRequired(intptr_t, QNetworkProxy*, QAuthenticator*); +void miqt_exec_callback_QAbstractSocket_Resume(void*, intptr_t); +void miqt_exec_callback_QAbstractSocket_ConnectToHost(void*, intptr_t, struct miqt_string, uint16_t, int, int); +void miqt_exec_callback_QAbstractSocket_ConnectToHost2(void*, intptr_t, QHostAddress*, uint16_t, int); +void miqt_exec_callback_QAbstractSocket_DisconnectFromHost(void*, intptr_t); +long long miqt_exec_callback_QAbstractSocket_BytesAvailable(void*, intptr_t); +long long miqt_exec_callback_QAbstractSocket_BytesToWrite(void*, intptr_t); +bool miqt_exec_callback_QAbstractSocket_CanReadLine(void*, intptr_t); +void miqt_exec_callback_QAbstractSocket_SetReadBufferSize(void*, intptr_t, long long); +intptr_t miqt_exec_callback_QAbstractSocket_SocketDescriptor(void*, intptr_t); +bool miqt_exec_callback_QAbstractSocket_SetSocketDescriptor(void*, intptr_t, intptr_t, int, int); +void miqt_exec_callback_QAbstractSocket_SetSocketOption(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QAbstractSocket_SocketOption(void*, intptr_t, int); +void miqt_exec_callback_QAbstractSocket_Close(void*, intptr_t); +bool miqt_exec_callback_QAbstractSocket_IsSequential(void*, intptr_t); +bool miqt_exec_callback_QAbstractSocket_AtEnd(void*, intptr_t); +bool miqt_exec_callback_QAbstractSocket_WaitForConnected(void*, intptr_t, int); +bool miqt_exec_callback_QAbstractSocket_WaitForReadyRead(void*, intptr_t, int); +bool miqt_exec_callback_QAbstractSocket_WaitForBytesWritten(void*, intptr_t, int); +bool miqt_exec_callback_QAbstractSocket_WaitForDisconnected(void*, intptr_t, int); +long long miqt_exec_callback_QAbstractSocket_ReadData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QAbstractSocket_ReadLineData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QAbstractSocket_WriteData(void*, intptr_t, const char*, long long); +bool miqt_exec_callback_QAbstractSocket_Open(void*, intptr_t, int); +long long miqt_exec_callback_QAbstractSocket_Pos(void*, intptr_t); +long long miqt_exec_callback_QAbstractSocket_Size(void*, intptr_t); +bool miqt_exec_callback_QAbstractSocket_Seek(void*, intptr_t, long long); +bool miqt_exec_callback_QAbstractSocket_Reset(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractSocket : public virtual QAbstractSocket { public: diff --git a/qt/network/gen_qauthenticator.cpp b/qt/network/gen_qauthenticator.cpp index 6e687922..4734c67b 100644 --- a/qt/network/gen_qauthenticator.cpp +++ b/qt/network/gen_qauthenticator.cpp @@ -7,10 +7,13 @@ #include #include "gen_qauthenticator.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QAuthenticator* QAuthenticator_new() { return new QAuthenticator(); diff --git a/qt/network/gen_qdnslookup.cpp b/qt/network/gen_qdnslookup.cpp index 7577ed6f..ad9f870b 100644 --- a/qt/network/gen_qdnslookup.cpp +++ b/qt/network/gen_qdnslookup.cpp @@ -19,10 +19,24 @@ #include #include "gen_qdnslookup.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QDnsLookup_Finished(intptr_t); +void miqt_exec_callback_QDnsLookup_NameChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QDnsLookup_TypeChanged(intptr_t, int); +void miqt_exec_callback_QDnsLookup_NameserverChanged(intptr_t, QHostAddress*); +bool miqt_exec_callback_QDnsLookup_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QDnsLookup_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QDnsLookup_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QDnsLookup_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QDnsLookup_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDnsLookup_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QDnsLookup_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QDnsDomainNameRecord* QDnsDomainNameRecord_new() { return new QDnsDomainNameRecord(); diff --git a/qt/network/gen_qdtls.cpp b/qt/network/gen_qdtls.cpp index 56ad5ee1..a0f89387 100644 --- a/qt/network/gen_qdtls.cpp +++ b/qt/network/gen_qdtls.cpp @@ -21,10 +21,29 @@ #include #include "gen_qdtls.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QDtlsClientVerifier_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QDtlsClientVerifier_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QDtlsClientVerifier_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QDtlsClientVerifier_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QDtlsClientVerifier_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDtlsClientVerifier_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QDtlsClientVerifier_DisconnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QDtls_PskRequired(intptr_t, QSslPreSharedKeyAuthenticator*); +void miqt_exec_callback_QDtls_HandshakeTimeout(intptr_t); +bool miqt_exec_callback_QDtls_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QDtls_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QDtls_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QDtls_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QDtls_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDtls_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QDtls_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQDtlsClientVerifier : public virtual QDtlsClientVerifier { public: diff --git a/qt/network/gen_qhostaddress.cpp b/qt/network/gen_qhostaddress.cpp index 5d28dd74..9a231095 100644 --- a/qt/network/gen_qhostaddress.cpp +++ b/qt/network/gen_qhostaddress.cpp @@ -7,10 +7,13 @@ #include #include "gen_qhostaddress.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" unsigned char QIPv6Address_OperatorSubscript(const QIPv6Address* self, int index) { quint8 _ret = self->operator[](static_cast(index)); diff --git a/qt/network/gen_qhostinfo.cpp b/qt/network/gen_qhostinfo.cpp index 591faeec..e52a7472 100644 --- a/qt/network/gen_qhostinfo.cpp +++ b/qt/network/gen_qhostinfo.cpp @@ -7,10 +7,13 @@ #include #include "gen_qhostinfo.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QHostInfo* QHostInfo_new() { return new QHostInfo(); diff --git a/qt/network/gen_qhstspolicy.cpp b/qt/network/gen_qhstspolicy.cpp index 560b816b..5f44a441 100644 --- a/qt/network/gen_qhstspolicy.cpp +++ b/qt/network/gen_qhstspolicy.cpp @@ -6,10 +6,13 @@ #include #include "gen_qhstspolicy.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QHstsPolicy* QHstsPolicy_new() { return new QHstsPolicy(); diff --git a/qt/network/gen_qhttp2configuration.cpp b/qt/network/gen_qhttp2configuration.cpp index a7d889b8..995187a2 100644 --- a/qt/network/gen_qhttp2configuration.cpp +++ b/qt/network/gen_qhttp2configuration.cpp @@ -2,10 +2,13 @@ #include #include "gen_qhttp2configuration.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QHttp2Configuration* QHttp2Configuration_new() { return new QHttp2Configuration(); diff --git a/qt/network/gen_qhttpmultipart.cpp b/qt/network/gen_qhttpmultipart.cpp index 1e53849e..ddf59952 100644 --- a/qt/network/gen_qhttpmultipart.cpp +++ b/qt/network/gen_qhttpmultipart.cpp @@ -15,10 +15,20 @@ #include #include "gen_qhttpmultipart.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QHttpMultiPart_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QHttpMultiPart_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QHttpMultiPart_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QHttpMultiPart_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QHttpMultiPart_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QHttpMultiPart_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QHttpMultiPart_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QHttpPart* QHttpPart_new() { return new QHttpPart(); diff --git a/qt/network/gen_qlocalserver.cpp b/qt/network/gen_qlocalserver.cpp index 0f3531ea..edd1676f 100644 --- a/qt/network/gen_qlocalserver.cpp +++ b/qt/network/gen_qlocalserver.cpp @@ -12,10 +12,24 @@ #include #include "gen_qlocalserver.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QLocalServer_NewConnection(intptr_t); +bool miqt_exec_callback_QLocalServer_HasPendingConnections(void*, intptr_t); +QLocalSocket* miqt_exec_callback_QLocalServer_NextPendingConnection(void*, intptr_t); +void miqt_exec_callback_QLocalServer_IncomingConnection(void*, intptr_t, uintptr_t); +bool miqt_exec_callback_QLocalServer_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QLocalServer_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QLocalServer_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QLocalServer_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QLocalServer_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QLocalServer_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QLocalServer_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQLocalServer : public virtual QLocalServer { public: diff --git a/qt/network/gen_qlocalsocket.cpp b/qt/network/gen_qlocalsocket.cpp index 3c5492dd..e6403a4c 100644 --- a/qt/network/gen_qlocalsocket.cpp +++ b/qt/network/gen_qlocalsocket.cpp @@ -8,10 +8,34 @@ #include #include "gen_qlocalsocket.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QLocalSocket_Connected(intptr_t); +void miqt_exec_callback_QLocalSocket_Disconnected(intptr_t); +void miqt_exec_callback_QLocalSocket_ErrorWithSocketError(intptr_t, int); +void miqt_exec_callback_QLocalSocket_ErrorOccurred(intptr_t, int); +void miqt_exec_callback_QLocalSocket_StateChanged(intptr_t, int); +bool miqt_exec_callback_QLocalSocket_IsSequential(void*, intptr_t); +long long miqt_exec_callback_QLocalSocket_BytesAvailable(void*, intptr_t); +long long miqt_exec_callback_QLocalSocket_BytesToWrite(void*, intptr_t); +bool miqt_exec_callback_QLocalSocket_CanReadLine(void*, intptr_t); +bool miqt_exec_callback_QLocalSocket_Open(void*, intptr_t, int); +void miqt_exec_callback_QLocalSocket_Close(void*, intptr_t); +bool miqt_exec_callback_QLocalSocket_WaitForBytesWritten(void*, intptr_t, int); +bool miqt_exec_callback_QLocalSocket_WaitForReadyRead(void*, intptr_t, int); +long long miqt_exec_callback_QLocalSocket_ReadData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QLocalSocket_WriteData(void*, intptr_t, const char*, long long); +long long miqt_exec_callback_QLocalSocket_Pos(void*, intptr_t); +long long miqt_exec_callback_QLocalSocket_Size(void*, intptr_t); +bool miqt_exec_callback_QLocalSocket_Seek(void*, intptr_t, long long); +bool miqt_exec_callback_QLocalSocket_AtEnd(void*, intptr_t); +bool miqt_exec_callback_QLocalSocket_Reset(void*, intptr_t); +long long miqt_exec_callback_QLocalSocket_ReadLineData(void*, intptr_t, char*, long long); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQLocalSocket : public virtual QLocalSocket { public: diff --git a/qt/network/gen_qnetworkaccessmanager.cpp b/qt/network/gen_qnetworkaccessmanager.cpp index 1ce0b672..de7928b5 100644 --- a/qt/network/gen_qnetworkaccessmanager.cpp +++ b/qt/network/gen_qnetworkaccessmanager.cpp @@ -27,10 +27,29 @@ #include #include "gen_qnetworkaccessmanager.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QNetworkAccessManager_ProxyAuthenticationRequired(intptr_t, QNetworkProxy*, QAuthenticator*); +void miqt_exec_callback_QNetworkAccessManager_AuthenticationRequired(intptr_t, QNetworkReply*, QAuthenticator*); +void miqt_exec_callback_QNetworkAccessManager_Finished(intptr_t, QNetworkReply*); +void miqt_exec_callback_QNetworkAccessManager_Encrypted(intptr_t, QNetworkReply*); +void miqt_exec_callback_QNetworkAccessManager_SslErrors(intptr_t, QNetworkReply*, struct miqt_array /* of QSslError* */ ); +void miqt_exec_callback_QNetworkAccessManager_PreSharedKeyAuthenticationRequired(intptr_t, QNetworkReply*, QSslPreSharedKeyAuthenticator*); +void miqt_exec_callback_QNetworkAccessManager_NetworkSessionConnected(intptr_t); +void miqt_exec_callback_QNetworkAccessManager_NetworkAccessibleChanged(intptr_t, int); +QNetworkReply* miqt_exec_callback_QNetworkAccessManager_CreateRequest(void*, intptr_t, int, QNetworkRequest*, QIODevice*); +bool miqt_exec_callback_QNetworkAccessManager_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QNetworkAccessManager_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QNetworkAccessManager_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QNetworkAccessManager_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QNetworkAccessManager_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QNetworkAccessManager_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QNetworkAccessManager_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQNetworkAccessManager : public virtual QNetworkAccessManager { public: diff --git a/qt/network/gen_qnetworkconfigmanager.cpp b/qt/network/gen_qnetworkconfigmanager.cpp index 078c5103..114beecd 100644 --- a/qt/network/gen_qnetworkconfigmanager.cpp +++ b/qt/network/gen_qnetworkconfigmanager.cpp @@ -13,10 +13,25 @@ #include #include "gen_qnetworkconfigmanager.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QNetworkConfigurationManager_ConfigurationAdded(intptr_t, QNetworkConfiguration*); +void miqt_exec_callback_QNetworkConfigurationManager_ConfigurationRemoved(intptr_t, QNetworkConfiguration*); +void miqt_exec_callback_QNetworkConfigurationManager_ConfigurationChanged(intptr_t, QNetworkConfiguration*); +void miqt_exec_callback_QNetworkConfigurationManager_OnlineStateChanged(intptr_t, bool); +void miqt_exec_callback_QNetworkConfigurationManager_UpdateCompleted(intptr_t); +bool miqt_exec_callback_QNetworkConfigurationManager_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QNetworkConfigurationManager_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QNetworkConfigurationManager_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QNetworkConfigurationManager_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QNetworkConfigurationManager_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QNetworkConfigurationManager_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QNetworkConfigurationManager_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQNetworkConfigurationManager : public virtual QNetworkConfigurationManager { public: diff --git a/qt/network/gen_qnetworkconfiguration.cpp b/qt/network/gen_qnetworkconfiguration.cpp index 918a3ede..0cf25b79 100644 --- a/qt/network/gen_qnetworkconfiguration.cpp +++ b/qt/network/gen_qnetworkconfiguration.cpp @@ -6,10 +6,13 @@ #include #include "gen_qnetworkconfiguration.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QNetworkConfiguration* QNetworkConfiguration_new() { return new QNetworkConfiguration(); diff --git a/qt/network/gen_qnetworkcookie.cpp b/qt/network/gen_qnetworkcookie.cpp index 38049cfa..324373f2 100644 --- a/qt/network/gen_qnetworkcookie.cpp +++ b/qt/network/gen_qnetworkcookie.cpp @@ -9,10 +9,13 @@ #include #include "gen_qnetworkcookie.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QNetworkCookie* QNetworkCookie_new() { return new QNetworkCookie(); diff --git a/qt/network/gen_qnetworkcookiejar.cpp b/qt/network/gen_qnetworkcookiejar.cpp index ea3ace47..b25a01aa 100644 --- a/qt/network/gen_qnetworkcookiejar.cpp +++ b/qt/network/gen_qnetworkcookiejar.cpp @@ -14,10 +14,26 @@ #include #include "gen_qnetworkcookiejar.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +struct miqt_array /* of QNetworkCookie* */ miqt_exec_callback_QNetworkCookieJar_CookiesForUrl(void*, intptr_t, QUrl*); +bool miqt_exec_callback_QNetworkCookieJar_SetCookiesFromUrl(void*, intptr_t, struct miqt_array /* of QNetworkCookie* */ , QUrl*); +bool miqt_exec_callback_QNetworkCookieJar_InsertCookie(void*, intptr_t, QNetworkCookie*); +bool miqt_exec_callback_QNetworkCookieJar_UpdateCookie(void*, intptr_t, QNetworkCookie*); +bool miqt_exec_callback_QNetworkCookieJar_DeleteCookie(void*, intptr_t, QNetworkCookie*); +bool miqt_exec_callback_QNetworkCookieJar_ValidateCookie(void*, intptr_t, QNetworkCookie*, QUrl*); +bool miqt_exec_callback_QNetworkCookieJar_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QNetworkCookieJar_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QNetworkCookieJar_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QNetworkCookieJar_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QNetworkCookieJar_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QNetworkCookieJar_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QNetworkCookieJar_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQNetworkCookieJar : public virtual QNetworkCookieJar { public: diff --git a/qt/network/gen_qnetworkdatagram.cpp b/qt/network/gen_qnetworkdatagram.cpp index 35a0190c..9b536a37 100644 --- a/qt/network/gen_qnetworkdatagram.cpp +++ b/qt/network/gen_qnetworkdatagram.cpp @@ -4,10 +4,13 @@ #include #include "gen_qnetworkdatagram.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QNetworkDatagram* QNetworkDatagram_new() { return new QNetworkDatagram(); diff --git a/qt/network/gen_qnetworkdiskcache.cpp b/qt/network/gen_qnetworkdiskcache.cpp index b8a4bd1c..61213a22 100644 --- a/qt/network/gen_qnetworkdiskcache.cpp +++ b/qt/network/gen_qnetworkdiskcache.cpp @@ -11,10 +11,22 @@ #include #include "gen_qnetworkdiskcache.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +long long miqt_exec_callback_QNetworkDiskCache_CacheSize(void*, intptr_t); +QNetworkCacheMetaData* miqt_exec_callback_QNetworkDiskCache_MetaData(void*, intptr_t, QUrl*); +void miqt_exec_callback_QNetworkDiskCache_UpdateMetaData(void*, intptr_t, QNetworkCacheMetaData*); +QIODevice* miqt_exec_callback_QNetworkDiskCache_Data(void*, intptr_t, QUrl*); +bool miqt_exec_callback_QNetworkDiskCache_Remove(void*, intptr_t, QUrl*); +QIODevice* miqt_exec_callback_QNetworkDiskCache_Prepare(void*, intptr_t, QNetworkCacheMetaData*); +void miqt_exec_callback_QNetworkDiskCache_Insert(void*, intptr_t, QIODevice*); +void miqt_exec_callback_QNetworkDiskCache_Clear(void*, intptr_t); +long long miqt_exec_callback_QNetworkDiskCache_Expire(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQNetworkDiskCache : public virtual QNetworkDiskCache { public: diff --git a/qt/network/gen_qnetworkinterface.cpp b/qt/network/gen_qnetworkinterface.cpp index d4852148..3355b216 100644 --- a/qt/network/gen_qnetworkinterface.cpp +++ b/qt/network/gen_qnetworkinterface.cpp @@ -9,10 +9,13 @@ #include #include "gen_qnetworkinterface.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QNetworkAddressEntry* QNetworkAddressEntry_new() { return new QNetworkAddressEntry(); diff --git a/qt/network/gen_qnetworkproxy.cpp b/qt/network/gen_qnetworkproxy.cpp index 98a33873..10deb546 100644 --- a/qt/network/gen_qnetworkproxy.cpp +++ b/qt/network/gen_qnetworkproxy.cpp @@ -12,10 +12,14 @@ #include #include "gen_qnetworkproxy.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +struct miqt_array /* of QNetworkProxy* */ miqt_exec_callback_QNetworkProxyFactory_QueryProxy(void*, intptr_t, QNetworkProxyQuery*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QNetworkProxyQuery* QNetworkProxyQuery_new() { return new QNetworkProxyQuery(); diff --git a/qt/network/gen_qnetworkreply.cpp b/qt/network/gen_qnetworkreply.cpp index dc1228ad..892f8009 100644 --- a/qt/network/gen_qnetworkreply.cpp +++ b/qt/network/gen_qnetworkreply.cpp @@ -18,10 +18,24 @@ #include #include "gen_qnetworkreply.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QNetworkReply_MetaDataChanged(intptr_t); +void miqt_exec_callback_QNetworkReply_Finished(intptr_t); +void miqt_exec_callback_QNetworkReply_ErrorWithQNetworkReplyNetworkError(intptr_t, int); +void miqt_exec_callback_QNetworkReply_ErrorOccurred(intptr_t, int); +void miqt_exec_callback_QNetworkReply_Encrypted(intptr_t); +void miqt_exec_callback_QNetworkReply_SslErrors(intptr_t, struct miqt_array /* of QSslError* */ ); +void miqt_exec_callback_QNetworkReply_PreSharedKeyAuthenticationRequired(intptr_t, QSslPreSharedKeyAuthenticator*); +void miqt_exec_callback_QNetworkReply_Redirected(intptr_t, QUrl*); +void miqt_exec_callback_QNetworkReply_RedirectAllowed(intptr_t); +void miqt_exec_callback_QNetworkReply_UploadProgress(intptr_t, long long, long long); +void miqt_exec_callback_QNetworkReply_DownloadProgress(intptr_t, long long, long long); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QNetworkReply_virtbase(QNetworkReply* src, QIODevice** outptr_QIODevice) { *outptr_QIODevice = static_cast(src); diff --git a/qt/network/gen_qnetworkrequest.cpp b/qt/network/gen_qnetworkrequest.cpp index 4c90c97d..4608daca 100644 --- a/qt/network/gen_qnetworkrequest.cpp +++ b/qt/network/gen_qnetworkrequest.cpp @@ -12,10 +12,13 @@ #include #include "gen_qnetworkrequest.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QNetworkRequest* QNetworkRequest_new() { return new QNetworkRequest(); diff --git a/qt/network/gen_qnetworksession.cpp b/qt/network/gen_qnetworksession.cpp index 8ace6acd..d10039ef 100644 --- a/qt/network/gen_qnetworksession.cpp +++ b/qt/network/gen_qnetworksession.cpp @@ -14,10 +14,27 @@ #include #include "gen_qnetworksession.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QNetworkSession_StateChanged(intptr_t, int); +void miqt_exec_callback_QNetworkSession_Opened(intptr_t); +void miqt_exec_callback_QNetworkSession_Closed(intptr_t); +void miqt_exec_callback_QNetworkSession_ErrorWithQNetworkSessionSessionError(intptr_t, int); +void miqt_exec_callback_QNetworkSession_PreferredConfigurationChanged(intptr_t, QNetworkConfiguration*, bool); +void miqt_exec_callback_QNetworkSession_NewConfigurationActivated(intptr_t); +void miqt_exec_callback_QNetworkSession_UsagePoliciesChanged(intptr_t, int); +void miqt_exec_callback_QNetworkSession_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QNetworkSession_DisconnectNotify(void*, intptr_t, QMetaMethod*); +bool miqt_exec_callback_QNetworkSession_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QNetworkSession_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QNetworkSession_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QNetworkSession_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QNetworkSession_CustomEvent(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQNetworkSession : public virtual QNetworkSession { public: diff --git a/qt/network/gen_qocspresponse.cpp b/qt/network/gen_qocspresponse.cpp index f6b7f4d0..b20f6308 100644 --- a/qt/network/gen_qocspresponse.cpp +++ b/qt/network/gen_qocspresponse.cpp @@ -3,10 +3,13 @@ #include #include "gen_qocspresponse.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QOcspResponse* QOcspResponse_new() { return new QOcspResponse(); diff --git a/qt/network/gen_qssl.cpp b/qt/network/gen_qssl.cpp index 3af889c7..3df8a605 100644 --- a/qt/network/gen_qssl.cpp +++ b/qt/network/gen_qssl.cpp @@ -1,8 +1,11 @@ #include #include "gen_qssl.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" diff --git a/qt/network/gen_qsslcertificate.cpp b/qt/network/gen_qsslcertificate.cpp index 620346d6..14cb620a 100644 --- a/qt/network/gen_qsslcertificate.cpp +++ b/qt/network/gen_qsslcertificate.cpp @@ -12,10 +12,13 @@ #include #include "gen_qsslcertificate.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSslCertificate* QSslCertificate_new(QIODevice* device) { return new QSslCertificate(device); diff --git a/qt/network/gen_qsslcertificateextension.cpp b/qt/network/gen_qsslcertificateextension.cpp index 3d723f19..04dbece5 100644 --- a/qt/network/gen_qsslcertificateextension.cpp +++ b/qt/network/gen_qsslcertificateextension.cpp @@ -6,10 +6,13 @@ #include #include "gen_qsslcertificateextension.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSslCertificateExtension* QSslCertificateExtension_new() { return new QSslCertificateExtension(); diff --git a/qt/network/gen_qsslcipher.cpp b/qt/network/gen_qsslcipher.cpp index 9c2bdbdf..3baba36e 100644 --- a/qt/network/gen_qsslcipher.cpp +++ b/qt/network/gen_qsslcipher.cpp @@ -5,10 +5,13 @@ #include #include "gen_qsslcipher.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSslCipher* QSslCipher_new() { return new QSslCipher(); diff --git a/qt/network/gen_qsslconfiguration.cpp b/qt/network/gen_qsslconfiguration.cpp index 69cc0708..269f6872 100644 --- a/qt/network/gen_qsslconfiguration.cpp +++ b/qt/network/gen_qsslconfiguration.cpp @@ -13,10 +13,13 @@ #include #include "gen_qsslconfiguration.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSslConfiguration* QSslConfiguration_new() { return new QSslConfiguration(); diff --git a/qt/network/gen_qssldiffiehellmanparameters.cpp b/qt/network/gen_qssldiffiehellmanparameters.cpp index 69e098ff..17dd89b9 100644 --- a/qt/network/gen_qssldiffiehellmanparameters.cpp +++ b/qt/network/gen_qssldiffiehellmanparameters.cpp @@ -7,10 +7,13 @@ #include #include "gen_qssldiffiehellmanparameters.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSslDiffieHellmanParameters* QSslDiffieHellmanParameters_new() { return new QSslDiffieHellmanParameters(); diff --git a/qt/network/gen_qsslellipticcurve.cpp b/qt/network/gen_qsslellipticcurve.cpp index 67d03efd..a2d35662 100644 --- a/qt/network/gen_qsslellipticcurve.cpp +++ b/qt/network/gen_qsslellipticcurve.cpp @@ -5,10 +5,13 @@ #include #include "gen_qsslellipticcurve.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSslEllipticCurve* QSslEllipticCurve_new() { return new QSslEllipticCurve(); diff --git a/qt/network/gen_qsslerror.cpp b/qt/network/gen_qsslerror.cpp index 9ae98a64..9c9b1a4a 100644 --- a/qt/network/gen_qsslerror.cpp +++ b/qt/network/gen_qsslerror.cpp @@ -6,10 +6,13 @@ #include #include "gen_qsslerror.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSslError* QSslError_new() { return new QSslError(); diff --git a/qt/network/gen_qsslkey.cpp b/qt/network/gen_qsslkey.cpp index 8e809cae..76ff42e6 100644 --- a/qt/network/gen_qsslkey.cpp +++ b/qt/network/gen_qsslkey.cpp @@ -4,10 +4,13 @@ #include #include "gen_qsslkey.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSslKey* QSslKey_new() { return new QSslKey(); diff --git a/qt/network/gen_qsslpresharedkeyauthenticator.cpp b/qt/network/gen_qsslpresharedkeyauthenticator.cpp index dc62188f..4297ae2a 100644 --- a/qt/network/gen_qsslpresharedkeyauthenticator.cpp +++ b/qt/network/gen_qsslpresharedkeyauthenticator.cpp @@ -3,10 +3,13 @@ #include #include "gen_qsslpresharedkeyauthenticator.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSslPreSharedKeyAuthenticator* QSslPreSharedKeyAuthenticator_new() { return new QSslPreSharedKeyAuthenticator(); diff --git a/qt/network/gen_qsslsocket.cpp b/qt/network/gen_qsslsocket.cpp index 8168150f..0dfa2c0d 100644 --- a/qt/network/gen_qsslsocket.cpp +++ b/qt/network/gen_qsslsocket.cpp @@ -20,10 +20,38 @@ #include #include "gen_qsslsocket.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSslSocket_Encrypted(intptr_t); +void miqt_exec_callback_QSslSocket_PeerVerifyError(intptr_t, QSslError*); +void miqt_exec_callback_QSslSocket_SslErrorsWithErrors(intptr_t, struct miqt_array /* of QSslError* */ ); +void miqt_exec_callback_QSslSocket_ModeChanged(intptr_t, int); +void miqt_exec_callback_QSslSocket_EncryptedBytesWritten(intptr_t, long long); +void miqt_exec_callback_QSslSocket_PreSharedKeyAuthenticationRequired(intptr_t, QSslPreSharedKeyAuthenticator*); +void miqt_exec_callback_QSslSocket_NewSessionTicketReceived(intptr_t); +void miqt_exec_callback_QSslSocket_Resume(void*, intptr_t); +bool miqt_exec_callback_QSslSocket_SetSocketDescriptor(void*, intptr_t, intptr_t, int, int); +void miqt_exec_callback_QSslSocket_ConnectToHost(void*, intptr_t, struct miqt_string, uint16_t, int, int); +void miqt_exec_callback_QSslSocket_DisconnectFromHost(void*, intptr_t); +void miqt_exec_callback_QSslSocket_SetSocketOption(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QSslSocket_SocketOption(void*, intptr_t, int); +long long miqt_exec_callback_QSslSocket_BytesAvailable(void*, intptr_t); +long long miqt_exec_callback_QSslSocket_BytesToWrite(void*, intptr_t); +bool miqt_exec_callback_QSslSocket_CanReadLine(void*, intptr_t); +void miqt_exec_callback_QSslSocket_Close(void*, intptr_t); +bool miqt_exec_callback_QSslSocket_AtEnd(void*, intptr_t); +void miqt_exec_callback_QSslSocket_SetReadBufferSize(void*, intptr_t, long long); +bool miqt_exec_callback_QSslSocket_WaitForConnected(void*, intptr_t, int); +bool miqt_exec_callback_QSslSocket_WaitForReadyRead(void*, intptr_t, int); +bool miqt_exec_callback_QSslSocket_WaitForBytesWritten(void*, intptr_t, int); +bool miqt_exec_callback_QSslSocket_WaitForDisconnected(void*, intptr_t, int); +long long miqt_exec_callback_QSslSocket_ReadData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QSslSocket_WriteData(void*, intptr_t, const char*, long long); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSslSocket : public virtual QSslSocket { public: diff --git a/qt/network/gen_qtcpserver.cpp b/qt/network/gen_qtcpserver.cpp index e2bbcd7c..456e6433 100644 --- a/qt/network/gen_qtcpserver.cpp +++ b/qt/network/gen_qtcpserver.cpp @@ -14,10 +14,25 @@ #include #include "gen_qtcpserver.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QTcpServer_NewConnection(intptr_t); +void miqt_exec_callback_QTcpServer_AcceptError(intptr_t, int); +bool miqt_exec_callback_QTcpServer_HasPendingConnections(void*, intptr_t); +QTcpSocket* miqt_exec_callback_QTcpServer_NextPendingConnection(void*, intptr_t); +void miqt_exec_callback_QTcpServer_IncomingConnection(void*, intptr_t, intptr_t); +bool miqt_exec_callback_QTcpServer_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QTcpServer_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QTcpServer_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QTcpServer_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QTcpServer_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTcpServer_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QTcpServer_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTcpServer : public virtual QTcpServer { public: diff --git a/qt/network/gen_qtcpsocket.cpp b/qt/network/gen_qtcpsocket.cpp index f371b2f8..d3c542c4 100644 --- a/qt/network/gen_qtcpsocket.cpp +++ b/qt/network/gen_qtcpsocket.cpp @@ -10,10 +10,34 @@ #include #include "gen_qtcpsocket.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QTcpSocket_Resume(void*, intptr_t); +void miqt_exec_callback_QTcpSocket_ConnectToHost(void*, intptr_t, struct miqt_string, uint16_t, int, int); +void miqt_exec_callback_QTcpSocket_DisconnectFromHost(void*, intptr_t); +long long miqt_exec_callback_QTcpSocket_BytesAvailable(void*, intptr_t); +long long miqt_exec_callback_QTcpSocket_BytesToWrite(void*, intptr_t); +bool miqt_exec_callback_QTcpSocket_CanReadLine(void*, intptr_t); +void miqt_exec_callback_QTcpSocket_SetReadBufferSize(void*, intptr_t, long long); +intptr_t miqt_exec_callback_QTcpSocket_SocketDescriptor(void*, intptr_t); +bool miqt_exec_callback_QTcpSocket_SetSocketDescriptor(void*, intptr_t, intptr_t, int, int); +void miqt_exec_callback_QTcpSocket_SetSocketOption(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QTcpSocket_SocketOption(void*, intptr_t, int); +void miqt_exec_callback_QTcpSocket_Close(void*, intptr_t); +bool miqt_exec_callback_QTcpSocket_IsSequential(void*, intptr_t); +bool miqt_exec_callback_QTcpSocket_AtEnd(void*, intptr_t); +bool miqt_exec_callback_QTcpSocket_WaitForConnected(void*, intptr_t, int); +bool miqt_exec_callback_QTcpSocket_WaitForReadyRead(void*, intptr_t, int); +bool miqt_exec_callback_QTcpSocket_WaitForBytesWritten(void*, intptr_t, int); +bool miqt_exec_callback_QTcpSocket_WaitForDisconnected(void*, intptr_t, int); +long long miqt_exec_callback_QTcpSocket_ReadData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QTcpSocket_ReadLineData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QTcpSocket_WriteData(void*, intptr_t, const char*, long long); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTcpSocket : public virtual QTcpSocket { public: diff --git a/qt/network/gen_qudpsocket.cpp b/qt/network/gen_qudpsocket.cpp index 17dc39d7..bb53e862 100644 --- a/qt/network/gen_qudpsocket.cpp +++ b/qt/network/gen_qudpsocket.cpp @@ -14,10 +14,34 @@ #include #include "gen_qudpsocket.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QUdpSocket_Resume(void*, intptr_t); +void miqt_exec_callback_QUdpSocket_ConnectToHost(void*, intptr_t, struct miqt_string, uint16_t, int, int); +void miqt_exec_callback_QUdpSocket_DisconnectFromHost(void*, intptr_t); +long long miqt_exec_callback_QUdpSocket_BytesAvailable(void*, intptr_t); +long long miqt_exec_callback_QUdpSocket_BytesToWrite(void*, intptr_t); +bool miqt_exec_callback_QUdpSocket_CanReadLine(void*, intptr_t); +void miqt_exec_callback_QUdpSocket_SetReadBufferSize(void*, intptr_t, long long); +intptr_t miqt_exec_callback_QUdpSocket_SocketDescriptor(void*, intptr_t); +bool miqt_exec_callback_QUdpSocket_SetSocketDescriptor(void*, intptr_t, intptr_t, int, int); +void miqt_exec_callback_QUdpSocket_SetSocketOption(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QUdpSocket_SocketOption(void*, intptr_t, int); +void miqt_exec_callback_QUdpSocket_Close(void*, intptr_t); +bool miqt_exec_callback_QUdpSocket_IsSequential(void*, intptr_t); +bool miqt_exec_callback_QUdpSocket_AtEnd(void*, intptr_t); +bool miqt_exec_callback_QUdpSocket_WaitForConnected(void*, intptr_t, int); +bool miqt_exec_callback_QUdpSocket_WaitForReadyRead(void*, intptr_t, int); +bool miqt_exec_callback_QUdpSocket_WaitForBytesWritten(void*, intptr_t, int); +bool miqt_exec_callback_QUdpSocket_WaitForDisconnected(void*, intptr_t, int); +long long miqt_exec_callback_QUdpSocket_ReadData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QUdpSocket_ReadLineData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QUdpSocket_WriteData(void*, intptr_t, const char*, long long); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQUdpSocket : public virtual QUdpSocket { public: diff --git a/qt/printsupport/gen_qabstractprintdialog.cpp b/qt/printsupport/gen_qabstractprintdialog.cpp index fad277cb..f1f91206 100644 --- a/qt/printsupport/gen_qabstractprintdialog.cpp +++ b/qt/printsupport/gen_qabstractprintdialog.cpp @@ -19,10 +19,27 @@ #include #include "gen_qabstractprintdialog.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractPrintDialog_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QAbstractPrintDialog_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QAbstractPrintDialog_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QAbstractPrintDialog_Open(void*, intptr_t); +int miqt_exec_callback_QAbstractPrintDialog_Exec(void*, intptr_t); +void miqt_exec_callback_QAbstractPrintDialog_Done(void*, intptr_t, int); +void miqt_exec_callback_QAbstractPrintDialog_Accept(void*, intptr_t); +void miqt_exec_callback_QAbstractPrintDialog_Reject(void*, intptr_t); +void miqt_exec_callback_QAbstractPrintDialog_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QAbstractPrintDialog_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QAbstractPrintDialog_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QAbstractPrintDialog_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QAbstractPrintDialog_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QAbstractPrintDialog_EventFilter(void*, intptr_t, QObject*, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractPrintDialog : public virtual QAbstractPrintDialog { public: diff --git a/qt/printsupport/gen_qpagesetupdialog.cpp b/qt/printsupport/gen_qpagesetupdialog.cpp index a9c1e2cf..cb22d788 100644 --- a/qt/printsupport/gen_qpagesetupdialog.cpp +++ b/qt/printsupport/gen_qpagesetupdialog.cpp @@ -18,10 +18,27 @@ #include #include "gen_qpagesetupdialog.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QPageSetupDialog_Exec(void*, intptr_t); +void miqt_exec_callback_QPageSetupDialog_Done(void*, intptr_t, int); +void miqt_exec_callback_QPageSetupDialog_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QPageSetupDialog_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QPageSetupDialog_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QPageSetupDialog_Open(void*, intptr_t); +void miqt_exec_callback_QPageSetupDialog_Accept(void*, intptr_t); +void miqt_exec_callback_QPageSetupDialog_Reject(void*, intptr_t); +void miqt_exec_callback_QPageSetupDialog_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QPageSetupDialog_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QPageSetupDialog_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QPageSetupDialog_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QPageSetupDialog_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QPageSetupDialog_EventFilter(void*, intptr_t, QObject*, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPageSetupDialog : public virtual QPageSetupDialog { public: diff --git a/qt/printsupport/gen_qprintdialog.cpp b/qt/printsupport/gen_qprintdialog.cpp index 13d09489..6d8f85a7 100644 --- a/qt/printsupport/gen_qprintdialog.cpp +++ b/qt/printsupport/gen_qprintdialog.cpp @@ -12,10 +12,18 @@ #include #include "gen_qprintdialog.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QPrintDialog_Accepted(intptr_t, QPrinter*); +int miqt_exec_callback_QPrintDialog_Exec(void*, intptr_t); +void miqt_exec_callback_QPrintDialog_Accept(void*, intptr_t); +void miqt_exec_callback_QPrintDialog_Done(void*, intptr_t, int); +void miqt_exec_callback_QPrintDialog_SetVisible(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPrintDialog : public virtual QPrintDialog { public: diff --git a/qt/printsupport/gen_qprintengine.cpp b/qt/printsupport/gen_qprintengine.cpp index 060e9122..a5b54750 100644 --- a/qt/printsupport/gen_qprintengine.cpp +++ b/qt/printsupport/gen_qprintengine.cpp @@ -3,10 +3,13 @@ #include #include "gen_qprintengine.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QPrintEngine_SetProperty(QPrintEngine* self, int key, QVariant* value) { self->setProperty(static_cast(key), *value); diff --git a/qt/printsupport/gen_qprinter.cpp b/qt/printsupport/gen_qprinter.cpp index 303c6e19..e6b0ec38 100644 --- a/qt/printsupport/gen_qprinter.cpp +++ b/qt/printsupport/gen_qprinter.cpp @@ -15,10 +15,20 @@ #include #include "gen_qprinter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QPrinter_DevType(void*, intptr_t); +void miqt_exec_callback_QPrinter_SetPageSize(void*, intptr_t, int); +void miqt_exec_callback_QPrinter_SetPageSizeMM(void*, intptr_t, QSizeF*); +bool miqt_exec_callback_QPrinter_NewPage(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QPrinter_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QPrinter_SetMargins(void*, intptr_t, QPagedPaintDevice__Margins*); +int miqt_exec_callback_QPrinter_Metric(void*, intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPrinter : public virtual QPrinter { public: diff --git a/qt/printsupport/gen_qprinterinfo.cpp b/qt/printsupport/gen_qprinterinfo.cpp index 783b6f96..34c5f810 100644 --- a/qt/printsupport/gen_qprinterinfo.cpp +++ b/qt/printsupport/gen_qprinterinfo.cpp @@ -10,10 +10,13 @@ #include #include "gen_qprinterinfo.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QPrinterInfo* QPrinterInfo_new() { return new QPrinterInfo(); diff --git a/qt/printsupport/gen_qprintpreviewdialog.cpp b/qt/printsupport/gen_qprintpreviewdialog.cpp index 3e6426d8..18ed4c26 100644 --- a/qt/printsupport/gen_qprintpreviewdialog.cpp +++ b/qt/printsupport/gen_qprintpreviewdialog.cpp @@ -18,10 +18,28 @@ #include #include "gen_qprintpreviewdialog.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QPrintPreviewDialog_PaintRequested(intptr_t, QPrinter*); +void miqt_exec_callback_QPrintPreviewDialog_SetVisible(void*, intptr_t, bool); +void miqt_exec_callback_QPrintPreviewDialog_Done(void*, intptr_t, int); +QSize* miqt_exec_callback_QPrintPreviewDialog_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QPrintPreviewDialog_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QPrintPreviewDialog_Open(void*, intptr_t); +int miqt_exec_callback_QPrintPreviewDialog_Exec(void*, intptr_t); +void miqt_exec_callback_QPrintPreviewDialog_Accept(void*, intptr_t); +void miqt_exec_callback_QPrintPreviewDialog_Reject(void*, intptr_t); +void miqt_exec_callback_QPrintPreviewDialog_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QPrintPreviewDialog_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QPrintPreviewDialog_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QPrintPreviewDialog_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QPrintPreviewDialog_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QPrintPreviewDialog_EventFilter(void*, intptr_t, QObject*, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPrintPreviewDialog : public virtual QPrintPreviewDialog { public: diff --git a/qt/printsupport/gen_qprintpreviewwidget.cpp b/qt/printsupport/gen_qprintpreviewwidget.cpp index 794c47e5..743fccec 100644 --- a/qt/printsupport/gen_qprintpreviewwidget.cpp +++ b/qt/printsupport/gen_qprintpreviewwidget.cpp @@ -35,10 +35,56 @@ #include #include "gen_qprintpreviewwidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QPrintPreviewWidget_PaintRequested(intptr_t, QPrinter*); +void miqt_exec_callback_QPrintPreviewWidget_PreviewChanged(intptr_t); +void miqt_exec_callback_QPrintPreviewWidget_SetVisible(void*, intptr_t, bool); +int miqt_exec_callback_QPrintPreviewWidget_DevType(void*, intptr_t); +QSize* miqt_exec_callback_QPrintPreviewWidget_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QPrintPreviewWidget_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QPrintPreviewWidget_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QPrintPreviewWidget_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QPrintPreviewWidget_PaintEngine(void*, intptr_t); +bool miqt_exec_callback_QPrintPreviewWidget_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QPrintPreviewWidget_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QPrintPreviewWidget_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QPrintPreviewWidget_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QPrintPreviewWidget_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QPrintPreviewWidget_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QPrintPreviewWidget_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QPrintPreviewWidget_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QPrintPreviewWidget_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QPrintPreviewWidget_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QPrintPreviewWidget_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QPrintPreviewWidget_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QPrintPreviewWidget_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QPrintPreviewWidget_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QPrintPreviewWidget_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QPrintPreviewWidget_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QPrintPreviewWidget_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QPrintPreviewWidget_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QPrintPreviewWidget_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QPrintPreviewWidget_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QPrintPreviewWidget_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QPrintPreviewWidget_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QPrintPreviewWidget_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QPrintPreviewWidget_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QPrintPreviewWidget_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QPrintPreviewWidget_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +void miqt_exec_callback_QPrintPreviewWidget_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QPrintPreviewWidget_Metric(void*, intptr_t, int); +void miqt_exec_callback_QPrintPreviewWidget_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QPrintPreviewWidget_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QPrintPreviewWidget_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QPrintPreviewWidget_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QPrintPreviewWidget_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QPrintPreviewWidget_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPrintPreviewWidget : public virtual QPrintPreviewWidget { public: diff --git a/qt/script/gen_qscriptable.cpp b/qt/script/gen_qscriptable.cpp index 68392286..19c2ac54 100644 --- a/qt/script/gen_qscriptable.cpp +++ b/qt/script/gen_qscriptable.cpp @@ -5,10 +5,13 @@ #include #include "gen_qscriptable.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QScriptable* QScriptable_new() { return new QScriptable(); diff --git a/qt/script/gen_qscriptclass.cpp b/qt/script/gen_qscriptclass.cpp index 65bbea2d..aa3b2791 100644 --- a/qt/script/gen_qscriptclass.cpp +++ b/qt/script/gen_qscriptclass.cpp @@ -10,10 +10,22 @@ #include #include "gen_qscriptclass.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QScriptClass_QueryProperty(void*, intptr_t, QScriptValue*, QScriptString*, int, unsigned int*); +QScriptValue* miqt_exec_callback_QScriptClass_Property(void*, intptr_t, QScriptValue*, QScriptString*, unsigned int); +void miqt_exec_callback_QScriptClass_SetProperty(void*, intptr_t, QScriptValue*, QScriptString*, unsigned int, QScriptValue*); +int miqt_exec_callback_QScriptClass_PropertyFlags(void*, intptr_t, QScriptValue*, QScriptString*, unsigned int); +QScriptClassPropertyIterator* miqt_exec_callback_QScriptClass_NewIterator(void*, intptr_t, QScriptValue*); +QScriptValue* miqt_exec_callback_QScriptClass_Prototype(void*, intptr_t); +struct miqt_string miqt_exec_callback_QScriptClass_Name(void*, intptr_t); +bool miqt_exec_callback_QScriptClass_SupportsExtension(void*, intptr_t, int); +QVariant* miqt_exec_callback_QScriptClass_Extension(void*, intptr_t, int, QVariant*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQScriptClass : public virtual QScriptClass { public: diff --git a/qt/script/gen_qscriptclasspropertyiterator.cpp b/qt/script/gen_qscriptclasspropertyiterator.cpp index 4073021d..96caf7a3 100644 --- a/qt/script/gen_qscriptclasspropertyiterator.cpp +++ b/qt/script/gen_qscriptclasspropertyiterator.cpp @@ -4,10 +4,13 @@ #include #include "gen_qscriptclasspropertyiterator.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QScriptValue* QScriptClassPropertyIterator_Object(const QScriptClassPropertyIterator* self) { return new QScriptValue(self->object()); diff --git a/qt/script/gen_qscriptcontext.cpp b/qt/script/gen_qscriptcontext.cpp index a4adb14f..c12fa6de 100644 --- a/qt/script/gen_qscriptcontext.cpp +++ b/qt/script/gen_qscriptcontext.cpp @@ -8,10 +8,13 @@ #include #include "gen_qscriptcontext.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QScriptContext* QScriptContext_ParentContext(const QScriptContext* self) { return self->parentContext(); diff --git a/qt/script/gen_qscriptcontextinfo.cpp b/qt/script/gen_qscriptcontextinfo.cpp index 13c430ee..86ec3e17 100644 --- a/qt/script/gen_qscriptcontextinfo.cpp +++ b/qt/script/gen_qscriptcontextinfo.cpp @@ -7,10 +7,13 @@ #include #include "gen_qscriptcontextinfo.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QScriptContextInfo* QScriptContextInfo_new(QScriptContext* context) { return new QScriptContextInfo(context); diff --git a/qt/script/gen_qscriptengine.cpp b/qt/script/gen_qscriptengine.cpp index 1197d64d..64c07468 100644 --- a/qt/script/gen_qscriptengine.cpp +++ b/qt/script/gen_qscriptengine.cpp @@ -22,10 +22,21 @@ #include #include "gen_qscriptengine.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QScriptEngine_SignalHandlerException(intptr_t, QScriptValue*); +bool miqt_exec_callback_QScriptEngine_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QScriptEngine_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QScriptEngine_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QScriptEngine_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QScriptEngine_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QScriptEngine_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QScriptEngine_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QScriptSyntaxCheckResult* QScriptSyntaxCheckResult_new(QScriptSyntaxCheckResult* other) { return new QScriptSyntaxCheckResult(*other); diff --git a/qt/script/gen_qscriptengineagent.cpp b/qt/script/gen_qscriptengineagent.cpp index a01ccea3..85d6b22b 100644 --- a/qt/script/gen_qscriptengineagent.cpp +++ b/qt/script/gen_qscriptengineagent.cpp @@ -8,10 +8,24 @@ #include #include "gen_qscriptengineagent.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QScriptEngineAgent_ScriptLoad(void*, intptr_t, long long, struct miqt_string, struct miqt_string, int); +void miqt_exec_callback_QScriptEngineAgent_ScriptUnload(void*, intptr_t, long long); +void miqt_exec_callback_QScriptEngineAgent_ContextPush(void*, intptr_t); +void miqt_exec_callback_QScriptEngineAgent_ContextPop(void*, intptr_t); +void miqt_exec_callback_QScriptEngineAgent_FunctionEntry(void*, intptr_t, long long); +void miqt_exec_callback_QScriptEngineAgent_FunctionExit(void*, intptr_t, long long, QScriptValue*); +void miqt_exec_callback_QScriptEngineAgent_PositionChange(void*, intptr_t, long long, int, int); +void miqt_exec_callback_QScriptEngineAgent_ExceptionThrow(void*, intptr_t, long long, QScriptValue*, bool); +void miqt_exec_callback_QScriptEngineAgent_ExceptionCatch(void*, intptr_t, long long, QScriptValue*); +bool miqt_exec_callback_QScriptEngineAgent_SupportsExtension(void*, intptr_t, int); +QVariant* miqt_exec_callback_QScriptEngineAgent_Extension(void*, intptr_t, int, QVariant*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQScriptEngineAgent : public virtual QScriptEngineAgent { public: diff --git a/qt/script/gen_qscriptextensioninterface.cpp b/qt/script/gen_qscriptextensioninterface.cpp index bfbcb650..4ccd2faa 100644 --- a/qt/script/gen_qscriptextensioninterface.cpp +++ b/qt/script/gen_qscriptextensioninterface.cpp @@ -8,10 +8,15 @@ #include #include "gen_qscriptextensioninterface.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QScriptExtensionInterface_Initialize(void*, intptr_t, struct miqt_string, QScriptEngine*); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QScriptExtensionInterface_Keys(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQScriptExtensionInterface : public virtual QScriptExtensionInterface { public: diff --git a/qt/script/gen_qscriptextensionplugin.cpp b/qt/script/gen_qscriptextensionplugin.cpp index 641270cf..248213af 100644 --- a/qt/script/gen_qscriptextensionplugin.cpp +++ b/qt/script/gen_qscriptextensionplugin.cpp @@ -16,10 +16,22 @@ #include #include "gen_qscriptextensionplugin.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QScriptExtensionPlugin_Keys(void*, intptr_t); +void miqt_exec_callback_QScriptExtensionPlugin_Initialize(void*, intptr_t, struct miqt_string, QScriptEngine*); +bool miqt_exec_callback_QScriptExtensionPlugin_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QScriptExtensionPlugin_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QScriptExtensionPlugin_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QScriptExtensionPlugin_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QScriptExtensionPlugin_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QScriptExtensionPlugin_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QScriptExtensionPlugin_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQScriptExtensionPlugin : public virtual QScriptExtensionPlugin { public: diff --git a/qt/script/gen_qscriptprogram.cpp b/qt/script/gen_qscriptprogram.cpp index bb7c0780..9d5ab1ab 100644 --- a/qt/script/gen_qscriptprogram.cpp +++ b/qt/script/gen_qscriptprogram.cpp @@ -5,10 +5,13 @@ #include #include "gen_qscriptprogram.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QScriptProgram* QScriptProgram_new() { return new QScriptProgram(); diff --git a/qt/script/gen_qscriptstring.cpp b/qt/script/gen_qscriptstring.cpp index f8a816d2..4ffff822 100644 --- a/qt/script/gen_qscriptstring.cpp +++ b/qt/script/gen_qscriptstring.cpp @@ -5,10 +5,13 @@ #include #include "gen_qscriptstring.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QScriptString* QScriptString_new() { return new QScriptString(); diff --git a/qt/script/gen_qscriptvalue.cpp b/qt/script/gen_qscriptvalue.cpp index a95077fa..d0d4303c 100644 --- a/qt/script/gen_qscriptvalue.cpp +++ b/qt/script/gen_qscriptvalue.cpp @@ -14,10 +14,13 @@ #include #include "gen_qscriptvalue.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QScriptValue* QScriptValue_new() { return new QScriptValue(); diff --git a/qt/script/gen_qscriptvalueiterator.cpp b/qt/script/gen_qscriptvalueiterator.cpp index 407f87f4..36acda73 100644 --- a/qt/script/gen_qscriptvalueiterator.cpp +++ b/qt/script/gen_qscriptvalueiterator.cpp @@ -7,10 +7,13 @@ #include #include "gen_qscriptvalueiterator.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QScriptValueIterator* QScriptValueIterator_new(QScriptValue* value) { return new QScriptValueIterator(*value); diff --git a/qt/svg/gen_qgraphicssvgitem.cpp b/qt/svg/gen_qgraphicssvgitem.cpp index 943a718d..f47a4f19 100644 --- a/qt/svg/gen_qgraphicssvgitem.cpp +++ b/qt/svg/gen_qgraphicssvgitem.cpp @@ -16,10 +16,17 @@ #include #include "gen_qgraphicssvgitem.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QRectF* miqt_exec_callback_QGraphicsSvgItem_BoundingRect(void*, intptr_t); +void miqt_exec_callback_QGraphicsSvgItem_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +int miqt_exec_callback_QGraphicsSvgItem_Type(void*, intptr_t); +bool miqt_exec_callback_QGraphicsSvgItem_Event(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsSvgItem : public virtual QGraphicsSvgItem { public: diff --git a/qt/svg/gen_qsvggenerator.cpp b/qt/svg/gen_qsvggenerator.cpp index a8d02a2f..b6751a4a 100644 --- a/qt/svg/gen_qsvggenerator.cpp +++ b/qt/svg/gen_qsvggenerator.cpp @@ -13,10 +13,19 @@ #include #include "gen_qsvggenerator.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QPaintEngine* miqt_exec_callback_QSvgGenerator_PaintEngine(void*, intptr_t); +int miqt_exec_callback_QSvgGenerator_Metric(void*, intptr_t, int); +int miqt_exec_callback_QSvgGenerator_DevType(void*, intptr_t); +void miqt_exec_callback_QSvgGenerator_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QSvgGenerator_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QSvgGenerator_SharedPainter(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSvgGenerator : public virtual QSvgGenerator { public: diff --git a/qt/svg/gen_qsvgrenderer.cpp b/qt/svg/gen_qsvgrenderer.cpp index 531152d7..45c7dd08 100644 --- a/qt/svg/gen_qsvgrenderer.cpp +++ b/qt/svg/gen_qsvgrenderer.cpp @@ -19,10 +19,21 @@ #include #include "gen_qsvgrenderer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSvgRenderer_RepaintNeeded(intptr_t); +bool miqt_exec_callback_QSvgRenderer_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QSvgRenderer_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QSvgRenderer_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QSvgRenderer_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QSvgRenderer_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSvgRenderer_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QSvgRenderer_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSvgRenderer : public virtual QSvgRenderer { public: diff --git a/qt/svg/gen_qsvgwidget.cpp b/qt/svg/gen_qsvgwidget.cpp index 235cfb43..223f57be 100644 --- a/qt/svg/gen_qsvgwidget.cpp +++ b/qt/svg/gen_qsvgwidget.cpp @@ -35,10 +35,54 @@ #include #include "gen_qsvgwidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QSvgWidget_SizeHint(void*, intptr_t); +void miqt_exec_callback_QSvgWidget_PaintEvent(void*, intptr_t, QPaintEvent*); +int miqt_exec_callback_QSvgWidget_DevType(void*, intptr_t); +void miqt_exec_callback_QSvgWidget_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QSvgWidget_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QSvgWidget_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QSvgWidget_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QSvgWidget_PaintEngine(void*, intptr_t); +bool miqt_exec_callback_QSvgWidget_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSvgWidget_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSvgWidget_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSvgWidget_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSvgWidget_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSvgWidget_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QSvgWidget_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QSvgWidget_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QSvgWidget_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QSvgWidget_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QSvgWidget_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSvgWidget_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSvgWidget_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QSvgWidget_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QSvgWidget_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QSvgWidget_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QSvgWidget_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QSvgWidget_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QSvgWidget_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QSvgWidget_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QSvgWidget_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QSvgWidget_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QSvgWidget_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QSvgWidget_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QSvgWidget_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +void miqt_exec_callback_QSvgWidget_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QSvgWidget_Metric(void*, intptr_t, int); +void miqt_exec_callback_QSvgWidget_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QSvgWidget_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QSvgWidget_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QSvgWidget_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QSvgWidget_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QSvgWidget_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSvgWidget : public virtual QSvgWidget { public: diff --git a/qt/webchannel/gen_qqmlwebchannel.cpp b/qt/webchannel/gen_qqmlwebchannel.cpp index b28337d5..b093022a 100644 --- a/qt/webchannel/gen_qqmlwebchannel.cpp +++ b/qt/webchannel/gen_qqmlwebchannel.cpp @@ -10,10 +10,13 @@ #include #include "gen_qqmlwebchannel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QQmlWebChannel* QQmlWebChannel_new() { return new QQmlWebChannel(); diff --git a/qt/webchannel/gen_qwebchannel.cpp b/qt/webchannel/gen_qwebchannel.cpp index ad97c2a3..f1d865c9 100644 --- a/qt/webchannel/gen_qwebchannel.cpp +++ b/qt/webchannel/gen_qwebchannel.cpp @@ -13,10 +13,21 @@ #include #include "gen_qwebchannel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebChannel_BlockUpdatesChanged(intptr_t, bool); +bool miqt_exec_callback_QWebChannel_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QWebChannel_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QWebChannel_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QWebChannel_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QWebChannel_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebChannel_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QWebChannel_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWebChannel : public virtual QWebChannel { public: diff --git a/qt/webchannel/gen_qwebchannelabstracttransport.cpp b/qt/webchannel/gen_qwebchannelabstracttransport.cpp index c6578522..ec578a79 100644 --- a/qt/webchannel/gen_qwebchannelabstracttransport.cpp +++ b/qt/webchannel/gen_qwebchannelabstracttransport.cpp @@ -12,10 +12,22 @@ #include #include "gen_qwebchannelabstracttransport.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebChannelAbstractTransport_MessageReceived(intptr_t, QJsonObject*, QWebChannelAbstractTransport*); +void miqt_exec_callback_QWebChannelAbstractTransport_SendMessage(void*, intptr_t, QJsonObject*); +bool miqt_exec_callback_QWebChannelAbstractTransport_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QWebChannelAbstractTransport_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QWebChannelAbstractTransport_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QWebChannelAbstractTransport_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QWebChannelAbstractTransport_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebChannelAbstractTransport_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QWebChannelAbstractTransport_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWebChannelAbstractTransport : public virtual QWebChannelAbstractTransport { public: diff --git a/qt/webengine/gen_qwebenginecertificateerror.cpp b/qt/webengine/gen_qwebenginecertificateerror.cpp index 09c8c00c..fd624802 100644 --- a/qt/webengine/gen_qwebenginecertificateerror.cpp +++ b/qt/webengine/gen_qwebenginecertificateerror.cpp @@ -8,10 +8,13 @@ #include #include "gen_qwebenginecertificateerror.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebEngineCertificateError* QWebEngineCertificateError_new(int error, QUrl* url, bool overridable, struct miqt_string errorDescription) { QString errorDescription_QString = QString::fromUtf8(errorDescription.data, errorDescription.len); diff --git a/qt/webengine/gen_qwebengineclientcertificateselection.cpp b/qt/webengine/gen_qwebengineclientcertificateselection.cpp index c3913540..e1ad32d1 100644 --- a/qt/webengine/gen_qwebengineclientcertificateselection.cpp +++ b/qt/webengine/gen_qwebengineclientcertificateselection.cpp @@ -5,10 +5,13 @@ #include #include "gen_qwebengineclientcertificateselection.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebEngineClientCertificateSelection* QWebEngineClientCertificateSelection_new(QWebEngineClientCertificateSelection* param1) { return new QWebEngineClientCertificateSelection(*param1); diff --git a/qt/webengine/gen_qwebengineclientcertificatestore.cpp b/qt/webengine/gen_qwebengineclientcertificatestore.cpp index 55495a8d..8ac499d7 100644 --- a/qt/webengine/gen_qwebengineclientcertificatestore.cpp +++ b/qt/webengine/gen_qwebengineclientcertificatestore.cpp @@ -5,10 +5,13 @@ #include #include "gen_qwebengineclientcertificatestore.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QWebEngineClientCertificateStore_Add(QWebEngineClientCertificateStore* self, QSslCertificate* certificate, QSslKey* privateKey) { self->add(*certificate, *privateKey); diff --git a/qt/webengine/gen_qwebenginecontextmenudata.cpp b/qt/webengine/gen_qwebenginecontextmenudata.cpp index b9369581..8ecd3832 100644 --- a/qt/webengine/gen_qwebenginecontextmenudata.cpp +++ b/qt/webengine/gen_qwebenginecontextmenudata.cpp @@ -8,10 +8,13 @@ #include #include "gen_qwebenginecontextmenudata.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebEngineContextMenuData* QWebEngineContextMenuData_new() { return new QWebEngineContextMenuData(); diff --git a/qt/webengine/gen_qwebenginecookiestore.cpp b/qt/webengine/gen_qwebenginecookiestore.cpp index 93b0d514..1dc3bf00 100644 --- a/qt/webengine/gen_qwebenginecookiestore.cpp +++ b/qt/webengine/gen_qwebenginecookiestore.cpp @@ -10,10 +10,15 @@ #include #include "gen_qwebenginecookiestore.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebEngineCookieStore_CookieAdded(intptr_t, QNetworkCookie*); +void miqt_exec_callback_QWebEngineCookieStore_CookieRemoved(intptr_t, QNetworkCookie*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QWebEngineCookieStore_virtbase(QWebEngineCookieStore* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt/webengine/gen_qwebenginedownloaditem.cpp b/qt/webengine/gen_qwebenginedownloaditem.cpp index 7d698343..0067705e 100644 --- a/qt/webengine/gen_qwebenginedownloaditem.cpp +++ b/qt/webengine/gen_qwebenginedownloaditem.cpp @@ -9,10 +9,17 @@ #include #include "gen_qwebenginedownloaditem.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebEngineDownloadItem_Finished(intptr_t); +void miqt_exec_callback_QWebEngineDownloadItem_StateChanged(intptr_t, int); +void miqt_exec_callback_QWebEngineDownloadItem_DownloadProgress(intptr_t, long long, long long); +void miqt_exec_callback_QWebEngineDownloadItem_IsPausedChanged(intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QWebEngineDownloadItem_virtbase(QWebEngineDownloadItem* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt/webengine/gen_qwebenginefindtextresult.cpp b/qt/webengine/gen_qwebenginefindtextresult.cpp index 6c522249..f467522a 100644 --- a/qt/webengine/gen_qwebenginefindtextresult.cpp +++ b/qt/webengine/gen_qwebenginefindtextresult.cpp @@ -2,10 +2,13 @@ #include #include "gen_qwebenginefindtextresult.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebEngineFindTextResult* QWebEngineFindTextResult_new() { return new QWebEngineFindTextResult(); diff --git a/qt/webengine/gen_qwebenginefullscreenrequest.cpp b/qt/webengine/gen_qwebenginefullscreenrequest.cpp index 68e1dbd7..58431090 100644 --- a/qt/webengine/gen_qwebenginefullscreenrequest.cpp +++ b/qt/webengine/gen_qwebenginefullscreenrequest.cpp @@ -3,10 +3,13 @@ #include #include "gen_qwebenginefullscreenrequest.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebEngineFullScreenRequest* QWebEngineFullScreenRequest_new(QWebEngineFullScreenRequest* param1) { return new QWebEngineFullScreenRequest(*param1); diff --git a/qt/webengine/gen_qwebenginehistory.cpp b/qt/webengine/gen_qwebenginehistory.cpp index ea104146..d5308c4c 100644 --- a/qt/webengine/gen_qwebenginehistory.cpp +++ b/qt/webengine/gen_qwebenginehistory.cpp @@ -9,10 +9,13 @@ #include #include "gen_qwebenginehistory.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebEngineHistoryItem* QWebEngineHistoryItem_new(QWebEngineHistoryItem* other) { return new QWebEngineHistoryItem(*other); diff --git a/qt/webengine/gen_qwebenginehttprequest.cpp b/qt/webengine/gen_qwebenginehttprequest.cpp index d7884b77..0875b997 100644 --- a/qt/webengine/gen_qwebenginehttprequest.cpp +++ b/qt/webengine/gen_qwebenginehttprequest.cpp @@ -9,10 +9,13 @@ #include #include "gen_qwebenginehttprequest.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebEngineHttpRequest* QWebEngineHttpRequest_new() { return new QWebEngineHttpRequest(); diff --git a/qt/webengine/gen_qwebenginenotification.cpp b/qt/webengine/gen_qwebenginenotification.cpp index 1492f05d..c27b0631 100644 --- a/qt/webengine/gen_qwebenginenotification.cpp +++ b/qt/webengine/gen_qwebenginenotification.cpp @@ -9,10 +9,14 @@ #include #include "gen_qwebenginenotification.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebEngineNotification_Closed(intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QWebEngineNotification_virtbase(QWebEngineNotification* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt/webengine/gen_qwebenginepage.cpp b/qt/webengine/gen_qwebenginepage.cpp index b7455cf1..3dc2fe03 100644 --- a/qt/webengine/gen_qwebenginepage.cpp +++ b/qt/webengine/gen_qwebenginepage.cpp @@ -38,10 +38,59 @@ #include #include "gen_qwebenginepage.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebEnginePage_LoadStarted(intptr_t); +void miqt_exec_callback_QWebEnginePage_LoadProgress(intptr_t, int); +void miqt_exec_callback_QWebEnginePage_LoadFinished(intptr_t, bool); +void miqt_exec_callback_QWebEnginePage_LinkHovered(intptr_t, struct miqt_string); +void miqt_exec_callback_QWebEnginePage_SelectionChanged(intptr_t); +void miqt_exec_callback_QWebEnginePage_GeometryChangeRequested(intptr_t, QRect*); +void miqt_exec_callback_QWebEnginePage_WindowCloseRequested(intptr_t); +void miqt_exec_callback_QWebEnginePage_FeaturePermissionRequested(intptr_t, QUrl*, int); +void miqt_exec_callback_QWebEnginePage_FeaturePermissionRequestCanceled(intptr_t, QUrl*, int); +void miqt_exec_callback_QWebEnginePage_FullScreenRequested(intptr_t, QWebEngineFullScreenRequest*); +void miqt_exec_callback_QWebEnginePage_QuotaRequested(intptr_t, QWebEngineQuotaRequest*); +void miqt_exec_callback_QWebEnginePage_RegisterProtocolHandlerRequested(intptr_t, QWebEngineRegisterProtocolHandlerRequest*); +void miqt_exec_callback_QWebEnginePage_SelectClientCertificate(intptr_t, QWebEngineClientCertificateSelection*); +void miqt_exec_callback_QWebEnginePage_AuthenticationRequired(intptr_t, QUrl*, QAuthenticator*); +void miqt_exec_callback_QWebEnginePage_ProxyAuthenticationRequired(intptr_t, QUrl*, QAuthenticator*, struct miqt_string); +void miqt_exec_callback_QWebEnginePage_RenderProcessTerminated(intptr_t, int, int); +void miqt_exec_callback_QWebEnginePage_TitleChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QWebEnginePage_UrlChanged(intptr_t, QUrl*); +void miqt_exec_callback_QWebEnginePage_IconUrlChanged(intptr_t, QUrl*); +void miqt_exec_callback_QWebEnginePage_IconChanged(intptr_t, QIcon*); +void miqt_exec_callback_QWebEnginePage_ScrollPositionChanged(intptr_t, QPointF*); +void miqt_exec_callback_QWebEnginePage_ContentsSizeChanged(intptr_t, QSizeF*); +void miqt_exec_callback_QWebEnginePage_AudioMutedChanged(intptr_t, bool); +void miqt_exec_callback_QWebEnginePage_RecentlyAudibleChanged(intptr_t, bool); +void miqt_exec_callback_QWebEnginePage_RenderProcessPidChanged(intptr_t, long long); +void miqt_exec_callback_QWebEnginePage_PdfPrintingFinished(intptr_t, struct miqt_string, bool); +void miqt_exec_callback_QWebEnginePage_PrintRequested(intptr_t); +void miqt_exec_callback_QWebEnginePage_VisibleChanged(intptr_t, bool); +void miqt_exec_callback_QWebEnginePage_LifecycleStateChanged(intptr_t, int); +void miqt_exec_callback_QWebEnginePage_RecommendedStateChanged(intptr_t, int); +void miqt_exec_callback_QWebEnginePage_FindTextFinished(intptr_t, QWebEngineFindTextResult*); +void miqt_exec_callback_QWebEnginePage_TriggerAction(void*, intptr_t, int, bool); +bool miqt_exec_callback_QWebEnginePage_Event(void*, intptr_t, QEvent*); +QWebEnginePage* miqt_exec_callback_QWebEnginePage_CreateWindow(void*, intptr_t, int); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QWebEnginePage_ChooseFiles(void*, intptr_t, int, struct miqt_array /* of struct miqt_string */ , struct miqt_array /* of struct miqt_string */ ); +void miqt_exec_callback_QWebEnginePage_JavaScriptAlert(void*, intptr_t, QUrl*, struct miqt_string); +bool miqt_exec_callback_QWebEnginePage_JavaScriptConfirm(void*, intptr_t, QUrl*, struct miqt_string); +void miqt_exec_callback_QWebEnginePage_JavaScriptConsoleMessage(void*, intptr_t, int, struct miqt_string, int, struct miqt_string); +bool miqt_exec_callback_QWebEnginePage_CertificateError(void*, intptr_t, QWebEngineCertificateError*); +bool miqt_exec_callback_QWebEnginePage_AcceptNavigationRequest(void*, intptr_t, QUrl*, int, bool); +bool miqt_exec_callback_QWebEnginePage_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QWebEnginePage_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QWebEnginePage_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QWebEnginePage_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebEnginePage_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QWebEnginePage_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWebEnginePage : public virtual QWebEnginePage { public: diff --git a/qt/webengine/gen_qwebengineprofile.cpp b/qt/webengine/gen_qwebengineprofile.cpp index 176aafd1..74d3b41a 100644 --- a/qt/webengine/gen_qwebengineprofile.cpp +++ b/qt/webengine/gen_qwebengineprofile.cpp @@ -21,10 +21,21 @@ #include #include "gen_qwebengineprofile.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebEngineProfile_DownloadRequested(intptr_t, QWebEngineDownloadItem*); +bool miqt_exec_callback_QWebEngineProfile_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QWebEngineProfile_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QWebEngineProfile_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QWebEngineProfile_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QWebEngineProfile_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebEngineProfile_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QWebEngineProfile_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWebEngineProfile : public virtual QWebEngineProfile { public: diff --git a/qt/webengine/gen_qwebenginequotarequest.cpp b/qt/webengine/gen_qwebenginequotarequest.cpp index 88534c07..e904b888 100644 --- a/qt/webengine/gen_qwebenginequotarequest.cpp +++ b/qt/webengine/gen_qwebenginequotarequest.cpp @@ -3,10 +3,13 @@ #include #include "gen_qwebenginequotarequest.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebEngineQuotaRequest* QWebEngineQuotaRequest_new() { return new QWebEngineQuotaRequest(); diff --git a/qt/webengine/gen_qwebengineregisterprotocolhandlerrequest.cpp b/qt/webengine/gen_qwebengineregisterprotocolhandlerrequest.cpp index a7b88d79..fcfd9418 100644 --- a/qt/webengine/gen_qwebengineregisterprotocolhandlerrequest.cpp +++ b/qt/webengine/gen_qwebengineregisterprotocolhandlerrequest.cpp @@ -6,10 +6,13 @@ #include #include "gen_qwebengineregisterprotocolhandlerrequest.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebEngineRegisterProtocolHandlerRequest* QWebEngineRegisterProtocolHandlerRequest_new() { return new QWebEngineRegisterProtocolHandlerRequest(); diff --git a/qt/webengine/gen_qwebenginescript.cpp b/qt/webengine/gen_qwebenginescript.cpp index e3a64098..48f20917 100644 --- a/qt/webengine/gen_qwebenginescript.cpp +++ b/qt/webengine/gen_qwebenginescript.cpp @@ -5,10 +5,13 @@ #include #include "gen_qwebenginescript.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebEngineScript* QWebEngineScript_new() { return new QWebEngineScript(); diff --git a/qt/webengine/gen_qwebenginescriptcollection.cpp b/qt/webengine/gen_qwebenginescriptcollection.cpp index b6b8e3d5..1d8c2f20 100644 --- a/qt/webengine/gen_qwebenginescriptcollection.cpp +++ b/qt/webengine/gen_qwebenginescriptcollection.cpp @@ -7,10 +7,13 @@ #include #include "gen_qwebenginescriptcollection.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" bool QWebEngineScriptCollection_IsEmpty(const QWebEngineScriptCollection* self) { return self->isEmpty(); diff --git a/qt/webengine/gen_qwebenginesettings.cpp b/qt/webengine/gen_qwebenginesettings.cpp index 313d3fa4..8e184846 100644 --- a/qt/webengine/gen_qwebenginesettings.cpp +++ b/qt/webengine/gen_qwebenginesettings.cpp @@ -5,10 +5,13 @@ #include #include "gen_qwebenginesettings.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebEngineSettings* QWebEngineSettings_GlobalSettings() { return QWebEngineSettings::globalSettings(); diff --git a/qt/webengine/gen_qwebengineurlrequestinfo.cpp b/qt/webengine/gen_qwebengineurlrequestinfo.cpp index 9f633e57..06c7a422 100644 --- a/qt/webengine/gen_qwebengineurlrequestinfo.cpp +++ b/qt/webengine/gen_qwebengineurlrequestinfo.cpp @@ -4,10 +4,13 @@ #include #include "gen_qwebengineurlrequestinfo.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" int QWebEngineUrlRequestInfo_ResourceType(const QWebEngineUrlRequestInfo* self) { QWebEngineUrlRequestInfo::ResourceType _ret = self->resourceType(); diff --git a/qt/webengine/gen_qwebengineurlrequestinterceptor.cpp b/qt/webengine/gen_qwebengineurlrequestinterceptor.cpp index 03a4769f..a4384bfa 100644 --- a/qt/webengine/gen_qwebengineurlrequestinterceptor.cpp +++ b/qt/webengine/gen_qwebengineurlrequestinterceptor.cpp @@ -12,10 +12,21 @@ #include #include "gen_qwebengineurlrequestinterceptor.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebEngineUrlRequestInterceptor_InterceptRequest(void*, intptr_t, QWebEngineUrlRequestInfo*); +bool miqt_exec_callback_QWebEngineUrlRequestInterceptor_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QWebEngineUrlRequestInterceptor_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QWebEngineUrlRequestInterceptor_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QWebEngineUrlRequestInterceptor_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QWebEngineUrlRequestInterceptor_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebEngineUrlRequestInterceptor_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QWebEngineUrlRequestInterceptor_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWebEngineUrlRequestInterceptor : public virtual QWebEngineUrlRequestInterceptor { public: diff --git a/qt/webengine/gen_qwebengineurlrequestjob.cpp b/qt/webengine/gen_qwebengineurlrequestjob.cpp index 22397514..3be9616e 100644 --- a/qt/webengine/gen_qwebengineurlrequestjob.cpp +++ b/qt/webengine/gen_qwebengineurlrequestjob.cpp @@ -10,10 +10,13 @@ #include #include "gen_qwebengineurlrequestjob.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QWebEngineUrlRequestJob_virtbase(QWebEngineUrlRequestJob* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt/webengine/gen_qwebengineurlscheme.cpp b/qt/webengine/gen_qwebengineurlscheme.cpp index ccfff3a6..0dc85996 100644 --- a/qt/webengine/gen_qwebengineurlscheme.cpp +++ b/qt/webengine/gen_qwebengineurlscheme.cpp @@ -3,10 +3,13 @@ #include #include "gen_qwebengineurlscheme.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebEngineUrlScheme* QWebEngineUrlScheme_new() { return new QWebEngineUrlScheme(); diff --git a/qt/webengine/gen_qwebengineurlschemehandler.cpp b/qt/webengine/gen_qwebengineurlschemehandler.cpp index 447e0ad5..e2ab79c9 100644 --- a/qt/webengine/gen_qwebengineurlschemehandler.cpp +++ b/qt/webengine/gen_qwebengineurlschemehandler.cpp @@ -12,10 +12,21 @@ #include #include "gen_qwebengineurlschemehandler.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebEngineUrlSchemeHandler_RequestStarted(void*, intptr_t, QWebEngineUrlRequestJob*); +bool miqt_exec_callback_QWebEngineUrlSchemeHandler_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QWebEngineUrlSchemeHandler_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QWebEngineUrlSchemeHandler_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QWebEngineUrlSchemeHandler_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QWebEngineUrlSchemeHandler_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebEngineUrlSchemeHandler_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QWebEngineUrlSchemeHandler_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWebEngineUrlSchemeHandler : public virtual QWebEngineUrlSchemeHandler { public: diff --git a/qt/webengine/gen_qwebengineview.cpp b/qt/webengine/gen_qwebengineview.cpp index 6cc97fad..3e3f778e 100644 --- a/qt/webengine/gen_qwebengineview.cpp +++ b/qt/webengine/gen_qwebengineview.cpp @@ -41,10 +41,64 @@ #include #include "gen_qwebengineview.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebEngineView_LoadStarted(intptr_t); +void miqt_exec_callback_QWebEngineView_LoadProgress(intptr_t, int); +void miqt_exec_callback_QWebEngineView_LoadFinished(intptr_t, bool); +void miqt_exec_callback_QWebEngineView_TitleChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QWebEngineView_SelectionChanged(intptr_t); +void miqt_exec_callback_QWebEngineView_UrlChanged(intptr_t, QUrl*); +void miqt_exec_callback_QWebEngineView_IconUrlChanged(intptr_t, QUrl*); +void miqt_exec_callback_QWebEngineView_IconChanged(intptr_t, QIcon*); +void miqt_exec_callback_QWebEngineView_RenderProcessTerminated(intptr_t, int, int); +QSize* miqt_exec_callback_QWebEngineView_SizeHint(void*, intptr_t); +QWebEngineView* miqt_exec_callback_QWebEngineView_CreateWindow(void*, intptr_t, int); +void miqt_exec_callback_QWebEngineView_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QWebEngineView_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebEngineView_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QWebEngineView_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QWebEngineView_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QWebEngineView_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QWebEngineView_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QWebEngineView_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QWebEngineView_DropEvent(void*, intptr_t, QDropEvent*); +int miqt_exec_callback_QWebEngineView_DevType(void*, intptr_t); +void miqt_exec_callback_QWebEngineView_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QWebEngineView_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QWebEngineView_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QWebEngineView_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QWebEngineView_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QWebEngineView_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWebEngineView_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWebEngineView_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWebEngineView_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWebEngineView_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QWebEngineView_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QWebEngineView_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QWebEngineView_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QWebEngineView_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QWebEngineView_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebEngineView_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebEngineView_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QWebEngineView_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QWebEngineView_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QWebEngineView_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QWebEngineView_ActionEvent(void*, intptr_t, QActionEvent*); +bool miqt_exec_callback_QWebEngineView_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +void miqt_exec_callback_QWebEngineView_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QWebEngineView_Metric(void*, intptr_t, int); +void miqt_exec_callback_QWebEngineView_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QWebEngineView_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QWebEngineView_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QWebEngineView_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QWebEngineView_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QWebEngineView_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWebEngineView : public virtual QWebEngineView { public: diff --git a/qt/webkit/gen_qgraphicswebview.cpp b/qt/webkit/gen_qgraphicswebview.cpp index 6513be70..227f0566 100644 --- a/qt/webkit/gen_qgraphicswebview.cpp +++ b/qt/webkit/gen_qgraphicswebview.cpp @@ -42,10 +42,67 @@ #include #include "gen_qgraphicswebview.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsWebView_LoadStarted(intptr_t); +void miqt_exec_callback_QGraphicsWebView_LoadFinished(intptr_t, bool); +void miqt_exec_callback_QGraphicsWebView_LoadProgress(intptr_t, int); +void miqt_exec_callback_QGraphicsWebView_UrlChanged(intptr_t, QUrl*); +void miqt_exec_callback_QGraphicsWebView_TitleChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QGraphicsWebView_IconChanged(intptr_t); +void miqt_exec_callback_QGraphicsWebView_StatusBarMessage(intptr_t, struct miqt_string); +void miqt_exec_callback_QGraphicsWebView_LinkClicked(intptr_t, QUrl*); +void miqt_exec_callback_QGraphicsWebView_SetGeometry(void*, intptr_t, QRectF*); +void miqt_exec_callback_QGraphicsWebView_UpdateGeometry(void*, intptr_t); +void miqt_exec_callback_QGraphicsWebView_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +QVariant* miqt_exec_callback_QGraphicsWebView_ItemChange(void*, intptr_t, int, QVariant*); +bool miqt_exec_callback_QGraphicsWebView_Event(void*, intptr_t, QEvent*); +QSizeF* miqt_exec_callback_QGraphicsWebView_SizeHint(void*, intptr_t, int, QSizeF*); +QVariant* miqt_exec_callback_QGraphicsWebView_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsWebView_MousePressEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsWebView_MouseDoubleClickEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsWebView_MouseReleaseEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsWebView_MouseMoveEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsWebView_HoverMoveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsWebView_HoverLeaveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsWebView_WheelEvent(void*, intptr_t, QGraphicsSceneWheelEvent*); +void miqt_exec_callback_QGraphicsWebView_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsWebView_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsWebView_ContextMenuEvent(void*, intptr_t, QGraphicsSceneContextMenuEvent*); +void miqt_exec_callback_QGraphicsWebView_DragEnterEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsWebView_DragLeaveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsWebView_DragMoveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsWebView_DropEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsWebView_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsWebView_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsWebView_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +bool miqt_exec_callback_QGraphicsWebView_FocusNextPrevChild(void*, intptr_t, bool); +bool miqt_exec_callback_QGraphicsWebView_SceneEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsWebView_GetContentsMargins(void*, intptr_t, double*, double*, double*, double*); +int miqt_exec_callback_QGraphicsWebView_Type(void*, intptr_t); +void miqt_exec_callback_QGraphicsWebView_PaintWindowFrame(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +QRectF* miqt_exec_callback_QGraphicsWebView_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsWebView_Shape(void*, intptr_t); +void miqt_exec_callback_QGraphicsWebView_InitStyleOption(void*, intptr_t, QStyleOption*); +QVariant* miqt_exec_callback_QGraphicsWebView_PropertyChange(void*, intptr_t, struct miqt_string, QVariant*); +bool miqt_exec_callback_QGraphicsWebView_WindowFrameEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QGraphicsWebView_WindowFrameSectionAt(void*, intptr_t, QPointF*); +void miqt_exec_callback_QGraphicsWebView_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsWebView_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QGraphicsWebView_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QGraphicsWebView_MoveEvent(void*, intptr_t, QGraphicsSceneMoveEvent*); +void miqt_exec_callback_QGraphicsWebView_PolishEvent(void*, intptr_t); +void miqt_exec_callback_QGraphicsWebView_ResizeEvent(void*, intptr_t, QGraphicsSceneResizeEvent*); +void miqt_exec_callback_QGraphicsWebView_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QGraphicsWebView_GrabMouseEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsWebView_UngrabMouseEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsWebView_GrabKeyboardEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsWebView_UngrabKeyboardEvent(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsWebView : public virtual QGraphicsWebView { public: diff --git a/qt/webkit/gen_qwebdatabase.cpp b/qt/webkit/gen_qwebdatabase.cpp index 82e9269d..6031f454 100644 --- a/qt/webkit/gen_qwebdatabase.cpp +++ b/qt/webkit/gen_qwebdatabase.cpp @@ -6,10 +6,13 @@ #include #include "gen_qwebdatabase.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebDatabase* QWebDatabase_new(QWebDatabase* other) { return new QWebDatabase(*other); diff --git a/qt/webkit/gen_qwebelement.cpp b/qt/webkit/gen_qwebelement.cpp index 14c1631a..757d4c3d 100644 --- a/qt/webkit/gen_qwebelement.cpp +++ b/qt/webkit/gen_qwebelement.cpp @@ -13,10 +13,13 @@ #include #include "gen_qwebelement.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebElement* QWebElement_new() { return new QWebElement(); diff --git a/qt/webkit/gen_qwebframe.cpp b/qt/webkit/gen_qwebframe.cpp index fc6f4d19..a484935e 100644 --- a/qt/webkit/gen_qwebframe.cpp +++ b/qt/webkit/gen_qwebframe.cpp @@ -26,10 +26,23 @@ #include #include "gen_qwebframe.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebFrame_JavaScriptWindowObjectCleared(intptr_t); +void miqt_exec_callback_QWebFrame_ProvisionalLoad(intptr_t); +void miqt_exec_callback_QWebFrame_TitleChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QWebFrame_UrlChanged(intptr_t, QUrl*); +void miqt_exec_callback_QWebFrame_InitialLayoutCompleted(intptr_t); +void miqt_exec_callback_QWebFrame_IconChanged(intptr_t); +void miqt_exec_callback_QWebFrame_ContentsSizeChanged(intptr_t, QSize*); +void miqt_exec_callback_QWebFrame_LoadStarted(intptr_t); +void miqt_exec_callback_QWebFrame_LoadFinished(intptr_t, bool); +void miqt_exec_callback_QWebFrame_PageChanged(intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebHitTestResult* QWebHitTestResult_new() { return new QWebHitTestResult(); diff --git a/qt/webkit/gen_qwebfullscreenrequest.cpp b/qt/webkit/gen_qwebfullscreenrequest.cpp index 871e7175..34239cf7 100644 --- a/qt/webkit/gen_qwebfullscreenrequest.cpp +++ b/qt/webkit/gen_qwebfullscreenrequest.cpp @@ -4,10 +4,13 @@ #include #include "gen_qwebfullscreenrequest.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebFullScreenRequest* QWebFullScreenRequest_new() { return new QWebFullScreenRequest(); diff --git a/qt/webkit/gen_qwebhistory.cpp b/qt/webkit/gen_qwebhistory.cpp index 4129ac0c..17acca81 100644 --- a/qt/webkit/gen_qwebhistory.cpp +++ b/qt/webkit/gen_qwebhistory.cpp @@ -12,10 +12,13 @@ #include #include "gen_qwebhistory.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebHistoryItem* QWebHistoryItem_new(QWebHistoryItem* other) { return new QWebHistoryItem(*other); diff --git a/qt/webkit/gen_qwebhistoryinterface.cpp b/qt/webkit/gen_qwebhistoryinterface.cpp index ed7e6aeb..7826e337 100644 --- a/qt/webkit/gen_qwebhistoryinterface.cpp +++ b/qt/webkit/gen_qwebhistoryinterface.cpp @@ -11,10 +11,22 @@ #include #include "gen_qwebhistoryinterface.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QWebHistoryInterface_HistoryContains(void*, intptr_t, struct miqt_string); +void miqt_exec_callback_QWebHistoryInterface_AddHistoryEntry(void*, intptr_t, struct miqt_string); +bool miqt_exec_callback_QWebHistoryInterface_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QWebHistoryInterface_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QWebHistoryInterface_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QWebHistoryInterface_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QWebHistoryInterface_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebHistoryInterface_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QWebHistoryInterface_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWebHistoryInterface : public virtual QWebHistoryInterface { public: diff --git a/qt/webkit/gen_qwebinspector.cpp b/qt/webkit/gen_qwebinspector.cpp index abf42a89..ac52a9f6 100644 --- a/qt/webkit/gen_qwebinspector.cpp +++ b/qt/webkit/gen_qwebinspector.cpp @@ -35,10 +35,54 @@ #include #include "gen_qwebinspector.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QWebInspector_SizeHint(void*, intptr_t); +bool miqt_exec_callback_QWebInspector_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebInspector_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QWebInspector_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QWebInspector_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QWebInspector_CloseEvent(void*, intptr_t, QCloseEvent*); +int miqt_exec_callback_QWebInspector_DevType(void*, intptr_t); +void miqt_exec_callback_QWebInspector_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QWebInspector_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QWebInspector_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QWebInspector_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QWebInspector_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QWebInspector_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWebInspector_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWebInspector_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWebInspector_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWebInspector_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QWebInspector_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QWebInspector_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QWebInspector_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QWebInspector_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QWebInspector_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebInspector_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebInspector_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QWebInspector_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QWebInspector_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QWebInspector_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QWebInspector_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QWebInspector_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QWebInspector_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QWebInspector_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QWebInspector_DropEvent(void*, intptr_t, QDropEvent*); +bool miqt_exec_callback_QWebInspector_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +void miqt_exec_callback_QWebInspector_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QWebInspector_Metric(void*, intptr_t, int); +void miqt_exec_callback_QWebInspector_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QWebInspector_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QWebInspector_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QWebInspector_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QWebInspector_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QWebInspector_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWebInspector : public virtual QWebInspector { public: diff --git a/qt/webkit/gen_qwebkitplatformplugin.cpp b/qt/webkit/gen_qwebkitplatformplugin.cpp index b2b63032..3179782e 100644 --- a/qt/webkit/gen_qwebkitplatformplugin.cpp +++ b/qt/webkit/gen_qwebkitplatformplugin.cpp @@ -20,10 +20,17 @@ #include #include "gen_qwebkitplatformplugin.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebSelectMethod_SelectItem(intptr_t, int, bool, bool); +void miqt_exec_callback_QWebSelectMethod_DidHide(intptr_t); +void miqt_exec_callback_QWebNotificationPresenter_NotificationClosed(intptr_t); +void miqt_exec_callback_QWebNotificationPresenter_NotificationClicked(intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" int QWebSelectData_ItemType(const QWebSelectData* self, int param1) { QWebSelectData::ItemType _ret = self->itemType(static_cast(param1)); diff --git a/qt/webkit/gen_qwebpage.cpp b/qt/webkit/gen_qwebpage.cpp index f3e80d09..d947ae5b 100644 --- a/qt/webkit/gen_qwebpage.cpp +++ b/qt/webkit/gen_qwebpage.cpp @@ -42,10 +42,63 @@ #include #include "gen_qwebpage.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebPage_LoadStarted(intptr_t); +void miqt_exec_callback_QWebPage_LoadProgress(intptr_t, int); +void miqt_exec_callback_QWebPage_LoadFinished(intptr_t, bool); +void miqt_exec_callback_QWebPage_LinkHovered(intptr_t, struct miqt_string, struct miqt_string, struct miqt_string); +void miqt_exec_callback_QWebPage_StatusBarMessage(intptr_t, struct miqt_string); +void miqt_exec_callback_QWebPage_SelectionChanged(intptr_t); +void miqt_exec_callback_QWebPage_FrameCreated(intptr_t, QWebFrame*); +void miqt_exec_callback_QWebPage_GeometryChangeRequested(intptr_t, QRect*); +void miqt_exec_callback_QWebPage_RepaintRequested(intptr_t, QRect*); +void miqt_exec_callback_QWebPage_ScrollRequested(intptr_t, int, int, QRect*); +void miqt_exec_callback_QWebPage_WindowCloseRequested(intptr_t); +void miqt_exec_callback_QWebPage_PrintRequested(intptr_t, QWebFrame*); +void miqt_exec_callback_QWebPage_LinkClicked(intptr_t, QUrl*); +void miqt_exec_callback_QWebPage_ToolBarVisibilityChangeRequested(intptr_t, bool); +void miqt_exec_callback_QWebPage_StatusBarVisibilityChangeRequested(intptr_t, bool); +void miqt_exec_callback_QWebPage_MenuBarVisibilityChangeRequested(intptr_t, bool); +void miqt_exec_callback_QWebPage_UnsupportedContent(intptr_t, QNetworkReply*); +void miqt_exec_callback_QWebPage_DownloadRequested(intptr_t, QNetworkRequest*); +void miqt_exec_callback_QWebPage_FocusedElementChanged(intptr_t, QWebElement*); +void miqt_exec_callback_QWebPage_MicroFocusChanged(intptr_t); +void miqt_exec_callback_QWebPage_ContentsChanged(intptr_t); +void miqt_exec_callback_QWebPage_DatabaseQuotaExceeded(intptr_t, QWebFrame*, struct miqt_string); +void miqt_exec_callback_QWebPage_ApplicationCacheQuotaExceeded(intptr_t, QWebSecurityOrigin*, unsigned long long, unsigned long long); +void miqt_exec_callback_QWebPage_SaveFrameStateRequested(intptr_t, QWebFrame*, QWebHistoryItem*); +void miqt_exec_callback_QWebPage_RestoreFrameStateRequested(intptr_t, QWebFrame*); +void miqt_exec_callback_QWebPage_ViewportChangeRequested(intptr_t); +void miqt_exec_callback_QWebPage_FeaturePermissionRequested(intptr_t, QWebFrame*, int); +void miqt_exec_callback_QWebPage_FeaturePermissionRequestCanceled(intptr_t, QWebFrame*, int); +void miqt_exec_callback_QWebPage_FullScreenRequested(intptr_t, QWebFullScreenRequest*); +void miqt_exec_callback_QWebPage_ConsoleMessageReceived(intptr_t, int, int, struct miqt_string, int, struct miqt_string); +void miqt_exec_callback_QWebPage_RecentlyAudibleChanged(intptr_t, bool); +void miqt_exec_callback_QWebPage_TriggerAction(void*, intptr_t, int, bool); +bool miqt_exec_callback_QWebPage_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QWebPage_Extension(void*, intptr_t, int, QWebPage__ExtensionOption*, QWebPage__ExtensionReturn*); +bool miqt_exec_callback_QWebPage_SupportsExtension(void*, intptr_t, int); +bool miqt_exec_callback_QWebPage_ShouldInterruptJavaScript(void*, intptr_t); +QWebPage* miqt_exec_callback_QWebPage_CreateWindow(void*, intptr_t, int); +QObject* miqt_exec_callback_QWebPage_CreatePlugin(void*, intptr_t, struct miqt_string, QUrl*, struct miqt_array /* of struct miqt_string */ , struct miqt_array /* of struct miqt_string */ ); +bool miqt_exec_callback_QWebPage_AcceptNavigationRequest(void*, intptr_t, QWebFrame*, QNetworkRequest*, int); +struct miqt_string miqt_exec_callback_QWebPage_ChooseFile(void*, intptr_t, QWebFrame*, struct miqt_string); +void miqt_exec_callback_QWebPage_JavaScriptAlert(void*, intptr_t, QWebFrame*, struct miqt_string); +bool miqt_exec_callback_QWebPage_JavaScriptConfirm(void*, intptr_t, QWebFrame*, struct miqt_string); +void miqt_exec_callback_QWebPage_JavaScriptConsoleMessage(void*, intptr_t, struct miqt_string, int, struct miqt_string); +struct miqt_string miqt_exec_callback_QWebPage_UserAgentForUrl(void*, intptr_t, QUrl*); +bool miqt_exec_callback_QWebPage_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QWebPage_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QWebPage_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QWebPage_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebPage_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QWebPage_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWebPage : public virtual QWebPage { public: diff --git a/qt/webkit/gen_qwebpluginfactory.cpp b/qt/webkit/gen_qwebpluginfactory.cpp index 0d4f82a5..c3d20816 100644 --- a/qt/webkit/gen_qwebpluginfactory.cpp +++ b/qt/webkit/gen_qwebpluginfactory.cpp @@ -17,10 +17,25 @@ #include #include "gen_qwebpluginfactory.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +struct miqt_array /* of QWebPluginFactory__Plugin* */ miqt_exec_callback_QWebPluginFactory_Plugins(void*, intptr_t); +void miqt_exec_callback_QWebPluginFactory_RefreshPlugins(void*, intptr_t); +QObject* miqt_exec_callback_QWebPluginFactory_Create(void*, intptr_t, struct miqt_string, QUrl*, struct miqt_array /* of struct miqt_string */ , struct miqt_array /* of struct miqt_string */ ); +bool miqt_exec_callback_QWebPluginFactory_Extension(void*, intptr_t, int, QWebPluginFactory__ExtensionOption*, QWebPluginFactory__ExtensionReturn*); +bool miqt_exec_callback_QWebPluginFactory_SupportsExtension(void*, intptr_t, int); +bool miqt_exec_callback_QWebPluginFactory_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QWebPluginFactory_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QWebPluginFactory_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QWebPluginFactory_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QWebPluginFactory_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebPluginFactory_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QWebPluginFactory_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWebPluginFactory : public virtual QWebPluginFactory { public: diff --git a/qt/webkit/gen_qwebsecurityorigin.cpp b/qt/webkit/gen_qwebsecurityorigin.cpp index 7e81cf89..8d4e8246 100644 --- a/qt/webkit/gen_qwebsecurityorigin.cpp +++ b/qt/webkit/gen_qwebsecurityorigin.cpp @@ -8,10 +8,13 @@ #include #include "gen_qwebsecurityorigin.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebSecurityOrigin* QWebSecurityOrigin_new(QUrl* url) { return new QWebSecurityOrigin(*url); diff --git a/qt/webkit/gen_qwebsettings.cpp b/qt/webkit/gen_qwebsettings.cpp index 39a9efa0..e1c9131f 100644 --- a/qt/webkit/gen_qwebsettings.cpp +++ b/qt/webkit/gen_qwebsettings.cpp @@ -9,10 +9,13 @@ #include #include "gen_qwebsettings.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebSettings* QWebSettings_GlobalSettings() { return QWebSettings::globalSettings(); diff --git a/qt/webkit/gen_qwebview.cpp b/qt/webkit/gen_qwebview.cpp index 37e00720..43c02c79 100644 --- a/qt/webkit/gen_qwebview.cpp +++ b/qt/webkit/gen_qwebview.cpp @@ -42,10 +42,64 @@ #include #include "gen_qwebview.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebView_LoadStarted(intptr_t); +void miqt_exec_callback_QWebView_LoadProgress(intptr_t, int); +void miqt_exec_callback_QWebView_LoadFinished(intptr_t, bool); +void miqt_exec_callback_QWebView_TitleChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QWebView_StatusBarMessage(intptr_t, struct miqt_string); +void miqt_exec_callback_QWebView_LinkClicked(intptr_t, QUrl*); +void miqt_exec_callback_QWebView_SelectionChanged(intptr_t); +void miqt_exec_callback_QWebView_IconChanged(intptr_t); +void miqt_exec_callback_QWebView_UrlChanged(intptr_t, QUrl*); +QVariant* miqt_exec_callback_QWebView_InputMethodQuery(void*, intptr_t, int); +QSize* miqt_exec_callback_QWebView_SizeHint(void*, intptr_t); +bool miqt_exec_callback_QWebView_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebView_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QWebView_PaintEvent(void*, intptr_t, QPaintEvent*); +QWebView* miqt_exec_callback_QWebView_CreateWindow(void*, intptr_t, int); +void miqt_exec_callback_QWebView_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebView_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWebView_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWebView_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWebView_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWebView_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QWebView_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QWebView_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QWebView_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QWebView_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QWebView_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QWebView_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QWebView_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QWebView_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QWebView_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QWebView_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +bool miqt_exec_callback_QWebView_FocusNextPrevChild(void*, intptr_t, bool); +int miqt_exec_callback_QWebView_DevType(void*, intptr_t); +void miqt_exec_callback_QWebView_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QWebView_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QWebView_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QWebView_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QWebView_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QWebView_EnterEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebView_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebView_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QWebView_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QWebView_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QWebView_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QWebView_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QWebView_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QWebView_NativeEvent(void*, intptr_t, struct miqt_string, void*, long*); +int miqt_exec_callback_QWebView_Metric(void*, intptr_t, int); +void miqt_exec_callback_QWebView_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QWebView_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QWebView_SharedPainter(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWebView : public virtual QWebView { public: diff --git a/qt6/cbor/gen_qcborarray.cpp b/qt6/cbor/gen_qcborarray.cpp index cc1acbf1..c5589aa1 100644 --- a/qt6/cbor/gen_qcborarray.cpp +++ b/qt6/cbor/gen_qcborarray.cpp @@ -12,10 +12,13 @@ #include #include "gen_qcborarray.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QCborArray* QCborArray_new() { return new QCborArray(); diff --git a/qt6/cbor/gen_qcborcommon.cpp b/qt6/cbor/gen_qcborcommon.cpp index 43b83da9..ef718233 100644 --- a/qt6/cbor/gen_qcborcommon.cpp +++ b/qt6/cbor/gen_qcborcommon.cpp @@ -5,10 +5,13 @@ #include #include "gen_qcborcommon.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" int QCborError_ToQCborError__Code(const QCborError* self) { QCborError::Code _ret = self->operator QCborError::Code(); diff --git a/qt6/cbor/gen_qcbormap.cpp b/qt6/cbor/gen_qcbormap.cpp index 5f183034..75762adc 100644 --- a/qt6/cbor/gen_qcbormap.cpp +++ b/qt6/cbor/gen_qcbormap.cpp @@ -15,10 +15,13 @@ #include #include "gen_qcbormap.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QCborMap* QCborMap_new() { return new QCborMap(); diff --git a/qt6/cbor/gen_qcborstreamreader.cpp b/qt6/cbor/gen_qcborstreamreader.cpp index 5f6a316e..6d1ce9eb 100644 --- a/qt6/cbor/gen_qcborstreamreader.cpp +++ b/qt6/cbor/gen_qcborstreamreader.cpp @@ -5,10 +5,13 @@ #include #include "gen_qcborstreamreader.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QCborStreamReader* QCborStreamReader_new() { return new QCborStreamReader(); diff --git a/qt6/cbor/gen_qcborstreamwriter.cpp b/qt6/cbor/gen_qcborstreamwriter.cpp index f9889db3..38204425 100644 --- a/qt6/cbor/gen_qcborstreamwriter.cpp +++ b/qt6/cbor/gen_qcborstreamwriter.cpp @@ -4,10 +4,13 @@ #include #include "gen_qcborstreamwriter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QCborStreamWriter* QCborStreamWriter_new(QIODevice* device) { return new QCborStreamWriter(device); diff --git a/qt6/cbor/gen_qcborvalue.cpp b/qt6/cbor/gen_qcborvalue.cpp index e5fbd431..10e03592 100644 --- a/qt6/cbor/gen_qcborvalue.cpp +++ b/qt6/cbor/gen_qcborvalue.cpp @@ -19,10 +19,13 @@ #include #include "gen_qcborvalue.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" struct miqt_string QCborParserError_ErrorString(const QCborParserError* self) { QString _ret = self->errorString(); diff --git a/qt6/gen_qabstractanimation.cpp b/qt6/gen_qabstractanimation.cpp index 5d4ff5d3..f5f4c5fb 100644 --- a/qt6/gen_qabstractanimation.cpp +++ b/qt6/gen_qabstractanimation.cpp @@ -13,10 +13,41 @@ #include #include "gen_qabstractanimation.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractAnimation_Finished(intptr_t); +void miqt_exec_callback_QAbstractAnimation_StateChanged(intptr_t, int, int); +void miqt_exec_callback_QAbstractAnimation_CurrentLoopChanged(intptr_t, int); +void miqt_exec_callback_QAbstractAnimation_DirectionChanged(intptr_t, int); +int miqt_exec_callback_QAbstractAnimation_Duration(void*, intptr_t); +bool miqt_exec_callback_QAbstractAnimation_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractAnimation_UpdateCurrentTime(void*, intptr_t, int); +void miqt_exec_callback_QAbstractAnimation_UpdateState(void*, intptr_t, int, int); +void miqt_exec_callback_QAbstractAnimation_UpdateDirection(void*, intptr_t, int); +bool miqt_exec_callback_QAbstractAnimation_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAbstractAnimation_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAbstractAnimation_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAbstractAnimation_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractAnimation_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAbstractAnimation_DisconnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAnimationDriver_Started(intptr_t); +void miqt_exec_callback_QAnimationDriver_Stopped(intptr_t); +void miqt_exec_callback_QAnimationDriver_Advance(void*, intptr_t); +long long miqt_exec_callback_QAnimationDriver_Elapsed(void*, intptr_t); +void miqt_exec_callback_QAnimationDriver_Start(void*, intptr_t); +void miqt_exec_callback_QAnimationDriver_Stop(void*, intptr_t); +bool miqt_exec_callback_QAnimationDriver_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAnimationDriver_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAnimationDriver_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAnimationDriver_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAnimationDriver_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAnimationDriver_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAnimationDriver_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractAnimation : public virtual QAbstractAnimation { public: diff --git a/qt6/gen_qabstractbutton.cpp b/qt6/gen_qabstractbutton.cpp index 0eb0ca7c..7bcdf1c9 100644 --- a/qt6/gen_qabstractbutton.cpp +++ b/qt6/gen_qabstractbutton.cpp @@ -39,10 +39,63 @@ #include #include "gen_qabstractbutton.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractButton_Pressed(intptr_t); +void miqt_exec_callback_QAbstractButton_Released(intptr_t); +void miqt_exec_callback_QAbstractButton_Clicked(intptr_t); +void miqt_exec_callback_QAbstractButton_Toggled(intptr_t, bool); +void miqt_exec_callback_QAbstractButton_Clicked1(intptr_t, bool); +void miqt_exec_callback_QAbstractButton_PaintEvent(void*, intptr_t, QPaintEvent*); +bool miqt_exec_callback_QAbstractButton_HitButton(void*, intptr_t, QPoint*); +void miqt_exec_callback_QAbstractButton_CheckStateSet(void*, intptr_t); +void miqt_exec_callback_QAbstractButton_NextCheckState(void*, intptr_t); +bool miqt_exec_callback_QAbstractButton_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractButton_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QAbstractButton_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QAbstractButton_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractButton_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractButton_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractButton_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QAbstractButton_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QAbstractButton_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractButton_TimerEvent(void*, intptr_t, QTimerEvent*); +int miqt_exec_callback_QAbstractButton_DevType(void*, intptr_t); +void miqt_exec_callback_QAbstractButton_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QAbstractButton_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QAbstractButton_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QAbstractButton_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QAbstractButton_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QAbstractButton_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QAbstractButton_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractButton_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QAbstractButton_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QAbstractButton_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractButton_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QAbstractButton_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QAbstractButton_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QAbstractButton_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QAbstractButton_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QAbstractButton_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QAbstractButton_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QAbstractButton_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QAbstractButton_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QAbstractButton_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QAbstractButton_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QAbstractButton_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QAbstractButton_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +int miqt_exec_callback_QAbstractButton_Metric(void*, intptr_t, int); +void miqt_exec_callback_QAbstractButton_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QAbstractButton_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QAbstractButton_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QAbstractButton_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QAbstractButton_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QAbstractButton_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractButton : public virtual QAbstractButton { public: diff --git a/qt6/gen_qabstracteventdispatcher.cpp b/qt6/gen_qabstracteventdispatcher.cpp index 7ae9d046..2f01913c 100644 --- a/qt6/gen_qabstracteventdispatcher.cpp +++ b/qt6/gen_qabstracteventdispatcher.cpp @@ -13,10 +13,15 @@ #include #include "gen_qabstracteventdispatcher.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractEventDispatcher_AboutToBlock(intptr_t); +void miqt_exec_callback_QAbstractEventDispatcher_Awake(intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QAbstractEventDispatcher_virtbase(QAbstractEventDispatcher* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt6/gen_qabstractfileiconprovider.cpp b/qt6/gen_qabstractfileiconprovider.cpp index 55e06911..9cdbbd1c 100644 --- a/qt6/gen_qabstractfileiconprovider.cpp +++ b/qt6/gen_qabstractfileiconprovider.cpp @@ -7,10 +7,18 @@ #include #include "gen_qabstractfileiconprovider.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QIcon* miqt_exec_callback_QAbstractFileIconProvider_Icon(void*, intptr_t, int); +QIcon* miqt_exec_callback_QAbstractFileIconProvider_IconWithQFileInfo(void*, intptr_t, QFileInfo*); +struct miqt_string miqt_exec_callback_QAbstractFileIconProvider_Type(void*, intptr_t, QFileInfo*); +void miqt_exec_callback_QAbstractFileIconProvider_SetOptions(void*, intptr_t, int); +int miqt_exec_callback_QAbstractFileIconProvider_Options(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractFileIconProvider : public virtual QAbstractFileIconProvider { public: diff --git a/qt6/gen_qabstractitemdelegate.cpp b/qt6/gen_qabstractitemdelegate.cpp index bed09a82..522921bb 100644 --- a/qt6/gen_qabstractitemdelegate.cpp +++ b/qt6/gen_qabstractitemdelegate.cpp @@ -20,10 +20,34 @@ #include #include "gen_qabstractitemdelegate.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractItemDelegate_CommitData(intptr_t, QWidget*); +void miqt_exec_callback_QAbstractItemDelegate_CloseEditor(intptr_t, QWidget*); +void miqt_exec_callback_QAbstractItemDelegate_SizeHintChanged(intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractItemDelegate_CloseEditor2(intptr_t, QWidget*, int); +void miqt_exec_callback_QAbstractItemDelegate_Paint(void*, intptr_t, QPainter*, QStyleOptionViewItem*, QModelIndex*); +QSize* miqt_exec_callback_QAbstractItemDelegate_SizeHint(void*, intptr_t, QStyleOptionViewItem*, QModelIndex*); +QWidget* miqt_exec_callback_QAbstractItemDelegate_CreateEditor(void*, intptr_t, QWidget*, QStyleOptionViewItem*, QModelIndex*); +void miqt_exec_callback_QAbstractItemDelegate_DestroyEditor(void*, intptr_t, QWidget*, QModelIndex*); +void miqt_exec_callback_QAbstractItemDelegate_SetEditorData(void*, intptr_t, QWidget*, QModelIndex*); +void miqt_exec_callback_QAbstractItemDelegate_SetModelData(void*, intptr_t, QWidget*, QAbstractItemModel*, QModelIndex*); +void miqt_exec_callback_QAbstractItemDelegate_UpdateEditorGeometry(void*, intptr_t, QWidget*, QStyleOptionViewItem*, QModelIndex*); +bool miqt_exec_callback_QAbstractItemDelegate_EditorEvent(void*, intptr_t, QEvent*, QAbstractItemModel*, QStyleOptionViewItem*, QModelIndex*); +bool miqt_exec_callback_QAbstractItemDelegate_HelpEvent(void*, intptr_t, QHelpEvent*, QAbstractItemView*, QStyleOptionViewItem*, QModelIndex*); +struct miqt_array /* of int */ miqt_exec_callback_QAbstractItemDelegate_PaintingRoles(void*, intptr_t); +bool miqt_exec_callback_QAbstractItemDelegate_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAbstractItemDelegate_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAbstractItemDelegate_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAbstractItemDelegate_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAbstractItemDelegate_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractItemDelegate_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAbstractItemDelegate_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractItemDelegate : public virtual QAbstractItemDelegate { public: diff --git a/qt6/gen_qabstractitemmodel.cpp b/qt6/gen_qabstractitemmodel.cpp index 685e3be5..f21c8835 100644 --- a/qt6/gen_qabstractitemmodel.cpp +++ b/qt6/gen_qabstractitemmodel.cpp @@ -23,10 +23,135 @@ #include #include "gen_qabstractitemmodel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractItemModel_DataChanged(intptr_t, QModelIndex*, QModelIndex*); +void miqt_exec_callback_QAbstractItemModel_HeaderDataChanged(intptr_t, int, int, int); +void miqt_exec_callback_QAbstractItemModel_LayoutChanged(intptr_t); +void miqt_exec_callback_QAbstractItemModel_LayoutAboutToBeChanged(intptr_t); +void miqt_exec_callback_QAbstractItemModel_DataChanged3(intptr_t, QModelIndex*, QModelIndex*, struct miqt_array /* of int */ ); +void miqt_exec_callback_QAbstractItemModel_LayoutChanged1(intptr_t, struct miqt_array /* of QPersistentModelIndex* */ ); +void miqt_exec_callback_QAbstractItemModel_LayoutChanged2(intptr_t, struct miqt_array /* of QPersistentModelIndex* */ , int); +void miqt_exec_callback_QAbstractItemModel_LayoutAboutToBeChanged1(intptr_t, struct miqt_array /* of QPersistentModelIndex* */ ); +void miqt_exec_callback_QAbstractItemModel_LayoutAboutToBeChanged2(intptr_t, struct miqt_array /* of QPersistentModelIndex* */ , int); +QModelIndex* miqt_exec_callback_QAbstractItemModel_Index(void*, intptr_t, int, int, QModelIndex*); +QModelIndex* miqt_exec_callback_QAbstractItemModel_Parent(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QAbstractItemModel_Sibling(void*, intptr_t, int, int, QModelIndex*); +int miqt_exec_callback_QAbstractItemModel_RowCount(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QAbstractItemModel_ColumnCount(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QAbstractItemModel_HasChildren(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QAbstractItemModel_Data(void*, intptr_t, QModelIndex*, int); +bool miqt_exec_callback_QAbstractItemModel_SetData(void*, intptr_t, QModelIndex*, QVariant*, int); +QVariant* miqt_exec_callback_QAbstractItemModel_HeaderData(void*, intptr_t, int, int, int); +bool miqt_exec_callback_QAbstractItemModel_SetHeaderData(void*, intptr_t, int, int, QVariant*, int); +struct miqt_map /* of int to QVariant* */ miqt_exec_callback_QAbstractItemModel_ItemData(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QAbstractItemModel_SetItemData(void*, intptr_t, QModelIndex*, struct miqt_map /* of int to QVariant* */ ); +bool miqt_exec_callback_QAbstractItemModel_ClearItemData(void*, intptr_t, QModelIndex*); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QAbstractItemModel_MimeTypes(void*, intptr_t); +QMimeData* miqt_exec_callback_QAbstractItemModel_MimeData(void*, intptr_t, struct miqt_array /* of QModelIndex* */ ); +bool miqt_exec_callback_QAbstractItemModel_CanDropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractItemModel_DropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +int miqt_exec_callback_QAbstractItemModel_SupportedDropActions(void*, intptr_t); +int miqt_exec_callback_QAbstractItemModel_SupportedDragActions(void*, intptr_t); +bool miqt_exec_callback_QAbstractItemModel_InsertRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractItemModel_InsertColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractItemModel_RemoveRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractItemModel_RemoveColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractItemModel_MoveRows(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +bool miqt_exec_callback_QAbstractItemModel_MoveColumns(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +void miqt_exec_callback_QAbstractItemModel_FetchMore(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QAbstractItemModel_CanFetchMore(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QAbstractItemModel_Flags(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractItemModel_Sort(void*, intptr_t, int, int); +QModelIndex* miqt_exec_callback_QAbstractItemModel_Buddy(void*, intptr_t, QModelIndex*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QAbstractItemModel_Match(void*, intptr_t, QModelIndex*, int, QVariant*, int, int); +QSize* miqt_exec_callback_QAbstractItemModel_Span(void*, intptr_t, QModelIndex*); +struct miqt_map /* of int to struct miqt_string */ miqt_exec_callback_QAbstractItemModel_RoleNames(void*, intptr_t); +void miqt_exec_callback_QAbstractItemModel_MultiData(void*, intptr_t, QModelIndex*, QModelRoleDataSpan*); +bool miqt_exec_callback_QAbstractItemModel_Submit(void*, intptr_t); +void miqt_exec_callback_QAbstractItemModel_Revert(void*, intptr_t); +void miqt_exec_callback_QAbstractItemModel_ResetInternalData(void*, intptr_t); +bool miqt_exec_callback_QAbstractItemModel_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAbstractItemModel_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAbstractItemModel_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAbstractItemModel_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAbstractItemModel_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractItemModel_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAbstractItemModel_DisconnectNotify(void*, intptr_t, QMetaMethod*); +QModelIndex* miqt_exec_callback_QAbstractTableModel_Index(void*, intptr_t, int, int, QModelIndex*); +QModelIndex* miqt_exec_callback_QAbstractTableModel_Sibling(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractTableModel_DropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +int miqt_exec_callback_QAbstractTableModel_Flags(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QAbstractTableModel_RowCount(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QAbstractTableModel_ColumnCount(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QAbstractTableModel_Data(void*, intptr_t, QModelIndex*, int); +bool miqt_exec_callback_QAbstractTableModel_SetData(void*, intptr_t, QModelIndex*, QVariant*, int); +QVariant* miqt_exec_callback_QAbstractTableModel_HeaderData(void*, intptr_t, int, int, int); +bool miqt_exec_callback_QAbstractTableModel_SetHeaderData(void*, intptr_t, int, int, QVariant*, int); +struct miqt_map /* of int to QVariant* */ miqt_exec_callback_QAbstractTableModel_ItemData(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QAbstractTableModel_SetItemData(void*, intptr_t, QModelIndex*, struct miqt_map /* of int to QVariant* */ ); +bool miqt_exec_callback_QAbstractTableModel_ClearItemData(void*, intptr_t, QModelIndex*); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QAbstractTableModel_MimeTypes(void*, intptr_t); +QMimeData* miqt_exec_callback_QAbstractTableModel_MimeData(void*, intptr_t, struct miqt_array /* of QModelIndex* */ ); +bool miqt_exec_callback_QAbstractTableModel_CanDropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +int miqt_exec_callback_QAbstractTableModel_SupportedDropActions(void*, intptr_t); +int miqt_exec_callback_QAbstractTableModel_SupportedDragActions(void*, intptr_t); +bool miqt_exec_callback_QAbstractTableModel_InsertRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractTableModel_InsertColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractTableModel_RemoveRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractTableModel_RemoveColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractTableModel_MoveRows(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +bool miqt_exec_callback_QAbstractTableModel_MoveColumns(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +void miqt_exec_callback_QAbstractTableModel_FetchMore(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QAbstractTableModel_CanFetchMore(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractTableModel_Sort(void*, intptr_t, int, int); +QModelIndex* miqt_exec_callback_QAbstractTableModel_Buddy(void*, intptr_t, QModelIndex*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QAbstractTableModel_Match(void*, intptr_t, QModelIndex*, int, QVariant*, int, int); +QSize* miqt_exec_callback_QAbstractTableModel_Span(void*, intptr_t, QModelIndex*); +struct miqt_map /* of int to struct miqt_string */ miqt_exec_callback_QAbstractTableModel_RoleNames(void*, intptr_t); +void miqt_exec_callback_QAbstractTableModel_MultiData(void*, intptr_t, QModelIndex*, QModelRoleDataSpan*); +bool miqt_exec_callback_QAbstractTableModel_Submit(void*, intptr_t); +void miqt_exec_callback_QAbstractTableModel_Revert(void*, intptr_t); +void miqt_exec_callback_QAbstractTableModel_ResetInternalData(void*, intptr_t); +QModelIndex* miqt_exec_callback_QAbstractListModel_Index(void*, intptr_t, int, int, QModelIndex*); +QModelIndex* miqt_exec_callback_QAbstractListModel_Sibling(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractListModel_DropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +int miqt_exec_callback_QAbstractListModel_Flags(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QAbstractListModel_RowCount(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QAbstractListModel_Data(void*, intptr_t, QModelIndex*, int); +bool miqt_exec_callback_QAbstractListModel_SetData(void*, intptr_t, QModelIndex*, QVariant*, int); +QVariant* miqt_exec_callback_QAbstractListModel_HeaderData(void*, intptr_t, int, int, int); +bool miqt_exec_callback_QAbstractListModel_SetHeaderData(void*, intptr_t, int, int, QVariant*, int); +struct miqt_map /* of int to QVariant* */ miqt_exec_callback_QAbstractListModel_ItemData(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QAbstractListModel_SetItemData(void*, intptr_t, QModelIndex*, struct miqt_map /* of int to QVariant* */ ); +bool miqt_exec_callback_QAbstractListModel_ClearItemData(void*, intptr_t, QModelIndex*); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QAbstractListModel_MimeTypes(void*, intptr_t); +QMimeData* miqt_exec_callback_QAbstractListModel_MimeData(void*, intptr_t, struct miqt_array /* of QModelIndex* */ ); +bool miqt_exec_callback_QAbstractListModel_CanDropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +int miqt_exec_callback_QAbstractListModel_SupportedDropActions(void*, intptr_t); +int miqt_exec_callback_QAbstractListModel_SupportedDragActions(void*, intptr_t); +bool miqt_exec_callback_QAbstractListModel_InsertRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractListModel_InsertColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractListModel_RemoveRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractListModel_RemoveColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractListModel_MoveRows(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +bool miqt_exec_callback_QAbstractListModel_MoveColumns(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +void miqt_exec_callback_QAbstractListModel_FetchMore(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QAbstractListModel_CanFetchMore(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractListModel_Sort(void*, intptr_t, int, int); +QModelIndex* miqt_exec_callback_QAbstractListModel_Buddy(void*, intptr_t, QModelIndex*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QAbstractListModel_Match(void*, intptr_t, QModelIndex*, int, QVariant*, int, int); +QSize* miqt_exec_callback_QAbstractListModel_Span(void*, intptr_t, QModelIndex*); +struct miqt_map /* of int to struct miqt_string */ miqt_exec_callback_QAbstractListModel_RoleNames(void*, intptr_t); +void miqt_exec_callback_QAbstractListModel_MultiData(void*, intptr_t, QModelIndex*, QModelRoleDataSpan*); +bool miqt_exec_callback_QAbstractListModel_Submit(void*, intptr_t); +void miqt_exec_callback_QAbstractListModel_Revert(void*, intptr_t); +void miqt_exec_callback_QAbstractListModel_ResetInternalData(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QModelRoleData* QModelRoleData_new(int role) { return new QModelRoleData(static_cast(role)); diff --git a/qt6/gen_qabstractitemview.cpp b/qt6/gen_qabstractitemview.cpp index ce0c27c7..61136bcd 100644 --- a/qt6/gen_qabstractitemview.cpp +++ b/qt6/gen_qabstractitemview.cpp @@ -37,10 +37,86 @@ #include #include "gen_qabstractitemview.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractItemView_Pressed(intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractItemView_Clicked(intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractItemView_DoubleClicked(intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractItemView_Activated(intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractItemView_Entered(intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractItemView_ViewportEntered(intptr_t); +void miqt_exec_callback_QAbstractItemView_IconSizeChanged(intptr_t, QSize*); +void miqt_exec_callback_QAbstractItemView_SetModel(void*, intptr_t, QAbstractItemModel*); +void miqt_exec_callback_QAbstractItemView_SetSelectionModel(void*, intptr_t, QItemSelectionModel*); +void miqt_exec_callback_QAbstractItemView_KeyboardSearch(void*, intptr_t, struct miqt_string); +QRect* miqt_exec_callback_QAbstractItemView_VisualRect(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractItemView_ScrollTo(void*, intptr_t, QModelIndex*, int); +QModelIndex* miqt_exec_callback_QAbstractItemView_IndexAt(void*, intptr_t, QPoint*); +int miqt_exec_callback_QAbstractItemView_SizeHintForRow(void*, intptr_t, int); +int miqt_exec_callback_QAbstractItemView_SizeHintForColumn(void*, intptr_t, int); +QAbstractItemDelegate* miqt_exec_callback_QAbstractItemView_ItemDelegateForIndex(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QAbstractItemView_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QAbstractItemView_Reset(void*, intptr_t); +void miqt_exec_callback_QAbstractItemView_SetRootIndex(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractItemView_DoItemsLayout(void*, intptr_t); +void miqt_exec_callback_QAbstractItemView_SelectAll(void*, intptr_t); +void miqt_exec_callback_QAbstractItemView_DataChanged(void*, intptr_t, QModelIndex*, QModelIndex*, struct miqt_array /* of int */ ); +void miqt_exec_callback_QAbstractItemView_RowsInserted(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QAbstractItemView_RowsAboutToBeRemoved(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QAbstractItemView_SelectionChanged(void*, intptr_t, QItemSelection*, QItemSelection*); +void miqt_exec_callback_QAbstractItemView_CurrentChanged(void*, intptr_t, QModelIndex*, QModelIndex*); +void miqt_exec_callback_QAbstractItemView_UpdateEditorData(void*, intptr_t); +void miqt_exec_callback_QAbstractItemView_UpdateEditorGeometries(void*, intptr_t); +void miqt_exec_callback_QAbstractItemView_UpdateGeometries(void*, intptr_t); +void miqt_exec_callback_QAbstractItemView_VerticalScrollbarAction(void*, intptr_t, int); +void miqt_exec_callback_QAbstractItemView_HorizontalScrollbarAction(void*, intptr_t, int); +void miqt_exec_callback_QAbstractItemView_VerticalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QAbstractItemView_HorizontalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QAbstractItemView_CloseEditor(void*, intptr_t, QWidget*, int); +void miqt_exec_callback_QAbstractItemView_CommitData(void*, intptr_t, QWidget*); +void miqt_exec_callback_QAbstractItemView_EditorDestroyed(void*, intptr_t, QObject*); +QModelIndex* miqt_exec_callback_QAbstractItemView_MoveCursor(void*, intptr_t, int, int); +int miqt_exec_callback_QAbstractItemView_HorizontalOffset(void*, intptr_t); +int miqt_exec_callback_QAbstractItemView_VerticalOffset(void*, intptr_t); +bool miqt_exec_callback_QAbstractItemView_IsIndexHidden(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractItemView_SetSelection(void*, intptr_t, QRect*, int); +QRegion* miqt_exec_callback_QAbstractItemView_VisualRegionForSelection(void*, intptr_t, QItemSelection*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QAbstractItemView_SelectedIndexes(void*, intptr_t); +bool miqt_exec_callback_QAbstractItemView_Edit2(void*, intptr_t, QModelIndex*, int, QEvent*); +int miqt_exec_callback_QAbstractItemView_SelectionCommand(void*, intptr_t, QModelIndex*, QEvent*); +void miqt_exec_callback_QAbstractItemView_StartDrag(void*, intptr_t, int); +void miqt_exec_callback_QAbstractItemView_InitViewItemOption(void*, intptr_t, QStyleOptionViewItem*); +bool miqt_exec_callback_QAbstractItemView_FocusNextPrevChild(void*, intptr_t, bool); +bool miqt_exec_callback_QAbstractItemView_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAbstractItemView_ViewportEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractItemView_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractItemView_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractItemView_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractItemView_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractItemView_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QAbstractItemView_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QAbstractItemView_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QAbstractItemView_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QAbstractItemView_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QAbstractItemView_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QAbstractItemView_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QAbstractItemView_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QAbstractItemView_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAbstractItemView_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +bool miqt_exec_callback_QAbstractItemView_EventFilter(void*, intptr_t, QObject*, QEvent*); +QSize* miqt_exec_callback_QAbstractItemView_ViewportSizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QAbstractItemView_MinimumSizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QAbstractItemView_SizeHint(void*, intptr_t); +void miqt_exec_callback_QAbstractItemView_SetupViewport(void*, intptr_t, QWidget*); +void miqt_exec_callback_QAbstractItemView_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QAbstractItemView_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QAbstractItemView_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QAbstractItemView_ScrollContentsBy(void*, intptr_t, int, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractItemView : public virtual QAbstractItemView { public: diff --git a/qt6/gen_qabstractnativeeventfilter.cpp b/qt6/gen_qabstractnativeeventfilter.cpp index ec96fa85..e8220bf8 100644 --- a/qt6/gen_qabstractnativeeventfilter.cpp +++ b/qt6/gen_qabstractnativeeventfilter.cpp @@ -3,10 +3,14 @@ #include #include "gen_qabstractnativeeventfilter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QAbstractNativeEventFilter_NativeEventFilter(void*, intptr_t, struct miqt_string, void*, intptr_t*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractNativeEventFilter : public virtual QAbstractNativeEventFilter { public: diff --git a/qt6/gen_qabstractproxymodel.cpp b/qt6/gen_qabstractproxymodel.cpp index 7159c475..ebe23d0a 100644 --- a/qt6/gen_qabstractproxymodel.cpp +++ b/qt6/gen_qabstractproxymodel.cpp @@ -17,10 +17,55 @@ #include #include "gen_qabstractproxymodel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractProxyModel_SetSourceModel(void*, intptr_t, QAbstractItemModel*); +QModelIndex* miqt_exec_callback_QAbstractProxyModel_MapToSource(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QAbstractProxyModel_MapFromSource(void*, intptr_t, QModelIndex*); +QItemSelection* miqt_exec_callback_QAbstractProxyModel_MapSelectionToSource(void*, intptr_t, QItemSelection*); +QItemSelection* miqt_exec_callback_QAbstractProxyModel_MapSelectionFromSource(void*, intptr_t, QItemSelection*); +bool miqt_exec_callback_QAbstractProxyModel_Submit(void*, intptr_t); +void miqt_exec_callback_QAbstractProxyModel_Revert(void*, intptr_t); +QVariant* miqt_exec_callback_QAbstractProxyModel_Data(void*, intptr_t, QModelIndex*, int); +QVariant* miqt_exec_callback_QAbstractProxyModel_HeaderData(void*, intptr_t, int, int, int); +struct miqt_map /* of int to QVariant* */ miqt_exec_callback_QAbstractProxyModel_ItemData(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QAbstractProxyModel_Flags(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QAbstractProxyModel_SetData(void*, intptr_t, QModelIndex*, QVariant*, int); +bool miqt_exec_callback_QAbstractProxyModel_SetItemData(void*, intptr_t, QModelIndex*, struct miqt_map /* of int to QVariant* */ ); +bool miqt_exec_callback_QAbstractProxyModel_SetHeaderData(void*, intptr_t, int, int, QVariant*, int); +bool miqt_exec_callback_QAbstractProxyModel_ClearItemData(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QAbstractProxyModel_Buddy(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QAbstractProxyModel_CanFetchMore(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractProxyModel_FetchMore(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QAbstractProxyModel_Sort(void*, intptr_t, int, int); +QSize* miqt_exec_callback_QAbstractProxyModel_Span(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QAbstractProxyModel_HasChildren(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QAbstractProxyModel_Sibling(void*, intptr_t, int, int, QModelIndex*); +QMimeData* miqt_exec_callback_QAbstractProxyModel_MimeData(void*, intptr_t, struct miqt_array /* of QModelIndex* */ ); +bool miqt_exec_callback_QAbstractProxyModel_CanDropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractProxyModel_DropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QAbstractProxyModel_MimeTypes(void*, intptr_t); +int miqt_exec_callback_QAbstractProxyModel_SupportedDragActions(void*, intptr_t); +int miqt_exec_callback_QAbstractProxyModel_SupportedDropActions(void*, intptr_t); +struct miqt_map /* of int to struct miqt_string */ miqt_exec_callback_QAbstractProxyModel_RoleNames(void*, intptr_t); +QModelIndex* miqt_exec_callback_QAbstractProxyModel_Index(void*, intptr_t, int, int, QModelIndex*); +QModelIndex* miqt_exec_callback_QAbstractProxyModel_Parent(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QAbstractProxyModel_RowCount(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QAbstractProxyModel_ColumnCount(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QAbstractProxyModel_InsertRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractProxyModel_InsertColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractProxyModel_RemoveRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractProxyModel_RemoveColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QAbstractProxyModel_MoveRows(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +bool miqt_exec_callback_QAbstractProxyModel_MoveColumns(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QAbstractProxyModel_Match(void*, intptr_t, QModelIndex*, int, QVariant*, int, int); +void miqt_exec_callback_QAbstractProxyModel_MultiData(void*, intptr_t, QModelIndex*, QModelRoleDataSpan*); +void miqt_exec_callback_QAbstractProxyModel_ResetInternalData(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractProxyModel : public virtual QAbstractProxyModel { public: diff --git a/qt6/gen_qabstractscrollarea.cpp b/qt6/gen_qabstractscrollarea.cpp index d3c76462..c133fe93 100644 --- a/qt6/gen_qabstractscrollarea.cpp +++ b/qt6/gen_qabstractscrollarea.cpp @@ -25,10 +25,36 @@ #include #include "gen_qabstractscrollarea.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QAbstractScrollArea_MinimumSizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QAbstractScrollArea_SizeHint(void*, intptr_t); +void miqt_exec_callback_QAbstractScrollArea_SetupViewport(void*, intptr_t, QWidget*); +bool miqt_exec_callback_QAbstractScrollArea_EventFilter(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QAbstractScrollArea_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAbstractScrollArea_ViewportEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractScrollArea_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QAbstractScrollArea_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QAbstractScrollArea_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractScrollArea_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractScrollArea_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractScrollArea_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractScrollArea_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QAbstractScrollArea_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QAbstractScrollArea_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QAbstractScrollArea_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QAbstractScrollArea_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QAbstractScrollArea_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QAbstractScrollArea_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QAbstractScrollArea_ScrollContentsBy(void*, intptr_t, int, int); +QSize* miqt_exec_callback_QAbstractScrollArea_ViewportSizeHint(void*, intptr_t); +void miqt_exec_callback_QAbstractScrollArea_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractScrollArea_InitStyleOption(void*, intptr_t, QStyleOptionFrame*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractScrollArea : public virtual QAbstractScrollArea { public: diff --git a/qt6/gen_qabstractslider.cpp b/qt6/gen_qabstractslider.cpp index 0e03e595..11f7223f 100644 --- a/qt6/gen_qabstractslider.cpp +++ b/qt6/gen_qabstractslider.cpp @@ -36,10 +36,62 @@ #include #include "gen_qabstractslider.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractSlider_ValueChanged(intptr_t, int); +void miqt_exec_callback_QAbstractSlider_SliderPressed(intptr_t); +void miqt_exec_callback_QAbstractSlider_SliderMoved(intptr_t, int); +void miqt_exec_callback_QAbstractSlider_SliderReleased(intptr_t); +void miqt_exec_callback_QAbstractSlider_RangeChanged(intptr_t, int, int); +void miqt_exec_callback_QAbstractSlider_ActionTriggered(intptr_t, int); +bool miqt_exec_callback_QAbstractSlider_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractSlider_SliderChange(void*, intptr_t, int); +void miqt_exec_callback_QAbstractSlider_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QAbstractSlider_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAbstractSlider_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QAbstractSlider_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QAbstractSlider_DevType(void*, intptr_t); +void miqt_exec_callback_QAbstractSlider_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QAbstractSlider_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QAbstractSlider_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QAbstractSlider_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QAbstractSlider_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QAbstractSlider_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QAbstractSlider_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractSlider_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractSlider_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractSlider_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractSlider_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QAbstractSlider_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QAbstractSlider_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QAbstractSlider_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QAbstractSlider_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractSlider_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QAbstractSlider_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QAbstractSlider_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QAbstractSlider_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QAbstractSlider_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QAbstractSlider_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QAbstractSlider_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QAbstractSlider_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QAbstractSlider_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QAbstractSlider_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QAbstractSlider_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QAbstractSlider_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QAbstractSlider_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QAbstractSlider_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +int miqt_exec_callback_QAbstractSlider_Metric(void*, intptr_t, int); +void miqt_exec_callback_QAbstractSlider_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QAbstractSlider_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QAbstractSlider_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QAbstractSlider_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QAbstractSlider_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QAbstractSlider_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractSlider : public virtual QAbstractSlider { public: diff --git a/qt6/gen_qabstractspinbox.cpp b/qt6/gen_qabstractspinbox.cpp index 2f9cf8bc..db0182d2 100644 --- a/qt6/gen_qabstractspinbox.cpp +++ b/qt6/gen_qabstractspinbox.cpp @@ -37,10 +37,62 @@ #include #include "gen_qabstractspinbox.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractSpinBox_EditingFinished(intptr_t); +QSize* miqt_exec_callback_QAbstractSpinBox_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QAbstractSpinBox_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QAbstractSpinBox_Event(void*, intptr_t, QEvent*); +QVariant* miqt_exec_callback_QAbstractSpinBox_InputMethodQuery(void*, intptr_t, int); +int miqt_exec_callback_QAbstractSpinBox_Validate(void*, intptr_t, struct miqt_string, int*); +void miqt_exec_callback_QAbstractSpinBox_Fixup(void*, intptr_t, struct miqt_string); +void miqt_exec_callback_QAbstractSpinBox_StepBy(void*, intptr_t, int); +void miqt_exec_callback_QAbstractSpinBox_Clear(void*, intptr_t); +void miqt_exec_callback_QAbstractSpinBox_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QAbstractSpinBox_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QAbstractSpinBox_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QAbstractSpinBox_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QAbstractSpinBox_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QAbstractSpinBox_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QAbstractSpinBox_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QAbstractSpinBox_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractSpinBox_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QAbstractSpinBox_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QAbstractSpinBox_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractSpinBox_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractSpinBox_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractSpinBox_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAbstractSpinBox_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QAbstractSpinBox_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QAbstractSpinBox_InitStyleOption(void*, intptr_t, QStyleOptionSpinBox*); +int miqt_exec_callback_QAbstractSpinBox_StepEnabled(void*, intptr_t); +int miqt_exec_callback_QAbstractSpinBox_DevType(void*, intptr_t); +void miqt_exec_callback_QAbstractSpinBox_SetVisible(void*, intptr_t, bool); +int miqt_exec_callback_QAbstractSpinBox_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QAbstractSpinBox_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QAbstractSpinBox_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QAbstractSpinBox_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QAbstractSpinBox_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QAbstractSpinBox_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractSpinBox_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QAbstractSpinBox_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QAbstractSpinBox_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QAbstractSpinBox_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QAbstractSpinBox_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QAbstractSpinBox_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QAbstractSpinBox_DropEvent(void*, intptr_t, QDropEvent*); +bool miqt_exec_callback_QAbstractSpinBox_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +int miqt_exec_callback_QAbstractSpinBox_Metric(void*, intptr_t, int); +void miqt_exec_callback_QAbstractSpinBox_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QAbstractSpinBox_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QAbstractSpinBox_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QAbstractSpinBox_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +bool miqt_exec_callback_QAbstractSpinBox_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractSpinBox : public virtual QAbstractSpinBox { public: diff --git a/qt6/gen_qabstracttextdocumentlayout.cpp b/qt6/gen_qabstracttextdocumentlayout.cpp index 0544930d..64e11d68 100644 --- a/qt6/gen_qabstracttextdocumentlayout.cpp +++ b/qt6/gen_qabstracttextdocumentlayout.cpp @@ -24,10 +24,35 @@ #include #include "gen_qabstracttextdocumentlayout.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractTextDocumentLayout_Update(intptr_t); +void miqt_exec_callback_QAbstractTextDocumentLayout_UpdateBlock(intptr_t, QTextBlock*); +void miqt_exec_callback_QAbstractTextDocumentLayout_DocumentSizeChanged(intptr_t, QSizeF*); +void miqt_exec_callback_QAbstractTextDocumentLayout_PageCountChanged(intptr_t, int); +void miqt_exec_callback_QAbstractTextDocumentLayout_Update1(intptr_t, QRectF*); +void miqt_exec_callback_QAbstractTextDocumentLayout_Draw(void*, intptr_t, QPainter*, QAbstractTextDocumentLayout__PaintContext*); +int miqt_exec_callback_QAbstractTextDocumentLayout_HitTest(void*, intptr_t, QPointF*, int); +int miqt_exec_callback_QAbstractTextDocumentLayout_PageCount(void*, intptr_t); +QSizeF* miqt_exec_callback_QAbstractTextDocumentLayout_DocumentSize(void*, intptr_t); +QRectF* miqt_exec_callback_QAbstractTextDocumentLayout_FrameBoundingRect(void*, intptr_t, QTextFrame*); +QRectF* miqt_exec_callback_QAbstractTextDocumentLayout_BlockBoundingRect(void*, intptr_t, QTextBlock*); +void miqt_exec_callback_QAbstractTextDocumentLayout_DocumentChanged(void*, intptr_t, int, int, int); +void miqt_exec_callback_QAbstractTextDocumentLayout_ResizeInlineObject(void*, intptr_t, QTextInlineObject*, int, QTextFormat*); +void miqt_exec_callback_QAbstractTextDocumentLayout_PositionInlineObject(void*, intptr_t, QTextInlineObject*, int, QTextFormat*); +void miqt_exec_callback_QAbstractTextDocumentLayout_DrawInlineObject(void*, intptr_t, QPainter*, QRectF*, QTextInlineObject*, int, QTextFormat*); +bool miqt_exec_callback_QAbstractTextDocumentLayout_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAbstractTextDocumentLayout_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAbstractTextDocumentLayout_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAbstractTextDocumentLayout_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAbstractTextDocumentLayout_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractTextDocumentLayout_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAbstractTextDocumentLayout_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractTextDocumentLayout : public virtual QAbstractTextDocumentLayout { public: diff --git a/qt6/gen_qaccessible.cpp b/qt6/gen_qaccessible.cpp index 0f4ef8a5..bf96867f 100644 --- a/qt6/gen_qaccessible.cpp +++ b/qt6/gen_qaccessible.cpp @@ -32,10 +32,18 @@ #include #include "gen_qaccessible.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QAccessibleInterface* miqt_exec_callback_QAccessibleEvent_AccessibleInterface(void*, intptr_t); +QAccessibleInterface* miqt_exec_callback_QAccessibleStateChangeEvent_AccessibleInterface(void*, intptr_t); +QAccessibleInterface* miqt_exec_callback_QAccessibleTextCursorEvent_AccessibleInterface(void*, intptr_t); +QAccessibleInterface* miqt_exec_callback_QAccessibleValueChangeEvent_AccessibleInterface(void*, intptr_t); +QAccessibleInterface* miqt_exec_callback_QAccessibleTableModelChangeEvent_AccessibleInterface(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" bool QAccessibleInterface_IsValid(const QAccessibleInterface* self) { return self->isValid(); diff --git a/qt6/gen_qaccessible_base.cpp b/qt6/gen_qaccessible_base.cpp index dcf0cdc1..53a508f4 100644 --- a/qt6/gen_qaccessible_base.cpp +++ b/qt6/gen_qaccessible_base.cpp @@ -9,10 +9,13 @@ #include #include "gen_qaccessible_base.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QAccessible_InstallActivationObserver(QAccessible__ActivationObserver* param1) { QAccessible::installActivationObserver(param1); diff --git a/qt6/gen_qaccessiblebridge.cpp b/qt6/gen_qaccessiblebridge.cpp index aa185d25..c6c297a2 100644 --- a/qt6/gen_qaccessiblebridge.cpp +++ b/qt6/gen_qaccessiblebridge.cpp @@ -14,10 +14,21 @@ #include #include "gen_qaccessiblebridge.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QAccessibleBridge* miqt_exec_callback_QAccessibleBridgePlugin_Create(void*, intptr_t, struct miqt_string); +bool miqt_exec_callback_QAccessibleBridgePlugin_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAccessibleBridgePlugin_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAccessibleBridgePlugin_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAccessibleBridgePlugin_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAccessibleBridgePlugin_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAccessibleBridgePlugin_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAccessibleBridgePlugin_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QAccessibleBridge_SetRootObject(QAccessibleBridge* self, QAccessibleInterface* rootObject) { self->setRootObject(rootObject); diff --git a/qt6/gen_qaccessibleobject.cpp b/qt6/gen_qaccessibleobject.cpp index b715c670..7161e54a 100644 --- a/qt6/gen_qaccessibleobject.cpp +++ b/qt6/gen_qaccessibleobject.cpp @@ -11,10 +11,13 @@ #include #include "gen_qaccessibleobject.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QAccessibleObject_virtbase(QAccessibleObject* src, QAccessibleInterface** outptr_QAccessibleInterface) { *outptr_QAccessibleInterface = static_cast(src); diff --git a/qt6/gen_qaccessibleplugin.cpp b/qt6/gen_qaccessibleplugin.cpp index 82ba28ad..1414fe61 100644 --- a/qt6/gen_qaccessibleplugin.cpp +++ b/qt6/gen_qaccessibleplugin.cpp @@ -12,10 +12,21 @@ #include #include "gen_qaccessibleplugin.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QAccessibleInterface* miqt_exec_callback_QAccessiblePlugin_Create(void*, intptr_t, struct miqt_string, QObject*); +bool miqt_exec_callback_QAccessiblePlugin_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAccessiblePlugin_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAccessiblePlugin_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAccessiblePlugin_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAccessiblePlugin_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAccessiblePlugin_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAccessiblePlugin_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAccessiblePlugin : public virtual QAccessiblePlugin { public: diff --git a/qt6/gen_qaccessiblewidget.cpp b/qt6/gen_qaccessiblewidget.cpp index 802fbf50..7751eaa5 100644 --- a/qt6/gen_qaccessiblewidget.cpp +++ b/qt6/gen_qaccessiblewidget.cpp @@ -15,10 +15,13 @@ #include #include "gen_qaccessiblewidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QAccessibleWidget* QAccessibleWidget_new(QWidget* o) { return new QAccessibleWidget(o); diff --git a/qt6/gen_qaction.cpp b/qt6/gen_qaction.cpp index c6636b5a..6bd23e46 100644 --- a/qt6/gen_qaction.cpp +++ b/qt6/gen_qaction.cpp @@ -17,10 +17,28 @@ #include #include "gen_qaction.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAction_Changed(intptr_t); +void miqt_exec_callback_QAction_EnabledChanged(intptr_t, bool); +void miqt_exec_callback_QAction_CheckableChanged(intptr_t, bool); +void miqt_exec_callback_QAction_VisibleChanged(intptr_t); +void miqt_exec_callback_QAction_Triggered(intptr_t); +void miqt_exec_callback_QAction_Hovered(intptr_t); +void miqt_exec_callback_QAction_Toggled(intptr_t, bool); +void miqt_exec_callback_QAction_Triggered1(intptr_t, bool); +bool miqt_exec_callback_QAction_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAction_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAction_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAction_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAction_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAction_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAction_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAction : public virtual QAction { public: diff --git a/qt6/gen_qactiongroup.cpp b/qt6/gen_qactiongroup.cpp index 96fc27ce..25abfbe0 100644 --- a/qt6/gen_qactiongroup.cpp +++ b/qt6/gen_qactiongroup.cpp @@ -14,10 +14,22 @@ #include #include "gen_qactiongroup.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QActionGroup_Triggered(intptr_t, QAction*); +void miqt_exec_callback_QActionGroup_Hovered(intptr_t, QAction*); +bool miqt_exec_callback_QActionGroup_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QActionGroup_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QActionGroup_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QActionGroup_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QActionGroup_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QActionGroup_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QActionGroup_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQActionGroup : public virtual QActionGroup { public: diff --git a/qt6/gen_qanimationgroup.cpp b/qt6/gen_qanimationgroup.cpp index 058387a0..68462518 100644 --- a/qt6/gen_qanimationgroup.cpp +++ b/qt6/gen_qanimationgroup.cpp @@ -9,10 +9,18 @@ #include #include "gen_qanimationgroup.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QAnimationGroup_Event(void*, intptr_t, QEvent*); +int miqt_exec_callback_QAnimationGroup_Duration(void*, intptr_t); +void miqt_exec_callback_QAnimationGroup_UpdateCurrentTime(void*, intptr_t, int); +void miqt_exec_callback_QAnimationGroup_UpdateState(void*, intptr_t, int, int); +void miqt_exec_callback_QAnimationGroup_UpdateDirection(void*, intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAnimationGroup : public virtual QAnimationGroup { public: diff --git a/qt6/gen_qanystringview.cpp b/qt6/gen_qanystringview.cpp index 3cfc40e3..8b19bed8 100644 --- a/qt6/gen_qanystringview.cpp +++ b/qt6/gen_qanystringview.cpp @@ -7,10 +7,13 @@ #include #include "gen_qanystringview.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QAnyStringView* QAnyStringView_new() { return new QAnyStringView(); diff --git a/qt6/gen_qapplication.cpp b/qt6/gen_qapplication.cpp index 723d620a..1a1f9ca0 100644 --- a/qt6/gen_qapplication.cpp +++ b/qt6/gen_qapplication.cpp @@ -17,10 +17,16 @@ #include #include "gen_qapplication.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QApplication_FocusChanged(intptr_t, QWidget*, QWidget*); +bool miqt_exec_callback_QApplication_Notify(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QApplication_Event(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQApplication : public virtual QApplication { public: diff --git a/qt6/gen_qarraydata.cpp b/qt6/gen_qarraydata.cpp index f13a4837..826cf3c9 100644 --- a/qt6/gen_qarraydata.cpp +++ b/qt6/gen_qarraydata.cpp @@ -3,10 +3,13 @@ #include #include "gen_qarraydata.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" ptrdiff_t QArrayData_AllocatedCapacity(QArrayData* self) { qsizetype _ret = self->allocatedCapacity(); diff --git a/qt6/gen_qbackingstore.cpp b/qt6/gen_qbackingstore.cpp index a154edc7..cdf92ecc 100644 --- a/qt6/gen_qbackingstore.cpp +++ b/qt6/gen_qbackingstore.cpp @@ -7,10 +7,13 @@ #include #include "gen_qbackingstore.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QBackingStore* QBackingStore_new(QWindow* window) { return new QBackingStore(window); diff --git a/qt6/gen_qbasictimer.cpp b/qt6/gen_qbasictimer.cpp index 3da09d9a..92543011 100644 --- a/qt6/gen_qbasictimer.cpp +++ b/qt6/gen_qbasictimer.cpp @@ -3,10 +3,13 @@ #include #include "gen_qbasictimer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QBasicTimer* QBasicTimer_new() { return new QBasicTimer(); diff --git a/qt6/gen_qbindingstorage.cpp b/qt6/gen_qbindingstorage.cpp index 0c83a830..b68a9849 100644 --- a/qt6/gen_qbindingstorage.cpp +++ b/qt6/gen_qbindingstorage.cpp @@ -4,10 +4,13 @@ #include #include "gen_qbindingstorage.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QBindingStatus_Delete(QBindingStatus* self, bool isSubclass) { if (isSubclass) { diff --git a/qt6/gen_qbitarray.cpp b/qt6/gen_qbitarray.cpp index fb3e9638..a90b4764 100644 --- a/qt6/gen_qbitarray.cpp +++ b/qt6/gen_qbitarray.cpp @@ -3,10 +3,13 @@ #include #include "gen_qbitarray.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QBitArray* QBitArray_new() { return new QBitArray(); diff --git a/qt6/gen_qbitmap.cpp b/qt6/gen_qbitmap.cpp index 427c704e..83b6df27 100644 --- a/qt6/gen_qbitmap.cpp +++ b/qt6/gen_qbitmap.cpp @@ -12,10 +12,16 @@ #include #include "gen_qbitmap.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QBitmap_DevType(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QBitmap_PaintEngine(void*, intptr_t); +int miqt_exec_callback_QBitmap_Metric(void*, intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQBitmap : public virtual QBitmap { public: diff --git a/qt6/gen_qboxlayout.cpp b/qt6/gen_qboxlayout.cpp index 48469274..db043103 100644 --- a/qt6/gen_qboxlayout.cpp +++ b/qt6/gen_qboxlayout.cpp @@ -16,10 +16,65 @@ #include #include "gen_qboxlayout.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QBoxLayout_AddItem(void*, intptr_t, QLayoutItem*); +int miqt_exec_callback_QBoxLayout_Spacing(void*, intptr_t); +void miqt_exec_callback_QBoxLayout_SetSpacing(void*, intptr_t, int); +QSize* miqt_exec_callback_QBoxLayout_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QBoxLayout_MinimumSize(void*, intptr_t); +QSize* miqt_exec_callback_QBoxLayout_MaximumSize(void*, intptr_t); +bool miqt_exec_callback_QBoxLayout_HasHeightForWidth(void*, intptr_t); +int miqt_exec_callback_QBoxLayout_HeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QBoxLayout_MinimumHeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QBoxLayout_ExpandingDirections(void*, intptr_t); +void miqt_exec_callback_QBoxLayout_Invalidate(void*, intptr_t); +QLayoutItem* miqt_exec_callback_QBoxLayout_ItemAt(void*, intptr_t, int); +QLayoutItem* miqt_exec_callback_QBoxLayout_TakeAt(void*, intptr_t, int); +int miqt_exec_callback_QBoxLayout_Count(void*, intptr_t); +void miqt_exec_callback_QBoxLayout_SetGeometry(void*, intptr_t, QRect*); +QRect* miqt_exec_callback_QBoxLayout_Geometry(void*, intptr_t); +int miqt_exec_callback_QBoxLayout_IndexOf(void*, intptr_t, QWidget*); +bool miqt_exec_callback_QBoxLayout_IsEmpty(void*, intptr_t); +int miqt_exec_callback_QBoxLayout_ControlTypes(void*, intptr_t); +QLayoutItem* miqt_exec_callback_QBoxLayout_ReplaceWidget(void*, intptr_t, QWidget*, QWidget*, int); +QLayout* miqt_exec_callback_QBoxLayout_Layout(void*, intptr_t); +void miqt_exec_callback_QBoxLayout_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QHBoxLayout_AddItem(void*, intptr_t, QLayoutItem*); +int miqt_exec_callback_QHBoxLayout_Spacing(void*, intptr_t); +void miqt_exec_callback_QHBoxLayout_SetSpacing(void*, intptr_t, int); +QSize* miqt_exec_callback_QHBoxLayout_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QHBoxLayout_MinimumSize(void*, intptr_t); +QSize* miqt_exec_callback_QHBoxLayout_MaximumSize(void*, intptr_t); +bool miqt_exec_callback_QHBoxLayout_HasHeightForWidth(void*, intptr_t); +int miqt_exec_callback_QHBoxLayout_HeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QHBoxLayout_MinimumHeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QHBoxLayout_ExpandingDirections(void*, intptr_t); +void miqt_exec_callback_QHBoxLayout_Invalidate(void*, intptr_t); +QLayoutItem* miqt_exec_callback_QHBoxLayout_ItemAt(void*, intptr_t, int); +QLayoutItem* miqt_exec_callback_QHBoxLayout_TakeAt(void*, intptr_t, int); +int miqt_exec_callback_QHBoxLayout_Count(void*, intptr_t); +void miqt_exec_callback_QHBoxLayout_SetGeometry(void*, intptr_t, QRect*); +void miqt_exec_callback_QVBoxLayout_AddItem(void*, intptr_t, QLayoutItem*); +int miqt_exec_callback_QVBoxLayout_Spacing(void*, intptr_t); +void miqt_exec_callback_QVBoxLayout_SetSpacing(void*, intptr_t, int); +QSize* miqt_exec_callback_QVBoxLayout_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QVBoxLayout_MinimumSize(void*, intptr_t); +QSize* miqt_exec_callback_QVBoxLayout_MaximumSize(void*, intptr_t); +bool miqt_exec_callback_QVBoxLayout_HasHeightForWidth(void*, intptr_t); +int miqt_exec_callback_QVBoxLayout_HeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QVBoxLayout_MinimumHeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QVBoxLayout_ExpandingDirections(void*, intptr_t); +void miqt_exec_callback_QVBoxLayout_Invalidate(void*, intptr_t); +QLayoutItem* miqt_exec_callback_QVBoxLayout_ItemAt(void*, intptr_t, int); +QLayoutItem* miqt_exec_callback_QVBoxLayout_TakeAt(void*, intptr_t, int); +int miqt_exec_callback_QVBoxLayout_Count(void*, intptr_t); +void miqt_exec_callback_QVBoxLayout_SetGeometry(void*, intptr_t, QRect*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQBoxLayout : public virtual QBoxLayout { public: diff --git a/qt6/gen_qbrush.cpp b/qt6/gen_qbrush.cpp index fdd1c96f..7a5c3d59 100644 --- a/qt6/gen_qbrush.cpp +++ b/qt6/gen_qbrush.cpp @@ -16,10 +16,13 @@ #include #include "gen_qbrush.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QBrush* QBrush_new() { return new QBrush(); diff --git a/qt6/gen_qbuffer.cpp b/qt6/gen_qbuffer.cpp index 2ea3b2c9..863eada0 100644 --- a/qt6/gen_qbuffer.cpp +++ b/qt6/gen_qbuffer.cpp @@ -11,10 +11,32 @@ #include #include "gen_qbuffer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QBuffer_Open(void*, intptr_t, int); +void miqt_exec_callback_QBuffer_Close(void*, intptr_t); +long long miqt_exec_callback_QBuffer_Size(void*, intptr_t); +long long miqt_exec_callback_QBuffer_Pos(void*, intptr_t); +bool miqt_exec_callback_QBuffer_Seek(void*, intptr_t, long long); +bool miqt_exec_callback_QBuffer_AtEnd(void*, intptr_t); +bool miqt_exec_callback_QBuffer_CanReadLine(void*, intptr_t); +void miqt_exec_callback_QBuffer_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QBuffer_DisconnectNotify(void*, intptr_t, QMetaMethod*); +long long miqt_exec_callback_QBuffer_ReadData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QBuffer_WriteData(void*, intptr_t, const char*, long long); +bool miqt_exec_callback_QBuffer_IsSequential(void*, intptr_t); +bool miqt_exec_callback_QBuffer_Reset(void*, intptr_t); +long long miqt_exec_callback_QBuffer_BytesAvailable(void*, intptr_t); +long long miqt_exec_callback_QBuffer_BytesToWrite(void*, intptr_t); +bool miqt_exec_callback_QBuffer_WaitForReadyRead(void*, intptr_t, int); +bool miqt_exec_callback_QBuffer_WaitForBytesWritten(void*, intptr_t, int); +long long miqt_exec_callback_QBuffer_ReadLineData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QBuffer_SkipData(void*, intptr_t, long long); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQBuffer : public virtual QBuffer { public: diff --git a/qt6/gen_qbuttongroup.cpp b/qt6/gen_qbuttongroup.cpp index edfd363c..fc8fb05f 100644 --- a/qt6/gen_qbuttongroup.cpp +++ b/qt6/gen_qbuttongroup.cpp @@ -13,10 +13,28 @@ #include #include "gen_qbuttongroup.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QButtonGroup_ButtonClicked(intptr_t, QAbstractButton*); +void miqt_exec_callback_QButtonGroup_ButtonPressed(intptr_t, QAbstractButton*); +void miqt_exec_callback_QButtonGroup_ButtonReleased(intptr_t, QAbstractButton*); +void miqt_exec_callback_QButtonGroup_ButtonToggled(intptr_t, QAbstractButton*, bool); +void miqt_exec_callback_QButtonGroup_IdClicked(intptr_t, int); +void miqt_exec_callback_QButtonGroup_IdPressed(intptr_t, int); +void miqt_exec_callback_QButtonGroup_IdReleased(intptr_t, int); +void miqt_exec_callback_QButtonGroup_IdToggled(intptr_t, int, bool); +bool miqt_exec_callback_QButtonGroup_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QButtonGroup_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QButtonGroup_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QButtonGroup_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QButtonGroup_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QButtonGroup_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QButtonGroup_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQButtonGroup : public virtual QButtonGroup { public: diff --git a/qt6/gen_qbytearraymatcher.cpp b/qt6/gen_qbytearraymatcher.cpp index c5512c6d..338a6cf1 100644 --- a/qt6/gen_qbytearraymatcher.cpp +++ b/qt6/gen_qbytearraymatcher.cpp @@ -5,10 +5,13 @@ #include #include "gen_qbytearraymatcher.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QByteArrayMatcher* QByteArrayMatcher_new() { return new QByteArrayMatcher(); diff --git a/qt6/gen_qbytearrayview.cpp b/qt6/gen_qbytearrayview.cpp index d61da5fd..5f46e5dc 100644 --- a/qt6/gen_qbytearrayview.cpp +++ b/qt6/gen_qbytearrayview.cpp @@ -3,10 +3,13 @@ #include #include "gen_qbytearrayview.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QByteArrayView* QByteArrayView_new() { return new QByteArrayView(); diff --git a/qt6/gen_qcalendar.cpp b/qt6/gen_qcalendar.cpp index 7727cd54..ceb05393 100644 --- a/qt6/gen_qcalendar.cpp +++ b/qt6/gen_qcalendar.cpp @@ -11,10 +11,13 @@ #include #include "gen_qcalendar.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QCalendar* QCalendar_new() { return new QCalendar(); diff --git a/qt6/gen_qcalendarwidget.cpp b/qt6/gen_qcalendarwidget.cpp index b731c983..50de90e0 100644 --- a/qt6/gen_qcalendarwidget.cpp +++ b/qt6/gen_qcalendarwidget.cpp @@ -40,10 +40,60 @@ #include #include "gen_qcalendarwidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCalendarWidget_SelectionChanged(intptr_t); +void miqt_exec_callback_QCalendarWidget_Clicked(intptr_t, QDate*); +void miqt_exec_callback_QCalendarWidget_Activated(intptr_t, QDate*); +void miqt_exec_callback_QCalendarWidget_CurrentPageChanged(intptr_t, int, int); +QSize* miqt_exec_callback_QCalendarWidget_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QCalendarWidget_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QCalendarWidget_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QCalendarWidget_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QCalendarWidget_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QCalendarWidget_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QCalendarWidget_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QCalendarWidget_PaintCell(void*, intptr_t, QPainter*, QRect*, QDate*); +int miqt_exec_callback_QCalendarWidget_DevType(void*, intptr_t); +void miqt_exec_callback_QCalendarWidget_SetVisible(void*, intptr_t, bool); +int miqt_exec_callback_QCalendarWidget_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QCalendarWidget_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QCalendarWidget_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QCalendarWidget_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QCalendarWidget_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QCalendarWidget_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QCalendarWidget_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QCalendarWidget_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QCalendarWidget_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QCalendarWidget_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QCalendarWidget_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QCalendarWidget_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QCalendarWidget_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QCalendarWidget_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QCalendarWidget_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QCalendarWidget_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QCalendarWidget_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QCalendarWidget_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QCalendarWidget_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QCalendarWidget_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QCalendarWidget_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QCalendarWidget_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QCalendarWidget_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QCalendarWidget_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QCalendarWidget_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +void miqt_exec_callback_QCalendarWidget_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QCalendarWidget_Metric(void*, intptr_t, int); +void miqt_exec_callback_QCalendarWidget_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QCalendarWidget_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QCalendarWidget_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QCalendarWidget_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QCalendarWidget_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QCalendarWidget_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQCalendarWidget : public virtual QCalendarWidget { public: diff --git a/qt6/gen_qchar.cpp b/qt6/gen_qchar.cpp index 599b836e..80d8890f 100644 --- a/qt6/gen_qchar.cpp +++ b/qt6/gen_qchar.cpp @@ -6,10 +6,13 @@ #include #include "gen_qchar.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QLatin1Char* QLatin1Char_new(char c) { return new QLatin1Char(static_cast(c)); diff --git a/qt6/gen_qcheckbox.cpp b/qt6/gen_qcheckbox.cpp index 6bd38257..0696890b 100644 --- a/qt6/gen_qcheckbox.cpp +++ b/qt6/gen_qcheckbox.cpp @@ -19,10 +19,31 @@ #include #include "gen_qcheckbox.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCheckBox_StateChanged(intptr_t, int); +QSize* miqt_exec_callback_QCheckBox_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QCheckBox_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QCheckBox_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QCheckBox_HitButton(void*, intptr_t, QPoint*); +void miqt_exec_callback_QCheckBox_CheckStateSet(void*, intptr_t); +void miqt_exec_callback_QCheckBox_NextCheckState(void*, intptr_t); +void miqt_exec_callback_QCheckBox_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QCheckBox_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QCheckBox_InitStyleOption(void*, intptr_t, QStyleOptionButton*); +void miqt_exec_callback_QCheckBox_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QCheckBox_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QCheckBox_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QCheckBox_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QCheckBox_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QCheckBox_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QCheckBox_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QCheckBox_TimerEvent(void*, intptr_t, QTimerEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQCheckBox : public virtual QCheckBox { public: diff --git a/qt6/gen_qclipboard.cpp b/qt6/gen_qclipboard.cpp index 3998a0c9..a3ea6f31 100644 --- a/qt6/gen_qclipboard.cpp +++ b/qt6/gen_qclipboard.cpp @@ -10,10 +10,17 @@ #include #include "gen_qclipboard.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QClipboard_Changed(intptr_t, int); +void miqt_exec_callback_QClipboard_SelectionChanged(intptr_t); +void miqt_exec_callback_QClipboard_FindBufferChanged(intptr_t); +void miqt_exec_callback_QClipboard_DataChanged(intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QClipboard_virtbase(QClipboard* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt6/gen_qcollator.cpp b/qt6/gen_qcollator.cpp index a6c70000..65877a6f 100644 --- a/qt6/gen_qcollator.cpp +++ b/qt6/gen_qcollator.cpp @@ -8,10 +8,13 @@ #include #include "gen_qcollator.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QCollatorSortKey* QCollatorSortKey_new(QCollatorSortKey* other) { return new QCollatorSortKey(*other); diff --git a/qt6/gen_qcolor.cpp b/qt6/gen_qcolor.cpp index cb7a8d56..fb2c1322 100644 --- a/qt6/gen_qcolor.cpp +++ b/qt6/gen_qcolor.cpp @@ -9,10 +9,13 @@ #include #include "gen_qcolor.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QColor* QColor_new() { return new QColor(); diff --git a/qt6/gen_qcolordialog.cpp b/qt6/gen_qcolordialog.cpp index 2102cc2b..bc53bbfc 100644 --- a/qt6/gen_qcolordialog.cpp +++ b/qt6/gen_qcolordialog.cpp @@ -18,10 +18,30 @@ #include #include "gen_qcolordialog.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QColorDialog_CurrentColorChanged(intptr_t, QColor*); +void miqt_exec_callback_QColorDialog_ColorSelected(intptr_t, QColor*); +void miqt_exec_callback_QColorDialog_SetVisible(void*, intptr_t, bool); +void miqt_exec_callback_QColorDialog_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QColorDialog_Done(void*, intptr_t, int); +QSize* miqt_exec_callback_QColorDialog_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QColorDialog_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QColorDialog_Open(void*, intptr_t); +int miqt_exec_callback_QColorDialog_Exec(void*, intptr_t); +void miqt_exec_callback_QColorDialog_Accept(void*, intptr_t); +void miqt_exec_callback_QColorDialog_Reject(void*, intptr_t); +void miqt_exec_callback_QColorDialog_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QColorDialog_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QColorDialog_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QColorDialog_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QColorDialog_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QColorDialog_EventFilter(void*, intptr_t, QObject*, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQColorDialog : public virtual QColorDialog { public: diff --git a/qt6/gen_qcolormap.cpp b/qt6/gen_qcolormap.cpp index a8b7867a..16c24ec7 100644 --- a/qt6/gen_qcolormap.cpp +++ b/qt6/gen_qcolormap.cpp @@ -4,10 +4,13 @@ #include #include "gen_qcolormap.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QColormap* QColormap_new(QColormap* colormap) { return new QColormap(*colormap); diff --git a/qt6/gen_qcolorspace.cpp b/qt6/gen_qcolorspace.cpp index 69cf2264..85bad20e 100644 --- a/qt6/gen_qcolorspace.cpp +++ b/qt6/gen_qcolorspace.cpp @@ -10,10 +10,13 @@ #include #include "gen_qcolorspace.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QColorSpace* QColorSpace_new() { return new QColorSpace(); diff --git a/qt6/gen_qcolortransform.cpp b/qt6/gen_qcolortransform.cpp index 59fe77a6..211ce947 100644 --- a/qt6/gen_qcolortransform.cpp +++ b/qt6/gen_qcolortransform.cpp @@ -4,10 +4,13 @@ #include #include "gen_qcolortransform.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QColorTransform* QColorTransform_new() { return new QColorTransform(); diff --git a/qt6/gen_qcolumnview.cpp b/qt6/gen_qcolumnview.cpp index d04f9269..b980828d 100644 --- a/qt6/gen_qcolumnview.cpp +++ b/qt6/gen_qcolumnview.cpp @@ -35,10 +35,76 @@ #include #include "gen_qcolumnview.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QColumnView_UpdatePreviewWidget(intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QColumnView_IndexAt(void*, intptr_t, QPoint*); +void miqt_exec_callback_QColumnView_ScrollTo(void*, intptr_t, QModelIndex*, int); +QSize* miqt_exec_callback_QColumnView_SizeHint(void*, intptr_t); +QRect* miqt_exec_callback_QColumnView_VisualRect(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QColumnView_SetModel(void*, intptr_t, QAbstractItemModel*); +void miqt_exec_callback_QColumnView_SetSelectionModel(void*, intptr_t, QItemSelectionModel*); +void miqt_exec_callback_QColumnView_SetRootIndex(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QColumnView_SelectAll(void*, intptr_t); +bool miqt_exec_callback_QColumnView_IsIndexHidden(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QColumnView_MoveCursor(void*, intptr_t, int, int); +void miqt_exec_callback_QColumnView_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QColumnView_SetSelection(void*, intptr_t, QRect*, int); +QRegion* miqt_exec_callback_QColumnView_VisualRegionForSelection(void*, intptr_t, QItemSelection*); +int miqt_exec_callback_QColumnView_HorizontalOffset(void*, intptr_t); +int miqt_exec_callback_QColumnView_VerticalOffset(void*, intptr_t); +void miqt_exec_callback_QColumnView_RowsInserted(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QColumnView_CurrentChanged(void*, intptr_t, QModelIndex*, QModelIndex*); +void miqt_exec_callback_QColumnView_ScrollContentsBy(void*, intptr_t, int, int); +QAbstractItemView* miqt_exec_callback_QColumnView_CreateColumn(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QColumnView_KeyboardSearch(void*, intptr_t, struct miqt_string); +int miqt_exec_callback_QColumnView_SizeHintForRow(void*, intptr_t, int); +int miqt_exec_callback_QColumnView_SizeHintForColumn(void*, intptr_t, int); +QAbstractItemDelegate* miqt_exec_callback_QColumnView_ItemDelegateForIndex(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QColumnView_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QColumnView_Reset(void*, intptr_t); +void miqt_exec_callback_QColumnView_DoItemsLayout(void*, intptr_t); +void miqt_exec_callback_QColumnView_DataChanged(void*, intptr_t, QModelIndex*, QModelIndex*, struct miqt_array /* of int */ ); +void miqt_exec_callback_QColumnView_RowsAboutToBeRemoved(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QColumnView_SelectionChanged(void*, intptr_t, QItemSelection*, QItemSelection*); +void miqt_exec_callback_QColumnView_UpdateEditorData(void*, intptr_t); +void miqt_exec_callback_QColumnView_UpdateEditorGeometries(void*, intptr_t); +void miqt_exec_callback_QColumnView_UpdateGeometries(void*, intptr_t); +void miqt_exec_callback_QColumnView_VerticalScrollbarAction(void*, intptr_t, int); +void miqt_exec_callback_QColumnView_HorizontalScrollbarAction(void*, intptr_t, int); +void miqt_exec_callback_QColumnView_VerticalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QColumnView_HorizontalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QColumnView_CloseEditor(void*, intptr_t, QWidget*, int); +void miqt_exec_callback_QColumnView_CommitData(void*, intptr_t, QWidget*); +void miqt_exec_callback_QColumnView_EditorDestroyed(void*, intptr_t, QObject*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QColumnView_SelectedIndexes(void*, intptr_t); +bool miqt_exec_callback_QColumnView_Edit2(void*, intptr_t, QModelIndex*, int, QEvent*); +int miqt_exec_callback_QColumnView_SelectionCommand(void*, intptr_t, QModelIndex*, QEvent*); +void miqt_exec_callback_QColumnView_StartDrag(void*, intptr_t, int); +void miqt_exec_callback_QColumnView_InitViewItemOption(void*, intptr_t, QStyleOptionViewItem*); +bool miqt_exec_callback_QColumnView_FocusNextPrevChild(void*, intptr_t, bool); +bool miqt_exec_callback_QColumnView_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QColumnView_ViewportEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QColumnView_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QColumnView_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QColumnView_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QColumnView_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QColumnView_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QColumnView_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QColumnView_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QColumnView_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QColumnView_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QColumnView_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QColumnView_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QColumnView_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QColumnView_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +bool miqt_exec_callback_QColumnView_EventFilter(void*, intptr_t, QObject*, QEvent*); +QSize* miqt_exec_callback_QColumnView_ViewportSizeHint(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQColumnView : public virtual QColumnView { public: diff --git a/qt6/gen_qcombobox.cpp b/qt6/gen_qcombobox.cpp index 92bcf115..ca629337 100644 --- a/qt6/gen_qcombobox.cpp +++ b/qt6/gen_qcombobox.cpp @@ -45,10 +45,65 @@ #include #include "gen_qcombobox.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QComboBox_EditTextChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QComboBox_Activated(intptr_t, int); +void miqt_exec_callback_QComboBox_TextActivated(intptr_t, struct miqt_string); +void miqt_exec_callback_QComboBox_Highlighted(intptr_t, int); +void miqt_exec_callback_QComboBox_TextHighlighted(intptr_t, struct miqt_string); +void miqt_exec_callback_QComboBox_CurrentIndexChanged(intptr_t, int); +void miqt_exec_callback_QComboBox_CurrentTextChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QComboBox_SetModel(void*, intptr_t, QAbstractItemModel*); +QSize* miqt_exec_callback_QComboBox_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QComboBox_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QComboBox_ShowPopup(void*, intptr_t); +void miqt_exec_callback_QComboBox_HidePopup(void*, intptr_t); +bool miqt_exec_callback_QComboBox_Event(void*, intptr_t, QEvent*); +QVariant* miqt_exec_callback_QComboBox_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QComboBox_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QComboBox_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QComboBox_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QComboBox_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QComboBox_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QComboBox_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QComboBox_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QComboBox_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QComboBox_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QComboBox_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QComboBox_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QComboBox_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QComboBox_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QComboBox_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +void miqt_exec_callback_QComboBox_InitStyleOption(void*, intptr_t, QStyleOptionComboBox*); +int miqt_exec_callback_QComboBox_DevType(void*, intptr_t); +void miqt_exec_callback_QComboBox_SetVisible(void*, intptr_t, bool); +int miqt_exec_callback_QComboBox_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QComboBox_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QComboBox_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QComboBox_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QComboBox_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QComboBox_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QComboBox_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QComboBox_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QComboBox_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QComboBox_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QComboBox_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QComboBox_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QComboBox_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QComboBox_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QComboBox_DropEvent(void*, intptr_t, QDropEvent*); +bool miqt_exec_callback_QComboBox_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +int miqt_exec_callback_QComboBox_Metric(void*, intptr_t, int); +void miqt_exec_callback_QComboBox_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QComboBox_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QComboBox_SharedPainter(void*, intptr_t); +bool miqt_exec_callback_QComboBox_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQComboBox : public virtual QComboBox { public: diff --git a/qt6/gen_qcommandlineoption.cpp b/qt6/gen_qcommandlineoption.cpp index 678a71ca..9433fdb7 100644 --- a/qt6/gen_qcommandlineoption.cpp +++ b/qt6/gen_qcommandlineoption.cpp @@ -6,10 +6,13 @@ #include #include "gen_qcommandlineoption.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QCommandLineOption* QCommandLineOption_new(struct miqt_string name) { QString name_QString = QString::fromUtf8(name.data, name.len); diff --git a/qt6/gen_qcommandlineparser.cpp b/qt6/gen_qcommandlineparser.cpp index 0f74e292..dfc0e657 100644 --- a/qt6/gen_qcommandlineparser.cpp +++ b/qt6/gen_qcommandlineparser.cpp @@ -8,10 +8,13 @@ #include #include "gen_qcommandlineparser.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QCommandLineParser* QCommandLineParser_new() { return new QCommandLineParser(); diff --git a/qt6/gen_qcommandlinkbutton.cpp b/qt6/gen_qcommandlinkbutton.cpp index 403bc4fa..5ef181d4 100644 --- a/qt6/gen_qcommandlinkbutton.cpp +++ b/qt6/gen_qcommandlinkbutton.cpp @@ -19,10 +19,24 @@ #include #include "gen_qcommandlinkbutton.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QCommandLinkButton_SizeHint(void*, intptr_t); +int miqt_exec_callback_QCommandLinkButton_HeightForWidth(void*, intptr_t, int); +QSize* miqt_exec_callback_QCommandLinkButton_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QCommandLinkButton_InitStyleOption(void*, intptr_t, QStyleOptionButton*); +bool miqt_exec_callback_QCommandLinkButton_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QCommandLinkButton_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QCommandLinkButton_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QCommandLinkButton_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QCommandLinkButton_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QCommandLinkButton_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +bool miqt_exec_callback_QCommandLinkButton_HitButton(void*, intptr_t, QPoint*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQCommandLinkButton : public virtual QCommandLinkButton { public: diff --git a/qt6/gen_qcommonstyle.cpp b/qt6/gen_qcommonstyle.cpp index 385999b7..21184a22 100644 --- a/qt6/gen_qcommonstyle.cpp +++ b/qt6/gen_qcommonstyle.cpp @@ -21,10 +21,36 @@ #include #include "gen_qcommonstyle.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCommonStyle_DrawPrimitive(void*, intptr_t, int, QStyleOption*, QPainter*, QWidget*); +void miqt_exec_callback_QCommonStyle_DrawControl(void*, intptr_t, int, QStyleOption*, QPainter*, QWidget*); +QRect* miqt_exec_callback_QCommonStyle_SubElementRect(void*, intptr_t, int, QStyleOption*, QWidget*); +void miqt_exec_callback_QCommonStyle_DrawComplexControl(void*, intptr_t, int, QStyleOptionComplex*, QPainter*, QWidget*); +int miqt_exec_callback_QCommonStyle_HitTestComplexControl(void*, intptr_t, int, QStyleOptionComplex*, QPoint*, QWidget*); +QRect* miqt_exec_callback_QCommonStyle_SubControlRect(void*, intptr_t, int, QStyleOptionComplex*, int, QWidget*); +QSize* miqt_exec_callback_QCommonStyle_SizeFromContents(void*, intptr_t, int, QStyleOption*, QSize*, QWidget*); +int miqt_exec_callback_QCommonStyle_PixelMetric(void*, intptr_t, int, QStyleOption*, QWidget*); +int miqt_exec_callback_QCommonStyle_StyleHint(void*, intptr_t, int, QStyleOption*, QWidget*, QStyleHintReturn*); +QIcon* miqt_exec_callback_QCommonStyle_StandardIcon(void*, intptr_t, int, QStyleOption*, QWidget*); +QPixmap* miqt_exec_callback_QCommonStyle_StandardPixmap(void*, intptr_t, int, QStyleOption*, QWidget*); +QPixmap* miqt_exec_callback_QCommonStyle_GeneratedIconPixmap(void*, intptr_t, int, QPixmap*, QStyleOption*); +int miqt_exec_callback_QCommonStyle_LayoutSpacing(void*, intptr_t, int, int, int, QStyleOption*, QWidget*); +void miqt_exec_callback_QCommonStyle_Polish(void*, intptr_t, QPalette*); +void miqt_exec_callback_QCommonStyle_PolishWithApp(void*, intptr_t, QApplication*); +void miqt_exec_callback_QCommonStyle_PolishWithWidget(void*, intptr_t, QWidget*); +void miqt_exec_callback_QCommonStyle_Unpolish(void*, intptr_t, QWidget*); +void miqt_exec_callback_QCommonStyle_UnpolishWithApplication(void*, intptr_t, QApplication*); +QRect* miqt_exec_callback_QCommonStyle_ItemTextRect(void*, intptr_t, QFontMetrics*, QRect*, int, bool, struct miqt_string); +QRect* miqt_exec_callback_QCommonStyle_ItemPixmapRect(void*, intptr_t, QRect*, int, QPixmap*); +void miqt_exec_callback_QCommonStyle_DrawItemText(void*, intptr_t, QPainter*, QRect*, int, QPalette*, bool, struct miqt_string, int); +void miqt_exec_callback_QCommonStyle_DrawItemPixmap(void*, intptr_t, QPainter*, QRect*, int, QPixmap*); +QPalette* miqt_exec_callback_QCommonStyle_StandardPalette(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQCommonStyle : public virtual QCommonStyle { public: diff --git a/qt6/gen_qcompare.cpp b/qt6/gen_qcompare.cpp index 0b9e8eef..8dd61473 100644 --- a/qt6/gen_qcompare.cpp +++ b/qt6/gen_qcompare.cpp @@ -2,10 +2,13 @@ #include #include "gen_qcompare.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QPartialOrdering* QPartialOrdering_new(QPartialOrdering* param1) { return new QPartialOrdering(*param1); diff --git a/qt6/gen_qcompleter.cpp b/qt6/gen_qcompleter.cpp index d5f529af..e050d69b 100644 --- a/qt6/gen_qcompleter.cpp +++ b/qt6/gen_qcompleter.cpp @@ -17,10 +17,26 @@ #include #include "gen_qcompleter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCompleter_Activated(intptr_t, struct miqt_string); +void miqt_exec_callback_QCompleter_ActivatedWithIndex(intptr_t, QModelIndex*); +void miqt_exec_callback_QCompleter_Highlighted(intptr_t, struct miqt_string); +void miqt_exec_callback_QCompleter_HighlightedWithIndex(intptr_t, QModelIndex*); +struct miqt_string miqt_exec_callback_QCompleter_PathFromIndex(void*, intptr_t, QModelIndex*); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QCompleter_SplitPath(void*, intptr_t, struct miqt_string); +bool miqt_exec_callback_QCompleter_EventFilter(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QCompleter_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QCompleter_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QCompleter_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QCompleter_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QCompleter_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QCompleter_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQCompleter : public virtual QCompleter { public: diff --git a/qt6/gen_qconcatenatetablesproxymodel.cpp b/qt6/gen_qconcatenatetablesproxymodel.cpp index 85af063b..57bf1c1e 100644 --- a/qt6/gen_qconcatenatetablesproxymodel.cpp +++ b/qt6/gen_qconcatenatetablesproxymodel.cpp @@ -16,10 +16,50 @@ #include #include "gen_qconcatenatetablesproxymodel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QVariant* miqt_exec_callback_QConcatenateTablesProxyModel_Data(void*, intptr_t, QModelIndex*, int); +bool miqt_exec_callback_QConcatenateTablesProxyModel_SetData(void*, intptr_t, QModelIndex*, QVariant*, int); +struct miqt_map /* of int to QVariant* */ miqt_exec_callback_QConcatenateTablesProxyModel_ItemData(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QConcatenateTablesProxyModel_SetItemData(void*, intptr_t, QModelIndex*, struct miqt_map /* of int to QVariant* */ ); +int miqt_exec_callback_QConcatenateTablesProxyModel_Flags(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QConcatenateTablesProxyModel_Index(void*, intptr_t, int, int, QModelIndex*); +QModelIndex* miqt_exec_callback_QConcatenateTablesProxyModel_Parent(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QConcatenateTablesProxyModel_RowCount(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QConcatenateTablesProxyModel_HeaderData(void*, intptr_t, int, int, int); +int miqt_exec_callback_QConcatenateTablesProxyModel_ColumnCount(void*, intptr_t, QModelIndex*); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QConcatenateTablesProxyModel_MimeTypes(void*, intptr_t); +QMimeData* miqt_exec_callback_QConcatenateTablesProxyModel_MimeData(void*, intptr_t, struct miqt_array /* of QModelIndex* */ ); +bool miqt_exec_callback_QConcatenateTablesProxyModel_CanDropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +bool miqt_exec_callback_QConcatenateTablesProxyModel_DropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +QSize* miqt_exec_callback_QConcatenateTablesProxyModel_Span(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QConcatenateTablesProxyModel_Sibling(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QConcatenateTablesProxyModel_HasChildren(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QConcatenateTablesProxyModel_SetHeaderData(void*, intptr_t, int, int, QVariant*, int); +bool miqt_exec_callback_QConcatenateTablesProxyModel_ClearItemData(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QConcatenateTablesProxyModel_SupportedDropActions(void*, intptr_t); +int miqt_exec_callback_QConcatenateTablesProxyModel_SupportedDragActions(void*, intptr_t); +bool miqt_exec_callback_QConcatenateTablesProxyModel_InsertRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QConcatenateTablesProxyModel_InsertColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QConcatenateTablesProxyModel_RemoveRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QConcatenateTablesProxyModel_RemoveColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QConcatenateTablesProxyModel_MoveRows(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +bool miqt_exec_callback_QConcatenateTablesProxyModel_MoveColumns(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +void miqt_exec_callback_QConcatenateTablesProxyModel_FetchMore(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QConcatenateTablesProxyModel_CanFetchMore(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QConcatenateTablesProxyModel_Sort(void*, intptr_t, int, int); +QModelIndex* miqt_exec_callback_QConcatenateTablesProxyModel_Buddy(void*, intptr_t, QModelIndex*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QConcatenateTablesProxyModel_Match(void*, intptr_t, QModelIndex*, int, QVariant*, int, int); +struct miqt_map /* of int to struct miqt_string */ miqt_exec_callback_QConcatenateTablesProxyModel_RoleNames(void*, intptr_t); +void miqt_exec_callback_QConcatenateTablesProxyModel_MultiData(void*, intptr_t, QModelIndex*, QModelRoleDataSpan*); +bool miqt_exec_callback_QConcatenateTablesProxyModel_Submit(void*, intptr_t); +void miqt_exec_callback_QConcatenateTablesProxyModel_Revert(void*, intptr_t); +void miqt_exec_callback_QConcatenateTablesProxyModel_ResetInternalData(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQConcatenateTablesProxyModel : public virtual QConcatenateTablesProxyModel { public: diff --git a/qt6/gen_qcontiguouscache.cpp b/qt6/gen_qcontiguouscache.cpp index 1cbd9d84..1854cdd0 100644 --- a/qt6/gen_qcontiguouscache.cpp +++ b/qt6/gen_qcontiguouscache.cpp @@ -2,10 +2,13 @@ #include #include "gen_qcontiguouscache.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QContiguousCacheData* QContiguousCacheData_AllocateData(ptrdiff_t size, ptrdiff_t alignment) { return QContiguousCacheData::allocateData((qsizetype)(size), (qsizetype)(alignment)); diff --git a/qt6/gen_qcoreapplication.cpp b/qt6/gen_qcoreapplication.cpp index 48f7a88d..6197b078 100644 --- a/qt6/gen_qcoreapplication.cpp +++ b/qt6/gen_qcoreapplication.cpp @@ -15,10 +15,27 @@ #include #include "gen_qcoreapplication.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCoreApplication_InstallNativeEventFilter(intptr_t, QAbstractNativeEventFilter*); +void miqt_exec_callback_QCoreApplication_RemoveNativeEventFilter(intptr_t, QAbstractNativeEventFilter*); +void miqt_exec_callback_QCoreApplication_OrganizationNameChanged(intptr_t); +void miqt_exec_callback_QCoreApplication_OrganizationDomainChanged(intptr_t); +void miqt_exec_callback_QCoreApplication_ApplicationNameChanged(intptr_t); +void miqt_exec_callback_QCoreApplication_ApplicationVersionChanged(intptr_t); +bool miqt_exec_callback_QCoreApplication_Notify(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QCoreApplication_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QCoreApplication_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QCoreApplication_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QCoreApplication_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QCoreApplication_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QCoreApplication_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QCoreApplication_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQCoreApplication : public virtual QCoreApplication { public: diff --git a/qt6/gen_qcoreevent.cpp b/qt6/gen_qcoreevent.cpp index 65298dba..fcf9d759 100644 --- a/qt6/gen_qcoreevent.cpp +++ b/qt6/gen_qcoreevent.cpp @@ -7,10 +7,21 @@ #include #include "gen_qcoreevent.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QEvent_SetAccepted(void*, intptr_t, bool); +QEvent* miqt_exec_callback_QEvent_Clone(void*, intptr_t); +QTimerEvent* miqt_exec_callback_QTimerEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QTimerEvent_SetAccepted(void*, intptr_t, bool); +QChildEvent* miqt_exec_callback_QChildEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QChildEvent_SetAccepted(void*, intptr_t, bool); +QDynamicPropertyChangeEvent* miqt_exec_callback_QDynamicPropertyChangeEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QDynamicPropertyChangeEvent_SetAccepted(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQEvent : public virtual QEvent { public: diff --git a/qt6/gen_qcryptographichash.cpp b/qt6/gen_qcryptographichash.cpp index 6fa6fef7..056716ee 100644 --- a/qt6/gen_qcryptographichash.cpp +++ b/qt6/gen_qcryptographichash.cpp @@ -5,10 +5,13 @@ #include #include "gen_qcryptographichash.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QCryptographicHash* QCryptographicHash_new(int method) { return new QCryptographicHash(static_cast(method)); diff --git a/qt6/gen_qcursor.cpp b/qt6/gen_qcursor.cpp index 8e7be448..fb87f7df 100644 --- a/qt6/gen_qcursor.cpp +++ b/qt6/gen_qcursor.cpp @@ -7,10 +7,13 @@ #include #include "gen_qcursor.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QCursor* QCursor_new() { return new QCursor(); diff --git a/qt6/gen_qdatastream.cpp b/qt6/gen_qdatastream.cpp index 5c3ed622..9bf35b27 100644 --- a/qt6/gen_qdatastream.cpp +++ b/qt6/gen_qdatastream.cpp @@ -5,10 +5,13 @@ #include #include "gen_qdatastream.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QDataStream* QDataStream_new() { return new QDataStream(); diff --git a/qt6/gen_qdatawidgetmapper.cpp b/qt6/gen_qdatawidgetmapper.cpp index 36dcc6a9..0f8c8c1f 100644 --- a/qt6/gen_qdatawidgetmapper.cpp +++ b/qt6/gen_qdatawidgetmapper.cpp @@ -16,10 +16,22 @@ #include #include "gen_qdatawidgetmapper.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QDataWidgetMapper_CurrentIndexChanged(intptr_t, int); +void miqt_exec_callback_QDataWidgetMapper_SetCurrentIndex(void*, intptr_t, int); +bool miqt_exec_callback_QDataWidgetMapper_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QDataWidgetMapper_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QDataWidgetMapper_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QDataWidgetMapper_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QDataWidgetMapper_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDataWidgetMapper_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QDataWidgetMapper_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQDataWidgetMapper : public virtual QDataWidgetMapper { public: diff --git a/qt6/gen_qdatetime.cpp b/qt6/gen_qdatetime.cpp index fa3b8618..df2e291e 100644 --- a/qt6/gen_qdatetime.cpp +++ b/qt6/gen_qdatetime.cpp @@ -9,10 +9,13 @@ #include #include "gen_qdatetime.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QDate* QDate_new() { return new QDate(); diff --git a/qt6/gen_qdatetimeedit.cpp b/qt6/gen_qdatetimeedit.cpp index 5754a1c9..0f41afed 100644 --- a/qt6/gen_qdatetimeedit.cpp +++ b/qt6/gen_qdatetimeedit.cpp @@ -32,10 +32,79 @@ #include #include "gen_qdatetimeedit.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QDateTimeEdit_DateTimeChanged(intptr_t, QDateTime*); +void miqt_exec_callback_QDateTimeEdit_TimeChanged(intptr_t, QTime*); +void miqt_exec_callback_QDateTimeEdit_DateChanged(intptr_t, QDate*); +QSize* miqt_exec_callback_QDateTimeEdit_SizeHint(void*, intptr_t); +void miqt_exec_callback_QDateTimeEdit_Clear(void*, intptr_t); +void miqt_exec_callback_QDateTimeEdit_StepBy(void*, intptr_t, int); +bool miqt_exec_callback_QDateTimeEdit_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDateTimeEdit_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDateTimeEdit_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QDateTimeEdit_FocusInEvent(void*, intptr_t, QFocusEvent*); +bool miqt_exec_callback_QDateTimeEdit_FocusNextPrevChild(void*, intptr_t, bool); +int miqt_exec_callback_QDateTimeEdit_Validate(void*, intptr_t, struct miqt_string, int*); +void miqt_exec_callback_QDateTimeEdit_Fixup(void*, intptr_t, struct miqt_string); +QDateTime* miqt_exec_callback_QDateTimeEdit_DateTimeFromText(void*, intptr_t, struct miqt_string); +struct miqt_string miqt_exec_callback_QDateTimeEdit_TextFromDateTime(void*, intptr_t, QDateTime*); +int miqt_exec_callback_QDateTimeEdit_StepEnabled(void*, intptr_t); +void miqt_exec_callback_QDateTimeEdit_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDateTimeEdit_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QDateTimeEdit_InitStyleOption(void*, intptr_t, QStyleOptionSpinBox*); +QSize* miqt_exec_callback_QDateTimeEdit_MinimumSizeHint(void*, intptr_t); +QVariant* miqt_exec_callback_QDateTimeEdit_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QDateTimeEdit_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QDateTimeEdit_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDateTimeEdit_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QDateTimeEdit_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QDateTimeEdit_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDateTimeEdit_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QDateTimeEdit_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QDateTimeEdit_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDateTimeEdit_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDateTimeEdit_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QDateTimeEdit_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QTimeEdit_UserTimeChanged(intptr_t, QTime*); +QSize* miqt_exec_callback_QTimeEdit_SizeHint(void*, intptr_t); +void miqt_exec_callback_QTimeEdit_Clear(void*, intptr_t); +void miqt_exec_callback_QTimeEdit_StepBy(void*, intptr_t, int); +bool miqt_exec_callback_QTimeEdit_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTimeEdit_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QTimeEdit_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QTimeEdit_FocusInEvent(void*, intptr_t, QFocusEvent*); +bool miqt_exec_callback_QTimeEdit_FocusNextPrevChild(void*, intptr_t, bool); +int miqt_exec_callback_QTimeEdit_Validate(void*, intptr_t, struct miqt_string, int*); +void miqt_exec_callback_QTimeEdit_Fixup(void*, intptr_t, struct miqt_string); +QDateTime* miqt_exec_callback_QTimeEdit_DateTimeFromText(void*, intptr_t, struct miqt_string); +struct miqt_string miqt_exec_callback_QTimeEdit_TextFromDateTime(void*, intptr_t, QDateTime*); +int miqt_exec_callback_QTimeEdit_StepEnabled(void*, intptr_t); +void miqt_exec_callback_QTimeEdit_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTimeEdit_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QTimeEdit_InitStyleOption(void*, intptr_t, QStyleOptionSpinBox*); +void miqt_exec_callback_QDateEdit_UserDateChanged(intptr_t, QDate*); +QSize* miqt_exec_callback_QDateEdit_SizeHint(void*, intptr_t); +void miqt_exec_callback_QDateEdit_Clear(void*, intptr_t); +void miqt_exec_callback_QDateEdit_StepBy(void*, intptr_t, int); +bool miqt_exec_callback_QDateEdit_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDateEdit_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDateEdit_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QDateEdit_FocusInEvent(void*, intptr_t, QFocusEvent*); +bool miqt_exec_callback_QDateEdit_FocusNextPrevChild(void*, intptr_t, bool); +int miqt_exec_callback_QDateEdit_Validate(void*, intptr_t, struct miqt_string, int*); +void miqt_exec_callback_QDateEdit_Fixup(void*, intptr_t, struct miqt_string); +QDateTime* miqt_exec_callback_QDateEdit_DateTimeFromText(void*, intptr_t, struct miqt_string); +struct miqt_string miqt_exec_callback_QDateEdit_TextFromDateTime(void*, intptr_t, QDateTime*); +int miqt_exec_callback_QDateEdit_StepEnabled(void*, intptr_t); +void miqt_exec_callback_QDateEdit_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDateEdit_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QDateEdit_InitStyleOption(void*, intptr_t, QStyleOptionSpinBox*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQDateTimeEdit : public virtual QDateTimeEdit { public: diff --git a/qt6/gen_qdeadlinetimer.cpp b/qt6/gen_qdeadlinetimer.cpp index 19201dc8..99f291eb 100644 --- a/qt6/gen_qdeadlinetimer.cpp +++ b/qt6/gen_qdeadlinetimer.cpp @@ -2,10 +2,13 @@ #include #include "gen_qdeadlinetimer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QDeadlineTimer* QDeadlineTimer_new() { return new QDeadlineTimer(); diff --git a/qt6/gen_qdebug.cpp b/qt6/gen_qdebug.cpp index 8e91d357..e391aeae 100644 --- a/qt6/gen_qdebug.cpp +++ b/qt6/gen_qdebug.cpp @@ -12,10 +12,13 @@ #include #include "gen_qdebug.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QDebug* QDebug_new(QIODevice* device) { return new QDebug(device); diff --git a/qt6/gen_qdesktopservices.cpp b/qt6/gen_qdesktopservices.cpp index 0b40ece4..fd2d46f5 100644 --- a/qt6/gen_qdesktopservices.cpp +++ b/qt6/gen_qdesktopservices.cpp @@ -7,10 +7,13 @@ #include #include "gen_qdesktopservices.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" bool QDesktopServices_OpenUrl(QUrl* url) { return QDesktopServices::openUrl(*url); diff --git a/qt6/gen_qdial.cpp b/qt6/gen_qdial.cpp index 2761a2b7..b1dc06a4 100644 --- a/qt6/gen_qdial.cpp +++ b/qt6/gen_qdial.cpp @@ -19,10 +19,27 @@ #include #include "gen_qdial.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QDial_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QDial_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QDial_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDial_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QDial_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QDial_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDial_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDial_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDial_SliderChange(void*, intptr_t, int); +void miqt_exec_callback_QDial_InitStyleOption(void*, intptr_t, QStyleOptionSlider*); +void miqt_exec_callback_QDial_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDial_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QDial_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QDial_ChangeEvent(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQDial : public virtual QDial { public: diff --git a/qt6/gen_qdialog.cpp b/qt6/gen_qdialog.cpp index 18009a89..4f1fee21 100644 --- a/qt6/gen_qdialog.cpp +++ b/qt6/gen_qdialog.cpp @@ -35,10 +35,63 @@ #include #include "gen_qdialog.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QDialog_Finished(intptr_t, int); +void miqt_exec_callback_QDialog_Accepted(intptr_t); +void miqt_exec_callback_QDialog_Rejected(intptr_t); +void miqt_exec_callback_QDialog_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QDialog_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QDialog_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QDialog_Open(void*, intptr_t); +int miqt_exec_callback_QDialog_Exec(void*, intptr_t); +void miqt_exec_callback_QDialog_Done(void*, intptr_t, int); +void miqt_exec_callback_QDialog_Accept(void*, intptr_t); +void miqt_exec_callback_QDialog_Reject(void*, intptr_t); +void miqt_exec_callback_QDialog_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDialog_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QDialog_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QDialog_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QDialog_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QDialog_EventFilter(void*, intptr_t, QObject*, QEvent*); +int miqt_exec_callback_QDialog_DevType(void*, intptr_t); +int miqt_exec_callback_QDialog_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QDialog_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QDialog_PaintEngine(void*, intptr_t); +bool miqt_exec_callback_QDialog_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDialog_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDialog_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDialog_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDialog_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDialog_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QDialog_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDialog_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QDialog_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QDialog_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QDialog_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDialog_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QDialog_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QDialog_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QDialog_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QDialog_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QDialog_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QDialog_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QDialog_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QDialog_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QDialog_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +void miqt_exec_callback_QDialog_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QDialog_Metric(void*, intptr_t, int); +void miqt_exec_callback_QDialog_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QDialog_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QDialog_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QDialog_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QDialog_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QDialog_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQDialog : public virtual QDialog { public: diff --git a/qt6/gen_qdialogbuttonbox.cpp b/qt6/gen_qdialogbuttonbox.cpp index 486b8ee1..b5626baa 100644 --- a/qt6/gen_qdialogbuttonbox.cpp +++ b/qt6/gen_qdialogbuttonbox.cpp @@ -38,10 +38,58 @@ #include #include "gen_qdialogbuttonbox.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QDialogButtonBox_Clicked(intptr_t, QAbstractButton*); +void miqt_exec_callback_QDialogButtonBox_Accepted(intptr_t); +void miqt_exec_callback_QDialogButtonBox_HelpRequested(intptr_t); +void miqt_exec_callback_QDialogButtonBox_Rejected(intptr_t); +void miqt_exec_callback_QDialogButtonBox_ChangeEvent(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QDialogButtonBox_Event(void*, intptr_t, QEvent*); +int miqt_exec_callback_QDialogButtonBox_DevType(void*, intptr_t); +void miqt_exec_callback_QDialogButtonBox_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QDialogButtonBox_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QDialogButtonBox_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QDialogButtonBox_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QDialogButtonBox_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QDialogButtonBox_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QDialogButtonBox_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDialogButtonBox_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDialogButtonBox_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDialogButtonBox_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDialogButtonBox_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QDialogButtonBox_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDialogButtonBox_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDialogButtonBox_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QDialogButtonBox_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QDialogButtonBox_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QDialogButtonBox_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDialogButtonBox_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QDialogButtonBox_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QDialogButtonBox_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QDialogButtonBox_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QDialogButtonBox_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QDialogButtonBox_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QDialogButtonBox_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QDialogButtonBox_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QDialogButtonBox_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QDialogButtonBox_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QDialogButtonBox_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QDialogButtonBox_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QDialogButtonBox_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QDialogButtonBox_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +int miqt_exec_callback_QDialogButtonBox_Metric(void*, intptr_t, int); +void miqt_exec_callback_QDialogButtonBox_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QDialogButtonBox_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QDialogButtonBox_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QDialogButtonBox_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QDialogButtonBox_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QDialogButtonBox_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQDialogButtonBox : public virtual QDialogButtonBox { public: diff --git a/qt6/gen_qdir.cpp b/qt6/gen_qdir.cpp index c1a8c537..c3900513 100644 --- a/qt6/gen_qdir.cpp +++ b/qt6/gen_qdir.cpp @@ -8,10 +8,13 @@ #include #include "gen_qdir.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QDir* QDir_new(QDir* param1) { return new QDir(*param1); diff --git a/qt6/gen_qdiriterator.cpp b/qt6/gen_qdiriterator.cpp index 88c98216..c305bdb9 100644 --- a/qt6/gen_qdiriterator.cpp +++ b/qt6/gen_qdiriterator.cpp @@ -8,10 +8,13 @@ #include #include "gen_qdiriterator.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QDirIterator* QDirIterator_new(QDir* dir) { return new QDirIterator(*dir); diff --git a/qt6/gen_qdockwidget.cpp b/qt6/gen_qdockwidget.cpp index 28f49a8b..d34c966c 100644 --- a/qt6/gen_qdockwidget.cpp +++ b/qt6/gen_qdockwidget.cpp @@ -37,10 +37,60 @@ #include #include "gen_qdockwidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QDockWidget_FeaturesChanged(intptr_t, int); +void miqt_exec_callback_QDockWidget_TopLevelChanged(intptr_t, bool); +void miqt_exec_callback_QDockWidget_AllowedAreasChanged(intptr_t, int); +void miqt_exec_callback_QDockWidget_VisibilityChanged(intptr_t, bool); +void miqt_exec_callback_QDockWidget_DockLocationChanged(intptr_t, int); +void miqt_exec_callback_QDockWidget_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDockWidget_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QDockWidget_PaintEvent(void*, intptr_t, QPaintEvent*); +bool miqt_exec_callback_QDockWidget_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDockWidget_InitStyleOption(void*, intptr_t, QStyleOptionDockWidget*); +int miqt_exec_callback_QDockWidget_DevType(void*, intptr_t); +void miqt_exec_callback_QDockWidget_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QDockWidget_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QDockWidget_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QDockWidget_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QDockWidget_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QDockWidget_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QDockWidget_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDockWidget_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDockWidget_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDockWidget_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDockWidget_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QDockWidget_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDockWidget_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDockWidget_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QDockWidget_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QDockWidget_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QDockWidget_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDockWidget_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QDockWidget_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QDockWidget_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QDockWidget_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QDockWidget_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QDockWidget_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QDockWidget_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QDockWidget_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QDockWidget_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QDockWidget_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QDockWidget_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QDockWidget_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +int miqt_exec_callback_QDockWidget_Metric(void*, intptr_t, int); +void miqt_exec_callback_QDockWidget_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QDockWidget_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QDockWidget_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QDockWidget_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QDockWidget_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QDockWidget_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQDockWidget : public virtual QDockWidget { public: diff --git a/qt6/gen_qdrag.cpp b/qt6/gen_qdrag.cpp index aac350c9..88fa302a 100644 --- a/qt6/gen_qdrag.cpp +++ b/qt6/gen_qdrag.cpp @@ -14,10 +14,22 @@ #include #include "gen_qdrag.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QDrag_ActionChanged(intptr_t, int); +void miqt_exec_callback_QDrag_TargetChanged(intptr_t, QObject*); +bool miqt_exec_callback_QDrag_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QDrag_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QDrag_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QDrag_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QDrag_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDrag_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QDrag_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQDrag : public virtual QDrag { public: diff --git a/qt6/gen_qdrawutil.cpp b/qt6/gen_qdrawutil.cpp index 3f78c483..a4c6a62f 100644 --- a/qt6/gen_qdrawutil.cpp +++ b/qt6/gen_qdrawutil.cpp @@ -2,10 +2,13 @@ #include #include "gen_qdrawutil.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTileRules* QTileRules_new(int horizontalRule, int verticalRule) { return new QTileRules(static_cast(horizontalRule), static_cast(verticalRule)); diff --git a/qt6/gen_qeasingcurve.cpp b/qt6/gen_qeasingcurve.cpp index b9c99fd9..f767a942 100644 --- a/qt6/gen_qeasingcurve.cpp +++ b/qt6/gen_qeasingcurve.cpp @@ -4,10 +4,13 @@ #include #include "gen_qeasingcurve.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QEasingCurve* QEasingCurve_new() { return new QEasingCurve(); diff --git a/qt6/gen_qelapsedtimer.cpp b/qt6/gen_qelapsedtimer.cpp index 028c58d3..3eba6453 100644 --- a/qt6/gen_qelapsedtimer.cpp +++ b/qt6/gen_qelapsedtimer.cpp @@ -2,10 +2,13 @@ #include #include "gen_qelapsedtimer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QElapsedTimer* QElapsedTimer_new() { return new QElapsedTimer(); diff --git a/qt6/gen_qerrormessage.cpp b/qt6/gen_qerrormessage.cpp index 1d2e34cd..f08a548c 100644 --- a/qt6/gen_qerrormessage.cpp +++ b/qt6/gen_qerrormessage.cpp @@ -17,10 +17,28 @@ #include #include "gen_qerrormessage.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QErrorMessage_Done(void*, intptr_t, int); +void miqt_exec_callback_QErrorMessage_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QErrorMessage_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QErrorMessage_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QErrorMessage_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QErrorMessage_Open(void*, intptr_t); +int miqt_exec_callback_QErrorMessage_Exec(void*, intptr_t); +void miqt_exec_callback_QErrorMessage_Accept(void*, intptr_t); +void miqt_exec_callback_QErrorMessage_Reject(void*, intptr_t); +void miqt_exec_callback_QErrorMessage_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QErrorMessage_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QErrorMessage_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QErrorMessage_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QErrorMessage_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QErrorMessage_EventFilter(void*, intptr_t, QObject*, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQErrorMessage : public virtual QErrorMessage { public: diff --git a/qt6/gen_qevent.cpp b/qt6/gen_qevent.cpp index 92ecf257..eeb343dc 100644 --- a/qt6/gen_qevent.cpp +++ b/qt6/gen_qevent.cpp @@ -65,10 +65,110 @@ #include #include "gen_qevent.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QInputEvent* miqt_exec_callback_QInputEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QInputEvent_SetTimestamp(void*, intptr_t, unsigned long long); +void miqt_exec_callback_QInputEvent_SetAccepted(void*, intptr_t, bool); +QPointerEvent* miqt_exec_callback_QPointerEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QPointerEvent_SetTimestamp(void*, intptr_t, unsigned long long); +bool miqt_exec_callback_QPointerEvent_IsBeginEvent(void*, intptr_t); +bool miqt_exec_callback_QPointerEvent_IsUpdateEvent(void*, intptr_t); +bool miqt_exec_callback_QPointerEvent_IsEndEvent(void*, intptr_t); +void miqt_exec_callback_QPointerEvent_SetAccepted(void*, intptr_t, bool); +QEnterEvent* miqt_exec_callback_QEnterEvent_Clone(void*, intptr_t); +bool miqt_exec_callback_QEnterEvent_IsBeginEvent(void*, intptr_t); +bool miqt_exec_callback_QEnterEvent_IsUpdateEvent(void*, intptr_t); +bool miqt_exec_callback_QEnterEvent_IsEndEvent(void*, intptr_t); +QMouseEvent* miqt_exec_callback_QMouseEvent_Clone(void*, intptr_t); +bool miqt_exec_callback_QMouseEvent_IsBeginEvent(void*, intptr_t); +bool miqt_exec_callback_QMouseEvent_IsUpdateEvent(void*, intptr_t); +bool miqt_exec_callback_QMouseEvent_IsEndEvent(void*, intptr_t); +QHoverEvent* miqt_exec_callback_QHoverEvent_Clone(void*, intptr_t); +bool miqt_exec_callback_QHoverEvent_IsUpdateEvent(void*, intptr_t); +bool miqt_exec_callback_QHoverEvent_IsBeginEvent(void*, intptr_t); +bool miqt_exec_callback_QHoverEvent_IsEndEvent(void*, intptr_t); +QWheelEvent* miqt_exec_callback_QWheelEvent_Clone(void*, intptr_t); +bool miqt_exec_callback_QWheelEvent_IsBeginEvent(void*, intptr_t); +bool miqt_exec_callback_QWheelEvent_IsUpdateEvent(void*, intptr_t); +bool miqt_exec_callback_QWheelEvent_IsEndEvent(void*, intptr_t); +QTabletEvent* miqt_exec_callback_QTabletEvent_Clone(void*, intptr_t); +bool miqt_exec_callback_QTabletEvent_IsBeginEvent(void*, intptr_t); +bool miqt_exec_callback_QTabletEvent_IsUpdateEvent(void*, intptr_t); +bool miqt_exec_callback_QTabletEvent_IsEndEvent(void*, intptr_t); +QNativeGestureEvent* miqt_exec_callback_QNativeGestureEvent_Clone(void*, intptr_t); +bool miqt_exec_callback_QNativeGestureEvent_IsBeginEvent(void*, intptr_t); +bool miqt_exec_callback_QNativeGestureEvent_IsUpdateEvent(void*, intptr_t); +bool miqt_exec_callback_QNativeGestureEvent_IsEndEvent(void*, intptr_t); +QKeyEvent* miqt_exec_callback_QKeyEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QKeyEvent_SetTimestamp(void*, intptr_t, unsigned long long); +QFocusEvent* miqt_exec_callback_QFocusEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QFocusEvent_SetAccepted(void*, intptr_t, bool); +QPaintEvent* miqt_exec_callback_QPaintEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QPaintEvent_SetAccepted(void*, intptr_t, bool); +QMoveEvent* miqt_exec_callback_QMoveEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QMoveEvent_SetAccepted(void*, intptr_t, bool); +QExposeEvent* miqt_exec_callback_QExposeEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QExposeEvent_SetAccepted(void*, intptr_t, bool); +QPlatformSurfaceEvent* miqt_exec_callback_QPlatformSurfaceEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QPlatformSurfaceEvent_SetAccepted(void*, intptr_t, bool); +QResizeEvent* miqt_exec_callback_QResizeEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QResizeEvent_SetAccepted(void*, intptr_t, bool); +QCloseEvent* miqt_exec_callback_QCloseEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QCloseEvent_SetAccepted(void*, intptr_t, bool); +QIconDragEvent* miqt_exec_callback_QIconDragEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QIconDragEvent_SetAccepted(void*, intptr_t, bool); +QShowEvent* miqt_exec_callback_QShowEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QShowEvent_SetAccepted(void*, intptr_t, bool); +QHideEvent* miqt_exec_callback_QHideEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QHideEvent_SetAccepted(void*, intptr_t, bool); +QContextMenuEvent* miqt_exec_callback_QContextMenuEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QContextMenuEvent_SetTimestamp(void*, intptr_t, unsigned long long); +QInputMethodEvent* miqt_exec_callback_QInputMethodEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QInputMethodEvent_SetAccepted(void*, intptr_t, bool); +QInputMethodQueryEvent* miqt_exec_callback_QInputMethodQueryEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QInputMethodQueryEvent_SetAccepted(void*, intptr_t, bool); +QDropEvent* miqt_exec_callback_QDropEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QDropEvent_SetAccepted(void*, intptr_t, bool); +QDragMoveEvent* miqt_exec_callback_QDragMoveEvent_Clone(void*, intptr_t); +QDragEnterEvent* miqt_exec_callback_QDragEnterEvent_Clone(void*, intptr_t); +QDragLeaveEvent* miqt_exec_callback_QDragLeaveEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QDragLeaveEvent_SetAccepted(void*, intptr_t, bool); +QHelpEvent* miqt_exec_callback_QHelpEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QHelpEvent_SetAccepted(void*, intptr_t, bool); +QStatusTipEvent* miqt_exec_callback_QStatusTipEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QStatusTipEvent_SetAccepted(void*, intptr_t, bool); +QWhatsThisClickedEvent* miqt_exec_callback_QWhatsThisClickedEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QWhatsThisClickedEvent_SetAccepted(void*, intptr_t, bool); +QActionEvent* miqt_exec_callback_QActionEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QActionEvent_SetAccepted(void*, intptr_t, bool); +QFileOpenEvent* miqt_exec_callback_QFileOpenEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QFileOpenEvent_SetAccepted(void*, intptr_t, bool); +QToolBarChangeEvent* miqt_exec_callback_QToolBarChangeEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QToolBarChangeEvent_SetAccepted(void*, intptr_t, bool); +QShortcutEvent* miqt_exec_callback_QShortcutEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QShortcutEvent_SetAccepted(void*, intptr_t, bool); +QWindowStateChangeEvent* miqt_exec_callback_QWindowStateChangeEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QWindowStateChangeEvent_SetAccepted(void*, intptr_t, bool); +QTouchEvent* miqt_exec_callback_QTouchEvent_Clone(void*, intptr_t); +bool miqt_exec_callback_QTouchEvent_IsBeginEvent(void*, intptr_t); +bool miqt_exec_callback_QTouchEvent_IsUpdateEvent(void*, intptr_t); +bool miqt_exec_callback_QTouchEvent_IsEndEvent(void*, intptr_t); +void miqt_exec_callback_QTouchEvent_SetTimestamp(void*, intptr_t, unsigned long long); +void miqt_exec_callback_QTouchEvent_SetAccepted(void*, intptr_t, bool); +QScrollPrepareEvent* miqt_exec_callback_QScrollPrepareEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QScrollPrepareEvent_SetAccepted(void*, intptr_t, bool); +QScrollEvent* miqt_exec_callback_QScrollEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QScrollEvent_SetAccepted(void*, intptr_t, bool); +QScreenOrientationChangeEvent* miqt_exec_callback_QScreenOrientationChangeEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QScreenOrientationChangeEvent_SetAccepted(void*, intptr_t, bool); +QApplicationStateChangeEvent* miqt_exec_callback_QApplicationStateChangeEvent_Clone(void*, intptr_t); +void miqt_exec_callback_QApplicationStateChangeEvent_SetAccepted(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQInputEvent : public virtual QInputEvent { public: diff --git a/qt6/gen_qeventloop.cpp b/qt6/gen_qeventloop.cpp index 982c8bcb..4c13c936 100644 --- a/qt6/gen_qeventloop.cpp +++ b/qt6/gen_qeventloop.cpp @@ -13,10 +13,20 @@ #include #include "gen_qeventloop.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QEventLoop_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QEventLoop_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QEventLoop_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QEventLoop_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QEventLoop_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QEventLoop_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QEventLoop_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQEventLoop : public virtual QEventLoop { public: diff --git a/qt6/gen_qeventpoint.cpp b/qt6/gen_qeventpoint.cpp index fc5c77cf..643148ba 100644 --- a/qt6/gen_qeventpoint.cpp +++ b/qt6/gen_qeventpoint.cpp @@ -7,10 +7,13 @@ #include #include "gen_qeventpoint.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QEventPoint* QEventPoint_new() { return new QEventPoint(); diff --git a/qt6/gen_qfactoryinterface.cpp b/qt6/gen_qfactoryinterface.cpp index 02e6dd7b..a64a4cd3 100644 --- a/qt6/gen_qfactoryinterface.cpp +++ b/qt6/gen_qfactoryinterface.cpp @@ -6,10 +6,13 @@ #include #include "gen_qfactoryinterface.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" struct miqt_array /* of struct miqt_string */ QFactoryInterface_Keys(const QFactoryInterface* self) { QStringList _ret = self->keys(); diff --git a/qt6/gen_qfile.cpp b/qt6/gen_qfile.cpp index 913735eb..5c8f5693 100644 --- a/qt6/gen_qfile.cpp +++ b/qt6/gen_qfile.cpp @@ -11,10 +11,27 @@ #include #include "gen_qfile.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +struct miqt_string miqt_exec_callback_QFile_FileName(void*, intptr_t); +bool miqt_exec_callback_QFile_Open(void*, intptr_t, int); +long long miqt_exec_callback_QFile_Size(void*, intptr_t); +bool miqt_exec_callback_QFile_Resize(void*, intptr_t, long long); +int miqt_exec_callback_QFile_Permissions(void*, intptr_t); +bool miqt_exec_callback_QFile_SetPermissions(void*, intptr_t, int); +void miqt_exec_callback_QFile_Close(void*, intptr_t); +bool miqt_exec_callback_QFile_IsSequential(void*, intptr_t); +long long miqt_exec_callback_QFile_Pos(void*, intptr_t); +bool miqt_exec_callback_QFile_Seek(void*, intptr_t, long long); +bool miqt_exec_callback_QFile_AtEnd(void*, intptr_t); +long long miqt_exec_callback_QFile_ReadData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QFile_WriteData(void*, intptr_t, const char*, long long); +long long miqt_exec_callback_QFile_ReadLineData(void*, intptr_t, char*, long long); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQFile : public virtual QFile { public: diff --git a/qt6/gen_qfiledevice.cpp b/qt6/gen_qfiledevice.cpp index 01c17f03..60c80508 100644 --- a/qt6/gen_qfiledevice.cpp +++ b/qt6/gen_qfiledevice.cpp @@ -10,10 +10,13 @@ #include #include "gen_qfiledevice.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QFileDevice_virtbase(QFileDevice* src, QIODevice** outptr_QIODevice) { *outptr_QIODevice = static_cast(src); diff --git a/qt6/gen_qfiledialog.cpp b/qt6/gen_qfiledialog.cpp index 8a1c9592..4a777bc7 100644 --- a/qt6/gen_qfiledialog.cpp +++ b/qt6/gen_qfiledialog.cpp @@ -24,10 +24,37 @@ #include #include "gen_qfiledialog.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QFileDialog_FileSelected(intptr_t, struct miqt_string); +void miqt_exec_callback_QFileDialog_FilesSelected(intptr_t, struct miqt_array /* of struct miqt_string */ ); +void miqt_exec_callback_QFileDialog_CurrentChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QFileDialog_DirectoryEntered(intptr_t, struct miqt_string); +void miqt_exec_callback_QFileDialog_UrlSelected(intptr_t, QUrl*); +void miqt_exec_callback_QFileDialog_UrlsSelected(intptr_t, struct miqt_array /* of QUrl* */ ); +void miqt_exec_callback_QFileDialog_CurrentUrlChanged(intptr_t, QUrl*); +void miqt_exec_callback_QFileDialog_DirectoryUrlEntered(intptr_t, QUrl*); +void miqt_exec_callback_QFileDialog_FilterSelected(intptr_t, struct miqt_string); +void miqt_exec_callback_QFileDialog_SetVisible(void*, intptr_t, bool); +void miqt_exec_callback_QFileDialog_Done(void*, intptr_t, int); +void miqt_exec_callback_QFileDialog_Accept(void*, intptr_t); +void miqt_exec_callback_QFileDialog_ChangeEvent(void*, intptr_t, QEvent*); +QSize* miqt_exec_callback_QFileDialog_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QFileDialog_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QFileDialog_Open(void*, intptr_t); +int miqt_exec_callback_QFileDialog_Exec(void*, intptr_t); +void miqt_exec_callback_QFileDialog_Reject(void*, intptr_t); +void miqt_exec_callback_QFileDialog_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QFileDialog_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QFileDialog_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QFileDialog_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QFileDialog_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QFileDialog_EventFilter(void*, intptr_t, QObject*, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQFileDialog : public virtual QFileDialog { public: diff --git a/qt6/gen_qfileiconprovider.cpp b/qt6/gen_qfileiconprovider.cpp index 307437bb..203d294d 100644 --- a/qt6/gen_qfileiconprovider.cpp +++ b/qt6/gen_qfileiconprovider.cpp @@ -8,10 +8,18 @@ #include #include "gen_qfileiconprovider.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QIcon* miqt_exec_callback_QFileIconProvider_Icon(void*, intptr_t, int); +QIcon* miqt_exec_callback_QFileIconProvider_IconWithInfo(void*, intptr_t, QFileInfo*); +struct miqt_string miqt_exec_callback_QFileIconProvider_Type(void*, intptr_t, QFileInfo*); +void miqt_exec_callback_QFileIconProvider_SetOptions(void*, intptr_t, int); +int miqt_exec_callback_QFileIconProvider_Options(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQFileIconProvider : public virtual QFileIconProvider { public: diff --git a/qt6/gen_qfileinfo.cpp b/qt6/gen_qfileinfo.cpp index d176e3df..9550af64 100644 --- a/qt6/gen_qfileinfo.cpp +++ b/qt6/gen_qfileinfo.cpp @@ -8,10 +8,13 @@ #include #include "gen_qfileinfo.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QFileInfo* QFileInfo_new() { return new QFileInfo(); diff --git a/qt6/gen_qfileselector.cpp b/qt6/gen_qfileselector.cpp index e43ff42a..684fc699 100644 --- a/qt6/gen_qfileselector.cpp +++ b/qt6/gen_qfileselector.cpp @@ -13,10 +13,20 @@ #include #include "gen_qfileselector.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QFileSelector_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QFileSelector_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QFileSelector_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QFileSelector_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QFileSelector_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QFileSelector_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QFileSelector_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQFileSelector : public virtual QFileSelector { public: diff --git a/qt6/gen_qfilesystemmodel.cpp b/qt6/gen_qfilesystemmodel.cpp index 7aad19ea..53513d01 100644 --- a/qt6/gen_qfilesystemmodel.cpp +++ b/qt6/gen_qfilesystemmodel.cpp @@ -23,10 +23,55 @@ #include #include "gen_qfilesystemmodel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QFileSystemModel_RootPathChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QFileSystemModel_FileRenamed(intptr_t, struct miqt_string, struct miqt_string, struct miqt_string); +void miqt_exec_callback_QFileSystemModel_DirectoryLoaded(intptr_t, struct miqt_string); +QModelIndex* miqt_exec_callback_QFileSystemModel_Index(void*, intptr_t, int, int, QModelIndex*); +QModelIndex* miqt_exec_callback_QFileSystemModel_Parent(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QFileSystemModel_Sibling(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QFileSystemModel_HasChildren(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QFileSystemModel_CanFetchMore(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QFileSystemModel_FetchMore(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QFileSystemModel_RowCount(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QFileSystemModel_ColumnCount(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QFileSystemModel_Data(void*, intptr_t, QModelIndex*, int); +bool miqt_exec_callback_QFileSystemModel_SetData(void*, intptr_t, QModelIndex*, QVariant*, int); +QVariant* miqt_exec_callback_QFileSystemModel_HeaderData(void*, intptr_t, int, int, int); +int miqt_exec_callback_QFileSystemModel_Flags(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QFileSystemModel_Sort(void*, intptr_t, int, int); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QFileSystemModel_MimeTypes(void*, intptr_t); +QMimeData* miqt_exec_callback_QFileSystemModel_MimeData(void*, intptr_t, struct miqt_array /* of QModelIndex* */ ); +bool miqt_exec_callback_QFileSystemModel_DropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +int miqt_exec_callback_QFileSystemModel_SupportedDropActions(void*, intptr_t); +struct miqt_map /* of int to struct miqt_string */ miqt_exec_callback_QFileSystemModel_RoleNames(void*, intptr_t); +void miqt_exec_callback_QFileSystemModel_TimerEvent(void*, intptr_t, QTimerEvent*); +bool miqt_exec_callback_QFileSystemModel_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QFileSystemModel_SetHeaderData(void*, intptr_t, int, int, QVariant*, int); +struct miqt_map /* of int to QVariant* */ miqt_exec_callback_QFileSystemModel_ItemData(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QFileSystemModel_SetItemData(void*, intptr_t, QModelIndex*, struct miqt_map /* of int to QVariant* */ ); +bool miqt_exec_callback_QFileSystemModel_ClearItemData(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QFileSystemModel_CanDropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +int miqt_exec_callback_QFileSystemModel_SupportedDragActions(void*, intptr_t); +bool miqt_exec_callback_QFileSystemModel_InsertRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QFileSystemModel_InsertColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QFileSystemModel_RemoveRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QFileSystemModel_RemoveColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QFileSystemModel_MoveRows(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +bool miqt_exec_callback_QFileSystemModel_MoveColumns(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +QModelIndex* miqt_exec_callback_QFileSystemModel_Buddy(void*, intptr_t, QModelIndex*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QFileSystemModel_Match(void*, intptr_t, QModelIndex*, int, QVariant*, int, int); +QSize* miqt_exec_callback_QFileSystemModel_Span(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QFileSystemModel_MultiData(void*, intptr_t, QModelIndex*, QModelRoleDataSpan*); +bool miqt_exec_callback_QFileSystemModel_Submit(void*, intptr_t); +void miqt_exec_callback_QFileSystemModel_Revert(void*, intptr_t); +void miqt_exec_callback_QFileSystemModel_ResetInternalData(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQFileSystemModel : public virtual QFileSystemModel { public: diff --git a/qt6/gen_qfilesystemwatcher.cpp b/qt6/gen_qfilesystemwatcher.cpp index 0fde44ed..648177c5 100644 --- a/qt6/gen_qfilesystemwatcher.cpp +++ b/qt6/gen_qfilesystemwatcher.cpp @@ -12,10 +12,20 @@ #include #include "gen_qfilesystemwatcher.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QFileSystemWatcher_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QFileSystemWatcher_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QFileSystemWatcher_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QFileSystemWatcher_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QFileSystemWatcher_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QFileSystemWatcher_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QFileSystemWatcher_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQFileSystemWatcher : public virtual QFileSystemWatcher { public: diff --git a/qt6/gen_qfloat16.cpp b/qt6/gen_qfloat16.cpp index ba0846f5..2ae05f3d 100644 --- a/qt6/gen_qfloat16.cpp +++ b/qt6/gen_qfloat16.cpp @@ -1,10 +1,13 @@ #include #include "gen_qfloat16.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" qfloat16* qfloat16_new() { return new qfloat16(); diff --git a/qt6/gen_qfocusframe.cpp b/qt6/gen_qfocusframe.cpp index 1d329b3b..0284ca0f 100644 --- a/qt6/gen_qfocusframe.cpp +++ b/qt6/gen_qfocusframe.cpp @@ -36,10 +36,56 @@ #include #include "gen_qfocusframe.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QFocusFrame_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QFocusFrame_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QFocusFrame_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QFocusFrame_InitStyleOption(void*, intptr_t, QStyleOption*); +int miqt_exec_callback_QFocusFrame_DevType(void*, intptr_t); +void miqt_exec_callback_QFocusFrame_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QFocusFrame_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QFocusFrame_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QFocusFrame_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QFocusFrame_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QFocusFrame_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QFocusFrame_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QFocusFrame_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QFocusFrame_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QFocusFrame_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QFocusFrame_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QFocusFrame_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QFocusFrame_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QFocusFrame_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QFocusFrame_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QFocusFrame_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QFocusFrame_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QFocusFrame_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QFocusFrame_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QFocusFrame_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QFocusFrame_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QFocusFrame_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QFocusFrame_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QFocusFrame_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QFocusFrame_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QFocusFrame_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QFocusFrame_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QFocusFrame_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QFocusFrame_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QFocusFrame_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +void miqt_exec_callback_QFocusFrame_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QFocusFrame_Metric(void*, intptr_t, int); +void miqt_exec_callback_QFocusFrame_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QFocusFrame_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QFocusFrame_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QFocusFrame_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QFocusFrame_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QFocusFrame_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQFocusFrame : public virtual QFocusFrame { public: diff --git a/qt6/gen_qfont.cpp b/qt6/gen_qfont.cpp index efbc1edc..3c4ac35b 100644 --- a/qt6/gen_qfont.cpp +++ b/qt6/gen_qfont.cpp @@ -8,10 +8,13 @@ #include #include "gen_qfont.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QFont* QFont_new() { return new QFont(); diff --git a/qt6/gen_qfontcombobox.cpp b/qt6/gen_qfontcombobox.cpp index ddec71f0..7778d71f 100644 --- a/qt6/gen_qfontcombobox.cpp +++ b/qt6/gen_qfontcombobox.cpp @@ -26,10 +26,36 @@ #include #include "gen_qfontcombobox.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QFontComboBox_CurrentFontChanged(intptr_t, QFont*); +QSize* miqt_exec_callback_QFontComboBox_SizeHint(void*, intptr_t); +bool miqt_exec_callback_QFontComboBox_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QFontComboBox_SetModel(void*, intptr_t, QAbstractItemModel*); +QSize* miqt_exec_callback_QFontComboBox_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QFontComboBox_ShowPopup(void*, intptr_t); +void miqt_exec_callback_QFontComboBox_HidePopup(void*, intptr_t); +QVariant* miqt_exec_callback_QFontComboBox_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QFontComboBox_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QFontComboBox_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QFontComboBox_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QFontComboBox_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QFontComboBox_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QFontComboBox_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QFontComboBox_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QFontComboBox_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QFontComboBox_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QFontComboBox_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QFontComboBox_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QFontComboBox_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QFontComboBox_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QFontComboBox_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +void miqt_exec_callback_QFontComboBox_InitStyleOption(void*, intptr_t, QStyleOptionComboBox*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQFontComboBox : public virtual QFontComboBox { public: diff --git a/qt6/gen_qfontdatabase.cpp b/qt6/gen_qfontdatabase.cpp index d3ef5493..9a6cb05e 100644 --- a/qt6/gen_qfontdatabase.cpp +++ b/qt6/gen_qfontdatabase.cpp @@ -9,10 +9,13 @@ #include #include "gen_qfontdatabase.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QFontDatabase* QFontDatabase_new() { return new QFontDatabase(); diff --git a/qt6/gen_qfontdialog.cpp b/qt6/gen_qfontdialog.cpp index ebcf4226..63112eed 100644 --- a/qt6/gen_qfontdialog.cpp +++ b/qt6/gen_qfontdialog.cpp @@ -18,10 +18,30 @@ #include #include "gen_qfontdialog.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QFontDialog_CurrentFontChanged(intptr_t, QFont*); +void miqt_exec_callback_QFontDialog_FontSelected(intptr_t, QFont*); +void miqt_exec_callback_QFontDialog_SetVisible(void*, intptr_t, bool); +void miqt_exec_callback_QFontDialog_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QFontDialog_Done(void*, intptr_t, int); +bool miqt_exec_callback_QFontDialog_EventFilter(void*, intptr_t, QObject*, QEvent*); +QSize* miqt_exec_callback_QFontDialog_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QFontDialog_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QFontDialog_Open(void*, intptr_t); +int miqt_exec_callback_QFontDialog_Exec(void*, intptr_t); +void miqt_exec_callback_QFontDialog_Accept(void*, intptr_t); +void miqt_exec_callback_QFontDialog_Reject(void*, intptr_t); +void miqt_exec_callback_QFontDialog_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QFontDialog_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QFontDialog_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QFontDialog_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QFontDialog_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQFontDialog : public virtual QFontDialog { public: diff --git a/qt6/gen_qfontinfo.cpp b/qt6/gen_qfontinfo.cpp index 66a2d044..1189a1ae 100644 --- a/qt6/gen_qfontinfo.cpp +++ b/qt6/gen_qfontinfo.cpp @@ -6,10 +6,13 @@ #include #include "gen_qfontinfo.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QFontInfo* QFontInfo_new(QFont* param1) { return new QFontInfo(*param1); diff --git a/qt6/gen_qfontmetrics.cpp b/qt6/gen_qfontmetrics.cpp index 79852479..d863ea81 100644 --- a/qt6/gen_qfontmetrics.cpp +++ b/qt6/gen_qfontmetrics.cpp @@ -14,10 +14,13 @@ #include #include "gen_qfontmetrics.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QFontMetrics* QFontMetrics_new(QFont* param1) { return new QFontMetrics(*param1); diff --git a/qt6/gen_qformlayout.cpp b/qt6/gen_qformlayout.cpp index de100fd6..27c2ce6a 100644 --- a/qt6/gen_qformlayout.cpp +++ b/qt6/gen_qformlayout.cpp @@ -14,10 +14,34 @@ #include #include "gen_qformlayout.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QFormLayout_Spacing(void*, intptr_t); +void miqt_exec_callback_QFormLayout_SetSpacing(void*, intptr_t, int); +void miqt_exec_callback_QFormLayout_AddItem(void*, intptr_t, QLayoutItem*); +QLayoutItem* miqt_exec_callback_QFormLayout_ItemAtWithIndex(void*, intptr_t, int); +QLayoutItem* miqt_exec_callback_QFormLayout_TakeAt(void*, intptr_t, int); +void miqt_exec_callback_QFormLayout_SetGeometry(void*, intptr_t, QRect*); +QSize* miqt_exec_callback_QFormLayout_MinimumSize(void*, intptr_t); +QSize* miqt_exec_callback_QFormLayout_SizeHint(void*, intptr_t); +void miqt_exec_callback_QFormLayout_Invalidate(void*, intptr_t); +bool miqt_exec_callback_QFormLayout_HasHeightForWidth(void*, intptr_t); +int miqt_exec_callback_QFormLayout_HeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QFormLayout_ExpandingDirections(void*, intptr_t); +int miqt_exec_callback_QFormLayout_Count(void*, intptr_t); +QRect* miqt_exec_callback_QFormLayout_Geometry(void*, intptr_t); +QSize* miqt_exec_callback_QFormLayout_MaximumSize(void*, intptr_t); +int miqt_exec_callback_QFormLayout_IndexOf(void*, intptr_t, QWidget*); +bool miqt_exec_callback_QFormLayout_IsEmpty(void*, intptr_t); +int miqt_exec_callback_QFormLayout_ControlTypes(void*, intptr_t); +QLayoutItem* miqt_exec_callback_QFormLayout_ReplaceWidget(void*, intptr_t, QWidget*, QWidget*, int); +QLayout* miqt_exec_callback_QFormLayout_Layout(void*, intptr_t); +void miqt_exec_callback_QFormLayout_ChildEvent(void*, intptr_t, QChildEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQFormLayout : public virtual QFormLayout { public: diff --git a/qt6/gen_qframe.cpp b/qt6/gen_qframe.cpp index 3fb22f47..d2275f96 100644 --- a/qt6/gen_qframe.cpp +++ b/qt6/gen_qframe.cpp @@ -37,10 +37,55 @@ #include #include "gen_qframe.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QFrame_SizeHint(void*, intptr_t); +bool miqt_exec_callback_QFrame_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QFrame_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QFrame_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QFrame_InitStyleOption(void*, intptr_t, QStyleOptionFrame*); +int miqt_exec_callback_QFrame_DevType(void*, intptr_t); +void miqt_exec_callback_QFrame_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QFrame_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QFrame_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QFrame_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QFrame_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QFrame_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QFrame_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QFrame_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QFrame_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QFrame_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QFrame_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QFrame_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QFrame_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QFrame_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QFrame_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QFrame_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QFrame_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QFrame_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QFrame_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QFrame_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QFrame_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QFrame_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QFrame_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QFrame_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QFrame_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QFrame_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QFrame_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QFrame_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QFrame_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +int miqt_exec_callback_QFrame_Metric(void*, intptr_t, int); +void miqt_exec_callback_QFrame_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QFrame_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QFrame_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QFrame_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QFrame_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QFrame_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQFrame : public virtual QFrame { public: diff --git a/qt6/gen_qfutureinterface.cpp b/qt6/gen_qfutureinterface.cpp index e051ae7d..180888de 100644 --- a/qt6/gen_qfutureinterface.cpp +++ b/qt6/gen_qfutureinterface.cpp @@ -8,10 +8,13 @@ #include #include "gen_qfutureinterface.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QFutureInterfaceBase* QFutureInterfaceBase_new() { return new QFutureInterfaceBase(); diff --git a/qt6/gen_qfuturewatcher.cpp b/qt6/gen_qfuturewatcher.cpp index dd1a6cf7..b4c3e346 100644 --- a/qt6/gen_qfuturewatcher.cpp +++ b/qt6/gen_qfuturewatcher.cpp @@ -9,10 +9,25 @@ #include #include "gen_qfuturewatcher.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QFutureWatcherBase_Started(intptr_t); +void miqt_exec_callback_QFutureWatcherBase_Finished(intptr_t); +void miqt_exec_callback_QFutureWatcherBase_Canceled(intptr_t); +void miqt_exec_callback_QFutureWatcherBase_Paused(intptr_t); +void miqt_exec_callback_QFutureWatcherBase_Suspending(intptr_t); +void miqt_exec_callback_QFutureWatcherBase_Suspended(intptr_t); +void miqt_exec_callback_QFutureWatcherBase_Resumed(intptr_t); +void miqt_exec_callback_QFutureWatcherBase_ResultReadyAt(intptr_t, int); +void miqt_exec_callback_QFutureWatcherBase_ResultsReadyAt(intptr_t, int, int); +void miqt_exec_callback_QFutureWatcherBase_ProgressRangeChanged(intptr_t, int, int); +void miqt_exec_callback_QFutureWatcherBase_ProgressValueChanged(intptr_t, int); +void miqt_exec_callback_QFutureWatcherBase_ProgressTextChanged(intptr_t, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QFutureWatcherBase_virtbase(QFutureWatcherBase* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt6/gen_qgenericplugin.cpp b/qt6/gen_qgenericplugin.cpp index e1bd87cb..dba48166 100644 --- a/qt6/gen_qgenericplugin.cpp +++ b/qt6/gen_qgenericplugin.cpp @@ -11,10 +11,21 @@ #include #include "gen_qgenericplugin.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QObject* miqt_exec_callback_QGenericPlugin_Create(void*, intptr_t, struct miqt_string, struct miqt_string); +bool miqt_exec_callback_QGenericPlugin_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QGenericPlugin_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QGenericPlugin_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QGenericPlugin_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QGenericPlugin_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGenericPlugin_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QGenericPlugin_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGenericPlugin : public virtual QGenericPlugin { public: diff --git a/qt6/gen_qgenericpluginfactory.cpp b/qt6/gen_qgenericpluginfactory.cpp index 73aaf5fe..b4f6fd64 100644 --- a/qt6/gen_qgenericpluginfactory.cpp +++ b/qt6/gen_qgenericpluginfactory.cpp @@ -7,10 +7,13 @@ #include #include "gen_qgenericpluginfactory.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" struct miqt_array /* of struct miqt_string */ QGenericPluginFactory_Keys() { QStringList _ret = QGenericPluginFactory::keys(); diff --git a/qt6/gen_qgesture.cpp b/qt6/gen_qgesture.cpp index 1195eff9..b3e455d7 100644 --- a/qt6/gen_qgesture.cpp +++ b/qt6/gen_qgesture.cpp @@ -20,10 +20,22 @@ #include #include "gen_qgesture.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QGesture_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QGesture_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QGesture_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QGesture_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QGesture_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGesture_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QGesture_DisconnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QGestureEvent_SetAccepted(void*, intptr_t, bool); +QEvent* miqt_exec_callback_QGestureEvent_Clone(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGesture : public virtual QGesture { public: diff --git a/qt6/gen_qgesturerecognizer.cpp b/qt6/gen_qgesturerecognizer.cpp index 328fc7c3..fff91da3 100644 --- a/qt6/gen_qgesturerecognizer.cpp +++ b/qt6/gen_qgesturerecognizer.cpp @@ -5,10 +5,16 @@ #include #include "gen_qgesturerecognizer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QGesture* miqt_exec_callback_QGestureRecognizer_Create(void*, intptr_t, QObject*); +int miqt_exec_callback_QGestureRecognizer_Recognize(void*, intptr_t, QGesture*, QObject*, QEvent*); +void miqt_exec_callback_QGestureRecognizer_Reset(void*, intptr_t, QGesture*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGestureRecognizer : public virtual QGestureRecognizer { public: diff --git a/qt6/gen_qglobal.cpp b/qt6/gen_qglobal.cpp index 051bd029..348a2f52 100644 --- a/qt6/gen_qglobal.cpp +++ b/qt6/gen_qglobal.cpp @@ -1,8 +1,11 @@ #include #include "gen_qglobal.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" diff --git a/qt6/gen_qglyphrun.cpp b/qt6/gen_qglyphrun.cpp index bc6e965a..bef9f492 100644 --- a/qt6/gen_qglyphrun.cpp +++ b/qt6/gen_qglyphrun.cpp @@ -6,10 +6,13 @@ #include #include "gen_qglyphrun.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QGlyphRun* QGlyphRun_new() { return new QGlyphRun(); diff --git a/qt6/gen_qgraphicsanchorlayout.cpp b/qt6/gen_qgraphicsanchorlayout.cpp index 5ee71c47..15e1d51e 100644 --- a/qt6/gen_qgraphicsanchorlayout.cpp +++ b/qt6/gen_qgraphicsanchorlayout.cpp @@ -13,10 +13,22 @@ #include #include "gen_qgraphicsanchorlayout.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsAnchorLayout_RemoveAt(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsAnchorLayout_SetGeometry(void*, intptr_t, QRectF*); +int miqt_exec_callback_QGraphicsAnchorLayout_Count(void*, intptr_t); +QGraphicsLayoutItem* miqt_exec_callback_QGraphicsAnchorLayout_ItemAt(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsAnchorLayout_Invalidate(void*, intptr_t); +QSizeF* miqt_exec_callback_QGraphicsAnchorLayout_SizeHint(void*, intptr_t, int, QSizeF*); +void miqt_exec_callback_QGraphicsAnchorLayout_GetContentsMargins(void*, intptr_t, double*, double*, double*, double*); +void miqt_exec_callback_QGraphicsAnchorLayout_UpdateGeometry(void*, intptr_t); +void miqt_exec_callback_QGraphicsAnchorLayout_WidgetEvent(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QGraphicsAnchor_virtbase(QGraphicsAnchor* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt6/gen_qgraphicseffect.cpp b/qt6/gen_qgraphicseffect.cpp index 994d4129..2eddc7d3 100644 --- a/qt6/gen_qgraphicseffect.cpp +++ b/qt6/gen_qgraphicseffect.cpp @@ -20,10 +20,45 @@ #include #include "gen_qgraphicseffect.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsEffect_EnabledChanged(intptr_t, bool); +QRectF* miqt_exec_callback_QGraphicsEffect_BoundingRectFor(void*, intptr_t, QRectF*); +void miqt_exec_callback_QGraphicsEffect_Draw(void*, intptr_t, QPainter*); +void miqt_exec_callback_QGraphicsEffect_SourceChanged(void*, intptr_t, int); +bool miqt_exec_callback_QGraphicsEffect_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QGraphicsEffect_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QGraphicsEffect_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QGraphicsEffect_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QGraphicsEffect_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsEffect_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QGraphicsEffect_DisconnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QGraphicsColorizeEffect_ColorChanged(intptr_t, QColor*); +void miqt_exec_callback_QGraphicsColorizeEffect_StrengthChanged(intptr_t, double); +void miqt_exec_callback_QGraphicsColorizeEffect_Draw(void*, intptr_t, QPainter*); +QRectF* miqt_exec_callback_QGraphicsColorizeEffect_BoundingRectFor(void*, intptr_t, QRectF*); +void miqt_exec_callback_QGraphicsColorizeEffect_SourceChanged(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsBlurEffect_BlurRadiusChanged(intptr_t, double); +void miqt_exec_callback_QGraphicsBlurEffect_BlurHintsChanged(intptr_t, int); +QRectF* miqt_exec_callback_QGraphicsBlurEffect_BoundingRectFor(void*, intptr_t, QRectF*); +void miqt_exec_callback_QGraphicsBlurEffect_Draw(void*, intptr_t, QPainter*); +void miqt_exec_callback_QGraphicsBlurEffect_SourceChanged(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsDropShadowEffect_OffsetChanged(intptr_t, QPointF*); +void miqt_exec_callback_QGraphicsDropShadowEffect_BlurRadiusChanged(intptr_t, double); +void miqt_exec_callback_QGraphicsDropShadowEffect_ColorChanged(intptr_t, QColor*); +QRectF* miqt_exec_callback_QGraphicsDropShadowEffect_BoundingRectFor(void*, intptr_t, QRectF*); +void miqt_exec_callback_QGraphicsDropShadowEffect_Draw(void*, intptr_t, QPainter*); +void miqt_exec_callback_QGraphicsDropShadowEffect_SourceChanged(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsOpacityEffect_OpacityChanged(intptr_t, double); +void miqt_exec_callback_QGraphicsOpacityEffect_OpacityMaskChanged(intptr_t, QBrush*); +void miqt_exec_callback_QGraphicsOpacityEffect_Draw(void*, intptr_t, QPainter*); +QRectF* miqt_exec_callback_QGraphicsOpacityEffect_BoundingRectFor(void*, intptr_t, QRectF*); +void miqt_exec_callback_QGraphicsOpacityEffect_SourceChanged(void*, intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsEffect : public virtual QGraphicsEffect { public: diff --git a/qt6/gen_qgraphicsgridlayout.cpp b/qt6/gen_qgraphicsgridlayout.cpp index a00036c4..7498121f 100644 --- a/qt6/gen_qgraphicsgridlayout.cpp +++ b/qt6/gen_qgraphicsgridlayout.cpp @@ -7,10 +7,22 @@ #include #include "gen_qgraphicsgridlayout.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QGraphicsGridLayout_Count(void*, intptr_t); +QGraphicsLayoutItem* miqt_exec_callback_QGraphicsGridLayout_ItemAtWithIndex(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsGridLayout_RemoveAt(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsGridLayout_Invalidate(void*, intptr_t); +void miqt_exec_callback_QGraphicsGridLayout_SetGeometry(void*, intptr_t, QRectF*); +QSizeF* miqt_exec_callback_QGraphicsGridLayout_SizeHint(void*, intptr_t, int, QSizeF*); +void miqt_exec_callback_QGraphicsGridLayout_GetContentsMargins(void*, intptr_t, double*, double*, double*, double*); +void miqt_exec_callback_QGraphicsGridLayout_UpdateGeometry(void*, intptr_t); +void miqt_exec_callback_QGraphicsGridLayout_WidgetEvent(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsGridLayout : public virtual QGraphicsGridLayout { public: diff --git a/qt6/gen_qgraphicsitem.cpp b/qt6/gen_qgraphicsitem.cpp index 43e73950..3ecdfdc2 100644 --- a/qt6/gen_qgraphicsitem.cpp +++ b/qt6/gen_qgraphicsitem.cpp @@ -54,10 +54,324 @@ #include #include "gen_qgraphicsitem.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsItem_Advance(void*, intptr_t, int); +QRectF* miqt_exec_callback_QGraphicsItem_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsItem_Shape(void*, intptr_t); +bool miqt_exec_callback_QGraphicsItem_Contains(void*, intptr_t, QPointF*); +bool miqt_exec_callback_QGraphicsItem_CollidesWithItem(void*, intptr_t, QGraphicsItem*, int); +bool miqt_exec_callback_QGraphicsItem_CollidesWithPath(void*, intptr_t, QPainterPath*, int); +bool miqt_exec_callback_QGraphicsItem_IsObscuredBy(void*, intptr_t, QGraphicsItem*); +QPainterPath* miqt_exec_callback_QGraphicsItem_OpaqueArea(void*, intptr_t); +void miqt_exec_callback_QGraphicsItem_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +int miqt_exec_callback_QGraphicsItem_Type(void*, intptr_t); +bool miqt_exec_callback_QGraphicsItem_SceneEventFilter(void*, intptr_t, QGraphicsItem*, QEvent*); +bool miqt_exec_callback_QGraphicsItem_SceneEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsItem_ContextMenuEvent(void*, intptr_t, QGraphicsSceneContextMenuEvent*); +void miqt_exec_callback_QGraphicsItem_DragEnterEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsItem_DragLeaveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsItem_DragMoveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsItem_DropEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsItem_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsItem_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsItem_HoverEnterEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsItem_HoverMoveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsItem_HoverLeaveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsItem_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsItem_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsItem_MousePressEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsItem_MouseMoveEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsItem_MouseReleaseEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsItem_MouseDoubleClickEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsItem_WheelEvent(void*, intptr_t, QGraphicsSceneWheelEvent*); +void miqt_exec_callback_QGraphicsItem_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QGraphicsItem_InputMethodQuery(void*, intptr_t, int); +QVariant* miqt_exec_callback_QGraphicsItem_ItemChange(void*, intptr_t, int, QVariant*); +bool miqt_exec_callback_QGraphicsItem_SupportsExtension(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsItem_SetExtension(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QGraphicsItem_Extension(void*, intptr_t, QVariant*); +void miqt_exec_callback_QGraphicsObject_ParentChanged(intptr_t); +void miqt_exec_callback_QGraphicsObject_OpacityChanged(intptr_t); +void miqt_exec_callback_QGraphicsObject_VisibleChanged(intptr_t); +void miqt_exec_callback_QGraphicsObject_EnabledChanged(intptr_t); +void miqt_exec_callback_QGraphicsObject_XChanged(intptr_t); +void miqt_exec_callback_QGraphicsObject_YChanged(intptr_t); +void miqt_exec_callback_QGraphicsObject_ZChanged(intptr_t); +void miqt_exec_callback_QGraphicsObject_RotationChanged(intptr_t); +void miqt_exec_callback_QGraphicsObject_ScaleChanged(intptr_t); +void miqt_exec_callback_QGraphicsObject_ChildrenChanged(intptr_t); +void miqt_exec_callback_QGraphicsObject_WidthChanged(intptr_t); +void miqt_exec_callback_QGraphicsObject_HeightChanged(intptr_t); +bool miqt_exec_callback_QGraphicsObject_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QGraphicsObject_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QGraphicsObject_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QGraphicsObject_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QGraphicsObject_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsObject_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QGraphicsObject_DisconnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QGraphicsObject_Advance(void*, intptr_t, int); +QRectF* miqt_exec_callback_QGraphicsObject_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsObject_Shape(void*, intptr_t); +bool miqt_exec_callback_QGraphicsObject_Contains(void*, intptr_t, QPointF*); +bool miqt_exec_callback_QGraphicsObject_CollidesWithItem(void*, intptr_t, QGraphicsItem*, int); +bool miqt_exec_callback_QGraphicsObject_CollidesWithPath(void*, intptr_t, QPainterPath*, int); +bool miqt_exec_callback_QGraphicsObject_IsObscuredBy(void*, intptr_t, QGraphicsItem*); +QPainterPath* miqt_exec_callback_QGraphicsObject_OpaqueArea(void*, intptr_t); +void miqt_exec_callback_QGraphicsObject_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +int miqt_exec_callback_QGraphicsObject_Type(void*, intptr_t); +bool miqt_exec_callback_QGraphicsObject_SceneEventFilter(void*, intptr_t, QGraphicsItem*, QEvent*); +bool miqt_exec_callback_QGraphicsObject_SceneEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsObject_ContextMenuEvent(void*, intptr_t, QGraphicsSceneContextMenuEvent*); +void miqt_exec_callback_QGraphicsObject_DragEnterEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsObject_DragLeaveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsObject_DragMoveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsObject_DropEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsObject_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsObject_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsObject_HoverEnterEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsObject_HoverMoveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsObject_HoverLeaveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsObject_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsObject_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsObject_MousePressEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsObject_MouseMoveEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsObject_MouseReleaseEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsObject_MouseDoubleClickEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsObject_WheelEvent(void*, intptr_t, QGraphicsSceneWheelEvent*); +void miqt_exec_callback_QGraphicsObject_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QGraphicsObject_InputMethodQuery(void*, intptr_t, int); +QVariant* miqt_exec_callback_QGraphicsObject_ItemChange(void*, intptr_t, int, QVariant*); +bool miqt_exec_callback_QGraphicsObject_SupportsExtension(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsObject_SetExtension(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QGraphicsObject_Extension(void*, intptr_t, QVariant*); +bool miqt_exec_callback_QAbstractGraphicsShapeItem_IsObscuredBy(void*, intptr_t, QGraphicsItem*); +QPainterPath* miqt_exec_callback_QAbstractGraphicsShapeItem_OpaqueArea(void*, intptr_t); +void miqt_exec_callback_QAbstractGraphicsShapeItem_Advance(void*, intptr_t, int); +QRectF* miqt_exec_callback_QAbstractGraphicsShapeItem_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QAbstractGraphicsShapeItem_Shape(void*, intptr_t); +bool miqt_exec_callback_QAbstractGraphicsShapeItem_Contains(void*, intptr_t, QPointF*); +bool miqt_exec_callback_QAbstractGraphicsShapeItem_CollidesWithItem(void*, intptr_t, QGraphicsItem*, int); +bool miqt_exec_callback_QAbstractGraphicsShapeItem_CollidesWithPath(void*, intptr_t, QPainterPath*, int); +void miqt_exec_callback_QAbstractGraphicsShapeItem_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +int miqt_exec_callback_QAbstractGraphicsShapeItem_Type(void*, intptr_t); +bool miqt_exec_callback_QAbstractGraphicsShapeItem_SceneEventFilter(void*, intptr_t, QGraphicsItem*, QEvent*); +bool miqt_exec_callback_QAbstractGraphicsShapeItem_SceneEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_ContextMenuEvent(void*, intptr_t, QGraphicsSceneContextMenuEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_DragEnterEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_DragLeaveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_DragMoveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_DropEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_HoverEnterEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_HoverMoveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_HoverLeaveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_MousePressEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_MouseMoveEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_MouseReleaseEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_MouseDoubleClickEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_WheelEvent(void*, intptr_t, QGraphicsSceneWheelEvent*); +void miqt_exec_callback_QAbstractGraphicsShapeItem_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QAbstractGraphicsShapeItem_InputMethodQuery(void*, intptr_t, int); +QVariant* miqt_exec_callback_QAbstractGraphicsShapeItem_ItemChange(void*, intptr_t, int, QVariant*); +bool miqt_exec_callback_QAbstractGraphicsShapeItem_SupportsExtension(void*, intptr_t, int); +void miqt_exec_callback_QAbstractGraphicsShapeItem_SetExtension(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QAbstractGraphicsShapeItem_Extension(void*, intptr_t, QVariant*); +QRectF* miqt_exec_callback_QGraphicsPathItem_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsPathItem_Shape(void*, intptr_t); +bool miqt_exec_callback_QGraphicsPathItem_Contains(void*, intptr_t, QPointF*); +void miqt_exec_callback_QGraphicsPathItem_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +bool miqt_exec_callback_QGraphicsPathItem_IsObscuredBy(void*, intptr_t, QGraphicsItem*); +QPainterPath* miqt_exec_callback_QGraphicsPathItem_OpaqueArea(void*, intptr_t); +int miqt_exec_callback_QGraphicsPathItem_Type(void*, intptr_t); +bool miqt_exec_callback_QGraphicsPathItem_SupportsExtension(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsPathItem_SetExtension(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QGraphicsPathItem_Extension(void*, intptr_t, QVariant*); +QRectF* miqt_exec_callback_QGraphicsRectItem_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsRectItem_Shape(void*, intptr_t); +bool miqt_exec_callback_QGraphicsRectItem_Contains(void*, intptr_t, QPointF*); +void miqt_exec_callback_QGraphicsRectItem_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +bool miqt_exec_callback_QGraphicsRectItem_IsObscuredBy(void*, intptr_t, QGraphicsItem*); +QPainterPath* miqt_exec_callback_QGraphicsRectItem_OpaqueArea(void*, intptr_t); +int miqt_exec_callback_QGraphicsRectItem_Type(void*, intptr_t); +bool miqt_exec_callback_QGraphicsRectItem_SupportsExtension(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsRectItem_SetExtension(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QGraphicsRectItem_Extension(void*, intptr_t, QVariant*); +QRectF* miqt_exec_callback_QGraphicsEllipseItem_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsEllipseItem_Shape(void*, intptr_t); +bool miqt_exec_callback_QGraphicsEllipseItem_Contains(void*, intptr_t, QPointF*); +void miqt_exec_callback_QGraphicsEllipseItem_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +bool miqt_exec_callback_QGraphicsEllipseItem_IsObscuredBy(void*, intptr_t, QGraphicsItem*); +QPainterPath* miqt_exec_callback_QGraphicsEllipseItem_OpaqueArea(void*, intptr_t); +int miqt_exec_callback_QGraphicsEllipseItem_Type(void*, intptr_t); +bool miqt_exec_callback_QGraphicsEllipseItem_SupportsExtension(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsEllipseItem_SetExtension(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QGraphicsEllipseItem_Extension(void*, intptr_t, QVariant*); +QRectF* miqt_exec_callback_QGraphicsPolygonItem_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsPolygonItem_Shape(void*, intptr_t); +bool miqt_exec_callback_QGraphicsPolygonItem_Contains(void*, intptr_t, QPointF*); +void miqt_exec_callback_QGraphicsPolygonItem_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +bool miqt_exec_callback_QGraphicsPolygonItem_IsObscuredBy(void*, intptr_t, QGraphicsItem*); +QPainterPath* miqt_exec_callback_QGraphicsPolygonItem_OpaqueArea(void*, intptr_t); +int miqt_exec_callback_QGraphicsPolygonItem_Type(void*, intptr_t); +bool miqt_exec_callback_QGraphicsPolygonItem_SupportsExtension(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsPolygonItem_SetExtension(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QGraphicsPolygonItem_Extension(void*, intptr_t, QVariant*); +QRectF* miqt_exec_callback_QGraphicsLineItem_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsLineItem_Shape(void*, intptr_t); +bool miqt_exec_callback_QGraphicsLineItem_Contains(void*, intptr_t, QPointF*); +void miqt_exec_callback_QGraphicsLineItem_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +bool miqt_exec_callback_QGraphicsLineItem_IsObscuredBy(void*, intptr_t, QGraphicsItem*); +QPainterPath* miqt_exec_callback_QGraphicsLineItem_OpaqueArea(void*, intptr_t); +int miqt_exec_callback_QGraphicsLineItem_Type(void*, intptr_t); +bool miqt_exec_callback_QGraphicsLineItem_SupportsExtension(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsLineItem_SetExtension(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QGraphicsLineItem_Extension(void*, intptr_t, QVariant*); +void miqt_exec_callback_QGraphicsLineItem_Advance(void*, intptr_t, int); +bool miqt_exec_callback_QGraphicsLineItem_CollidesWithItem(void*, intptr_t, QGraphicsItem*, int); +bool miqt_exec_callback_QGraphicsLineItem_CollidesWithPath(void*, intptr_t, QPainterPath*, int); +bool miqt_exec_callback_QGraphicsLineItem_SceneEventFilter(void*, intptr_t, QGraphicsItem*, QEvent*); +bool miqt_exec_callback_QGraphicsLineItem_SceneEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsLineItem_ContextMenuEvent(void*, intptr_t, QGraphicsSceneContextMenuEvent*); +void miqt_exec_callback_QGraphicsLineItem_DragEnterEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsLineItem_DragLeaveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsLineItem_DragMoveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsLineItem_DropEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsLineItem_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsLineItem_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsLineItem_HoverEnterEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsLineItem_HoverMoveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsLineItem_HoverLeaveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsLineItem_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsLineItem_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsLineItem_MousePressEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsLineItem_MouseMoveEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsLineItem_MouseReleaseEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsLineItem_MouseDoubleClickEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsLineItem_WheelEvent(void*, intptr_t, QGraphicsSceneWheelEvent*); +void miqt_exec_callback_QGraphicsLineItem_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QGraphicsLineItem_InputMethodQuery(void*, intptr_t, int); +QVariant* miqt_exec_callback_QGraphicsLineItem_ItemChange(void*, intptr_t, int, QVariant*); +QRectF* miqt_exec_callback_QGraphicsPixmapItem_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsPixmapItem_Shape(void*, intptr_t); +bool miqt_exec_callback_QGraphicsPixmapItem_Contains(void*, intptr_t, QPointF*); +void miqt_exec_callback_QGraphicsPixmapItem_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +bool miqt_exec_callback_QGraphicsPixmapItem_IsObscuredBy(void*, intptr_t, QGraphicsItem*); +QPainterPath* miqt_exec_callback_QGraphicsPixmapItem_OpaqueArea(void*, intptr_t); +int miqt_exec_callback_QGraphicsPixmapItem_Type(void*, intptr_t); +bool miqt_exec_callback_QGraphicsPixmapItem_SupportsExtension(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsPixmapItem_SetExtension(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QGraphicsPixmapItem_Extension(void*, intptr_t, QVariant*); +void miqt_exec_callback_QGraphicsPixmapItem_Advance(void*, intptr_t, int); +bool miqt_exec_callback_QGraphicsPixmapItem_CollidesWithItem(void*, intptr_t, QGraphicsItem*, int); +bool miqt_exec_callback_QGraphicsPixmapItem_CollidesWithPath(void*, intptr_t, QPainterPath*, int); +bool miqt_exec_callback_QGraphicsPixmapItem_SceneEventFilter(void*, intptr_t, QGraphicsItem*, QEvent*); +bool miqt_exec_callback_QGraphicsPixmapItem_SceneEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_ContextMenuEvent(void*, intptr_t, QGraphicsSceneContextMenuEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_DragEnterEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_DragLeaveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_DragMoveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_DropEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_HoverEnterEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_HoverMoveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_HoverLeaveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_MousePressEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_MouseMoveEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_MouseReleaseEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_MouseDoubleClickEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_WheelEvent(void*, intptr_t, QGraphicsSceneWheelEvent*); +void miqt_exec_callback_QGraphicsPixmapItem_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QGraphicsPixmapItem_InputMethodQuery(void*, intptr_t, int); +QVariant* miqt_exec_callback_QGraphicsPixmapItem_ItemChange(void*, intptr_t, int, QVariant*); +void miqt_exec_callback_QGraphicsTextItem_LinkActivated(intptr_t, struct miqt_string); +void miqt_exec_callback_QGraphicsTextItem_LinkHovered(intptr_t, struct miqt_string); +QRectF* miqt_exec_callback_QGraphicsTextItem_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsTextItem_Shape(void*, intptr_t); +bool miqt_exec_callback_QGraphicsTextItem_Contains(void*, intptr_t, QPointF*); +void miqt_exec_callback_QGraphicsTextItem_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +bool miqt_exec_callback_QGraphicsTextItem_IsObscuredBy(void*, intptr_t, QGraphicsItem*); +QPainterPath* miqt_exec_callback_QGraphicsTextItem_OpaqueArea(void*, intptr_t); +int miqt_exec_callback_QGraphicsTextItem_Type(void*, intptr_t); +bool miqt_exec_callback_QGraphicsTextItem_SceneEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsTextItem_MousePressEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsTextItem_MouseMoveEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsTextItem_MouseReleaseEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsTextItem_MouseDoubleClickEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsTextItem_ContextMenuEvent(void*, intptr_t, QGraphicsSceneContextMenuEvent*); +void miqt_exec_callback_QGraphicsTextItem_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsTextItem_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsTextItem_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsTextItem_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsTextItem_DragEnterEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsTextItem_DragLeaveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsTextItem_DragMoveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsTextItem_DropEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsTextItem_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +void miqt_exec_callback_QGraphicsTextItem_HoverEnterEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsTextItem_HoverMoveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsTextItem_HoverLeaveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +QVariant* miqt_exec_callback_QGraphicsTextItem_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QGraphicsTextItem_SupportsExtension(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsTextItem_SetExtension(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QGraphicsTextItem_Extension(void*, intptr_t, QVariant*); +bool miqt_exec_callback_QGraphicsTextItem_Event(void*, intptr_t, QEvent*); +QRectF* miqt_exec_callback_QGraphicsSimpleTextItem_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsSimpleTextItem_Shape(void*, intptr_t); +bool miqt_exec_callback_QGraphicsSimpleTextItem_Contains(void*, intptr_t, QPointF*); +void miqt_exec_callback_QGraphicsSimpleTextItem_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +bool miqt_exec_callback_QGraphicsSimpleTextItem_IsObscuredBy(void*, intptr_t, QGraphicsItem*); +QPainterPath* miqt_exec_callback_QGraphicsSimpleTextItem_OpaqueArea(void*, intptr_t); +int miqt_exec_callback_QGraphicsSimpleTextItem_Type(void*, intptr_t); +bool miqt_exec_callback_QGraphicsSimpleTextItem_SupportsExtension(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsSimpleTextItem_SetExtension(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QGraphicsSimpleTextItem_Extension(void*, intptr_t, QVariant*); +QRectF* miqt_exec_callback_QGraphicsItemGroup_BoundingRect(void*, intptr_t); +void miqt_exec_callback_QGraphicsItemGroup_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +bool miqt_exec_callback_QGraphicsItemGroup_IsObscuredBy(void*, intptr_t, QGraphicsItem*); +QPainterPath* miqt_exec_callback_QGraphicsItemGroup_OpaqueArea(void*, intptr_t); +int miqt_exec_callback_QGraphicsItemGroup_Type(void*, intptr_t); +void miqt_exec_callback_QGraphicsItemGroup_Advance(void*, intptr_t, int); +QPainterPath* miqt_exec_callback_QGraphicsItemGroup_Shape(void*, intptr_t); +bool miqt_exec_callback_QGraphicsItemGroup_Contains(void*, intptr_t, QPointF*); +bool miqt_exec_callback_QGraphicsItemGroup_CollidesWithItem(void*, intptr_t, QGraphicsItem*, int); +bool miqt_exec_callback_QGraphicsItemGroup_CollidesWithPath(void*, intptr_t, QPainterPath*, int); +bool miqt_exec_callback_QGraphicsItemGroup_SceneEventFilter(void*, intptr_t, QGraphicsItem*, QEvent*); +bool miqt_exec_callback_QGraphicsItemGroup_SceneEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsItemGroup_ContextMenuEvent(void*, intptr_t, QGraphicsSceneContextMenuEvent*); +void miqt_exec_callback_QGraphicsItemGroup_DragEnterEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsItemGroup_DragLeaveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsItemGroup_DragMoveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsItemGroup_DropEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsItemGroup_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsItemGroup_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsItemGroup_HoverEnterEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsItemGroup_HoverMoveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsItemGroup_HoverLeaveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsItemGroup_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsItemGroup_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsItemGroup_MousePressEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsItemGroup_MouseMoveEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsItemGroup_MouseReleaseEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsItemGroup_MouseDoubleClickEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsItemGroup_WheelEvent(void*, intptr_t, QGraphicsSceneWheelEvent*); +void miqt_exec_callback_QGraphicsItemGroup_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QGraphicsItemGroup_InputMethodQuery(void*, intptr_t, int); +QVariant* miqt_exec_callback_QGraphicsItemGroup_ItemChange(void*, intptr_t, int, QVariant*); +bool miqt_exec_callback_QGraphicsItemGroup_SupportsExtension(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsItemGroup_SetExtension(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QGraphicsItemGroup_Extension(void*, intptr_t, QVariant*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsItem : public virtual QGraphicsItem { public: diff --git a/qt6/gen_qgraphicsitemanimation.cpp b/qt6/gen_qgraphicsitemanimation.cpp index 6c9b69bf..b0dc0c63 100644 --- a/qt6/gen_qgraphicsitemanimation.cpp +++ b/qt6/gen_qgraphicsitemanimation.cpp @@ -17,10 +17,22 @@ #include #include "gen_qgraphicsitemanimation.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsItemAnimation_BeforeAnimationStep(void*, intptr_t, double); +void miqt_exec_callback_QGraphicsItemAnimation_AfterAnimationStep(void*, intptr_t, double); +bool miqt_exec_callback_QGraphicsItemAnimation_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QGraphicsItemAnimation_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QGraphicsItemAnimation_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QGraphicsItemAnimation_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QGraphicsItemAnimation_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsItemAnimation_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QGraphicsItemAnimation_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsItemAnimation : public virtual QGraphicsItemAnimation { public: diff --git a/qt6/gen_qgraphicslayout.cpp b/qt6/gen_qgraphicslayout.cpp index 1f9fb897..616f9f01 100644 --- a/qt6/gen_qgraphicslayout.cpp +++ b/qt6/gen_qgraphicslayout.cpp @@ -6,10 +6,23 @@ #include #include "gen_qgraphicslayout.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsLayout_GetContentsMargins(void*, intptr_t, double*, double*, double*, double*); +void miqt_exec_callback_QGraphicsLayout_Invalidate(void*, intptr_t); +void miqt_exec_callback_QGraphicsLayout_UpdateGeometry(void*, intptr_t); +void miqt_exec_callback_QGraphicsLayout_WidgetEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QGraphicsLayout_Count(void*, intptr_t); +QGraphicsLayoutItem* miqt_exec_callback_QGraphicsLayout_ItemAt(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsLayout_RemoveAt(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsLayout_SetGeometry(void*, intptr_t, QRectF*); +bool miqt_exec_callback_QGraphicsLayout_IsEmpty(void*, intptr_t); +QSizeF* miqt_exec_callback_QGraphicsLayout_SizeHint(void*, intptr_t, int, QSizeF*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsLayout : public virtual QGraphicsLayout { public: diff --git a/qt6/gen_qgraphicslayoutitem.cpp b/qt6/gen_qgraphicslayoutitem.cpp index d7c47ecf..81c1d01f 100644 --- a/qt6/gen_qgraphicslayoutitem.cpp +++ b/qt6/gen_qgraphicslayoutitem.cpp @@ -6,10 +6,18 @@ #include #include "gen_qgraphicslayoutitem.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsLayoutItem_SetGeometry(void*, intptr_t, QRectF*); +void miqt_exec_callback_QGraphicsLayoutItem_GetContentsMargins(void*, intptr_t, double*, double*, double*, double*); +void miqt_exec_callback_QGraphicsLayoutItem_UpdateGeometry(void*, intptr_t); +bool miqt_exec_callback_QGraphicsLayoutItem_IsEmpty(void*, intptr_t); +QSizeF* miqt_exec_callback_QGraphicsLayoutItem_SizeHint(void*, intptr_t, int, QSizeF*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsLayoutItem : public virtual QGraphicsLayoutItem { public: diff --git a/qt6/gen_qgraphicslinearlayout.cpp b/qt6/gen_qgraphicslinearlayout.cpp index 46f1f82d..db2aab10 100644 --- a/qt6/gen_qgraphicslinearlayout.cpp +++ b/qt6/gen_qgraphicslinearlayout.cpp @@ -7,10 +7,22 @@ #include #include "gen_qgraphicslinearlayout.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsLinearLayout_RemoveAt(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsLinearLayout_SetGeometry(void*, intptr_t, QRectF*); +int miqt_exec_callback_QGraphicsLinearLayout_Count(void*, intptr_t); +QGraphicsLayoutItem* miqt_exec_callback_QGraphicsLinearLayout_ItemAt(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsLinearLayout_Invalidate(void*, intptr_t); +QSizeF* miqt_exec_callback_QGraphicsLinearLayout_SizeHint(void*, intptr_t, int, QSizeF*); +void miqt_exec_callback_QGraphicsLinearLayout_GetContentsMargins(void*, intptr_t, double*, double*, double*, double*); +void miqt_exec_callback_QGraphicsLinearLayout_UpdateGeometry(void*, intptr_t); +void miqt_exec_callback_QGraphicsLinearLayout_WidgetEvent(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsLinearLayout : public virtual QGraphicsLinearLayout { public: diff --git a/qt6/gen_qgraphicsproxywidget.cpp b/qt6/gen_qgraphicsproxywidget.cpp index 89a05b35..279cc1f7 100644 --- a/qt6/gen_qgraphicsproxywidget.cpp +++ b/qt6/gen_qgraphicsproxywidget.cpp @@ -34,10 +34,61 @@ #include #include "gen_qgraphicsproxywidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsProxyWidget_SetGeometry(void*, intptr_t, QRectF*); +void miqt_exec_callback_QGraphicsProxyWidget_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +int miqt_exec_callback_QGraphicsProxyWidget_Type(void*, intptr_t); +QVariant* miqt_exec_callback_QGraphicsProxyWidget_ItemChange(void*, intptr_t, int, QVariant*); +bool miqt_exec_callback_QGraphicsProxyWidget_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QGraphicsProxyWidget_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_ContextMenuEvent(void*, intptr_t, QGraphicsSceneContextMenuEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_DragEnterEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_DragLeaveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_DragMoveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_DropEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_HoverEnterEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_HoverLeaveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_HoverMoveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_GrabMouseEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_UngrabMouseEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_MouseMoveEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_MousePressEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_MouseReleaseEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_MouseDoubleClickEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_WheelEvent(void*, intptr_t, QGraphicsSceneWheelEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_FocusOutEvent(void*, intptr_t, QFocusEvent*); +bool miqt_exec_callback_QGraphicsProxyWidget_FocusNextPrevChild(void*, intptr_t, bool); +QVariant* miqt_exec_callback_QGraphicsProxyWidget_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsProxyWidget_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QSizeF* miqt_exec_callback_QGraphicsProxyWidget_SizeHint(void*, intptr_t, int, QSizeF*); +void miqt_exec_callback_QGraphicsProxyWidget_ResizeEvent(void*, intptr_t, QGraphicsSceneResizeEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_GetContentsMargins(void*, intptr_t, double*, double*, double*, double*); +void miqt_exec_callback_QGraphicsProxyWidget_PaintWindowFrame(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +QRectF* miqt_exec_callback_QGraphicsProxyWidget_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsProxyWidget_Shape(void*, intptr_t); +void miqt_exec_callback_QGraphicsProxyWidget_InitStyleOption(void*, intptr_t, QStyleOption*); +void miqt_exec_callback_QGraphicsProxyWidget_UpdateGeometry(void*, intptr_t); +QVariant* miqt_exec_callback_QGraphicsProxyWidget_PropertyChange(void*, intptr_t, struct miqt_string, QVariant*); +bool miqt_exec_callback_QGraphicsProxyWidget_SceneEvent(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QGraphicsProxyWidget_WindowFrameEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QGraphicsProxyWidget_WindowFrameSectionAt(void*, intptr_t, QPointF*); +void miqt_exec_callback_QGraphicsProxyWidget_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_MoveEvent(void*, intptr_t, QGraphicsSceneMoveEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_PolishEvent(void*, intptr_t); +void miqt_exec_callback_QGraphicsProxyWidget_GrabKeyboardEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsProxyWidget_UngrabKeyboardEvent(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsProxyWidget : public virtual QGraphicsProxyWidget { public: diff --git a/qt6/gen_qgraphicsscene.cpp b/qt6/gen_qgraphicsscene.cpp index 767d4d06..f89d0094 100644 --- a/qt6/gen_qgraphicsscene.cpp +++ b/qt6/gen_qgraphicsscene.cpp @@ -46,10 +46,44 @@ #include #include "gen_qgraphicsscene.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsScene_Changed(intptr_t, struct miqt_array /* of QRectF* */ ); +void miqt_exec_callback_QGraphicsScene_SceneRectChanged(intptr_t, QRectF*); +void miqt_exec_callback_QGraphicsScene_SelectionChanged(intptr_t); +void miqt_exec_callback_QGraphicsScene_FocusItemChanged(intptr_t, QGraphicsItem*, QGraphicsItem*, int); +QVariant* miqt_exec_callback_QGraphicsScene_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QGraphicsScene_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QGraphicsScene_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QGraphicsScene_ContextMenuEvent(void*, intptr_t, QGraphicsSceneContextMenuEvent*); +void miqt_exec_callback_QGraphicsScene_DragEnterEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsScene_DragMoveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsScene_DragLeaveEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsScene_DropEvent(void*, intptr_t, QGraphicsSceneDragDropEvent*); +void miqt_exec_callback_QGraphicsScene_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsScene_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsScene_HelpEvent(void*, intptr_t, QGraphicsSceneHelpEvent*); +void miqt_exec_callback_QGraphicsScene_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsScene_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsScene_MousePressEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsScene_MouseMoveEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsScene_MouseReleaseEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsScene_MouseDoubleClickEvent(void*, intptr_t, QGraphicsSceneMouseEvent*); +void miqt_exec_callback_QGraphicsScene_WheelEvent(void*, intptr_t, QGraphicsSceneWheelEvent*); +void miqt_exec_callback_QGraphicsScene_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +void miqt_exec_callback_QGraphicsScene_DrawBackground(void*, intptr_t, QPainter*, QRectF*); +void miqt_exec_callback_QGraphicsScene_DrawForeground(void*, intptr_t, QPainter*, QRectF*); +bool miqt_exec_callback_QGraphicsScene_FocusNextPrevChild(void*, intptr_t, bool); +void miqt_exec_callback_QGraphicsScene_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QGraphicsScene_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QGraphicsScene_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsScene_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QGraphicsScene_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsScene : public virtual QGraphicsScene { public: diff --git a/qt6/gen_qgraphicssceneevent.cpp b/qt6/gen_qgraphicssceneevent.cpp index 9ac0e895..7555f119 100644 --- a/qt6/gen_qgraphicssceneevent.cpp +++ b/qt6/gen_qgraphicssceneevent.cpp @@ -16,10 +16,15 @@ #include #include "gen_qgraphicssceneevent.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsSceneEvent_SetAccepted(void*, intptr_t, bool); +QEvent* miqt_exec_callback_QGraphicsSceneEvent_Clone(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsSceneEvent : public virtual QGraphicsSceneEvent { public: diff --git a/qt6/gen_qgraphicstransform.cpp b/qt6/gen_qgraphicstransform.cpp index 457c38a5..b4e373ad 100644 --- a/qt6/gen_qgraphicstransform.cpp +++ b/qt6/gen_qgraphicstransform.cpp @@ -15,10 +15,31 @@ #include #include "gen_qgraphicstransform.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsTransform_ApplyTo(void*, intptr_t, QMatrix4x4*); +bool miqt_exec_callback_QGraphicsTransform_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QGraphicsTransform_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QGraphicsTransform_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QGraphicsTransform_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QGraphicsTransform_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsTransform_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QGraphicsTransform_DisconnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QGraphicsScale_OriginChanged(intptr_t); +void miqt_exec_callback_QGraphicsScale_XScaleChanged(intptr_t); +void miqt_exec_callback_QGraphicsScale_YScaleChanged(intptr_t); +void miqt_exec_callback_QGraphicsScale_ZScaleChanged(intptr_t); +void miqt_exec_callback_QGraphicsScale_ScaleChanged(intptr_t); +void miqt_exec_callback_QGraphicsScale_ApplyTo(void*, intptr_t, QMatrix4x4*); +void miqt_exec_callback_QGraphicsRotation_OriginChanged(intptr_t); +void miqt_exec_callback_QGraphicsRotation_AngleChanged(intptr_t); +void miqt_exec_callback_QGraphicsRotation_AxisChanged(intptr_t); +void miqt_exec_callback_QGraphicsRotation_ApplyTo(void*, intptr_t, QMatrix4x4*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsTransform : public virtual QGraphicsTransform { public: diff --git a/qt6/gen_qgraphicsview.cpp b/qt6/gen_qgraphicsview.cpp index 21a1f8ca..3cbd0d63 100644 --- a/qt6/gen_qgraphicsview.cpp +++ b/qt6/gen_qgraphicsview.cpp @@ -38,10 +38,44 @@ #include #include "gen_qgraphicsview.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsView_RubberBandChanged(intptr_t, QRect*, QPointF*, QPointF*); +QSize* miqt_exec_callback_QGraphicsView_SizeHint(void*, intptr_t); +QVariant* miqt_exec_callback_QGraphicsView_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QGraphicsView_SetupViewport(void*, intptr_t, QWidget*); +bool miqt_exec_callback_QGraphicsView_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QGraphicsView_ViewportEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsView_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QGraphicsView_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QGraphicsView_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QGraphicsView_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QGraphicsView_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QGraphicsView_FocusInEvent(void*, intptr_t, QFocusEvent*); +bool miqt_exec_callback_QGraphicsView_FocusNextPrevChild(void*, intptr_t, bool); +void miqt_exec_callback_QGraphicsView_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsView_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsView_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGraphicsView_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QGraphicsView_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QGraphicsView_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QGraphicsView_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QGraphicsView_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QGraphicsView_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QGraphicsView_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QGraphicsView_ScrollContentsBy(void*, intptr_t, int, int); +void miqt_exec_callback_QGraphicsView_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QGraphicsView_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +void miqt_exec_callback_QGraphicsView_DrawBackground(void*, intptr_t, QPainter*, QRectF*); +void miqt_exec_callback_QGraphicsView_DrawForeground(void*, intptr_t, QPainter*, QRectF*); +QSize* miqt_exec_callback_QGraphicsView_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QGraphicsView_EventFilter(void*, intptr_t, QObject*, QEvent*); +QSize* miqt_exec_callback_QGraphicsView_ViewportSizeHint(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsView : public virtual QGraphicsView { public: diff --git a/qt6/gen_qgraphicswidget.cpp b/qt6/gen_qgraphicswidget.cpp index bc5e5eba..311c096b 100644 --- a/qt6/gen_qgraphicswidget.cpp +++ b/qt6/gen_qgraphicswidget.cpp @@ -35,10 +35,48 @@ #include #include "gen_qgraphicswidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsWidget_GeometryChanged(intptr_t); +void miqt_exec_callback_QGraphicsWidget_LayoutChanged(intptr_t); +void miqt_exec_callback_QGraphicsWidget_SetGeometry(void*, intptr_t, QRectF*); +void miqt_exec_callback_QGraphicsWidget_GetContentsMargins(void*, intptr_t, double*, double*, double*, double*); +int miqt_exec_callback_QGraphicsWidget_Type(void*, intptr_t); +void miqt_exec_callback_QGraphicsWidget_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +void miqt_exec_callback_QGraphicsWidget_PaintWindowFrame(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +QRectF* miqt_exec_callback_QGraphicsWidget_BoundingRect(void*, intptr_t); +QPainterPath* miqt_exec_callback_QGraphicsWidget_Shape(void*, intptr_t); +void miqt_exec_callback_QGraphicsWidget_InitStyleOption(void*, intptr_t, QStyleOption*); +QSizeF* miqt_exec_callback_QGraphicsWidget_SizeHint(void*, intptr_t, int, QSizeF*); +void miqt_exec_callback_QGraphicsWidget_UpdateGeometry(void*, intptr_t); +QVariant* miqt_exec_callback_QGraphicsWidget_ItemChange(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QGraphicsWidget_PropertyChange(void*, intptr_t, struct miqt_string, QVariant*); +bool miqt_exec_callback_QGraphicsWidget_SceneEvent(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QGraphicsWidget_WindowFrameEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QGraphicsWidget_WindowFrameSectionAt(void*, intptr_t, QPointF*); +bool miqt_exec_callback_QGraphicsWidget_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsWidget_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsWidget_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QGraphicsWidget_FocusInEvent(void*, intptr_t, QFocusEvent*); +bool miqt_exec_callback_QGraphicsWidget_FocusNextPrevChild(void*, intptr_t, bool); +void miqt_exec_callback_QGraphicsWidget_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGraphicsWidget_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QGraphicsWidget_MoveEvent(void*, intptr_t, QGraphicsSceneMoveEvent*); +void miqt_exec_callback_QGraphicsWidget_PolishEvent(void*, intptr_t); +void miqt_exec_callback_QGraphicsWidget_ResizeEvent(void*, intptr_t, QGraphicsSceneResizeEvent*); +void miqt_exec_callback_QGraphicsWidget_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QGraphicsWidget_HoverMoveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsWidget_HoverLeaveEvent(void*, intptr_t, QGraphicsSceneHoverEvent*); +void miqt_exec_callback_QGraphicsWidget_GrabMouseEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsWidget_UngrabMouseEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsWidget_GrabKeyboardEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGraphicsWidget_UngrabKeyboardEvent(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QGraphicsWidget_IsEmpty(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsWidget : public virtual QGraphicsWidget { public: diff --git a/qt6/gen_qgridlayout.cpp b/qt6/gen_qgridlayout.cpp index e33669c1..254daff2 100644 --- a/qt6/gen_qgridlayout.cpp +++ b/qt6/gen_qgridlayout.cpp @@ -13,10 +13,35 @@ #include #include "gen_qgridlayout.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QGridLayout_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QGridLayout_MinimumSize(void*, intptr_t); +QSize* miqt_exec_callback_QGridLayout_MaximumSize(void*, intptr_t); +void miqt_exec_callback_QGridLayout_SetSpacing(void*, intptr_t, int); +int miqt_exec_callback_QGridLayout_Spacing(void*, intptr_t); +bool miqt_exec_callback_QGridLayout_HasHeightForWidth(void*, intptr_t); +int miqt_exec_callback_QGridLayout_HeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QGridLayout_MinimumHeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QGridLayout_ExpandingDirections(void*, intptr_t); +void miqt_exec_callback_QGridLayout_Invalidate(void*, intptr_t); +QLayoutItem* miqt_exec_callback_QGridLayout_ItemAt(void*, intptr_t, int); +QLayoutItem* miqt_exec_callback_QGridLayout_TakeAt(void*, intptr_t, int); +int miqt_exec_callback_QGridLayout_Count(void*, intptr_t); +void miqt_exec_callback_QGridLayout_SetGeometry(void*, intptr_t, QRect*); +void miqt_exec_callback_QGridLayout_AddItemWithQLayoutItem(void*, intptr_t, QLayoutItem*); +QRect* miqt_exec_callback_QGridLayout_Geometry(void*, intptr_t); +int miqt_exec_callback_QGridLayout_IndexOf(void*, intptr_t, QWidget*); +bool miqt_exec_callback_QGridLayout_IsEmpty(void*, intptr_t); +int miqt_exec_callback_QGridLayout_ControlTypes(void*, intptr_t); +QLayoutItem* miqt_exec_callback_QGridLayout_ReplaceWidget(void*, intptr_t, QWidget*, QWidget*, int); +QLayout* miqt_exec_callback_QGridLayout_Layout(void*, intptr_t); +void miqt_exec_callback_QGridLayout_ChildEvent(void*, intptr_t, QChildEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGridLayout : public virtual QGridLayout { public: diff --git a/qt6/gen_qgroupbox.cpp b/qt6/gen_qgroupbox.cpp index c60f777b..b0c6b3d8 100644 --- a/qt6/gen_qgroupbox.cpp +++ b/qt6/gen_qgroupbox.cpp @@ -37,10 +37,59 @@ #include #include "gen_qgroupbox.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGroupBox_Clicked(intptr_t); +void miqt_exec_callback_QGroupBox_Toggled(intptr_t, bool); +void miqt_exec_callback_QGroupBox_Clicked1(intptr_t, bool); +QSize* miqt_exec_callback_QGroupBox_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QGroupBox_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGroupBox_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QGroupBox_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QGroupBox_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QGroupBox_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGroupBox_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGroupBox_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QGroupBox_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QGroupBox_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QGroupBox_InitStyleOption(void*, intptr_t, QStyleOptionGroupBox*); +int miqt_exec_callback_QGroupBox_DevType(void*, intptr_t); +void miqt_exec_callback_QGroupBox_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QGroupBox_SizeHint(void*, intptr_t); +int miqt_exec_callback_QGroupBox_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QGroupBox_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QGroupBox_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QGroupBox_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QGroupBox_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QGroupBox_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGroupBox_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QGroupBox_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QGroupBox_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QGroupBox_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QGroupBox_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QGroupBox_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QGroupBox_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QGroupBox_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QGroupBox_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QGroupBox_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QGroupBox_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QGroupBox_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QGroupBox_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QGroupBox_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QGroupBox_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QGroupBox_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +int miqt_exec_callback_QGroupBox_Metric(void*, intptr_t, int); +void miqt_exec_callback_QGroupBox_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QGroupBox_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QGroupBox_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QGroupBox_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QGroupBox_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QGroupBox_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGroupBox : public virtual QGroupBox { public: diff --git a/qt6/gen_qguiapplication.cpp b/qt6/gen_qguiapplication.cpp index 4e925605..7739b2b3 100644 --- a/qt6/gen_qguiapplication.cpp +++ b/qt6/gen_qguiapplication.cpp @@ -21,10 +21,29 @@ #include #include "gen_qguiapplication.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGuiApplication_FontDatabaseChanged(intptr_t); +void miqt_exec_callback_QGuiApplication_ScreenAdded(intptr_t, QScreen*); +void miqt_exec_callback_QGuiApplication_ScreenRemoved(intptr_t, QScreen*); +void miqt_exec_callback_QGuiApplication_PrimaryScreenChanged(intptr_t, QScreen*); +void miqt_exec_callback_QGuiApplication_LastWindowClosed(intptr_t); +void miqt_exec_callback_QGuiApplication_FocusObjectChanged(intptr_t, QObject*); +void miqt_exec_callback_QGuiApplication_FocusWindowChanged(intptr_t, QWindow*); +void miqt_exec_callback_QGuiApplication_ApplicationStateChanged(intptr_t, int); +void miqt_exec_callback_QGuiApplication_LayoutDirectionChanged(intptr_t, int); +void miqt_exec_callback_QGuiApplication_CommitDataRequest(intptr_t, QSessionManager*); +void miqt_exec_callback_QGuiApplication_SaveStateRequest(intptr_t, QSessionManager*); +void miqt_exec_callback_QGuiApplication_ApplicationDisplayNameChanged(intptr_t); +void miqt_exec_callback_QGuiApplication_PaletteChanged(intptr_t, QPalette*); +void miqt_exec_callback_QGuiApplication_FontChanged(intptr_t, QFont*); +bool miqt_exec_callback_QGuiApplication_Notify(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QGuiApplication_Event(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGuiApplication : public virtual QGuiApplication { public: diff --git a/qt6/gen_qhashfunctions.cpp b/qt6/gen_qhashfunctions.cpp index 7b1be934..91144cc4 100644 --- a/qt6/gen_qhashfunctions.cpp +++ b/qt6/gen_qhashfunctions.cpp @@ -2,10 +2,13 @@ #include #include "gen_qhashfunctions.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QHashSeed* QHashSeed_new() { return new QHashSeed(); diff --git a/qt6/gen_qheaderview.cpp b/qt6/gen_qheaderview.cpp index f1b7bf1f..5780a676 100644 --- a/qt6/gen_qheaderview.cpp +++ b/qt6/gen_qheaderview.cpp @@ -39,10 +39,91 @@ #include #include "gen_qheaderview.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QHeaderView_SectionMoved(intptr_t, int, int, int); +void miqt_exec_callback_QHeaderView_SectionResized(intptr_t, int, int, int); +void miqt_exec_callback_QHeaderView_SectionPressed(intptr_t, int); +void miqt_exec_callback_QHeaderView_SectionClicked(intptr_t, int); +void miqt_exec_callback_QHeaderView_SectionEntered(intptr_t, int); +void miqt_exec_callback_QHeaderView_SectionDoubleClicked(intptr_t, int); +void miqt_exec_callback_QHeaderView_SectionCountChanged(intptr_t, int, int); +void miqt_exec_callback_QHeaderView_SectionHandleDoubleClicked(intptr_t, int); +void miqt_exec_callback_QHeaderView_GeometriesChanged(intptr_t); +void miqt_exec_callback_QHeaderView_SortIndicatorChanged(intptr_t, int, int); +void miqt_exec_callback_QHeaderView_SortIndicatorClearableChanged(intptr_t, bool); +void miqt_exec_callback_QHeaderView_SetModel(void*, intptr_t, QAbstractItemModel*); +QSize* miqt_exec_callback_QHeaderView_SizeHint(void*, intptr_t); +void miqt_exec_callback_QHeaderView_SetVisible(void*, intptr_t, bool); +void miqt_exec_callback_QHeaderView_DoItemsLayout(void*, intptr_t); +void miqt_exec_callback_QHeaderView_Reset(void*, intptr_t); +void miqt_exec_callback_QHeaderView_CurrentChanged(void*, intptr_t, QModelIndex*, QModelIndex*); +bool miqt_exec_callback_QHeaderView_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QHeaderView_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QHeaderView_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QHeaderView_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QHeaderView_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QHeaderView_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +bool miqt_exec_callback_QHeaderView_ViewportEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QHeaderView_PaintSection(void*, intptr_t, QPainter*, QRect*, int); +QSize* miqt_exec_callback_QHeaderView_SectionSizeFromContents(void*, intptr_t, int); +int miqt_exec_callback_QHeaderView_HorizontalOffset(void*, intptr_t); +int miqt_exec_callback_QHeaderView_VerticalOffset(void*, intptr_t); +void miqt_exec_callback_QHeaderView_UpdateGeometries(void*, intptr_t); +void miqt_exec_callback_QHeaderView_ScrollContentsBy(void*, intptr_t, int, int); +void miqt_exec_callback_QHeaderView_DataChanged(void*, intptr_t, QModelIndex*, QModelIndex*, struct miqt_array /* of int */ ); +void miqt_exec_callback_QHeaderView_RowsInserted(void*, intptr_t, QModelIndex*, int, int); +QRect* miqt_exec_callback_QHeaderView_VisualRect(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QHeaderView_ScrollTo(void*, intptr_t, QModelIndex*, int); +QModelIndex* miqt_exec_callback_QHeaderView_IndexAt(void*, intptr_t, QPoint*); +bool miqt_exec_callback_QHeaderView_IsIndexHidden(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QHeaderView_MoveCursor(void*, intptr_t, int, int); +void miqt_exec_callback_QHeaderView_SetSelection(void*, intptr_t, QRect*, int); +QRegion* miqt_exec_callback_QHeaderView_VisualRegionForSelection(void*, intptr_t, QItemSelection*); +void miqt_exec_callback_QHeaderView_InitStyleOptionForIndex(void*, intptr_t, QStyleOptionHeader*, int); +void miqt_exec_callback_QHeaderView_InitStyleOption(void*, intptr_t, QStyleOptionHeader*); +void miqt_exec_callback_QHeaderView_SetSelectionModel(void*, intptr_t, QItemSelectionModel*); +void miqt_exec_callback_QHeaderView_KeyboardSearch(void*, intptr_t, struct miqt_string); +int miqt_exec_callback_QHeaderView_SizeHintForRow(void*, intptr_t, int); +int miqt_exec_callback_QHeaderView_SizeHintForColumn(void*, intptr_t, int); +QAbstractItemDelegate* miqt_exec_callback_QHeaderView_ItemDelegateForIndex(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QHeaderView_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QHeaderView_SetRootIndex(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QHeaderView_SelectAll(void*, intptr_t); +void miqt_exec_callback_QHeaderView_RowsAboutToBeRemoved(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QHeaderView_SelectionChanged(void*, intptr_t, QItemSelection*, QItemSelection*); +void miqt_exec_callback_QHeaderView_UpdateEditorData(void*, intptr_t); +void miqt_exec_callback_QHeaderView_UpdateEditorGeometries(void*, intptr_t); +void miqt_exec_callback_QHeaderView_VerticalScrollbarAction(void*, intptr_t, int); +void miqt_exec_callback_QHeaderView_HorizontalScrollbarAction(void*, intptr_t, int); +void miqt_exec_callback_QHeaderView_VerticalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QHeaderView_HorizontalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QHeaderView_CloseEditor(void*, intptr_t, QWidget*, int); +void miqt_exec_callback_QHeaderView_CommitData(void*, intptr_t, QWidget*); +void miqt_exec_callback_QHeaderView_EditorDestroyed(void*, intptr_t, QObject*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QHeaderView_SelectedIndexes(void*, intptr_t); +bool miqt_exec_callback_QHeaderView_Edit2(void*, intptr_t, QModelIndex*, int, QEvent*); +int miqt_exec_callback_QHeaderView_SelectionCommand(void*, intptr_t, QModelIndex*, QEvent*); +void miqt_exec_callback_QHeaderView_StartDrag(void*, intptr_t, int); +void miqt_exec_callback_QHeaderView_InitViewItemOption(void*, intptr_t, QStyleOptionViewItem*); +bool miqt_exec_callback_QHeaderView_FocusNextPrevChild(void*, intptr_t, bool); +void miqt_exec_callback_QHeaderView_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QHeaderView_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QHeaderView_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QHeaderView_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QHeaderView_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QHeaderView_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QHeaderView_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QHeaderView_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QHeaderView_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QHeaderView_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +bool miqt_exec_callback_QHeaderView_EventFilter(void*, intptr_t, QObject*, QEvent*); +QSize* miqt_exec_callback_QHeaderView_ViewportSizeHint(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQHeaderView : public virtual QHeaderView { public: diff --git a/qt6/gen_qicon.cpp b/qt6/gen_qicon.cpp index ba564647..f6a75aa7 100644 --- a/qt6/gen_qicon.cpp +++ b/qt6/gen_qicon.cpp @@ -13,10 +13,13 @@ #include #include "gen_qicon.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QIcon* QIcon_new() { return new QIcon(); diff --git a/qt6/gen_qiconengine.cpp b/qt6/gen_qiconengine.cpp index df2149a8..89e30d88 100644 --- a/qt6/gen_qiconengine.cpp +++ b/qt6/gen_qiconengine.cpp @@ -12,10 +12,27 @@ #include #include "gen_qiconengine.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QIconEngine_Paint(void*, intptr_t, QPainter*, QRect*, int, int); +QSize* miqt_exec_callback_QIconEngine_ActualSize(void*, intptr_t, QSize*, int, int); +QPixmap* miqt_exec_callback_QIconEngine_Pixmap(void*, intptr_t, QSize*, int, int); +void miqt_exec_callback_QIconEngine_AddPixmap(void*, intptr_t, QPixmap*, int, int); +void miqt_exec_callback_QIconEngine_AddFile(void*, intptr_t, struct miqt_string, QSize*, int, int); +struct miqt_string miqt_exec_callback_QIconEngine_Key(void*, intptr_t); +QIconEngine* miqt_exec_callback_QIconEngine_Clone(void*, intptr_t); +bool miqt_exec_callback_QIconEngine_Read(void*, intptr_t, QDataStream*); +bool miqt_exec_callback_QIconEngine_Write(void*, intptr_t, QDataStream*); +struct miqt_array /* of QSize* */ miqt_exec_callback_QIconEngine_AvailableSizes(void*, intptr_t, int, int); +struct miqt_string miqt_exec_callback_QIconEngine_IconName(void*, intptr_t); +bool miqt_exec_callback_QIconEngine_IsNull(void*, intptr_t); +QPixmap* miqt_exec_callback_QIconEngine_ScaledPixmap(void*, intptr_t, QSize*, int, int, double); +void miqt_exec_callback_QIconEngine_VirtualHook(void*, intptr_t, int, void*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQIconEngine : public virtual QIconEngine { public: diff --git a/qt6/gen_qiconengineplugin.cpp b/qt6/gen_qiconengineplugin.cpp index dc0981b3..d5046004 100644 --- a/qt6/gen_qiconengineplugin.cpp +++ b/qt6/gen_qiconengineplugin.cpp @@ -12,10 +12,21 @@ #include #include "gen_qiconengineplugin.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QIconEngine* miqt_exec_callback_QIconEnginePlugin_Create(void*, intptr_t, struct miqt_string); +bool miqt_exec_callback_QIconEnginePlugin_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QIconEnginePlugin_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QIconEnginePlugin_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QIconEnginePlugin_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QIconEnginePlugin_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QIconEnginePlugin_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QIconEnginePlugin_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQIconEnginePlugin : public virtual QIconEnginePlugin { public: diff --git a/qt6/gen_qidentityproxymodel.cpp b/qt6/gen_qidentityproxymodel.cpp index e25e0555..11f7f1fe 100644 --- a/qt6/gen_qidentityproxymodel.cpp +++ b/qt6/gen_qidentityproxymodel.cpp @@ -17,10 +17,53 @@ #include #include "gen_qidentityproxymodel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QIdentityProxyModel_ColumnCount(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QIdentityProxyModel_Index(void*, intptr_t, int, int, QModelIndex*); +QModelIndex* miqt_exec_callback_QIdentityProxyModel_MapFromSource(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QIdentityProxyModel_MapToSource(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QIdentityProxyModel_Parent(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QIdentityProxyModel_RowCount(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QIdentityProxyModel_HeaderData(void*, intptr_t, int, int, int); +bool miqt_exec_callback_QIdentityProxyModel_DropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +QModelIndex* miqt_exec_callback_QIdentityProxyModel_Sibling(void*, intptr_t, int, int, QModelIndex*); +QItemSelection* miqt_exec_callback_QIdentityProxyModel_MapSelectionFromSource(void*, intptr_t, QItemSelection*); +QItemSelection* miqt_exec_callback_QIdentityProxyModel_MapSelectionToSource(void*, intptr_t, QItemSelection*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QIdentityProxyModel_Match(void*, intptr_t, QModelIndex*, int, QVariant*, int, int); +void miqt_exec_callback_QIdentityProxyModel_SetSourceModel(void*, intptr_t, QAbstractItemModel*); +bool miqt_exec_callback_QIdentityProxyModel_InsertColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QIdentityProxyModel_InsertRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QIdentityProxyModel_RemoveColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QIdentityProxyModel_RemoveRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QIdentityProxyModel_MoveRows(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +bool miqt_exec_callback_QIdentityProxyModel_MoveColumns(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +bool miqt_exec_callback_QIdentityProxyModel_Submit(void*, intptr_t); +void miqt_exec_callback_QIdentityProxyModel_Revert(void*, intptr_t); +QVariant* miqt_exec_callback_QIdentityProxyModel_Data(void*, intptr_t, QModelIndex*, int); +struct miqt_map /* of int to QVariant* */ miqt_exec_callback_QIdentityProxyModel_ItemData(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QIdentityProxyModel_Flags(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QIdentityProxyModel_SetData(void*, intptr_t, QModelIndex*, QVariant*, int); +bool miqt_exec_callback_QIdentityProxyModel_SetItemData(void*, intptr_t, QModelIndex*, struct miqt_map /* of int to QVariant* */ ); +bool miqt_exec_callback_QIdentityProxyModel_SetHeaderData(void*, intptr_t, int, int, QVariant*, int); +bool miqt_exec_callback_QIdentityProxyModel_ClearItemData(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QIdentityProxyModel_Buddy(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QIdentityProxyModel_CanFetchMore(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QIdentityProxyModel_FetchMore(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QIdentityProxyModel_Sort(void*, intptr_t, int, int); +QSize* miqt_exec_callback_QIdentityProxyModel_Span(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QIdentityProxyModel_HasChildren(void*, intptr_t, QModelIndex*); +QMimeData* miqt_exec_callback_QIdentityProxyModel_MimeData(void*, intptr_t, struct miqt_array /* of QModelIndex* */ ); +bool miqt_exec_callback_QIdentityProxyModel_CanDropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QIdentityProxyModel_MimeTypes(void*, intptr_t); +int miqt_exec_callback_QIdentityProxyModel_SupportedDragActions(void*, intptr_t); +int miqt_exec_callback_QIdentityProxyModel_SupportedDropActions(void*, intptr_t); +struct miqt_map /* of int to struct miqt_string */ miqt_exec_callback_QIdentityProxyModel_RoleNames(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQIdentityProxyModel : public virtual QIdentityProxyModel { public: diff --git a/qt6/gen_qimage.cpp b/qt6/gen_qimage.cpp index 5df48777..78b1dd8a 100644 --- a/qt6/gen_qimage.cpp +++ b/qt6/gen_qimage.cpp @@ -22,10 +22,19 @@ #include #include "gen_qimage.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QImage_DevType(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QImage_PaintEngine(void*, intptr_t); +int miqt_exec_callback_QImage_Metric(void*, intptr_t, int); +void miqt_exec_callback_QImage_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QImage_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QImage_SharedPainter(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQImage : public virtual QImage { public: diff --git a/qt6/gen_qimageiohandler.cpp b/qt6/gen_qimageiohandler.cpp index 8d5a146d..02286c85 100644 --- a/qt6/gen_qimageiohandler.cpp +++ b/qt6/gen_qimageiohandler.cpp @@ -18,10 +18,35 @@ #include #include "gen_qimageiohandler.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QImageIOHandler_CanRead(void*, intptr_t); +bool miqt_exec_callback_QImageIOHandler_Read(void*, intptr_t, QImage*); +bool miqt_exec_callback_QImageIOHandler_Write(void*, intptr_t, QImage*); +QVariant* miqt_exec_callback_QImageIOHandler_Option(void*, intptr_t, int); +void miqt_exec_callback_QImageIOHandler_SetOption(void*, intptr_t, int, QVariant*); +bool miqt_exec_callback_QImageIOHandler_SupportsOption(void*, intptr_t, int); +bool miqt_exec_callback_QImageIOHandler_JumpToNextImage(void*, intptr_t); +bool miqt_exec_callback_QImageIOHandler_JumpToImage(void*, intptr_t, int); +int miqt_exec_callback_QImageIOHandler_LoopCount(void*, intptr_t); +int miqt_exec_callback_QImageIOHandler_ImageCount(void*, intptr_t); +int miqt_exec_callback_QImageIOHandler_NextImageDelay(void*, intptr_t); +int miqt_exec_callback_QImageIOHandler_CurrentImageNumber(void*, intptr_t); +QRect* miqt_exec_callback_QImageIOHandler_CurrentImageRect(void*, intptr_t); +int miqt_exec_callback_QImageIOPlugin_Capabilities(void*, intptr_t, QIODevice*, struct miqt_string); +QImageIOHandler* miqt_exec_callback_QImageIOPlugin_Create(void*, intptr_t, QIODevice*, struct miqt_string); +bool miqt_exec_callback_QImageIOPlugin_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QImageIOPlugin_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QImageIOPlugin_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QImageIOPlugin_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QImageIOPlugin_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QImageIOPlugin_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QImageIOPlugin_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQImageIOHandler : public virtual QImageIOHandler { public: diff --git a/qt6/gen_qimagereader.cpp b/qt6/gen_qimagereader.cpp index 33593474..7b907311 100644 --- a/qt6/gen_qimagereader.cpp +++ b/qt6/gen_qimagereader.cpp @@ -12,10 +12,13 @@ #include #include "gen_qimagereader.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QImageReader* QImageReader_new() { return new QImageReader(); diff --git a/qt6/gen_qimagewriter.cpp b/qt6/gen_qimagewriter.cpp index 669c8e41..2e52f548 100644 --- a/qt6/gen_qimagewriter.cpp +++ b/qt6/gen_qimagewriter.cpp @@ -9,10 +9,13 @@ #include #include "gen_qimagewriter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QImageWriter* QImageWriter_new() { return new QImageWriter(); diff --git a/qt6/gen_qinputdevice.cpp b/qt6/gen_qinputdevice.cpp index 27126523..0ed23b5e 100644 --- a/qt6/gen_qinputdevice.cpp +++ b/qt6/gen_qinputdevice.cpp @@ -13,10 +13,21 @@ #include #include "gen_qinputdevice.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QInputDevice_AvailableVirtualGeometryChanged(intptr_t, QRect*); +bool miqt_exec_callback_QInputDevice_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QInputDevice_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QInputDevice_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QInputDevice_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QInputDevice_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QInputDevice_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QInputDevice_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQInputDevice : public virtual QInputDevice { public: diff --git a/qt6/gen_qinputdialog.cpp b/qt6/gen_qinputdialog.cpp index 258f3cc2..20571489 100644 --- a/qt6/gen_qinputdialog.cpp +++ b/qt6/gen_qinputdialog.cpp @@ -18,10 +18,33 @@ #include #include "gen_qinputdialog.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QInputDialog_TextValueChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QInputDialog_TextValueSelected(intptr_t, struct miqt_string); +void miqt_exec_callback_QInputDialog_IntValueChanged(intptr_t, int); +void miqt_exec_callback_QInputDialog_IntValueSelected(intptr_t, int); +void miqt_exec_callback_QInputDialog_DoubleValueChanged(intptr_t, double); +void miqt_exec_callback_QInputDialog_DoubleValueSelected(intptr_t, double); +QSize* miqt_exec_callback_QInputDialog_MinimumSizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QInputDialog_SizeHint(void*, intptr_t); +void miqt_exec_callback_QInputDialog_SetVisible(void*, intptr_t, bool); +void miqt_exec_callback_QInputDialog_Done(void*, intptr_t, int); +void miqt_exec_callback_QInputDialog_Open(void*, intptr_t); +int miqt_exec_callback_QInputDialog_Exec(void*, intptr_t); +void miqt_exec_callback_QInputDialog_Accept(void*, intptr_t); +void miqt_exec_callback_QInputDialog_Reject(void*, intptr_t); +void miqt_exec_callback_QInputDialog_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QInputDialog_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QInputDialog_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QInputDialog_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QInputDialog_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QInputDialog_EventFilter(void*, intptr_t, QObject*, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQInputDialog : public virtual QInputDialog { public: diff --git a/qt6/gen_qinputmethod.cpp b/qt6/gen_qinputmethod.cpp index 1150cabe..8bfe67e8 100644 --- a/qt6/gen_qinputmethod.cpp +++ b/qt6/gen_qinputmethod.cpp @@ -11,10 +11,21 @@ #include #include "gen_qinputmethod.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QInputMethod_CursorRectangleChanged(intptr_t); +void miqt_exec_callback_QInputMethod_AnchorRectangleChanged(intptr_t); +void miqt_exec_callback_QInputMethod_KeyboardRectangleChanged(intptr_t); +void miqt_exec_callback_QInputMethod_InputItemClipRectangleChanged(intptr_t); +void miqt_exec_callback_QInputMethod_VisibleChanged(intptr_t); +void miqt_exec_callback_QInputMethod_AnimatingChanged(intptr_t); +void miqt_exec_callback_QInputMethod_LocaleChanged(intptr_t); +void miqt_exec_callback_QInputMethod_InputDirectionChanged(intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QInputMethod_virtbase(QInputMethod* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt6/gen_qiodevice.cpp b/qt6/gen_qiodevice.cpp index 9ae448ff..32624e66 100644 --- a/qt6/gen_qiodevice.cpp +++ b/qt6/gen_qiodevice.cpp @@ -13,10 +13,43 @@ #include #include "gen_qiodevice.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QIODevice_ReadyRead(intptr_t); +void miqt_exec_callback_QIODevice_ChannelReadyRead(intptr_t, int); +void miqt_exec_callback_QIODevice_BytesWritten(intptr_t, long long); +void miqt_exec_callback_QIODevice_ChannelBytesWritten(intptr_t, int, long long); +void miqt_exec_callback_QIODevice_AboutToClose(intptr_t); +void miqt_exec_callback_QIODevice_ReadChannelFinished(intptr_t); +bool miqt_exec_callback_QIODevice_IsSequential(void*, intptr_t); +bool miqt_exec_callback_QIODevice_Open(void*, intptr_t, int); +void miqt_exec_callback_QIODevice_Close(void*, intptr_t); +long long miqt_exec_callback_QIODevice_Pos(void*, intptr_t); +long long miqt_exec_callback_QIODevice_Size(void*, intptr_t); +bool miqt_exec_callback_QIODevice_Seek(void*, intptr_t, long long); +bool miqt_exec_callback_QIODevice_AtEnd(void*, intptr_t); +bool miqt_exec_callback_QIODevice_Reset(void*, intptr_t); +long long miqt_exec_callback_QIODevice_BytesAvailable(void*, intptr_t); +long long miqt_exec_callback_QIODevice_BytesToWrite(void*, intptr_t); +bool miqt_exec_callback_QIODevice_CanReadLine(void*, intptr_t); +bool miqt_exec_callback_QIODevice_WaitForReadyRead(void*, intptr_t, int); +bool miqt_exec_callback_QIODevice_WaitForBytesWritten(void*, intptr_t, int); +long long miqt_exec_callback_QIODevice_ReadData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QIODevice_ReadLineData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QIODevice_SkipData(void*, intptr_t, long long); +long long miqt_exec_callback_QIODevice_WriteData(void*, intptr_t, const char*, long long); +bool miqt_exec_callback_QIODevice_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QIODevice_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QIODevice_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QIODevice_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QIODevice_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QIODevice_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QIODevice_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQIODevice : public virtual QIODevice { public: diff --git a/qt6/gen_qiodevicebase.cpp b/qt6/gen_qiodevicebase.cpp index fd3c3b49..f04d0a9a 100644 --- a/qt6/gen_qiodevicebase.cpp +++ b/qt6/gen_qiodevicebase.cpp @@ -2,8 +2,11 @@ #include #include "gen_qiodevicebase.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" diff --git a/qt6/gen_qitemdelegate.cpp b/qt6/gen_qitemdelegate.cpp index 34fa02bb..2a310a1f 100644 --- a/qt6/gen_qitemdelegate.cpp +++ b/qt6/gen_qitemdelegate.cpp @@ -21,10 +21,28 @@ #include #include "gen_qitemdelegate.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QItemDelegate_Paint(void*, intptr_t, QPainter*, QStyleOptionViewItem*, QModelIndex*); +QSize* miqt_exec_callback_QItemDelegate_SizeHint(void*, intptr_t, QStyleOptionViewItem*, QModelIndex*); +QWidget* miqt_exec_callback_QItemDelegate_CreateEditor(void*, intptr_t, QWidget*, QStyleOptionViewItem*, QModelIndex*); +void miqt_exec_callback_QItemDelegate_SetEditorData(void*, intptr_t, QWidget*, QModelIndex*); +void miqt_exec_callback_QItemDelegate_SetModelData(void*, intptr_t, QWidget*, QAbstractItemModel*, QModelIndex*); +void miqt_exec_callback_QItemDelegate_UpdateEditorGeometry(void*, intptr_t, QWidget*, QStyleOptionViewItem*, QModelIndex*); +void miqt_exec_callback_QItemDelegate_DrawDisplay(void*, intptr_t, QPainter*, QStyleOptionViewItem*, QRect*, struct miqt_string); +void miqt_exec_callback_QItemDelegate_DrawDecoration(void*, intptr_t, QPainter*, QStyleOptionViewItem*, QRect*, QPixmap*); +void miqt_exec_callback_QItemDelegate_DrawFocus(void*, intptr_t, QPainter*, QStyleOptionViewItem*, QRect*); +void miqt_exec_callback_QItemDelegate_DrawCheck(void*, intptr_t, QPainter*, QStyleOptionViewItem*, QRect*, int); +bool miqt_exec_callback_QItemDelegate_EventFilter(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QItemDelegate_EditorEvent(void*, intptr_t, QEvent*, QAbstractItemModel*, QStyleOptionViewItem*, QModelIndex*); +void miqt_exec_callback_QItemDelegate_DestroyEditor(void*, intptr_t, QWidget*, QModelIndex*); +bool miqt_exec_callback_QItemDelegate_HelpEvent(void*, intptr_t, QHelpEvent*, QAbstractItemView*, QStyleOptionViewItem*, QModelIndex*); +struct miqt_array /* of int */ miqt_exec_callback_QItemDelegate_PaintingRoles(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQItemDelegate : public virtual QItemDelegate { public: diff --git a/qt6/gen_qitemeditorfactory.cpp b/qt6/gen_qitemeditorfactory.cpp index 675fa407..8c83fb0c 100644 --- a/qt6/gen_qitemeditorfactory.cpp +++ b/qt6/gen_qitemeditorfactory.cpp @@ -5,10 +5,15 @@ #include #include "gen_qitemeditorfactory.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QWidget* miqt_exec_callback_QItemEditorFactory_CreateEditor(void*, intptr_t, int, QWidget*); +struct miqt_string miqt_exec_callback_QItemEditorFactory_ValuePropertyName(void*, intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWidget* QItemEditorCreatorBase_CreateWidget(const QItemEditorCreatorBase* self, QWidget* parent) { return self->createWidget(parent); diff --git a/qt6/gen_qitemselectionmodel.cpp b/qt6/gen_qitemselectionmodel.cpp index 6b900679..49c6021f 100644 --- a/qt6/gen_qitemselectionmodel.cpp +++ b/qt6/gen_qitemselectionmodel.cpp @@ -17,10 +17,31 @@ #include #include "gen_qitemselectionmodel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QItemSelectionModel_SelectionChanged(intptr_t, QItemSelection*, QItemSelection*); +void miqt_exec_callback_QItemSelectionModel_CurrentChanged(intptr_t, QModelIndex*, QModelIndex*); +void miqt_exec_callback_QItemSelectionModel_CurrentRowChanged(intptr_t, QModelIndex*, QModelIndex*); +void miqt_exec_callback_QItemSelectionModel_CurrentColumnChanged(intptr_t, QModelIndex*, QModelIndex*); +void miqt_exec_callback_QItemSelectionModel_ModelChanged(intptr_t, QAbstractItemModel*); +void miqt_exec_callback_QItemSelectionModel_SetCurrentIndex(void*, intptr_t, QModelIndex*, int); +void miqt_exec_callback_QItemSelectionModel_Select(void*, intptr_t, QModelIndex*, int); +void miqt_exec_callback_QItemSelectionModel_Select2(void*, intptr_t, QItemSelection*, int); +void miqt_exec_callback_QItemSelectionModel_Clear(void*, intptr_t); +void miqt_exec_callback_QItemSelectionModel_Reset(void*, intptr_t); +void miqt_exec_callback_QItemSelectionModel_ClearCurrentIndex(void*, intptr_t); +bool miqt_exec_callback_QItemSelectionModel_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QItemSelectionModel_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QItemSelectionModel_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QItemSelectionModel_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QItemSelectionModel_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QItemSelectionModel_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QItemSelectionModel_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QItemSelectionRange* QItemSelectionRange_new() { return new QItemSelectionRange(); diff --git a/qt6/gen_qjsonarray.cpp b/qt6/gen_qjsonarray.cpp index 5a375711..0538ffe2 100644 --- a/qt6/gen_qjsonarray.cpp +++ b/qt6/gen_qjsonarray.cpp @@ -11,10 +11,13 @@ #include #include "gen_qjsonarray.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QJsonArray* QJsonArray_new() { return new QJsonArray(); diff --git a/qt6/gen_qjsondocument.cpp b/qt6/gen_qjsondocument.cpp index e616d897..297e1155 100644 --- a/qt6/gen_qjsondocument.cpp +++ b/qt6/gen_qjsondocument.cpp @@ -11,10 +11,13 @@ #include #include "gen_qjsondocument.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" struct miqt_string QJsonParseError_ErrorString(const QJsonParseError* self) { QString _ret = self->errorString(); diff --git a/qt6/gen_qjsonobject.cpp b/qt6/gen_qjsonobject.cpp index 01d6753a..9c98cc7d 100644 --- a/qt6/gen_qjsonobject.cpp +++ b/qt6/gen_qjsonobject.cpp @@ -13,10 +13,13 @@ #include #include "gen_qjsonobject.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QJsonObject* QJsonObject_new() { return new QJsonObject(); diff --git a/qt6/gen_qjsonvalue.cpp b/qt6/gen_qjsonvalue.cpp index 8c9c7ecb..422ade9f 100644 --- a/qt6/gen_qjsonvalue.cpp +++ b/qt6/gen_qjsonvalue.cpp @@ -10,10 +10,13 @@ #include #include "gen_qjsonvalue.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QJsonValue* QJsonValue_new() { return new QJsonValue(); diff --git a/qt6/gen_qkeysequence.cpp b/qt6/gen_qkeysequence.cpp index 0ba721cf..e589fdc9 100644 --- a/qt6/gen_qkeysequence.cpp +++ b/qt6/gen_qkeysequence.cpp @@ -8,10 +8,13 @@ #include #include "gen_qkeysequence.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QKeySequence* QKeySequence_new() { return new QKeySequence(); diff --git a/qt6/gen_qkeysequenceedit.cpp b/qt6/gen_qkeysequenceedit.cpp index 72cd4002..7919ebb6 100644 --- a/qt6/gen_qkeysequenceedit.cpp +++ b/qt6/gen_qkeysequenceedit.cpp @@ -37,10 +37,57 @@ #include #include "gen_qkeysequenceedit.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QKeySequenceEdit_EditingFinished(intptr_t); +void miqt_exec_callback_QKeySequenceEdit_KeySequenceChanged(intptr_t, QKeySequence*); +bool miqt_exec_callback_QKeySequenceEdit_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QKeySequenceEdit_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QKeySequenceEdit_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QKeySequenceEdit_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QKeySequenceEdit_FocusOutEvent(void*, intptr_t, QFocusEvent*); +int miqt_exec_callback_QKeySequenceEdit_DevType(void*, intptr_t); +void miqt_exec_callback_QKeySequenceEdit_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QKeySequenceEdit_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QKeySequenceEdit_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QKeySequenceEdit_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QKeySequenceEdit_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QKeySequenceEdit_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QKeySequenceEdit_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QKeySequenceEdit_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QKeySequenceEdit_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QKeySequenceEdit_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QKeySequenceEdit_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QKeySequenceEdit_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QKeySequenceEdit_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QKeySequenceEdit_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QKeySequenceEdit_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QKeySequenceEdit_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QKeySequenceEdit_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QKeySequenceEdit_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QKeySequenceEdit_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QKeySequenceEdit_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QKeySequenceEdit_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QKeySequenceEdit_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QKeySequenceEdit_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QKeySequenceEdit_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QKeySequenceEdit_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QKeySequenceEdit_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QKeySequenceEdit_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QKeySequenceEdit_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +void miqt_exec_callback_QKeySequenceEdit_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QKeySequenceEdit_Metric(void*, intptr_t, int); +void miqt_exec_callback_QKeySequenceEdit_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QKeySequenceEdit_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QKeySequenceEdit_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QKeySequenceEdit_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QKeySequenceEdit_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QKeySequenceEdit_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQKeySequenceEdit : public virtual QKeySequenceEdit { public: diff --git a/qt6/gen_qlabel.cpp b/qt6/gen_qlabel.cpp index 866259b5..c5c889c1 100644 --- a/qt6/gen_qlabel.cpp +++ b/qt6/gen_qlabel.cpp @@ -21,10 +21,30 @@ #include #include "gen_qlabel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QLabel_LinkActivated(intptr_t, struct miqt_string); +void miqt_exec_callback_QLabel_LinkHovered(intptr_t, struct miqt_string); +QSize* miqt_exec_callback_QLabel_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QLabel_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QLabel_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QLabel_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QLabel_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QLabel_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QLabel_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QLabel_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QLabel_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QLabel_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QLabel_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QLabel_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QLabel_FocusOutEvent(void*, intptr_t, QFocusEvent*); +bool miqt_exec_callback_QLabel_FocusNextPrevChild(void*, intptr_t, bool); +void miqt_exec_callback_QLabel_InitStyleOption(void*, intptr_t, QStyleOptionFrame*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQLabel : public virtual QLabel { public: diff --git a/qt6/gen_qlayout.cpp b/qt6/gen_qlayout.cpp index e8cba740..27b9fd63 100644 --- a/qt6/gen_qlayout.cpp +++ b/qt6/gen_qlayout.cpp @@ -17,10 +17,44 @@ #include #include "gen_qlayout.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QLayout_Spacing(void*, intptr_t); +void miqt_exec_callback_QLayout_SetSpacing(void*, intptr_t, int); +void miqt_exec_callback_QLayout_Invalidate(void*, intptr_t); +QRect* miqt_exec_callback_QLayout_Geometry(void*, intptr_t); +void miqt_exec_callback_QLayout_AddItem(void*, intptr_t, QLayoutItem*); +int miqt_exec_callback_QLayout_ExpandingDirections(void*, intptr_t); +QSize* miqt_exec_callback_QLayout_MinimumSize(void*, intptr_t); +QSize* miqt_exec_callback_QLayout_MaximumSize(void*, intptr_t); +void miqt_exec_callback_QLayout_SetGeometry(void*, intptr_t, QRect*); +QLayoutItem* miqt_exec_callback_QLayout_ItemAt(void*, intptr_t, int); +QLayoutItem* miqt_exec_callback_QLayout_TakeAt(void*, intptr_t, int); +int miqt_exec_callback_QLayout_IndexOf(void*, intptr_t, QWidget*); +int miqt_exec_callback_QLayout_IndexOfWithQLayoutItem(void*, intptr_t, QLayoutItem*); +int miqt_exec_callback_QLayout_Count(void*, intptr_t); +bool miqt_exec_callback_QLayout_IsEmpty(void*, intptr_t); +int miqt_exec_callback_QLayout_ControlTypes(void*, intptr_t); +QLayoutItem* miqt_exec_callback_QLayout_ReplaceWidget(void*, intptr_t, QWidget*, QWidget*, int); +QLayout* miqt_exec_callback_QLayout_Layout(void*, intptr_t); +void miqt_exec_callback_QLayout_ChildEvent(void*, intptr_t, QChildEvent*); +bool miqt_exec_callback_QLayout_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QLayout_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QLayout_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QLayout_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QLayout_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QLayout_DisconnectNotify(void*, intptr_t, QMetaMethod*); +QSize* miqt_exec_callback_QLayout_SizeHint(void*, intptr_t); +bool miqt_exec_callback_QLayout_HasHeightForWidth(void*, intptr_t); +int miqt_exec_callback_QLayout_HeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QLayout_MinimumHeightForWidth(void*, intptr_t, int); +QWidget* miqt_exec_callback_QLayout_Widget(void*, intptr_t); +QSpacerItem* miqt_exec_callback_QLayout_SpacerItem(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQLayout : public virtual QLayout { public: diff --git a/qt6/gen_qlayoutitem.cpp b/qt6/gen_qlayoutitem.cpp index 94dfd1db..94c4d76d 100644 --- a/qt6/gen_qlayoutitem.cpp +++ b/qt6/gen_qlayoutitem.cpp @@ -10,10 +10,70 @@ #include #include "gen_qlayoutitem.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QLayoutItem_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QLayoutItem_MinimumSize(void*, intptr_t); +QSize* miqt_exec_callback_QLayoutItem_MaximumSize(void*, intptr_t); +int miqt_exec_callback_QLayoutItem_ExpandingDirections(void*, intptr_t); +void miqt_exec_callback_QLayoutItem_SetGeometry(void*, intptr_t, QRect*); +QRect* miqt_exec_callback_QLayoutItem_Geometry(void*, intptr_t); +bool miqt_exec_callback_QLayoutItem_IsEmpty(void*, intptr_t); +bool miqt_exec_callback_QLayoutItem_HasHeightForWidth(void*, intptr_t); +int miqt_exec_callback_QLayoutItem_HeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QLayoutItem_MinimumHeightForWidth(void*, intptr_t, int); +void miqt_exec_callback_QLayoutItem_Invalidate(void*, intptr_t); +QWidget* miqt_exec_callback_QLayoutItem_Widget(void*, intptr_t); +QLayout* miqt_exec_callback_QLayoutItem_Layout(void*, intptr_t); +QSpacerItem* miqt_exec_callback_QLayoutItem_SpacerItem(void*, intptr_t); +int miqt_exec_callback_QLayoutItem_ControlTypes(void*, intptr_t); +QSize* miqt_exec_callback_QSpacerItem_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QSpacerItem_MinimumSize(void*, intptr_t); +QSize* miqt_exec_callback_QSpacerItem_MaximumSize(void*, intptr_t); +int miqt_exec_callback_QSpacerItem_ExpandingDirections(void*, intptr_t); +bool miqt_exec_callback_QSpacerItem_IsEmpty(void*, intptr_t); +void miqt_exec_callback_QSpacerItem_SetGeometry(void*, intptr_t, QRect*); +QRect* miqt_exec_callback_QSpacerItem_Geometry(void*, intptr_t); +QSpacerItem* miqt_exec_callback_QSpacerItem_SpacerItem(void*, intptr_t); +bool miqt_exec_callback_QSpacerItem_HasHeightForWidth(void*, intptr_t); +int miqt_exec_callback_QSpacerItem_HeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QSpacerItem_MinimumHeightForWidth(void*, intptr_t, int); +void miqt_exec_callback_QSpacerItem_Invalidate(void*, intptr_t); +QWidget* miqt_exec_callback_QSpacerItem_Widget(void*, intptr_t); +QLayout* miqt_exec_callback_QSpacerItem_Layout(void*, intptr_t); +int miqt_exec_callback_QSpacerItem_ControlTypes(void*, intptr_t); +QSize* miqt_exec_callback_QWidgetItem_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QWidgetItem_MinimumSize(void*, intptr_t); +QSize* miqt_exec_callback_QWidgetItem_MaximumSize(void*, intptr_t); +int miqt_exec_callback_QWidgetItem_ExpandingDirections(void*, intptr_t); +bool miqt_exec_callback_QWidgetItem_IsEmpty(void*, intptr_t); +void miqt_exec_callback_QWidgetItem_SetGeometry(void*, intptr_t, QRect*); +QRect* miqt_exec_callback_QWidgetItem_Geometry(void*, intptr_t); +QWidget* miqt_exec_callback_QWidgetItem_Widget(void*, intptr_t); +bool miqt_exec_callback_QWidgetItem_HasHeightForWidth(void*, intptr_t); +int miqt_exec_callback_QWidgetItem_HeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QWidgetItem_MinimumHeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QWidgetItem_ControlTypes(void*, intptr_t); +void miqt_exec_callback_QWidgetItem_Invalidate(void*, intptr_t); +QLayout* miqt_exec_callback_QWidgetItem_Layout(void*, intptr_t); +QSpacerItem* miqt_exec_callback_QWidgetItem_SpacerItem(void*, intptr_t); +QSize* miqt_exec_callback_QWidgetItemV2_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QWidgetItemV2_MinimumSize(void*, intptr_t); +QSize* miqt_exec_callback_QWidgetItemV2_MaximumSize(void*, intptr_t); +int miqt_exec_callback_QWidgetItemV2_HeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QWidgetItemV2_ExpandingDirections(void*, intptr_t); +bool miqt_exec_callback_QWidgetItemV2_IsEmpty(void*, intptr_t); +void miqt_exec_callback_QWidgetItemV2_SetGeometry(void*, intptr_t, QRect*); +QRect* miqt_exec_callback_QWidgetItemV2_Geometry(void*, intptr_t); +QWidget* miqt_exec_callback_QWidgetItemV2_Widget(void*, intptr_t); +bool miqt_exec_callback_QWidgetItemV2_HasHeightForWidth(void*, intptr_t); +int miqt_exec_callback_QWidgetItemV2_MinimumHeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QWidgetItemV2_ControlTypes(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQLayoutItem : public virtual QLayoutItem { public: diff --git a/qt6/gen_qlcdnumber.cpp b/qt6/gen_qlcdnumber.cpp index a23cb172..0bb684ea 100644 --- a/qt6/gen_qlcdnumber.cpp +++ b/qt6/gen_qlcdnumber.cpp @@ -14,10 +14,19 @@ #include #include "gen_qlcdnumber.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QLCDNumber_Overflow(intptr_t); +QSize* miqt_exec_callback_QLCDNumber_SizeHint(void*, intptr_t); +bool miqt_exec_callback_QLCDNumber_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QLCDNumber_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QLCDNumber_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QLCDNumber_InitStyleOption(void*, intptr_t, QStyleOptionFrame*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQLCDNumber : public virtual QLCDNumber { public: diff --git a/qt6/gen_qlibrary.cpp b/qt6/gen_qlibrary.cpp index 9cb379c2..1b2e6e85 100644 --- a/qt6/gen_qlibrary.cpp +++ b/qt6/gen_qlibrary.cpp @@ -11,10 +11,20 @@ #include #include "gen_qlibrary.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QLibrary_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QLibrary_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QLibrary_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QLibrary_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QLibrary_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QLibrary_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QLibrary_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQLibrary : public virtual QLibrary { public: diff --git a/qt6/gen_qlibraryinfo.cpp b/qt6/gen_qlibraryinfo.cpp index c8766133..4060725c 100644 --- a/qt6/gen_qlibraryinfo.cpp +++ b/qt6/gen_qlibraryinfo.cpp @@ -7,10 +7,13 @@ #include #include "gen_qlibraryinfo.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" const char* QLibraryInfo_Build() { return (const char*) QLibraryInfo::build(); diff --git a/qt6/gen_qline.cpp b/qt6/gen_qline.cpp index 1495332b..4ef2101b 100644 --- a/qt6/gen_qline.cpp +++ b/qt6/gen_qline.cpp @@ -5,10 +5,13 @@ #include #include "gen_qline.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QLine* QLine_new() { return new QLine(); diff --git a/qt6/gen_qlineedit.cpp b/qt6/gen_qlineedit.cpp index 228034ba..572d8575 100644 --- a/qt6/gen_qlineedit.cpp +++ b/qt6/gen_qlineedit.cpp @@ -43,10 +43,63 @@ #include #include "gen_qlineedit.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QLineEdit_TextChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QLineEdit_TextEdited(intptr_t, struct miqt_string); +void miqt_exec_callback_QLineEdit_CursorPositionChanged(intptr_t, int, int); +void miqt_exec_callback_QLineEdit_ReturnPressed(intptr_t); +void miqt_exec_callback_QLineEdit_EditingFinished(intptr_t); +void miqt_exec_callback_QLineEdit_SelectionChanged(intptr_t); +void miqt_exec_callback_QLineEdit_InputRejected(intptr_t); +QSize* miqt_exec_callback_QLineEdit_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QLineEdit_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QLineEdit_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QLineEdit_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QLineEdit_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QLineEdit_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QLineEdit_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QLineEdit_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QLineEdit_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QLineEdit_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QLineEdit_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QLineEdit_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QLineEdit_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QLineEdit_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QLineEdit_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QLineEdit_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QLineEdit_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QLineEdit_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +void miqt_exec_callback_QLineEdit_InitStyleOption(void*, intptr_t, QStyleOptionFrame*); +QVariant* miqt_exec_callback_QLineEdit_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QLineEdit_TimerEvent(void*, intptr_t, QTimerEvent*); +bool miqt_exec_callback_QLineEdit_Event(void*, intptr_t, QEvent*); +int miqt_exec_callback_QLineEdit_DevType(void*, intptr_t); +void miqt_exec_callback_QLineEdit_SetVisible(void*, intptr_t, bool); +int miqt_exec_callback_QLineEdit_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QLineEdit_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QLineEdit_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QLineEdit_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QLineEdit_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QLineEdit_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QLineEdit_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QLineEdit_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QLineEdit_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QLineEdit_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QLineEdit_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QLineEdit_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QLineEdit_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QLineEdit_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +int miqt_exec_callback_QLineEdit_Metric(void*, intptr_t, int); +void miqt_exec_callback_QLineEdit_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QLineEdit_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QLineEdit_SharedPainter(void*, intptr_t); +bool miqt_exec_callback_QLineEdit_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQLineEdit : public virtual QLineEdit { public: diff --git a/qt6/gen_qlistview.cpp b/qt6/gen_qlistview.cpp index 28e5e9f1..98b344fb 100644 --- a/qt6/gen_qlistview.cpp +++ b/qt6/gen_qlistview.cpp @@ -37,10 +37,76 @@ #include #include "gen_qlistview.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QListView_IndexesMoved(intptr_t, struct miqt_array /* of QModelIndex* */ ); +QRect* miqt_exec_callback_QListView_VisualRect(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QListView_ScrollTo(void*, intptr_t, QModelIndex*, int); +QModelIndex* miqt_exec_callback_QListView_IndexAt(void*, intptr_t, QPoint*); +void miqt_exec_callback_QListView_DoItemsLayout(void*, intptr_t); +void miqt_exec_callback_QListView_Reset(void*, intptr_t); +void miqt_exec_callback_QListView_SetRootIndex(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QListView_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QListView_ScrollContentsBy(void*, intptr_t, int, int); +void miqt_exec_callback_QListView_DataChanged(void*, intptr_t, QModelIndex*, QModelIndex*, struct miqt_array /* of int */ ); +void miqt_exec_callback_QListView_RowsInserted(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QListView_RowsAboutToBeRemoved(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QListView_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QListView_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QListView_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QListView_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QListView_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QListView_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QListView_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QListView_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QListView_StartDrag(void*, intptr_t, int); +void miqt_exec_callback_QListView_InitViewItemOption(void*, intptr_t, QStyleOptionViewItem*); +void miqt_exec_callback_QListView_PaintEvent(void*, intptr_t, QPaintEvent*); +int miqt_exec_callback_QListView_HorizontalOffset(void*, intptr_t); +int miqt_exec_callback_QListView_VerticalOffset(void*, intptr_t); +QModelIndex* miqt_exec_callback_QListView_MoveCursor(void*, intptr_t, int, int); +void miqt_exec_callback_QListView_SetSelection(void*, intptr_t, QRect*, int); +QRegion* miqt_exec_callback_QListView_VisualRegionForSelection(void*, intptr_t, QItemSelection*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QListView_SelectedIndexes(void*, intptr_t); +void miqt_exec_callback_QListView_UpdateGeometries(void*, intptr_t); +bool miqt_exec_callback_QListView_IsIndexHidden(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QListView_SelectionChanged(void*, intptr_t, QItemSelection*, QItemSelection*); +void miqt_exec_callback_QListView_CurrentChanged(void*, intptr_t, QModelIndex*, QModelIndex*); +QSize* miqt_exec_callback_QListView_ViewportSizeHint(void*, intptr_t); +void miqt_exec_callback_QListView_SetModel(void*, intptr_t, QAbstractItemModel*); +void miqt_exec_callback_QListView_SetSelectionModel(void*, intptr_t, QItemSelectionModel*); +void miqt_exec_callback_QListView_KeyboardSearch(void*, intptr_t, struct miqt_string); +int miqt_exec_callback_QListView_SizeHintForRow(void*, intptr_t, int); +int miqt_exec_callback_QListView_SizeHintForColumn(void*, intptr_t, int); +QAbstractItemDelegate* miqt_exec_callback_QListView_ItemDelegateForIndex(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QListView_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QListView_SelectAll(void*, intptr_t); +void miqt_exec_callback_QListView_UpdateEditorData(void*, intptr_t); +void miqt_exec_callback_QListView_UpdateEditorGeometries(void*, intptr_t); +void miqt_exec_callback_QListView_VerticalScrollbarAction(void*, intptr_t, int); +void miqt_exec_callback_QListView_HorizontalScrollbarAction(void*, intptr_t, int); +void miqt_exec_callback_QListView_VerticalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QListView_HorizontalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QListView_CloseEditor(void*, intptr_t, QWidget*, int); +void miqt_exec_callback_QListView_CommitData(void*, intptr_t, QWidget*); +void miqt_exec_callback_QListView_EditorDestroyed(void*, intptr_t, QObject*); +bool miqt_exec_callback_QListView_Edit2(void*, intptr_t, QModelIndex*, int, QEvent*); +int miqt_exec_callback_QListView_SelectionCommand(void*, intptr_t, QModelIndex*, QEvent*); +bool miqt_exec_callback_QListView_FocusNextPrevChild(void*, intptr_t, bool); +bool miqt_exec_callback_QListView_ViewportEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QListView_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QListView_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QListView_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QListView_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QListView_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QListView_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QListView_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +bool miqt_exec_callback_QListView_EventFilter(void*, intptr_t, QObject*, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQListView : public virtual QListView { public: diff --git a/qt6/gen_qlistwidget.cpp b/qt6/gen_qlistwidget.cpp index 99fbb481..0f8ef52f 100644 --- a/qt6/gen_qlistwidget.cpp +++ b/qt6/gen_qlistwidget.cpp @@ -38,10 +38,67 @@ #include #include "gen_qlistwidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QListWidgetItem* miqt_exec_callback_QListWidgetItem_Clone(void*, intptr_t); +QVariant* miqt_exec_callback_QListWidgetItem_Data(void*, intptr_t, int); +void miqt_exec_callback_QListWidgetItem_SetData(void*, intptr_t, int, QVariant*); +bool miqt_exec_callback_QListWidgetItem_OperatorLesser(void*, intptr_t, QListWidgetItem*); +void miqt_exec_callback_QListWidgetItem_Read(void*, intptr_t, QDataStream*); +void miqt_exec_callback_QListWidgetItem_Write(void*, intptr_t, QDataStream*); +void miqt_exec_callback_QListWidget_ItemPressed(intptr_t, QListWidgetItem*); +void miqt_exec_callback_QListWidget_ItemClicked(intptr_t, QListWidgetItem*); +void miqt_exec_callback_QListWidget_ItemDoubleClicked(intptr_t, QListWidgetItem*); +void miqt_exec_callback_QListWidget_ItemActivated(intptr_t, QListWidgetItem*); +void miqt_exec_callback_QListWidget_ItemEntered(intptr_t, QListWidgetItem*); +void miqt_exec_callback_QListWidget_ItemChanged(intptr_t, QListWidgetItem*); +void miqt_exec_callback_QListWidget_CurrentItemChanged(intptr_t, QListWidgetItem*, QListWidgetItem*); +void miqt_exec_callback_QListWidget_CurrentTextChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QListWidget_CurrentRowChanged(intptr_t, int); +void miqt_exec_callback_QListWidget_ItemSelectionChanged(intptr_t); +void miqt_exec_callback_QListWidget_SetSelectionModel(void*, intptr_t, QItemSelectionModel*); +void miqt_exec_callback_QListWidget_DropEvent(void*, intptr_t, QDropEvent*); +bool miqt_exec_callback_QListWidget_Event(void*, intptr_t, QEvent*); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QListWidget_MimeTypes(void*, intptr_t); +QMimeData* miqt_exec_callback_QListWidget_MimeData(void*, intptr_t, struct miqt_array /* of QListWidgetItem* */ ); +bool miqt_exec_callback_QListWidget_DropMimeData(void*, intptr_t, int, QMimeData*, int); +int miqt_exec_callback_QListWidget_SupportedDropActions(void*, intptr_t); +QRect* miqt_exec_callback_QListWidget_VisualRect(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QListWidget_ScrollTo(void*, intptr_t, QModelIndex*, int); +QModelIndex* miqt_exec_callback_QListWidget_IndexAt(void*, intptr_t, QPoint*); +void miqt_exec_callback_QListWidget_DoItemsLayout(void*, intptr_t); +void miqt_exec_callback_QListWidget_Reset(void*, intptr_t); +void miqt_exec_callback_QListWidget_SetRootIndex(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QListWidget_ScrollContentsBy(void*, intptr_t, int, int); +void miqt_exec_callback_QListWidget_DataChanged(void*, intptr_t, QModelIndex*, QModelIndex*, struct miqt_array /* of int */ ); +void miqt_exec_callback_QListWidget_RowsInserted(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QListWidget_RowsAboutToBeRemoved(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QListWidget_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QListWidget_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QListWidget_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QListWidget_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QListWidget_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QListWidget_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QListWidget_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QListWidget_StartDrag(void*, intptr_t, int); +void miqt_exec_callback_QListWidget_InitViewItemOption(void*, intptr_t, QStyleOptionViewItem*); +void miqt_exec_callback_QListWidget_PaintEvent(void*, intptr_t, QPaintEvent*); +int miqt_exec_callback_QListWidget_HorizontalOffset(void*, intptr_t); +int miqt_exec_callback_QListWidget_VerticalOffset(void*, intptr_t); +QModelIndex* miqt_exec_callback_QListWidget_MoveCursor(void*, intptr_t, int, int); +void miqt_exec_callback_QListWidget_SetSelection(void*, intptr_t, QRect*, int); +QRegion* miqt_exec_callback_QListWidget_VisualRegionForSelection(void*, intptr_t, QItemSelection*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QListWidget_SelectedIndexes(void*, intptr_t); +void miqt_exec_callback_QListWidget_UpdateGeometries(void*, intptr_t); +bool miqt_exec_callback_QListWidget_IsIndexHidden(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QListWidget_SelectionChanged(void*, intptr_t, QItemSelection*, QItemSelection*); +void miqt_exec_callback_QListWidget_CurrentChanged(void*, intptr_t, QModelIndex*, QModelIndex*); +QSize* miqt_exec_callback_QListWidget_ViewportSizeHint(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQListWidgetItem : public virtual QListWidgetItem { public: diff --git a/qt6/gen_qlocale.cpp b/qt6/gen_qlocale.cpp index 1845c0c8..53b3b748 100644 --- a/qt6/gen_qlocale.cpp +++ b/qt6/gen_qlocale.cpp @@ -10,10 +10,13 @@ #include #include "gen_qlocale.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QLocale* QLocale_new() { return new QLocale(); diff --git a/qt6/gen_qlockfile.cpp b/qt6/gen_qlockfile.cpp index 78188511..daccdd1d 100644 --- a/qt6/gen_qlockfile.cpp +++ b/qt6/gen_qlockfile.cpp @@ -5,10 +5,13 @@ #include #include "gen_qlockfile.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QLockFile* QLockFile_new(struct miqt_string fileName) { QString fileName_QString = QString::fromUtf8(fileName.data, fileName.len); diff --git a/qt6/gen_qloggingcategory.cpp b/qt6/gen_qloggingcategory.cpp index 2c919a2d..86219aa2 100644 --- a/qt6/gen_qloggingcategory.cpp +++ b/qt6/gen_qloggingcategory.cpp @@ -5,10 +5,13 @@ #include #include "gen_qloggingcategory.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QLoggingCategory* QLoggingCategory_new(const char* category) { return new QLoggingCategory(category); diff --git a/qt6/gen_qmainwindow.cpp b/qt6/gen_qmainwindow.cpp index 72654b7a..d60a0894 100644 --- a/qt6/gen_qmainwindow.cpp +++ b/qt6/gen_qmainwindow.cpp @@ -41,10 +41,58 @@ #include #include "gen_qmainwindow.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMainWindow_IconSizeChanged(intptr_t, QSize*); +void miqt_exec_callback_QMainWindow_ToolButtonStyleChanged(intptr_t, int); +void miqt_exec_callback_QMainWindow_TabifiedDockWidgetActivated(intptr_t, QDockWidget*); +QMenu* miqt_exec_callback_QMainWindow_CreatePopupMenu(void*, intptr_t); +void miqt_exec_callback_QMainWindow_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QMainWindow_Event(void*, intptr_t, QEvent*); +int miqt_exec_callback_QMainWindow_DevType(void*, intptr_t); +void miqt_exec_callback_QMainWindow_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QMainWindow_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QMainWindow_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QMainWindow_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QMainWindow_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QMainWindow_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QMainWindow_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMainWindow_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMainWindow_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMainWindow_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMainWindow_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QMainWindow_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QMainWindow_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QMainWindow_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QMainWindow_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QMainWindow_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QMainWindow_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMainWindow_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QMainWindow_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QMainWindow_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QMainWindow_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QMainWindow_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QMainWindow_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QMainWindow_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QMainWindow_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QMainWindow_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QMainWindow_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QMainWindow_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QMainWindow_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QMainWindow_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +void miqt_exec_callback_QMainWindow_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QMainWindow_Metric(void*, intptr_t, int); +void miqt_exec_callback_QMainWindow_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QMainWindow_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QMainWindow_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QMainWindow_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QMainWindow_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QMainWindow_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQMainWindow : public virtual QMainWindow { public: diff --git a/qt6/gen_qmargins.cpp b/qt6/gen_qmargins.cpp index 2676cf8a..ae6c64dd 100644 --- a/qt6/gen_qmargins.cpp +++ b/qt6/gen_qmargins.cpp @@ -3,10 +3,13 @@ #include #include "gen_qmargins.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMargins* QMargins_new() { return new QMargins(); diff --git a/qt6/gen_qmatrix4x4.cpp b/qt6/gen_qmatrix4x4.cpp index 0f9b333c..1ba413a1 100644 --- a/qt6/gen_qmatrix4x4.cpp +++ b/qt6/gen_qmatrix4x4.cpp @@ -11,10 +11,13 @@ #include #include "gen_qmatrix4x4.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMatrix4x4* QMatrix4x4_new() { return new QMatrix4x4(); diff --git a/qt6/gen_qmdiarea.cpp b/qt6/gen_qmdiarea.cpp index 037596ff..a2e88b11 100644 --- a/qt6/gen_qmdiarea.cpp +++ b/qt6/gen_qmdiarea.cpp @@ -29,10 +29,38 @@ #include #include "gen_qmdiarea.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMdiArea_SubWindowActivated(intptr_t, QMdiSubWindow*); +QSize* miqt_exec_callback_QMdiArea_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QMdiArea_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QMdiArea_SetupViewport(void*, intptr_t, QWidget*); +bool miqt_exec_callback_QMdiArea_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QMdiArea_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QMdiArea_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QMdiArea_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QMdiArea_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QMdiArea_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QMdiArea_ShowEvent(void*, intptr_t, QShowEvent*); +bool miqt_exec_callback_QMdiArea_ViewportEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMdiArea_ScrollContentsBy(void*, intptr_t, int, int); +void miqt_exec_callback_QMdiArea_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMdiArea_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMdiArea_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMdiArea_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMdiArea_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QMdiArea_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QMdiArea_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QMdiArea_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QMdiArea_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QMdiArea_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QMdiArea_KeyPressEvent(void*, intptr_t, QKeyEvent*); +QSize* miqt_exec_callback_QMdiArea_ViewportSizeHint(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQMdiArea : public virtual QMdiArea { public: diff --git a/qt6/gen_qmdisubwindow.cpp b/qt6/gen_qmdisubwindow.cpp index b0bdf090..58450055 100644 --- a/qt6/gen_qmdisubwindow.cpp +++ b/qt6/gen_qmdisubwindow.cpp @@ -39,10 +39,59 @@ #include #include "gen_qmdisubwindow.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMdiSubWindow_WindowStateChanged(intptr_t, int, int); +void miqt_exec_callback_QMdiSubWindow_AboutToActivate(intptr_t); +QSize* miqt_exec_callback_QMdiSubWindow_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QMdiSubWindow_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QMdiSubWindow_EventFilter(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QMdiSubWindow_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMdiSubWindow_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QMdiSubWindow_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QMdiSubWindow_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMdiSubWindow_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QMdiSubWindow_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMdiSubWindow_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QMdiSubWindow_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QMdiSubWindow_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QMdiSubWindow_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QMdiSubWindow_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMdiSubWindow_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMdiSubWindow_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMdiSubWindow_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMdiSubWindow_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QMdiSubWindow_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QMdiSubWindow_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QMdiSubWindow_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QMdiSubWindow_ChildEvent(void*, intptr_t, QChildEvent*); +int miqt_exec_callback_QMdiSubWindow_DevType(void*, intptr_t); +void miqt_exec_callback_QMdiSubWindow_SetVisible(void*, intptr_t, bool); +int miqt_exec_callback_QMdiSubWindow_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QMdiSubWindow_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QMdiSubWindow_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QMdiSubWindow_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QMdiSubWindow_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QMdiSubWindow_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QMdiSubWindow_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QMdiSubWindow_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QMdiSubWindow_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QMdiSubWindow_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QMdiSubWindow_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QMdiSubWindow_DropEvent(void*, intptr_t, QDropEvent*); +bool miqt_exec_callback_QMdiSubWindow_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +int miqt_exec_callback_QMdiSubWindow_Metric(void*, intptr_t, int); +void miqt_exec_callback_QMdiSubWindow_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QMdiSubWindow_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QMdiSubWindow_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QMdiSubWindow_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QMdiSubWindow_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QMdiSubWindow_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQMdiSubWindow : public virtual QMdiSubWindow { public: diff --git a/qt6/gen_qmenu.cpp b/qt6/gen_qmenu.cpp index 4b343b77..cb52c77f 100644 --- a/qt6/gen_qmenu.cpp +++ b/qt6/gen_qmenu.cpp @@ -41,10 +41,60 @@ #include #include "gen_qmenu.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMenu_AboutToShow(intptr_t); +void miqt_exec_callback_QMenu_AboutToHide(intptr_t); +void miqt_exec_callback_QMenu_Triggered(intptr_t, QAction*); +void miqt_exec_callback_QMenu_Hovered(intptr_t, QAction*); +QSize* miqt_exec_callback_QMenu_SizeHint(void*, intptr_t); +void miqt_exec_callback_QMenu_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMenu_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QMenu_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMenu_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMenu_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMenu_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QMenu_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QMenu_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMenu_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QMenu_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QMenu_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QMenu_TimerEvent(void*, intptr_t, QTimerEvent*); +bool miqt_exec_callback_QMenu_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QMenu_FocusNextPrevChild(void*, intptr_t, bool); +void miqt_exec_callback_QMenu_InitStyleOption(void*, intptr_t, QStyleOptionMenuItem*, QAction*); +int miqt_exec_callback_QMenu_DevType(void*, intptr_t); +void miqt_exec_callback_QMenu_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QMenu_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QMenu_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QMenu_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QMenu_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QMenu_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMenu_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QMenu_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QMenu_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QMenu_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QMenu_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QMenu_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QMenu_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QMenu_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QMenu_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QMenu_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QMenu_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QMenu_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QMenu_ShowEvent(void*, intptr_t, QShowEvent*); +bool miqt_exec_callback_QMenu_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +int miqt_exec_callback_QMenu_Metric(void*, intptr_t, int); +void miqt_exec_callback_QMenu_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QMenu_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QMenu_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QMenu_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QMenu_InputMethodQuery(void*, intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQMenu : public virtual QMenu { public: diff --git a/qt6/gen_qmenubar.cpp b/qt6/gen_qmenubar.cpp index 7e457f6e..473da7dc 100644 --- a/qt6/gen_qmenubar.cpp +++ b/qt6/gen_qmenubar.cpp @@ -41,10 +41,59 @@ #include #include "gen_qmenubar.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMenuBar_Triggered(intptr_t, QAction*); +void miqt_exec_callback_QMenuBar_Hovered(intptr_t, QAction*); +QSize* miqt_exec_callback_QMenuBar_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QMenuBar_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QMenuBar_HeightForWidth(void*, intptr_t, int); +void miqt_exec_callback_QMenuBar_SetVisible(void*, intptr_t, bool); +void miqt_exec_callback_QMenuBar_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMenuBar_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QMenuBar_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMenuBar_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMenuBar_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMenuBar_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMenuBar_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QMenuBar_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QMenuBar_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QMenuBar_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QMenuBar_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QMenuBar_TimerEvent(void*, intptr_t, QTimerEvent*); +bool miqt_exec_callback_QMenuBar_EventFilter(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QMenuBar_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMenuBar_InitStyleOption(void*, intptr_t, QStyleOptionMenuItem*, QAction*); +int miqt_exec_callback_QMenuBar_DevType(void*, intptr_t); +bool miqt_exec_callback_QMenuBar_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QMenuBar_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QMenuBar_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QMenuBar_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QMenuBar_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QMenuBar_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QMenuBar_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QMenuBar_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QMenuBar_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QMenuBar_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QMenuBar_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QMenuBar_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QMenuBar_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QMenuBar_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QMenuBar_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QMenuBar_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QMenuBar_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +int miqt_exec_callback_QMenuBar_Metric(void*, intptr_t, int); +void miqt_exec_callback_QMenuBar_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QMenuBar_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QMenuBar_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QMenuBar_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QMenuBar_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QMenuBar_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQMenuBar : public virtual QMenuBar { public: diff --git a/qt6/gen_qmessageauthenticationcode.cpp b/qt6/gen_qmessageauthenticationcode.cpp index f29125ed..61cada0d 100644 --- a/qt6/gen_qmessageauthenticationcode.cpp +++ b/qt6/gen_qmessageauthenticationcode.cpp @@ -4,10 +4,13 @@ #include #include "gen_qmessageauthenticationcode.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMessageAuthenticationCode* QMessageAuthenticationCode_new(int method) { return new QMessageAuthenticationCode(static_cast(method)); diff --git a/qt6/gen_qmessagebox.cpp b/qt6/gen_qmessagebox.cpp index cde748f1..874fbea8 100644 --- a/qt6/gen_qmessagebox.cpp +++ b/qt6/gen_qmessagebox.cpp @@ -22,10 +22,30 @@ #include #include "gen_qmessagebox.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMessageBox_ButtonClicked(intptr_t, QAbstractButton*); +bool miqt_exec_callback_QMessageBox_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMessageBox_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QMessageBox_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QMessageBox_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QMessageBox_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QMessageBox_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMessageBox_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QMessageBox_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QMessageBox_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QMessageBox_Open(void*, intptr_t); +int miqt_exec_callback_QMessageBox_Exec(void*, intptr_t); +void miqt_exec_callback_QMessageBox_Done(void*, intptr_t, int); +void miqt_exec_callback_QMessageBox_Accept(void*, intptr_t); +void miqt_exec_callback_QMessageBox_Reject(void*, intptr_t); +void miqt_exec_callback_QMessageBox_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QMessageBox_EventFilter(void*, intptr_t, QObject*, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQMessageBox : public virtual QMessageBox { public: diff --git a/qt6/gen_qmetacontainer.cpp b/qt6/gen_qmetacontainer.cpp index 50697a7d..79db83a4 100644 --- a/qt6/gen_qmetacontainer.cpp +++ b/qt6/gen_qmetacontainer.cpp @@ -5,10 +5,13 @@ #include #include "gen_qmetacontainer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMetaContainer* QMetaContainer_new() { return new QMetaContainer(); diff --git a/qt6/gen_qmetaobject.cpp b/qt6/gen_qmetaobject.cpp index 69f30c7b..00ed3f48 100644 --- a/qt6/gen_qmetaobject.cpp +++ b/qt6/gen_qmetaobject.cpp @@ -14,10 +14,13 @@ #include #include "gen_qmetaobject.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMetaMethod* QMetaMethod_new() { return new QMetaMethod(); diff --git a/qt6/gen_qmetatype.cpp b/qt6/gen_qmetatype.cpp index e86cc5a4..e58b600c 100644 --- a/qt6/gen_qmetatype.cpp +++ b/qt6/gen_qmetatype.cpp @@ -8,10 +8,13 @@ #include #include "gen_qmetatype.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMetaType* QMetaType_new(int typeVal) { return new QMetaType(static_cast(typeVal)); diff --git a/qt6/gen_qmimedata.cpp b/qt6/gen_qmimedata.cpp index 843769b8..c84186db 100644 --- a/qt6/gen_qmimedata.cpp +++ b/qt6/gen_qmimedata.cpp @@ -16,10 +16,23 @@ #include #include "gen_qmimedata.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QMimeData_HasFormat(void*, intptr_t, struct miqt_string); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QMimeData_Formats(void*, intptr_t); +QVariant* miqt_exec_callback_QMimeData_RetrieveData(void*, intptr_t, struct miqt_string, QMetaType*); +bool miqt_exec_callback_QMimeData_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QMimeData_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QMimeData_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QMimeData_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QMimeData_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMimeData_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QMimeData_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQMimeData : public virtual QMimeData { public: diff --git a/qt6/gen_qmimedatabase.cpp b/qt6/gen_qmimedatabase.cpp index f8226b40..31f780f4 100644 --- a/qt6/gen_qmimedatabase.cpp +++ b/qt6/gen_qmimedatabase.cpp @@ -11,10 +11,13 @@ #include #include "gen_qmimedatabase.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMimeDatabase* QMimeDatabase_new() { return new QMimeDatabase(); diff --git a/qt6/gen_qmimetype.cpp b/qt6/gen_qmimetype.cpp index 5a1564c5..d27007d1 100644 --- a/qt6/gen_qmimetype.cpp +++ b/qt6/gen_qmimetype.cpp @@ -6,10 +6,13 @@ #include #include "gen_qmimetype.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMimeType* QMimeType_new() { return new QMimeType(); diff --git a/qt6/gen_qmovie.cpp b/qt6/gen_qmovie.cpp index 85c6e9f8..4e5300d5 100644 --- a/qt6/gen_qmovie.cpp +++ b/qt6/gen_qmovie.cpp @@ -19,10 +19,27 @@ #include #include "gen_qmovie.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMovie_Started(intptr_t); +void miqt_exec_callback_QMovie_Resized(intptr_t, QSize*); +void miqt_exec_callback_QMovie_Updated(intptr_t, QRect*); +void miqt_exec_callback_QMovie_StateChanged(intptr_t, int); +void miqt_exec_callback_QMovie_Error(intptr_t, int); +void miqt_exec_callback_QMovie_Finished(intptr_t); +void miqt_exec_callback_QMovie_FrameChanged(intptr_t, int); +bool miqt_exec_callback_QMovie_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QMovie_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QMovie_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QMovie_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QMovie_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMovie_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QMovie_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQMovie : public virtual QMovie { public: diff --git a/qt6/gen_qmutex.cpp b/qt6/gen_qmutex.cpp index 1caa9542..794272e0 100644 --- a/qt6/gen_qmutex.cpp +++ b/qt6/gen_qmutex.cpp @@ -4,10 +4,13 @@ #include #include "gen_qmutex.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QBasicMutex* QBasicMutex_new() { return new QBasicMutex(); diff --git a/qt6/gen_qnamespace.cpp b/qt6/gen_qnamespace.cpp index 0fd54e8a..2535969b 100644 --- a/qt6/gen_qnamespace.cpp +++ b/qt6/gen_qnamespace.cpp @@ -4,10 +4,13 @@ #include #include "gen_qnamespace.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" Disambiguated_t* Disambiguated_t_new() { return new Qt::Disambiguated_t(); diff --git a/qt6/gen_qobject.cpp b/qt6/gen_qobject.cpp index 0a384bf2..9c0005e4 100644 --- a/qt6/gen_qobject.cpp +++ b/qt6/gen_qobject.cpp @@ -19,10 +19,22 @@ #include #include "gen_qobject.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QObject_Destroyed(intptr_t); +void miqt_exec_callback_QObject_Destroyed1(intptr_t, QObject*); +bool miqt_exec_callback_QObject_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QObject_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QObject_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QObject_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QObject_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QObject_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QObject_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMetaObject* QObjectData_DynamicMetaObject(const QObjectData* self) { return self->dynamicMetaObject(); diff --git a/qt6/gen_qobjectcleanuphandler.cpp b/qt6/gen_qobjectcleanuphandler.cpp index 84bde895..ba88f354 100644 --- a/qt6/gen_qobjectcleanuphandler.cpp +++ b/qt6/gen_qobjectcleanuphandler.cpp @@ -11,10 +11,20 @@ #include #include "gen_qobjectcleanuphandler.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QObjectCleanupHandler_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QObjectCleanupHandler_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QObjectCleanupHandler_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QObjectCleanupHandler_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QObjectCleanupHandler_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QObjectCleanupHandler_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QObjectCleanupHandler_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQObjectCleanupHandler : public virtual QObjectCleanupHandler { public: diff --git a/qt6/gen_qobjectdefs.cpp b/qt6/gen_qobjectdefs.cpp index 1d0a5b93..216bb47d 100644 --- a/qt6/gen_qobjectdefs.cpp +++ b/qt6/gen_qobjectdefs.cpp @@ -18,10 +18,13 @@ #include #include "gen_qobjectdefs.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QMethodRawArguments_Delete(QMethodRawArguments* self, bool isSubclass) { if (isSubclass) { diff --git a/qt6/gen_qoffscreensurface.cpp b/qt6/gen_qoffscreensurface.cpp index 103ea00b..1c5df999 100644 --- a/qt6/gen_qoffscreensurface.cpp +++ b/qt6/gen_qoffscreensurface.cpp @@ -15,10 +15,24 @@ #include #include "gen_qoffscreensurface.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QOffscreenSurface_ScreenChanged(intptr_t, QScreen*); +int miqt_exec_callback_QOffscreenSurface_SurfaceType(void*, intptr_t); +QSurfaceFormat* miqt_exec_callback_QOffscreenSurface_Format(void*, intptr_t); +QSize* miqt_exec_callback_QOffscreenSurface_Size(void*, intptr_t); +bool miqt_exec_callback_QOffscreenSurface_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QOffscreenSurface_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QOffscreenSurface_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QOffscreenSurface_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QOffscreenSurface_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QOffscreenSurface_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QOffscreenSurface_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQOffscreenSurface : public virtual QOffscreenSurface { public: diff --git a/qt6/gen_qoperatingsystemversion.cpp b/qt6/gen_qoperatingsystemversion.cpp index 84520fca..ab761269 100644 --- a/qt6/gen_qoperatingsystemversion.cpp +++ b/qt6/gen_qoperatingsystemversion.cpp @@ -7,10 +7,13 @@ #include #include "gen_qoperatingsystemversion.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QOperatingSystemVersionBase* QOperatingSystemVersionBase_new(int osType, int vmajor) { return new QOperatingSystemVersionBase(static_cast(osType), static_cast(vmajor)); diff --git a/qt6/gen_qpagedpaintdevice.cpp b/qt6/gen_qpagedpaintdevice.cpp index 17b5062a..d86d89db 100644 --- a/qt6/gen_qpagedpaintdevice.cpp +++ b/qt6/gen_qpagedpaintdevice.cpp @@ -7,10 +7,13 @@ #include #include "gen_qpagedpaintdevice.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QPagedPaintDevice_virtbase(QPagedPaintDevice* src, QPaintDevice** outptr_QPaintDevice) { *outptr_QPaintDevice = static_cast(src); diff --git a/qt6/gen_qpagelayout.cpp b/qt6/gen_qpagelayout.cpp index 6bc9d2dd..f8568a31 100644 --- a/qt6/gen_qpagelayout.cpp +++ b/qt6/gen_qpagelayout.cpp @@ -7,10 +7,13 @@ #include #include "gen_qpagelayout.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QPageLayout* QPageLayout_new() { return new QPageLayout(); diff --git a/qt6/gen_qpageranges.cpp b/qt6/gen_qpageranges.cpp index 2491dc4a..5ded8de9 100644 --- a/qt6/gen_qpageranges.cpp +++ b/qt6/gen_qpageranges.cpp @@ -7,10 +7,13 @@ #include #include "gen_qpageranges.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QPageRanges* QPageRanges_new() { return new QPageRanges(); diff --git a/qt6/gen_qpagesize.cpp b/qt6/gen_qpagesize.cpp index f99e04ea..6ce39c20 100644 --- a/qt6/gen_qpagesize.cpp +++ b/qt6/gen_qpagesize.cpp @@ -9,10 +9,13 @@ #include #include "gen_qpagesize.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QPageSize* QPageSize_new() { return new QPageSize(); diff --git a/qt6/gen_qpaintdevice.cpp b/qt6/gen_qpaintdevice.cpp index c7ccbbee..52a35a1e 100644 --- a/qt6/gen_qpaintdevice.cpp +++ b/qt6/gen_qpaintdevice.cpp @@ -5,10 +5,13 @@ #include #include "gen_qpaintdevice.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" int QPaintDevice_DevType(const QPaintDevice* self) { return self->devType(); diff --git a/qt6/gen_qpaintdevicewindow.cpp b/qt6/gen_qpaintdevicewindow.cpp index 1e192935..f6ef68d4 100644 --- a/qt6/gen_qpaintdevicewindow.cpp +++ b/qt6/gen_qpaintdevicewindow.cpp @@ -15,10 +15,13 @@ #include #include "gen_qpaintdevicewindow.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QPaintDeviceWindow_virtbase(QPaintDeviceWindow* src, QWindow** outptr_QWindow, QPaintDevice** outptr_QPaintDevice) { *outptr_QWindow = static_cast(src); diff --git a/qt6/gen_qpaintengine.cpp b/qt6/gen_qpaintengine.cpp index e1a4f3d9..ce92d1f3 100644 --- a/qt6/gen_qpaintengine.cpp +++ b/qt6/gen_qpaintengine.cpp @@ -24,10 +24,35 @@ #include #include "gen_qpaintengine.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QPaintEngine_Begin(void*, intptr_t, QPaintDevice*); +bool miqt_exec_callback_QPaintEngine_End(void*, intptr_t); +void miqt_exec_callback_QPaintEngine_UpdateState(void*, intptr_t, QPaintEngineState*); +void miqt_exec_callback_QPaintEngine_DrawRects(void*, intptr_t, QRect*, int); +void miqt_exec_callback_QPaintEngine_DrawRects2(void*, intptr_t, QRectF*, int); +void miqt_exec_callback_QPaintEngine_DrawLines(void*, intptr_t, QLine*, int); +void miqt_exec_callback_QPaintEngine_DrawLines2(void*, intptr_t, QLineF*, int); +void miqt_exec_callback_QPaintEngine_DrawEllipse(void*, intptr_t, QRectF*); +void miqt_exec_callback_QPaintEngine_DrawEllipseWithQRect(void*, intptr_t, QRect*); +void miqt_exec_callback_QPaintEngine_DrawPath(void*, intptr_t, QPainterPath*); +void miqt_exec_callback_QPaintEngine_DrawPoints(void*, intptr_t, QPointF*, int); +void miqt_exec_callback_QPaintEngine_DrawPoints2(void*, intptr_t, QPoint*, int); +void miqt_exec_callback_QPaintEngine_DrawPolygon(void*, intptr_t, QPointF*, int, int); +void miqt_exec_callback_QPaintEngine_DrawPolygon2(void*, intptr_t, QPoint*, int, int); +void miqt_exec_callback_QPaintEngine_DrawPixmap(void*, intptr_t, QRectF*, QPixmap*, QRectF*); +void miqt_exec_callback_QPaintEngine_DrawTextItem(void*, intptr_t, QPointF*, QTextItem*); +void miqt_exec_callback_QPaintEngine_DrawTiledPixmap(void*, intptr_t, QRectF*, QPixmap*, QPointF*); +void miqt_exec_callback_QPaintEngine_DrawImage(void*, intptr_t, QRectF*, QImage*, QRectF*, int); +QPoint* miqt_exec_callback_QPaintEngine_CoordinateOffset(void*, intptr_t); +int miqt_exec_callback_QPaintEngine_Type(void*, intptr_t); +QPixmap* miqt_exec_callback_QPaintEngine_CreatePixmap(void*, intptr_t, QSize*); +QPixmap* miqt_exec_callback_QPaintEngine_CreatePixmapFromImage(void*, intptr_t, QImage*, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" double QTextItem_Descent(const QTextItem* self) { qreal _ret = self->descent(); diff --git a/qt6/gen_qpainter.cpp b/qt6/gen_qpainter.cpp index c584e3d8..9775f84d 100644 --- a/qt6/gen_qpainter.cpp +++ b/qt6/gen_qpainter.cpp @@ -31,10 +31,13 @@ #include #include "gen_qpainter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QPainter* QPainter_new() { return new QPainter(); diff --git a/qt6/gen_qpainterpath.cpp b/qt6/gen_qpainterpath.cpp index 8cbdee8c..ab15a2f8 100644 --- a/qt6/gen_qpainterpath.cpp +++ b/qt6/gen_qpainterpath.cpp @@ -13,10 +13,13 @@ #include #include "gen_qpainterpath.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QPainterPath* QPainterPath_new() { return new QPainterPath(); diff --git a/qt6/gen_qpalette.cpp b/qt6/gen_qpalette.cpp index 8124622d..c5de6b30 100644 --- a/qt6/gen_qpalette.cpp +++ b/qt6/gen_qpalette.cpp @@ -5,10 +5,13 @@ #include #include "gen_qpalette.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QPalette* QPalette_new() { return new QPalette(); diff --git a/qt6/gen_qparallelanimationgroup.cpp b/qt6/gen_qparallelanimationgroup.cpp index 52302cd1..a9d9e369 100644 --- a/qt6/gen_qparallelanimationgroup.cpp +++ b/qt6/gen_qparallelanimationgroup.cpp @@ -10,10 +10,18 @@ #include #include "gen_qparallelanimationgroup.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QParallelAnimationGroup_Duration(void*, intptr_t); +bool miqt_exec_callback_QParallelAnimationGroup_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QParallelAnimationGroup_UpdateCurrentTime(void*, intptr_t, int); +void miqt_exec_callback_QParallelAnimationGroup_UpdateState(void*, intptr_t, int, int); +void miqt_exec_callback_QParallelAnimationGroup_UpdateDirection(void*, intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQParallelAnimationGroup : public virtual QParallelAnimationGroup { public: diff --git a/qt6/gen_qpauseanimation.cpp b/qt6/gen_qpauseanimation.cpp index c4a9ba62..88b9430a 100644 --- a/qt6/gen_qpauseanimation.cpp +++ b/qt6/gen_qpauseanimation.cpp @@ -9,10 +9,18 @@ #include #include "gen_qpauseanimation.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QPauseAnimation_Duration(void*, intptr_t); +bool miqt_exec_callback_QPauseAnimation_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QPauseAnimation_UpdateCurrentTime(void*, intptr_t, int); +void miqt_exec_callback_QPauseAnimation_UpdateState(void*, intptr_t, int, int); +void miqt_exec_callback_QPauseAnimation_UpdateDirection(void*, intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPauseAnimation : public virtual QPauseAnimation { public: diff --git a/qt6/gen_qpdfwriter.cpp b/qt6/gen_qpdfwriter.cpp index ed6a508f..3dcbbc21 100644 --- a/qt6/gen_qpdfwriter.cpp +++ b/qt6/gen_qpdfwriter.cpp @@ -20,10 +20,28 @@ #include #include "gen_qpdfwriter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QPdfWriter_NewPage(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QPdfWriter_PaintEngine(void*, intptr_t); +int miqt_exec_callback_QPdfWriter_Metric(void*, intptr_t, int); +bool miqt_exec_callback_QPdfWriter_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QPdfWriter_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QPdfWriter_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QPdfWriter_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QPdfWriter_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QPdfWriter_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QPdfWriter_DisconnectNotify(void*, intptr_t, QMetaMethod*); +bool miqt_exec_callback_QPdfWriter_SetPageLayout(void*, intptr_t, QPageLayout*); +bool miqt_exec_callback_QPdfWriter_SetPageSize(void*, intptr_t, QPageSize*); +bool miqt_exec_callback_QPdfWriter_SetPageOrientation(void*, intptr_t, int); +bool miqt_exec_callback_QPdfWriter_SetPageMargins(void*, intptr_t, QMarginsF*, int); +void miqt_exec_callback_QPdfWriter_SetPageRanges(void*, intptr_t, QPageRanges*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPdfWriter : public virtual QPdfWriter { public: diff --git a/qt6/gen_qpen.cpp b/qt6/gen_qpen.cpp index 4f38b781..bac55824 100644 --- a/qt6/gen_qpen.cpp +++ b/qt6/gen_qpen.cpp @@ -6,10 +6,13 @@ #include #include "gen_qpen.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QPen* QPen_new() { return new QPen(); diff --git a/qt6/gen_qpicture.cpp b/qt6/gen_qpicture.cpp index 904039e9..8f0d6bfb 100644 --- a/qt6/gen_qpicture.cpp +++ b/qt6/gen_qpicture.cpp @@ -11,10 +11,20 @@ #include #include "gen_qpicture.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QPicture_DevType(void*, intptr_t); +void miqt_exec_callback_QPicture_SetData(void*, intptr_t, const char*, unsigned int); +QPaintEngine* miqt_exec_callback_QPicture_PaintEngine(void*, intptr_t); +int miqt_exec_callback_QPicture_Metric(void*, intptr_t, int); +void miqt_exec_callback_QPicture_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QPicture_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QPicture_SharedPainter(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPicture : public virtual QPicture { public: diff --git a/qt6/gen_qpixelformat.cpp b/qt6/gen_qpixelformat.cpp index cf506be7..388e521a 100644 --- a/qt6/gen_qpixelformat.cpp +++ b/qt6/gen_qpixelformat.cpp @@ -2,10 +2,13 @@ #include #include "gen_qpixelformat.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QPixelFormat* QPixelFormat_new() { return new QPixelFormat(); diff --git a/qt6/gen_qpixmap.cpp b/qt6/gen_qpixmap.cpp index 45028dc8..33eb3828 100644 --- a/qt6/gen_qpixmap.cpp +++ b/qt6/gen_qpixmap.cpp @@ -21,10 +21,19 @@ #include #include "gen_qpixmap.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QPixmap_DevType(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QPixmap_PaintEngine(void*, intptr_t); +int miqt_exec_callback_QPixmap_Metric(void*, intptr_t, int); +void miqt_exec_callback_QPixmap_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QPixmap_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QPixmap_SharedPainter(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPixmap : public virtual QPixmap { public: diff --git a/qt6/gen_qpixmapcache.cpp b/qt6/gen_qpixmapcache.cpp index 576b6c91..61fa67e6 100644 --- a/qt6/gen_qpixmapcache.cpp +++ b/qt6/gen_qpixmapcache.cpp @@ -7,10 +7,13 @@ #include #include "gen_qpixmapcache.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" int QPixmapCache_CacheLimit() { return QPixmapCache::cacheLimit(); diff --git a/qt6/gen_qplaintextedit.cpp b/qt6/gen_qplaintextedit.cpp index 3e1c15ef..3b172464 100644 --- a/qt6/gen_qplaintextedit.cpp +++ b/qt6/gen_qplaintextedit.cpp @@ -51,10 +51,67 @@ #include #include "gen_qplaintextedit.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QPlainTextEdit_TextChanged(intptr_t); +void miqt_exec_callback_QPlainTextEdit_UndoAvailable(intptr_t, bool); +void miqt_exec_callback_QPlainTextEdit_RedoAvailable(intptr_t, bool); +void miqt_exec_callback_QPlainTextEdit_CopyAvailable(intptr_t, bool); +void miqt_exec_callback_QPlainTextEdit_SelectionChanged(intptr_t); +void miqt_exec_callback_QPlainTextEdit_CursorPositionChanged(intptr_t); +void miqt_exec_callback_QPlainTextEdit_UpdateRequest(intptr_t, QRect*, int); +void miqt_exec_callback_QPlainTextEdit_BlockCountChanged(intptr_t, int); +void miqt_exec_callback_QPlainTextEdit_ModificationChanged(intptr_t, bool); +QVariant* miqt_exec_callback_QPlainTextEdit_LoadResource(void*, intptr_t, int, QUrl*); +QVariant* miqt_exec_callback_QPlainTextEdit_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QPlainTextEdit_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QPlainTextEdit_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QPlainTextEdit_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QPlainTextEdit_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QPlainTextEdit_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QPlainTextEdit_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QPlainTextEdit_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QPlainTextEdit_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QPlainTextEdit_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QPlainTextEdit_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +bool miqt_exec_callback_QPlainTextEdit_FocusNextPrevChild(void*, intptr_t, bool); +void miqt_exec_callback_QPlainTextEdit_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QPlainTextEdit_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QPlainTextEdit_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QPlainTextEdit_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QPlainTextEdit_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QPlainTextEdit_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QPlainTextEdit_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QPlainTextEdit_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QPlainTextEdit_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QPlainTextEdit_WheelEvent(void*, intptr_t, QWheelEvent*); +QMimeData* miqt_exec_callback_QPlainTextEdit_CreateMimeDataFromSelection(void*, intptr_t); +bool miqt_exec_callback_QPlainTextEdit_CanInsertFromMimeData(void*, intptr_t, QMimeData*); +void miqt_exec_callback_QPlainTextEdit_InsertFromMimeData(void*, intptr_t, QMimeData*); +void miqt_exec_callback_QPlainTextEdit_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +void miqt_exec_callback_QPlainTextEdit_ScrollContentsBy(void*, intptr_t, int, int); +void miqt_exec_callback_QPlainTextEdit_DoSetTextCursor(void*, intptr_t, QTextCursor*); +QSize* miqt_exec_callback_QPlainTextEdit_MinimumSizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QPlainTextEdit_SizeHint(void*, intptr_t); +void miqt_exec_callback_QPlainTextEdit_SetupViewport(void*, intptr_t, QWidget*); +bool miqt_exec_callback_QPlainTextEdit_EventFilter(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QPlainTextEdit_ViewportEvent(void*, intptr_t, QEvent*); +QSize* miqt_exec_callback_QPlainTextEdit_ViewportSizeHint(void*, intptr_t); +void miqt_exec_callback_QPlainTextDocumentLayout_Draw(void*, intptr_t, QPainter*, QAbstractTextDocumentLayout__PaintContext*); +int miqt_exec_callback_QPlainTextDocumentLayout_HitTest(void*, intptr_t, QPointF*, int); +int miqt_exec_callback_QPlainTextDocumentLayout_PageCount(void*, intptr_t); +QSizeF* miqt_exec_callback_QPlainTextDocumentLayout_DocumentSize(void*, intptr_t); +QRectF* miqt_exec_callback_QPlainTextDocumentLayout_FrameBoundingRect(void*, intptr_t, QTextFrame*); +QRectF* miqt_exec_callback_QPlainTextDocumentLayout_BlockBoundingRect(void*, intptr_t, QTextBlock*); +void miqt_exec_callback_QPlainTextDocumentLayout_DocumentChanged(void*, intptr_t, int, int, int); +void miqt_exec_callback_QPlainTextDocumentLayout_ResizeInlineObject(void*, intptr_t, QTextInlineObject*, int, QTextFormat*); +void miqt_exec_callback_QPlainTextDocumentLayout_PositionInlineObject(void*, intptr_t, QTextInlineObject*, int, QTextFormat*); +void miqt_exec_callback_QPlainTextDocumentLayout_DrawInlineObject(void*, intptr_t, QPainter*, QRectF*, QTextInlineObject*, int, QTextFormat*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPlainTextEdit : public virtual QPlainTextEdit { public: diff --git a/qt6/gen_qplugin.cpp b/qt6/gen_qplugin.cpp index f3bfbe51..65e0ac59 100644 --- a/qt6/gen_qplugin.cpp +++ b/qt6/gen_qplugin.cpp @@ -7,10 +7,13 @@ #include #include "gen_qplugin.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" unsigned char QPluginMetaData_ArchRequirements() { quint8 _ret = QPluginMetaData::archRequirements(); diff --git a/qt6/gen_qpluginloader.cpp b/qt6/gen_qpluginloader.cpp index 62e7e16a..1f04ae5a 100644 --- a/qt6/gen_qpluginloader.cpp +++ b/qt6/gen_qpluginloader.cpp @@ -14,10 +14,20 @@ #include #include "gen_qpluginloader.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QPluginLoader_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QPluginLoader_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QPluginLoader_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QPluginLoader_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QPluginLoader_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QPluginLoader_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QPluginLoader_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPluginLoader : public virtual QPluginLoader { public: diff --git a/qt6/gen_qpoint.cpp b/qt6/gen_qpoint.cpp index 7693d976..37ead90a 100644 --- a/qt6/gen_qpoint.cpp +++ b/qt6/gen_qpoint.cpp @@ -3,10 +3,13 @@ #include #include "gen_qpoint.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QPoint* QPoint_new() { return new QPoint(); diff --git a/qt6/gen_qpointingdevice.cpp b/qt6/gen_qpointingdevice.cpp index a55d92e0..f6479dbd 100644 --- a/qt6/gen_qpointingdevice.cpp +++ b/qt6/gen_qpointingdevice.cpp @@ -11,10 +11,14 @@ #include #include "gen_qpointingdevice.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QPointingDevice_GrabChanged(intptr_t, QObject*, int, QPointerEvent*, QEventPoint*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QPointingDeviceUniqueId* QPointingDeviceUniqueId_new() { return new QPointingDeviceUniqueId(); diff --git a/qt6/gen_qprocess.cpp b/qt6/gen_qprocess.cpp index 7c885a41..18f80800 100644 --- a/qt6/gen_qprocess.cpp +++ b/qt6/gen_qprocess.cpp @@ -12,10 +12,33 @@ #include #include "gen_qprocess.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QProcess_Finished(intptr_t, int); +void miqt_exec_callback_QProcess_ErrorOccurred(intptr_t, int); +void miqt_exec_callback_QProcess_Finished2(intptr_t, int, int); +bool miqt_exec_callback_QProcess_Open(void*, intptr_t, int); +bool miqt_exec_callback_QProcess_WaitForReadyRead(void*, intptr_t, int); +bool miqt_exec_callback_QProcess_WaitForBytesWritten(void*, intptr_t, int); +long long miqt_exec_callback_QProcess_BytesToWrite(void*, intptr_t); +bool miqt_exec_callback_QProcess_IsSequential(void*, intptr_t); +void miqt_exec_callback_QProcess_Close(void*, intptr_t); +long long miqt_exec_callback_QProcess_ReadData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QProcess_WriteData(void*, intptr_t, const char*, long long); +long long miqt_exec_callback_QProcess_Pos(void*, intptr_t); +long long miqt_exec_callback_QProcess_Size(void*, intptr_t); +bool miqt_exec_callback_QProcess_Seek(void*, intptr_t, long long); +bool miqt_exec_callback_QProcess_AtEnd(void*, intptr_t); +bool miqt_exec_callback_QProcess_Reset(void*, intptr_t); +long long miqt_exec_callback_QProcess_BytesAvailable(void*, intptr_t); +bool miqt_exec_callback_QProcess_CanReadLine(void*, intptr_t); +long long miqt_exec_callback_QProcess_ReadLineData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QProcess_SkipData(void*, intptr_t, long long); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QProcessEnvironment* QProcessEnvironment_new() { return new QProcessEnvironment(); diff --git a/qt6/gen_qprogressbar.cpp b/qt6/gen_qprogressbar.cpp index ba373b6f..dc8bd1ce 100644 --- a/qt6/gen_qprogressbar.cpp +++ b/qt6/gen_qprogressbar.cpp @@ -36,10 +36,57 @@ #include #include "gen_qprogressbar.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QProgressBar_ValueChanged(intptr_t, int); +struct miqt_string miqt_exec_callback_QProgressBar_Text(void*, intptr_t); +QSize* miqt_exec_callback_QProgressBar_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QProgressBar_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QProgressBar_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QProgressBar_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QProgressBar_InitStyleOption(void*, intptr_t, QStyleOptionProgressBar*); +int miqt_exec_callback_QProgressBar_DevType(void*, intptr_t); +void miqt_exec_callback_QProgressBar_SetVisible(void*, intptr_t, bool); +int miqt_exec_callback_QProgressBar_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QProgressBar_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QProgressBar_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QProgressBar_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QProgressBar_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QProgressBar_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QProgressBar_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QProgressBar_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QProgressBar_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QProgressBar_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QProgressBar_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QProgressBar_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QProgressBar_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QProgressBar_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QProgressBar_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QProgressBar_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QProgressBar_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QProgressBar_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QProgressBar_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QProgressBar_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QProgressBar_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QProgressBar_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QProgressBar_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QProgressBar_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QProgressBar_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QProgressBar_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QProgressBar_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +void miqt_exec_callback_QProgressBar_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QProgressBar_Metric(void*, intptr_t, int); +void miqt_exec_callback_QProgressBar_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QProgressBar_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QProgressBar_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QProgressBar_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QProgressBar_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QProgressBar_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQProgressBar : public virtual QProgressBar { public: diff --git a/qt6/gen_qprogressdialog.cpp b/qt6/gen_qprogressdialog.cpp index c5439385..0f1fe8f3 100644 --- a/qt6/gen_qprogressdialog.cpp +++ b/qt6/gen_qprogressdialog.cpp @@ -20,10 +20,29 @@ #include #include "gen_qprogressdialog.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QProgressDialog_Canceled(intptr_t); +QSize* miqt_exec_callback_QProgressDialog_SizeHint(void*, intptr_t); +void miqt_exec_callback_QProgressDialog_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QProgressDialog_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QProgressDialog_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QProgressDialog_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QProgressDialog_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QProgressDialog_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QProgressDialog_Open(void*, intptr_t); +int miqt_exec_callback_QProgressDialog_Exec(void*, intptr_t); +void miqt_exec_callback_QProgressDialog_Done(void*, intptr_t, int); +void miqt_exec_callback_QProgressDialog_Accept(void*, intptr_t); +void miqt_exec_callback_QProgressDialog_Reject(void*, intptr_t); +void miqt_exec_callback_QProgressDialog_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QProgressDialog_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QProgressDialog_EventFilter(void*, intptr_t, QObject*, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQProgressDialog : public virtual QProgressDialog { public: diff --git a/qt6/gen_qproperty.cpp b/qt6/gen_qproperty.cpp index 0eed74c1..4ede9692 100644 --- a/qt6/gen_qproperty.cpp +++ b/qt6/gen_qproperty.cpp @@ -12,10 +12,13 @@ #include #include "gen_qproperty.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QPropertyBindingSourceLocation* QPropertyBindingSourceLocation_new() { return new QPropertyBindingSourceLocation(); diff --git a/qt6/gen_qpropertyanimation.cpp b/qt6/gen_qpropertyanimation.cpp index 390694ff..d221b1e2 100644 --- a/qt6/gen_qpropertyanimation.cpp +++ b/qt6/gen_qpropertyanimation.cpp @@ -12,10 +12,19 @@ #include #include "gen_qpropertyanimation.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QPropertyAnimation_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QPropertyAnimation_UpdateCurrentValue(void*, intptr_t, QVariant*); +void miqt_exec_callback_QPropertyAnimation_UpdateState(void*, intptr_t, int, int); +int miqt_exec_callback_QPropertyAnimation_Duration(void*, intptr_t); +void miqt_exec_callback_QPropertyAnimation_UpdateCurrentTime(void*, intptr_t, int); +QVariant* miqt_exec_callback_QPropertyAnimation_Interpolated(void*, intptr_t, QVariant*, QVariant*, double); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPropertyAnimation : public virtual QPropertyAnimation { public: diff --git a/qt6/gen_qpropertyprivate.cpp b/qt6/gen_qpropertyprivate.cpp index 63d4b998..8f077822 100644 --- a/qt6/gen_qpropertyprivate.cpp +++ b/qt6/gen_qpropertyprivate.cpp @@ -3,10 +3,13 @@ #include #include "gen_qpropertyprivate.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QUntypedPropertyData_Delete(QUntypedPropertyData* self, bool isSubclass) { if (isSubclass) { diff --git a/qt6/gen_qproxystyle.cpp b/qt6/gen_qproxystyle.cpp index e036d6bc..dc576f18 100644 --- a/qt6/gen_qproxystyle.cpp +++ b/qt6/gen_qproxystyle.cpp @@ -23,10 +23,37 @@ #include #include "gen_qproxystyle.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QProxyStyle_DrawPrimitive(void*, intptr_t, int, QStyleOption*, QPainter*, QWidget*); +void miqt_exec_callback_QProxyStyle_DrawControl(void*, intptr_t, int, QStyleOption*, QPainter*, QWidget*); +void miqt_exec_callback_QProxyStyle_DrawComplexControl(void*, intptr_t, int, QStyleOptionComplex*, QPainter*, QWidget*); +void miqt_exec_callback_QProxyStyle_DrawItemText(void*, intptr_t, QPainter*, QRect*, int, QPalette*, bool, struct miqt_string, int); +void miqt_exec_callback_QProxyStyle_DrawItemPixmap(void*, intptr_t, QPainter*, QRect*, int, QPixmap*); +QSize* miqt_exec_callback_QProxyStyle_SizeFromContents(void*, intptr_t, int, QStyleOption*, QSize*, QWidget*); +QRect* miqt_exec_callback_QProxyStyle_SubElementRect(void*, intptr_t, int, QStyleOption*, QWidget*); +QRect* miqt_exec_callback_QProxyStyle_SubControlRect(void*, intptr_t, int, QStyleOptionComplex*, int, QWidget*); +QRect* miqt_exec_callback_QProxyStyle_ItemTextRect(void*, intptr_t, QFontMetrics*, QRect*, int, bool, struct miqt_string); +QRect* miqt_exec_callback_QProxyStyle_ItemPixmapRect(void*, intptr_t, QRect*, int, QPixmap*); +int miqt_exec_callback_QProxyStyle_HitTestComplexControl(void*, intptr_t, int, QStyleOptionComplex*, QPoint*, QWidget*); +int miqt_exec_callback_QProxyStyle_StyleHint(void*, intptr_t, int, QStyleOption*, QWidget*, QStyleHintReturn*); +int miqt_exec_callback_QProxyStyle_PixelMetric(void*, intptr_t, int, QStyleOption*, QWidget*); +int miqt_exec_callback_QProxyStyle_LayoutSpacing(void*, intptr_t, int, int, int, QStyleOption*, QWidget*); +QIcon* miqt_exec_callback_QProxyStyle_StandardIcon(void*, intptr_t, int, QStyleOption*, QWidget*); +QPixmap* miqt_exec_callback_QProxyStyle_StandardPixmap(void*, intptr_t, int, QStyleOption*, QWidget*); +QPixmap* miqt_exec_callback_QProxyStyle_GeneratedIconPixmap(void*, intptr_t, int, QPixmap*, QStyleOption*); +QPalette* miqt_exec_callback_QProxyStyle_StandardPalette(void*, intptr_t); +void miqt_exec_callback_QProxyStyle_Polish(void*, intptr_t, QWidget*); +void miqt_exec_callback_QProxyStyle_PolishWithPal(void*, intptr_t, QPalette*); +void miqt_exec_callback_QProxyStyle_PolishWithApp(void*, intptr_t, QApplication*); +void miqt_exec_callback_QProxyStyle_Unpolish(void*, intptr_t, QWidget*); +void miqt_exec_callback_QProxyStyle_UnpolishWithApp(void*, intptr_t, QApplication*); +bool miqt_exec_callback_QProxyStyle_Event(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQProxyStyle : public virtual QProxyStyle { public: diff --git a/qt6/gen_qpushbutton.cpp b/qt6/gen_qpushbutton.cpp index f37ed9c3..b3a26964 100644 --- a/qt6/gen_qpushbutton.cpp +++ b/qt6/gen_qpushbutton.cpp @@ -21,10 +21,30 @@ #include #include "gen_qpushbutton.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QPushButton_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QPushButton_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QPushButton_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QPushButton_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QPushButton_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QPushButton_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QPushButton_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QPushButton_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QPushButton_InitStyleOption(void*, intptr_t, QStyleOptionButton*); +bool miqt_exec_callback_QPushButton_HitButton(void*, intptr_t, QPoint*); +void miqt_exec_callback_QPushButton_CheckStateSet(void*, intptr_t); +void miqt_exec_callback_QPushButton_NextCheckState(void*, intptr_t); +void miqt_exec_callback_QPushButton_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QPushButton_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QPushButton_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QPushButton_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QPushButton_TimerEvent(void*, intptr_t, QTimerEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPushButton : public virtual QPushButton { public: diff --git a/qt6/gen_qquaternion.cpp b/qt6/gen_qquaternion.cpp index be09c7a4..d630cff9 100644 --- a/qt6/gen_qquaternion.cpp +++ b/qt6/gen_qquaternion.cpp @@ -5,10 +5,13 @@ #include #include "gen_qquaternion.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QQuaternion* QQuaternion_new() { return new QQuaternion(); diff --git a/qt6/gen_qradiobutton.cpp b/qt6/gen_qradiobutton.cpp index 23c4c80f..e45602d3 100644 --- a/qt6/gen_qradiobutton.cpp +++ b/qt6/gen_qradiobutton.cpp @@ -19,10 +19,30 @@ #include #include "gen_qradiobutton.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QRadioButton_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QRadioButton_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QRadioButton_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QRadioButton_HitButton(void*, intptr_t, QPoint*); +void miqt_exec_callback_QRadioButton_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QRadioButton_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QRadioButton_InitStyleOption(void*, intptr_t, QStyleOptionButton*); +void miqt_exec_callback_QRadioButton_CheckStateSet(void*, intptr_t); +void miqt_exec_callback_QRadioButton_NextCheckState(void*, intptr_t); +void miqt_exec_callback_QRadioButton_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QRadioButton_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QRadioButton_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QRadioButton_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QRadioButton_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QRadioButton_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QRadioButton_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QRadioButton_TimerEvent(void*, intptr_t, QTimerEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQRadioButton : public virtual QRadioButton { public: diff --git a/qt6/gen_qrandom.cpp b/qt6/gen_qrandom.cpp index e121a04e..06c57db1 100644 --- a/qt6/gen_qrandom.cpp +++ b/qt6/gen_qrandom.cpp @@ -3,10 +3,13 @@ #include #include "gen_qrandom.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QRandomGenerator* QRandomGenerator_new() { return new QRandomGenerator(); diff --git a/qt6/gen_qrasterwindow.cpp b/qt6/gen_qrasterwindow.cpp index c8101056..b6bbcdd0 100644 --- a/qt6/gen_qrasterwindow.cpp +++ b/qt6/gen_qrasterwindow.cpp @@ -15,10 +15,18 @@ #include #include "gen_qrasterwindow.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QRasterWindow_Metric(void*, intptr_t, int); +QPaintDevice* miqt_exec_callback_QRasterWindow_Redirected(void*, intptr_t, QPoint*); +void miqt_exec_callback_QRasterWindow_ExposeEvent(void*, intptr_t, QExposeEvent*); +void miqt_exec_callback_QRasterWindow_PaintEvent(void*, intptr_t, QPaintEvent*); +bool miqt_exec_callback_QRasterWindow_Event(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQRasterWindow : public virtual QRasterWindow { public: diff --git a/qt6/gen_qrawfont.cpp b/qt6/gen_qrawfont.cpp index b9c50704..cecb0759 100644 --- a/qt6/gen_qrawfont.cpp +++ b/qt6/gen_qrawfont.cpp @@ -14,10 +14,13 @@ #include #include "gen_qrawfont.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QRawFont* QRawFont_new() { return new QRawFont(); diff --git a/qt6/gen_qreadwritelock.cpp b/qt6/gen_qreadwritelock.cpp index 3984036a..bb1796d9 100644 --- a/qt6/gen_qreadwritelock.cpp +++ b/qt6/gen_qreadwritelock.cpp @@ -4,10 +4,13 @@ #include #include "gen_qreadwritelock.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QReadWriteLock* QReadWriteLock_new() { return new QReadWriteLock(); diff --git a/qt6/gen_qrect.cpp b/qt6/gen_qrect.cpp index cf94e7d0..37ffdef0 100644 --- a/qt6/gen_qrect.cpp +++ b/qt6/gen_qrect.cpp @@ -9,10 +9,13 @@ #include #include "gen_qrect.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QRect* QRect_new() { return new QRect(); diff --git a/qt6/gen_qregion.cpp b/qt6/gen_qregion.cpp index 1e2a1576..292f7201 100644 --- a/qt6/gen_qregion.cpp +++ b/qt6/gen_qregion.cpp @@ -6,10 +6,13 @@ #include #include "gen_qregion.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QRegion* QRegion_new() { return new QRegion(); diff --git a/qt6/gen_qregularexpression.cpp b/qt6/gen_qregularexpression.cpp index abd0494b..3af7b7de 100644 --- a/qt6/gen_qregularexpression.cpp +++ b/qt6/gen_qregularexpression.cpp @@ -8,10 +8,13 @@ #include #include "gen_qregularexpression.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QRegularExpression* QRegularExpression_new() { return new QRegularExpression(); diff --git a/qt6/gen_qresource.cpp b/qt6/gen_qresource.cpp index 2d200e99..d73584a4 100644 --- a/qt6/gen_qresource.cpp +++ b/qt6/gen_qresource.cpp @@ -8,10 +8,13 @@ #include #include "gen_qresource.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QResource* QResource_new() { return new QResource(); diff --git a/qt6/gen_qrgba64.cpp b/qt6/gen_qrgba64.cpp index 6032ccca..70bed548 100644 --- a/qt6/gen_qrgba64.cpp +++ b/qt6/gen_qrgba64.cpp @@ -2,10 +2,13 @@ #include #include "gen_qrgba64.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QRgba64* QRgba64_new() { return new QRgba64(); diff --git a/qt6/gen_qrubberband.cpp b/qt6/gen_qrubberband.cpp index 2aa55426..e959a0df 100644 --- a/qt6/gen_qrubberband.cpp +++ b/qt6/gen_qrubberband.cpp @@ -37,10 +37,55 @@ #include #include "gen_qrubberband.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QRubberBand_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QRubberBand_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QRubberBand_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QRubberBand_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QRubberBand_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QRubberBand_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QRubberBand_InitStyleOption(void*, intptr_t, QStyleOptionRubberBand*); +int miqt_exec_callback_QRubberBand_DevType(void*, intptr_t); +void miqt_exec_callback_QRubberBand_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QRubberBand_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QRubberBand_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QRubberBand_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QRubberBand_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QRubberBand_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QRubberBand_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QRubberBand_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QRubberBand_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QRubberBand_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QRubberBand_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QRubberBand_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QRubberBand_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QRubberBand_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QRubberBand_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QRubberBand_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QRubberBand_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QRubberBand_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QRubberBand_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QRubberBand_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QRubberBand_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QRubberBand_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QRubberBand_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QRubberBand_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QRubberBand_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QRubberBand_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QRubberBand_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +int miqt_exec_callback_QRubberBand_Metric(void*, intptr_t, int); +void miqt_exec_callback_QRubberBand_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QRubberBand_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QRubberBand_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QRubberBand_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QRubberBand_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QRubberBand_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQRubberBand : public virtual QRubberBand { public: diff --git a/qt6/gen_qrunnable.cpp b/qt6/gen_qrunnable.cpp index 7fed142a..b4379421 100644 --- a/qt6/gen_qrunnable.cpp +++ b/qt6/gen_qrunnable.cpp @@ -2,10 +2,14 @@ #include #include "gen_qrunnable.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QRunnable_Run(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQRunnable : public virtual QRunnable { public: diff --git a/qt6/gen_qsavefile.cpp b/qt6/gen_qsavefile.cpp index 0ec7b293..a8246b98 100644 --- a/qt6/gen_qsavefile.cpp +++ b/qt6/gen_qsavefile.cpp @@ -10,10 +10,26 @@ #include #include "gen_qsavefile.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +struct miqt_string miqt_exec_callback_QSaveFile_FileName(void*, intptr_t); +bool miqt_exec_callback_QSaveFile_Open(void*, intptr_t, int); +long long miqt_exec_callback_QSaveFile_WriteData(void*, intptr_t, const char*, long long); +bool miqt_exec_callback_QSaveFile_IsSequential(void*, intptr_t); +long long miqt_exec_callback_QSaveFile_Pos(void*, intptr_t); +bool miqt_exec_callback_QSaveFile_Seek(void*, intptr_t, long long); +bool miqt_exec_callback_QSaveFile_AtEnd(void*, intptr_t); +long long miqt_exec_callback_QSaveFile_Size(void*, intptr_t); +bool miqt_exec_callback_QSaveFile_Resize(void*, intptr_t, long long); +int miqt_exec_callback_QSaveFile_Permissions(void*, intptr_t); +bool miqt_exec_callback_QSaveFile_SetPermissions(void*, intptr_t, int); +long long miqt_exec_callback_QSaveFile_ReadData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QSaveFile_ReadLineData(void*, intptr_t, char*, long long); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSaveFile : public virtual QSaveFile { public: diff --git a/qt6/gen_qscopedpointer.cpp b/qt6/gen_qscopedpointer.cpp index d511fcef..1b11c52d 100644 --- a/qt6/gen_qscopedpointer.cpp +++ b/qt6/gen_qscopedpointer.cpp @@ -2,10 +2,13 @@ #include #include "gen_qscopedpointer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QScopedPointerPodDeleter_Cleanup(void* pointer) { QScopedPointerPodDeleter::cleanup(pointer); diff --git a/qt6/gen_qscreen.cpp b/qt6/gen_qscreen.cpp index 487bfbe9..b89c335d 100644 --- a/qt6/gen_qscreen.cpp +++ b/qt6/gen_qscreen.cpp @@ -14,10 +14,22 @@ #include #include "gen_qscreen.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QScreen_GeometryChanged(intptr_t, QRect*); +void miqt_exec_callback_QScreen_AvailableGeometryChanged(intptr_t, QRect*); +void miqt_exec_callback_QScreen_PhysicalSizeChanged(intptr_t, QSizeF*); +void miqt_exec_callback_QScreen_PhysicalDotsPerInchChanged(intptr_t, double); +void miqt_exec_callback_QScreen_LogicalDotsPerInchChanged(intptr_t, double); +void miqt_exec_callback_QScreen_VirtualGeometryChanged(intptr_t, QRect*); +void miqt_exec_callback_QScreen_PrimaryOrientationChanged(intptr_t, int); +void miqt_exec_callback_QScreen_OrientationChanged(intptr_t, int); +void miqt_exec_callback_QScreen_RefreshRateChanged(intptr_t, double); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QScreen_virtbase(QScreen* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt6/gen_qscrollarea.cpp b/qt6/gen_qscrollarea.cpp index 43ff610f..9eb98e71 100644 --- a/qt6/gen_qscrollarea.cpp +++ b/qt6/gen_qscrollarea.cpp @@ -23,10 +23,35 @@ #include #include "gen_qscrollarea.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QScrollArea_SizeHint(void*, intptr_t); +bool miqt_exec_callback_QScrollArea_FocusNextPrevChild(void*, intptr_t, bool); +bool miqt_exec_callback_QScrollArea_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QScrollArea_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QScrollArea_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QScrollArea_ScrollContentsBy(void*, intptr_t, int, int); +QSize* miqt_exec_callback_QScrollArea_ViewportSizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QScrollArea_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QScrollArea_SetupViewport(void*, intptr_t, QWidget*); +bool miqt_exec_callback_QScrollArea_ViewportEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QScrollArea_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QScrollArea_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QScrollArea_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QScrollArea_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QScrollArea_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QScrollArea_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QScrollArea_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QScrollArea_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QScrollArea_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QScrollArea_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QScrollArea_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QScrollArea_KeyPressEvent(void*, intptr_t, QKeyEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQScrollArea : public virtual QScrollArea { public: diff --git a/qt6/gen_qscrollbar.cpp b/qt6/gen_qscrollbar.cpp index ea97e1c4..2d0017c3 100644 --- a/qt6/gen_qscrollbar.cpp +++ b/qt6/gen_qscrollbar.cpp @@ -20,10 +20,27 @@ #include #include "gen_qscrollbar.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QScrollBar_SizeHint(void*, intptr_t); +bool miqt_exec_callback_QScrollBar_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QScrollBar_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QScrollBar_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QScrollBar_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QScrollBar_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QScrollBar_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QScrollBar_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QScrollBar_SliderChange(void*, intptr_t, int); +void miqt_exec_callback_QScrollBar_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QScrollBar_InitStyleOption(void*, intptr_t, QStyleOptionSlider*); +void miqt_exec_callback_QScrollBar_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QScrollBar_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QScrollBar_ChangeEvent(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQScrollBar : public virtual QScrollBar { public: diff --git a/qt6/gen_qscroller.cpp b/qt6/gen_qscroller.cpp index ac39dc27..b9e405d7 100644 --- a/qt6/gen_qscroller.cpp +++ b/qt6/gen_qscroller.cpp @@ -11,10 +11,15 @@ #include #include "gen_qscroller.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QScroller_StateChanged(intptr_t, int); +void miqt_exec_callback_QScroller_ScrollerPropertiesChanged(intptr_t, QScrollerProperties*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QScroller_virtbase(QScroller* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt6/gen_qscrollerproperties.cpp b/qt6/gen_qscrollerproperties.cpp index 8ef7dafe..7d06bc1b 100644 --- a/qt6/gen_qscrollerproperties.cpp +++ b/qt6/gen_qscrollerproperties.cpp @@ -3,10 +3,13 @@ #include #include "gen_qscrollerproperties.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QScrollerProperties* QScrollerProperties_new() { return new QScrollerProperties(); diff --git a/qt6/gen_qsemaphore.cpp b/qt6/gen_qsemaphore.cpp index c2f3c06e..02f2f618 100644 --- a/qt6/gen_qsemaphore.cpp +++ b/qt6/gen_qsemaphore.cpp @@ -3,10 +3,13 @@ #include #include "gen_qsemaphore.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSemaphore* QSemaphore_new() { return new QSemaphore(); diff --git a/qt6/gen_qsequentialanimationgroup.cpp b/qt6/gen_qsequentialanimationgroup.cpp index d15aba26..8cbd68ad 100644 --- a/qt6/gen_qsequentialanimationgroup.cpp +++ b/qt6/gen_qsequentialanimationgroup.cpp @@ -11,10 +11,19 @@ #include #include "gen_qsequentialanimationgroup.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSequentialAnimationGroup_CurrentAnimationChanged(intptr_t, QAbstractAnimation*); +int miqt_exec_callback_QSequentialAnimationGroup_Duration(void*, intptr_t); +bool miqt_exec_callback_QSequentialAnimationGroup_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSequentialAnimationGroup_UpdateCurrentTime(void*, intptr_t, int); +void miqt_exec_callback_QSequentialAnimationGroup_UpdateState(void*, intptr_t, int, int); +void miqt_exec_callback_QSequentialAnimationGroup_UpdateDirection(void*, intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSequentialAnimationGroup : public virtual QSequentialAnimationGroup { public: diff --git a/qt6/gen_qsequentialiterable.cpp b/qt6/gen_qsequentialiterable.cpp index e2a8ff7c..8200b425 100644 --- a/qt6/gen_qsequentialiterable.cpp +++ b/qt6/gen_qsequentialiterable.cpp @@ -1,8 +1,11 @@ #include #include "gen_qsequentialiterable.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" diff --git a/qt6/gen_qsessionmanager.cpp b/qt6/gen_qsessionmanager.cpp index 903af2fd..35052982 100644 --- a/qt6/gen_qsessionmanager.cpp +++ b/qt6/gen_qsessionmanager.cpp @@ -8,10 +8,13 @@ #include #include "gen_qsessionmanager.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QSessionManager_virtbase(QSessionManager* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt6/gen_qsettings.cpp b/qt6/gen_qsettings.cpp index 5474d12e..045c52d6 100644 --- a/qt6/gen_qsettings.cpp +++ b/qt6/gen_qsettings.cpp @@ -14,10 +14,20 @@ #include #include "gen_qsettings.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QSettings_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QSettings_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QSettings_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QSettings_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QSettings_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSettings_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QSettings_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSettings : public virtual QSettings { public: diff --git a/qt6/gen_qshareddata.cpp b/qt6/gen_qshareddata.cpp index 5657e74a..9cf813f1 100644 --- a/qt6/gen_qshareddata.cpp +++ b/qt6/gen_qshareddata.cpp @@ -2,10 +2,13 @@ #include #include "gen_qshareddata.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSharedData* QSharedData_new() { return new QSharedData(); diff --git a/qt6/gen_qsharedmemory.cpp b/qt6/gen_qsharedmemory.cpp index 28c72e06..a46927ec 100644 --- a/qt6/gen_qsharedmemory.cpp +++ b/qt6/gen_qsharedmemory.cpp @@ -11,10 +11,20 @@ #include #include "gen_qsharedmemory.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QSharedMemory_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QSharedMemory_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QSharedMemory_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QSharedMemory_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QSharedMemory_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSharedMemory_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QSharedMemory_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSharedMemory : public virtual QSharedMemory { public: diff --git a/qt6/gen_qshortcut.cpp b/qt6/gen_qshortcut.cpp index f3965482..355b86eb 100644 --- a/qt6/gen_qshortcut.cpp +++ b/qt6/gen_qshortcut.cpp @@ -13,10 +13,22 @@ #include #include "gen_qshortcut.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QShortcut_Activated(intptr_t); +void miqt_exec_callback_QShortcut_ActivatedAmbiguously(intptr_t); +bool miqt_exec_callback_QShortcut_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QShortcut_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QShortcut_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QShortcut_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QShortcut_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QShortcut_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QShortcut_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQShortcut : public virtual QShortcut { public: diff --git a/qt6/gen_qsignalmapper.cpp b/qt6/gen_qsignalmapper.cpp index cfc7a3af..407dc99b 100644 --- a/qt6/gen_qsignalmapper.cpp +++ b/qt6/gen_qsignalmapper.cpp @@ -11,10 +11,23 @@ #include #include "gen_qsignalmapper.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSignalMapper_MappedInt(intptr_t, int); +void miqt_exec_callback_QSignalMapper_MappedString(intptr_t, struct miqt_string); +void miqt_exec_callback_QSignalMapper_MappedObject(intptr_t, QObject*); +bool miqt_exec_callback_QSignalMapper_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QSignalMapper_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QSignalMapper_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QSignalMapper_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QSignalMapper_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSignalMapper_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QSignalMapper_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSignalMapper : public virtual QSignalMapper { public: diff --git a/qt6/gen_qsize.cpp b/qt6/gen_qsize.cpp index da758e76..ae885c9e 100644 --- a/qt6/gen_qsize.cpp +++ b/qt6/gen_qsize.cpp @@ -5,10 +5,13 @@ #include #include "gen_qsize.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSize* QSize_new() { return new QSize(); diff --git a/qt6/gen_qsizegrip.cpp b/qt6/gen_qsizegrip.cpp index e4cf1285..9fe5f7fc 100644 --- a/qt6/gen_qsizegrip.cpp +++ b/qt6/gen_qsizegrip.cpp @@ -35,10 +35,55 @@ #include #include "gen_qsizegrip.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QSizeGrip_SizeHint(void*, intptr_t); +void miqt_exec_callback_QSizeGrip_SetVisible(void*, intptr_t, bool); +void miqt_exec_callback_QSizeGrip_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QSizeGrip_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSizeGrip_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSizeGrip_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSizeGrip_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QSizeGrip_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QSizeGrip_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QSizeGrip_EventFilter(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QSizeGrip_Event(void*, intptr_t, QEvent*); +int miqt_exec_callback_QSizeGrip_DevType(void*, intptr_t); +QSize* miqt_exec_callback_QSizeGrip_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QSizeGrip_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QSizeGrip_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QSizeGrip_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QSizeGrip_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSizeGrip_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QSizeGrip_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QSizeGrip_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QSizeGrip_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QSizeGrip_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QSizeGrip_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QSizeGrip_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSizeGrip_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QSizeGrip_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QSizeGrip_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QSizeGrip_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QSizeGrip_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QSizeGrip_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QSizeGrip_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QSizeGrip_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QSizeGrip_DropEvent(void*, intptr_t, QDropEvent*); +bool miqt_exec_callback_QSizeGrip_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +void miqt_exec_callback_QSizeGrip_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QSizeGrip_Metric(void*, intptr_t, int); +void miqt_exec_callback_QSizeGrip_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QSizeGrip_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QSizeGrip_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QSizeGrip_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QSizeGrip_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QSizeGrip_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSizeGrip : public virtual QSizeGrip { public: diff --git a/qt6/gen_qsizepolicy.cpp b/qt6/gen_qsizepolicy.cpp index fe7e9d58..341fbb18 100644 --- a/qt6/gen_qsizepolicy.cpp +++ b/qt6/gen_qsizepolicy.cpp @@ -3,10 +3,13 @@ #include #include "gen_qsizepolicy.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSizePolicy* QSizePolicy_new() { return new QSizePolicy(); diff --git a/qt6/gen_qslider.cpp b/qt6/gen_qslider.cpp index 8bd6ba0a..d0f4b653 100644 --- a/qt6/gen_qslider.cpp +++ b/qt6/gen_qslider.cpp @@ -18,10 +18,26 @@ #include #include "gen_qslider.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QSlider_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QSlider_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QSlider_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSlider_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QSlider_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSlider_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSlider_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSlider_InitStyleOption(void*, intptr_t, QStyleOptionSlider*); +void miqt_exec_callback_QSlider_SliderChange(void*, intptr_t, int); +void miqt_exec_callback_QSlider_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QSlider_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QSlider_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QSlider_ChangeEvent(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSlider : public virtual QSlider { public: diff --git a/qt6/gen_qsocketnotifier.cpp b/qt6/gen_qsocketnotifier.cpp index aadcf522..5d9141b5 100644 --- a/qt6/gen_qsocketnotifier.cpp +++ b/qt6/gen_qsocketnotifier.cpp @@ -12,10 +12,20 @@ #include #include "gen_qsocketnotifier.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QSocketNotifier_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QSocketNotifier_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QSocketNotifier_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QSocketNotifier_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QSocketNotifier_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSocketNotifier_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QSocketNotifier_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSocketNotifier : public virtual QSocketNotifier { public: diff --git a/qt6/gen_qsortfilterproxymodel.cpp b/qt6/gen_qsortfilterproxymodel.cpp index ae9fe210..029a159b 100644 --- a/qt6/gen_qsortfilterproxymodel.cpp +++ b/qt6/gen_qsortfilterproxymodel.cpp @@ -18,10 +18,62 @@ #include #include "gen_qsortfilterproxymodel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSortFilterProxyModel_DynamicSortFilterChanged(intptr_t, bool); +void miqt_exec_callback_QSortFilterProxyModel_FilterCaseSensitivityChanged(intptr_t, int); +void miqt_exec_callback_QSortFilterProxyModel_SortCaseSensitivityChanged(intptr_t, int); +void miqt_exec_callback_QSortFilterProxyModel_SortLocaleAwareChanged(intptr_t, bool); +void miqt_exec_callback_QSortFilterProxyModel_SortRoleChanged(intptr_t, int); +void miqt_exec_callback_QSortFilterProxyModel_FilterRoleChanged(intptr_t, int); +void miqt_exec_callback_QSortFilterProxyModel_RecursiveFilteringEnabledChanged(intptr_t, bool); +void miqt_exec_callback_QSortFilterProxyModel_AutoAcceptChildRowsChanged(intptr_t, bool); +void miqt_exec_callback_QSortFilterProxyModel_SetSourceModel(void*, intptr_t, QAbstractItemModel*); +QModelIndex* miqt_exec_callback_QSortFilterProxyModel_MapToSource(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QSortFilterProxyModel_MapFromSource(void*, intptr_t, QModelIndex*); +QItemSelection* miqt_exec_callback_QSortFilterProxyModel_MapSelectionToSource(void*, intptr_t, QItemSelection*); +QItemSelection* miqt_exec_callback_QSortFilterProxyModel_MapSelectionFromSource(void*, intptr_t, QItemSelection*); +bool miqt_exec_callback_QSortFilterProxyModel_FilterAcceptsRow(void*, intptr_t, int, QModelIndex*); +bool miqt_exec_callback_QSortFilterProxyModel_FilterAcceptsColumn(void*, intptr_t, int, QModelIndex*); +bool miqt_exec_callback_QSortFilterProxyModel_LessThan(void*, intptr_t, QModelIndex*, QModelIndex*); +QModelIndex* miqt_exec_callback_QSortFilterProxyModel_Index(void*, intptr_t, int, int, QModelIndex*); +QModelIndex* miqt_exec_callback_QSortFilterProxyModel_Parent(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QSortFilterProxyModel_Sibling(void*, intptr_t, int, int, QModelIndex*); +int miqt_exec_callback_QSortFilterProxyModel_RowCount(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QSortFilterProxyModel_ColumnCount(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QSortFilterProxyModel_HasChildren(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QSortFilterProxyModel_Data(void*, intptr_t, QModelIndex*, int); +bool miqt_exec_callback_QSortFilterProxyModel_SetData(void*, intptr_t, QModelIndex*, QVariant*, int); +QVariant* miqt_exec_callback_QSortFilterProxyModel_HeaderData(void*, intptr_t, int, int, int); +bool miqt_exec_callback_QSortFilterProxyModel_SetHeaderData(void*, intptr_t, int, int, QVariant*, int); +QMimeData* miqt_exec_callback_QSortFilterProxyModel_MimeData(void*, intptr_t, struct miqt_array /* of QModelIndex* */ ); +bool miqt_exec_callback_QSortFilterProxyModel_DropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +bool miqt_exec_callback_QSortFilterProxyModel_InsertRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QSortFilterProxyModel_InsertColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QSortFilterProxyModel_RemoveRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QSortFilterProxyModel_RemoveColumns(void*, intptr_t, int, int, QModelIndex*); +void miqt_exec_callback_QSortFilterProxyModel_FetchMore(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QSortFilterProxyModel_CanFetchMore(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QSortFilterProxyModel_Flags(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QSortFilterProxyModel_Buddy(void*, intptr_t, QModelIndex*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QSortFilterProxyModel_Match(void*, intptr_t, QModelIndex*, int, QVariant*, int, int); +QSize* miqt_exec_callback_QSortFilterProxyModel_Span(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QSortFilterProxyModel_Sort(void*, intptr_t, int, int); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QSortFilterProxyModel_MimeTypes(void*, intptr_t); +int miqt_exec_callback_QSortFilterProxyModel_SupportedDropActions(void*, intptr_t); +bool miqt_exec_callback_QSortFilterProxyModel_Submit(void*, intptr_t); +void miqt_exec_callback_QSortFilterProxyModel_Revert(void*, intptr_t); +struct miqt_map /* of int to QVariant* */ miqt_exec_callback_QSortFilterProxyModel_ItemData(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QSortFilterProxyModel_SetItemData(void*, intptr_t, QModelIndex*, struct miqt_map /* of int to QVariant* */ ); +bool miqt_exec_callback_QSortFilterProxyModel_ClearItemData(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QSortFilterProxyModel_CanDropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +int miqt_exec_callback_QSortFilterProxyModel_SupportedDragActions(void*, intptr_t); +struct miqt_map /* of int to struct miqt_string */ miqt_exec_callback_QSortFilterProxyModel_RoleNames(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSortFilterProxyModel : public virtual QSortFilterProxyModel { public: diff --git a/qt6/gen_qspinbox.cpp b/qt6/gen_qspinbox.cpp index c102cc45..0216923c 100644 --- a/qt6/gen_qspinbox.cpp +++ b/qt6/gen_qspinbox.cpp @@ -26,10 +26,73 @@ #include #include "gen_qspinbox.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSpinBox_ValueChanged(intptr_t, int); +void miqt_exec_callback_QSpinBox_TextChanged(intptr_t, struct miqt_string); +bool miqt_exec_callback_QSpinBox_Event(void*, intptr_t, QEvent*); +int miqt_exec_callback_QSpinBox_Validate(void*, intptr_t, struct miqt_string, int*); +int miqt_exec_callback_QSpinBox_ValueFromText(void*, intptr_t, struct miqt_string); +struct miqt_string miqt_exec_callback_QSpinBox_TextFromValue(void*, intptr_t, int); +void miqt_exec_callback_QSpinBox_Fixup(void*, intptr_t, struct miqt_string); +QSize* miqt_exec_callback_QSpinBox_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QSpinBox_MinimumSizeHint(void*, intptr_t); +QVariant* miqt_exec_callback_QSpinBox_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QSpinBox_StepBy(void*, intptr_t, int); +void miqt_exec_callback_QSpinBox_Clear(void*, intptr_t); +void miqt_exec_callback_QSpinBox_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QSpinBox_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QSpinBox_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QSpinBox_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QSpinBox_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QSpinBox_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QSpinBox_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QSpinBox_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSpinBox_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QSpinBox_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QSpinBox_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSpinBox_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSpinBox_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSpinBox_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QSpinBox_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QSpinBox_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QSpinBox_InitStyleOption(void*, intptr_t, QStyleOptionSpinBox*); +int miqt_exec_callback_QSpinBox_StepEnabled(void*, intptr_t); +void miqt_exec_callback_QDoubleSpinBox_ValueChanged(intptr_t, double); +void miqt_exec_callback_QDoubleSpinBox_TextChanged(intptr_t, struct miqt_string); +int miqt_exec_callback_QDoubleSpinBox_Validate(void*, intptr_t, struct miqt_string, int*); +double miqt_exec_callback_QDoubleSpinBox_ValueFromText(void*, intptr_t, struct miqt_string); +struct miqt_string miqt_exec_callback_QDoubleSpinBox_TextFromValue(void*, intptr_t, double); +void miqt_exec_callback_QDoubleSpinBox_Fixup(void*, intptr_t, struct miqt_string); +QSize* miqt_exec_callback_QDoubleSpinBox_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QDoubleSpinBox_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QDoubleSpinBox_Event(void*, intptr_t, QEvent*); +QVariant* miqt_exec_callback_QDoubleSpinBox_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QDoubleSpinBox_StepBy(void*, intptr_t, int); +void miqt_exec_callback_QDoubleSpinBox_Clear(void*, intptr_t); +void miqt_exec_callback_QDoubleSpinBox_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QDoubleSpinBox_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDoubleSpinBox_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QDoubleSpinBox_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QDoubleSpinBox_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QDoubleSpinBox_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QDoubleSpinBox_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QDoubleSpinBox_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDoubleSpinBox_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QDoubleSpinBox_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QDoubleSpinBox_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDoubleSpinBox_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDoubleSpinBox_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QDoubleSpinBox_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QDoubleSpinBox_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QDoubleSpinBox_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QDoubleSpinBox_InitStyleOption(void*, intptr_t, QStyleOptionSpinBox*); +int miqt_exec_callback_QDoubleSpinBox_StepEnabled(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSpinBox : public virtual QSpinBox { public: diff --git a/qt6/gen_qsplashscreen.cpp b/qt6/gen_qsplashscreen.cpp index 8a792c4e..2e6c3c67 100644 --- a/qt6/gen_qsplashscreen.cpp +++ b/qt6/gen_qsplashscreen.cpp @@ -38,10 +38,56 @@ #include #include "gen_qsplashscreen.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSplashScreen_MessageChanged(intptr_t, struct miqt_string); +bool miqt_exec_callback_QSplashScreen_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSplashScreen_DrawContents(void*, intptr_t, QPainter*); +void miqt_exec_callback_QSplashScreen_MousePressEvent(void*, intptr_t, QMouseEvent*); +int miqt_exec_callback_QSplashScreen_DevType(void*, intptr_t); +void miqt_exec_callback_QSplashScreen_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QSplashScreen_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QSplashScreen_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QSplashScreen_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QSplashScreen_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QSplashScreen_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QSplashScreen_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSplashScreen_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSplashScreen_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSplashScreen_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QSplashScreen_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QSplashScreen_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QSplashScreen_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QSplashScreen_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QSplashScreen_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QSplashScreen_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSplashScreen_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QSplashScreen_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QSplashScreen_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QSplashScreen_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QSplashScreen_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QSplashScreen_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QSplashScreen_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QSplashScreen_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QSplashScreen_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QSplashScreen_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QSplashScreen_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QSplashScreen_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QSplashScreen_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QSplashScreen_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +void miqt_exec_callback_QSplashScreen_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QSplashScreen_Metric(void*, intptr_t, int); +void miqt_exec_callback_QSplashScreen_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QSplashScreen_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QSplashScreen_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QSplashScreen_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QSplashScreen_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QSplashScreen_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSplashScreen : public virtual QSplashScreen { public: diff --git a/qt6/gen_qsplitter.cpp b/qt6/gen_qsplitter.cpp index 6943eaac..8361be22 100644 --- a/qt6/gen_qsplitter.cpp +++ b/qt6/gen_qsplitter.cpp @@ -40,10 +40,64 @@ #include #include "gen_qsplitter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSplitter_SplitterMoved(intptr_t, int, int); +QSize* miqt_exec_callback_QSplitter_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QSplitter_MinimumSizeHint(void*, intptr_t); +QSplitterHandle* miqt_exec_callback_QSplitter_CreateHandle(void*, intptr_t); +void miqt_exec_callback_QSplitter_ChildEvent(void*, intptr_t, QChildEvent*); +bool miqt_exec_callback_QSplitter_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSplitter_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QSplitter_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSplitter_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QSplitter_InitStyleOption(void*, intptr_t, QStyleOptionFrame*); +QSize* miqt_exec_callback_QSplitterHandle_SizeHint(void*, intptr_t); +void miqt_exec_callback_QSplitterHandle_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QSplitterHandle_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSplitterHandle_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSplitterHandle_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSplitterHandle_ResizeEvent(void*, intptr_t, QResizeEvent*); +bool miqt_exec_callback_QSplitterHandle_Event(void*, intptr_t, QEvent*); +int miqt_exec_callback_QSplitterHandle_DevType(void*, intptr_t); +void miqt_exec_callback_QSplitterHandle_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QSplitterHandle_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QSplitterHandle_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QSplitterHandle_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QSplitterHandle_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QSplitterHandle_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSplitterHandle_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QSplitterHandle_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QSplitterHandle_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QSplitterHandle_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QSplitterHandle_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QSplitterHandle_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QSplitterHandle_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSplitterHandle_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QSplitterHandle_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QSplitterHandle_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QSplitterHandle_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QSplitterHandle_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QSplitterHandle_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QSplitterHandle_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QSplitterHandle_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QSplitterHandle_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QSplitterHandle_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QSplitterHandle_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QSplitterHandle_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +void miqt_exec_callback_QSplitterHandle_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QSplitterHandle_Metric(void*, intptr_t, int); +void miqt_exec_callback_QSplitterHandle_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QSplitterHandle_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QSplitterHandle_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QSplitterHandle_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QSplitterHandle_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QSplitterHandle_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSplitter : public virtual QSplitter { public: diff --git a/qt6/gen_qstackedlayout.cpp b/qt6/gen_qstackedlayout.cpp index ba96f681..accd4183 100644 --- a/qt6/gen_qstackedlayout.cpp +++ b/qt6/gen_qstackedlayout.cpp @@ -13,10 +13,36 @@ #include #include "gen_qstackedlayout.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QStackedLayout_WidgetRemoved(intptr_t, int); +void miqt_exec_callback_QStackedLayout_CurrentChanged(intptr_t, int); +int miqt_exec_callback_QStackedLayout_Count(void*, intptr_t); +void miqt_exec_callback_QStackedLayout_AddItem(void*, intptr_t, QLayoutItem*); +QSize* miqt_exec_callback_QStackedLayout_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QStackedLayout_MinimumSize(void*, intptr_t); +QLayoutItem* miqt_exec_callback_QStackedLayout_ItemAt(void*, intptr_t, int); +QLayoutItem* miqt_exec_callback_QStackedLayout_TakeAt(void*, intptr_t, int); +void miqt_exec_callback_QStackedLayout_SetGeometry(void*, intptr_t, QRect*); +bool miqt_exec_callback_QStackedLayout_HasHeightForWidth(void*, intptr_t); +int miqt_exec_callback_QStackedLayout_HeightForWidth(void*, intptr_t, int); +int miqt_exec_callback_QStackedLayout_Spacing(void*, intptr_t); +void miqt_exec_callback_QStackedLayout_SetSpacing(void*, intptr_t, int); +void miqt_exec_callback_QStackedLayout_Invalidate(void*, intptr_t); +QRect* miqt_exec_callback_QStackedLayout_Geometry(void*, intptr_t); +int miqt_exec_callback_QStackedLayout_ExpandingDirections(void*, intptr_t); +QSize* miqt_exec_callback_QStackedLayout_MaximumSize(void*, intptr_t); +int miqt_exec_callback_QStackedLayout_IndexOf(void*, intptr_t, QWidget*); +bool miqt_exec_callback_QStackedLayout_IsEmpty(void*, intptr_t); +int miqt_exec_callback_QStackedLayout_ControlTypes(void*, intptr_t); +QLayoutItem* miqt_exec_callback_QStackedLayout_ReplaceWidget(void*, intptr_t, QWidget*, QWidget*, int); +QLayout* miqt_exec_callback_QStackedLayout_Layout(void*, intptr_t); +void miqt_exec_callback_QStackedLayout_ChildEvent(void*, intptr_t, QChildEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQStackedLayout : public virtual QStackedLayout { public: diff --git a/qt6/gen_qstackedwidget.cpp b/qt6/gen_qstackedwidget.cpp index 8caac368..1bece7e5 100644 --- a/qt6/gen_qstackedwidget.cpp +++ b/qt6/gen_qstackedwidget.cpp @@ -14,10 +14,20 @@ #include #include "gen_qstackedwidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QStackedWidget_CurrentChanged(intptr_t, int); +void miqt_exec_callback_QStackedWidget_WidgetRemoved(intptr_t, int); +bool miqt_exec_callback_QStackedWidget_Event(void*, intptr_t, QEvent*); +QSize* miqt_exec_callback_QStackedWidget_SizeHint(void*, intptr_t); +void miqt_exec_callback_QStackedWidget_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QStackedWidget_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QStackedWidget_InitStyleOption(void*, intptr_t, QStyleOptionFrame*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQStackedWidget : public virtual QStackedWidget { public: diff --git a/qt6/gen_qstandarditemmodel.cpp b/qt6/gen_qstandarditemmodel.cpp index 899c11ad..3381c11a 100644 --- a/qt6/gen_qstandarditemmodel.cpp +++ b/qt6/gen_qstandarditemmodel.cpp @@ -21,10 +21,59 @@ #include #include "gen_qstandarditemmodel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QVariant* miqt_exec_callback_QStandardItem_Data(void*, intptr_t, int); +void miqt_exec_callback_QStandardItem_MultiData(void*, intptr_t, QModelRoleDataSpan*); +void miqt_exec_callback_QStandardItem_SetData(void*, intptr_t, QVariant*, int); +QStandardItem* miqt_exec_callback_QStandardItem_Clone(void*, intptr_t); +int miqt_exec_callback_QStandardItem_Type(void*, intptr_t); +void miqt_exec_callback_QStandardItem_Read(void*, intptr_t, QDataStream*); +void miqt_exec_callback_QStandardItem_Write(void*, intptr_t, QDataStream*); +bool miqt_exec_callback_QStandardItem_OperatorLesser(void*, intptr_t, QStandardItem*); +void miqt_exec_callback_QStandardItemModel_ItemChanged(intptr_t, QStandardItem*); +struct miqt_map /* of int to struct miqt_string */ miqt_exec_callback_QStandardItemModel_RoleNames(void*, intptr_t); +QModelIndex* miqt_exec_callback_QStandardItemModel_Index(void*, intptr_t, int, int, QModelIndex*); +QModelIndex* miqt_exec_callback_QStandardItemModel_Parent(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QStandardItemModel_RowCount(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QStandardItemModel_ColumnCount(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QStandardItemModel_HasChildren(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QStandardItemModel_Data(void*, intptr_t, QModelIndex*, int); +void miqt_exec_callback_QStandardItemModel_MultiData(void*, intptr_t, QModelIndex*, QModelRoleDataSpan*); +bool miqt_exec_callback_QStandardItemModel_SetData(void*, intptr_t, QModelIndex*, QVariant*, int); +bool miqt_exec_callback_QStandardItemModel_ClearItemData(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QStandardItemModel_HeaderData(void*, intptr_t, int, int, int); +bool miqt_exec_callback_QStandardItemModel_SetHeaderData(void*, intptr_t, int, int, QVariant*, int); +bool miqt_exec_callback_QStandardItemModel_InsertRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QStandardItemModel_InsertColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QStandardItemModel_RemoveRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QStandardItemModel_RemoveColumns(void*, intptr_t, int, int, QModelIndex*); +int miqt_exec_callback_QStandardItemModel_Flags(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QStandardItemModel_SupportedDropActions(void*, intptr_t); +struct miqt_map /* of int to QVariant* */ miqt_exec_callback_QStandardItemModel_ItemData(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QStandardItemModel_SetItemData(void*, intptr_t, QModelIndex*, struct miqt_map /* of int to QVariant* */ ); +void miqt_exec_callback_QStandardItemModel_Sort(void*, intptr_t, int, int); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QStandardItemModel_MimeTypes(void*, intptr_t); +QMimeData* miqt_exec_callback_QStandardItemModel_MimeData(void*, intptr_t, struct miqt_array /* of QModelIndex* */ ); +bool miqt_exec_callback_QStandardItemModel_DropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +QModelIndex* miqt_exec_callback_QStandardItemModel_Sibling(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QStandardItemModel_CanDropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +int miqt_exec_callback_QStandardItemModel_SupportedDragActions(void*, intptr_t); +bool miqt_exec_callback_QStandardItemModel_MoveRows(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +bool miqt_exec_callback_QStandardItemModel_MoveColumns(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +void miqt_exec_callback_QStandardItemModel_FetchMore(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QStandardItemModel_CanFetchMore(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QStandardItemModel_Buddy(void*, intptr_t, QModelIndex*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QStandardItemModel_Match(void*, intptr_t, QModelIndex*, int, QVariant*, int, int); +QSize* miqt_exec_callback_QStandardItemModel_Span(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QStandardItemModel_Submit(void*, intptr_t); +void miqt_exec_callback_QStandardItemModel_Revert(void*, intptr_t); +void miqt_exec_callback_QStandardItemModel_ResetInternalData(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQStandardItem : public virtual QStandardItem { public: diff --git a/qt6/gen_qstandardpaths.cpp b/qt6/gen_qstandardpaths.cpp index 0c539b3e..cd938960 100644 --- a/qt6/gen_qstandardpaths.cpp +++ b/qt6/gen_qstandardpaths.cpp @@ -6,10 +6,13 @@ #include #include "gen_qstandardpaths.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" struct miqt_string QStandardPaths_WritableLocation(int typeVal) { QString _ret = QStandardPaths::writableLocation(static_cast(typeVal)); diff --git a/qt6/gen_qstatictext.cpp b/qt6/gen_qstatictext.cpp index f7b67f37..a4d678b9 100644 --- a/qt6/gen_qstatictext.cpp +++ b/qt6/gen_qstatictext.cpp @@ -9,10 +9,13 @@ #include #include "gen_qstatictext.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QStaticText* QStaticText_new() { return new QStaticText(); diff --git a/qt6/gen_qstatusbar.cpp b/qt6/gen_qstatusbar.cpp index f70f756c..f073fca4 100644 --- a/qt6/gen_qstatusbar.cpp +++ b/qt6/gen_qstatusbar.cpp @@ -35,10 +35,55 @@ #include #include "gen_qstatusbar.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QStatusBar_MessageChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QStatusBar_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QStatusBar_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QStatusBar_ResizeEvent(void*, intptr_t, QResizeEvent*); +bool miqt_exec_callback_QStatusBar_Event(void*, intptr_t, QEvent*); +int miqt_exec_callback_QStatusBar_DevType(void*, intptr_t); +void miqt_exec_callback_QStatusBar_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QStatusBar_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QStatusBar_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QStatusBar_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QStatusBar_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QStatusBar_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QStatusBar_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QStatusBar_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QStatusBar_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QStatusBar_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QStatusBar_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QStatusBar_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QStatusBar_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QStatusBar_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QStatusBar_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QStatusBar_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QStatusBar_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QStatusBar_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QStatusBar_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QStatusBar_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QStatusBar_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QStatusBar_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QStatusBar_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QStatusBar_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QStatusBar_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QStatusBar_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QStatusBar_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QStatusBar_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +void miqt_exec_callback_QStatusBar_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QStatusBar_Metric(void*, intptr_t, int); +void miqt_exec_callback_QStatusBar_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QStatusBar_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QStatusBar_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QStatusBar_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QStatusBar_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QStatusBar_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQStatusBar : public virtual QStatusBar { public: diff --git a/qt6/gen_qstorageinfo.cpp b/qt6/gen_qstorageinfo.cpp index 1de4580c..b124a3ea 100644 --- a/qt6/gen_qstorageinfo.cpp +++ b/qt6/gen_qstorageinfo.cpp @@ -8,10 +8,13 @@ #include #include "gen_qstorageinfo.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QStorageInfo* QStorageInfo_new() { return new QStorageInfo(); diff --git a/qt6/gen_qstringbuilder.cpp b/qt6/gen_qstringbuilder.cpp index df2298fb..12612395 100644 --- a/qt6/gen_qstringbuilder.cpp +++ b/qt6/gen_qstringbuilder.cpp @@ -1,10 +1,13 @@ #include #include "gen_qstringbuilder.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QAbstractConcatenable_Delete(QAbstractConcatenable* self, bool isSubclass) { if (isSubclass) { diff --git a/qt6/gen_qstringconverter.cpp b/qt6/gen_qstringconverter.cpp index 5081079d..77750d49 100644 --- a/qt6/gen_qstringconverter.cpp +++ b/qt6/gen_qstringconverter.cpp @@ -7,10 +7,13 @@ #include #include "gen_qstringconverter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QStringEncoder* QStringEncoder_new() { return new QStringEncoder(); diff --git a/qt6/gen_qstringconverter_base.cpp b/qt6/gen_qstringconverter_base.cpp index 6db084bb..39cc4d98 100644 --- a/qt6/gen_qstringconverter_base.cpp +++ b/qt6/gen_qstringconverter_base.cpp @@ -4,10 +4,13 @@ #include #include "gen_qstringconverter_base.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QStringConverterBase* QStringConverterBase_new(QStringConverterBase* param1) { return new QStringConverterBase(*param1); diff --git a/qt6/gen_qstringlistmodel.cpp b/qt6/gen_qstringlistmodel.cpp index cb257149..35947066 100644 --- a/qt6/gen_qstringlistmodel.cpp +++ b/qt6/gen_qstringlistmodel.cpp @@ -14,10 +14,28 @@ #include #include "gen_qstringlistmodel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QStringListModel_RowCount(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QStringListModel_Sibling(void*, intptr_t, int, int, QModelIndex*); +QVariant* miqt_exec_callback_QStringListModel_Data(void*, intptr_t, QModelIndex*, int); +bool miqt_exec_callback_QStringListModel_SetData(void*, intptr_t, QModelIndex*, QVariant*, int); +bool miqt_exec_callback_QStringListModel_ClearItemData(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QStringListModel_Flags(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QStringListModel_InsertRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QStringListModel_RemoveRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QStringListModel_MoveRows(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +struct miqt_map /* of int to QVariant* */ miqt_exec_callback_QStringListModel_ItemData(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QStringListModel_SetItemData(void*, intptr_t, QModelIndex*, struct miqt_map /* of int to QVariant* */ ); +void miqt_exec_callback_QStringListModel_Sort(void*, intptr_t, int, int); +int miqt_exec_callback_QStringListModel_SupportedDropActions(void*, intptr_t); +QModelIndex* miqt_exec_callback_QStringListModel_Index(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QStringListModel_DropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQStringListModel : public virtual QStringListModel { public: diff --git a/qt6/gen_qstringmatcher.cpp b/qt6/gen_qstringmatcher.cpp index a53e4634..d9820d59 100644 --- a/qt6/gen_qstringmatcher.cpp +++ b/qt6/gen_qstringmatcher.cpp @@ -6,10 +6,13 @@ #include #include "gen_qstringmatcher.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QStringMatcher* QStringMatcher_new() { return new QStringMatcher(); diff --git a/qt6/gen_qstringtokenizer.cpp b/qt6/gen_qstringtokenizer.cpp index 42dc84cc..4dd46c94 100644 --- a/qt6/gen_qstringtokenizer.cpp +++ b/qt6/gen_qstringtokenizer.cpp @@ -2,10 +2,13 @@ #include #include "gen_qstringtokenizer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QStringTokenizerBaseBase* QStringTokenizerBaseBase_new(QStringTokenizerBaseBase* param1) { return new QStringTokenizerBaseBase(*param1); diff --git a/qt6/gen_qstringview.cpp b/qt6/gen_qstringview.cpp index 1f1bc11a..cec1b849 100644 --- a/qt6/gen_qstringview.cpp +++ b/qt6/gen_qstringview.cpp @@ -10,10 +10,13 @@ #include #include "gen_qstringview.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QStringView* QStringView_new() { return new QStringView(); diff --git a/qt6/gen_qstyle.cpp b/qt6/gen_qstyle.cpp index 7d40719d..193ee840 100644 --- a/qt6/gen_qstyle.cpp +++ b/qt6/gen_qstyle.cpp @@ -24,10 +24,43 @@ #include #include "gen_qstyle.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QStyle_Polish(void*, intptr_t, QWidget*); +void miqt_exec_callback_QStyle_Unpolish(void*, intptr_t, QWidget*); +void miqt_exec_callback_QStyle_PolishWithApplication(void*, intptr_t, QApplication*); +void miqt_exec_callback_QStyle_UnpolishWithApplication(void*, intptr_t, QApplication*); +void miqt_exec_callback_QStyle_PolishWithPalette(void*, intptr_t, QPalette*); +QRect* miqt_exec_callback_QStyle_ItemTextRect(void*, intptr_t, QFontMetrics*, QRect*, int, bool, struct miqt_string); +QRect* miqt_exec_callback_QStyle_ItemPixmapRect(void*, intptr_t, QRect*, int, QPixmap*); +void miqt_exec_callback_QStyle_DrawItemText(void*, intptr_t, QPainter*, QRect*, int, QPalette*, bool, struct miqt_string, int); +void miqt_exec_callback_QStyle_DrawItemPixmap(void*, intptr_t, QPainter*, QRect*, int, QPixmap*); +QPalette* miqt_exec_callback_QStyle_StandardPalette(void*, intptr_t); +void miqt_exec_callback_QStyle_DrawPrimitive(void*, intptr_t, int, QStyleOption*, QPainter*, QWidget*); +void miqt_exec_callback_QStyle_DrawControl(void*, intptr_t, int, QStyleOption*, QPainter*, QWidget*); +QRect* miqt_exec_callback_QStyle_SubElementRect(void*, intptr_t, int, QStyleOption*, QWidget*); +void miqt_exec_callback_QStyle_DrawComplexControl(void*, intptr_t, int, QStyleOptionComplex*, QPainter*, QWidget*); +int miqt_exec_callback_QStyle_HitTestComplexControl(void*, intptr_t, int, QStyleOptionComplex*, QPoint*, QWidget*); +QRect* miqt_exec_callback_QStyle_SubControlRect(void*, intptr_t, int, QStyleOptionComplex*, int, QWidget*); +int miqt_exec_callback_QStyle_PixelMetric(void*, intptr_t, int, QStyleOption*, QWidget*); +QSize* miqt_exec_callback_QStyle_SizeFromContents(void*, intptr_t, int, QStyleOption*, QSize*, QWidget*); +int miqt_exec_callback_QStyle_StyleHint(void*, intptr_t, int, QStyleOption*, QWidget*, QStyleHintReturn*); +QPixmap* miqt_exec_callback_QStyle_StandardPixmap(void*, intptr_t, int, QStyleOption*, QWidget*); +QIcon* miqt_exec_callback_QStyle_StandardIcon(void*, intptr_t, int, QStyleOption*, QWidget*); +QPixmap* miqt_exec_callback_QStyle_GeneratedIconPixmap(void*, intptr_t, int, QPixmap*, QStyleOption*); +int miqt_exec_callback_QStyle_LayoutSpacing(void*, intptr_t, int, int, int, QStyleOption*, QWidget*); +bool miqt_exec_callback_QStyle_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QStyle_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QStyle_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QStyle_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QStyle_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QStyle_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QStyle_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQStyle : public virtual QStyle { public: diff --git a/qt6/gen_qstyleditemdelegate.cpp b/qt6/gen_qstyleditemdelegate.cpp index be8bce64..d7fd4d07 100644 --- a/qt6/gen_qstyleditemdelegate.cpp +++ b/qt6/gen_qstyleditemdelegate.cpp @@ -21,10 +21,26 @@ #include #include "gen_qstyleditemdelegate.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QStyledItemDelegate_Paint(void*, intptr_t, QPainter*, QStyleOptionViewItem*, QModelIndex*); +QSize* miqt_exec_callback_QStyledItemDelegate_SizeHint(void*, intptr_t, QStyleOptionViewItem*, QModelIndex*); +QWidget* miqt_exec_callback_QStyledItemDelegate_CreateEditor(void*, intptr_t, QWidget*, QStyleOptionViewItem*, QModelIndex*); +void miqt_exec_callback_QStyledItemDelegate_SetEditorData(void*, intptr_t, QWidget*, QModelIndex*); +void miqt_exec_callback_QStyledItemDelegate_SetModelData(void*, intptr_t, QWidget*, QAbstractItemModel*, QModelIndex*); +void miqt_exec_callback_QStyledItemDelegate_UpdateEditorGeometry(void*, intptr_t, QWidget*, QStyleOptionViewItem*, QModelIndex*); +struct miqt_string miqt_exec_callback_QStyledItemDelegate_DisplayText(void*, intptr_t, QVariant*, QLocale*); +void miqt_exec_callback_QStyledItemDelegate_InitStyleOption(void*, intptr_t, QStyleOptionViewItem*, QModelIndex*); +bool miqt_exec_callback_QStyledItemDelegate_EventFilter(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QStyledItemDelegate_EditorEvent(void*, intptr_t, QEvent*, QAbstractItemModel*, QStyleOptionViewItem*, QModelIndex*); +void miqt_exec_callback_QStyledItemDelegate_DestroyEditor(void*, intptr_t, QWidget*, QModelIndex*); +bool miqt_exec_callback_QStyledItemDelegate_HelpEvent(void*, intptr_t, QHelpEvent*, QAbstractItemView*, QStyleOptionViewItem*, QModelIndex*); +struct miqt_array /* of int */ miqt_exec_callback_QStyledItemDelegate_PaintingRoles(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQStyledItemDelegate : public virtual QStyledItemDelegate { public: diff --git a/qt6/gen_qstylefactory.cpp b/qt6/gen_qstylefactory.cpp index 6bf9443c..38d7168f 100644 --- a/qt6/gen_qstylefactory.cpp +++ b/qt6/gen_qstylefactory.cpp @@ -7,10 +7,13 @@ #include #include "gen_qstylefactory.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" struct miqt_array /* of struct miqt_string */ QStyleFactory_Keys() { QStringList _ret = QStyleFactory::keys(); diff --git a/qt6/gen_qstylehints.cpp b/qt6/gen_qstylehints.cpp index abe0e386..97c2ad58 100644 --- a/qt6/gen_qstylehints.cpp +++ b/qt6/gen_qstylehints.cpp @@ -8,10 +8,24 @@ #include #include "gen_qstylehints.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QStyleHints_CursorFlashTimeChanged(intptr_t, int); +void miqt_exec_callback_QStyleHints_KeyboardInputIntervalChanged(intptr_t, int); +void miqt_exec_callback_QStyleHints_MouseDoubleClickIntervalChanged(intptr_t, int); +void miqt_exec_callback_QStyleHints_MousePressAndHoldIntervalChanged(intptr_t, int); +void miqt_exec_callback_QStyleHints_StartDragDistanceChanged(intptr_t, int); +void miqt_exec_callback_QStyleHints_StartDragTimeChanged(intptr_t, int); +void miqt_exec_callback_QStyleHints_TabFocusBehaviorChanged(intptr_t, int); +void miqt_exec_callback_QStyleHints_UseHoverEffectsChanged(intptr_t, bool); +void miqt_exec_callback_QStyleHints_ShowShortcutsInContextMenusChanged(intptr_t, bool); +void miqt_exec_callback_QStyleHints_WheelScrollLinesChanged(intptr_t, int); +void miqt_exec_callback_QStyleHints_MouseQuickSelectionThresholdChanged(intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QStyleHints_virtbase(QStyleHints* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt6/gen_qstyleoption.cpp b/qt6/gen_qstyleoption.cpp index 895196ed..9322081c 100644 --- a/qt6/gen_qstyleoption.cpp +++ b/qt6/gen_qstyleoption.cpp @@ -31,10 +31,13 @@ #include #include "gen_qstyleoption.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QStyleOption* QStyleOption_new() { return new QStyleOption(); diff --git a/qt6/gen_qstylepainter.cpp b/qt6/gen_qstylepainter.cpp index 18bae40f..7c9c725e 100644 --- a/qt6/gen_qstylepainter.cpp +++ b/qt6/gen_qstylepainter.cpp @@ -14,10 +14,13 @@ #include #include "gen_qstylepainter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QStylePainter* QStylePainter_new(QWidget* w) { return new QStylePainter(w); diff --git a/qt6/gen_qstyleplugin.cpp b/qt6/gen_qstyleplugin.cpp index aa13c7c6..6d2f1c70 100644 --- a/qt6/gen_qstyleplugin.cpp +++ b/qt6/gen_qstyleplugin.cpp @@ -12,10 +12,21 @@ #include #include "gen_qstyleplugin.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QStyle* miqt_exec_callback_QStylePlugin_Create(void*, intptr_t, struct miqt_string); +bool miqt_exec_callback_QStylePlugin_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QStylePlugin_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QStylePlugin_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QStylePlugin_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QStylePlugin_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QStylePlugin_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QStylePlugin_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQStylePlugin : public virtual QStylePlugin { public: diff --git a/qt6/gen_qsurface.cpp b/qt6/gen_qsurface.cpp index ae706d33..d252664c 100644 --- a/qt6/gen_qsurface.cpp +++ b/qt6/gen_qsurface.cpp @@ -4,10 +4,13 @@ #include #include "gen_qsurface.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" int QSurface_SurfaceClass(const QSurface* self) { QSurface::SurfaceClass _ret = self->surfaceClass(); diff --git a/qt6/gen_qsurfaceformat.cpp b/qt6/gen_qsurfaceformat.cpp index 57be2a89..07b7de1a 100644 --- a/qt6/gen_qsurfaceformat.cpp +++ b/qt6/gen_qsurfaceformat.cpp @@ -4,10 +4,13 @@ #include #include "gen_qsurfaceformat.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSurfaceFormat* QSurfaceFormat_new() { return new QSurfaceFormat(); diff --git a/qt6/gen_qsyntaxhighlighter.cpp b/qt6/gen_qsyntaxhighlighter.cpp index 8a06f398..d089fd3f 100644 --- a/qt6/gen_qsyntaxhighlighter.cpp +++ b/qt6/gen_qsyntaxhighlighter.cpp @@ -13,10 +13,21 @@ #include #include "gen_qsyntaxhighlighter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSyntaxHighlighter_HighlightBlock(void*, intptr_t, struct miqt_string); +bool miqt_exec_callback_QSyntaxHighlighter_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QSyntaxHighlighter_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QSyntaxHighlighter_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QSyntaxHighlighter_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QSyntaxHighlighter_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSyntaxHighlighter_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QSyntaxHighlighter_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSyntaxHighlighter : public virtual QSyntaxHighlighter { public: diff --git a/qt6/gen_qsystemsemaphore.cpp b/qt6/gen_qsystemsemaphore.cpp index d0aa1cc3..ce851f60 100644 --- a/qt6/gen_qsystemsemaphore.cpp +++ b/qt6/gen_qsystemsemaphore.cpp @@ -5,10 +5,13 @@ #include #include "gen_qsystemsemaphore.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSystemSemaphore* QSystemSemaphore_new(struct miqt_string key) { QString key_QString = QString::fromUtf8(key.data, key.len); diff --git a/qt6/gen_qsystemtrayicon.cpp b/qt6/gen_qsystemtrayicon.cpp index 3fc7fbe1..f8684fa8 100644 --- a/qt6/gen_qsystemtrayicon.cpp +++ b/qt6/gen_qsystemtrayicon.cpp @@ -14,10 +14,22 @@ #include #include "gen_qsystemtrayicon.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSystemTrayIcon_Activated(intptr_t, int); +void miqt_exec_callback_QSystemTrayIcon_MessageClicked(intptr_t); +bool miqt_exec_callback_QSystemTrayIcon_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QSystemTrayIcon_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QSystemTrayIcon_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QSystemTrayIcon_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QSystemTrayIcon_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSystemTrayIcon_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QSystemTrayIcon_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSystemTrayIcon : public virtual QSystemTrayIcon { public: diff --git a/qt6/gen_qtabbar.cpp b/qt6/gen_qtabbar.cpp index fa2e43e5..4feaa9f0 100644 --- a/qt6/gen_qtabbar.cpp +++ b/qt6/gen_qtabbar.cpp @@ -40,10 +40,66 @@ #include #include "gen_qtabbar.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QTabBar_CurrentChanged(intptr_t, int); +void miqt_exec_callback_QTabBar_TabCloseRequested(intptr_t, int); +void miqt_exec_callback_QTabBar_TabMoved(intptr_t, int, int); +void miqt_exec_callback_QTabBar_TabBarClicked(intptr_t, int); +void miqt_exec_callback_QTabBar_TabBarDoubleClicked(intptr_t, int); +QSize* miqt_exec_callback_QTabBar_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QTabBar_MinimumSizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QTabBar_TabSizeHint(void*, intptr_t, int); +QSize* miqt_exec_callback_QTabBar_MinimumTabSizeHint(void*, intptr_t, int); +void miqt_exec_callback_QTabBar_TabInserted(void*, intptr_t, int); +void miqt_exec_callback_QTabBar_TabRemoved(void*, intptr_t, int); +void miqt_exec_callback_QTabBar_TabLayoutChange(void*, intptr_t); +bool miqt_exec_callback_QTabBar_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTabBar_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QTabBar_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QTabBar_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QTabBar_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QTabBar_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTabBar_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTabBar_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTabBar_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTabBar_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QTabBar_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QTabBar_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTabBar_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QTabBar_InitStyleOption(void*, intptr_t, QStyleOptionTab*, int); +int miqt_exec_callback_QTabBar_DevType(void*, intptr_t); +void miqt_exec_callback_QTabBar_SetVisible(void*, intptr_t, bool); +int miqt_exec_callback_QTabBar_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QTabBar_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QTabBar_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QTabBar_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QTabBar_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QTabBar_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QTabBar_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QTabBar_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTabBar_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QTabBar_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QTabBar_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QTabBar_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QTabBar_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QTabBar_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QTabBar_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QTabBar_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QTabBar_DropEvent(void*, intptr_t, QDropEvent*); +bool miqt_exec_callback_QTabBar_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +int miqt_exec_callback_QTabBar_Metric(void*, intptr_t, int); +void miqt_exec_callback_QTabBar_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QTabBar_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QTabBar_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QTabBar_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QTabBar_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QTabBar_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTabBar : public virtual QTabBar { public: diff --git a/qt6/gen_qtableview.cpp b/qt6/gen_qtableview.cpp index 0dfa119e..e1035365 100644 --- a/qt6/gen_qtableview.cpp +++ b/qt6/gen_qtableview.cpp @@ -37,10 +37,74 @@ #include #include "gen_qtableview.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QTableView_SetModel(void*, intptr_t, QAbstractItemModel*); +void miqt_exec_callback_QTableView_SetRootIndex(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTableView_SetSelectionModel(void*, intptr_t, QItemSelectionModel*); +void miqt_exec_callback_QTableView_DoItemsLayout(void*, intptr_t); +QRect* miqt_exec_callback_QTableView_VisualRect(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTableView_ScrollTo(void*, intptr_t, QModelIndex*, int); +QModelIndex* miqt_exec_callback_QTableView_IndexAt(void*, intptr_t, QPoint*); +void miqt_exec_callback_QTableView_ScrollContentsBy(void*, intptr_t, int, int); +void miqt_exec_callback_QTableView_InitViewItemOption(void*, intptr_t, QStyleOptionViewItem*); +void miqt_exec_callback_QTableView_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QTableView_TimerEvent(void*, intptr_t, QTimerEvent*); +int miqt_exec_callback_QTableView_HorizontalOffset(void*, intptr_t); +int miqt_exec_callback_QTableView_VerticalOffset(void*, intptr_t); +QModelIndex* miqt_exec_callback_QTableView_MoveCursor(void*, intptr_t, int, int); +void miqt_exec_callback_QTableView_SetSelection(void*, intptr_t, QRect*, int); +QRegion* miqt_exec_callback_QTableView_VisualRegionForSelection(void*, intptr_t, QItemSelection*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QTableView_SelectedIndexes(void*, intptr_t); +void miqt_exec_callback_QTableView_UpdateGeometries(void*, intptr_t); +QSize* miqt_exec_callback_QTableView_ViewportSizeHint(void*, intptr_t); +int miqt_exec_callback_QTableView_SizeHintForRow(void*, intptr_t, int); +int miqt_exec_callback_QTableView_SizeHintForColumn(void*, intptr_t, int); +void miqt_exec_callback_QTableView_VerticalScrollbarAction(void*, intptr_t, int); +void miqt_exec_callback_QTableView_HorizontalScrollbarAction(void*, intptr_t, int); +bool miqt_exec_callback_QTableView_IsIndexHidden(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTableView_SelectionChanged(void*, intptr_t, QItemSelection*, QItemSelection*); +void miqt_exec_callback_QTableView_CurrentChanged(void*, intptr_t, QModelIndex*, QModelIndex*); +void miqt_exec_callback_QTableView_KeyboardSearch(void*, intptr_t, struct miqt_string); +QAbstractItemDelegate* miqt_exec_callback_QTableView_ItemDelegateForIndex(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QTableView_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QTableView_Reset(void*, intptr_t); +void miqt_exec_callback_QTableView_SelectAll(void*, intptr_t); +void miqt_exec_callback_QTableView_DataChanged(void*, intptr_t, QModelIndex*, QModelIndex*, struct miqt_array /* of int */ ); +void miqt_exec_callback_QTableView_RowsInserted(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QTableView_RowsAboutToBeRemoved(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QTableView_UpdateEditorData(void*, intptr_t); +void miqt_exec_callback_QTableView_UpdateEditorGeometries(void*, intptr_t); +void miqt_exec_callback_QTableView_VerticalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QTableView_HorizontalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QTableView_CloseEditor(void*, intptr_t, QWidget*, int); +void miqt_exec_callback_QTableView_CommitData(void*, intptr_t, QWidget*); +void miqt_exec_callback_QTableView_EditorDestroyed(void*, intptr_t, QObject*); +bool miqt_exec_callback_QTableView_Edit2(void*, intptr_t, QModelIndex*, int, QEvent*); +int miqt_exec_callback_QTableView_SelectionCommand(void*, intptr_t, QModelIndex*, QEvent*); +void miqt_exec_callback_QTableView_StartDrag(void*, intptr_t, int); +bool miqt_exec_callback_QTableView_FocusNextPrevChild(void*, intptr_t, bool); +bool miqt_exec_callback_QTableView_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QTableView_ViewportEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTableView_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTableView_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTableView_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTableView_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTableView_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QTableView_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QTableView_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QTableView_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QTableView_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QTableView_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QTableView_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QTableView_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QTableView_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +bool miqt_exec_callback_QTableView_EventFilter(void*, intptr_t, QObject*, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTableView : public virtual QTableView { public: diff --git a/qt6/gen_qtablewidget.cpp b/qt6/gen_qtablewidget.cpp index fbc9facf..af2e4e37 100644 --- a/qt6/gen_qtablewidget.cpp +++ b/qt6/gen_qtablewidget.cpp @@ -34,10 +34,65 @@ #include #include "gen_qtablewidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QTableWidgetItem* miqt_exec_callback_QTableWidgetItem_Clone(void*, intptr_t); +QVariant* miqt_exec_callback_QTableWidgetItem_Data(void*, intptr_t, int); +void miqt_exec_callback_QTableWidgetItem_SetData(void*, intptr_t, int, QVariant*); +bool miqt_exec_callback_QTableWidgetItem_OperatorLesser(void*, intptr_t, QTableWidgetItem*); +void miqt_exec_callback_QTableWidgetItem_Read(void*, intptr_t, QDataStream*); +void miqt_exec_callback_QTableWidgetItem_Write(void*, intptr_t, QDataStream*); +void miqt_exec_callback_QTableWidget_ItemPressed(intptr_t, QTableWidgetItem*); +void miqt_exec_callback_QTableWidget_ItemClicked(intptr_t, QTableWidgetItem*); +void miqt_exec_callback_QTableWidget_ItemDoubleClicked(intptr_t, QTableWidgetItem*); +void miqt_exec_callback_QTableWidget_ItemActivated(intptr_t, QTableWidgetItem*); +void miqt_exec_callback_QTableWidget_ItemEntered(intptr_t, QTableWidgetItem*); +void miqt_exec_callback_QTableWidget_ItemChanged(intptr_t, QTableWidgetItem*); +void miqt_exec_callback_QTableWidget_CurrentItemChanged(intptr_t, QTableWidgetItem*, QTableWidgetItem*); +void miqt_exec_callback_QTableWidget_ItemSelectionChanged(intptr_t); +void miqt_exec_callback_QTableWidget_CellPressed(intptr_t, int, int); +void miqt_exec_callback_QTableWidget_CellClicked(intptr_t, int, int); +void miqt_exec_callback_QTableWidget_CellDoubleClicked(intptr_t, int, int); +void miqt_exec_callback_QTableWidget_CellActivated(intptr_t, int, int); +void miqt_exec_callback_QTableWidget_CellEntered(intptr_t, int, int); +void miqt_exec_callback_QTableWidget_CellChanged(intptr_t, int, int); +void miqt_exec_callback_QTableWidget_CurrentCellChanged(intptr_t, int, int, int, int); +bool miqt_exec_callback_QTableWidget_Event(void*, intptr_t, QEvent*); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QTableWidget_MimeTypes(void*, intptr_t); +QMimeData* miqt_exec_callback_QTableWidget_MimeData(void*, intptr_t, struct miqt_array /* of QTableWidgetItem* */ ); +bool miqt_exec_callback_QTableWidget_DropMimeData(void*, intptr_t, int, int, QMimeData*, int); +int miqt_exec_callback_QTableWidget_SupportedDropActions(void*, intptr_t); +void miqt_exec_callback_QTableWidget_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QTableWidget_SetRootIndex(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTableWidget_SetSelectionModel(void*, intptr_t, QItemSelectionModel*); +void miqt_exec_callback_QTableWidget_DoItemsLayout(void*, intptr_t); +QRect* miqt_exec_callback_QTableWidget_VisualRect(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTableWidget_ScrollTo(void*, intptr_t, QModelIndex*, int); +QModelIndex* miqt_exec_callback_QTableWidget_IndexAt(void*, intptr_t, QPoint*); +void miqt_exec_callback_QTableWidget_ScrollContentsBy(void*, intptr_t, int, int); +void miqt_exec_callback_QTableWidget_InitViewItemOption(void*, intptr_t, QStyleOptionViewItem*); +void miqt_exec_callback_QTableWidget_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QTableWidget_TimerEvent(void*, intptr_t, QTimerEvent*); +int miqt_exec_callback_QTableWidget_HorizontalOffset(void*, intptr_t); +int miqt_exec_callback_QTableWidget_VerticalOffset(void*, intptr_t); +QModelIndex* miqt_exec_callback_QTableWidget_MoveCursor(void*, intptr_t, int, int); +void miqt_exec_callback_QTableWidget_SetSelection(void*, intptr_t, QRect*, int); +QRegion* miqt_exec_callback_QTableWidget_VisualRegionForSelection(void*, intptr_t, QItemSelection*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QTableWidget_SelectedIndexes(void*, intptr_t); +void miqt_exec_callback_QTableWidget_UpdateGeometries(void*, intptr_t); +QSize* miqt_exec_callback_QTableWidget_ViewportSizeHint(void*, intptr_t); +int miqt_exec_callback_QTableWidget_SizeHintForRow(void*, intptr_t, int); +int miqt_exec_callback_QTableWidget_SizeHintForColumn(void*, intptr_t, int); +void miqt_exec_callback_QTableWidget_VerticalScrollbarAction(void*, intptr_t, int); +void miqt_exec_callback_QTableWidget_HorizontalScrollbarAction(void*, intptr_t, int); +bool miqt_exec_callback_QTableWidget_IsIndexHidden(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTableWidget_SelectionChanged(void*, intptr_t, QItemSelection*, QItemSelection*); +void miqt_exec_callback_QTableWidget_CurrentChanged(void*, intptr_t, QModelIndex*, QModelIndex*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTableWidgetSelectionRange* QTableWidgetSelectionRange_new() { return new QTableWidgetSelectionRange(); diff --git a/qt6/gen_qtabwidget.cpp b/qt6/gen_qtabwidget.cpp index 1c20d148..4f398187 100644 --- a/qt6/gen_qtabwidget.cpp +++ b/qt6/gen_qtabwidget.cpp @@ -38,10 +38,61 @@ #include #include "gen_qtabwidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QTabWidget_CurrentChanged(intptr_t, int); +void miqt_exec_callback_QTabWidget_TabCloseRequested(intptr_t, int); +void miqt_exec_callback_QTabWidget_TabBarClicked(intptr_t, int); +void miqt_exec_callback_QTabWidget_TabBarDoubleClicked(intptr_t, int); +QSize* miqt_exec_callback_QTabWidget_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QTabWidget_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QTabWidget_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QTabWidget_HasHeightForWidth(void*, intptr_t); +void miqt_exec_callback_QTabWidget_TabInserted(void*, intptr_t, int); +void miqt_exec_callback_QTabWidget_TabRemoved(void*, intptr_t, int); +void miqt_exec_callback_QTabWidget_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QTabWidget_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QTabWidget_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QTabWidget_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QTabWidget_ChangeEvent(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QTabWidget_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTabWidget_InitStyleOption(void*, intptr_t, QStyleOptionTabWidgetFrame*); +int miqt_exec_callback_QTabWidget_DevType(void*, intptr_t); +void miqt_exec_callback_QTabWidget_SetVisible(void*, intptr_t, bool); +QPaintEngine* miqt_exec_callback_QTabWidget_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QTabWidget_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTabWidget_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTabWidget_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTabWidget_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTabWidget_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QTabWidget_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QTabWidget_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QTabWidget_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QTabWidget_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QTabWidget_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTabWidget_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QTabWidget_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QTabWidget_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QTabWidget_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QTabWidget_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QTabWidget_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QTabWidget_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QTabWidget_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QTabWidget_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QTabWidget_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QTabWidget_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +int miqt_exec_callback_QTabWidget_Metric(void*, intptr_t, int); +void miqt_exec_callback_QTabWidget_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QTabWidget_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QTabWidget_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QTabWidget_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QTabWidget_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QTabWidget_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTabWidget : public virtual QTabWidget { public: diff --git a/qt6/gen_qtemporarydir.cpp b/qt6/gen_qtemporarydir.cpp index a1e3e17a..fcd9425c 100644 --- a/qt6/gen_qtemporarydir.cpp +++ b/qt6/gen_qtemporarydir.cpp @@ -5,10 +5,13 @@ #include #include "gen_qtemporarydir.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTemporaryDir* QTemporaryDir_new() { return new QTemporaryDir(); diff --git a/qt6/gen_qtemporaryfile.cpp b/qt6/gen_qtemporaryfile.cpp index 81ab3106..fb19ce5c 100644 --- a/qt6/gen_qtemporaryfile.cpp +++ b/qt6/gen_qtemporaryfile.cpp @@ -11,10 +11,19 @@ #include #include "gen_qtemporaryfile.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +struct miqt_string miqt_exec_callback_QTemporaryFile_FileName(void*, intptr_t); +bool miqt_exec_callback_QTemporaryFile_OpenWithFlags(void*, intptr_t, int); +long long miqt_exec_callback_QTemporaryFile_Size(void*, intptr_t); +bool miqt_exec_callback_QTemporaryFile_Resize(void*, intptr_t, long long); +int miqt_exec_callback_QTemporaryFile_Permissions(void*, intptr_t); +bool miqt_exec_callback_QTemporaryFile_SetPermissions(void*, intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTemporaryFile : public virtual QTemporaryFile { public: diff --git a/qt6/gen_qtestsupport_gui.cpp b/qt6/gen_qtestsupport_gui.cpp index c50dfb58..2df6920e 100644 --- a/qt6/gen_qtestsupport_gui.cpp +++ b/qt6/gen_qtestsupport_gui.cpp @@ -4,10 +4,13 @@ #include #include "gen_qtestsupport_gui.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTest__QTouchEventSequence* QTest__QTouchEventSequence_Press(QTest__QTouchEventSequence* self, int touchId, QPoint* pt) { QTest::QTouchEventSequence& _ret = self->press(static_cast(touchId), *pt); diff --git a/qt6/gen_qtestsupport_widgets.cpp b/qt6/gen_qtestsupport_widgets.cpp index cfd3da8c..f1816430 100644 --- a/qt6/gen_qtestsupport_widgets.cpp +++ b/qt6/gen_qtestsupport_widgets.cpp @@ -5,10 +5,15 @@ #include #include "gen_qtestsupport_widgets.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QTest__QTouchEventWidgetSequence* miqt_exec_callback_QTest__QTouchEventWidgetSequence_Stationary(void*, intptr_t, int); +bool miqt_exec_callback_QTest__QTouchEventWidgetSequence_Commit(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTestQTouchEventWidgetSequence : public virtual QTest::QTouchEventWidgetSequence { public: diff --git a/qt6/gen_qtextboundaryfinder.cpp b/qt6/gen_qtextboundaryfinder.cpp index 823f814f..22b27fbc 100644 --- a/qt6/gen_qtextboundaryfinder.cpp +++ b/qt6/gen_qtextboundaryfinder.cpp @@ -6,10 +6,13 @@ #include #include "gen_qtextboundaryfinder.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTextBoundaryFinder* QTextBoundaryFinder_new() { return new QTextBoundaryFinder(); diff --git a/qt6/gen_qtextbrowser.cpp b/qt6/gen_qtextbrowser.cpp index cb3f3a07..bf7ae67b 100644 --- a/qt6/gen_qtextbrowser.cpp +++ b/qt6/gen_qtextbrowser.cpp @@ -32,10 +32,53 @@ #include #include "gen_qtextbrowser.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QTextBrowser_BackwardAvailable(intptr_t, bool); +void miqt_exec_callback_QTextBrowser_ForwardAvailable(intptr_t, bool); +void miqt_exec_callback_QTextBrowser_HistoryChanged(intptr_t); +void miqt_exec_callback_QTextBrowser_SourceChanged(intptr_t, QUrl*); +void miqt_exec_callback_QTextBrowser_Highlighted(intptr_t, QUrl*); +void miqt_exec_callback_QTextBrowser_AnchorClicked(intptr_t, QUrl*); +QVariant* miqt_exec_callback_QTextBrowser_LoadResource(void*, intptr_t, int, QUrl*); +void miqt_exec_callback_QTextBrowser_Backward(void*, intptr_t); +void miqt_exec_callback_QTextBrowser_Forward(void*, intptr_t); +void miqt_exec_callback_QTextBrowser_Home(void*, intptr_t); +void miqt_exec_callback_QTextBrowser_Reload(void*, intptr_t); +bool miqt_exec_callback_QTextBrowser_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTextBrowser_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QTextBrowser_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTextBrowser_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTextBrowser_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTextBrowser_FocusOutEvent(void*, intptr_t, QFocusEvent*); +bool miqt_exec_callback_QTextBrowser_FocusNextPrevChild(void*, intptr_t, bool); +void miqt_exec_callback_QTextBrowser_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QTextBrowser_DoSetSource(void*, intptr_t, QUrl*, int); +QVariant* miqt_exec_callback_QTextBrowser_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QTextBrowser_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QTextBrowser_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QTextBrowser_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QTextBrowser_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTextBrowser_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QTextBrowser_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QTextBrowser_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QTextBrowser_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QTextBrowser_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QTextBrowser_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QTextBrowser_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QTextBrowser_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTextBrowser_WheelEvent(void*, intptr_t, QWheelEvent*); +QMimeData* miqt_exec_callback_QTextBrowser_CreateMimeDataFromSelection(void*, intptr_t); +bool miqt_exec_callback_QTextBrowser_CanInsertFromMimeData(void*, intptr_t, QMimeData*); +void miqt_exec_callback_QTextBrowser_InsertFromMimeData(void*, intptr_t, QMimeData*); +void miqt_exec_callback_QTextBrowser_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +void miqt_exec_callback_QTextBrowser_ScrollContentsBy(void*, intptr_t, int, int); +void miqt_exec_callback_QTextBrowser_DoSetTextCursor(void*, intptr_t, QTextCursor*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTextBrowser : public virtual QTextBrowser { public: diff --git a/qt6/gen_qtextcursor.cpp b/qt6/gen_qtextcursor.cpp index f750f18b..42ba2fe2 100644 --- a/qt6/gen_qtextcursor.cpp +++ b/qt6/gen_qtextcursor.cpp @@ -18,10 +18,13 @@ #include #include "gen_qtextcursor.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTextCursor* QTextCursor_new() { return new QTextCursor(); diff --git a/qt6/gen_qtextdocument.cpp b/qt6/gen_qtextdocument.cpp index 426526ea..2d2b9030 100644 --- a/qt6/gen_qtextdocument.cpp +++ b/qt6/gen_qtextdocument.cpp @@ -29,10 +29,33 @@ #include #include "gen_qtextdocument.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QTextDocument_ContentsChange(intptr_t, int, int, int); +void miqt_exec_callback_QTextDocument_ContentsChanged(intptr_t); +void miqt_exec_callback_QTextDocument_UndoAvailable(intptr_t, bool); +void miqt_exec_callback_QTextDocument_RedoAvailable(intptr_t, bool); +void miqt_exec_callback_QTextDocument_UndoCommandAdded(intptr_t); +void miqt_exec_callback_QTextDocument_ModificationChanged(intptr_t, bool); +void miqt_exec_callback_QTextDocument_CursorPositionChanged(intptr_t, QTextCursor*); +void miqt_exec_callback_QTextDocument_BlockCountChanged(intptr_t, int); +void miqt_exec_callback_QTextDocument_BaseUrlChanged(intptr_t, QUrl*); +void miqt_exec_callback_QTextDocument_DocumentLayoutChanged(intptr_t); +void miqt_exec_callback_QTextDocument_Clear(void*, intptr_t); +QTextObject* miqt_exec_callback_QTextDocument_CreateObject(void*, intptr_t, QTextFormat*); +QVariant* miqt_exec_callback_QTextDocument_LoadResource(void*, intptr_t, int, QUrl*); +bool miqt_exec_callback_QTextDocument_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QTextDocument_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QTextDocument_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QTextDocument_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QTextDocument_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTextDocument_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QTextDocument_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QAbstractUndoItem_Undo(QAbstractUndoItem* self) { self->undo(); diff --git a/qt6/gen_qtextdocumentfragment.cpp b/qt6/gen_qtextdocumentfragment.cpp index f0841ce6..d633a687 100644 --- a/qt6/gen_qtextdocumentfragment.cpp +++ b/qt6/gen_qtextdocumentfragment.cpp @@ -7,10 +7,13 @@ #include #include "gen_qtextdocumentfragment.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTextDocumentFragment* QTextDocumentFragment_new() { return new QTextDocumentFragment(); diff --git a/qt6/gen_qtextdocumentwriter.cpp b/qt6/gen_qtextdocumentwriter.cpp index 1cddc9f3..f8398d1b 100644 --- a/qt6/gen_qtextdocumentwriter.cpp +++ b/qt6/gen_qtextdocumentwriter.cpp @@ -10,10 +10,13 @@ #include #include "gen_qtextdocumentwriter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTextDocumentWriter* QTextDocumentWriter_new() { return new QTextDocumentWriter(); diff --git a/qt6/gen_qtextedit.cpp b/qt6/gen_qtextedit.cpp index 78d369d9..357a05f5 100644 --- a/qt6/gen_qtextedit.cpp +++ b/qt6/gen_qtextedit.cpp @@ -42,10 +42,55 @@ #include #include "gen_qtextedit.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QTextEdit_TextChanged(intptr_t); +void miqt_exec_callback_QTextEdit_UndoAvailable(intptr_t, bool); +void miqt_exec_callback_QTextEdit_RedoAvailable(intptr_t, bool); +void miqt_exec_callback_QTextEdit_CurrentCharFormatChanged(intptr_t, QTextCharFormat*); +void miqt_exec_callback_QTextEdit_CopyAvailable(intptr_t, bool); +void miqt_exec_callback_QTextEdit_SelectionChanged(intptr_t); +void miqt_exec_callback_QTextEdit_CursorPositionChanged(intptr_t); +QVariant* miqt_exec_callback_QTextEdit_LoadResource(void*, intptr_t, int, QUrl*); +QVariant* miqt_exec_callback_QTextEdit_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QTextEdit_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTextEdit_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QTextEdit_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QTextEdit_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QTextEdit_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QTextEdit_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QTextEdit_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTextEdit_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTextEdit_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTextEdit_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +bool miqt_exec_callback_QTextEdit_FocusNextPrevChild(void*, intptr_t, bool); +void miqt_exec_callback_QTextEdit_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QTextEdit_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QTextEdit_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QTextEdit_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QTextEdit_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QTextEdit_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QTextEdit_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QTextEdit_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QTextEdit_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTextEdit_WheelEvent(void*, intptr_t, QWheelEvent*); +QMimeData* miqt_exec_callback_QTextEdit_CreateMimeDataFromSelection(void*, intptr_t); +bool miqt_exec_callback_QTextEdit_CanInsertFromMimeData(void*, intptr_t, QMimeData*); +void miqt_exec_callback_QTextEdit_InsertFromMimeData(void*, intptr_t, QMimeData*); +void miqt_exec_callback_QTextEdit_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +void miqt_exec_callback_QTextEdit_ScrollContentsBy(void*, intptr_t, int, int); +void miqt_exec_callback_QTextEdit_DoSetTextCursor(void*, intptr_t, QTextCursor*); +QSize* miqt_exec_callback_QTextEdit_MinimumSizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QTextEdit_SizeHint(void*, intptr_t); +void miqt_exec_callback_QTextEdit_SetupViewport(void*, intptr_t, QWidget*); +bool miqt_exec_callback_QTextEdit_EventFilter(void*, intptr_t, QObject*, QEvent*); +bool miqt_exec_callback_QTextEdit_ViewportEvent(void*, intptr_t, QEvent*); +QSize* miqt_exec_callback_QTextEdit_ViewportSizeHint(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTextEdit : public virtual QTextEdit { public: diff --git a/qt6/gen_qtextformat.cpp b/qt6/gen_qtextformat.cpp index c15d4e2f..5f02376a 100644 --- a/qt6/gen_qtextformat.cpp +++ b/qt6/gen_qtextformat.cpp @@ -21,10 +21,13 @@ #include #include "gen_qtextformat.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTextLength* QTextLength_new() { return new QTextLength(); diff --git a/qt6/gen_qtextlayout.cpp b/qt6/gen_qtextlayout.cpp index 878e0776..a2066ccb 100644 --- a/qt6/gen_qtextlayout.cpp +++ b/qt6/gen_qtextlayout.cpp @@ -19,10 +19,13 @@ #include #include "gen_qtextlayout.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTextInlineObject* QTextInlineObject_new() { return new QTextInlineObject(); diff --git a/qt6/gen_qtextlist.cpp b/qt6/gen_qtextlist.cpp index f54d1803..2f35b375 100644 --- a/qt6/gen_qtextlist.cpp +++ b/qt6/gen_qtextlist.cpp @@ -12,10 +12,16 @@ #include #include "gen_qtextlist.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QTextList_BlockInserted(void*, intptr_t, QTextBlock*); +void miqt_exec_callback_QTextList_BlockRemoved(void*, intptr_t, QTextBlock*); +void miqt_exec_callback_QTextList_BlockFormatChanged(void*, intptr_t, QTextBlock*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTextList : public virtual QTextList { public: diff --git a/qt6/gen_qtextobject.cpp b/qt6/gen_qtextobject.cpp index 28bea16c..c8207e90 100644 --- a/qt6/gen_qtextobject.cpp +++ b/qt6/gen_qtextobject.cpp @@ -26,10 +26,13 @@ #include #include "gen_qtextobject.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QTextObject_virtbase(QTextObject* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt6/gen_qtextoption.cpp b/qt6/gen_qtextoption.cpp index cb0b36c8..8590dccd 100644 --- a/qt6/gen_qtextoption.cpp +++ b/qt6/gen_qtextoption.cpp @@ -5,10 +5,13 @@ #include #include "gen_qtextoption.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTextOption* QTextOption_new() { return new QTextOption(); diff --git a/qt6/gen_qtextstream.cpp b/qt6/gen_qtextstream.cpp index 81d05ff8..2391366e 100644 --- a/qt6/gen_qtextstream.cpp +++ b/qt6/gen_qtextstream.cpp @@ -10,10 +10,13 @@ #include #include "gen_qtextstream.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTextStream* QTextStream_new() { return new QTextStream(); diff --git a/qt6/gen_qtexttable.cpp b/qt6/gen_qtexttable.cpp index b624a708..6a7dd2fc 100644 --- a/qt6/gen_qtexttable.cpp +++ b/qt6/gen_qtexttable.cpp @@ -15,10 +15,13 @@ #include #include "gen_qtexttable.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTextTableCell* QTextTableCell_new() { return new QTextTableCell(); diff --git a/qt6/gen_qthread.cpp b/qt6/gen_qthread.cpp index 37978ba0..97ab0f2c 100644 --- a/qt6/gen_qthread.cpp +++ b/qt6/gen_qthread.cpp @@ -13,10 +13,21 @@ #include #include "gen_qthread.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QThread_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QThread_Run(void*, intptr_t); +bool miqt_exec_callback_QThread_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QThread_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QThread_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QThread_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QThread_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QThread_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQThread : public virtual QThread { public: diff --git a/qt6/gen_qthreadpool.cpp b/qt6/gen_qthreadpool.cpp index 85a4db62..abad3d40 100644 --- a/qt6/gen_qthreadpool.cpp +++ b/qt6/gen_qthreadpool.cpp @@ -13,10 +13,20 @@ #include #include "gen_qthreadpool.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QThreadPool_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QThreadPool_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QThreadPool_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QThreadPool_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QThreadPool_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QThreadPool_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QThreadPool_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQThreadPool : public virtual QThreadPool { public: diff --git a/qt6/gen_qthreadstorage.cpp b/qt6/gen_qthreadstorage.cpp index 6833d3c2..33d079b9 100644 --- a/qt6/gen_qthreadstorage.cpp +++ b/qt6/gen_qthreadstorage.cpp @@ -2,10 +2,13 @@ #include #include "gen_qthreadstorage.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QThreadStorageData* QThreadStorageData_new(QThreadStorageData* param1) { return new QThreadStorageData(*param1); diff --git a/qt6/gen_qtimeline.cpp b/qt6/gen_qtimeline.cpp index 94450f8e..8e6e3523 100644 --- a/qt6/gen_qtimeline.cpp +++ b/qt6/gen_qtimeline.cpp @@ -12,10 +12,21 @@ #include #include "gen_qtimeline.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +double miqt_exec_callback_QTimeLine_ValueForTime(void*, intptr_t, int); +void miqt_exec_callback_QTimeLine_TimerEvent(void*, intptr_t, QTimerEvent*); +bool miqt_exec_callback_QTimeLine_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QTimeLine_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QTimeLine_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QTimeLine_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTimeLine_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QTimeLine_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTimeLine : public virtual QTimeLine { public: diff --git a/qt6/gen_qtimer.cpp b/qt6/gen_qtimer.cpp index 458939cb..1ce7d198 100644 --- a/qt6/gen_qtimer.cpp +++ b/qt6/gen_qtimer.cpp @@ -11,10 +11,20 @@ #include #include "gen_qtimer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QTimer_TimerEvent(void*, intptr_t, QTimerEvent*); +bool miqt_exec_callback_QTimer_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QTimer_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QTimer_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QTimer_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTimer_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QTimer_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTimer : public virtual QTimer { public: diff --git a/qt6/gen_qtimezone.cpp b/qt6/gen_qtimezone.cpp index 9f29f7da..80a157fa 100644 --- a/qt6/gen_qtimezone.cpp +++ b/qt6/gen_qtimezone.cpp @@ -10,10 +10,13 @@ #include #include "gen_qtimezone.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTimeZone* QTimeZone_new() { return new QTimeZone(); diff --git a/qt6/gen_qtoolbar.cpp b/qt6/gen_qtoolbar.cpp index 4fa81172..6424d630 100644 --- a/qt6/gen_qtoolbar.cpp +++ b/qt6/gen_qtoolbar.cpp @@ -38,10 +38,63 @@ #include #include "gen_qtoolbar.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QToolBar_ActionTriggered(intptr_t, QAction*); +void miqt_exec_callback_QToolBar_MovableChanged(intptr_t, bool); +void miqt_exec_callback_QToolBar_AllowedAreasChanged(intptr_t, int); +void miqt_exec_callback_QToolBar_OrientationChanged(intptr_t, int); +void miqt_exec_callback_QToolBar_IconSizeChanged(intptr_t, QSize*); +void miqt_exec_callback_QToolBar_ToolButtonStyleChanged(intptr_t, int); +void miqt_exec_callback_QToolBar_TopLevelChanged(intptr_t, bool); +void miqt_exec_callback_QToolBar_VisibilityChanged(intptr_t, bool); +void miqt_exec_callback_QToolBar_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QToolBar_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QToolBar_PaintEvent(void*, intptr_t, QPaintEvent*); +bool miqt_exec_callback_QToolBar_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QToolBar_InitStyleOption(void*, intptr_t, QStyleOptionToolBar*); +int miqt_exec_callback_QToolBar_DevType(void*, intptr_t); +void miqt_exec_callback_QToolBar_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QToolBar_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QToolBar_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QToolBar_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QToolBar_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QToolBar_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QToolBar_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QToolBar_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QToolBar_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QToolBar_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QToolBar_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QToolBar_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QToolBar_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QToolBar_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QToolBar_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QToolBar_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QToolBar_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QToolBar_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QToolBar_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QToolBar_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QToolBar_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QToolBar_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QToolBar_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QToolBar_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QToolBar_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QToolBar_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QToolBar_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QToolBar_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QToolBar_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +int miqt_exec_callback_QToolBar_Metric(void*, intptr_t, int); +void miqt_exec_callback_QToolBar_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QToolBar_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QToolBar_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QToolBar_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QToolBar_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QToolBar_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQToolBar : public virtual QToolBar { public: diff --git a/qt6/gen_qtoolbox.cpp b/qt6/gen_qtoolbox.cpp index aafa7650..71f42792 100644 --- a/qt6/gen_qtoolbox.cpp +++ b/qt6/gen_qtoolbox.cpp @@ -16,10 +16,22 @@ #include #include "gen_qtoolbox.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QToolBox_CurrentChanged(intptr_t, int); +bool miqt_exec_callback_QToolBox_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QToolBox_ItemInserted(void*, intptr_t, int); +void miqt_exec_callback_QToolBox_ItemRemoved(void*, intptr_t, int); +void miqt_exec_callback_QToolBox_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QToolBox_ChangeEvent(void*, intptr_t, QEvent*); +QSize* miqt_exec_callback_QToolBox_SizeHint(void*, intptr_t); +void miqt_exec_callback_QToolBox_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QToolBox_InitStyleOption(void*, intptr_t, QStyleOptionFrame*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQToolBox : public virtual QToolBox { public: diff --git a/qt6/gen_qtoolbutton.cpp b/qt6/gen_qtoolbutton.cpp index d1aa204c..3af46513 100644 --- a/qt6/gen_qtoolbutton.cpp +++ b/qt6/gen_qtoolbutton.cpp @@ -23,10 +23,34 @@ #include #include "gen_qtoolbutton.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QToolButton_Triggered(intptr_t, QAction*); +QSize* miqt_exec_callback_QToolButton_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QToolButton_MinimumSizeHint(void*, intptr_t); +bool miqt_exec_callback_QToolButton_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QToolButton_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QToolButton_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QToolButton_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QToolButton_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QToolButton_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QToolButton_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QToolButton_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QToolButton_ChangeEvent(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QToolButton_HitButton(void*, intptr_t, QPoint*); +void miqt_exec_callback_QToolButton_CheckStateSet(void*, intptr_t); +void miqt_exec_callback_QToolButton_NextCheckState(void*, intptr_t); +void miqt_exec_callback_QToolButton_InitStyleOption(void*, intptr_t, QStyleOptionToolButton*); +void miqt_exec_callback_QToolButton_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QToolButton_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QToolButton_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QToolButton_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QToolButton_FocusOutEvent(void*, intptr_t, QFocusEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQToolButton : public virtual QToolButton { public: diff --git a/qt6/gen_qtooltip.cpp b/qt6/gen_qtooltip.cpp index 2c36e93b..5c6d72f9 100644 --- a/qt6/gen_qtooltip.cpp +++ b/qt6/gen_qtooltip.cpp @@ -10,10 +10,13 @@ #include #include "gen_qtooltip.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QToolTip_ShowText(QPoint* pos, struct miqt_string text) { QString text_QString = QString::fromUtf8(text.data, text.len); diff --git a/qt6/gen_qtransform.cpp b/qt6/gen_qtransform.cpp index 7a65db4d..63dfd862 100644 --- a/qt6/gen_qtransform.cpp +++ b/qt6/gen_qtransform.cpp @@ -11,10 +11,13 @@ #include #include "gen_qtransform.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTransform* QTransform_new(int param1) { return new QTransform(static_cast(param1)); diff --git a/qt6/gen_qtranslator.cpp b/qt6/gen_qtranslator.cpp index ae99e72b..e2d48df4 100644 --- a/qt6/gen_qtranslator.cpp +++ b/qt6/gen_qtranslator.cpp @@ -12,10 +12,22 @@ #include #include "gen_qtranslator.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +struct miqt_string miqt_exec_callback_QTranslator_Translate(void*, intptr_t, const char*, const char*, const char*, int); +bool miqt_exec_callback_QTranslator_IsEmpty(void*, intptr_t); +bool miqt_exec_callback_QTranslator_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QTranslator_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QTranslator_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QTranslator_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QTranslator_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTranslator_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QTranslator_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTranslator : public virtual QTranslator { public: diff --git a/qt6/gen_qtransposeproxymodel.cpp b/qt6/gen_qtransposeproxymodel.cpp index d562012c..31a96bdf 100644 --- a/qt6/gen_qtransposeproxymodel.cpp +++ b/qt6/gen_qtransposeproxymodel.cpp @@ -17,10 +17,52 @@ #include #include "gen_qtransposeproxymodel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QTransposeProxyModel_SetSourceModel(void*, intptr_t, QAbstractItemModel*); +int miqt_exec_callback_QTransposeProxyModel_RowCount(void*, intptr_t, QModelIndex*); +int miqt_exec_callback_QTransposeProxyModel_ColumnCount(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QTransposeProxyModel_HeaderData(void*, intptr_t, int, int, int); +bool miqt_exec_callback_QTransposeProxyModel_SetHeaderData(void*, intptr_t, int, int, QVariant*, int); +bool miqt_exec_callback_QTransposeProxyModel_SetItemData(void*, intptr_t, QModelIndex*, struct miqt_map /* of int to QVariant* */ ); +QSize* miqt_exec_callback_QTransposeProxyModel_Span(void*, intptr_t, QModelIndex*); +struct miqt_map /* of int to QVariant* */ miqt_exec_callback_QTransposeProxyModel_ItemData(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QTransposeProxyModel_MapFromSource(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QTransposeProxyModel_MapToSource(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QTransposeProxyModel_Parent(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QTransposeProxyModel_Index(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QTransposeProxyModel_InsertRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QTransposeProxyModel_RemoveRows(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QTransposeProxyModel_MoveRows(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +bool miqt_exec_callback_QTransposeProxyModel_InsertColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QTransposeProxyModel_RemoveColumns(void*, intptr_t, int, int, QModelIndex*); +bool miqt_exec_callback_QTransposeProxyModel_MoveColumns(void*, intptr_t, QModelIndex*, int, int, QModelIndex*, int); +void miqt_exec_callback_QTransposeProxyModel_Sort(void*, intptr_t, int, int); +QItemSelection* miqt_exec_callback_QTransposeProxyModel_MapSelectionToSource(void*, intptr_t, QItemSelection*); +QItemSelection* miqt_exec_callback_QTransposeProxyModel_MapSelectionFromSource(void*, intptr_t, QItemSelection*); +bool miqt_exec_callback_QTransposeProxyModel_Submit(void*, intptr_t); +void miqt_exec_callback_QTransposeProxyModel_Revert(void*, intptr_t); +QVariant* miqt_exec_callback_QTransposeProxyModel_Data(void*, intptr_t, QModelIndex*, int); +int miqt_exec_callback_QTransposeProxyModel_Flags(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QTransposeProxyModel_SetData(void*, intptr_t, QModelIndex*, QVariant*, int); +bool miqt_exec_callback_QTransposeProxyModel_ClearItemData(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QTransposeProxyModel_Buddy(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QTransposeProxyModel_CanFetchMore(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTransposeProxyModel_FetchMore(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QTransposeProxyModel_HasChildren(void*, intptr_t, QModelIndex*); +QModelIndex* miqt_exec_callback_QTransposeProxyModel_Sibling(void*, intptr_t, int, int, QModelIndex*); +QMimeData* miqt_exec_callback_QTransposeProxyModel_MimeData(void*, intptr_t, struct miqt_array /* of QModelIndex* */ ); +bool miqt_exec_callback_QTransposeProxyModel_CanDropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +bool miqt_exec_callback_QTransposeProxyModel_DropMimeData(void*, intptr_t, QMimeData*, int, int, int, QModelIndex*); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QTransposeProxyModel_MimeTypes(void*, intptr_t); +int miqt_exec_callback_QTransposeProxyModel_SupportedDragActions(void*, intptr_t); +int miqt_exec_callback_QTransposeProxyModel_SupportedDropActions(void*, intptr_t); +struct miqt_map /* of int to struct miqt_string */ miqt_exec_callback_QTransposeProxyModel_RoleNames(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTransposeProxyModel : public virtual QTransposeProxyModel { public: diff --git a/qt6/gen_qtreeview.cpp b/qt6/gen_qtreeview.cpp index 2e48cea3..529e6cb9 100644 --- a/qt6/gen_qtreeview.cpp +++ b/qt6/gen_qtreeview.cpp @@ -38,10 +38,79 @@ #include #include "gen_qtreeview.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QTreeView_Expanded(intptr_t, QModelIndex*); +void miqt_exec_callback_QTreeView_Collapsed(intptr_t, QModelIndex*); +void miqt_exec_callback_QTreeView_SetModel(void*, intptr_t, QAbstractItemModel*); +void miqt_exec_callback_QTreeView_SetRootIndex(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTreeView_SetSelectionModel(void*, intptr_t, QItemSelectionModel*); +void miqt_exec_callback_QTreeView_KeyboardSearch(void*, intptr_t, struct miqt_string); +QRect* miqt_exec_callback_QTreeView_VisualRect(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTreeView_ScrollTo(void*, intptr_t, QModelIndex*, int); +QModelIndex* miqt_exec_callback_QTreeView_IndexAt(void*, intptr_t, QPoint*); +void miqt_exec_callback_QTreeView_DoItemsLayout(void*, intptr_t); +void miqt_exec_callback_QTreeView_Reset(void*, intptr_t); +void miqt_exec_callback_QTreeView_DataChanged(void*, intptr_t, QModelIndex*, QModelIndex*, struct miqt_array /* of int */ ); +void miqt_exec_callback_QTreeView_SelectAll(void*, intptr_t); +void miqt_exec_callback_QTreeView_VerticalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QTreeView_ScrollContentsBy(void*, intptr_t, int, int); +void miqt_exec_callback_QTreeView_RowsInserted(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QTreeView_RowsAboutToBeRemoved(void*, intptr_t, QModelIndex*, int, int); +QModelIndex* miqt_exec_callback_QTreeView_MoveCursor(void*, intptr_t, int, int); +int miqt_exec_callback_QTreeView_HorizontalOffset(void*, intptr_t); +int miqt_exec_callback_QTreeView_VerticalOffset(void*, intptr_t); +void miqt_exec_callback_QTreeView_SetSelection(void*, intptr_t, QRect*, int); +QRegion* miqt_exec_callback_QTreeView_VisualRegionForSelection(void*, intptr_t, QItemSelection*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QTreeView_SelectedIndexes(void*, intptr_t); +void miqt_exec_callback_QTreeView_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTreeView_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QTreeView_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QTreeView_DrawRow(void*, intptr_t, QPainter*, QStyleOptionViewItem*, QModelIndex*); +void miqt_exec_callback_QTreeView_DrawBranches(void*, intptr_t, QPainter*, QRect*, QModelIndex*); +void miqt_exec_callback_QTreeView_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTreeView_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTreeView_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTreeView_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTreeView_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QTreeView_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +bool miqt_exec_callback_QTreeView_ViewportEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTreeView_UpdateGeometries(void*, intptr_t); +QSize* miqt_exec_callback_QTreeView_ViewportSizeHint(void*, intptr_t); +int miqt_exec_callback_QTreeView_SizeHintForColumn(void*, intptr_t, int); +void miqt_exec_callback_QTreeView_HorizontalScrollbarAction(void*, intptr_t, int); +bool miqt_exec_callback_QTreeView_IsIndexHidden(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTreeView_SelectionChanged(void*, intptr_t, QItemSelection*, QItemSelection*); +void miqt_exec_callback_QTreeView_CurrentChanged(void*, intptr_t, QModelIndex*, QModelIndex*); +int miqt_exec_callback_QTreeView_SizeHintForRow(void*, intptr_t, int); +QAbstractItemDelegate* miqt_exec_callback_QTreeView_ItemDelegateForIndex(void*, intptr_t, QModelIndex*); +QVariant* miqt_exec_callback_QTreeView_InputMethodQuery(void*, intptr_t, int); +void miqt_exec_callback_QTreeView_UpdateEditorData(void*, intptr_t); +void miqt_exec_callback_QTreeView_UpdateEditorGeometries(void*, intptr_t); +void miqt_exec_callback_QTreeView_VerticalScrollbarAction(void*, intptr_t, int); +void miqt_exec_callback_QTreeView_HorizontalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QTreeView_CloseEditor(void*, intptr_t, QWidget*, int); +void miqt_exec_callback_QTreeView_CommitData(void*, intptr_t, QWidget*); +void miqt_exec_callback_QTreeView_EditorDestroyed(void*, intptr_t, QObject*); +bool miqt_exec_callback_QTreeView_Edit2(void*, intptr_t, QModelIndex*, int, QEvent*); +int miqt_exec_callback_QTreeView_SelectionCommand(void*, intptr_t, QModelIndex*, QEvent*); +void miqt_exec_callback_QTreeView_StartDrag(void*, intptr_t, int); +void miqt_exec_callback_QTreeView_InitViewItemOption(void*, intptr_t, QStyleOptionViewItem*); +bool miqt_exec_callback_QTreeView_FocusNextPrevChild(void*, intptr_t, bool); +bool miqt_exec_callback_QTreeView_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTreeView_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QTreeView_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QTreeView_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QTreeView_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QTreeView_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QTreeView_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QTreeView_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +bool miqt_exec_callback_QTreeView_EventFilter(void*, intptr_t, QObject*, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTreeView : public virtual QTreeView { public: diff --git a/qt6/gen_qtreewidget.cpp b/qt6/gen_qtreewidget.cpp index d0c6b1e6..8077ec90 100644 --- a/qt6/gen_qtreewidget.cpp +++ b/qt6/gen_qtreewidget.cpp @@ -37,10 +37,74 @@ #include #include "gen_qtreewidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QTreeWidgetItem* miqt_exec_callback_QTreeWidgetItem_Clone(void*, intptr_t); +QVariant* miqt_exec_callback_QTreeWidgetItem_Data(void*, intptr_t, int, int); +void miqt_exec_callback_QTreeWidgetItem_SetData(void*, intptr_t, int, int, QVariant*); +bool miqt_exec_callback_QTreeWidgetItem_OperatorLesser(void*, intptr_t, QTreeWidgetItem*); +void miqt_exec_callback_QTreeWidgetItem_Read(void*, intptr_t, QDataStream*); +void miqt_exec_callback_QTreeWidgetItem_Write(void*, intptr_t, QDataStream*); +void miqt_exec_callback_QTreeWidget_ItemPressed(intptr_t, QTreeWidgetItem*, int); +void miqt_exec_callback_QTreeWidget_ItemClicked(intptr_t, QTreeWidgetItem*, int); +void miqt_exec_callback_QTreeWidget_ItemDoubleClicked(intptr_t, QTreeWidgetItem*, int); +void miqt_exec_callback_QTreeWidget_ItemActivated(intptr_t, QTreeWidgetItem*, int); +void miqt_exec_callback_QTreeWidget_ItemEntered(intptr_t, QTreeWidgetItem*, int); +void miqt_exec_callback_QTreeWidget_ItemChanged(intptr_t, QTreeWidgetItem*, int); +void miqt_exec_callback_QTreeWidget_ItemExpanded(intptr_t, QTreeWidgetItem*); +void miqt_exec_callback_QTreeWidget_ItemCollapsed(intptr_t, QTreeWidgetItem*); +void miqt_exec_callback_QTreeWidget_CurrentItemChanged(intptr_t, QTreeWidgetItem*, QTreeWidgetItem*); +void miqt_exec_callback_QTreeWidget_ItemSelectionChanged(intptr_t); +void miqt_exec_callback_QTreeWidget_SetSelectionModel(void*, intptr_t, QItemSelectionModel*); +bool miqt_exec_callback_QTreeWidget_Event(void*, intptr_t, QEvent*); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QTreeWidget_MimeTypes(void*, intptr_t); +QMimeData* miqt_exec_callback_QTreeWidget_MimeData(void*, intptr_t, struct miqt_array /* of QTreeWidgetItem* */ ); +bool miqt_exec_callback_QTreeWidget_DropMimeData(void*, intptr_t, QTreeWidgetItem*, int, QMimeData*, int); +int miqt_exec_callback_QTreeWidget_SupportedDropActions(void*, intptr_t); +void miqt_exec_callback_QTreeWidget_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QTreeWidget_SetRootIndex(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTreeWidget_KeyboardSearch(void*, intptr_t, struct miqt_string); +QRect* miqt_exec_callback_QTreeWidget_VisualRect(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTreeWidget_ScrollTo(void*, intptr_t, QModelIndex*, int); +QModelIndex* miqt_exec_callback_QTreeWidget_IndexAt(void*, intptr_t, QPoint*); +void miqt_exec_callback_QTreeWidget_DoItemsLayout(void*, intptr_t); +void miqt_exec_callback_QTreeWidget_Reset(void*, intptr_t); +void miqt_exec_callback_QTreeWidget_DataChanged(void*, intptr_t, QModelIndex*, QModelIndex*, struct miqt_array /* of int */ ); +void miqt_exec_callback_QTreeWidget_SelectAll(void*, intptr_t); +void miqt_exec_callback_QTreeWidget_VerticalScrollbarValueChanged(void*, intptr_t, int); +void miqt_exec_callback_QTreeWidget_ScrollContentsBy(void*, intptr_t, int, int); +void miqt_exec_callback_QTreeWidget_RowsInserted(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QTreeWidget_RowsAboutToBeRemoved(void*, intptr_t, QModelIndex*, int, int); +QModelIndex* miqt_exec_callback_QTreeWidget_MoveCursor(void*, intptr_t, int, int); +int miqt_exec_callback_QTreeWidget_HorizontalOffset(void*, intptr_t); +int miqt_exec_callback_QTreeWidget_VerticalOffset(void*, intptr_t); +void miqt_exec_callback_QTreeWidget_SetSelection(void*, intptr_t, QRect*, int); +QRegion* miqt_exec_callback_QTreeWidget_VisualRegionForSelection(void*, intptr_t, QItemSelection*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QTreeWidget_SelectedIndexes(void*, intptr_t); +void miqt_exec_callback_QTreeWidget_ChangeEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTreeWidget_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QTreeWidget_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QTreeWidget_DrawRow(void*, intptr_t, QPainter*, QStyleOptionViewItem*, QModelIndex*); +void miqt_exec_callback_QTreeWidget_DrawBranches(void*, intptr_t, QPainter*, QRect*, QModelIndex*); +void miqt_exec_callback_QTreeWidget_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTreeWidget_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTreeWidget_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTreeWidget_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QTreeWidget_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QTreeWidget_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +bool miqt_exec_callback_QTreeWidget_ViewportEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTreeWidget_UpdateGeometries(void*, intptr_t); +QSize* miqt_exec_callback_QTreeWidget_ViewportSizeHint(void*, intptr_t); +int miqt_exec_callback_QTreeWidget_SizeHintForColumn(void*, intptr_t, int); +void miqt_exec_callback_QTreeWidget_HorizontalScrollbarAction(void*, intptr_t, int); +bool miqt_exec_callback_QTreeWidget_IsIndexHidden(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QTreeWidget_SelectionChanged(void*, intptr_t, QItemSelection*, QItemSelection*); +void miqt_exec_callback_QTreeWidget_CurrentChanged(void*, intptr_t, QModelIndex*, QModelIndex*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTreeWidgetItem : public virtual QTreeWidgetItem { public: diff --git a/qt6/gen_qtreewidgetitemiterator.cpp b/qt6/gen_qtreewidgetitemiterator.cpp index 3490538c..15f94275 100644 --- a/qt6/gen_qtreewidgetitemiterator.cpp +++ b/qt6/gen_qtreewidgetitemiterator.cpp @@ -4,10 +4,13 @@ #include #include "gen_qtreewidgetitemiterator.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QTreeWidgetItemIterator* QTreeWidgetItemIterator_new(QTreeWidgetItemIterator* it) { return new QTreeWidgetItemIterator(*it); diff --git a/qt6/gen_qundogroup.cpp b/qt6/gen_qundogroup.cpp index 6caa811c..3dc11028 100644 --- a/qt6/gen_qundogroup.cpp +++ b/qt6/gen_qundogroup.cpp @@ -14,10 +14,27 @@ #include #include "gen_qundogroup.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QUndoGroup_ActiveStackChanged(intptr_t, QUndoStack*); +void miqt_exec_callback_QUndoGroup_IndexChanged(intptr_t, int); +void miqt_exec_callback_QUndoGroup_CleanChanged(intptr_t, bool); +void miqt_exec_callback_QUndoGroup_CanUndoChanged(intptr_t, bool); +void miqt_exec_callback_QUndoGroup_CanRedoChanged(intptr_t, bool); +void miqt_exec_callback_QUndoGroup_UndoTextChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QUndoGroup_RedoTextChanged(intptr_t, struct miqt_string); +bool miqt_exec_callback_QUndoGroup_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QUndoGroup_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QUndoGroup_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QUndoGroup_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QUndoGroup_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QUndoGroup_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QUndoGroup_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQUndoGroup : public virtual QUndoGroup { public: diff --git a/qt6/gen_qundostack.cpp b/qt6/gen_qundostack.cpp index 2d817108..cb474c9d 100644 --- a/qt6/gen_qundostack.cpp +++ b/qt6/gen_qundostack.cpp @@ -13,10 +13,30 @@ #include #include "gen_qundostack.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QUndoCommand_Undo(void*, intptr_t); +void miqt_exec_callback_QUndoCommand_Redo(void*, intptr_t); +int miqt_exec_callback_QUndoCommand_Id(void*, intptr_t); +bool miqt_exec_callback_QUndoCommand_MergeWith(void*, intptr_t, QUndoCommand*); +void miqt_exec_callback_QUndoStack_IndexChanged(intptr_t, int); +void miqt_exec_callback_QUndoStack_CleanChanged(intptr_t, bool); +void miqt_exec_callback_QUndoStack_CanUndoChanged(intptr_t, bool); +void miqt_exec_callback_QUndoStack_CanRedoChanged(intptr_t, bool); +void miqt_exec_callback_QUndoStack_UndoTextChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QUndoStack_RedoTextChanged(intptr_t, struct miqt_string); +bool miqt_exec_callback_QUndoStack_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QUndoStack_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QUndoStack_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QUndoStack_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QUndoStack_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QUndoStack_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QUndoStack_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQUndoCommand : public virtual QUndoCommand { public: diff --git a/qt6/gen_qundoview.cpp b/qt6/gen_qundoview.cpp index 196d4249..db3205bd 100644 --- a/qt6/gen_qundoview.cpp +++ b/qt6/gen_qundoview.cpp @@ -33,10 +33,46 @@ #include #include "gen_qundoview.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QRect* miqt_exec_callback_QUndoView_VisualRect(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QUndoView_ScrollTo(void*, intptr_t, QModelIndex*, int); +QModelIndex* miqt_exec_callback_QUndoView_IndexAt(void*, intptr_t, QPoint*); +void miqt_exec_callback_QUndoView_DoItemsLayout(void*, intptr_t); +void miqt_exec_callback_QUndoView_Reset(void*, intptr_t); +void miqt_exec_callback_QUndoView_SetRootIndex(void*, intptr_t, QModelIndex*); +bool miqt_exec_callback_QUndoView_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QUndoView_ScrollContentsBy(void*, intptr_t, int, int); +void miqt_exec_callback_QUndoView_DataChanged(void*, intptr_t, QModelIndex*, QModelIndex*, struct miqt_array /* of int */ ); +void miqt_exec_callback_QUndoView_RowsInserted(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QUndoView_RowsAboutToBeRemoved(void*, intptr_t, QModelIndex*, int, int); +void miqt_exec_callback_QUndoView_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QUndoView_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QUndoView_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QUndoView_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QUndoView_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QUndoView_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QUndoView_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QUndoView_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QUndoView_StartDrag(void*, intptr_t, int); +void miqt_exec_callback_QUndoView_InitViewItemOption(void*, intptr_t, QStyleOptionViewItem*); +void miqt_exec_callback_QUndoView_PaintEvent(void*, intptr_t, QPaintEvent*); +int miqt_exec_callback_QUndoView_HorizontalOffset(void*, intptr_t); +int miqt_exec_callback_QUndoView_VerticalOffset(void*, intptr_t); +QModelIndex* miqt_exec_callback_QUndoView_MoveCursor(void*, intptr_t, int, int); +void miqt_exec_callback_QUndoView_SetSelection(void*, intptr_t, QRect*, int); +QRegion* miqt_exec_callback_QUndoView_VisualRegionForSelection(void*, intptr_t, QItemSelection*); +struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QUndoView_SelectedIndexes(void*, intptr_t); +void miqt_exec_callback_QUndoView_UpdateGeometries(void*, intptr_t); +bool miqt_exec_callback_QUndoView_IsIndexHidden(void*, intptr_t, QModelIndex*); +void miqt_exec_callback_QUndoView_SelectionChanged(void*, intptr_t, QItemSelection*, QItemSelection*); +void miqt_exec_callback_QUndoView_CurrentChanged(void*, intptr_t, QModelIndex*, QModelIndex*); +QSize* miqt_exec_callback_QUndoView_ViewportSizeHint(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQUndoView : public virtual QUndoView { public: diff --git a/qt6/gen_qurl.cpp b/qt6/gen_qurl.cpp index aa8104b8..42a08fe5 100644 --- a/qt6/gen_qurl.cpp +++ b/qt6/gen_qurl.cpp @@ -8,10 +8,13 @@ #include #include "gen_qurl.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QUrl* QUrl_new() { return new QUrl(); diff --git a/qt6/gen_qurlquery.cpp b/qt6/gen_qurlquery.cpp index 36429b8a..deec871c 100644 --- a/qt6/gen_qurlquery.cpp +++ b/qt6/gen_qurlquery.cpp @@ -9,10 +9,13 @@ #include #include "gen_qurlquery.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QUrlQuery* QUrlQuery_new() { return new QUrlQuery(); diff --git a/qt6/gen_quuid.cpp b/qt6/gen_quuid.cpp index ba9abaeb..16703d75 100644 --- a/qt6/gen_quuid.cpp +++ b/qt6/gen_quuid.cpp @@ -8,10 +8,13 @@ #include #include "gen_quuid.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QUuid* QUuid_new() { return new QUuid(); diff --git a/qt6/gen_qvalidator.cpp b/qt6/gen_qvalidator.cpp index 7fa863b2..d0376f85 100644 --- a/qt6/gen_qvalidator.cpp +++ b/qt6/gen_qvalidator.cpp @@ -16,10 +16,36 @@ #include #include "gen_qvalidator.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QValidator_Changed(intptr_t); +int miqt_exec_callback_QValidator_Validate(void*, intptr_t, struct miqt_string, int*); +void miqt_exec_callback_QValidator_Fixup(void*, intptr_t, struct miqt_string); +bool miqt_exec_callback_QValidator_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QValidator_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QValidator_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QValidator_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QValidator_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QValidator_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QValidator_DisconnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QIntValidator_BottomChanged(intptr_t, int); +void miqt_exec_callback_QIntValidator_TopChanged(intptr_t, int); +int miqt_exec_callback_QIntValidator_Validate(void*, intptr_t, struct miqt_string, int*); +void miqt_exec_callback_QIntValidator_Fixup(void*, intptr_t, struct miqt_string); +void miqt_exec_callback_QDoubleValidator_BottomChanged(intptr_t, double); +void miqt_exec_callback_QDoubleValidator_TopChanged(intptr_t, double); +void miqt_exec_callback_QDoubleValidator_DecimalsChanged(intptr_t, int); +void miqt_exec_callback_QDoubleValidator_NotationChanged(intptr_t, int); +int miqt_exec_callback_QDoubleValidator_Validate(void*, intptr_t, struct miqt_string, int*); +void miqt_exec_callback_QDoubleValidator_Fixup(void*, intptr_t, struct miqt_string); +void miqt_exec_callback_QRegularExpressionValidator_RegularExpressionChanged(intptr_t, QRegularExpression*); +int miqt_exec_callback_QRegularExpressionValidator_Validate(void*, intptr_t, struct miqt_string, int*); +void miqt_exec_callback_QRegularExpressionValidator_Fixup(void*, intptr_t, struct miqt_string); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQValidator : public virtual QValidator { public: diff --git a/qt6/gen_qvariant.cpp b/qt6/gen_qvariant.cpp index c805302e..7d776998 100644 --- a/qt6/gen_qvariant.cpp +++ b/qt6/gen_qvariant.cpp @@ -36,10 +36,13 @@ #include #include "gen_qvariant.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QVariant* QVariant_new() { return new QVariant(); diff --git a/qt6/gen_qvariantanimation.cpp b/qt6/gen_qvariantanimation.cpp index 7201eb29..85708cb7 100644 --- a/qt6/gen_qvariantanimation.cpp +++ b/qt6/gen_qvariantanimation.cpp @@ -13,10 +13,21 @@ #include #include "gen_qvariantanimation.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QVariantAnimation_ValueChanged(intptr_t, QVariant*); +int miqt_exec_callback_QVariantAnimation_Duration(void*, intptr_t); +bool miqt_exec_callback_QVariantAnimation_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QVariantAnimation_UpdateCurrentTime(void*, intptr_t, int); +void miqt_exec_callback_QVariantAnimation_UpdateState(void*, intptr_t, int, int); +void miqt_exec_callback_QVariantAnimation_UpdateCurrentValue(void*, intptr_t, QVariant*); +QVariant* miqt_exec_callback_QVariantAnimation_Interpolated(void*, intptr_t, QVariant*, QVariant*, double); +void miqt_exec_callback_QVariantAnimation_UpdateDirection(void*, intptr_t, int); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQVariantAnimation : public virtual QVariantAnimation { public: diff --git a/qt6/gen_qvarlengtharray.cpp b/qt6/gen_qvarlengtharray.cpp index 911ecb73..1ec66c92 100644 --- a/qt6/gen_qvarlengtharray.cpp +++ b/qt6/gen_qvarlengtharray.cpp @@ -1,10 +1,13 @@ #include #include "gen_qvarlengtharray.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" ptrdiff_t QVLABaseBase_Capacity(const QVLABaseBase* self) { QVLABaseBase::size_type _ret = self->capacity(); diff --git a/qt6/gen_qvectornd.cpp b/qt6/gen_qvectornd.cpp index 01b25bc3..4f7494d7 100644 --- a/qt6/gen_qvectornd.cpp +++ b/qt6/gen_qvectornd.cpp @@ -9,10 +9,13 @@ #include #include "gen_qvectornd.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QVector2D* QVector2D_new() { return new QVector2D(); diff --git a/qt6/gen_qversionnumber.cpp b/qt6/gen_qversionnumber.cpp index 277327a6..354d05c1 100644 --- a/qt6/gen_qversionnumber.cpp +++ b/qt6/gen_qversionnumber.cpp @@ -8,10 +8,13 @@ #include #include "gen_qversionnumber.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QVersionNumber* QVersionNumber_new() { return new QVersionNumber(); diff --git a/qt6/gen_qwaitcondition.cpp b/qt6/gen_qwaitcondition.cpp index bbbaaabd..06803ab6 100644 --- a/qt6/gen_qwaitcondition.cpp +++ b/qt6/gen_qwaitcondition.cpp @@ -5,10 +5,13 @@ #include #include "gen_qwaitcondition.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWaitCondition* QWaitCondition_new() { return new QWaitCondition(); diff --git a/qt6/gen_qwhatsthis.cpp b/qt6/gen_qwhatsthis.cpp index 6ddef27b..16c9b30d 100644 --- a/qt6/gen_qwhatsthis.cpp +++ b/qt6/gen_qwhatsthis.cpp @@ -9,10 +9,13 @@ #include #include "gen_qwhatsthis.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QWhatsThis_EnterWhatsThisMode() { QWhatsThis::enterWhatsThisMode(); diff --git a/qt6/gen_qwidget.cpp b/qt6/gen_qwidget.cpp index bff68979..c85a07e1 100644 --- a/qt6/gen_qwidget.cpp +++ b/qt6/gen_qwidget.cpp @@ -62,10 +62,64 @@ #include #include "gen_qwidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWidget_WindowTitleChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QWidget_WindowIconChanged(intptr_t, QIcon*); +void miqt_exec_callback_QWidget_WindowIconTextChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QWidget_CustomContextMenuRequested(intptr_t, QPoint*); +int miqt_exec_callback_QWidget_DevType(void*, intptr_t); +void miqt_exec_callback_QWidget_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QWidget_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QWidget_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QWidget_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QWidget_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QWidget_PaintEngine(void*, intptr_t); +bool miqt_exec_callback_QWidget_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWidget_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWidget_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWidget_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWidget_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWidget_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QWidget_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QWidget_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QWidget_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QWidget_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QWidget_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QWidget_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWidget_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QWidget_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QWidget_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QWidget_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QWidget_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QWidget_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QWidget_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QWidget_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QWidget_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QWidget_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QWidget_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QWidget_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QWidget_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QWidget_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +void miqt_exec_callback_QWidget_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QWidget_Metric(void*, intptr_t, int); +void miqt_exec_callback_QWidget_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QWidget_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QWidget_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QWidget_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QWidget_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QWidget_FocusNextPrevChild(void*, intptr_t, bool); +bool miqt_exec_callback_QWidget_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QWidget_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QWidget_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QWidget_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWidget_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QWidget_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWidgetData* QWidgetData_new(QWidgetData* param1) { return new QWidgetData(*param1); diff --git a/qt6/gen_qwidgetaction.cpp b/qt6/gen_qwidgetaction.cpp index 113d2f9a..784797ee 100644 --- a/qt6/gen_qwidgetaction.cpp +++ b/qt6/gen_qwidgetaction.cpp @@ -10,10 +10,17 @@ #include #include "gen_qwidgetaction.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QWidgetAction_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QWidgetAction_EventFilter(void*, intptr_t, QObject*, QEvent*); +QWidget* miqt_exec_callback_QWidgetAction_CreateWidget(void*, intptr_t, QWidget*); +void miqt_exec_callback_QWidgetAction_DeleteWidget(void*, intptr_t, QWidget*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWidgetAction : public virtual QWidgetAction { public: diff --git a/qt6/gen_qwindow.cpp b/qt6/gen_qwindow.cpp index 6a04c1a1..789428e9 100644 --- a/qt6/gen_qwindow.cpp +++ b/qt6/gen_qwindow.cpp @@ -37,10 +37,63 @@ #include #include "gen_qwindow.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWindow_ScreenChanged(intptr_t, QScreen*); +void miqt_exec_callback_QWindow_ModalityChanged(intptr_t, int); +void miqt_exec_callback_QWindow_WindowStateChanged(intptr_t, int); +void miqt_exec_callback_QWindow_WindowTitleChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QWindow_XChanged(intptr_t, int); +void miqt_exec_callback_QWindow_YChanged(intptr_t, int); +void miqt_exec_callback_QWindow_WidthChanged(intptr_t, int); +void miqt_exec_callback_QWindow_HeightChanged(intptr_t, int); +void miqt_exec_callback_QWindow_MinimumWidthChanged(intptr_t, int); +void miqt_exec_callback_QWindow_MinimumHeightChanged(intptr_t, int); +void miqt_exec_callback_QWindow_MaximumWidthChanged(intptr_t, int); +void miqt_exec_callback_QWindow_MaximumHeightChanged(intptr_t, int); +void miqt_exec_callback_QWindow_VisibleChanged(intptr_t, bool); +void miqt_exec_callback_QWindow_VisibilityChanged(intptr_t, int); +void miqt_exec_callback_QWindow_ActiveChanged(intptr_t); +void miqt_exec_callback_QWindow_ContentOrientationChanged(intptr_t, int); +void miqt_exec_callback_QWindow_FocusObjectChanged(intptr_t, QObject*); +void miqt_exec_callback_QWindow_OpacityChanged(intptr_t, double); +void miqt_exec_callback_QWindow_TransientParentChanged(intptr_t, QWindow*); +int miqt_exec_callback_QWindow_SurfaceType(void*, intptr_t); +QSurfaceFormat* miqt_exec_callback_QWindow_Format(void*, intptr_t); +QSize* miqt_exec_callback_QWindow_Size(void*, intptr_t); +QAccessibleInterface* miqt_exec_callback_QWindow_AccessibleRoot(void*, intptr_t); +QObject* miqt_exec_callback_QWindow_FocusObject(void*, intptr_t); +void miqt_exec_callback_QWindow_ExposeEvent(void*, intptr_t, QExposeEvent*); +void miqt_exec_callback_QWindow_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QWindow_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QWindow_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QWindow_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QWindow_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QWindow_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QWindow_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QWindow_CloseEvent(void*, intptr_t, QCloseEvent*); +bool miqt_exec_callback_QWindow_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWindow_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QWindow_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QWindow_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWindow_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWindow_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWindow_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWindow_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QWindow_TouchEvent(void*, intptr_t, QTouchEvent*); +void miqt_exec_callback_QWindow_TabletEvent(void*, intptr_t, QTabletEvent*); +bool miqt_exec_callback_QWindow_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +bool miqt_exec_callback_QWindow_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QWindow_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QWindow_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QWindow_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWindow_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QWindow_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWindow : public virtual QWindow { public: diff --git a/qt6/gen_qwizard.cpp b/qt6/gen_qwizard.cpp index e9376820..ab25c3fb 100644 --- a/qt6/gen_qwizard.cpp +++ b/qt6/gen_qwizard.cpp @@ -40,10 +40,85 @@ #include #include "gen_qwizard.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWizard_CurrentIdChanged(intptr_t, int); +void miqt_exec_callback_QWizard_HelpRequested(intptr_t); +void miqt_exec_callback_QWizard_CustomButtonClicked(intptr_t, int); +void miqt_exec_callback_QWizard_PageAdded(intptr_t, int); +void miqt_exec_callback_QWizard_PageRemoved(intptr_t, int); +bool miqt_exec_callback_QWizard_ValidateCurrentPage(void*, intptr_t); +int miqt_exec_callback_QWizard_NextId(void*, intptr_t); +void miqt_exec_callback_QWizard_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QWizard_SizeHint(void*, intptr_t); +bool miqt_exec_callback_QWizard_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWizard_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QWizard_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QWizard_Done(void*, intptr_t, int); +void miqt_exec_callback_QWizard_InitializePage(void*, intptr_t, int); +void miqt_exec_callback_QWizard_CleanupPage(void*, intptr_t, int); +QSize* miqt_exec_callback_QWizard_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QWizard_Open(void*, intptr_t); +int miqt_exec_callback_QWizard_Exec(void*, intptr_t); +void miqt_exec_callback_QWizard_Accept(void*, intptr_t); +void miqt_exec_callback_QWizard_Reject(void*, intptr_t); +void miqt_exec_callback_QWizard_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QWizard_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QWizard_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QWizard_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QWizard_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QWizardPage_CompleteChanged(intptr_t); +void miqt_exec_callback_QWizardPage_InitializePage(void*, intptr_t); +void miqt_exec_callback_QWizardPage_CleanupPage(void*, intptr_t); +bool miqt_exec_callback_QWizardPage_ValidatePage(void*, intptr_t); +bool miqt_exec_callback_QWizardPage_IsComplete(void*, intptr_t); +int miqt_exec_callback_QWizardPage_NextId(void*, intptr_t); +int miqt_exec_callback_QWizardPage_DevType(void*, intptr_t); +void miqt_exec_callback_QWizardPage_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QWizardPage_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QWizardPage_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QWizardPage_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QWizardPage_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QWizardPage_PaintEngine(void*, intptr_t); +bool miqt_exec_callback_QWizardPage_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWizardPage_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWizardPage_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWizardPage_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWizardPage_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWizardPage_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QWizardPage_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QWizardPage_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QWizardPage_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QWizardPage_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QWizardPage_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QWizardPage_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWizardPage_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QWizardPage_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QWizardPage_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QWizardPage_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QWizardPage_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QWizardPage_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QWizardPage_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QWizardPage_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QWizardPage_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QWizardPage_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QWizardPage_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QWizardPage_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QWizardPage_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QWizardPage_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +void miqt_exec_callback_QWizardPage_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QWizardPage_Metric(void*, intptr_t, int); +void miqt_exec_callback_QWizardPage_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QWizardPage_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QWizardPage_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QWizardPage_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QWizardPage_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QWizardPage_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWizard : public virtual QWizard { public: diff --git a/qt6/gen_qxmlstream.cpp b/qt6/gen_qxmlstream.cpp index 4b1b8891..f35b9ac2 100644 --- a/qt6/gen_qxmlstream.cpp +++ b/qt6/gen_qxmlstream.cpp @@ -14,10 +14,13 @@ #include #include "gen_qxmlstream.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QXmlStreamAttribute* QXmlStreamAttribute_new() { return new QXmlStreamAttribute(); diff --git a/qt6/multimedia/gen_qaudio.cpp b/qt6/multimedia/gen_qaudio.cpp index d2682cc3..6cd93092 100644 --- a/qt6/multimedia/gen_qaudio.cpp +++ b/qt6/multimedia/gen_qaudio.cpp @@ -1,8 +1,11 @@ #include #include "gen_qaudio.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" diff --git a/qt6/multimedia/gen_qaudiobuffer.cpp b/qt6/multimedia/gen_qaudiobuffer.cpp index f5d28c7f..318d29ef 100644 --- a/qt6/multimedia/gen_qaudiobuffer.cpp +++ b/qt6/multimedia/gen_qaudiobuffer.cpp @@ -4,10 +4,13 @@ #include #include "gen_qaudiobuffer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QAudioBuffer* QAudioBuffer_new() { return new QAudioBuffer(); diff --git a/qt6/multimedia/gen_qaudiodecoder.cpp b/qt6/multimedia/gen_qaudiodecoder.cpp index a4428b89..d6c9af6b 100644 --- a/qt6/multimedia/gen_qaudiodecoder.cpp +++ b/qt6/multimedia/gen_qaudiodecoder.cpp @@ -15,10 +15,29 @@ #include #include "gen_qaudiodecoder.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAudioDecoder_BufferAvailableChanged(intptr_t, bool); +void miqt_exec_callback_QAudioDecoder_BufferReady(intptr_t); +void miqt_exec_callback_QAudioDecoder_Finished(intptr_t); +void miqt_exec_callback_QAudioDecoder_IsDecodingChanged(intptr_t, bool); +void miqt_exec_callback_QAudioDecoder_FormatChanged(intptr_t, QAudioFormat*); +void miqt_exec_callback_QAudioDecoder_ErrorWithError(intptr_t, int); +void miqt_exec_callback_QAudioDecoder_SourceChanged(intptr_t); +void miqt_exec_callback_QAudioDecoder_PositionChanged(intptr_t, long long); +void miqt_exec_callback_QAudioDecoder_DurationChanged(intptr_t, long long); +bool miqt_exec_callback_QAudioDecoder_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAudioDecoder_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAudioDecoder_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAudioDecoder_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAudioDecoder_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAudioDecoder_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAudioDecoder_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAudioDecoder : public virtual QAudioDecoder { public: diff --git a/qt6/multimedia/gen_qaudiodevice.cpp b/qt6/multimedia/gen_qaudiodevice.cpp index 6dddfcfe..e6b083cd 100644 --- a/qt6/multimedia/gen_qaudiodevice.cpp +++ b/qt6/multimedia/gen_qaudiodevice.cpp @@ -8,10 +8,13 @@ #include #include "gen_qaudiodevice.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QAudioDevice* QAudioDevice_new() { return new QAudioDevice(); diff --git a/qt6/multimedia/gen_qaudioformat.cpp b/qt6/multimedia/gen_qaudioformat.cpp index 3f8722b3..51e2e469 100644 --- a/qt6/multimedia/gen_qaudioformat.cpp +++ b/qt6/multimedia/gen_qaudioformat.cpp @@ -2,10 +2,13 @@ #include #include "gen_qaudioformat.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QAudioFormat* QAudioFormat_new() { return new QAudioFormat(); diff --git a/qt6/multimedia/gen_qaudioinput.cpp b/qt6/multimedia/gen_qaudioinput.cpp index fe6813c8..e62c34d7 100644 --- a/qt6/multimedia/gen_qaudioinput.cpp +++ b/qt6/multimedia/gen_qaudioinput.cpp @@ -12,10 +12,23 @@ #include #include "gen_qaudioinput.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAudioInput_DeviceChanged(intptr_t); +void miqt_exec_callback_QAudioInput_VolumeChanged(intptr_t, float); +void miqt_exec_callback_QAudioInput_MutedChanged(intptr_t, bool); +bool miqt_exec_callback_QAudioInput_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAudioInput_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAudioInput_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAudioInput_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAudioInput_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAudioInput_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAudioInput_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAudioInput : public virtual QAudioInput { public: diff --git a/qt6/multimedia/gen_qaudiooutput.cpp b/qt6/multimedia/gen_qaudiooutput.cpp index 563aace0..26f87df9 100644 --- a/qt6/multimedia/gen_qaudiooutput.cpp +++ b/qt6/multimedia/gen_qaudiooutput.cpp @@ -12,10 +12,23 @@ #include #include "gen_qaudiooutput.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAudioOutput_DeviceChanged(intptr_t); +void miqt_exec_callback_QAudioOutput_VolumeChanged(intptr_t, float); +void miqt_exec_callback_QAudioOutput_MutedChanged(intptr_t, bool); +bool miqt_exec_callback_QAudioOutput_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAudioOutput_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAudioOutput_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAudioOutput_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAudioOutput_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAudioOutput_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAudioOutput_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAudioOutput : public virtual QAudioOutput { public: diff --git a/qt6/multimedia/gen_qaudiosink.cpp b/qt6/multimedia/gen_qaudiosink.cpp index 71117deb..e127d0c2 100644 --- a/qt6/multimedia/gen_qaudiosink.cpp +++ b/qt6/multimedia/gen_qaudiosink.cpp @@ -14,10 +14,21 @@ #include #include "gen_qaudiosink.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAudioSink_StateChanged(intptr_t, int); +bool miqt_exec_callback_QAudioSink_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAudioSink_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAudioSink_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAudioSink_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAudioSink_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAudioSink_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAudioSink_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAudioSink : public virtual QAudioSink { public: diff --git a/qt6/multimedia/gen_qaudiosource.cpp b/qt6/multimedia/gen_qaudiosource.cpp index 801183e9..18c49db6 100644 --- a/qt6/multimedia/gen_qaudiosource.cpp +++ b/qt6/multimedia/gen_qaudiosource.cpp @@ -14,10 +14,21 @@ #include #include "gen_qaudiosource.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAudioSource_StateChanged(intptr_t, int); +bool miqt_exec_callback_QAudioSource_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAudioSource_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAudioSource_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAudioSource_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAudioSource_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAudioSource_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAudioSource_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAudioSource : public virtual QAudioSource { public: diff --git a/qt6/multimedia/gen_qcamera.cpp b/qt6/multimedia/gen_qcamera.cpp index ff592ff6..0bca0a03 100644 --- a/qt6/multimedia/gen_qcamera.cpp +++ b/qt6/multimedia/gen_qcamera.cpp @@ -15,10 +15,48 @@ #include #include "gen_qcamera.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QCamera_ActiveChanged(intptr_t, bool); +void miqt_exec_callback_QCamera_ErrorChanged(intptr_t); +void miqt_exec_callback_QCamera_ErrorOccurred(intptr_t, int, struct miqt_string); +void miqt_exec_callback_QCamera_CameraDeviceChanged(intptr_t); +void miqt_exec_callback_QCamera_CameraFormatChanged(intptr_t); +void miqt_exec_callback_QCamera_SupportedFeaturesChanged(intptr_t); +void miqt_exec_callback_QCamera_FocusModeChanged(intptr_t); +void miqt_exec_callback_QCamera_ZoomFactorChanged(intptr_t, float); +void miqt_exec_callback_QCamera_MinimumZoomFactorChanged(intptr_t, float); +void miqt_exec_callback_QCamera_MaximumZoomFactorChanged(intptr_t, float); +void miqt_exec_callback_QCamera_FocusDistanceChanged(intptr_t, float); +void miqt_exec_callback_QCamera_FocusPointChanged(intptr_t); +void miqt_exec_callback_QCamera_CustomFocusPointChanged(intptr_t); +void miqt_exec_callback_QCamera_FlashReady(intptr_t, bool); +void miqt_exec_callback_QCamera_FlashModeChanged(intptr_t); +void miqt_exec_callback_QCamera_TorchModeChanged(intptr_t); +void miqt_exec_callback_QCamera_ExposureTimeChanged(intptr_t, float); +void miqt_exec_callback_QCamera_ManualExposureTimeChanged(intptr_t, float); +void miqt_exec_callback_QCamera_IsoSensitivityChanged(intptr_t, int); +void miqt_exec_callback_QCamera_ManualIsoSensitivityChanged(intptr_t, int); +void miqt_exec_callback_QCamera_ExposureCompensationChanged(intptr_t, float); +void miqt_exec_callback_QCamera_ExposureModeChanged(intptr_t); +void miqt_exec_callback_QCamera_WhiteBalanceModeChanged(intptr_t); +void miqt_exec_callback_QCamera_ColorTemperatureChanged(intptr_t); +void miqt_exec_callback_QCamera_BrightnessChanged(intptr_t); +void miqt_exec_callback_QCamera_ContrastChanged(intptr_t); +void miqt_exec_callback_QCamera_SaturationChanged(intptr_t); +void miqt_exec_callback_QCamera_HueChanged(intptr_t); +bool miqt_exec_callback_QCamera_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QCamera_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QCamera_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QCamera_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QCamera_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QCamera_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QCamera_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQCamera : public virtual QCamera { public: diff --git a/qt6/multimedia/gen_qcameradevice.cpp b/qt6/multimedia/gen_qcameradevice.cpp index 504d435d..1f4e4f16 100644 --- a/qt6/multimedia/gen_qcameradevice.cpp +++ b/qt6/multimedia/gen_qcameradevice.cpp @@ -9,10 +9,13 @@ #include #include "gen_qcameradevice.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QCameraFormat* QCameraFormat_new() { return new QCameraFormat(); diff --git a/qt6/multimedia/gen_qgraphicsvideoitem.cpp b/qt6/multimedia/gen_qgraphicsvideoitem.cpp index e949f75f..7000c1e5 100644 --- a/qt6/multimedia/gen_qgraphicsvideoitem.cpp +++ b/qt6/multimedia/gen_qgraphicsvideoitem.cpp @@ -19,10 +19,20 @@ #include #include "gen_qgraphicsvideoitem.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QGraphicsVideoItem_NativeSizeChanged(intptr_t, QSizeF*); +QRectF* miqt_exec_callback_QGraphicsVideoItem_BoundingRect(void*, intptr_t); +void miqt_exec_callback_QGraphicsVideoItem_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +int miqt_exec_callback_QGraphicsVideoItem_Type(void*, intptr_t); +void miqt_exec_callback_QGraphicsVideoItem_TimerEvent(void*, intptr_t, QTimerEvent*); +QVariant* miqt_exec_callback_QGraphicsVideoItem_ItemChange(void*, intptr_t, int, QVariant*); +bool miqt_exec_callback_QGraphicsVideoItem_Event(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsVideoItem : public virtual QGraphicsVideoItem { public: diff --git a/qt6/multimedia/gen_qimagecapture.cpp b/qt6/multimedia/gen_qimagecapture.cpp index 2310711a..be770d8d 100644 --- a/qt6/multimedia/gen_qimagecapture.cpp +++ b/qt6/multimedia/gen_qimagecapture.cpp @@ -17,10 +17,32 @@ #include #include "gen_qimagecapture.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QImageCapture_ErrorChanged(intptr_t); +void miqt_exec_callback_QImageCapture_ErrorOccurred(intptr_t, int, int, struct miqt_string); +void miqt_exec_callback_QImageCapture_ReadyForCaptureChanged(intptr_t, bool); +void miqt_exec_callback_QImageCapture_MetaDataChanged(intptr_t); +void miqt_exec_callback_QImageCapture_FileFormatChanged(intptr_t); +void miqt_exec_callback_QImageCapture_QualityChanged(intptr_t); +void miqt_exec_callback_QImageCapture_ResolutionChanged(intptr_t); +void miqt_exec_callback_QImageCapture_ImageExposed(intptr_t, int); +void miqt_exec_callback_QImageCapture_ImageCaptured(intptr_t, int, QImage*); +void miqt_exec_callback_QImageCapture_ImageMetadataAvailable(intptr_t, int, QMediaMetaData*); +void miqt_exec_callback_QImageCapture_ImageAvailable(intptr_t, int, QVideoFrame*); +void miqt_exec_callback_QImageCapture_ImageSaved(intptr_t, int, struct miqt_string); +bool miqt_exec_callback_QImageCapture_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QImageCapture_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QImageCapture_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QImageCapture_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QImageCapture_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QImageCapture_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QImageCapture_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQImageCapture : public virtual QImageCapture { public: diff --git a/qt6/multimedia/gen_qmediacapturesession.cpp b/qt6/multimedia/gen_qmediacapturesession.cpp index c76e9c39..733bc536 100644 --- a/qt6/multimedia/gen_qmediacapturesession.cpp +++ b/qt6/multimedia/gen_qmediacapturesession.cpp @@ -17,10 +17,26 @@ #include #include "gen_qmediacapturesession.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMediaCaptureSession_AudioInputChanged(intptr_t); +void miqt_exec_callback_QMediaCaptureSession_CameraChanged(intptr_t); +void miqt_exec_callback_QMediaCaptureSession_ImageCaptureChanged(intptr_t); +void miqt_exec_callback_QMediaCaptureSession_RecorderChanged(intptr_t); +void miqt_exec_callback_QMediaCaptureSession_VideoOutputChanged(intptr_t); +void miqt_exec_callback_QMediaCaptureSession_AudioOutputChanged(intptr_t); +bool miqt_exec_callback_QMediaCaptureSession_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QMediaCaptureSession_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QMediaCaptureSession_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QMediaCaptureSession_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QMediaCaptureSession_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMediaCaptureSession_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QMediaCaptureSession_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQMediaCaptureSession : public virtual QMediaCaptureSession { public: diff --git a/qt6/multimedia/gen_qmediadevices.cpp b/qt6/multimedia/gen_qmediadevices.cpp index b03e4ae2..8431af74 100644 --- a/qt6/multimedia/gen_qmediadevices.cpp +++ b/qt6/multimedia/gen_qmediadevices.cpp @@ -14,10 +14,23 @@ #include #include "gen_qmediadevices.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMediaDevices_AudioInputsChanged(intptr_t); +void miqt_exec_callback_QMediaDevices_AudioOutputsChanged(intptr_t); +void miqt_exec_callback_QMediaDevices_VideoInputsChanged(intptr_t); +bool miqt_exec_callback_QMediaDevices_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QMediaDevices_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QMediaDevices_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QMediaDevices_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QMediaDevices_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMediaDevices_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QMediaDevices_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQMediaDevices : public virtual QMediaDevices { public: diff --git a/qt6/multimedia/gen_qmediaformat.cpp b/qt6/multimedia/gen_qmediaformat.cpp index 28249585..a3bb5179 100644 --- a/qt6/multimedia/gen_qmediaformat.cpp +++ b/qt6/multimedia/gen_qmediaformat.cpp @@ -7,10 +7,13 @@ #include #include "gen_qmediaformat.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMediaFormat* QMediaFormat_new() { return new QMediaFormat(); diff --git a/qt6/multimedia/gen_qmediametadata.cpp b/qt6/multimedia/gen_qmediametadata.cpp index 01bd1f4d..c0d6bacf 100644 --- a/qt6/multimedia/gen_qmediametadata.cpp +++ b/qt6/multimedia/gen_qmediametadata.cpp @@ -7,10 +7,13 @@ #include #include "gen_qmediametadata.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMediaMetaData* QMediaMetaData_new(QMediaMetaData* param1) { return new QMediaMetaData(*param1); diff --git a/qt6/multimedia/gen_qmediaplayer.cpp b/qt6/multimedia/gen_qmediaplayer.cpp index 766776d8..3c5d1888 100644 --- a/qt6/multimedia/gen_qmediaplayer.cpp +++ b/qt6/multimedia/gen_qmediaplayer.cpp @@ -18,10 +18,38 @@ #include #include "gen_qmediaplayer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMediaPlayer_SourceChanged(intptr_t, QUrl*); +void miqt_exec_callback_QMediaPlayer_PlaybackStateChanged(intptr_t, int); +void miqt_exec_callback_QMediaPlayer_MediaStatusChanged(intptr_t, int); +void miqt_exec_callback_QMediaPlayer_DurationChanged(intptr_t, long long); +void miqt_exec_callback_QMediaPlayer_PositionChanged(intptr_t, long long); +void miqt_exec_callback_QMediaPlayer_HasAudioChanged(intptr_t, bool); +void miqt_exec_callback_QMediaPlayer_HasVideoChanged(intptr_t, bool); +void miqt_exec_callback_QMediaPlayer_BufferProgressChanged(intptr_t, float); +void miqt_exec_callback_QMediaPlayer_SeekableChanged(intptr_t, bool); +void miqt_exec_callback_QMediaPlayer_PlaybackRateChanged(intptr_t, double); +void miqt_exec_callback_QMediaPlayer_LoopsChanged(intptr_t); +void miqt_exec_callback_QMediaPlayer_MetaDataChanged(intptr_t); +void miqt_exec_callback_QMediaPlayer_VideoOutputChanged(intptr_t); +void miqt_exec_callback_QMediaPlayer_AudioOutputChanged(intptr_t); +void miqt_exec_callback_QMediaPlayer_TracksChanged(intptr_t); +void miqt_exec_callback_QMediaPlayer_ActiveTracksChanged(intptr_t); +void miqt_exec_callback_QMediaPlayer_ErrorChanged(intptr_t); +void miqt_exec_callback_QMediaPlayer_ErrorOccurred(intptr_t, int, struct miqt_string); +bool miqt_exec_callback_QMediaPlayer_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QMediaPlayer_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QMediaPlayer_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QMediaPlayer_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QMediaPlayer_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMediaPlayer_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QMediaPlayer_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQMediaPlayer : public virtual QMediaPlayer { public: diff --git a/qt6/multimedia/gen_qmediarecorder.cpp b/qt6/multimedia/gen_qmediarecorder.cpp index 996c8d96..647f6cd5 100644 --- a/qt6/multimedia/gen_qmediarecorder.cpp +++ b/qt6/multimedia/gen_qmediarecorder.cpp @@ -16,10 +16,36 @@ #include #include "gen_qmediarecorder.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QMediaRecorder_RecorderStateChanged(intptr_t, int); +void miqt_exec_callback_QMediaRecorder_DurationChanged(intptr_t, long long); +void miqt_exec_callback_QMediaRecorder_ActualLocationChanged(intptr_t, QUrl*); +void miqt_exec_callback_QMediaRecorder_EncoderSettingsChanged(intptr_t); +void miqt_exec_callback_QMediaRecorder_ErrorOccurred(intptr_t, int, struct miqt_string); +void miqt_exec_callback_QMediaRecorder_ErrorChanged(intptr_t); +void miqt_exec_callback_QMediaRecorder_MetaDataChanged(intptr_t); +void miqt_exec_callback_QMediaRecorder_MediaFormatChanged(intptr_t); +void miqt_exec_callback_QMediaRecorder_EncodingModeChanged(intptr_t); +void miqt_exec_callback_QMediaRecorder_QualityChanged(intptr_t); +void miqt_exec_callback_QMediaRecorder_VideoResolutionChanged(intptr_t); +void miqt_exec_callback_QMediaRecorder_VideoFrameRateChanged(intptr_t); +void miqt_exec_callback_QMediaRecorder_VideoBitRateChanged(intptr_t); +void miqt_exec_callback_QMediaRecorder_AudioBitRateChanged(intptr_t); +void miqt_exec_callback_QMediaRecorder_AudioChannelCountChanged(intptr_t); +void miqt_exec_callback_QMediaRecorder_AudioSampleRateChanged(intptr_t); +bool miqt_exec_callback_QMediaRecorder_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QMediaRecorder_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QMediaRecorder_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QMediaRecorder_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QMediaRecorder_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QMediaRecorder_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QMediaRecorder_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQMediaRecorder : public virtual QMediaRecorder { public: diff --git a/qt6/multimedia/gen_qmediatimerange.cpp b/qt6/multimedia/gen_qmediatimerange.cpp index 8e97e693..2eae69af 100644 --- a/qt6/multimedia/gen_qmediatimerange.cpp +++ b/qt6/multimedia/gen_qmediatimerange.cpp @@ -4,10 +4,13 @@ #include #include "gen_qmediatimerange.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QMediaTimeRange* QMediaTimeRange_new() { return new QMediaTimeRange(); diff --git a/qt6/multimedia/gen_qsoundeffect.cpp b/qt6/multimedia/gen_qsoundeffect.cpp index 7762058f..162f3f2e 100644 --- a/qt6/multimedia/gen_qsoundeffect.cpp +++ b/qt6/multimedia/gen_qsoundeffect.cpp @@ -14,10 +14,29 @@ #include #include "gen_qsoundeffect.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSoundEffect_SourceChanged(intptr_t); +void miqt_exec_callback_QSoundEffect_LoopCountChanged(intptr_t); +void miqt_exec_callback_QSoundEffect_LoopsRemainingChanged(intptr_t); +void miqt_exec_callback_QSoundEffect_VolumeChanged(intptr_t); +void miqt_exec_callback_QSoundEffect_MutedChanged(intptr_t); +void miqt_exec_callback_QSoundEffect_LoadedChanged(intptr_t); +void miqt_exec_callback_QSoundEffect_PlayingChanged(intptr_t); +void miqt_exec_callback_QSoundEffect_StatusChanged(intptr_t); +void miqt_exec_callback_QSoundEffect_AudioDeviceChanged(intptr_t); +bool miqt_exec_callback_QSoundEffect_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QSoundEffect_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QSoundEffect_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QSoundEffect_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QSoundEffect_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSoundEffect_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QSoundEffect_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSoundEffect : public virtual QSoundEffect { public: diff --git a/qt6/multimedia/gen_qvideoframe.cpp b/qt6/multimedia/gen_qvideoframe.cpp index 3b872112..d063cb7e 100644 --- a/qt6/multimedia/gen_qvideoframe.cpp +++ b/qt6/multimedia/gen_qvideoframe.cpp @@ -11,10 +11,13 @@ #include #include "gen_qvideoframe.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QVideoFrame* QVideoFrame_new() { return new QVideoFrame(); diff --git a/qt6/multimedia/gen_qvideoframeformat.cpp b/qt6/multimedia/gen_qvideoframeformat.cpp index c76c2ce3..3a5a0dfa 100644 --- a/qt6/multimedia/gen_qvideoframeformat.cpp +++ b/qt6/multimedia/gen_qvideoframeformat.cpp @@ -7,10 +7,13 @@ #include #include "gen_qvideoframeformat.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QVideoFrameFormat* QVideoFrameFormat_new() { return new QVideoFrameFormat(); diff --git a/qt6/multimedia/gen_qvideosink.cpp b/qt6/multimedia/gen_qvideosink.cpp index a71facb7..95cb4279 100644 --- a/qt6/multimedia/gen_qvideosink.cpp +++ b/qt6/multimedia/gen_qvideosink.cpp @@ -13,10 +13,23 @@ #include #include "gen_qvideosink.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QVideoSink_VideoFrameChanged(intptr_t, QVideoFrame*); +void miqt_exec_callback_QVideoSink_SubtitleTextChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QVideoSink_VideoSizeChanged(intptr_t); +bool miqt_exec_callback_QVideoSink_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QVideoSink_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QVideoSink_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QVideoSink_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QVideoSink_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QVideoSink_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QVideoSink_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQVideoSink : public virtual QVideoSink { public: diff --git a/qt6/multimedia/gen_qvideowidget.cpp b/qt6/multimedia/gen_qvideowidget.cpp index a0610faf..88aafe0e 100644 --- a/qt6/multimedia/gen_qvideowidget.cpp +++ b/qt6/multimedia/gen_qvideowidget.cpp @@ -36,10 +36,56 @@ #include #include "gen_qvideowidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QVideoWidget_FullScreenChanged(intptr_t, bool); +void miqt_exec_callback_QVideoWidget_AspectRatioModeChanged(intptr_t, int); +QSize* miqt_exec_callback_QVideoWidget_SizeHint(void*, intptr_t); +bool miqt_exec_callback_QVideoWidget_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QVideoWidget_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QVideoWidget_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QVideoWidget_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QVideoWidget_MoveEvent(void*, intptr_t, QMoveEvent*); +int miqt_exec_callback_QVideoWidget_DevType(void*, intptr_t); +void miqt_exec_callback_QVideoWidget_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QVideoWidget_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QVideoWidget_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QVideoWidget_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QVideoWidget_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QVideoWidget_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QVideoWidget_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QVideoWidget_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QVideoWidget_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QVideoWidget_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QVideoWidget_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QVideoWidget_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QVideoWidget_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QVideoWidget_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QVideoWidget_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QVideoWidget_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QVideoWidget_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QVideoWidget_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QVideoWidget_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QVideoWidget_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QVideoWidget_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QVideoWidget_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QVideoWidget_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QVideoWidget_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QVideoWidget_DropEvent(void*, intptr_t, QDropEvent*); +bool miqt_exec_callback_QVideoWidget_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +void miqt_exec_callback_QVideoWidget_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QVideoWidget_Metric(void*, intptr_t, int); +void miqt_exec_callback_QVideoWidget_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QVideoWidget_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QVideoWidget_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QVideoWidget_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QVideoWidget_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QVideoWidget_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQVideoWidget : public virtual QVideoWidget { public: diff --git a/qt6/multimedia/gen_qwavedecoder.cpp b/qt6/multimedia/gen_qwavedecoder.cpp index ecab44d9..852afb39 100644 --- a/qt6/multimedia/gen_qwavedecoder.cpp +++ b/qt6/multimedia/gen_qwavedecoder.cpp @@ -10,10 +10,30 @@ #include #include "gen_qwavedecoder.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWaveDecoder_FormatKnown(intptr_t); +void miqt_exec_callback_QWaveDecoder_ParsingError(intptr_t); +bool miqt_exec_callback_QWaveDecoder_Open(void*, intptr_t, int); +void miqt_exec_callback_QWaveDecoder_Close(void*, intptr_t); +bool miqt_exec_callback_QWaveDecoder_Seek(void*, intptr_t, long long); +long long miqt_exec_callback_QWaveDecoder_Pos(void*, intptr_t); +long long miqt_exec_callback_QWaveDecoder_Size(void*, intptr_t); +bool miqt_exec_callback_QWaveDecoder_IsSequential(void*, intptr_t); +long long miqt_exec_callback_QWaveDecoder_BytesAvailable(void*, intptr_t); +bool miqt_exec_callback_QWaveDecoder_AtEnd(void*, intptr_t); +bool miqt_exec_callback_QWaveDecoder_Reset(void*, intptr_t); +long long miqt_exec_callback_QWaveDecoder_BytesToWrite(void*, intptr_t); +bool miqt_exec_callback_QWaveDecoder_CanReadLine(void*, intptr_t); +bool miqt_exec_callback_QWaveDecoder_WaitForReadyRead(void*, intptr_t, int); +bool miqt_exec_callback_QWaveDecoder_WaitForBytesWritten(void*, intptr_t, int); +long long miqt_exec_callback_QWaveDecoder_ReadLineData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QWaveDecoder_SkipData(void*, intptr_t, long long); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWaveDecoder : public virtual QWaveDecoder { public: diff --git a/qt6/network/gen_qabstractnetworkcache.cpp b/qt6/network/gen_qabstractnetworkcache.cpp index 465be72d..dbb4d715 100644 --- a/qt6/network/gen_qabstractnetworkcache.cpp +++ b/qt6/network/gen_qabstractnetworkcache.cpp @@ -16,10 +16,13 @@ #include #include "gen_qabstractnetworkcache.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QNetworkCacheMetaData* QNetworkCacheMetaData_new() { return new QNetworkCacheMetaData(); diff --git a/qt6/network/gen_qabstractsocket.cpp b/qt6/network/gen_qabstractsocket.cpp index a46541af..517662b2 100644 --- a/qt6/network/gen_qabstractsocket.cpp +++ b/qt6/network/gen_qabstractsocket.cpp @@ -13,10 +13,47 @@ #include #include "gen_qabstractsocket.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractSocket_HostFound(intptr_t); +void miqt_exec_callback_QAbstractSocket_Connected(intptr_t); +void miqt_exec_callback_QAbstractSocket_Disconnected(intptr_t); +void miqt_exec_callback_QAbstractSocket_StateChanged(intptr_t, int); +void miqt_exec_callback_QAbstractSocket_ErrorOccurred(intptr_t, int); +void miqt_exec_callback_QAbstractSocket_ProxyAuthenticationRequired(intptr_t, QNetworkProxy*, QAuthenticator*); +void miqt_exec_callback_QAbstractSocket_Resume(void*, intptr_t); +bool miqt_exec_callback_QAbstractSocket_Bind(void*, intptr_t, QHostAddress*, uint16_t, int); +void miqt_exec_callback_QAbstractSocket_ConnectToHost(void*, intptr_t, struct miqt_string, uint16_t, int, int); +void miqt_exec_callback_QAbstractSocket_DisconnectFromHost(void*, intptr_t); +long long miqt_exec_callback_QAbstractSocket_BytesAvailable(void*, intptr_t); +long long miqt_exec_callback_QAbstractSocket_BytesToWrite(void*, intptr_t); +void miqt_exec_callback_QAbstractSocket_SetReadBufferSize(void*, intptr_t, long long); +intptr_t miqt_exec_callback_QAbstractSocket_SocketDescriptor(void*, intptr_t); +bool miqt_exec_callback_QAbstractSocket_SetSocketDescriptor(void*, intptr_t, intptr_t, int, int); +void miqt_exec_callback_QAbstractSocket_SetSocketOption(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QAbstractSocket_SocketOption(void*, intptr_t, int); +void miqt_exec_callback_QAbstractSocket_Close(void*, intptr_t); +bool miqt_exec_callback_QAbstractSocket_IsSequential(void*, intptr_t); +bool miqt_exec_callback_QAbstractSocket_WaitForConnected(void*, intptr_t, int); +bool miqt_exec_callback_QAbstractSocket_WaitForReadyRead(void*, intptr_t, int); +bool miqt_exec_callback_QAbstractSocket_WaitForBytesWritten(void*, intptr_t, int); +bool miqt_exec_callback_QAbstractSocket_WaitForDisconnected(void*, intptr_t, int); +long long miqt_exec_callback_QAbstractSocket_ReadData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QAbstractSocket_ReadLineData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QAbstractSocket_SkipData(void*, intptr_t, long long); +long long miqt_exec_callback_QAbstractSocket_WriteData(void*, intptr_t, const char*, long long); +bool miqt_exec_callback_QAbstractSocket_Open(void*, intptr_t, int); +long long miqt_exec_callback_QAbstractSocket_Pos(void*, intptr_t); +long long miqt_exec_callback_QAbstractSocket_Size(void*, intptr_t); +bool miqt_exec_callback_QAbstractSocket_Seek(void*, intptr_t, long long); +bool miqt_exec_callback_QAbstractSocket_AtEnd(void*, intptr_t); +bool miqt_exec_callback_QAbstractSocket_Reset(void*, intptr_t); +bool miqt_exec_callback_QAbstractSocket_CanReadLine(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractSocket : public virtual QAbstractSocket { public: diff --git a/qt6/network/gen_qauthenticator.cpp b/qt6/network/gen_qauthenticator.cpp index 6e687922..4734c67b 100644 --- a/qt6/network/gen_qauthenticator.cpp +++ b/qt6/network/gen_qauthenticator.cpp @@ -7,10 +7,13 @@ #include #include "gen_qauthenticator.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QAuthenticator* QAuthenticator_new() { return new QAuthenticator(); diff --git a/qt6/network/gen_qdnslookup.cpp b/qt6/network/gen_qdnslookup.cpp index cdcd2f7f..9435f5f9 100644 --- a/qt6/network/gen_qdnslookup.cpp +++ b/qt6/network/gen_qdnslookup.cpp @@ -19,10 +19,24 @@ #include #include "gen_qdnslookup.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QDnsLookup_Finished(intptr_t); +void miqt_exec_callback_QDnsLookup_NameChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QDnsLookup_TypeChanged(intptr_t, int); +void miqt_exec_callback_QDnsLookup_NameserverChanged(intptr_t, QHostAddress*); +bool miqt_exec_callback_QDnsLookup_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QDnsLookup_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QDnsLookup_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QDnsLookup_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QDnsLookup_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDnsLookup_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QDnsLookup_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QDnsDomainNameRecord* QDnsDomainNameRecord_new() { return new QDnsDomainNameRecord(); diff --git a/qt6/network/gen_qdtls.cpp b/qt6/network/gen_qdtls.cpp index 98948b57..6eba0b6b 100644 --- a/qt6/network/gen_qdtls.cpp +++ b/qt6/network/gen_qdtls.cpp @@ -21,10 +21,29 @@ #include #include "gen_qdtls.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QDtlsClientVerifier_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QDtlsClientVerifier_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QDtlsClientVerifier_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QDtlsClientVerifier_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QDtlsClientVerifier_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDtlsClientVerifier_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QDtlsClientVerifier_DisconnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QDtls_PskRequired(intptr_t, QSslPreSharedKeyAuthenticator*); +void miqt_exec_callback_QDtls_HandshakeTimeout(intptr_t); +bool miqt_exec_callback_QDtls_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QDtls_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QDtls_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QDtls_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QDtls_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QDtls_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QDtls_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQDtlsClientVerifier : public virtual QDtlsClientVerifier { public: diff --git a/qt6/network/gen_qhostaddress.cpp b/qt6/network/gen_qhostaddress.cpp index 75f93c67..8257e852 100644 --- a/qt6/network/gen_qhostaddress.cpp +++ b/qt6/network/gen_qhostaddress.cpp @@ -7,10 +7,13 @@ #include #include "gen_qhostaddress.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" unsigned char QIPv6Address_OperatorSubscript(const QIPv6Address* self, int index) { quint8 _ret = self->operator[](static_cast(index)); diff --git a/qt6/network/gen_qhostinfo.cpp b/qt6/network/gen_qhostinfo.cpp index 591faeec..e52a7472 100644 --- a/qt6/network/gen_qhostinfo.cpp +++ b/qt6/network/gen_qhostinfo.cpp @@ -7,10 +7,13 @@ #include #include "gen_qhostinfo.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QHostInfo* QHostInfo_new() { return new QHostInfo(); diff --git a/qt6/network/gen_qhstspolicy.cpp b/qt6/network/gen_qhstspolicy.cpp index d3654787..312548f9 100644 --- a/qt6/network/gen_qhstspolicy.cpp +++ b/qt6/network/gen_qhstspolicy.cpp @@ -6,10 +6,13 @@ #include #include "gen_qhstspolicy.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QHstsPolicy* QHstsPolicy_new() { return new QHstsPolicy(); diff --git a/qt6/network/gen_qhttp2configuration.cpp b/qt6/network/gen_qhttp2configuration.cpp index a7d889b8..995187a2 100644 --- a/qt6/network/gen_qhttp2configuration.cpp +++ b/qt6/network/gen_qhttp2configuration.cpp @@ -2,10 +2,13 @@ #include #include "gen_qhttp2configuration.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QHttp2Configuration* QHttp2Configuration_new() { return new QHttp2Configuration(); diff --git a/qt6/network/gen_qhttpmultipart.cpp b/qt6/network/gen_qhttpmultipart.cpp index 0bfc8d17..7fe96c5f 100644 --- a/qt6/network/gen_qhttpmultipart.cpp +++ b/qt6/network/gen_qhttpmultipart.cpp @@ -15,10 +15,20 @@ #include #include "gen_qhttpmultipart.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QHttpMultiPart_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QHttpMultiPart_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QHttpMultiPart_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QHttpMultiPart_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QHttpMultiPart_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QHttpMultiPart_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QHttpMultiPart_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QHttpPart* QHttpPart_new() { return new QHttpPart(); diff --git a/qt6/network/gen_qlocalserver.cpp b/qt6/network/gen_qlocalserver.cpp index 45e5a0ce..ef49d5f6 100644 --- a/qt6/network/gen_qlocalserver.cpp +++ b/qt6/network/gen_qlocalserver.cpp @@ -12,10 +12,24 @@ #include #include "gen_qlocalserver.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QLocalServer_NewConnection(intptr_t); +bool miqt_exec_callback_QLocalServer_HasPendingConnections(void*, intptr_t); +QLocalSocket* miqt_exec_callback_QLocalServer_NextPendingConnection(void*, intptr_t); +void miqt_exec_callback_QLocalServer_IncomingConnection(void*, intptr_t, uintptr_t); +bool miqt_exec_callback_QLocalServer_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QLocalServer_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QLocalServer_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QLocalServer_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QLocalServer_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QLocalServer_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QLocalServer_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQLocalServer : public virtual QLocalServer { public: diff --git a/qt6/network/gen_qlocalsocket.cpp b/qt6/network/gen_qlocalsocket.cpp index d8b55241..f3082907 100644 --- a/qt6/network/gen_qlocalsocket.cpp +++ b/qt6/network/gen_qlocalsocket.cpp @@ -9,10 +9,34 @@ #include #include "gen_qlocalsocket.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QLocalSocket_Connected(intptr_t); +void miqt_exec_callback_QLocalSocket_Disconnected(intptr_t); +void miqt_exec_callback_QLocalSocket_ErrorOccurred(intptr_t, int); +void miqt_exec_callback_QLocalSocket_StateChanged(intptr_t, int); +bool miqt_exec_callback_QLocalSocket_IsSequential(void*, intptr_t); +long long miqt_exec_callback_QLocalSocket_BytesAvailable(void*, intptr_t); +long long miqt_exec_callback_QLocalSocket_BytesToWrite(void*, intptr_t); +bool miqt_exec_callback_QLocalSocket_CanReadLine(void*, intptr_t); +bool miqt_exec_callback_QLocalSocket_Open(void*, intptr_t, int); +void miqt_exec_callback_QLocalSocket_Close(void*, intptr_t); +bool miqt_exec_callback_QLocalSocket_WaitForBytesWritten(void*, intptr_t, int); +bool miqt_exec_callback_QLocalSocket_WaitForReadyRead(void*, intptr_t, int); +long long miqt_exec_callback_QLocalSocket_ReadData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QLocalSocket_ReadLineData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QLocalSocket_SkipData(void*, intptr_t, long long); +long long miqt_exec_callback_QLocalSocket_WriteData(void*, intptr_t, const char*, long long); +long long miqt_exec_callback_QLocalSocket_Pos(void*, intptr_t); +long long miqt_exec_callback_QLocalSocket_Size(void*, intptr_t); +bool miqt_exec_callback_QLocalSocket_Seek(void*, intptr_t, long long); +bool miqt_exec_callback_QLocalSocket_AtEnd(void*, intptr_t); +bool miqt_exec_callback_QLocalSocket_Reset(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQLocalSocket : public virtual QLocalSocket { public: diff --git a/qt6/network/gen_qnetworkaccessmanager.cpp b/qt6/network/gen_qnetworkaccessmanager.cpp index c77431bd..75773aac 100644 --- a/qt6/network/gen_qnetworkaccessmanager.cpp +++ b/qt6/network/gen_qnetworkaccessmanager.cpp @@ -26,10 +26,28 @@ #include #include "gen_qnetworkaccessmanager.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QNetworkAccessManager_ProxyAuthenticationRequired(intptr_t, QNetworkProxy*, QAuthenticator*); +void miqt_exec_callback_QNetworkAccessManager_AuthenticationRequired(intptr_t, QNetworkReply*, QAuthenticator*); +void miqt_exec_callback_QNetworkAccessManager_Finished(intptr_t, QNetworkReply*); +void miqt_exec_callback_QNetworkAccessManager_Encrypted(intptr_t, QNetworkReply*); +void miqt_exec_callback_QNetworkAccessManager_SslErrors(intptr_t, QNetworkReply*, struct miqt_array /* of QSslError* */ ); +void miqt_exec_callback_QNetworkAccessManager_PreSharedKeyAuthenticationRequired(intptr_t, QNetworkReply*, QSslPreSharedKeyAuthenticator*); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QNetworkAccessManager_SupportedSchemes(void*, intptr_t); +QNetworkReply* miqt_exec_callback_QNetworkAccessManager_CreateRequest(void*, intptr_t, int, QNetworkRequest*, QIODevice*); +bool miqt_exec_callback_QNetworkAccessManager_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QNetworkAccessManager_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QNetworkAccessManager_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QNetworkAccessManager_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QNetworkAccessManager_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QNetworkAccessManager_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QNetworkAccessManager_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQNetworkAccessManager : public virtual QNetworkAccessManager { public: diff --git a/qt6/network/gen_qnetworkcookie.cpp b/qt6/network/gen_qnetworkcookie.cpp index 37ffd757..e252842a 100644 --- a/qt6/network/gen_qnetworkcookie.cpp +++ b/qt6/network/gen_qnetworkcookie.cpp @@ -9,10 +9,13 @@ #include #include "gen_qnetworkcookie.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QNetworkCookie* QNetworkCookie_new() { return new QNetworkCookie(); diff --git a/qt6/network/gen_qnetworkcookiejar.cpp b/qt6/network/gen_qnetworkcookiejar.cpp index b4cfff84..2d2d0199 100644 --- a/qt6/network/gen_qnetworkcookiejar.cpp +++ b/qt6/network/gen_qnetworkcookiejar.cpp @@ -14,10 +14,26 @@ #include #include "gen_qnetworkcookiejar.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +struct miqt_array /* of QNetworkCookie* */ miqt_exec_callback_QNetworkCookieJar_CookiesForUrl(void*, intptr_t, QUrl*); +bool miqt_exec_callback_QNetworkCookieJar_SetCookiesFromUrl(void*, intptr_t, struct miqt_array /* of QNetworkCookie* */ , QUrl*); +bool miqt_exec_callback_QNetworkCookieJar_InsertCookie(void*, intptr_t, QNetworkCookie*); +bool miqt_exec_callback_QNetworkCookieJar_UpdateCookie(void*, intptr_t, QNetworkCookie*); +bool miqt_exec_callback_QNetworkCookieJar_DeleteCookie(void*, intptr_t, QNetworkCookie*); +bool miqt_exec_callback_QNetworkCookieJar_ValidateCookie(void*, intptr_t, QNetworkCookie*, QUrl*); +bool miqt_exec_callback_QNetworkCookieJar_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QNetworkCookieJar_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QNetworkCookieJar_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QNetworkCookieJar_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QNetworkCookieJar_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QNetworkCookieJar_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QNetworkCookieJar_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQNetworkCookieJar : public virtual QNetworkCookieJar { public: diff --git a/qt6/network/gen_qnetworkdatagram.cpp b/qt6/network/gen_qnetworkdatagram.cpp index 35a0190c..9b536a37 100644 --- a/qt6/network/gen_qnetworkdatagram.cpp +++ b/qt6/network/gen_qnetworkdatagram.cpp @@ -4,10 +4,13 @@ #include #include "gen_qnetworkdatagram.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QNetworkDatagram* QNetworkDatagram_new() { return new QNetworkDatagram(); diff --git a/qt6/network/gen_qnetworkdiskcache.cpp b/qt6/network/gen_qnetworkdiskcache.cpp index 570a52ef..bbbd5b39 100644 --- a/qt6/network/gen_qnetworkdiskcache.cpp +++ b/qt6/network/gen_qnetworkdiskcache.cpp @@ -11,10 +11,22 @@ #include #include "gen_qnetworkdiskcache.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +long long miqt_exec_callback_QNetworkDiskCache_CacheSize(void*, intptr_t); +QNetworkCacheMetaData* miqt_exec_callback_QNetworkDiskCache_MetaData(void*, intptr_t, QUrl*); +void miqt_exec_callback_QNetworkDiskCache_UpdateMetaData(void*, intptr_t, QNetworkCacheMetaData*); +QIODevice* miqt_exec_callback_QNetworkDiskCache_Data(void*, intptr_t, QUrl*); +bool miqt_exec_callback_QNetworkDiskCache_Remove(void*, intptr_t, QUrl*); +QIODevice* miqt_exec_callback_QNetworkDiskCache_Prepare(void*, intptr_t, QNetworkCacheMetaData*); +void miqt_exec_callback_QNetworkDiskCache_Insert(void*, intptr_t, QIODevice*); +void miqt_exec_callback_QNetworkDiskCache_Clear(void*, intptr_t); +long long miqt_exec_callback_QNetworkDiskCache_Expire(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQNetworkDiskCache : public virtual QNetworkDiskCache { public: diff --git a/qt6/network/gen_qnetworkinformation.cpp b/qt6/network/gen_qnetworkinformation.cpp index d76bb2c1..6e4f6c8e 100644 --- a/qt6/network/gen_qnetworkinformation.cpp +++ b/qt6/network/gen_qnetworkinformation.cpp @@ -8,10 +8,17 @@ #include #include "gen_qnetworkinformation.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QNetworkInformation_ReachabilityChanged(intptr_t, int); +void miqt_exec_callback_QNetworkInformation_IsBehindCaptivePortalChanged(intptr_t, bool); +void miqt_exec_callback_QNetworkInformation_TransportMediumChanged(intptr_t, int); +void miqt_exec_callback_QNetworkInformation_IsMeteredChanged(intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QNetworkInformation_virtbase(QNetworkInformation* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt6/network/gen_qnetworkinterface.cpp b/qt6/network/gen_qnetworkinterface.cpp index d4852148..3355b216 100644 --- a/qt6/network/gen_qnetworkinterface.cpp +++ b/qt6/network/gen_qnetworkinterface.cpp @@ -9,10 +9,13 @@ #include #include "gen_qnetworkinterface.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QNetworkAddressEntry* QNetworkAddressEntry_new() { return new QNetworkAddressEntry(); diff --git a/qt6/network/gen_qnetworkproxy.cpp b/qt6/network/gen_qnetworkproxy.cpp index a9887df9..1bad5c40 100644 --- a/qt6/network/gen_qnetworkproxy.cpp +++ b/qt6/network/gen_qnetworkproxy.cpp @@ -11,10 +11,14 @@ #include #include "gen_qnetworkproxy.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +struct miqt_array /* of QNetworkProxy* */ miqt_exec_callback_QNetworkProxyFactory_QueryProxy(void*, intptr_t, QNetworkProxyQuery*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QNetworkProxyQuery* QNetworkProxyQuery_new() { return new QNetworkProxyQuery(); diff --git a/qt6/network/gen_qnetworkreply.cpp b/qt6/network/gen_qnetworkreply.cpp index 650705a3..d235787a 100644 --- a/qt6/network/gen_qnetworkreply.cpp +++ b/qt6/network/gen_qnetworkreply.cpp @@ -19,10 +19,25 @@ #include #include "gen_qnetworkreply.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QNetworkReply_SocketStartedConnecting(intptr_t); +void miqt_exec_callback_QNetworkReply_RequestSent(intptr_t); +void miqt_exec_callback_QNetworkReply_MetaDataChanged(intptr_t); +void miqt_exec_callback_QNetworkReply_Finished(intptr_t); +void miqt_exec_callback_QNetworkReply_ErrorOccurred(intptr_t, int); +void miqt_exec_callback_QNetworkReply_Encrypted(intptr_t); +void miqt_exec_callback_QNetworkReply_SslErrors(intptr_t, struct miqt_array /* of QSslError* */ ); +void miqt_exec_callback_QNetworkReply_PreSharedKeyAuthenticationRequired(intptr_t, QSslPreSharedKeyAuthenticator*); +void miqt_exec_callback_QNetworkReply_Redirected(intptr_t, QUrl*); +void miqt_exec_callback_QNetworkReply_RedirectAllowed(intptr_t); +void miqt_exec_callback_QNetworkReply_UploadProgress(intptr_t, long long, long long); +void miqt_exec_callback_QNetworkReply_DownloadProgress(intptr_t, long long, long long); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QNetworkReply_virtbase(QNetworkReply* src, QIODevice** outptr_QIODevice) { *outptr_QIODevice = static_cast(src); diff --git a/qt6/network/gen_qnetworkrequest.cpp b/qt6/network/gen_qnetworkrequest.cpp index 4888c3ba..fe583911 100644 --- a/qt6/network/gen_qnetworkrequest.cpp +++ b/qt6/network/gen_qnetworkrequest.cpp @@ -12,10 +12,13 @@ #include #include "gen_qnetworkrequest.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QNetworkRequest* QNetworkRequest_new() { return new QNetworkRequest(); diff --git a/qt6/network/gen_qocspresponse.cpp b/qt6/network/gen_qocspresponse.cpp index f6b7f4d0..b20f6308 100644 --- a/qt6/network/gen_qocspresponse.cpp +++ b/qt6/network/gen_qocspresponse.cpp @@ -3,10 +3,13 @@ #include #include "gen_qocspresponse.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QOcspResponse* QOcspResponse_new() { return new QOcspResponse(); diff --git a/qt6/network/gen_qsctpserver.cpp b/qt6/network/gen_qsctpserver.cpp index bd15cb58..d9c5d19c 100644 --- a/qt6/network/gen_qsctpserver.cpp +++ b/qt6/network/gen_qsctpserver.cpp @@ -10,10 +10,16 @@ #include #include "gen_qsctpserver.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSctpServer_IncomingConnection(void*, intptr_t, intptr_t); +bool miqt_exec_callback_QSctpServer_HasPendingConnections(void*, intptr_t); +QTcpSocket* miqt_exec_callback_QSctpServer_NextPendingConnection(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSctpServer : public virtual QSctpServer { public: diff --git a/qt6/network/gen_qsctpsocket.cpp b/qt6/network/gen_qsctpsocket.cpp index 2bc07d24..0d07b2f0 100644 --- a/qt6/network/gen_qsctpsocket.cpp +++ b/qt6/network/gen_qsctpsocket.cpp @@ -12,10 +12,17 @@ #include #include "gen_qsctpsocket.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSctpSocket_Close(void*, intptr_t); +void miqt_exec_callback_QSctpSocket_DisconnectFromHost(void*, intptr_t); +long long miqt_exec_callback_QSctpSocket_ReadData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QSctpSocket_ReadLineData(void*, intptr_t, char*, long long); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSctpSocket : public virtual QSctpSocket { public: diff --git a/qt6/network/gen_qssl.cpp b/qt6/network/gen_qssl.cpp index 3af889c7..3df8a605 100644 --- a/qt6/network/gen_qssl.cpp +++ b/qt6/network/gen_qssl.cpp @@ -1,8 +1,11 @@ #include #include "gen_qssl.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" diff --git a/qt6/network/gen_qsslcertificate.cpp b/qt6/network/gen_qsslcertificate.cpp index 9cb236a5..22c82dac 100644 --- a/qt6/network/gen_qsslcertificate.cpp +++ b/qt6/network/gen_qsslcertificate.cpp @@ -12,10 +12,13 @@ #include #include "gen_qsslcertificate.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSslCertificate* QSslCertificate_new(QIODevice* device) { return new QSslCertificate(device); diff --git a/qt6/network/gen_qsslcertificateextension.cpp b/qt6/network/gen_qsslcertificateextension.cpp index 3d723f19..04dbece5 100644 --- a/qt6/network/gen_qsslcertificateextension.cpp +++ b/qt6/network/gen_qsslcertificateextension.cpp @@ -6,10 +6,13 @@ #include #include "gen_qsslcertificateextension.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSslCertificateExtension* QSslCertificateExtension_new() { return new QSslCertificateExtension(); diff --git a/qt6/network/gen_qsslcipher.cpp b/qt6/network/gen_qsslcipher.cpp index 9c2bdbdf..3baba36e 100644 --- a/qt6/network/gen_qsslcipher.cpp +++ b/qt6/network/gen_qsslcipher.cpp @@ -5,10 +5,13 @@ #include #include "gen_qsslcipher.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSslCipher* QSslCipher_new() { return new QSslCipher(); diff --git a/qt6/network/gen_qsslconfiguration.cpp b/qt6/network/gen_qsslconfiguration.cpp index 4ba07802..a83ee0b9 100644 --- a/qt6/network/gen_qsslconfiguration.cpp +++ b/qt6/network/gen_qsslconfiguration.cpp @@ -13,10 +13,13 @@ #include #include "gen_qsslconfiguration.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSslConfiguration* QSslConfiguration_new() { return new QSslConfiguration(); diff --git a/qt6/network/gen_qssldiffiehellmanparameters.cpp b/qt6/network/gen_qssldiffiehellmanparameters.cpp index 69e098ff..17dd89b9 100644 --- a/qt6/network/gen_qssldiffiehellmanparameters.cpp +++ b/qt6/network/gen_qssldiffiehellmanparameters.cpp @@ -7,10 +7,13 @@ #include #include "gen_qssldiffiehellmanparameters.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSslDiffieHellmanParameters* QSslDiffieHellmanParameters_new() { return new QSslDiffieHellmanParameters(); diff --git a/qt6/network/gen_qsslellipticcurve.cpp b/qt6/network/gen_qsslellipticcurve.cpp index 67d03efd..a2d35662 100644 --- a/qt6/network/gen_qsslellipticcurve.cpp +++ b/qt6/network/gen_qsslellipticcurve.cpp @@ -5,10 +5,13 @@ #include #include "gen_qsslellipticcurve.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSslEllipticCurve* QSslEllipticCurve_new() { return new QSslEllipticCurve(); diff --git a/qt6/network/gen_qsslerror.cpp b/qt6/network/gen_qsslerror.cpp index 9ae98a64..9c9b1a4a 100644 --- a/qt6/network/gen_qsslerror.cpp +++ b/qt6/network/gen_qsslerror.cpp @@ -6,10 +6,13 @@ #include #include "gen_qsslerror.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSslError* QSslError_new() { return new QSslError(); diff --git a/qt6/network/gen_qsslkey.cpp b/qt6/network/gen_qsslkey.cpp index 8e809cae..76ff42e6 100644 --- a/qt6/network/gen_qsslkey.cpp +++ b/qt6/network/gen_qsslkey.cpp @@ -4,10 +4,13 @@ #include #include "gen_qsslkey.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSslKey* QSslKey_new() { return new QSslKey(); diff --git a/qt6/network/gen_qsslpresharedkeyauthenticator.cpp b/qt6/network/gen_qsslpresharedkeyauthenticator.cpp index dc62188f..4297ae2a 100644 --- a/qt6/network/gen_qsslpresharedkeyauthenticator.cpp +++ b/qt6/network/gen_qsslpresharedkeyauthenticator.cpp @@ -3,10 +3,13 @@ #include #include "gen_qsslpresharedkeyauthenticator.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QSslPreSharedKeyAuthenticator* QSslPreSharedKeyAuthenticator_new() { return new QSslPreSharedKeyAuthenticator(); diff --git a/qt6/network/gen_qsslserver.cpp b/qt6/network/gen_qsslserver.cpp index 3f56ded2..9222d126 100644 --- a/qt6/network/gen_qsslserver.cpp +++ b/qt6/network/gen_qsslserver.cpp @@ -14,10 +14,24 @@ #include #include "gen_qsslserver.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSslServer_SslErrors(intptr_t, QSslSocket*, struct miqt_array /* of QSslError* */ ); +void miqt_exec_callback_QSslServer_PeerVerifyError(intptr_t, QSslSocket*, QSslError*); +void miqt_exec_callback_QSslServer_ErrorOccurred(intptr_t, QSslSocket*, int); +void miqt_exec_callback_QSslServer_PreSharedKeyAuthenticationRequired(intptr_t, QSslSocket*, QSslPreSharedKeyAuthenticator*); +void miqt_exec_callback_QSslServer_AlertSent(intptr_t, QSslSocket*, int, int, struct miqt_string); +void miqt_exec_callback_QSslServer_AlertReceived(intptr_t, QSslSocket*, int, int, struct miqt_string); +void miqt_exec_callback_QSslServer_HandshakeInterruptedOnError(intptr_t, QSslSocket*, QSslError*); +void miqt_exec_callback_QSslServer_StartedEncryptionHandshake(intptr_t, QSslSocket*); +void miqt_exec_callback_QSslServer_IncomingConnection(void*, intptr_t, intptr_t); +bool miqt_exec_callback_QSslServer_HasPendingConnections(void*, intptr_t); +QTcpSocket* miqt_exec_callback_QSslServer_NextPendingConnection(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSslServer : public virtual QSslServer { public: diff --git a/qt6/network/gen_qsslsocket.cpp b/qt6/network/gen_qsslsocket.cpp index 3bca34db..baeeffe7 100644 --- a/qt6/network/gen_qsslsocket.cpp +++ b/qt6/network/gen_qsslsocket.cpp @@ -21,10 +21,42 @@ #include #include "gen_qsslsocket.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSslSocket_Encrypted(intptr_t); +void miqt_exec_callback_QSslSocket_PeerVerifyError(intptr_t, QSslError*); +void miqt_exec_callback_QSslSocket_SslErrors(intptr_t, struct miqt_array /* of QSslError* */ ); +void miqt_exec_callback_QSslSocket_ModeChanged(intptr_t, int); +void miqt_exec_callback_QSslSocket_EncryptedBytesWritten(intptr_t, long long); +void miqt_exec_callback_QSslSocket_PreSharedKeyAuthenticationRequired(intptr_t, QSslPreSharedKeyAuthenticator*); +void miqt_exec_callback_QSslSocket_NewSessionTicketReceived(intptr_t); +void miqt_exec_callback_QSslSocket_AlertSent(intptr_t, int, int, struct miqt_string); +void miqt_exec_callback_QSslSocket_AlertReceived(intptr_t, int, int, struct miqt_string); +void miqt_exec_callback_QSslSocket_HandshakeInterruptedOnError(intptr_t, QSslError*); +void miqt_exec_callback_QSslSocket_Resume(void*, intptr_t); +bool miqt_exec_callback_QSslSocket_SetSocketDescriptor(void*, intptr_t, intptr_t, int, int); +void miqt_exec_callback_QSslSocket_ConnectToHost(void*, intptr_t, struct miqt_string, uint16_t, int, int); +void miqt_exec_callback_QSslSocket_DisconnectFromHost(void*, intptr_t); +void miqt_exec_callback_QSslSocket_SetSocketOption(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QSslSocket_SocketOption(void*, intptr_t, int); +long long miqt_exec_callback_QSslSocket_BytesAvailable(void*, intptr_t); +long long miqt_exec_callback_QSslSocket_BytesToWrite(void*, intptr_t); +bool miqt_exec_callback_QSslSocket_CanReadLine(void*, intptr_t); +void miqt_exec_callback_QSslSocket_Close(void*, intptr_t); +bool miqt_exec_callback_QSslSocket_AtEnd(void*, intptr_t); +void miqt_exec_callback_QSslSocket_SetReadBufferSize(void*, intptr_t, long long); +bool miqt_exec_callback_QSslSocket_WaitForConnected(void*, intptr_t, int); +bool miqt_exec_callback_QSslSocket_WaitForReadyRead(void*, intptr_t, int); +bool miqt_exec_callback_QSslSocket_WaitForBytesWritten(void*, intptr_t, int); +bool miqt_exec_callback_QSslSocket_WaitForDisconnected(void*, intptr_t, int); +long long miqt_exec_callback_QSslSocket_ReadData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QSslSocket_SkipData(void*, intptr_t, long long); +long long miqt_exec_callback_QSslSocket_WriteData(void*, intptr_t, const char*, long long); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSslSocket : public virtual QSslSocket { public: diff --git a/qt6/network/gen_qtcpserver.cpp b/qt6/network/gen_qtcpserver.cpp index 490a7c9f..dffa1ac1 100644 --- a/qt6/network/gen_qtcpserver.cpp +++ b/qt6/network/gen_qtcpserver.cpp @@ -14,10 +14,25 @@ #include #include "gen_qtcpserver.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QTcpServer_NewConnection(intptr_t); +void miqt_exec_callback_QTcpServer_AcceptError(intptr_t, int); +bool miqt_exec_callback_QTcpServer_HasPendingConnections(void*, intptr_t); +QTcpSocket* miqt_exec_callback_QTcpServer_NextPendingConnection(void*, intptr_t); +void miqt_exec_callback_QTcpServer_IncomingConnection(void*, intptr_t, intptr_t); +bool miqt_exec_callback_QTcpServer_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QTcpServer_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QTcpServer_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QTcpServer_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QTcpServer_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QTcpServer_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QTcpServer_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTcpServer : public virtual QTcpServer { public: diff --git a/qt6/network/gen_qtcpsocket.cpp b/qt6/network/gen_qtcpsocket.cpp index 8ca1c48d..f9f0dc3a 100644 --- a/qt6/network/gen_qtcpsocket.cpp +++ b/qt6/network/gen_qtcpsocket.cpp @@ -12,10 +12,34 @@ #include #include "gen_qtcpsocket.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QTcpSocket_Resume(void*, intptr_t); +bool miqt_exec_callback_QTcpSocket_Bind(void*, intptr_t, QHostAddress*, uint16_t, int); +void miqt_exec_callback_QTcpSocket_ConnectToHost(void*, intptr_t, struct miqt_string, uint16_t, int, int); +void miqt_exec_callback_QTcpSocket_DisconnectFromHost(void*, intptr_t); +long long miqt_exec_callback_QTcpSocket_BytesAvailable(void*, intptr_t); +long long miqt_exec_callback_QTcpSocket_BytesToWrite(void*, intptr_t); +void miqt_exec_callback_QTcpSocket_SetReadBufferSize(void*, intptr_t, long long); +intptr_t miqt_exec_callback_QTcpSocket_SocketDescriptor(void*, intptr_t); +bool miqt_exec_callback_QTcpSocket_SetSocketDescriptor(void*, intptr_t, intptr_t, int, int); +void miqt_exec_callback_QTcpSocket_SetSocketOption(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QTcpSocket_SocketOption(void*, intptr_t, int); +void miqt_exec_callback_QTcpSocket_Close(void*, intptr_t); +bool miqt_exec_callback_QTcpSocket_IsSequential(void*, intptr_t); +bool miqt_exec_callback_QTcpSocket_WaitForConnected(void*, intptr_t, int); +bool miqt_exec_callback_QTcpSocket_WaitForReadyRead(void*, intptr_t, int); +bool miqt_exec_callback_QTcpSocket_WaitForBytesWritten(void*, intptr_t, int); +bool miqt_exec_callback_QTcpSocket_WaitForDisconnected(void*, intptr_t, int); +long long miqt_exec_callback_QTcpSocket_ReadData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QTcpSocket_ReadLineData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QTcpSocket_SkipData(void*, intptr_t, long long); +long long miqt_exec_callback_QTcpSocket_WriteData(void*, intptr_t, const char*, long long); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQTcpSocket : public virtual QTcpSocket { public: diff --git a/qt6/network/gen_qudpsocket.cpp b/qt6/network/gen_qudpsocket.cpp index 39efe633..3fdc6225 100644 --- a/qt6/network/gen_qudpsocket.cpp +++ b/qt6/network/gen_qudpsocket.cpp @@ -15,10 +15,34 @@ #include #include "gen_qudpsocket.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QUdpSocket_Resume(void*, intptr_t); +bool miqt_exec_callback_QUdpSocket_Bind(void*, intptr_t, QHostAddress*, uint16_t, int); +void miqt_exec_callback_QUdpSocket_ConnectToHost(void*, intptr_t, struct miqt_string, uint16_t, int, int); +void miqt_exec_callback_QUdpSocket_DisconnectFromHost(void*, intptr_t); +long long miqt_exec_callback_QUdpSocket_BytesAvailable(void*, intptr_t); +long long miqt_exec_callback_QUdpSocket_BytesToWrite(void*, intptr_t); +void miqt_exec_callback_QUdpSocket_SetReadBufferSize(void*, intptr_t, long long); +intptr_t miqt_exec_callback_QUdpSocket_SocketDescriptor(void*, intptr_t); +bool miqt_exec_callback_QUdpSocket_SetSocketDescriptor(void*, intptr_t, intptr_t, int, int); +void miqt_exec_callback_QUdpSocket_SetSocketOption(void*, intptr_t, int, QVariant*); +QVariant* miqt_exec_callback_QUdpSocket_SocketOption(void*, intptr_t, int); +void miqt_exec_callback_QUdpSocket_Close(void*, intptr_t); +bool miqt_exec_callback_QUdpSocket_IsSequential(void*, intptr_t); +bool miqt_exec_callback_QUdpSocket_WaitForConnected(void*, intptr_t, int); +bool miqt_exec_callback_QUdpSocket_WaitForReadyRead(void*, intptr_t, int); +bool miqt_exec_callback_QUdpSocket_WaitForBytesWritten(void*, intptr_t, int); +bool miqt_exec_callback_QUdpSocket_WaitForDisconnected(void*, intptr_t, int); +long long miqt_exec_callback_QUdpSocket_ReadData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QUdpSocket_ReadLineData(void*, intptr_t, char*, long long); +long long miqt_exec_callback_QUdpSocket_SkipData(void*, intptr_t, long long); +long long miqt_exec_callback_QUdpSocket_WriteData(void*, intptr_t, const char*, long long); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQUdpSocket : public virtual QUdpSocket { public: diff --git a/qt6/printsupport/gen_qabstractprintdialog.cpp b/qt6/printsupport/gen_qabstractprintdialog.cpp index 0b0d0b2d..aae486de 100644 --- a/qt6/printsupport/gen_qabstractprintdialog.cpp +++ b/qt6/printsupport/gen_qabstractprintdialog.cpp @@ -19,10 +19,27 @@ #include #include "gen_qabstractprintdialog.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAbstractPrintDialog_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QAbstractPrintDialog_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QAbstractPrintDialog_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QAbstractPrintDialog_Open(void*, intptr_t); +int miqt_exec_callback_QAbstractPrintDialog_Exec(void*, intptr_t); +void miqt_exec_callback_QAbstractPrintDialog_Done(void*, intptr_t, int); +void miqt_exec_callback_QAbstractPrintDialog_Accept(void*, intptr_t); +void miqt_exec_callback_QAbstractPrintDialog_Reject(void*, intptr_t); +void miqt_exec_callback_QAbstractPrintDialog_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QAbstractPrintDialog_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QAbstractPrintDialog_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QAbstractPrintDialog_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QAbstractPrintDialog_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QAbstractPrintDialog_EventFilter(void*, intptr_t, QObject*, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAbstractPrintDialog : public virtual QAbstractPrintDialog { public: diff --git a/qt6/printsupport/gen_qpagesetupdialog.cpp b/qt6/printsupport/gen_qpagesetupdialog.cpp index a21a1c47..0c987932 100644 --- a/qt6/printsupport/gen_qpagesetupdialog.cpp +++ b/qt6/printsupport/gen_qpagesetupdialog.cpp @@ -18,10 +18,27 @@ #include #include "gen_qpagesetupdialog.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QPageSetupDialog_Exec(void*, intptr_t); +void miqt_exec_callback_QPageSetupDialog_Done(void*, intptr_t, int); +void miqt_exec_callback_QPageSetupDialog_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QPageSetupDialog_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QPageSetupDialog_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QPageSetupDialog_Open(void*, intptr_t); +void miqt_exec_callback_QPageSetupDialog_Accept(void*, intptr_t); +void miqt_exec_callback_QPageSetupDialog_Reject(void*, intptr_t); +void miqt_exec_callback_QPageSetupDialog_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QPageSetupDialog_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QPageSetupDialog_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QPageSetupDialog_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QPageSetupDialog_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QPageSetupDialog_EventFilter(void*, intptr_t, QObject*, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPageSetupDialog : public virtual QPageSetupDialog { public: diff --git a/qt6/printsupport/gen_qprintdialog.cpp b/qt6/printsupport/gen_qprintdialog.cpp index 21d529ef..0cfdbd55 100644 --- a/qt6/printsupport/gen_qprintdialog.cpp +++ b/qt6/printsupport/gen_qprintdialog.cpp @@ -12,10 +12,18 @@ #include #include "gen_qprintdialog.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QPrintDialog_Accepted(intptr_t, QPrinter*); +int miqt_exec_callback_QPrintDialog_Exec(void*, intptr_t); +void miqt_exec_callback_QPrintDialog_Accept(void*, intptr_t); +void miqt_exec_callback_QPrintDialog_Done(void*, intptr_t, int); +void miqt_exec_callback_QPrintDialog_SetVisible(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPrintDialog : public virtual QPrintDialog { public: diff --git a/qt6/printsupport/gen_qprintengine.cpp b/qt6/printsupport/gen_qprintengine.cpp index 060e9122..a5b54750 100644 --- a/qt6/printsupport/gen_qprintengine.cpp +++ b/qt6/printsupport/gen_qprintengine.cpp @@ -3,10 +3,13 @@ #include #include "gen_qprintengine.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QPrintEngine_SetProperty(QPrintEngine* self, int key, QVariant* value) { self->setProperty(static_cast(key), *value); diff --git a/qt6/printsupport/gen_qprinter.cpp b/qt6/printsupport/gen_qprinter.cpp index a3e17d8b..11eca9d2 100644 --- a/qt6/printsupport/gen_qprinter.cpp +++ b/qt6/printsupport/gen_qprinter.cpp @@ -16,10 +16,22 @@ #include #include "gen_qprinter.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +int miqt_exec_callback_QPrinter_DevType(void*, intptr_t); +bool miqt_exec_callback_QPrinter_NewPage(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QPrinter_PaintEngine(void*, intptr_t); +int miqt_exec_callback_QPrinter_Metric(void*, intptr_t, int); +bool miqt_exec_callback_QPrinter_SetPageLayout(void*, intptr_t, QPageLayout*); +bool miqt_exec_callback_QPrinter_SetPageSize(void*, intptr_t, QPageSize*); +bool miqt_exec_callback_QPrinter_SetPageOrientation(void*, intptr_t, int); +bool miqt_exec_callback_QPrinter_SetPageMargins(void*, intptr_t, QMarginsF*, int); +void miqt_exec_callback_QPrinter_SetPageRanges(void*, intptr_t, QPageRanges*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPrinter : public virtual QPrinter { public: diff --git a/qt6/printsupport/gen_qprinterinfo.cpp b/qt6/printsupport/gen_qprinterinfo.cpp index f01bc821..53adca87 100644 --- a/qt6/printsupport/gen_qprinterinfo.cpp +++ b/qt6/printsupport/gen_qprinterinfo.cpp @@ -8,10 +8,13 @@ #include #include "gen_qprinterinfo.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QPrinterInfo* QPrinterInfo_new() { return new QPrinterInfo(); diff --git a/qt6/printsupport/gen_qprintpreviewdialog.cpp b/qt6/printsupport/gen_qprintpreviewdialog.cpp index 54eba881..e2f2e12d 100644 --- a/qt6/printsupport/gen_qprintpreviewdialog.cpp +++ b/qt6/printsupport/gen_qprintpreviewdialog.cpp @@ -18,10 +18,28 @@ #include #include "gen_qprintpreviewdialog.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QPrintPreviewDialog_PaintRequested(intptr_t, QPrinter*); +void miqt_exec_callback_QPrintPreviewDialog_SetVisible(void*, intptr_t, bool); +void miqt_exec_callback_QPrintPreviewDialog_Done(void*, intptr_t, int); +QSize* miqt_exec_callback_QPrintPreviewDialog_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QPrintPreviewDialog_MinimumSizeHint(void*, intptr_t); +void miqt_exec_callback_QPrintPreviewDialog_Open(void*, intptr_t); +int miqt_exec_callback_QPrintPreviewDialog_Exec(void*, intptr_t); +void miqt_exec_callback_QPrintPreviewDialog_Accept(void*, intptr_t); +void miqt_exec_callback_QPrintPreviewDialog_Reject(void*, intptr_t); +void miqt_exec_callback_QPrintPreviewDialog_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QPrintPreviewDialog_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QPrintPreviewDialog_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QPrintPreviewDialog_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QPrintPreviewDialog_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QPrintPreviewDialog_EventFilter(void*, intptr_t, QObject*, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPrintPreviewDialog : public virtual QPrintPreviewDialog { public: diff --git a/qt6/printsupport/gen_qprintpreviewwidget.cpp b/qt6/printsupport/gen_qprintpreviewwidget.cpp index 560ccda7..dbad99f9 100644 --- a/qt6/printsupport/gen_qprintpreviewwidget.cpp +++ b/qt6/printsupport/gen_qprintpreviewwidget.cpp @@ -36,10 +36,56 @@ #include #include "gen_qprintpreviewwidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QPrintPreviewWidget_PaintRequested(intptr_t, QPrinter*); +void miqt_exec_callback_QPrintPreviewWidget_PreviewChanged(intptr_t); +void miqt_exec_callback_QPrintPreviewWidget_SetVisible(void*, intptr_t, bool); +int miqt_exec_callback_QPrintPreviewWidget_DevType(void*, intptr_t); +QSize* miqt_exec_callback_QPrintPreviewWidget_SizeHint(void*, intptr_t); +QSize* miqt_exec_callback_QPrintPreviewWidget_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QPrintPreviewWidget_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QPrintPreviewWidget_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QPrintPreviewWidget_PaintEngine(void*, intptr_t); +bool miqt_exec_callback_QPrintPreviewWidget_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QPrintPreviewWidget_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QPrintPreviewWidget_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QPrintPreviewWidget_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QPrintPreviewWidget_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QPrintPreviewWidget_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QPrintPreviewWidget_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QPrintPreviewWidget_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QPrintPreviewWidget_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QPrintPreviewWidget_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QPrintPreviewWidget_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QPrintPreviewWidget_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QPrintPreviewWidget_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QPrintPreviewWidget_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QPrintPreviewWidget_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QPrintPreviewWidget_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QPrintPreviewWidget_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QPrintPreviewWidget_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QPrintPreviewWidget_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QPrintPreviewWidget_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QPrintPreviewWidget_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QPrintPreviewWidget_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QPrintPreviewWidget_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QPrintPreviewWidget_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QPrintPreviewWidget_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QPrintPreviewWidget_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +void miqt_exec_callback_QPrintPreviewWidget_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QPrintPreviewWidget_Metric(void*, intptr_t, int); +void miqt_exec_callback_QPrintPreviewWidget_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QPrintPreviewWidget_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QPrintPreviewWidget_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QPrintPreviewWidget_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QPrintPreviewWidget_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QPrintPreviewWidget_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQPrintPreviewWidget : public virtual QPrintPreviewWidget { public: diff --git a/qt6/spatialaudio/gen_qambientsound.cpp b/qt6/spatialaudio/gen_qambientsound.cpp index 89a00f2e..e2173f43 100644 --- a/qt6/spatialaudio/gen_qambientsound.cpp +++ b/qt6/spatialaudio/gen_qambientsound.cpp @@ -13,10 +13,24 @@ #include #include "gen_qambientsound.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAmbientSound_SourceChanged(intptr_t); +void miqt_exec_callback_QAmbientSound_LoopsChanged(intptr_t); +void miqt_exec_callback_QAmbientSound_AutoPlayChanged(intptr_t); +void miqt_exec_callback_QAmbientSound_VolumeChanged(intptr_t); +bool miqt_exec_callback_QAmbientSound_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAmbientSound_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAmbientSound_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAmbientSound_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAmbientSound_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAmbientSound_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAmbientSound_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAmbientSound : public virtual QAmbientSound { public: diff --git a/qt6/spatialaudio/gen_qaudioengine.cpp b/qt6/spatialaudio/gen_qaudioengine.cpp index 44cc61ce..e3b3d845 100644 --- a/qt6/spatialaudio/gen_qaudioengine.cpp +++ b/qt6/spatialaudio/gen_qaudioengine.cpp @@ -12,10 +12,25 @@ #include #include "gen_qaudioengine.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAudioEngine_OutputModeChanged(intptr_t); +void miqt_exec_callback_QAudioEngine_OutputDeviceChanged(intptr_t); +void miqt_exec_callback_QAudioEngine_MasterVolumeChanged(intptr_t); +void miqt_exec_callback_QAudioEngine_PausedChanged(intptr_t); +void miqt_exec_callback_QAudioEngine_DistanceScaleChanged(intptr_t); +bool miqt_exec_callback_QAudioEngine_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAudioEngine_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAudioEngine_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAudioEngine_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAudioEngine_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAudioEngine_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAudioEngine_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAudioEngine : public virtual QAudioEngine { public: diff --git a/qt6/spatialaudio/gen_qaudiolistener.cpp b/qt6/spatialaudio/gen_qaudiolistener.cpp index 1ef62e22..9e7f1c77 100644 --- a/qt6/spatialaudio/gen_qaudiolistener.cpp +++ b/qt6/spatialaudio/gen_qaudiolistener.cpp @@ -10,10 +10,20 @@ #include #include "gen_qaudiolistener.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +bool miqt_exec_callback_QAudioListener_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAudioListener_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAudioListener_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAudioListener_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAudioListener_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAudioListener_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAudioListener_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAudioListener : public virtual QAudioListener { public: diff --git a/qt6/spatialaudio/gen_qaudioroom.cpp b/qt6/spatialaudio/gen_qaudioroom.cpp index ec30ea18..1c4f39d7 100644 --- a/qt6/spatialaudio/gen_qaudioroom.cpp +++ b/qt6/spatialaudio/gen_qaudioroom.cpp @@ -14,10 +14,28 @@ #include #include "gen_qaudioroom.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QAudioRoom_PositionChanged(intptr_t); +void miqt_exec_callback_QAudioRoom_DimensionsChanged(intptr_t); +void miqt_exec_callback_QAudioRoom_RotationChanged(intptr_t); +void miqt_exec_callback_QAudioRoom_WallsChanged(intptr_t); +void miqt_exec_callback_QAudioRoom_ReflectionGainChanged(intptr_t); +void miqt_exec_callback_QAudioRoom_ReverbGainChanged(intptr_t); +void miqt_exec_callback_QAudioRoom_ReverbTimeChanged(intptr_t); +void miqt_exec_callback_QAudioRoom_ReverbBrightnessChanged(intptr_t); +bool miqt_exec_callback_QAudioRoom_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QAudioRoom_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QAudioRoom_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QAudioRoom_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QAudioRoom_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QAudioRoom_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QAudioRoom_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQAudioRoom : public virtual QAudioRoom { public: diff --git a/qt6/spatialaudio/gen_qspatialsound.cpp b/qt6/spatialaudio/gen_qspatialsound.cpp index 955c0940..a746db08 100644 --- a/qt6/spatialaudio/gen_qspatialsound.cpp +++ b/qt6/spatialaudio/gen_qspatialsound.cpp @@ -15,10 +15,34 @@ #include #include "gen_qspatialsound.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSpatialSound_SourceChanged(intptr_t); +void miqt_exec_callback_QSpatialSound_LoopsChanged(intptr_t); +void miqt_exec_callback_QSpatialSound_AutoPlayChanged(intptr_t); +void miqt_exec_callback_QSpatialSound_PositionChanged(intptr_t); +void miqt_exec_callback_QSpatialSound_RotationChanged(intptr_t); +void miqt_exec_callback_QSpatialSound_VolumeChanged(intptr_t); +void miqt_exec_callback_QSpatialSound_DistanceModelChanged(intptr_t); +void miqt_exec_callback_QSpatialSound_SizeChanged(intptr_t); +void miqt_exec_callback_QSpatialSound_DistanceCutoffChanged(intptr_t); +void miqt_exec_callback_QSpatialSound_ManualAttenuationChanged(intptr_t); +void miqt_exec_callback_QSpatialSound_OcclusionIntensityChanged(intptr_t); +void miqt_exec_callback_QSpatialSound_DirectivityChanged(intptr_t); +void miqt_exec_callback_QSpatialSound_DirectivityOrderChanged(intptr_t); +void miqt_exec_callback_QSpatialSound_NearFieldGainChanged(intptr_t); +bool miqt_exec_callback_QSpatialSound_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QSpatialSound_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QSpatialSound_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QSpatialSound_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QSpatialSound_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSpatialSound_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QSpatialSound_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSpatialSound : public virtual QSpatialSound { public: diff --git a/qt6/svg/gen_qgraphicssvgitem.cpp b/qt6/svg/gen_qgraphicssvgitem.cpp index b11e4fe0..014333c0 100644 --- a/qt6/svg/gen_qgraphicssvgitem.cpp +++ b/qt6/svg/gen_qgraphicssvgitem.cpp @@ -16,10 +16,17 @@ #include #include "gen_qgraphicssvgitem.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QRectF* miqt_exec_callback_QGraphicsSvgItem_BoundingRect(void*, intptr_t); +void miqt_exec_callback_QGraphicsSvgItem_Paint(void*, intptr_t, QPainter*, QStyleOptionGraphicsItem*, QWidget*); +int miqt_exec_callback_QGraphicsSvgItem_Type(void*, intptr_t); +bool miqt_exec_callback_QGraphicsSvgItem_Event(void*, intptr_t, QEvent*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQGraphicsSvgItem : public virtual QGraphicsSvgItem { public: diff --git a/qt6/svg/gen_qsvggenerator.cpp b/qt6/svg/gen_qsvggenerator.cpp index a8d02a2f..b6751a4a 100644 --- a/qt6/svg/gen_qsvggenerator.cpp +++ b/qt6/svg/gen_qsvggenerator.cpp @@ -13,10 +13,19 @@ #include #include "gen_qsvggenerator.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QPaintEngine* miqt_exec_callback_QSvgGenerator_PaintEngine(void*, intptr_t); +int miqt_exec_callback_QSvgGenerator_Metric(void*, intptr_t, int); +int miqt_exec_callback_QSvgGenerator_DevType(void*, intptr_t); +void miqt_exec_callback_QSvgGenerator_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QSvgGenerator_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QSvgGenerator_SharedPainter(void*, intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSvgGenerator : public virtual QSvgGenerator { public: diff --git a/qt6/svg/gen_qsvgrenderer.cpp b/qt6/svg/gen_qsvgrenderer.cpp index 7412245b..50b837a6 100644 --- a/qt6/svg/gen_qsvgrenderer.cpp +++ b/qt6/svg/gen_qsvgrenderer.cpp @@ -18,10 +18,21 @@ #include #include "gen_qsvgrenderer.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QSvgRenderer_RepaintNeeded(intptr_t); +bool miqt_exec_callback_QSvgRenderer_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QSvgRenderer_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QSvgRenderer_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QSvgRenderer_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QSvgRenderer_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSvgRenderer_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QSvgRenderer_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSvgRenderer : public virtual QSvgRenderer { public: diff --git a/qt6/svg/gen_qsvgwidget.cpp b/qt6/svg/gen_qsvgwidget.cpp index 4513d651..4647abe7 100644 --- a/qt6/svg/gen_qsvgwidget.cpp +++ b/qt6/svg/gen_qsvgwidget.cpp @@ -36,10 +36,54 @@ #include #include "gen_qsvgwidget.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +QSize* miqt_exec_callback_QSvgWidget_SizeHint(void*, intptr_t); +void miqt_exec_callback_QSvgWidget_PaintEvent(void*, intptr_t, QPaintEvent*); +int miqt_exec_callback_QSvgWidget_DevType(void*, intptr_t); +void miqt_exec_callback_QSvgWidget_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QSvgWidget_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QSvgWidget_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QSvgWidget_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QSvgWidget_PaintEngine(void*, intptr_t); +bool miqt_exec_callback_QSvgWidget_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSvgWidget_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSvgWidget_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSvgWidget_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSvgWidget_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QSvgWidget_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QSvgWidget_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QSvgWidget_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QSvgWidget_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QSvgWidget_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QSvgWidget_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QSvgWidget_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QSvgWidget_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QSvgWidget_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QSvgWidget_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QSvgWidget_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +void miqt_exec_callback_QSvgWidget_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QSvgWidget_ActionEvent(void*, intptr_t, QActionEvent*); +void miqt_exec_callback_QSvgWidget_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QSvgWidget_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QSvgWidget_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QSvgWidget_DropEvent(void*, intptr_t, QDropEvent*); +void miqt_exec_callback_QSvgWidget_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QSvgWidget_HideEvent(void*, intptr_t, QHideEvent*); +bool miqt_exec_callback_QSvgWidget_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +void miqt_exec_callback_QSvgWidget_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QSvgWidget_Metric(void*, intptr_t, int); +void miqt_exec_callback_QSvgWidget_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QSvgWidget_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QSvgWidget_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QSvgWidget_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QSvgWidget_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QSvgWidget_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQSvgWidget : public virtual QSvgWidget { public: diff --git a/qt6/webchannel/gen_qqmlwebchannel.cpp b/qt6/webchannel/gen_qqmlwebchannel.cpp index 95be787c..7da07b92 100644 --- a/qt6/webchannel/gen_qqmlwebchannel.cpp +++ b/qt6/webchannel/gen_qqmlwebchannel.cpp @@ -10,10 +10,13 @@ #include #include "gen_qqmlwebchannel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QQmlWebChannel* QQmlWebChannel_new() { return new QQmlWebChannel(); diff --git a/qt6/webchannel/gen_qwebchannel.cpp b/qt6/webchannel/gen_qwebchannel.cpp index 9b4d21d3..419d9829 100644 --- a/qt6/webchannel/gen_qwebchannel.cpp +++ b/qt6/webchannel/gen_qwebchannel.cpp @@ -13,10 +13,21 @@ #include #include "gen_qwebchannel.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebChannel_BlockUpdatesChanged(intptr_t, bool); +bool miqt_exec_callback_QWebChannel_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QWebChannel_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QWebChannel_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QWebChannel_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QWebChannel_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebChannel_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QWebChannel_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWebChannel : public virtual QWebChannel { public: diff --git a/qt6/webchannel/gen_qwebchannelabstracttransport.cpp b/qt6/webchannel/gen_qwebchannelabstracttransport.cpp index 9f26ed5d..947cc921 100644 --- a/qt6/webchannel/gen_qwebchannelabstracttransport.cpp +++ b/qt6/webchannel/gen_qwebchannelabstracttransport.cpp @@ -12,10 +12,22 @@ #include #include "gen_qwebchannelabstracttransport.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebChannelAbstractTransport_MessageReceived(intptr_t, QJsonObject*, QWebChannelAbstractTransport*); +void miqt_exec_callback_QWebChannelAbstractTransport_SendMessage(void*, intptr_t, QJsonObject*); +bool miqt_exec_callback_QWebChannelAbstractTransport_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QWebChannelAbstractTransport_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QWebChannelAbstractTransport_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QWebChannelAbstractTransport_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QWebChannelAbstractTransport_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebChannelAbstractTransport_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QWebChannelAbstractTransport_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWebChannelAbstractTransport : public virtual QWebChannelAbstractTransport { public: diff --git a/qt6/webengine/gen_qwebenginecertificateerror.cpp b/qt6/webengine/gen_qwebenginecertificateerror.cpp index f2e0939f..4cc78587 100644 --- a/qt6/webengine/gen_qwebenginecertificateerror.cpp +++ b/qt6/webengine/gen_qwebenginecertificateerror.cpp @@ -8,10 +8,13 @@ #include #include "gen_qwebenginecertificateerror.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebEngineCertificateError* QWebEngineCertificateError_new(QWebEngineCertificateError* other) { return new QWebEngineCertificateError(*other); diff --git a/qt6/webengine/gen_qwebengineclientcertificateselection.cpp b/qt6/webengine/gen_qwebengineclientcertificateselection.cpp index d7b1526c..a6d02103 100644 --- a/qt6/webengine/gen_qwebengineclientcertificateselection.cpp +++ b/qt6/webengine/gen_qwebengineclientcertificateselection.cpp @@ -5,10 +5,13 @@ #include #include "gen_qwebengineclientcertificateselection.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebEngineClientCertificateSelection* QWebEngineClientCertificateSelection_new(QWebEngineClientCertificateSelection* param1) { return new QWebEngineClientCertificateSelection(*param1); diff --git a/qt6/webengine/gen_qwebengineclientcertificatestore.cpp b/qt6/webengine/gen_qwebengineclientcertificatestore.cpp index 6c3e1543..cdd68f90 100644 --- a/qt6/webengine/gen_qwebengineclientcertificatestore.cpp +++ b/qt6/webengine/gen_qwebengineclientcertificatestore.cpp @@ -5,10 +5,13 @@ #include #include "gen_qwebengineclientcertificatestore.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QWebEngineClientCertificateStore_Add(QWebEngineClientCertificateStore* self, QSslCertificate* certificate, QSslKey* privateKey) { self->add(*certificate, *privateKey); diff --git a/qt6/webengine/gen_qwebenginecontextmenurequest.cpp b/qt6/webengine/gen_qwebenginecontextmenurequest.cpp index db40d4fd..0a1dcf01 100644 --- a/qt6/webengine/gen_qwebenginecontextmenurequest.cpp +++ b/qt6/webengine/gen_qwebenginecontextmenurequest.cpp @@ -10,10 +10,13 @@ #include #include "gen_qwebenginecontextmenurequest.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QWebEngineContextMenuRequest_virtbase(QWebEngineContextMenuRequest* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt6/webengine/gen_qwebenginecookiestore.cpp b/qt6/webengine/gen_qwebenginecookiestore.cpp index 405f3414..7ca525b0 100644 --- a/qt6/webengine/gen_qwebenginecookiestore.cpp +++ b/qt6/webengine/gen_qwebenginecookiestore.cpp @@ -10,10 +10,15 @@ #include #include "gen_qwebenginecookiestore.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebEngineCookieStore_CookieAdded(intptr_t, QNetworkCookie*); +void miqt_exec_callback_QWebEngineCookieStore_CookieRemoved(intptr_t, QNetworkCookie*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QWebEngineCookieStore_virtbase(QWebEngineCookieStore* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt6/webengine/gen_qwebenginedownloadrequest.cpp b/qt6/webengine/gen_qwebenginedownloadrequest.cpp index 80c5860c..077187e9 100644 --- a/qt6/webengine/gen_qwebenginedownloadrequest.cpp +++ b/qt6/webengine/gen_qwebenginedownloadrequest.cpp @@ -9,10 +9,22 @@ #include #include "gen_qwebenginedownloadrequest.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebEngineDownloadRequest_StateChanged(intptr_t, int); +void miqt_exec_callback_QWebEngineDownloadRequest_SavePageFormatChanged(intptr_t); +void miqt_exec_callback_QWebEngineDownloadRequest_ReceivedBytesChanged(intptr_t); +void miqt_exec_callback_QWebEngineDownloadRequest_TotalBytesChanged(intptr_t); +void miqt_exec_callback_QWebEngineDownloadRequest_InterruptReasonChanged(intptr_t); +void miqt_exec_callback_QWebEngineDownloadRequest_IsFinishedChanged(intptr_t); +void miqt_exec_callback_QWebEngineDownloadRequest_IsPausedChanged(intptr_t); +void miqt_exec_callback_QWebEngineDownloadRequest_DownloadDirectoryChanged(intptr_t); +void miqt_exec_callback_QWebEngineDownloadRequest_DownloadFileNameChanged(intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QWebEngineDownloadRequest_virtbase(QWebEngineDownloadRequest* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt6/webengine/gen_qwebenginefilesystemaccessrequest.cpp b/qt6/webengine/gen_qwebenginefilesystemaccessrequest.cpp index 56bea290..8138e5a0 100644 --- a/qt6/webengine/gen_qwebenginefilesystemaccessrequest.cpp +++ b/qt6/webengine/gen_qwebenginefilesystemaccessrequest.cpp @@ -3,10 +3,13 @@ #include #include "gen_qwebenginefilesystemaccessrequest.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebEngineFileSystemAccessRequest* QWebEngineFileSystemAccessRequest_new(QWebEngineFileSystemAccessRequest* other) { return new QWebEngineFileSystemAccessRequest(*other); diff --git a/qt6/webengine/gen_qwebenginefindtextresult.cpp b/qt6/webengine/gen_qwebenginefindtextresult.cpp index 6c522249..f467522a 100644 --- a/qt6/webengine/gen_qwebenginefindtextresult.cpp +++ b/qt6/webengine/gen_qwebenginefindtextresult.cpp @@ -2,10 +2,13 @@ #include #include "gen_qwebenginefindtextresult.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebEngineFindTextResult* QWebEngineFindTextResult_new() { return new QWebEngineFindTextResult(); diff --git a/qt6/webengine/gen_qwebenginefullscreenrequest.cpp b/qt6/webengine/gen_qwebenginefullscreenrequest.cpp index b97c8010..3edfbfda 100644 --- a/qt6/webengine/gen_qwebenginefullscreenrequest.cpp +++ b/qt6/webengine/gen_qwebenginefullscreenrequest.cpp @@ -3,10 +3,13 @@ #include #include "gen_qwebenginefullscreenrequest.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebEngineFullScreenRequest* QWebEngineFullScreenRequest_new(QWebEngineFullScreenRequest* other) { return new QWebEngineFullScreenRequest(*other); diff --git a/qt6/webengine/gen_qwebenginehistory.cpp b/qt6/webengine/gen_qwebenginehistory.cpp index 249f5073..b1a58374 100644 --- a/qt6/webengine/gen_qwebenginehistory.cpp +++ b/qt6/webengine/gen_qwebenginehistory.cpp @@ -18,10 +18,13 @@ #include #include "gen_qwebenginehistory.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebEngineHistoryItem* QWebEngineHistoryItem_new(QWebEngineHistoryItem* other) { return new QWebEngineHistoryItem(*other); diff --git a/qt6/webengine/gen_qwebenginehttprequest.cpp b/qt6/webengine/gen_qwebenginehttprequest.cpp index 19195d5d..d6e86283 100644 --- a/qt6/webengine/gen_qwebenginehttprequest.cpp +++ b/qt6/webengine/gen_qwebenginehttprequest.cpp @@ -9,10 +9,13 @@ #include #include "gen_qwebenginehttprequest.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebEngineHttpRequest* QWebEngineHttpRequest_new() { return new QWebEngineHttpRequest(); diff --git a/qt6/webengine/gen_qwebengineloadinginfo.cpp b/qt6/webengine/gen_qwebengineloadinginfo.cpp index 44807362..5ab8f616 100644 --- a/qt6/webengine/gen_qwebengineloadinginfo.cpp +++ b/qt6/webengine/gen_qwebengineloadinginfo.cpp @@ -6,10 +6,13 @@ #include #include "gen_qwebengineloadinginfo.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebEngineLoadingInfo* QWebEngineLoadingInfo_new(QWebEngineLoadingInfo* other) { return new QWebEngineLoadingInfo(*other); diff --git a/qt6/webengine/gen_qwebenginenavigationrequest.cpp b/qt6/webengine/gen_qwebenginenavigationrequest.cpp index 2891434f..e39c343c 100644 --- a/qt6/webengine/gen_qwebenginenavigationrequest.cpp +++ b/qt6/webengine/gen_qwebenginenavigationrequest.cpp @@ -8,10 +8,14 @@ #include #include "gen_qwebenginenavigationrequest.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebEngineNavigationRequest_ActionChanged(intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QWebEngineNavigationRequest_virtbase(QWebEngineNavigationRequest* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt6/webengine/gen_qwebenginenewwindowrequest.cpp b/qt6/webengine/gen_qwebenginenewwindowrequest.cpp index fc4dc988..596ab54c 100644 --- a/qt6/webengine/gen_qwebenginenewwindowrequest.cpp +++ b/qt6/webengine/gen_qwebenginenewwindowrequest.cpp @@ -10,10 +10,13 @@ #include #include "gen_qwebenginenewwindowrequest.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QWebEngineNewWindowRequest_virtbase(QWebEngineNewWindowRequest* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt6/webengine/gen_qwebenginenotification.cpp b/qt6/webengine/gen_qwebenginenotification.cpp index ef952b69..12f9edfc 100644 --- a/qt6/webengine/gen_qwebenginenotification.cpp +++ b/qt6/webengine/gen_qwebenginenotification.cpp @@ -9,10 +9,14 @@ #include #include "gen_qwebenginenotification.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebEngineNotification_Closed(intptr_t); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QWebEngineNotification_virtbase(QWebEngineNotification* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt6/webengine/gen_qwebenginepage.cpp b/qt6/webengine/gen_qwebenginepage.cpp index 8f66486e..dc276370 100644 --- a/qt6/webengine/gen_qwebenginepage.cpp +++ b/qt6/webengine/gen_qwebenginepage.cpp @@ -40,10 +40,64 @@ #include #include "gen_qwebenginepage.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebEnginePage_LoadStarted(intptr_t); +void miqt_exec_callback_QWebEnginePage_LoadProgress(intptr_t, int); +void miqt_exec_callback_QWebEnginePage_LoadFinished(intptr_t, bool); +void miqt_exec_callback_QWebEnginePage_LoadingChanged(intptr_t, QWebEngineLoadingInfo*); +void miqt_exec_callback_QWebEnginePage_LinkHovered(intptr_t, struct miqt_string); +void miqt_exec_callback_QWebEnginePage_SelectionChanged(intptr_t); +void miqt_exec_callback_QWebEnginePage_GeometryChangeRequested(intptr_t, QRect*); +void miqt_exec_callback_QWebEnginePage_WindowCloseRequested(intptr_t); +void miqt_exec_callback_QWebEnginePage_FeaturePermissionRequested(intptr_t, QUrl*, int); +void miqt_exec_callback_QWebEnginePage_FeaturePermissionRequestCanceled(intptr_t, QUrl*, int); +void miqt_exec_callback_QWebEnginePage_FullScreenRequested(intptr_t, QWebEngineFullScreenRequest*); +void miqt_exec_callback_QWebEnginePage_QuotaRequested(intptr_t, QWebEngineQuotaRequest*); +void miqt_exec_callback_QWebEnginePage_RegisterProtocolHandlerRequested(intptr_t, QWebEngineRegisterProtocolHandlerRequest*); +void miqt_exec_callback_QWebEnginePage_FileSystemAccessRequested(intptr_t, QWebEngineFileSystemAccessRequest*); +void miqt_exec_callback_QWebEnginePage_SelectClientCertificate(intptr_t, QWebEngineClientCertificateSelection*); +void miqt_exec_callback_QWebEnginePage_AuthenticationRequired(intptr_t, QUrl*, QAuthenticator*); +void miqt_exec_callback_QWebEnginePage_ProxyAuthenticationRequired(intptr_t, QUrl*, QAuthenticator*, struct miqt_string); +void miqt_exec_callback_QWebEnginePage_RenderProcessTerminated(intptr_t, int, int); +void miqt_exec_callback_QWebEnginePage_CertificateError(intptr_t, QWebEngineCertificateError*); +void miqt_exec_callback_QWebEnginePage_NavigationRequested(intptr_t, QWebEngineNavigationRequest*); +void miqt_exec_callback_QWebEnginePage_NewWindowRequested(intptr_t, QWebEngineNewWindowRequest*); +void miqt_exec_callback_QWebEnginePage_TitleChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QWebEnginePage_UrlChanged(intptr_t, QUrl*); +void miqt_exec_callback_QWebEnginePage_IconUrlChanged(intptr_t, QUrl*); +void miqt_exec_callback_QWebEnginePage_IconChanged(intptr_t, QIcon*); +void miqt_exec_callback_QWebEnginePage_ScrollPositionChanged(intptr_t, QPointF*); +void miqt_exec_callback_QWebEnginePage_ContentsSizeChanged(intptr_t, QSizeF*); +void miqt_exec_callback_QWebEnginePage_AudioMutedChanged(intptr_t, bool); +void miqt_exec_callback_QWebEnginePage_RecentlyAudibleChanged(intptr_t, bool); +void miqt_exec_callback_QWebEnginePage_RenderProcessPidChanged(intptr_t, long long); +void miqt_exec_callback_QWebEnginePage_PdfPrintingFinished(intptr_t, struct miqt_string, bool); +void miqt_exec_callback_QWebEnginePage_PrintRequested(intptr_t); +void miqt_exec_callback_QWebEnginePage_VisibleChanged(intptr_t, bool); +void miqt_exec_callback_QWebEnginePage_LifecycleStateChanged(intptr_t, int); +void miqt_exec_callback_QWebEnginePage_RecommendedStateChanged(intptr_t, int); +void miqt_exec_callback_QWebEnginePage_FindTextFinished(intptr_t, QWebEngineFindTextResult*); +void miqt_exec_callback_QWebEnginePage_QAboutToDelete(intptr_t); +void miqt_exec_callback_QWebEnginePage_TriggerAction(void*, intptr_t, int, bool); +bool miqt_exec_callback_QWebEnginePage_Event(void*, intptr_t, QEvent*); +QWebEnginePage* miqt_exec_callback_QWebEnginePage_CreateWindow(void*, intptr_t, int); +struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QWebEnginePage_ChooseFiles(void*, intptr_t, int, struct miqt_array /* of struct miqt_string */ , struct miqt_array /* of struct miqt_string */ ); +void miqt_exec_callback_QWebEnginePage_JavaScriptAlert(void*, intptr_t, QUrl*, struct miqt_string); +bool miqt_exec_callback_QWebEnginePage_JavaScriptConfirm(void*, intptr_t, QUrl*, struct miqt_string); +void miqt_exec_callback_QWebEnginePage_JavaScriptConsoleMessage(void*, intptr_t, int, struct miqt_string, int, struct miqt_string); +bool miqt_exec_callback_QWebEnginePage_AcceptNavigationRequest(void*, intptr_t, QUrl*, int, bool); +bool miqt_exec_callback_QWebEnginePage_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QWebEnginePage_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QWebEnginePage_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QWebEnginePage_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebEnginePage_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QWebEnginePage_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWebEnginePage : public virtual QWebEnginePage { public: diff --git a/qt6/webengine/gen_qwebengineprofile.cpp b/qt6/webengine/gen_qwebengineprofile.cpp index a466c097..1d4b8aab 100644 --- a/qt6/webengine/gen_qwebengineprofile.cpp +++ b/qt6/webengine/gen_qwebengineprofile.cpp @@ -21,10 +21,21 @@ #include #include "gen_qwebengineprofile.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebEngineProfile_DownloadRequested(intptr_t, QWebEngineDownloadRequest*); +bool miqt_exec_callback_QWebEngineProfile_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QWebEngineProfile_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QWebEngineProfile_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QWebEngineProfile_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QWebEngineProfile_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebEngineProfile_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QWebEngineProfile_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWebEngineProfile : public virtual QWebEngineProfile { public: diff --git a/qt6/webengine/gen_qwebenginequotarequest.cpp b/qt6/webengine/gen_qwebenginequotarequest.cpp index 88534c07..e904b888 100644 --- a/qt6/webengine/gen_qwebenginequotarequest.cpp +++ b/qt6/webengine/gen_qwebenginequotarequest.cpp @@ -3,10 +3,13 @@ #include #include "gen_qwebenginequotarequest.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebEngineQuotaRequest* QWebEngineQuotaRequest_new() { return new QWebEngineQuotaRequest(); diff --git a/qt6/webengine/gen_qwebengineregisterprotocolhandlerrequest.cpp b/qt6/webengine/gen_qwebengineregisterprotocolhandlerrequest.cpp index a7b88d79..fcfd9418 100644 --- a/qt6/webengine/gen_qwebengineregisterprotocolhandlerrequest.cpp +++ b/qt6/webengine/gen_qwebengineregisterprotocolhandlerrequest.cpp @@ -6,10 +6,13 @@ #include #include "gen_qwebengineregisterprotocolhandlerrequest.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebEngineRegisterProtocolHandlerRequest* QWebEngineRegisterProtocolHandlerRequest_new() { return new QWebEngineRegisterProtocolHandlerRequest(); diff --git a/qt6/webengine/gen_qwebenginescript.cpp b/qt6/webengine/gen_qwebenginescript.cpp index c0953197..86d83d2a 100644 --- a/qt6/webengine/gen_qwebenginescript.cpp +++ b/qt6/webengine/gen_qwebenginescript.cpp @@ -6,10 +6,13 @@ #include #include "gen_qwebenginescript.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebEngineScript* QWebEngineScript_new() { return new QWebEngineScript(); diff --git a/qt6/webengine/gen_qwebenginescriptcollection.cpp b/qt6/webengine/gen_qwebenginescriptcollection.cpp index d6f256bb..670ee65e 100644 --- a/qt6/webengine/gen_qwebenginescriptcollection.cpp +++ b/qt6/webengine/gen_qwebenginescriptcollection.cpp @@ -7,10 +7,13 @@ #include #include "gen_qwebenginescriptcollection.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" bool QWebEngineScriptCollection_IsEmpty(const QWebEngineScriptCollection* self) { return self->isEmpty(); diff --git a/qt6/webengine/gen_qwebenginesettings.cpp b/qt6/webengine/gen_qwebenginesettings.cpp index c356ad9d..fa26a668 100644 --- a/qt6/webengine/gen_qwebenginesettings.cpp +++ b/qt6/webengine/gen_qwebenginesettings.cpp @@ -5,10 +5,13 @@ #include #include "gen_qwebenginesettings.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QWebEngineSettings_SetFontFamily(QWebEngineSettings* self, int which, struct miqt_string family) { QString family_QString = QString::fromUtf8(family.data, family.len); diff --git a/qt6/webengine/gen_qwebengineurlrequestinfo.cpp b/qt6/webengine/gen_qwebengineurlrequestinfo.cpp index 9f633e57..06c7a422 100644 --- a/qt6/webengine/gen_qwebengineurlrequestinfo.cpp +++ b/qt6/webengine/gen_qwebengineurlrequestinfo.cpp @@ -4,10 +4,13 @@ #include #include "gen_qwebengineurlrequestinfo.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" int QWebEngineUrlRequestInfo_ResourceType(const QWebEngineUrlRequestInfo* self) { QWebEngineUrlRequestInfo::ResourceType _ret = self->resourceType(); diff --git a/qt6/webengine/gen_qwebengineurlrequestinterceptor.cpp b/qt6/webengine/gen_qwebengineurlrequestinterceptor.cpp index d4979d8d..68964df3 100644 --- a/qt6/webengine/gen_qwebengineurlrequestinterceptor.cpp +++ b/qt6/webengine/gen_qwebengineurlrequestinterceptor.cpp @@ -12,10 +12,21 @@ #include #include "gen_qwebengineurlrequestinterceptor.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebEngineUrlRequestInterceptor_InterceptRequest(void*, intptr_t, QWebEngineUrlRequestInfo*); +bool miqt_exec_callback_QWebEngineUrlRequestInterceptor_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QWebEngineUrlRequestInterceptor_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QWebEngineUrlRequestInterceptor_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QWebEngineUrlRequestInterceptor_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QWebEngineUrlRequestInterceptor_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebEngineUrlRequestInterceptor_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QWebEngineUrlRequestInterceptor_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWebEngineUrlRequestInterceptor : public virtual QWebEngineUrlRequestInterceptor { public: diff --git a/qt6/webengine/gen_qwebengineurlrequestjob.cpp b/qt6/webengine/gen_qwebengineurlrequestjob.cpp index 65ed35ac..d86098c4 100644 --- a/qt6/webengine/gen_qwebengineurlrequestjob.cpp +++ b/qt6/webengine/gen_qwebengineurlrequestjob.cpp @@ -10,10 +10,13 @@ #include #include "gen_qwebengineurlrequestjob.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" void QWebEngineUrlRequestJob_virtbase(QWebEngineUrlRequestJob* src, QObject** outptr_QObject) { *outptr_QObject = static_cast(src); diff --git a/qt6/webengine/gen_qwebengineurlscheme.cpp b/qt6/webengine/gen_qwebengineurlscheme.cpp index ccfff3a6..0dc85996 100644 --- a/qt6/webengine/gen_qwebengineurlscheme.cpp +++ b/qt6/webengine/gen_qwebengineurlscheme.cpp @@ -3,10 +3,13 @@ #include #include "gen_qwebengineurlscheme.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" QWebEngineUrlScheme* QWebEngineUrlScheme_new() { return new QWebEngineUrlScheme(); diff --git a/qt6/webengine/gen_qwebengineurlschemehandler.cpp b/qt6/webengine/gen_qwebengineurlschemehandler.cpp index 44f12b2a..fe455a37 100644 --- a/qt6/webengine/gen_qwebengineurlschemehandler.cpp +++ b/qt6/webengine/gen_qwebengineurlschemehandler.cpp @@ -12,10 +12,21 @@ #include #include "gen_qwebengineurlschemehandler.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebEngineUrlSchemeHandler_RequestStarted(void*, intptr_t, QWebEngineUrlRequestJob*); +bool miqt_exec_callback_QWebEngineUrlSchemeHandler_Event(void*, intptr_t, QEvent*); +bool miqt_exec_callback_QWebEngineUrlSchemeHandler_EventFilter(void*, intptr_t, QObject*, QEvent*); +void miqt_exec_callback_QWebEngineUrlSchemeHandler_TimerEvent(void*, intptr_t, QTimerEvent*); +void miqt_exec_callback_QWebEngineUrlSchemeHandler_ChildEvent(void*, intptr_t, QChildEvent*); +void miqt_exec_callback_QWebEngineUrlSchemeHandler_CustomEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebEngineUrlSchemeHandler_ConnectNotify(void*, intptr_t, QMetaMethod*); +void miqt_exec_callback_QWebEngineUrlSchemeHandler_DisconnectNotify(void*, intptr_t, QMetaMethod*); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWebEngineUrlSchemeHandler : public virtual QWebEngineUrlSchemeHandler { public: diff --git a/qt6/webengine/gen_qwebengineview.cpp b/qt6/webengine/gen_qwebengineview.cpp index 9d8d29c5..dc394b34 100644 --- a/qt6/webengine/gen_qwebengineview.cpp +++ b/qt6/webengine/gen_qwebengineview.cpp @@ -48,10 +48,67 @@ #include #include "gen_qwebengineview.h" -#ifndef _Bool -#define _Bool bool +#ifdef __cplusplus +extern "C" { +#endif + +void miqt_exec_callback_QWebEngineView_LoadStarted(intptr_t); +void miqt_exec_callback_QWebEngineView_LoadProgress(intptr_t, int); +void miqt_exec_callback_QWebEngineView_LoadFinished(intptr_t, bool); +void miqt_exec_callback_QWebEngineView_TitleChanged(intptr_t, struct miqt_string); +void miqt_exec_callback_QWebEngineView_SelectionChanged(intptr_t); +void miqt_exec_callback_QWebEngineView_UrlChanged(intptr_t, QUrl*); +void miqt_exec_callback_QWebEngineView_IconUrlChanged(intptr_t, QUrl*); +void miqt_exec_callback_QWebEngineView_IconChanged(intptr_t, QIcon*); +void miqt_exec_callback_QWebEngineView_RenderProcessTerminated(intptr_t, int, int); +void miqt_exec_callback_QWebEngineView_PdfPrintingFinished(intptr_t, struct miqt_string, bool); +void miqt_exec_callback_QWebEngineView_PrintRequested(intptr_t); +void miqt_exec_callback_QWebEngineView_PrintFinished(intptr_t, bool); +QSize* miqt_exec_callback_QWebEngineView_SizeHint(void*, intptr_t); +QWebEngineView* miqt_exec_callback_QWebEngineView_CreateWindow(void*, intptr_t, int); +void miqt_exec_callback_QWebEngineView_ContextMenuEvent(void*, intptr_t, QContextMenuEvent*); +bool miqt_exec_callback_QWebEngineView_Event(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebEngineView_ShowEvent(void*, intptr_t, QShowEvent*); +void miqt_exec_callback_QWebEngineView_HideEvent(void*, intptr_t, QHideEvent*); +void miqt_exec_callback_QWebEngineView_CloseEvent(void*, intptr_t, QCloseEvent*); +void miqt_exec_callback_QWebEngineView_DragEnterEvent(void*, intptr_t, QDragEnterEvent*); +void miqt_exec_callback_QWebEngineView_DragLeaveEvent(void*, intptr_t, QDragLeaveEvent*); +void miqt_exec_callback_QWebEngineView_DragMoveEvent(void*, intptr_t, QDragMoveEvent*); +void miqt_exec_callback_QWebEngineView_DropEvent(void*, intptr_t, QDropEvent*); +int miqt_exec_callback_QWebEngineView_DevType(void*, intptr_t); +void miqt_exec_callback_QWebEngineView_SetVisible(void*, intptr_t, bool); +QSize* miqt_exec_callback_QWebEngineView_MinimumSizeHint(void*, intptr_t); +int miqt_exec_callback_QWebEngineView_HeightForWidth(void*, intptr_t, int); +bool miqt_exec_callback_QWebEngineView_HasHeightForWidth(void*, intptr_t); +QPaintEngine* miqt_exec_callback_QWebEngineView_PaintEngine(void*, intptr_t); +void miqt_exec_callback_QWebEngineView_MousePressEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWebEngineView_MouseReleaseEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWebEngineView_MouseDoubleClickEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWebEngineView_MouseMoveEvent(void*, intptr_t, QMouseEvent*); +void miqt_exec_callback_QWebEngineView_WheelEvent(void*, intptr_t, QWheelEvent*); +void miqt_exec_callback_QWebEngineView_KeyPressEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QWebEngineView_KeyReleaseEvent(void*, intptr_t, QKeyEvent*); +void miqt_exec_callback_QWebEngineView_FocusInEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QWebEngineView_FocusOutEvent(void*, intptr_t, QFocusEvent*); +void miqt_exec_callback_QWebEngineView_EnterEvent(void*, intptr_t, QEnterEvent*); +void miqt_exec_callback_QWebEngineView_LeaveEvent(void*, intptr_t, QEvent*); +void miqt_exec_callback_QWebEngineView_PaintEvent(void*, intptr_t, QPaintEvent*); +void miqt_exec_callback_QWebEngineView_MoveEvent(void*, intptr_t, QMoveEvent*); +void miqt_exec_callback_QWebEngineView_ResizeEvent(void*, intptr_t, QResizeEvent*); +void miqt_exec_callback_QWebEngineView_TabletEvent(void*, intptr_t, QTabletEvent*); +void miqt_exec_callback_QWebEngineView_ActionEvent(void*, intptr_t, QActionEvent*); +bool miqt_exec_callback_QWebEngineView_NativeEvent(void*, intptr_t, struct miqt_string, void*, intptr_t*); +void miqt_exec_callback_QWebEngineView_ChangeEvent(void*, intptr_t, QEvent*); +int miqt_exec_callback_QWebEngineView_Metric(void*, intptr_t, int); +void miqt_exec_callback_QWebEngineView_InitPainter(void*, intptr_t, QPainter*); +QPaintDevice* miqt_exec_callback_QWebEngineView_Redirected(void*, intptr_t, QPoint*); +QPainter* miqt_exec_callback_QWebEngineView_SharedPainter(void*, intptr_t); +void miqt_exec_callback_QWebEngineView_InputMethodEvent(void*, intptr_t, QInputMethodEvent*); +QVariant* miqt_exec_callback_QWebEngineView_InputMethodQuery(void*, intptr_t, int); +bool miqt_exec_callback_QWebEngineView_FocusNextPrevChild(void*, intptr_t, bool); +#ifdef __cplusplus +} /* extern C */ #endif -#include "_cgo_export.h" class MiqtVirtualQWebEngineView : public virtual QWebEngineView { public: