From 96bdaffef0a442a878145343522674fe58588457 Mon Sep 17 00:00:00 2001 From: mappu Date: Tue, 26 Nov 2024 20:10:11 +1300 Subject: [PATCH] qt: rebuild (add missing header includes for container types) --- qt-extras/scintillaedit/gen_ScintillaEdit.cpp | 1 + qt-extras/scintillaedit/gen_ScintillaEdit.h | 2 -- qt-restricted-extras/qscintilla/gen_qsciscintilla.h | 2 -- qt-restricted-extras/qscintilla/gen_qsciscintillabase.h | 2 -- qt-restricted-extras/qscintilla6/gen_qsciscintilla.h | 2 -- qt-restricted-extras/qscintilla6/gen_qsciscintillabase.h | 2 -- qt/cbor/gen_qcbormap.cpp | 1 + qt/cbor/gen_qcborstreamreader.h | 2 -- qt/cbor/gen_qcborstreamwriter.h | 2 -- qt/cbor/gen_qcborvalue.h | 2 -- qt/gen_qabstractbutton.h | 2 -- qt/gen_qabstracteventdispatcher.h | 2 -- qt/gen_qabstractitemmodel.h | 2 -- qt/gen_qabstractnativeeventfilter.h | 2 -- qt/gen_qabstractproxymodel.h | 2 -- qt/gen_qabstractslider.h | 2 -- qt/gen_qabstractspinbox.h | 2 -- qt/gen_qaccessible.cpp | 1 + qt/gen_qaccessiblewidget.cpp | 1 + qt/gen_qbrush.cpp | 1 + qt/gen_qbuffer.h | 2 -- qt/gen_qbytearraymatcher.h | 2 -- qt/gen_qcalendarwidget.h | 2 -- qt/gen_qcolorspace.h | 2 -- qt/gen_qcombobox.h | 2 -- qt/gen_qconcatenatetablesproxymodel.h | 2 -- qt/gen_qcoreevent.h | 2 -- qt/gen_qcryptographichash.h | 2 -- qt/gen_qdatastream.h | 2 -- qt/gen_qdatawidgetmapper.h | 2 -- qt/gen_qdebug.h | 2 -- qt/gen_qdesktopwidget.h | 2 -- qt/gen_qdialog.h | 2 -- qt/gen_qdialogbuttonbox.h | 2 -- qt/gen_qdirmodel.h | 2 -- qt/gen_qdockwidget.h | 2 -- qt/gen_qfile.h | 2 -- qt/gen_qfiledialog.h | 2 -- qt/gen_qfilesystemmodel.h | 2 -- qt/gen_qfocusframe.h | 2 -- qt/gen_qfontdatabase.h | 2 -- qt/gen_qframe.h | 2 -- qt/gen_qgraphicsitemanimation.cpp | 1 + qt/gen_qgroupbox.h | 2 -- qt/gen_qheaderview.h | 2 -- qt/gen_qimage.h | 2 -- qt/gen_qimageiohandler.h | 2 -- qt/gen_qimagereader.h | 2 -- qt/gen_qimagewriter.h | 2 -- qt/gen_qiodevice.h | 2 -- qt/gen_qitemeditorfactory.h | 2 -- qt/gen_qjsondocument.h | 2 -- qt/gen_qkeysequenceedit.h | 2 -- qt/gen_qlineedit.h | 2 -- qt/gen_qmainwindow.h | 2 -- qt/gen_qmdisubwindow.h | 2 -- qt/gen_qmenu.h | 2 -- qt/gen_qmenubar.h | 2 -- qt/gen_qmessageauthenticationcode.h | 2 -- qt/gen_qmetaobject.h | 2 -- qt/gen_qmetatype.h | 2 -- qt/gen_qmimedata.h | 2 -- qt/gen_qmimedatabase.h | 2 -- qt/gen_qmovie.h | 2 -- qt/gen_qobject.h | 2 -- qt/gen_qobjectdefs.h | 2 -- qt/gen_qpdfwriter.h | 2 -- qt/gen_qpicture.h | 2 -- qt/gen_qpixmap.h | 2 -- qt/gen_qprocess.h | 2 -- qt/gen_qprogressbar.h | 2 -- qt/gen_qpropertyanimation.h | 2 -- qt/gen_qrawfont.h | 2 -- qt/gen_qresource.h | 2 -- qt/gen_qrubberband.h | 2 -- qt/gen_qsignaltransition.h | 2 -- qt/gen_qsizegrip.h | 2 -- qt/gen_qsplashscreen.h | 2 -- qt/gen_qsplitter.h | 2 -- qt/gen_qstandarditemmodel.h | 2 -- qt/gen_qstatemachine.cpp | 1 + qt/gen_qstatusbar.h | 2 -- qt/gen_qstorageinfo.h | 2 -- qt/gen_qstringview.h | 2 -- qt/gen_qsurfaceformat.cpp | 1 + qt/gen_qtabbar.h | 2 -- qt/gen_qtabwidget.h | 2 -- qt/gen_qtextcodec.h | 2 -- qt/gen_qtextdocument.h | 2 -- qt/gen_qtextdocumentfragment.h | 2 -- qt/gen_qtextdocumentwriter.h | 2 -- qt/gen_qtextstream.h | 2 -- qt/gen_qtimezone.h | 2 -- qt/gen_qtoolbar.h | 2 -- qt/gen_qurl.h | 2 -- qt/gen_qurlquery.cpp | 1 + qt/gen_quuid.h | 2 -- qt/gen_qvariant.h | 2 -- qt/gen_qvariantanimation.cpp | 1 + qt/gen_qwidget.h | 2 -- qt/gen_qwindow.h | 2 -- qt/gen_qwizard.h | 2 -- qt/gen_qxmlstream.h | 2 -- qt/multimedia/gen_qaudiobuffer.h | 2 -- qt/multimedia/gen_qaudiosystemplugin.h | 2 -- qt/multimedia/gen_qcamera.h | 2 -- qt/multimedia/gen_qcamerainfo.h | 2 -- qt/multimedia/gen_qmediaserviceproviderplugin.h | 2 -- qt/multimedia/gen_qradiotuner.cpp | 1 + qt/multimedia/gen_qradiotunercontrol.cpp | 1 + qt/multimedia/gen_qvideosurfaceformat.h | 2 -- qt/multimedia/gen_qvideowidget.h | 2 -- qt/network/gen_qabstractnetworkcache.cpp | 2 ++ qt/network/gen_qdnslookup.h | 2 -- qt/network/gen_qdtls.h | 2 -- qt/network/gen_qhostaddress.cpp | 1 + qt/network/gen_qhttpmultipart.h | 2 -- qt/network/gen_qnetworkaccessmanager.h | 2 -- qt/network/gen_qnetworkcookie.h | 2 -- qt/network/gen_qnetworkdatagram.h | 2 -- qt/network/gen_qnetworkproxy.h | 2 -- qt/network/gen_qnetworkreply.cpp | 1 + qt/network/gen_qnetworkreply.h | 2 -- qt/network/gen_qnetworkrequest.h | 2 -- qt/network/gen_qsslcertificate.h | 2 -- qt/network/gen_qsslconfiguration.h | 2 -- qt/network/gen_qssldiffiehellmanparameters.h | 2 -- qt/network/gen_qsslkey.h | 2 -- qt/network/gen_qsslpresharedkeyauthenticator.h | 2 -- qt/network/gen_qsslsocket.h | 2 -- qt/network/gen_qudpsocket.h | 2 -- qt/printsupport/gen_qprinterinfo.cpp | 2 ++ qt/printsupport/gen_qprinterinfo.h | 2 ++ qt/printsupport/gen_qprintpreviewwidget.h | 2 -- qt/svg/gen_qsvgrenderer.h | 2 -- qt/svg/gen_qsvgwidget.h | 2 -- qt6/cbor/gen_qcbormap.cpp | 1 + qt6/cbor/gen_qcborstreamreader.h | 2 -- qt6/cbor/gen_qcborstreamwriter.h | 2 -- qt6/cbor/gen_qcborvalue.h | 2 -- qt6/gen_qabstractbutton.h | 2 -- qt6/gen_qabstracteventdispatcher.h | 2 -- qt6/gen_qabstractitemmodel.h | 2 -- qt6/gen_qabstractnativeeventfilter.h | 2 -- qt6/gen_qabstractproxymodel.h | 2 -- qt6/gen_qabstractslider.h | 2 -- qt6/gen_qabstractspinbox.h | 2 -- qt6/gen_qaccessible.cpp | 1 + qt6/gen_qaccessible_base.cpp | 1 + qt6/gen_qaccessiblewidget.cpp | 1 + qt6/gen_qanystringview.h | 2 -- qt6/gen_qarraydata.cpp | 1 + qt6/gen_qbrush.cpp | 1 + qt6/gen_qbuffer.h | 2 -- qt6/gen_qbytearraymatcher.h | 2 -- qt6/gen_qbytearrayview.h | 2 -- qt6/gen_qcalendarwidget.h | 2 -- qt6/gen_qcolorspace.h | 2 -- qt6/gen_qcombobox.h | 2 -- qt6/gen_qconcatenatetablesproxymodel.h | 2 -- qt6/gen_qcoreevent.h | 2 -- qt6/gen_qcryptographichash.h | 2 -- qt6/gen_qdatastream.h | 2 -- qt6/gen_qdatawidgetmapper.h | 2 -- qt6/gen_qdebug.h | 2 -- qt6/gen_qdialog.h | 2 -- qt6/gen_qdialogbuttonbox.h | 2 -- qt6/gen_qdockwidget.h | 2 -- qt6/gen_qfile.h | 2 -- qt6/gen_qfiledialog.h | 2 -- qt6/gen_qfilesystemmodel.h | 2 -- qt6/gen_qfocusframe.h | 2 -- qt6/gen_qfontdatabase.h | 2 -- qt6/gen_qframe.h | 2 -- qt6/gen_qgraphicsitemanimation.cpp | 1 + qt6/gen_qgroupbox.h | 2 -- qt6/gen_qheaderview.h | 2 -- qt6/gen_qidentityproxymodel.h | 2 -- qt6/gen_qimage.h | 2 -- qt6/gen_qimageiohandler.h | 2 -- qt6/gen_qimagereader.h | 2 -- qt6/gen_qimagewriter.h | 2 -- qt6/gen_qiodevice.h | 2 -- qt6/gen_qitemeditorfactory.h | 2 -- qt6/gen_qjsondocument.h | 2 -- qt6/gen_qkeysequenceedit.h | 2 -- qt6/gen_qlineedit.h | 2 -- qt6/gen_qmainwindow.h | 2 -- qt6/gen_qmdisubwindow.h | 2 -- qt6/gen_qmenu.h | 2 -- qt6/gen_qmenubar.h | 2 -- qt6/gen_qmessageauthenticationcode.h | 2 -- qt6/gen_qmetaobject.h | 2 -- qt6/gen_qmetatype.h | 2 -- qt6/gen_qmimedata.h | 2 -- qt6/gen_qmimedatabase.h | 2 -- qt6/gen_qmovie.h | 2 -- qt6/gen_qobject.h | 2 -- qt6/gen_qobjectdefs.h | 2 -- qt6/gen_qpdfwriter.h | 2 -- qt6/gen_qpixmap.h | 2 -- qt6/gen_qprocess.h | 2 -- qt6/gen_qprogressbar.h | 2 -- qt6/gen_qpropertyanimation.h | 2 -- qt6/gen_qrawfont.h | 2 -- qt6/gen_qresource.h | 2 -- qt6/gen_qrubberband.h | 2 -- qt6/gen_qsizegrip.h | 2 -- qt6/gen_qsortfilterproxymodel.h | 2 -- qt6/gen_qsplashscreen.h | 2 -- qt6/gen_qsplitter.h | 2 -- qt6/gen_qstandarditemmodel.h | 2 -- qt6/gen_qstatusbar.h | 2 -- qt6/gen_qstorageinfo.h | 2 -- qt6/gen_qstringview.h | 2 -- qt6/gen_qsurfaceformat.cpp | 1 + qt6/gen_qtabbar.h | 2 -- qt6/gen_qtabwidget.h | 2 -- qt6/gen_qtextdocumentwriter.h | 2 -- qt6/gen_qtextstream.h | 2 -- qt6/gen_qtimezone.h | 2 -- qt6/gen_qtoolbar.h | 2 -- qt6/gen_qtransposeproxymodel.h | 2 -- qt6/gen_qurl.h | 2 -- qt6/gen_qurlquery.cpp | 1 + qt6/gen_quuid.h | 2 -- qt6/gen_qvariant.h | 2 -- qt6/gen_qvariantanimation.cpp | 1 + qt6/gen_qwidget.h | 2 -- qt6/gen_qwindow.h | 2 -- qt6/gen_qwizard.h | 2 -- qt6/gen_qxmlstream.h | 2 -- qt6/multimedia/gen_qaudiobuffer.h | 2 -- qt6/multimedia/gen_qaudiodevice.h | 2 -- qt6/multimedia/gen_qcameradevice.h | 2 -- qt6/multimedia/gen_qvideowidget.h | 2 -- qt6/network/gen_qabstractnetworkcache.cpp | 2 ++ qt6/network/gen_qdnslookup.h | 2 -- qt6/network/gen_qdtls.h | 2 -- qt6/network/gen_qhostaddress.cpp | 1 + qt6/network/gen_qhttpmultipart.h | 2 -- qt6/network/gen_qnetworkaccessmanager.h | 2 -- qt6/network/gen_qnetworkcookie.h | 2 -- qt6/network/gen_qnetworkdatagram.h | 2 -- qt6/network/gen_qnetworkproxy.h | 2 -- qt6/network/gen_qnetworkreply.cpp | 1 + qt6/network/gen_qnetworkreply.h | 2 -- qt6/network/gen_qnetworkrequest.h | 2 -- qt6/network/gen_qsslcertificate.h | 2 -- qt6/network/gen_qsslconfiguration.h | 2 -- qt6/network/gen_qssldiffiehellmanparameters.h | 2 -- qt6/network/gen_qsslkey.h | 2 -- qt6/network/gen_qsslpresharedkeyauthenticator.h | 2 -- qt6/network/gen_qsslsocket.h | 2 -- qt6/network/gen_qudpsocket.h | 2 -- qt6/printsupport/gen_qprintpreviewwidget.h | 2 -- qt6/svg/gen_qsvgrenderer.h | 2 -- qt6/svg/gen_qsvgwidget.h | 2 -- 258 files changed, 34 insertions(+), 456 deletions(-) diff --git a/qt-extras/scintillaedit/gen_ScintillaEdit.cpp b/qt-extras/scintillaedit/gen_ScintillaEdit.cpp index 3eefa1bd..cb1fbf71 100644 --- a/qt-extras/scintillaedit/gen_ScintillaEdit.cpp +++ b/qt-extras/scintillaedit/gen_ScintillaEdit.cpp @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include diff --git a/qt-extras/scintillaedit/gen_ScintillaEdit.h b/qt-extras/scintillaedit/gen_ScintillaEdit.h index 24647744..88325ef7 100644 --- a/qt-extras/scintillaedit/gen_ScintillaEdit.h +++ b/qt-extras/scintillaedit/gen_ScintillaEdit.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QAbstractScrollArea; -class QByteArray; class QChildEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -213,7 +212,6 @@ class ScintillaEdit; class ScintillaEditBase; #else typedef struct QAbstractScrollArea QAbstractScrollArea; -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt-restricted-extras/qscintilla/gen_qsciscintilla.h b/qt-restricted-extras/qscintilla/gen_qsciscintilla.h index b804e025..f390e0d3 100644 --- a/qt-restricted-extras/qscintilla/gen_qsciscintilla.h +++ b/qt-restricted-extras/qscintilla/gen_qsciscintilla.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QAbstractScrollArea; -class QByteArray; class QColor; class QContextMenuEvent; class QDragEnterEvent; @@ -53,7 +52,6 @@ class QsciStyle; class QsciStyledText; #else typedef struct QAbstractScrollArea QAbstractScrollArea; -typedef struct QByteArray QByteArray; typedef struct QColor QColor; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt-restricted-extras/qscintilla/gen_qsciscintillabase.h b/qt-restricted-extras/qscintilla/gen_qsciscintillabase.h index 8037b01a..6cded339 100644 --- a/qt-restricted-extras/qscintilla/gen_qsciscintillabase.h +++ b/qt-restricted-extras/qscintilla/gen_qsciscintillabase.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QAbstractScrollArea; -class QByteArray; class QColor; class QContextMenuEvent; class QDragEnterEvent; @@ -48,7 +47,6 @@ class QWidget; class QsciScintillaBase; #else typedef struct QAbstractScrollArea QAbstractScrollArea; -typedef struct QByteArray QByteArray; typedef struct QColor QColor; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt-restricted-extras/qscintilla6/gen_qsciscintilla.h b/qt-restricted-extras/qscintilla6/gen_qsciscintilla.h index ce505bea..97b3da35 100644 --- a/qt-restricted-extras/qscintilla6/gen_qsciscintilla.h +++ b/qt-restricted-extras/qscintilla6/gen_qsciscintilla.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QAbstractScrollArea; -class QByteArray; class QColor; class QContextMenuEvent; class QDragEnterEvent; @@ -53,7 +52,6 @@ class QsciStyle; class QsciStyledText; #else typedef struct QAbstractScrollArea QAbstractScrollArea; -typedef struct QByteArray QByteArray; typedef struct QColor QColor; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt-restricted-extras/qscintilla6/gen_qsciscintillabase.h b/qt-restricted-extras/qscintilla6/gen_qsciscintillabase.h index 8fb805b9..ebff7e8f 100644 --- a/qt-restricted-extras/qscintilla6/gen_qsciscintillabase.h +++ b/qt-restricted-extras/qscintilla6/gen_qsciscintillabase.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QAbstractScrollArea; -class QByteArray; class QColor; class QContextMenuEvent; class QDragEnterEvent; @@ -48,7 +47,6 @@ class QWidget; class QsciScintillaBase; #else typedef struct QAbstractScrollArea QAbstractScrollArea; -typedef struct QByteArray QByteArray; typedef struct QColor QColor; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt/cbor/gen_qcbormap.cpp b/qt/cbor/gen_qcbormap.cpp index 679a294a..a256fe07 100644 --- a/qt/cbor/gen_qcbormap.cpp +++ b/qt/cbor/gen_qcbormap.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include diff --git a/qt/cbor/gen_qcborstreamreader.h b/qt/cbor/gen_qcborstreamreader.h index 6cc19cc2..e5a3728a 100644 --- a/qt/cbor/gen_qcborstreamreader.h +++ b/qt/cbor/gen_qcborstreamreader.h @@ -15,12 +15,10 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QCborError; class QCborStreamReader; class QIODevice; #else -typedef struct QByteArray QByteArray; typedef struct QCborError QCborError; typedef struct QCborStreamReader QCborStreamReader; typedef struct QIODevice QIODevice; diff --git a/qt/cbor/gen_qcborstreamwriter.h b/qt/cbor/gen_qcborstreamwriter.h index df9ac2e0..63c8c82c 100644 --- a/qt/cbor/gen_qcborstreamwriter.h +++ b/qt/cbor/gen_qcborstreamwriter.h @@ -15,11 +15,9 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QCborStreamWriter; class QIODevice; #else -typedef struct QByteArray QByteArray; typedef struct QCborStreamWriter QCborStreamWriter; typedef struct QIODevice QIODevice; #endif diff --git a/qt/cbor/gen_qcborvalue.h b/qt/cbor/gen_qcborvalue.h index 99cf36f7..7c6fddde 100644 --- a/qt/cbor/gen_qcborvalue.h +++ b/qt/cbor/gen_qcborvalue.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QCborArray; class QCborMap; class QCborParserError; @@ -30,7 +29,6 @@ class QUrl; class QUuid; class QVariant; #else -typedef struct QByteArray QByteArray; typedef struct QCborArray QCborArray; typedef struct QCborMap QCborMap; typedef struct QCborParserError QCborParserError; diff --git a/qt/gen_qabstractbutton.h b/qt/gen_qabstractbutton.h index 01952961..37b9fae2 100644 --- a/qt/gen_qabstractbutton.h +++ b/qt/gen_qabstractbutton.h @@ -18,7 +18,6 @@ extern "C" { class QAbstractButton; class QActionEvent; class QButtonGroup; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -53,7 +52,6 @@ class QWidget; typedef struct QAbstractButton QAbstractButton; typedef struct QActionEvent QActionEvent; typedef struct QButtonGroup QButtonGroup; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt/gen_qabstracteventdispatcher.h b/qt/gen_qabstracteventdispatcher.h index 04339830..a5729725 100644 --- a/qt/gen_qabstracteventdispatcher.h +++ b/qt/gen_qabstracteventdispatcher.h @@ -22,7 +22,6 @@ typedef QAbstractEventDispatcher::TimerInfo QAbstractEventDispatcher__TimerInfo; class QAbstractEventDispatcher__TimerInfo; #endif class QAbstractNativeEventFilter; -class QByteArray; class QMetaObject; class QObject; class QSocketNotifier; @@ -31,7 +30,6 @@ class QThread; typedef struct QAbstractEventDispatcher QAbstractEventDispatcher; typedef struct QAbstractEventDispatcher__TimerInfo QAbstractEventDispatcher__TimerInfo; typedef struct QAbstractNativeEventFilter QAbstractNativeEventFilter; -typedef struct QByteArray QByteArray; typedef struct QMetaObject QMetaObject; typedef struct QObject QObject; typedef struct QSocketNotifier QSocketNotifier; diff --git a/qt/gen_qabstractitemmodel.h b/qt/gen_qabstractitemmodel.h index 6bb0e8ce..dba66352 100644 --- a/qt/gen_qabstractitemmodel.h +++ b/qt/gen_qabstractitemmodel.h @@ -18,7 +18,6 @@ extern "C" { class QAbstractItemModel; class QAbstractListModel; class QAbstractTableModel; -class QByteArray; class QChildEvent; class QEvent; class QMetaMethod; @@ -34,7 +33,6 @@ class QVariant; typedef struct QAbstractItemModel QAbstractItemModel; typedef struct QAbstractListModel QAbstractListModel; typedef struct QAbstractTableModel QAbstractTableModel; -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QEvent QEvent; typedef struct QMetaMethod QMetaMethod; diff --git a/qt/gen_qabstractnativeeventfilter.h b/qt/gen_qabstractnativeeventfilter.h index 015b79ec..dfb77400 100644 --- a/qt/gen_qabstractnativeeventfilter.h +++ b/qt/gen_qabstractnativeeventfilter.h @@ -16,10 +16,8 @@ extern "C" { #ifdef __cplusplus class QAbstractNativeEventFilter; -class QByteArray; #else typedef struct QAbstractNativeEventFilter QAbstractNativeEventFilter; -typedef struct QByteArray QByteArray; #endif void QAbstractNativeEventFilter_new(QAbstractNativeEventFilter** outptr_QAbstractNativeEventFilter); diff --git a/qt/gen_qabstractproxymodel.h b/qt/gen_qabstractproxymodel.h index b2983140..a5a16d83 100644 --- a/qt/gen_qabstractproxymodel.h +++ b/qt/gen_qabstractproxymodel.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAbstractItemModel; class QAbstractProxyModel; -class QByteArray; class QItemSelection; class QMetaObject; class QMimeData; @@ -28,7 +27,6 @@ class QVariant; #else typedef struct QAbstractItemModel QAbstractItemModel; typedef struct QAbstractProxyModel QAbstractProxyModel; -typedef struct QByteArray QByteArray; typedef struct QItemSelection QItemSelection; typedef struct QMetaObject QMetaObject; typedef struct QMimeData QMimeData; diff --git a/qt/gen_qabstractslider.h b/qt/gen_qabstractslider.h index 6b272cec..e19f05f7 100644 --- a/qt/gen_qabstractslider.h +++ b/qt/gen_qabstractslider.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAbstractSlider; class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -49,7 +48,6 @@ class QWidget; #else typedef struct QAbstractSlider QAbstractSlider; typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt/gen_qabstractspinbox.h b/qt/gen_qabstractspinbox.h index 7e8af850..35418221 100644 --- a/qt/gen_qabstractspinbox.h +++ b/qt/gen_qabstractspinbox.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAbstractSpinBox; class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -49,7 +48,6 @@ class QWidget; #else typedef struct QAbstractSpinBox QAbstractSpinBox; typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt/gen_qaccessible.cpp b/qt/gen_qaccessible.cpp index ea6c4716..ad33294f 100644 --- a/qt/gen_qaccessible.cpp +++ b/qt/gen_qaccessible.cpp @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include diff --git a/qt/gen_qaccessiblewidget.cpp b/qt/gen_qaccessiblewidget.cpp index 6b3d9061..2a2a147b 100644 --- a/qt/gen_qaccessiblewidget.cpp +++ b/qt/gen_qaccessiblewidget.cpp @@ -5,6 +5,7 @@ #include #include #include +#include #include #include #include diff --git a/qt/gen_qbrush.cpp b/qt/gen_qbrush.cpp index f5613144..cdfa0753 100644 --- a/qt/gen_qbrush.cpp +++ b/qt/gen_qbrush.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include diff --git a/qt/gen_qbuffer.h b/qt/gen_qbuffer.h index 6416e492..6a388d41 100644 --- a/qt/gen_qbuffer.h +++ b/qt/gen_qbuffer.h @@ -16,14 +16,12 @@ extern "C" { #ifdef __cplusplus class QBuffer; -class QByteArray; class QIODevice; class QMetaMethod; class QMetaObject; class QObject; #else typedef struct QBuffer QBuffer; -typedef struct QByteArray QByteArray; typedef struct QIODevice QIODevice; typedef struct QMetaMethod QMetaMethod; typedef struct QMetaObject QMetaObject; diff --git a/qt/gen_qbytearraymatcher.h b/qt/gen_qbytearraymatcher.h index 1eb6bedb..74ad2e5a 100644 --- a/qt/gen_qbytearraymatcher.h +++ b/qt/gen_qbytearraymatcher.h @@ -15,11 +15,9 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QByteArrayMatcher; class QStaticByteArrayMatcherBase; #else -typedef struct QByteArray QByteArray; typedef struct QByteArrayMatcher QByteArrayMatcher; typedef struct QStaticByteArrayMatcherBase QStaticByteArrayMatcherBase; #endif diff --git a/qt/gen_qcalendarwidget.h b/qt/gen_qcalendarwidget.h index 0e74040e..1c33d0df 100644 --- a/qt/gen_qcalendarwidget.h +++ b/qt/gen_qcalendarwidget.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCalendar; class QCalendarWidget; class QCloseEvent; @@ -51,7 +50,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCalendar QCalendar; typedef struct QCalendarWidget QCalendarWidget; typedef struct QCloseEvent QCloseEvent; diff --git a/qt/gen_qcolorspace.h b/qt/gen_qcolorspace.h index 84e0d333..bd2bca0f 100644 --- a/qt/gen_qcolorspace.h +++ b/qt/gen_qcolorspace.h @@ -15,12 +15,10 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QColorSpace; class QColorTransform; class QPointF; #else -typedef struct QByteArray QByteArray; typedef struct QColorSpace QColorSpace; typedef struct QColorTransform QColorTransform; typedef struct QPointF QPointF; diff --git a/qt/gen_qcombobox.h b/qt/gen_qcombobox.h index 4d2c4929..985457dc 100644 --- a/qt/gen_qcombobox.h +++ b/qt/gen_qcombobox.h @@ -19,7 +19,6 @@ class QAbstractItemDelegate; class QAbstractItemModel; class QAbstractItemView; class QActionEvent; -class QByteArray; class QCloseEvent; class QComboBox; class QCompleter; @@ -58,7 +57,6 @@ typedef struct QAbstractItemDelegate QAbstractItemDelegate; typedef struct QAbstractItemModel QAbstractItemModel; typedef struct QAbstractItemView QAbstractItemView; typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QComboBox QComboBox; typedef struct QCompleter QCompleter; diff --git a/qt/gen_qconcatenatetablesproxymodel.h b/qt/gen_qconcatenatetablesproxymodel.h index ee333f9a..90df41e3 100644 --- a/qt/gen_qconcatenatetablesproxymodel.h +++ b/qt/gen_qconcatenatetablesproxymodel.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QAbstractItemModel; -class QByteArray; class QConcatenateTablesProxyModel; class QMetaObject; class QMimeData; @@ -26,7 +25,6 @@ class QSize; class QVariant; #else typedef struct QAbstractItemModel QAbstractItemModel; -typedef struct QByteArray QByteArray; typedef struct QConcatenateTablesProxyModel QConcatenateTablesProxyModel; typedef struct QMetaObject QMetaObject; typedef struct QMimeData QMimeData; diff --git a/qt/gen_qcoreevent.h b/qt/gen_qcoreevent.h index 6793d115..37255b02 100644 --- a/qt/gen_qcoreevent.h +++ b/qt/gen_qcoreevent.h @@ -15,14 +15,12 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChildEvent; class QDynamicPropertyChangeEvent; class QEvent; class QObject; class QTimerEvent; #else -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QDynamicPropertyChangeEvent QDynamicPropertyChangeEvent; typedef struct QEvent QEvent; diff --git a/qt/gen_qcryptographichash.h b/qt/gen_qcryptographichash.h index 44fa4f23..bd0d7c1a 100644 --- a/qt/gen_qcryptographichash.h +++ b/qt/gen_qcryptographichash.h @@ -15,11 +15,9 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QCryptographicHash; class QIODevice; #else -typedef struct QByteArray QByteArray; typedef struct QCryptographicHash QCryptographicHash; typedef struct QIODevice QIODevice; #endif diff --git a/qt/gen_qdatastream.h b/qt/gen_qdatastream.h index 4c46f121..bcbed710 100644 --- a/qt/gen_qdatastream.h +++ b/qt/gen_qdatastream.h @@ -15,11 +15,9 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QDataStream; class QIODevice; #else -typedef struct QByteArray QByteArray; typedef struct QDataStream QDataStream; typedef struct QIODevice QIODevice; #endif diff --git a/qt/gen_qdatawidgetmapper.h b/qt/gen_qdatawidgetmapper.h index 40175971..ae6712ee 100644 --- a/qt/gen_qdatawidgetmapper.h +++ b/qt/gen_qdatawidgetmapper.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAbstractItemDelegate; class QAbstractItemModel; -class QByteArray; class QChildEvent; class QDataWidgetMapper; class QEvent; @@ -30,7 +29,6 @@ class QWidget; #else typedef struct QAbstractItemDelegate QAbstractItemDelegate; typedef struct QAbstractItemModel QAbstractItemModel; -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QDataWidgetMapper QDataWidgetMapper; typedef struct QEvent QEvent; diff --git a/qt/gen_qdebug.h b/qt/gen_qdebug.h index dbc25299..cd36a919 100644 --- a/qt/gen_qdebug.h +++ b/qt/gen_qdebug.h @@ -15,14 +15,12 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChar; class QDebug; class QDebugStateSaver; class QIODevice; class QNoDebug; #else -typedef struct QByteArray QByteArray; typedef struct QChar QChar; typedef struct QDebug QDebug; typedef struct QDebugStateSaver QDebugStateSaver; diff --git a/qt/gen_qdesktopwidget.h b/qt/gen_qdesktopwidget.h index 4e26f111..78963d75 100644 --- a/qt/gen_qdesktopwidget.h +++ b/qt/gen_qdesktopwidget.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDesktopWidget; @@ -48,7 +47,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDesktopWidget QDesktopWidget; diff --git a/qt/gen_qdialog.h b/qt/gen_qdialog.h index 2c2a6eb8..176da166 100644 --- a/qt/gen_qdialog.h +++ b/qt/gen_qdialog.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDialog; @@ -47,7 +46,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDialog QDialog; diff --git a/qt/gen_qdialogbuttonbox.h b/qt/gen_qdialogbuttonbox.h index 17927c82..f352bd97 100644 --- a/qt/gen_qdialogbuttonbox.h +++ b/qt/gen_qdialogbuttonbox.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAbstractButton; class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDialogButtonBox; @@ -50,7 +49,6 @@ class QWidget; #else typedef struct QAbstractButton QAbstractButton; typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDialogButtonBox QDialogButtonBox; diff --git a/qt/gen_qdirmodel.h b/qt/gen_qdirmodel.h index 1abda51b..13914b52 100644 --- a/qt/gen_qdirmodel.h +++ b/qt/gen_qdirmodel.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QAbstractItemModel; -class QByteArray; class QDirModel; class QFileIconProvider; class QFileInfo; @@ -29,7 +28,6 @@ class QSize; class QVariant; #else typedef struct QAbstractItemModel QAbstractItemModel; -typedef struct QByteArray QByteArray; typedef struct QDirModel QDirModel; typedef struct QFileIconProvider QFileIconProvider; typedef struct QFileInfo QFileInfo; diff --git a/qt/gen_qdockwidget.h b/qt/gen_qdockwidget.h index 4468e634..ab216385 100644 --- a/qt/gen_qdockwidget.h +++ b/qt/gen_qdockwidget.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAction; class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDockWidget; @@ -49,7 +48,6 @@ class QWidget; #else typedef struct QAction QAction; typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDockWidget QDockWidget; diff --git a/qt/gen_qfile.h b/qt/gen_qfile.h index 6c68eb0e..5d6abc18 100644 --- a/qt/gen_qfile.h +++ b/qt/gen_qfile.h @@ -15,14 +15,12 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QFile; class QFileDevice; class QIODevice; class QMetaObject; class QObject; #else -typedef struct QByteArray QByteArray; typedef struct QFile QFile; typedef struct QFileDevice QFileDevice; typedef struct QIODevice QIODevice; diff --git a/qt/gen_qfiledialog.h b/qt/gen_qfiledialog.h index 3fbe5496..d6aaf1ac 100644 --- a/qt/gen_qfiledialog.h +++ b/qt/gen_qfiledialog.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAbstractItemDelegate; class QAbstractProxyModel; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDialog; @@ -37,7 +36,6 @@ class QWidget; #else typedef struct QAbstractItemDelegate QAbstractItemDelegate; typedef struct QAbstractProxyModel QAbstractProxyModel; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDialog QDialog; diff --git a/qt/gen_qfilesystemmodel.h b/qt/gen_qfilesystemmodel.h index f3b79f0a..bbe5f1a3 100644 --- a/qt/gen_qfilesystemmodel.h +++ b/qt/gen_qfilesystemmodel.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QAbstractItemModel; -class QByteArray; class QDateTime; class QDir; class QEvent; @@ -33,7 +32,6 @@ class QTimerEvent; class QVariant; #else typedef struct QAbstractItemModel QAbstractItemModel; -typedef struct QByteArray QByteArray; typedef struct QDateTime QDateTime; typedef struct QDir QDir; typedef struct QEvent QEvent; diff --git a/qt/gen_qfocusframe.h b/qt/gen_qfocusframe.h index cef264df..c97d27e1 100644 --- a/qt/gen_qfocusframe.h +++ b/qt/gen_qfocusframe.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -47,7 +46,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt/gen_qfontdatabase.h b/qt/gen_qfontdatabase.h index 4b7fe55f..53fe470d 100644 --- a/qt/gen_qfontdatabase.h +++ b/qt/gen_qfontdatabase.h @@ -15,12 +15,10 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QFont; class QFontDatabase; class QFontInfo; #else -typedef struct QByteArray QByteArray; typedef struct QFont QFont; typedef struct QFontDatabase QFontDatabase; typedef struct QFontInfo QFontInfo; diff --git a/qt/gen_qframe.h b/qt/gen_qframe.h index adfb3d6f..120e31ed 100644 --- a/qt/gen_qframe.h +++ b/qt/gen_qframe.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -48,7 +47,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt/gen_qgraphicsitemanimation.cpp b/qt/gen_qgraphicsitemanimation.cpp index 5873ad53..ec3c082b 100644 --- a/qt/gen_qgraphicsitemanimation.cpp +++ b/qt/gen_qgraphicsitemanimation.cpp @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include diff --git a/qt/gen_qgroupbox.h b/qt/gen_qgroupbox.h index 7577af9f..6d1cc3f9 100644 --- a/qt/gen_qgroupbox.h +++ b/qt/gen_qgroupbox.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QChildEvent; class QCloseEvent; class QContextMenuEvent; @@ -48,7 +47,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; diff --git a/qt/gen_qheaderview.h b/qt/gen_qheaderview.h index 3fb1f54d..5c3d6078 100644 --- a/qt/gen_qheaderview.h +++ b/qt/gen_qheaderview.h @@ -18,7 +18,6 @@ extern "C" { class QAbstractItemModel; class QAbstractItemView; class QAbstractScrollArea; -class QByteArray; class QDragEnterEvent; class QDragLeaveEvent; class QDragMoveEvent; @@ -51,7 +50,6 @@ class QWidget; typedef struct QAbstractItemModel QAbstractItemModel; typedef struct QAbstractItemView QAbstractItemView; typedef struct QAbstractScrollArea QAbstractScrollArea; -typedef struct QByteArray QByteArray; typedef struct QDragEnterEvent QDragEnterEvent; typedef struct QDragLeaveEvent QDragLeaveEvent; typedef struct QDragMoveEvent QDragMoveEvent; diff --git a/qt/gen_qimage.h b/qt/gen_qimage.h index 33cd5f91..eea19916 100644 --- a/qt/gen_qimage.h +++ b/qt/gen_qimage.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QColor; class QColorSpace; class QColorTransform; @@ -31,7 +30,6 @@ class QRect; class QSize; class QTransform; #else -typedef struct QByteArray QByteArray; typedef struct QColor QColor; typedef struct QColorSpace QColorSpace; typedef struct QColorTransform QColorTransform; diff --git a/qt/gen_qimageiohandler.h b/qt/gen_qimageiohandler.h index d4012b5a..f90bc80f 100644 --- a/qt/gen_qimageiohandler.h +++ b/qt/gen_qimageiohandler.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChildEvent; class QEvent; class QIODevice; @@ -29,7 +28,6 @@ class QRect; class QTimerEvent; class QVariant; #else -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QEvent QEvent; typedef struct QIODevice QIODevice; diff --git a/qt/gen_qimagereader.h b/qt/gen_qimagereader.h index 333cbfad..2cab031e 100644 --- a/qt/gen_qimagereader.h +++ b/qt/gen_qimagereader.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QColor; class QIODevice; class QImage; @@ -23,7 +22,6 @@ class QImageReader; class QRect; class QSize; #else -typedef struct QByteArray QByteArray; typedef struct QColor QColor; typedef struct QIODevice QIODevice; typedef struct QImage QImage; diff --git a/qt/gen_qimagewriter.h b/qt/gen_qimagewriter.h index 698ce2e6..5e1e8b1c 100644 --- a/qt/gen_qimagewriter.h +++ b/qt/gen_qimagewriter.h @@ -15,12 +15,10 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QIODevice; class QImage; class QImageWriter; #else -typedef struct QByteArray QByteArray; typedef struct QIODevice QIODevice; typedef struct QImage QImage; typedef struct QImageWriter QImageWriter; diff --git a/qt/gen_qiodevice.h b/qt/gen_qiodevice.h index 9c2b5eae..6439e333 100644 --- a/qt/gen_qiodevice.h +++ b/qt/gen_qiodevice.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChildEvent; class QEvent; class QIODevice; @@ -24,7 +23,6 @@ class QMetaObject; class QObject; class QTimerEvent; #else -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QEvent QEvent; typedef struct QIODevice QIODevice; diff --git a/qt/gen_qitemeditorfactory.h b/qt/gen_qitemeditorfactory.h index 023c1375..16f5d45d 100644 --- a/qt/gen_qitemeditorfactory.h +++ b/qt/gen_qitemeditorfactory.h @@ -15,12 +15,10 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QItemEditorCreatorBase; class QItemEditorFactory; class QWidget; #else -typedef struct QByteArray QByteArray; typedef struct QItemEditorCreatorBase QItemEditorCreatorBase; typedef struct QItemEditorFactory QItemEditorFactory; typedef struct QWidget QWidget; diff --git a/qt/gen_qjsondocument.h b/qt/gen_qjsondocument.h index 60dbb1fc..2410d41a 100644 --- a/qt/gen_qjsondocument.h +++ b/qt/gen_qjsondocument.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QJsonArray; class QJsonDocument; class QJsonObject; @@ -23,7 +22,6 @@ class QJsonParseError; class QJsonValue; class QVariant; #else -typedef struct QByteArray QByteArray; typedef struct QJsonArray QJsonArray; typedef struct QJsonDocument QJsonDocument; typedef struct QJsonObject QJsonObject; diff --git a/qt/gen_qkeysequenceedit.h b/qt/gen_qkeysequenceedit.h index c6b887c5..ef0257ea 100644 --- a/qt/gen_qkeysequenceedit.h +++ b/qt/gen_qkeysequenceedit.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -49,7 +48,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt/gen_qlineedit.h b/qt/gen_qlineedit.h index f232da37..a52ad196 100644 --- a/qt/gen_qlineedit.h +++ b/qt/gen_qlineedit.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAction; class QActionEvent; -class QByteArray; class QCloseEvent; class QCompleter; class QContextMenuEvent; @@ -54,7 +53,6 @@ class QWidget; #else typedef struct QAction QAction; typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QCompleter QCompleter; typedef struct QContextMenuEvent QContextMenuEvent; diff --git a/qt/gen_qmainwindow.h b/qt/gen_qmainwindow.h index d19e2156..855f65c3 100644 --- a/qt/gen_qmainwindow.h +++ b/qt/gen_qmainwindow.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDockWidget; @@ -52,7 +51,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDockWidget QDockWidget; diff --git a/qt/gen_qmdisubwindow.h b/qt/gen_qmdisubwindow.h index cc1257cb..dcace4f8 100644 --- a/qt/gen_qmdisubwindow.h +++ b/qt/gen_qmdisubwindow.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QChildEvent; class QCloseEvent; class QContextMenuEvent; @@ -51,7 +50,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; diff --git a/qt/gen_qmenu.h b/qt/gen_qmenu.h index 01662f62..32cc2c6a 100644 --- a/qt/gen_qmenu.h +++ b/qt/gen_qmenu.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAction; class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -52,7 +51,6 @@ class QWidget; #else typedef struct QAction QAction; typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt/gen_qmenubar.h b/qt/gen_qmenubar.h index f2d1c54e..0f3efede 100644 --- a/qt/gen_qmenubar.h +++ b/qt/gen_qmenubar.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAction; class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -53,7 +52,6 @@ class QWidget; #else typedef struct QAction QAction; typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt/gen_qmessageauthenticationcode.h b/qt/gen_qmessageauthenticationcode.h index 12bda40e..42c7ddfb 100644 --- a/qt/gen_qmessageauthenticationcode.h +++ b/qt/gen_qmessageauthenticationcode.h @@ -15,11 +15,9 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QIODevice; class QMessageAuthenticationCode; #else -typedef struct QByteArray QByteArray; typedef struct QIODevice QIODevice; typedef struct QMessageAuthenticationCode QMessageAuthenticationCode; #endif diff --git a/qt/gen_qmetaobject.h b/qt/gen_qmetaobject.h index 10cc44fa..8f4f9a2f 100644 --- a/qt/gen_qmetaobject.h +++ b/qt/gen_qmetaobject.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QGenericArgument; class QGenericReturnArgument; class QMetaClassInfo; @@ -26,7 +25,6 @@ class QMetaProperty; class QObject; class QVariant; #else -typedef struct QByteArray QByteArray; typedef struct QGenericArgument QGenericArgument; typedef struct QGenericReturnArgument QGenericReturnArgument; typedef struct QMetaClassInfo QMetaClassInfo; diff --git a/qt/gen_qmetatype.h b/qt/gen_qmetatype.h index 9befb0f5..df5b79bd 100644 --- a/qt/gen_qmetatype.h +++ b/qt/gen_qmetatype.h @@ -15,13 +15,11 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QDataStream; class QDebug; class QMetaObject; class QMetaType; #else -typedef struct QByteArray QByteArray; typedef struct QDataStream QDataStream; typedef struct QDebug QDebug; typedef struct QMetaObject QMetaObject; diff --git a/qt/gen_qmimedata.h b/qt/gen_qmimedata.h index f01ef469..71c4b8cf 100644 --- a/qt/gen_qmimedata.h +++ b/qt/gen_qmimedata.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChildEvent; class QEvent; class QMetaMethod; @@ -26,7 +25,6 @@ class QTimerEvent; class QUrl; class QVariant; #else -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QEvent QEvent; typedef struct QMetaMethod QMetaMethod; diff --git a/qt/gen_qmimedatabase.h b/qt/gen_qmimedatabase.h index 3df1f10d..0d4aa762 100644 --- a/qt/gen_qmimedatabase.h +++ b/qt/gen_qmimedatabase.h @@ -15,14 +15,12 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QFileInfo; class QIODevice; class QMimeDatabase; class QMimeType; class QUrl; #else -typedef struct QByteArray QByteArray; typedef struct QFileInfo QFileInfo; typedef struct QIODevice QIODevice; typedef struct QMimeDatabase QMimeDatabase; diff --git a/qt/gen_qmovie.h b/qt/gen_qmovie.h index 69bf6dd3..3ed97f7f 100644 --- a/qt/gen_qmovie.h +++ b/qt/gen_qmovie.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChildEvent; class QColor; class QEvent; @@ -30,7 +29,6 @@ class QRect; class QSize; class QTimerEvent; #else -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QColor QColor; typedef struct QEvent QEvent; diff --git a/qt/gen_qobject.h b/qt/gen_qobject.h index 838063c6..be767f17 100644 --- a/qt/gen_qobject.h +++ b/qt/gen_qobject.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChildEvent; class QEvent; class QMetaMethod; @@ -33,7 +32,6 @@ class QThread; class QTimerEvent; class QVariant; #else -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QEvent QEvent; typedef struct QMetaMethod QMetaMethod; diff --git a/qt/gen_qobjectdefs.h b/qt/gen_qobjectdefs.h index 8ad6b9e1..373d9e77 100644 --- a/qt/gen_qobjectdefs.h +++ b/qt/gen_qobjectdefs.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QGenericArgument; class QGenericReturnArgument; class QMetaClassInfo; @@ -35,7 +34,6 @@ class QMetaObject__SuperData; class QMetaProperty; class QObject; #else -typedef struct QByteArray QByteArray; typedef struct QGenericArgument QGenericArgument; typedef struct QGenericReturnArgument QGenericReturnArgument; typedef struct QMetaClassInfo QMetaClassInfo; diff --git a/qt/gen_qpdfwriter.h b/qt/gen_qpdfwriter.h index d97d5e2f..7bda2f6a 100644 --- a/qt/gen_qpdfwriter.h +++ b/qt/gen_qpdfwriter.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChildEvent; class QEvent; class QIODevice; @@ -34,7 +33,6 @@ class QPdfWriter; class QSizeF; class QTimerEvent; #else -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QEvent QEvent; typedef struct QIODevice QIODevice; diff --git a/qt/gen_qpicture.h b/qt/gen_qpicture.h index 4135f4c0..59d4e5bd 100644 --- a/qt/gen_qpicture.h +++ b/qt/gen_qpicture.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QIODevice; class QPaintDevice; class QPaintEngine; @@ -25,7 +24,6 @@ class QPictureIO; class QPoint; class QRect; #else -typedef struct QByteArray QByteArray; typedef struct QIODevice QIODevice; typedef struct QPaintDevice QPaintDevice; typedef struct QPaintEngine QPaintEngine; diff --git a/qt/gen_qpixmap.h b/qt/gen_qpixmap.h index d8dafb31..e4363c13 100644 --- a/qt/gen_qpixmap.h +++ b/qt/gen_qpixmap.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QBitmap; -class QByteArray; class QColor; class QIODevice; class QImage; @@ -34,7 +33,6 @@ class QSize; class QTransform; #else typedef struct QBitmap QBitmap; -typedef struct QByteArray QByteArray; typedef struct QColor QColor; typedef struct QIODevice QIODevice; typedef struct QImage QImage; diff --git a/qt/gen_qprocess.h b/qt/gen_qprocess.h index 74276026..b382e61e 100644 --- a/qt/gen_qprocess.h +++ b/qt/gen_qprocess.h @@ -15,14 +15,12 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QIODevice; class QMetaObject; class QObject; class QProcess; class QProcessEnvironment; #else -typedef struct QByteArray QByteArray; typedef struct QIODevice QIODevice; typedef struct QMetaObject QMetaObject; typedef struct QObject QObject; diff --git a/qt/gen_qprogressbar.h b/qt/gen_qprogressbar.h index 0fd31489..7ff7ccf6 100644 --- a/qt/gen_qprogressbar.h +++ b/qt/gen_qprogressbar.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -47,7 +46,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt/gen_qpropertyanimation.h b/qt/gen_qpropertyanimation.h index 89accb30..f1f853c9 100644 --- a/qt/gen_qpropertyanimation.h +++ b/qt/gen_qpropertyanimation.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QAbstractAnimation; -class QByteArray; class QEvent; class QMetaObject; class QObject; @@ -25,7 +24,6 @@ class QVariant; class QVariantAnimation; #else typedef struct QAbstractAnimation QAbstractAnimation; -typedef struct QByteArray QByteArray; typedef struct QEvent QEvent; typedef struct QMetaObject QMetaObject; typedef struct QObject QObject; diff --git a/qt/gen_qrawfont.h b/qt/gen_qrawfont.h index e211c98d..01a8b102 100644 --- a/qt/gen_qrawfont.h +++ b/qt/gen_qrawfont.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChar; class QFont; class QImage; @@ -25,7 +24,6 @@ class QRawFont; class QRectF; class QTransform; #else -typedef struct QByteArray QByteArray; typedef struct QChar QChar; typedef struct QFont QFont; typedef struct QImage QImage; diff --git a/qt/gen_qresource.h b/qt/gen_qresource.h index a4052974..6d324158 100644 --- a/qt/gen_qresource.h +++ b/qt/gen_qresource.h @@ -15,12 +15,10 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QDateTime; class QLocale; class QResource; #else -typedef struct QByteArray QByteArray; typedef struct QDateTime QDateTime; typedef struct QLocale QLocale; typedef struct QResource QResource; diff --git a/qt/gen_qrubberband.h b/qt/gen_qrubberband.h index 6f031924..3edefa67 100644 --- a/qt/gen_qrubberband.h +++ b/qt/gen_qrubberband.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -48,7 +47,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt/gen_qsignaltransition.h b/qt/gen_qsignaltransition.h index f99c11aa..bdfea215 100644 --- a/qt/gen_qsignaltransition.h +++ b/qt/gen_qsignaltransition.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QAbstractTransition; -class QByteArray; class QEvent; class QMetaObject; class QObject; @@ -24,7 +23,6 @@ class QSignalTransition; class QState; #else typedef struct QAbstractTransition QAbstractTransition; -typedef struct QByteArray QByteArray; typedef struct QEvent QEvent; typedef struct QMetaObject QMetaObject; typedef struct QObject QObject; diff --git a/qt/gen_qsizegrip.h b/qt/gen_qsizegrip.h index fc913605..87694038 100644 --- a/qt/gen_qsizegrip.h +++ b/qt/gen_qsizegrip.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -47,7 +46,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt/gen_qsplashscreen.h b/qt/gen_qsplashscreen.h index 339703ae..60679e38 100644 --- a/qt/gen_qsplashscreen.h +++ b/qt/gen_qsplashscreen.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QColor; class QContextMenuEvent; @@ -50,7 +49,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QColor QColor; typedef struct QContextMenuEvent QContextMenuEvent; diff --git a/qt/gen_qsplitter.h b/qt/gen_qsplitter.h index 6d1a19f3..601c33e3 100644 --- a/qt/gen_qsplitter.h +++ b/qt/gen_qsplitter.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QChildEvent; class QCloseEvent; class QContextMenuEvent; @@ -50,7 +49,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; diff --git a/qt/gen_qstandarditemmodel.h b/qt/gen_qstandarditemmodel.h index 168a4212..eedbe1af 100644 --- a/qt/gen_qstandarditemmodel.h +++ b/qt/gen_qstandarditemmodel.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAbstractItemModel; class QBrush; -class QByteArray; class QDataStream; class QFont; class QIcon; @@ -32,7 +31,6 @@ class QVariant; #else typedef struct QAbstractItemModel QAbstractItemModel; typedef struct QBrush QBrush; -typedef struct QByteArray QByteArray; typedef struct QDataStream QDataStream; typedef struct QFont QFont; typedef struct QIcon QIcon; diff --git a/qt/gen_qstatemachine.cpp b/qt/gen_qstatemachine.cpp index fed379e5..63276c6f 100644 --- a/qt/gen_qstatemachine.cpp +++ b/qt/gen_qstatemachine.cpp @@ -4,6 +4,7 @@ #include #include #include +#include #include #include #define WORKAROUND_INNER_CLASS_DEFINITION_QStateMachine__SignalEvent diff --git a/qt/gen_qstatusbar.h b/qt/gen_qstatusbar.h index 1ecead00..63475dd6 100644 --- a/qt/gen_qstatusbar.h +++ b/qt/gen_qstatusbar.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -47,7 +46,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt/gen_qstorageinfo.h b/qt/gen_qstorageinfo.h index ff708dc9..bbbb8a0f 100644 --- a/qt/gen_qstorageinfo.h +++ b/qt/gen_qstorageinfo.h @@ -15,11 +15,9 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QDir; class QStorageInfo; #else -typedef struct QByteArray QByteArray; typedef struct QDir QDir; typedef struct QStorageInfo QStorageInfo; #endif diff --git a/qt/gen_qstringview.h b/qt/gen_qstringview.h index 8cbff8e3..b3e07693 100644 --- a/qt/gen_qstringview.h +++ b/qt/gen_qstringview.h @@ -15,11 +15,9 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChar; class QStringView; #else -typedef struct QByteArray QByteArray; typedef struct QChar QChar; typedef struct QStringView QStringView; #endif diff --git a/qt/gen_qsurfaceformat.cpp b/qt/gen_qsurfaceformat.cpp index e08c6315..40ab9dbf 100644 --- a/qt/gen_qsurfaceformat.cpp +++ b/qt/gen_qsurfaceformat.cpp @@ -1,3 +1,4 @@ +#include #include #include #include "gen_qsurfaceformat.h" diff --git a/qt/gen_qtabbar.h b/qt/gen_qtabbar.h index 92209511..bf48f912 100644 --- a/qt/gen_qtabbar.h +++ b/qt/gen_qtabbar.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QColor; class QContextMenuEvent; @@ -51,7 +50,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QColor QColor; typedef struct QContextMenuEvent QContextMenuEvent; diff --git a/qt/gen_qtabwidget.h b/qt/gen_qtabwidget.h index 4b901afa..460cd127 100644 --- a/qt/gen_qtabwidget.h +++ b/qt/gen_qtabwidget.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -49,7 +48,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt/gen_qtextcodec.h b/qt/gen_qtextcodec.h index 9318770b..ed18cac4 100644 --- a/qt/gen_qtextcodec.h +++ b/qt/gen_qtextcodec.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChar; class QTextCodec; #if defined(WORKAROUND_INNER_CLASS_DEFINITION_QTextCodec__ConverterState) @@ -26,7 +25,6 @@ class QTextCodec__ConverterState; class QTextDecoder; class QTextEncoder; #else -typedef struct QByteArray QByteArray; typedef struct QChar QChar; typedef struct QTextCodec QTextCodec; typedef struct QTextCodec__ConverterState QTextCodec__ConverterState; diff --git a/qt/gen_qtextdocument.h b/qt/gen_qtextdocument.h index a4c3d6ab..5db0600b 100644 --- a/qt/gen_qtextdocument.h +++ b/qt/gen_qtextdocument.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAbstractTextDocumentLayout; class QAbstractUndoItem; -class QByteArray; class QChar; class QChildEvent; class QEvent; @@ -44,7 +43,6 @@ class QVariant; #else typedef struct QAbstractTextDocumentLayout QAbstractTextDocumentLayout; typedef struct QAbstractUndoItem QAbstractUndoItem; -typedef struct QByteArray QByteArray; typedef struct QChar QChar; typedef struct QChildEvent QChildEvent; typedef struct QEvent QEvent; diff --git a/qt/gen_qtextdocumentfragment.h b/qt/gen_qtextdocumentfragment.h index 7f4e6495..fc7d24d4 100644 --- a/qt/gen_qtextdocumentfragment.h +++ b/qt/gen_qtextdocumentfragment.h @@ -15,12 +15,10 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QTextCursor; class QTextDocument; class QTextDocumentFragment; #else -typedef struct QByteArray QByteArray; typedef struct QTextCursor QTextCursor; typedef struct QTextDocument QTextDocument; typedef struct QTextDocumentFragment QTextDocumentFragment; diff --git a/qt/gen_qtextdocumentwriter.h b/qt/gen_qtextdocumentwriter.h index 58d7190f..f0406ced 100644 --- a/qt/gen_qtextdocumentwriter.h +++ b/qt/gen_qtextdocumentwriter.h @@ -15,14 +15,12 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QIODevice; class QTextCodec; class QTextDocument; class QTextDocumentFragment; class QTextDocumentWriter; #else -typedef struct QByteArray QByteArray; typedef struct QIODevice QIODevice; typedef struct QTextCodec QTextCodec; typedef struct QTextDocument QTextDocument; diff --git a/qt/gen_qtextstream.h b/qt/gen_qtextstream.h index af13ca79..976ae10d 100644 --- a/qt/gen_qtextstream.h +++ b/qt/gen_qtextstream.h @@ -15,14 +15,12 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChar; class QIODevice; class QLocale; class QTextCodec; class QTextStream; #else -typedef struct QByteArray QByteArray; typedef struct QChar QChar; typedef struct QIODevice QIODevice; typedef struct QLocale QLocale; diff --git a/qt/gen_qtimezone.h b/qt/gen_qtimezone.h index 4c4ece2b..202d7ff1 100644 --- a/qt/gen_qtimezone.h +++ b/qt/gen_qtimezone.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QDateTime; class QLocale; class QTimeZone; @@ -25,7 +24,6 @@ typedef QTimeZone::OffsetData QTimeZone__OffsetData; class QTimeZone__OffsetData; #endif #else -typedef struct QByteArray QByteArray; typedef struct QDateTime QDateTime; typedef struct QLocale QLocale; typedef struct QTimeZone QTimeZone; diff --git a/qt/gen_qtoolbar.h b/qt/gen_qtoolbar.h index a91e50ea..fba36d2f 100644 --- a/qt/gen_qtoolbar.h +++ b/qt/gen_qtoolbar.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAction; class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -51,7 +50,6 @@ class QWidget; #else typedef struct QAction QAction; typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt/gen_qurl.h b/qt/gen_qurl.h index 1f22c509..36edd29d 100644 --- a/qt/gen_qurl.h +++ b/qt/gen_qurl.h @@ -15,11 +15,9 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QUrl; class QUrlQuery; #else -typedef struct QByteArray QByteArray; typedef struct QUrl QUrl; typedef struct QUrlQuery QUrlQuery; #endif diff --git a/qt/gen_qurlquery.cpp b/qt/gen_qurlquery.cpp index 3efbc8dd..00e11b57 100644 --- a/qt/gen_qurlquery.cpp +++ b/qt/gen_qurlquery.cpp @@ -1,5 +1,6 @@ #include #include +#include #include #include #include diff --git a/qt/gen_quuid.h b/qt/gen_quuid.h index e5a1216c..b5fd206e 100644 --- a/qt/gen_quuid.h +++ b/qt/gen_quuid.h @@ -15,10 +15,8 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QUuid; #else -typedef struct QByteArray QByteArray; typedef struct QUuid QUuid; #endif diff --git a/qt/gen_qvariant.h b/qt/gen_qvariant.h index 9cfa4b87..e1248598 100644 --- a/qt/gen_qvariant.h +++ b/qt/gen_qvariant.h @@ -21,7 +21,6 @@ typedef QAssociativeIterable::const_iterator QAssociativeIterable__const_iterato class QAssociativeIterable__const_iterator; #endif class QBitArray; -class QByteArray; class QChar; class QDataStream; class QDate; @@ -62,7 +61,6 @@ class QVariantComparisonHelper; #else typedef struct QAssociativeIterable__const_iterator QAssociativeIterable__const_iterator; typedef struct QBitArray QBitArray; -typedef struct QByteArray QByteArray; typedef struct QChar QChar; typedef struct QDataStream QDataStream; typedef struct QDate QDate; diff --git a/qt/gen_qvariantanimation.cpp b/qt/gen_qvariantanimation.cpp index 721b1c36..51b13502 100644 --- a/qt/gen_qvariantanimation.cpp +++ b/qt/gen_qvariantanimation.cpp @@ -4,6 +4,7 @@ #include #include #include +#include #include #include #include diff --git a/qt/gen_qwidget.h b/qt/gen_qwidget.h index de4c4fdd..709dfa3b 100644 --- a/qt/gen_qwidget.h +++ b/qt/gen_qwidget.h @@ -19,7 +19,6 @@ class QAction; class QActionEvent; class QBackingStore; class QBitmap; -class QByteArray; class QChildEvent; class QCloseEvent; class QContextMenuEvent; @@ -75,7 +74,6 @@ typedef struct QAction QAction; typedef struct QActionEvent QActionEvent; typedef struct QBackingStore QBackingStore; typedef struct QBitmap QBitmap; -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; diff --git a/qt/gen_qwindow.h b/qt/gen_qwindow.h index e5e8d55c..0e7d6044 100644 --- a/qt/gen_qwindow.h +++ b/qt/gen_qwindow.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QAccessibleInterface; -class QByteArray; class QChildEvent; class QCursor; class QEvent; @@ -47,7 +46,6 @@ class QWheelEvent; class QWindow; #else typedef struct QAccessibleInterface QAccessibleInterface; -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QCursor QCursor; typedef struct QEvent QEvent; diff --git a/qt/gen_qwizard.h b/qt/gen_qwizard.h index d65f15fe..45a944ec 100644 --- a/qt/gen_qwizard.h +++ b/qt/gen_qwizard.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAbstractButton; class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDialog; @@ -52,7 +51,6 @@ class QWizardPage; #else typedef struct QAbstractButton QAbstractButton; typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDialog QDialog; diff --git a/qt/gen_qxmlstream.h b/qt/gen_qxmlstream.h index 9870b330..a034dd4f 100644 --- a/qt/gen_qxmlstream.h +++ b/qt/gen_qxmlstream.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QIODevice; class QTextCodec; class QXmlStreamAttribute; @@ -27,7 +26,6 @@ class QXmlStreamReader; class QXmlStreamStringRef; class QXmlStreamWriter; #else -typedef struct QByteArray QByteArray; typedef struct QIODevice QIODevice; typedef struct QTextCodec QTextCodec; typedef struct QXmlStreamAttribute QXmlStreamAttribute; diff --git a/qt/multimedia/gen_qaudiobuffer.h b/qt/multimedia/gen_qaudiobuffer.h index a88daa5f..d84a4d77 100644 --- a/qt/multimedia/gen_qaudiobuffer.h +++ b/qt/multimedia/gen_qaudiobuffer.h @@ -17,11 +17,9 @@ extern "C" { #ifdef __cplusplus class QAudioBuffer; class QAudioFormat; -class QByteArray; #else typedef struct QAudioBuffer QAudioBuffer; typedef struct QAudioFormat QAudioFormat; -typedef struct QByteArray QByteArray; #endif void QAudioBuffer_new(QAudioBuffer** outptr_QAudioBuffer); diff --git a/qt/multimedia/gen_qaudiosystemplugin.h b/qt/multimedia/gen_qaudiosystemplugin.h index 1b6e852a..a0319686 100644 --- a/qt/multimedia/gen_qaudiosystemplugin.h +++ b/qt/multimedia/gen_qaudiosystemplugin.h @@ -20,7 +20,6 @@ class QAbstractAudioInput; class QAbstractAudioOutput; class QAudioSystemFactoryInterface; class QAudioSystemPlugin; -class QByteArray; class QChildEvent; class QEvent; class QMetaMethod; @@ -33,7 +32,6 @@ typedef struct QAbstractAudioInput QAbstractAudioInput; typedef struct QAbstractAudioOutput QAbstractAudioOutput; typedef struct QAudioSystemFactoryInterface QAudioSystemFactoryInterface; typedef struct QAudioSystemPlugin QAudioSystemPlugin; -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QEvent QEvent; typedef struct QMetaMethod QMetaMethod; diff --git a/qt/multimedia/gen_qcamera.h b/qt/multimedia/gen_qcamera.h index 37126e09..2ff55678 100644 --- a/qt/multimedia/gen_qcamera.h +++ b/qt/multimedia/gen_qcamera.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QAbstractVideoSurface; -class QByteArray; class QCamera; #if defined(WORKAROUND_INNER_CLASS_DEFINITION_QCamera__FrameRateRange) typedef QCamera::FrameRateRange QCamera__FrameRateRange; @@ -37,7 +36,6 @@ class QSize; class QVideoWidget; #else typedef struct QAbstractVideoSurface QAbstractVideoSurface; -typedef struct QByteArray QByteArray; typedef struct QCamera QCamera; typedef struct QCamera__FrameRateRange QCamera__FrameRateRange; typedef struct QCameraExposure QCameraExposure; diff --git a/qt/multimedia/gen_qcamerainfo.h b/qt/multimedia/gen_qcamerainfo.h index 668db4d3..665e62a2 100644 --- a/qt/multimedia/gen_qcamerainfo.h +++ b/qt/multimedia/gen_qcamerainfo.h @@ -15,11 +15,9 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QCamera; class QCameraInfo; #else -typedef struct QByteArray QByteArray; typedef struct QCamera QCamera; typedef struct QCameraInfo QCameraInfo; #endif diff --git a/qt/multimedia/gen_qmediaserviceproviderplugin.h b/qt/multimedia/gen_qmediaserviceproviderplugin.h index a1ef878c..b75f8a55 100644 --- a/qt/multimedia/gen_qmediaserviceproviderplugin.h +++ b/qt/multimedia/gen_qmediaserviceproviderplugin.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QMediaService; class QMediaServiceCameraInfoInterface; class QMediaServiceDefaultDeviceInterface; @@ -28,7 +27,6 @@ class QMediaServiceSupportedFormatsInterface; class QMetaObject; class QObject; #else -typedef struct QByteArray QByteArray; typedef struct QMediaService QMediaService; typedef struct QMediaServiceCameraInfoInterface QMediaServiceCameraInfoInterface; typedef struct QMediaServiceDefaultDeviceInterface QMediaServiceDefaultDeviceInterface; diff --git a/qt/multimedia/gen_qradiotuner.cpp b/qt/multimedia/gen_qradiotuner.cpp index bc728801..9905dea7 100644 --- a/qt/multimedia/gen_qradiotuner.cpp +++ b/qt/multimedia/gen_qradiotuner.cpp @@ -2,6 +2,7 @@ #include #include #include +#include #include #include #include diff --git a/qt/multimedia/gen_qradiotunercontrol.cpp b/qt/multimedia/gen_qradiotunercontrol.cpp index f1e91eda..4e453658 100644 --- a/qt/multimedia/gen_qradiotunercontrol.cpp +++ b/qt/multimedia/gen_qradiotunercontrol.cpp @@ -1,6 +1,7 @@ #include #include #include +#include #include #include #include diff --git a/qt/multimedia/gen_qvideosurfaceformat.h b/qt/multimedia/gen_qvideosurfaceformat.h index 3fed0658..e74424eb 100644 --- a/qt/multimedia/gen_qvideosurfaceformat.h +++ b/qt/multimedia/gen_qvideosurfaceformat.h @@ -15,13 +15,11 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QRect; class QSize; class QVariant; class QVideoSurfaceFormat; #else -typedef struct QByteArray QByteArray; typedef struct QRect QRect; typedef struct QSize QSize; typedef struct QVariant QVariant; diff --git a/qt/multimedia/gen_qvideowidget.h b/qt/multimedia/gen_qvideowidget.h index 66e56c2b..1c8d9626 100644 --- a/qt/multimedia/gen_qvideowidget.h +++ b/qt/multimedia/gen_qvideowidget.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAbstractVideoSurface; class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -51,7 +50,6 @@ class QWidget; #else typedef struct QAbstractVideoSurface QAbstractVideoSurface; typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt/network/gen_qabstractnetworkcache.cpp b/qt/network/gen_qabstractnetworkcache.cpp index 7b7c0ea8..bc399e51 100644 --- a/qt/network/gen_qabstractnetworkcache.cpp +++ b/qt/network/gen_qabstractnetworkcache.cpp @@ -1,4 +1,5 @@ #include +#include #include #include #include @@ -6,6 +7,7 @@ #include #include #include +#include #include #include #include diff --git a/qt/network/gen_qdnslookup.h b/qt/network/gen_qdnslookup.h index 4de12867..92d499f9 100644 --- a/qt/network/gen_qdnslookup.h +++ b/qt/network/gen_qdnslookup.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChildEvent; class QDnsDomainNameRecord; class QDnsHostAddressRecord; @@ -30,7 +29,6 @@ class QMetaObject; class QObject; class QTimerEvent; #else -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QDnsDomainNameRecord QDnsDomainNameRecord; typedef struct QDnsHostAddressRecord QDnsHostAddressRecord; diff --git a/qt/network/gen_qdtls.h b/qt/network/gen_qdtls.h index 06bad90c..82b7204d 100644 --- a/qt/network/gen_qdtls.h +++ b/qt/network/gen_qdtls.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChildEvent; class QDtls; class QDtlsClientVerifier; @@ -36,7 +35,6 @@ class QSslPreSharedKeyAuthenticator; class QTimerEvent; class QUdpSocket; #else -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QDtls QDtls; typedef struct QDtlsClientVerifier QDtlsClientVerifier; diff --git a/qt/network/gen_qhostaddress.cpp b/qt/network/gen_qhostaddress.cpp index 1df29708..eca54008 100644 --- a/qt/network/gen_qhostaddress.cpp +++ b/qt/network/gen_qhostaddress.cpp @@ -1,5 +1,6 @@ #include #include +#include #include #include #include diff --git a/qt/network/gen_qhttpmultipart.h b/qt/network/gen_qhttpmultipart.h index 34fae476..d7e8c173 100644 --- a/qt/network/gen_qhttpmultipart.h +++ b/qt/network/gen_qhttpmultipart.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChildEvent; class QEvent; class QHttpMultiPart; @@ -27,7 +26,6 @@ class QObject; class QTimerEvent; class QVariant; #else -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QEvent QEvent; typedef struct QHttpMultiPart QHttpMultiPart; diff --git a/qt/network/gen_qnetworkaccessmanager.h b/qt/network/gen_qnetworkaccessmanager.h index d7984a8d..7f3dca13 100644 --- a/qt/network/gen_qnetworkaccessmanager.h +++ b/qt/network/gen_qnetworkaccessmanager.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAbstractNetworkCache; class QAuthenticator; -class QByteArray; class QChildEvent; class QEvent; class QHstsPolicy; @@ -40,7 +39,6 @@ class QTimerEvent; #else typedef struct QAbstractNetworkCache QAbstractNetworkCache; typedef struct QAuthenticator QAuthenticator; -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QEvent QEvent; typedef struct QHstsPolicy QHstsPolicy; diff --git a/qt/network/gen_qnetworkcookie.h b/qt/network/gen_qnetworkcookie.h index a9b9260b..02144696 100644 --- a/qt/network/gen_qnetworkcookie.h +++ b/qt/network/gen_qnetworkcookie.h @@ -15,12 +15,10 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QDateTime; class QNetworkCookie; class QUrl; #else -typedef struct QByteArray QByteArray; typedef struct QDateTime QDateTime; typedef struct QNetworkCookie QNetworkCookie; typedef struct QUrl QUrl; diff --git a/qt/network/gen_qnetworkdatagram.h b/qt/network/gen_qnetworkdatagram.h index 9dfd7dcd..50f50977 100644 --- a/qt/network/gen_qnetworkdatagram.h +++ b/qt/network/gen_qnetworkdatagram.h @@ -15,11 +15,9 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QHostAddress; class QNetworkDatagram; #else -typedef struct QByteArray QByteArray; typedef struct QHostAddress QHostAddress; typedef struct QNetworkDatagram QNetworkDatagram; #endif diff --git a/qt/network/gen_qnetworkproxy.h b/qt/network/gen_qnetworkproxy.h index 66165cfd..743aaadb 100644 --- a/qt/network/gen_qnetworkproxy.h +++ b/qt/network/gen_qnetworkproxy.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QNetworkConfiguration; class QNetworkProxy; class QNetworkProxyFactory; @@ -23,7 +22,6 @@ class QNetworkProxyQuery; class QUrl; class QVariant; #else -typedef struct QByteArray QByteArray; typedef struct QNetworkConfiguration QNetworkConfiguration; typedef struct QNetworkProxy QNetworkProxy; typedef struct QNetworkProxyFactory QNetworkProxyFactory; diff --git a/qt/network/gen_qnetworkreply.cpp b/qt/network/gen_qnetworkreply.cpp index 71070493..1c94133f 100644 --- a/qt/network/gen_qnetworkreply.cpp +++ b/qt/network/gen_qnetworkreply.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include diff --git a/qt/network/gen_qnetworkreply.h b/qt/network/gen_qnetworkreply.h index 22d7404f..8f26bd9b 100644 --- a/qt/network/gen_qnetworkreply.h +++ b/qt/network/gen_qnetworkreply.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QIODevice; class QMetaObject; class QNetworkAccessManager; @@ -28,7 +27,6 @@ class QSslPreSharedKeyAuthenticator; class QUrl; class QVariant; #else -typedef struct QByteArray QByteArray; typedef struct QIODevice QIODevice; typedef struct QMetaObject QMetaObject; typedef struct QNetworkAccessManager QNetworkAccessManager; diff --git a/qt/network/gen_qnetworkrequest.h b/qt/network/gen_qnetworkrequest.h index bcae9f07..623ba4ad 100644 --- a/qt/network/gen_qnetworkrequest.h +++ b/qt/network/gen_qnetworkrequest.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QHttp2Configuration; class QNetworkRequest; class QObject; @@ -23,7 +22,6 @@ class QSslConfiguration; class QUrl; class QVariant; #else -typedef struct QByteArray QByteArray; typedef struct QHttp2Configuration QHttp2Configuration; typedef struct QNetworkRequest QNetworkRequest; typedef struct QObject QObject; diff --git a/qt/network/gen_qsslcertificate.h b/qt/network/gen_qsslcertificate.h index c3a48903..13909c7f 100644 --- a/qt/network/gen_qsslcertificate.h +++ b/qt/network/gen_qsslcertificate.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QDateTime; class QIODevice; class QSslCertificate; @@ -23,7 +22,6 @@ class QSslCertificateExtension; class QSslError; class QSslKey; #else -typedef struct QByteArray QByteArray; typedef struct QDateTime QDateTime; typedef struct QIODevice QIODevice; typedef struct QSslCertificate QSslCertificate; diff --git a/qt/network/gen_qsslconfiguration.h b/qt/network/gen_qsslconfiguration.h index 707a73b9..851fd813 100644 --- a/qt/network/gen_qsslconfiguration.h +++ b/qt/network/gen_qsslconfiguration.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QSslCertificate; class QSslCipher; class QSslConfiguration; @@ -24,7 +23,6 @@ class QSslEllipticCurve; class QSslKey; class QVariant; #else -typedef struct QByteArray QByteArray; typedef struct QSslCertificate QSslCertificate; typedef struct QSslCipher QSslCipher; typedef struct QSslConfiguration QSslConfiguration; diff --git a/qt/network/gen_qssldiffiehellmanparameters.h b/qt/network/gen_qssldiffiehellmanparameters.h index 42cc2d31..aa19093e 100644 --- a/qt/network/gen_qssldiffiehellmanparameters.h +++ b/qt/network/gen_qssldiffiehellmanparameters.h @@ -15,11 +15,9 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QIODevice; class QSslDiffieHellmanParameters; #else -typedef struct QByteArray QByteArray; typedef struct QIODevice QIODevice; typedef struct QSslDiffieHellmanParameters QSslDiffieHellmanParameters; #endif diff --git a/qt/network/gen_qsslkey.h b/qt/network/gen_qsslkey.h index a5060efd..5050cdb7 100644 --- a/qt/network/gen_qsslkey.h +++ b/qt/network/gen_qsslkey.h @@ -15,11 +15,9 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QIODevice; class QSslKey; #else -typedef struct QByteArray QByteArray; typedef struct QIODevice QIODevice; typedef struct QSslKey QSslKey; #endif diff --git a/qt/network/gen_qsslpresharedkeyauthenticator.h b/qt/network/gen_qsslpresharedkeyauthenticator.h index 789e09b9..579e36d2 100644 --- a/qt/network/gen_qsslpresharedkeyauthenticator.h +++ b/qt/network/gen_qsslpresharedkeyauthenticator.h @@ -15,10 +15,8 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QSslPreSharedKeyAuthenticator; #else -typedef struct QByteArray QByteArray; typedef struct QSslPreSharedKeyAuthenticator QSslPreSharedKeyAuthenticator; #endif diff --git a/qt/network/gen_qsslsocket.h b/qt/network/gen_qsslsocket.h index f3f92545..3124a6ac 100644 --- a/qt/network/gen_qsslsocket.h +++ b/qt/network/gen_qsslsocket.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QAbstractSocket; -class QByteArray; class QIODevice; class QMetaObject; class QObject; @@ -32,7 +31,6 @@ class QTcpSocket; class QVariant; #else typedef struct QAbstractSocket QAbstractSocket; -typedef struct QByteArray QByteArray; typedef struct QIODevice QIODevice; typedef struct QMetaObject QMetaObject; typedef struct QObject QObject; diff --git a/qt/network/gen_qudpsocket.h b/qt/network/gen_qudpsocket.h index ba407722..12315d52 100644 --- a/qt/network/gen_qudpsocket.h +++ b/qt/network/gen_qudpsocket.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QAbstractSocket; -class QByteArray; class QHostAddress; class QIODevice; class QMetaObject; @@ -27,7 +26,6 @@ class QUdpSocket; class QVariant; #else typedef struct QAbstractSocket QAbstractSocket; -typedef struct QByteArray QByteArray; typedef struct QHostAddress QHostAddress; typedef struct QIODevice QIODevice; typedef struct QMetaObject QMetaObject; diff --git a/qt/printsupport/gen_qprinterinfo.cpp b/qt/printsupport/gen_qprinterinfo.cpp index b3875583..aabaf086 100644 --- a/qt/printsupport/gen_qprinterinfo.cpp +++ b/qt/printsupport/gen_qprinterinfo.cpp @@ -1,7 +1,9 @@ #include #include +#include #include #include +#include #include #include #include diff --git a/qt/printsupport/gen_qprinterinfo.h b/qt/printsupport/gen_qprinterinfo.h index 7f1e7cf8..1ca183d9 100644 --- a/qt/printsupport/gen_qprinterinfo.h +++ b/qt/printsupport/gen_qprinterinfo.h @@ -18,10 +18,12 @@ extern "C" { class QPageSize; class QPrinter; class QPrinterInfo; +class QSizeF; #else typedef struct QPageSize QPageSize; typedef struct QPrinter QPrinter; typedef struct QPrinterInfo QPrinterInfo; +typedef struct QSizeF QSizeF; #endif void QPrinterInfo_new(QPrinterInfo** outptr_QPrinterInfo); diff --git a/qt/printsupport/gen_qprintpreviewwidget.h b/qt/printsupport/gen_qprintpreviewwidget.h index c7f141b4..e6bc47ac 100644 --- a/qt/printsupport/gen_qprintpreviewwidget.h +++ b/qt/printsupport/gen_qprintpreviewwidget.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -48,7 +47,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt/svg/gen_qsvgrenderer.h b/qt/svg/gen_qsvgrenderer.h index e09bc375..67ae8ce6 100644 --- a/qt/svg/gen_qsvgrenderer.h +++ b/qt/svg/gen_qsvgrenderer.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChildEvent; class QEvent; class QMatrix; @@ -31,7 +30,6 @@ class QTimerEvent; class QTransform; class QXmlStreamReader; #else -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QEvent QEvent; typedef struct QMatrix QMatrix; diff --git a/qt/svg/gen_qsvgwidget.h b/qt/svg/gen_qsvgwidget.h index a5e9228b..56039b75 100644 --- a/qt/svg/gen_qsvgwidget.h +++ b/qt/svg/gen_qsvgwidget.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -48,7 +47,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt6/cbor/gen_qcbormap.cpp b/qt6/cbor/gen_qcbormap.cpp index 8dae072d..e29025b8 100644 --- a/qt6/cbor/gen_qcbormap.cpp +++ b/qt6/cbor/gen_qcbormap.cpp @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include diff --git a/qt6/cbor/gen_qcborstreamreader.h b/qt6/cbor/gen_qcborstreamreader.h index f2237ad1..277db532 100644 --- a/qt6/cbor/gen_qcborstreamreader.h +++ b/qt6/cbor/gen_qcborstreamreader.h @@ -15,12 +15,10 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QCborError; class QCborStreamReader; class QIODevice; #else -typedef struct QByteArray QByteArray; typedef struct QCborError QCborError; typedef struct QCborStreamReader QCborStreamReader; typedef struct QIODevice QIODevice; diff --git a/qt6/cbor/gen_qcborstreamwriter.h b/qt6/cbor/gen_qcborstreamwriter.h index 3dc62e47..ec90830e 100644 --- a/qt6/cbor/gen_qcborstreamwriter.h +++ b/qt6/cbor/gen_qcborstreamwriter.h @@ -15,11 +15,9 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QCborStreamWriter; class QIODevice; #else -typedef struct QByteArray QByteArray; typedef struct QCborStreamWriter QCborStreamWriter; typedef struct QIODevice QIODevice; #endif diff --git a/qt6/cbor/gen_qcborvalue.h b/qt6/cbor/gen_qcborvalue.h index 309fa147..3495f65d 100644 --- a/qt6/cbor/gen_qcborvalue.h +++ b/qt6/cbor/gen_qcborvalue.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QCborArray; class QCborMap; class QCborParserError; @@ -31,7 +30,6 @@ class QUrl; class QUuid; class QVariant; #else -typedef struct QByteArray QByteArray; typedef struct QCborArray QCborArray; typedef struct QCborMap QCborMap; typedef struct QCborParserError QCborParserError; diff --git a/qt6/gen_qabstractbutton.h b/qt6/gen_qabstractbutton.h index 146e8d1d..f2b83cf4 100644 --- a/qt6/gen_qabstractbutton.h +++ b/qt6/gen_qabstractbutton.h @@ -18,7 +18,6 @@ extern "C" { class QAbstractButton; class QActionEvent; class QButtonGroup; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -54,7 +53,6 @@ class QWidget; typedef struct QAbstractButton QAbstractButton; typedef struct QActionEvent QActionEvent; typedef struct QButtonGroup QButtonGroup; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt6/gen_qabstracteventdispatcher.h b/qt6/gen_qabstracteventdispatcher.h index 7e1f541e..df3e0697 100644 --- a/qt6/gen_qabstracteventdispatcher.h +++ b/qt6/gen_qabstracteventdispatcher.h @@ -22,7 +22,6 @@ typedef QAbstractEventDispatcher::TimerInfo QAbstractEventDispatcher__TimerInfo; class QAbstractEventDispatcher__TimerInfo; #endif class QAbstractNativeEventFilter; -class QByteArray; class QMetaObject; class QObject; class QSocketNotifier; @@ -31,7 +30,6 @@ class QThread; typedef struct QAbstractEventDispatcher QAbstractEventDispatcher; typedef struct QAbstractEventDispatcher__TimerInfo QAbstractEventDispatcher__TimerInfo; typedef struct QAbstractNativeEventFilter QAbstractNativeEventFilter; -typedef struct QByteArray QByteArray; typedef struct QMetaObject QMetaObject; typedef struct QObject QObject; typedef struct QSocketNotifier QSocketNotifier; diff --git a/qt6/gen_qabstractitemmodel.h b/qt6/gen_qabstractitemmodel.h index b6fbe0ed..eabec1c8 100644 --- a/qt6/gen_qabstractitemmodel.h +++ b/qt6/gen_qabstractitemmodel.h @@ -18,7 +18,6 @@ extern "C" { class QAbstractItemModel; class QAbstractListModel; class QAbstractTableModel; -class QByteArray; class QChildEvent; class QEvent; class QMetaMethod; @@ -36,7 +35,6 @@ class QVariant; typedef struct QAbstractItemModel QAbstractItemModel; typedef struct QAbstractListModel QAbstractListModel; typedef struct QAbstractTableModel QAbstractTableModel; -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QEvent QEvent; typedef struct QMetaMethod QMetaMethod; diff --git a/qt6/gen_qabstractnativeeventfilter.h b/qt6/gen_qabstractnativeeventfilter.h index 724faac3..f218d207 100644 --- a/qt6/gen_qabstractnativeeventfilter.h +++ b/qt6/gen_qabstractnativeeventfilter.h @@ -16,10 +16,8 @@ extern "C" { #ifdef __cplusplus class QAbstractNativeEventFilter; -class QByteArray; #else typedef struct QAbstractNativeEventFilter QAbstractNativeEventFilter; -typedef struct QByteArray QByteArray; #endif void QAbstractNativeEventFilter_new(QAbstractNativeEventFilter** outptr_QAbstractNativeEventFilter); diff --git a/qt6/gen_qabstractproxymodel.h b/qt6/gen_qabstractproxymodel.h index 77b51480..f03d58f0 100644 --- a/qt6/gen_qabstractproxymodel.h +++ b/qt6/gen_qabstractproxymodel.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAbstractItemModel; class QAbstractProxyModel; -class QByteArray; class QItemSelection; class QMetaObject; class QMimeData; @@ -29,7 +28,6 @@ class QVariant; #else typedef struct QAbstractItemModel QAbstractItemModel; typedef struct QAbstractProxyModel QAbstractProxyModel; -typedef struct QByteArray QByteArray; typedef struct QItemSelection QItemSelection; typedef struct QMetaObject QMetaObject; typedef struct QMimeData QMimeData; diff --git a/qt6/gen_qabstractslider.h b/qt6/gen_qabstractslider.h index d2010310..29ad7639 100644 --- a/qt6/gen_qabstractslider.h +++ b/qt6/gen_qabstractslider.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAbstractSlider; class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -50,7 +49,6 @@ class QWidget; #else typedef struct QAbstractSlider QAbstractSlider; typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt6/gen_qabstractspinbox.h b/qt6/gen_qabstractspinbox.h index 8e297f88..3eb3dc8c 100644 --- a/qt6/gen_qabstractspinbox.h +++ b/qt6/gen_qabstractspinbox.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAbstractSpinBox; class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -51,7 +50,6 @@ class QWidget; #else typedef struct QAbstractSpinBox QAbstractSpinBox; typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt6/gen_qaccessible.cpp b/qt6/gen_qaccessible.cpp index 84d2629b..c889e586 100644 --- a/qt6/gen_qaccessible.cpp +++ b/qt6/gen_qaccessible.cpp @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/qt6/gen_qaccessible_base.cpp b/qt6/gen_qaccessible_base.cpp index f39c2ca3..c0c54f5f 100644 --- a/qt6/gen_qaccessible_base.cpp +++ b/qt6/gen_qaccessible_base.cpp @@ -4,6 +4,7 @@ #include #include #include +#include #include #include #include "gen_qaccessible_base.h" diff --git a/qt6/gen_qaccessiblewidget.cpp b/qt6/gen_qaccessiblewidget.cpp index 487aface..843ccaed 100644 --- a/qt6/gen_qaccessiblewidget.cpp +++ b/qt6/gen_qaccessiblewidget.cpp @@ -5,6 +5,7 @@ #include #include #include +#include #include #include #include diff --git a/qt6/gen_qanystringview.h b/qt6/gen_qanystringview.h index d339db73..9c45948d 100644 --- a/qt6/gen_qanystringview.h +++ b/qt6/gen_qanystringview.h @@ -16,11 +16,9 @@ extern "C" { #ifdef __cplusplus class QAnyStringView; -class QByteArray; class QChar; #else typedef struct QAnyStringView QAnyStringView; -typedef struct QByteArray QByteArray; typedef struct QChar QChar; #endif diff --git a/qt6/gen_qarraydata.cpp b/qt6/gen_qarraydata.cpp index 5948cf3c..46b9e293 100644 --- a/qt6/gen_qarraydata.cpp +++ b/qt6/gen_qarraydata.cpp @@ -1,4 +1,5 @@ #include +#include #include #include "gen_qarraydata.h" #include "_cgo_export.h" diff --git a/qt6/gen_qbrush.cpp b/qt6/gen_qbrush.cpp index e077c211..1d33406f 100644 --- a/qt6/gen_qbrush.cpp +++ b/qt6/gen_qbrush.cpp @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include diff --git a/qt6/gen_qbuffer.h b/qt6/gen_qbuffer.h index a42e0b4e..9481f09e 100644 --- a/qt6/gen_qbuffer.h +++ b/qt6/gen_qbuffer.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QBuffer; -class QByteArray; class QIODevice; class QIODeviceBase; class QMetaMethod; @@ -24,7 +23,6 @@ class QMetaObject; class QObject; #else typedef struct QBuffer QBuffer; -typedef struct QByteArray QByteArray; typedef struct QIODevice QIODevice; typedef struct QIODeviceBase QIODeviceBase; typedef struct QMetaMethod QMetaMethod; diff --git a/qt6/gen_qbytearraymatcher.h b/qt6/gen_qbytearraymatcher.h index 55d5e376..ebe6273f 100644 --- a/qt6/gen_qbytearraymatcher.h +++ b/qt6/gen_qbytearraymatcher.h @@ -15,12 +15,10 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QByteArrayMatcher; class QByteArrayView; class QStaticByteArrayMatcherBase; #else -typedef struct QByteArray QByteArray; typedef struct QByteArrayMatcher QByteArrayMatcher; typedef struct QByteArrayView QByteArrayView; typedef struct QStaticByteArrayMatcherBase QStaticByteArrayMatcherBase; diff --git a/qt6/gen_qbytearrayview.h b/qt6/gen_qbytearrayview.h index b5adc3ec..5f71906f 100644 --- a/qt6/gen_qbytearrayview.h +++ b/qt6/gen_qbytearrayview.h @@ -15,10 +15,8 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QByteArrayView; #else -typedef struct QByteArray QByteArray; typedef struct QByteArrayView QByteArrayView; #endif diff --git a/qt6/gen_qcalendarwidget.h b/qt6/gen_qcalendarwidget.h index d35beebc..f3328f22 100644 --- a/qt6/gen_qcalendarwidget.h +++ b/qt6/gen_qcalendarwidget.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCalendar; class QCalendarWidget; class QCloseEvent; @@ -52,7 +51,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCalendar QCalendar; typedef struct QCalendarWidget QCalendarWidget; typedef struct QCloseEvent QCloseEvent; diff --git a/qt6/gen_qcolorspace.h b/qt6/gen_qcolorspace.h index 586e702a..f20f1b0f 100644 --- a/qt6/gen_qcolorspace.h +++ b/qt6/gen_qcolorspace.h @@ -15,12 +15,10 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QColorSpace; class QColorTransform; class QPointF; #else -typedef struct QByteArray QByteArray; typedef struct QColorSpace QColorSpace; typedef struct QColorTransform QColorTransform; typedef struct QPointF QPointF; diff --git a/qt6/gen_qcombobox.h b/qt6/gen_qcombobox.h index ce2a57fb..86b52c36 100644 --- a/qt6/gen_qcombobox.h +++ b/qt6/gen_qcombobox.h @@ -19,7 +19,6 @@ class QAbstractItemDelegate; class QAbstractItemModel; class QAbstractItemView; class QActionEvent; -class QByteArray; class QCloseEvent; class QComboBox; class QCompleter; @@ -60,7 +59,6 @@ typedef struct QAbstractItemDelegate QAbstractItemDelegate; typedef struct QAbstractItemModel QAbstractItemModel; typedef struct QAbstractItemView QAbstractItemView; typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QComboBox QComboBox; typedef struct QCompleter QCompleter; diff --git a/qt6/gen_qconcatenatetablesproxymodel.h b/qt6/gen_qconcatenatetablesproxymodel.h index d9578f33..d676a0a2 100644 --- a/qt6/gen_qconcatenatetablesproxymodel.h +++ b/qt6/gen_qconcatenatetablesproxymodel.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QAbstractItemModel; -class QByteArray; class QConcatenateTablesProxyModel; class QMetaObject; class QMimeData; @@ -27,7 +26,6 @@ class QSize; class QVariant; #else typedef struct QAbstractItemModel QAbstractItemModel; -typedef struct QByteArray QByteArray; typedef struct QConcatenateTablesProxyModel QConcatenateTablesProxyModel; typedef struct QMetaObject QMetaObject; typedef struct QMimeData QMimeData; diff --git a/qt6/gen_qcoreevent.h b/qt6/gen_qcoreevent.h index c8001bb4..3d912040 100644 --- a/qt6/gen_qcoreevent.h +++ b/qt6/gen_qcoreevent.h @@ -15,14 +15,12 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChildEvent; class QDynamicPropertyChangeEvent; class QEvent; class QObject; class QTimerEvent; #else -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QDynamicPropertyChangeEvent QDynamicPropertyChangeEvent; typedef struct QEvent QEvent; diff --git a/qt6/gen_qcryptographichash.h b/qt6/gen_qcryptographichash.h index 84083f67..7466df55 100644 --- a/qt6/gen_qcryptographichash.h +++ b/qt6/gen_qcryptographichash.h @@ -15,12 +15,10 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QByteArrayView; class QCryptographicHash; class QIODevice; #else -typedef struct QByteArray QByteArray; typedef struct QByteArrayView QByteArrayView; typedef struct QCryptographicHash QCryptographicHash; typedef struct QIODevice QIODevice; diff --git a/qt6/gen_qdatastream.h b/qt6/gen_qdatastream.h index 1bb781bb..a962b732 100644 --- a/qt6/gen_qdatastream.h +++ b/qt6/gen_qdatastream.h @@ -15,12 +15,10 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QDataStream; class QIODevice; class QIODeviceBase; #else -typedef struct QByteArray QByteArray; typedef struct QDataStream QDataStream; typedef struct QIODevice QIODevice; typedef struct QIODeviceBase QIODeviceBase; diff --git a/qt6/gen_qdatawidgetmapper.h b/qt6/gen_qdatawidgetmapper.h index eb8e58d1..cd560cc9 100644 --- a/qt6/gen_qdatawidgetmapper.h +++ b/qt6/gen_qdatawidgetmapper.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAbstractItemDelegate; class QAbstractItemModel; -class QByteArray; class QChildEvent; class QDataWidgetMapper; class QEvent; @@ -30,7 +29,6 @@ class QWidget; #else typedef struct QAbstractItemDelegate QAbstractItemDelegate; typedef struct QAbstractItemModel QAbstractItemModel; -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QDataWidgetMapper QDataWidgetMapper; typedef struct QEvent QEvent; diff --git a/qt6/gen_qdebug.h b/qt6/gen_qdebug.h index 0bfbd415..b27b21de 100644 --- a/qt6/gen_qdebug.h +++ b/qt6/gen_qdebug.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QByteArrayView; class QChar; class QDebug; @@ -24,7 +23,6 @@ class QIODevice; class QIODeviceBase; class QNoDebug; #else -typedef struct QByteArray QByteArray; typedef struct QByteArrayView QByteArrayView; typedef struct QChar QChar; typedef struct QDebug QDebug; diff --git a/qt6/gen_qdialog.h b/qt6/gen_qdialog.h index c83da026..dadd9909 100644 --- a/qt6/gen_qdialog.h +++ b/qt6/gen_qdialog.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDialog; @@ -48,7 +47,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDialog QDialog; diff --git a/qt6/gen_qdialogbuttonbox.h b/qt6/gen_qdialogbuttonbox.h index f6ad1481..d4fc2a8f 100644 --- a/qt6/gen_qdialogbuttonbox.h +++ b/qt6/gen_qdialogbuttonbox.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAbstractButton; class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDialogButtonBox; @@ -51,7 +50,6 @@ class QWidget; #else typedef struct QAbstractButton QAbstractButton; typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDialogButtonBox QDialogButtonBox; diff --git a/qt6/gen_qdockwidget.h b/qt6/gen_qdockwidget.h index ec77a24f..25badcb1 100644 --- a/qt6/gen_qdockwidget.h +++ b/qt6/gen_qdockwidget.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAction; class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDockWidget; @@ -51,7 +50,6 @@ class QWidget; #else typedef struct QAction QAction; typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDockWidget QDockWidget; diff --git a/qt6/gen_qfile.h b/qt6/gen_qfile.h index a9e89e3d..186ebedf 100644 --- a/qt6/gen_qfile.h +++ b/qt6/gen_qfile.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QFile; class QFileDevice; class QIODevice; @@ -23,7 +22,6 @@ class QIODeviceBase; class QMetaObject; class QObject; #else -typedef struct QByteArray QByteArray; typedef struct QFile QFile; typedef struct QFileDevice QFileDevice; typedef struct QIODevice QIODevice; diff --git a/qt6/gen_qfiledialog.h b/qt6/gen_qfiledialog.h index 9f732cd5..71cc4141 100644 --- a/qt6/gen_qfiledialog.h +++ b/qt6/gen_qfiledialog.h @@ -18,7 +18,6 @@ extern "C" { class QAbstractFileIconProvider; class QAbstractItemDelegate; class QAbstractProxyModel; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDialog; @@ -38,7 +37,6 @@ class QWidget; typedef struct QAbstractFileIconProvider QAbstractFileIconProvider; typedef struct QAbstractItemDelegate QAbstractItemDelegate; typedef struct QAbstractProxyModel QAbstractProxyModel; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDialog QDialog; diff --git a/qt6/gen_qfilesystemmodel.h b/qt6/gen_qfilesystemmodel.h index 13ea8465..98a62c71 100644 --- a/qt6/gen_qfilesystemmodel.h +++ b/qt6/gen_qfilesystemmodel.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAbstractFileIconProvider; class QAbstractItemModel; -class QByteArray; class QDateTime; class QDir; class QEvent; @@ -35,7 +34,6 @@ class QVariant; #else typedef struct QAbstractFileIconProvider QAbstractFileIconProvider; typedef struct QAbstractItemModel QAbstractItemModel; -typedef struct QByteArray QByteArray; typedef struct QDateTime QDateTime; typedef struct QDir QDir; typedef struct QEvent QEvent; diff --git a/qt6/gen_qfocusframe.h b/qt6/gen_qfocusframe.h index 941e61ae..6b56b7a9 100644 --- a/qt6/gen_qfocusframe.h +++ b/qt6/gen_qfocusframe.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -49,7 +48,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt6/gen_qfontdatabase.h b/qt6/gen_qfontdatabase.h index 23167878..2f25de77 100644 --- a/qt6/gen_qfontdatabase.h +++ b/qt6/gen_qfontdatabase.h @@ -15,12 +15,10 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QFont; class QFontDatabase; class QFontInfo; #else -typedef struct QByteArray QByteArray; typedef struct QFont QFont; typedef struct QFontDatabase QFontDatabase; typedef struct QFontInfo QFontInfo; diff --git a/qt6/gen_qframe.h b/qt6/gen_qframe.h index 6e33017a..298571e8 100644 --- a/qt6/gen_qframe.h +++ b/qt6/gen_qframe.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -50,7 +49,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt6/gen_qgraphicsitemanimation.cpp b/qt6/gen_qgraphicsitemanimation.cpp index 7a1a96db..a20d815a 100644 --- a/qt6/gen_qgraphicsitemanimation.cpp +++ b/qt6/gen_qgraphicsitemanimation.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include diff --git a/qt6/gen_qgroupbox.h b/qt6/gen_qgroupbox.h index 51d0992e..f8ee9e7d 100644 --- a/qt6/gen_qgroupbox.h +++ b/qt6/gen_qgroupbox.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QChildEvent; class QCloseEvent; class QContextMenuEvent; @@ -50,7 +49,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; diff --git a/qt6/gen_qheaderview.h b/qt6/gen_qheaderview.h index bdaaeace..2ce4140f 100644 --- a/qt6/gen_qheaderview.h +++ b/qt6/gen_qheaderview.h @@ -19,7 +19,6 @@ class QAbstractItemDelegate; class QAbstractItemModel; class QAbstractItemView; class QAbstractScrollArea; -class QByteArray; class QDragEnterEvent; class QDragLeaveEvent; class QDragMoveEvent; @@ -54,7 +53,6 @@ typedef struct QAbstractItemDelegate QAbstractItemDelegate; typedef struct QAbstractItemModel QAbstractItemModel; typedef struct QAbstractItemView QAbstractItemView; typedef struct QAbstractScrollArea QAbstractScrollArea; -typedef struct QByteArray QByteArray; typedef struct QDragEnterEvent QDragEnterEvent; typedef struct QDragLeaveEvent QDragLeaveEvent; typedef struct QDragMoveEvent QDragMoveEvent; diff --git a/qt6/gen_qidentityproxymodel.h b/qt6/gen_qidentityproxymodel.h index 7412676a..e6ad0eb1 100644 --- a/qt6/gen_qidentityproxymodel.h +++ b/qt6/gen_qidentityproxymodel.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAbstractItemModel; class QAbstractProxyModel; -class QByteArray; class QIdentityProxyModel; class QItemSelection; class QMetaObject; @@ -29,7 +28,6 @@ class QVariant; #else typedef struct QAbstractItemModel QAbstractItemModel; typedef struct QAbstractProxyModel QAbstractProxyModel; -typedef struct QByteArray QByteArray; typedef struct QIdentityProxyModel QIdentityProxyModel; typedef struct QItemSelection QItemSelection; typedef struct QMetaObject QMetaObject; diff --git a/qt6/gen_qimage.h b/qt6/gen_qimage.h index 7b681732..17b4343c 100644 --- a/qt6/gen_qimage.h +++ b/qt6/gen_qimage.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QByteArrayView; class QColor; class QColorSpace; @@ -32,7 +31,6 @@ class QSize; class QSizeF; class QTransform; #else -typedef struct QByteArray QByteArray; typedef struct QByteArrayView QByteArrayView; typedef struct QColor QColor; typedef struct QColorSpace QColorSpace; diff --git a/qt6/gen_qimageiohandler.h b/qt6/gen_qimageiohandler.h index 15c27460..36e7563e 100644 --- a/qt6/gen_qimageiohandler.h +++ b/qt6/gen_qimageiohandler.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChildEvent; class QEvent; class QIODevice; @@ -30,7 +29,6 @@ class QSize; class QTimerEvent; class QVariant; #else -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QEvent QEvent; typedef struct QIODevice QIODevice; diff --git a/qt6/gen_qimagereader.h b/qt6/gen_qimagereader.h index 63119e11..ebf59b32 100644 --- a/qt6/gen_qimagereader.h +++ b/qt6/gen_qimagereader.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QColor; class QIODevice; class QImage; @@ -23,7 +22,6 @@ class QImageReader; class QRect; class QSize; #else -typedef struct QByteArray QByteArray; typedef struct QColor QColor; typedef struct QIODevice QIODevice; typedef struct QImage QImage; diff --git a/qt6/gen_qimagewriter.h b/qt6/gen_qimagewriter.h index 2991c65a..41cf67e2 100644 --- a/qt6/gen_qimagewriter.h +++ b/qt6/gen_qimagewriter.h @@ -15,12 +15,10 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QIODevice; class QImage; class QImageWriter; #else -typedef struct QByteArray QByteArray; typedef struct QIODevice QIODevice; typedef struct QImage QImage; typedef struct QImageWriter QImageWriter; diff --git a/qt6/gen_qiodevice.h b/qt6/gen_qiodevice.h index c73df608..500f9629 100644 --- a/qt6/gen_qiodevice.h +++ b/qt6/gen_qiodevice.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChildEvent; class QEvent; class QIODevice; @@ -25,7 +24,6 @@ class QMetaObject; class QObject; class QTimerEvent; #else -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QEvent QEvent; typedef struct QIODevice QIODevice; diff --git a/qt6/gen_qitemeditorfactory.h b/qt6/gen_qitemeditorfactory.h index 6cf230fa..411cab3f 100644 --- a/qt6/gen_qitemeditorfactory.h +++ b/qt6/gen_qitemeditorfactory.h @@ -15,12 +15,10 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QItemEditorCreatorBase; class QItemEditorFactory; class QWidget; #else -typedef struct QByteArray QByteArray; typedef struct QItemEditorCreatorBase QItemEditorCreatorBase; typedef struct QItemEditorFactory QItemEditorFactory; typedef struct QWidget QWidget; diff --git a/qt6/gen_qjsondocument.h b/qt6/gen_qjsondocument.h index ff5cdf7e..20c30328 100644 --- a/qt6/gen_qjsondocument.h +++ b/qt6/gen_qjsondocument.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QJsonArray; class QJsonDocument; class QJsonObject; @@ -23,7 +22,6 @@ class QJsonParseError; class QJsonValue; class QVariant; #else -typedef struct QByteArray QByteArray; typedef struct QJsonArray QJsonArray; typedef struct QJsonDocument QJsonDocument; typedef struct QJsonObject QJsonObject; diff --git a/qt6/gen_qkeysequenceedit.h b/qt6/gen_qkeysequenceedit.h index 244005ad..ca69385b 100644 --- a/qt6/gen_qkeysequenceedit.h +++ b/qt6/gen_qkeysequenceedit.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -50,7 +49,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt6/gen_qlineedit.h b/qt6/gen_qlineedit.h index 9de2c5ff..1bbfbc94 100644 --- a/qt6/gen_qlineedit.h +++ b/qt6/gen_qlineedit.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAction; class QActionEvent; -class QByteArray; class QCloseEvent; class QCompleter; class QContextMenuEvent; @@ -57,7 +56,6 @@ class QWidget; #else typedef struct QAction QAction; typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QCompleter QCompleter; typedef struct QContextMenuEvent QContextMenuEvent; diff --git a/qt6/gen_qmainwindow.h b/qt6/gen_qmainwindow.h index ee958c5a..0ae8ddfd 100644 --- a/qt6/gen_qmainwindow.h +++ b/qt6/gen_qmainwindow.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDockWidget; @@ -53,7 +52,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDockWidget QDockWidget; diff --git a/qt6/gen_qmdisubwindow.h b/qt6/gen_qmdisubwindow.h index e5b27295..bc1c7f0f 100644 --- a/qt6/gen_qmdisubwindow.h +++ b/qt6/gen_qmdisubwindow.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QChildEvent; class QCloseEvent; class QContextMenuEvent; @@ -52,7 +51,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; diff --git a/qt6/gen_qmenu.h b/qt6/gen_qmenu.h index 71815384..a023d5b8 100644 --- a/qt6/gen_qmenu.h +++ b/qt6/gen_qmenu.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAction; class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -54,7 +53,6 @@ class QWidget; #else typedef struct QAction QAction; typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt6/gen_qmenubar.h b/qt6/gen_qmenubar.h index 99c8fc36..8eead24d 100644 --- a/qt6/gen_qmenubar.h +++ b/qt6/gen_qmenubar.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAction; class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -55,7 +54,6 @@ class QWidget; #else typedef struct QAction QAction; typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt6/gen_qmessageauthenticationcode.h b/qt6/gen_qmessageauthenticationcode.h index 7ae39218..08c330e4 100644 --- a/qt6/gen_qmessageauthenticationcode.h +++ b/qt6/gen_qmessageauthenticationcode.h @@ -15,11 +15,9 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QIODevice; class QMessageAuthenticationCode; #else -typedef struct QByteArray QByteArray; typedef struct QIODevice QIODevice; typedef struct QMessageAuthenticationCode QMessageAuthenticationCode; #endif diff --git a/qt6/gen_qmetaobject.h b/qt6/gen_qmetaobject.h index 24320151..859014e3 100644 --- a/qt6/gen_qmetaobject.h +++ b/qt6/gen_qmetaobject.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QGenericArgument; class QGenericReturnArgument; class QMetaClassInfo; @@ -28,7 +27,6 @@ class QObject; class QUntypedBindable; class QVariant; #else -typedef struct QByteArray QByteArray; typedef struct QGenericArgument QGenericArgument; typedef struct QGenericReturnArgument QGenericReturnArgument; typedef struct QMetaClassInfo QMetaClassInfo; diff --git a/qt6/gen_qmetatype.h b/qt6/gen_qmetatype.h index 8baabcec..debc02e9 100644 --- a/qt6/gen_qmetatype.h +++ b/qt6/gen_qmetatype.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QByteArrayView; class QDataStream; class QDebug; @@ -23,7 +22,6 @@ class QMetaObject; class QMetaType; class QPartialOrdering; #else -typedef struct QByteArray QByteArray; typedef struct QByteArrayView QByteArrayView; typedef struct QDataStream QDataStream; typedef struct QDebug QDebug; diff --git a/qt6/gen_qmimedata.h b/qt6/gen_qmimedata.h index 6019ec0d..f7cbaa7c 100644 --- a/qt6/gen_qmimedata.h +++ b/qt6/gen_qmimedata.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChildEvent; class QEvent; class QMetaMethod; @@ -27,7 +26,6 @@ class QTimerEvent; class QUrl; class QVariant; #else -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QEvent QEvent; typedef struct QMetaMethod QMetaMethod; diff --git a/qt6/gen_qmimedatabase.h b/qt6/gen_qmimedatabase.h index 504e55e0..185f5936 100644 --- a/qt6/gen_qmimedatabase.h +++ b/qt6/gen_qmimedatabase.h @@ -15,14 +15,12 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QFileInfo; class QIODevice; class QMimeDatabase; class QMimeType; class QUrl; #else -typedef struct QByteArray QByteArray; typedef struct QFileInfo QFileInfo; typedef struct QIODevice QIODevice; typedef struct QMimeDatabase QMimeDatabase; diff --git a/qt6/gen_qmovie.h b/qt6/gen_qmovie.h index 7c3eb1c6..6e9e8ed7 100644 --- a/qt6/gen_qmovie.h +++ b/qt6/gen_qmovie.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChildEvent; class QColor; class QEvent; @@ -30,7 +29,6 @@ class QRect; class QSize; class QTimerEvent; #else -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QColor QColor; typedef struct QEvent QEvent; diff --git a/qt6/gen_qobject.h b/qt6/gen_qobject.h index c9df1a59..043ffd0d 100644 --- a/qt6/gen_qobject.h +++ b/qt6/gen_qobject.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAnyStringView; class QBindingStorage; -class QByteArray; class QChildEvent; class QEvent; class QMetaMethod; @@ -36,7 +35,6 @@ class QVariant; #else typedef struct QAnyStringView QAnyStringView; typedef struct QBindingStorage QBindingStorage; -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QEvent QEvent; typedef struct QMetaMethod QMetaMethod; diff --git a/qt6/gen_qobjectdefs.h b/qt6/gen_qobjectdefs.h index 5dc1ba9a..a5f9be60 100644 --- a/qt6/gen_qobjectdefs.h +++ b/qt6/gen_qobjectdefs.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QGenericArgument; class QGenericReturnArgument; class QMetaClassInfo; @@ -42,7 +41,6 @@ class QMetaType; class QMethodRawArguments; class QObject; #else -typedef struct QByteArray QByteArray; typedef struct QGenericArgument QGenericArgument; typedef struct QGenericReturnArgument QGenericReturnArgument; typedef struct QMetaClassInfo QMetaClassInfo; diff --git a/qt6/gen_qpdfwriter.h b/qt6/gen_qpdfwriter.h index fd06f85c..c850a738 100644 --- a/qt6/gen_qpdfwriter.h +++ b/qt6/gen_qpdfwriter.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChildEvent; class QEvent; class QIODevice; @@ -32,7 +31,6 @@ class QPaintEngine; class QPdfWriter; class QTimerEvent; #else -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QEvent QEvent; typedef struct QIODevice QIODevice; diff --git a/qt6/gen_qpixmap.h b/qt6/gen_qpixmap.h index bf614f93..f1ec3f43 100644 --- a/qt6/gen_qpixmap.h +++ b/qt6/gen_qpixmap.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QBitmap; -class QByteArray; class QColor; class QIODevice; class QImage; @@ -33,7 +32,6 @@ class QSizeF; class QTransform; #else typedef struct QBitmap QBitmap; -typedef struct QByteArray QByteArray; typedef struct QColor QColor; typedef struct QIODevice QIODevice; typedef struct QImage QImage; diff --git a/qt6/gen_qprocess.h b/qt6/gen_qprocess.h index f3695ab6..c2c39b56 100644 --- a/qt6/gen_qprocess.h +++ b/qt6/gen_qprocess.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QIODevice; class QIODeviceBase; class QMetaObject; @@ -23,7 +22,6 @@ class QObject; class QProcess; class QProcessEnvironment; #else -typedef struct QByteArray QByteArray; typedef struct QIODevice QIODevice; typedef struct QIODeviceBase QIODeviceBase; typedef struct QMetaObject QMetaObject; diff --git a/qt6/gen_qprogressbar.h b/qt6/gen_qprogressbar.h index 362619bc..4976692f 100644 --- a/qt6/gen_qprogressbar.h +++ b/qt6/gen_qprogressbar.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -49,7 +48,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt6/gen_qpropertyanimation.h b/qt6/gen_qpropertyanimation.h index da2535bb..ca86b869 100644 --- a/qt6/gen_qpropertyanimation.h +++ b/qt6/gen_qpropertyanimation.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QAbstractAnimation; -class QByteArray; class QEvent; class QMetaObject; class QObject; @@ -25,7 +24,6 @@ class QVariant; class QVariantAnimation; #else typedef struct QAbstractAnimation QAbstractAnimation; -typedef struct QByteArray QByteArray; typedef struct QEvent QEvent; typedef struct QMetaObject QMetaObject; typedef struct QObject QObject; diff --git a/qt6/gen_qrawfont.h b/qt6/gen_qrawfont.h index 98a19b0e..205642eb 100644 --- a/qt6/gen_qrawfont.h +++ b/qt6/gen_qrawfont.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChar; class QFont; class QImage; @@ -25,7 +24,6 @@ class QRawFont; class QRectF; class QTransform; #else -typedef struct QByteArray QByteArray; typedef struct QChar QChar; typedef struct QFont QFont; typedef struct QImage QImage; diff --git a/qt6/gen_qresource.h b/qt6/gen_qresource.h index a0a8eb14..f69ffc9c 100644 --- a/qt6/gen_qresource.h +++ b/qt6/gen_qresource.h @@ -15,12 +15,10 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QDateTime; class QLocale; class QResource; #else -typedef struct QByteArray QByteArray; typedef struct QDateTime QDateTime; typedef struct QLocale QLocale; typedef struct QResource QResource; diff --git a/qt6/gen_qrubberband.h b/qt6/gen_qrubberband.h index 683f7461..b740c587 100644 --- a/qt6/gen_qrubberband.h +++ b/qt6/gen_qrubberband.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -50,7 +49,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt6/gen_qsizegrip.h b/qt6/gen_qsizegrip.h index 9f9321d0..8ce60dbf 100644 --- a/qt6/gen_qsizegrip.h +++ b/qt6/gen_qsizegrip.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -48,7 +47,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt6/gen_qsortfilterproxymodel.h b/qt6/gen_qsortfilterproxymodel.h index 0f903ec2..226e2b47 100644 --- a/qt6/gen_qsortfilterproxymodel.h +++ b/qt6/gen_qsortfilterproxymodel.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAbstractItemModel; class QAbstractProxyModel; -class QByteArray; class QItemSelection; class QMetaObject; class QMimeData; @@ -30,7 +29,6 @@ class QVariant; #else typedef struct QAbstractItemModel QAbstractItemModel; typedef struct QAbstractProxyModel QAbstractProxyModel; -typedef struct QByteArray QByteArray; typedef struct QItemSelection QItemSelection; typedef struct QMetaObject QMetaObject; typedef struct QMimeData QMimeData; diff --git a/qt6/gen_qsplashscreen.h b/qt6/gen_qsplashscreen.h index b1755a1d..019fd281 100644 --- a/qt6/gen_qsplashscreen.h +++ b/qt6/gen_qsplashscreen.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QColor; class QContextMenuEvent; @@ -51,7 +50,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QColor QColor; typedef struct QContextMenuEvent QContextMenuEvent; diff --git a/qt6/gen_qsplitter.h b/qt6/gen_qsplitter.h index bf208e28..2caf2993 100644 --- a/qt6/gen_qsplitter.h +++ b/qt6/gen_qsplitter.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QChildEvent; class QCloseEvent; class QContextMenuEvent; @@ -52,7 +51,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; diff --git a/qt6/gen_qstandarditemmodel.h b/qt6/gen_qstandarditemmodel.h index da38e6a9..c1301969 100644 --- a/qt6/gen_qstandarditemmodel.h +++ b/qt6/gen_qstandarditemmodel.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAbstractItemModel; class QBrush; -class QByteArray; class QDataStream; class QFont; class QIcon; @@ -33,7 +32,6 @@ class QVariant; #else typedef struct QAbstractItemModel QAbstractItemModel; typedef struct QBrush QBrush; -typedef struct QByteArray QByteArray; typedef struct QDataStream QDataStream; typedef struct QFont QFont; typedef struct QIcon QIcon; diff --git a/qt6/gen_qstatusbar.h b/qt6/gen_qstatusbar.h index 71849396..add31da5 100644 --- a/qt6/gen_qstatusbar.h +++ b/qt6/gen_qstatusbar.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -48,7 +47,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt6/gen_qstorageinfo.h b/qt6/gen_qstorageinfo.h index e065d05d..310d0878 100644 --- a/qt6/gen_qstorageinfo.h +++ b/qt6/gen_qstorageinfo.h @@ -15,11 +15,9 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QDir; class QStorageInfo; #else -typedef struct QByteArray QByteArray; typedef struct QDir QDir; typedef struct QStorageInfo QStorageInfo; #endif diff --git a/qt6/gen_qstringview.h b/qt6/gen_qstringview.h index 112a2f9e..0ad40401 100644 --- a/qt6/gen_qstringview.h +++ b/qt6/gen_qstringview.h @@ -15,13 +15,11 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChar; class QRegularExpression; class QRegularExpressionMatch; class QStringView; #else -typedef struct QByteArray QByteArray; typedef struct QChar QChar; typedef struct QRegularExpression QRegularExpression; typedef struct QRegularExpressionMatch QRegularExpressionMatch; diff --git a/qt6/gen_qsurfaceformat.cpp b/qt6/gen_qsurfaceformat.cpp index 771b519b..1939a48e 100644 --- a/qt6/gen_qsurfaceformat.cpp +++ b/qt6/gen_qsurfaceformat.cpp @@ -1,4 +1,5 @@ #include +#include #include #include #include "gen_qsurfaceformat.h" diff --git a/qt6/gen_qtabbar.h b/qt6/gen_qtabbar.h index 78e42a26..6e33a8d2 100644 --- a/qt6/gen_qtabbar.h +++ b/qt6/gen_qtabbar.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QColor; class QContextMenuEvent; @@ -53,7 +52,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QColor QColor; typedef struct QContextMenuEvent QContextMenuEvent; diff --git a/qt6/gen_qtabwidget.h b/qt6/gen_qtabwidget.h index 9a62c3f8..7197cf09 100644 --- a/qt6/gen_qtabwidget.h +++ b/qt6/gen_qtabwidget.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -51,7 +50,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt6/gen_qtextdocumentwriter.h b/qt6/gen_qtextdocumentwriter.h index 40e8ad69..193a4af9 100644 --- a/qt6/gen_qtextdocumentwriter.h +++ b/qt6/gen_qtextdocumentwriter.h @@ -15,13 +15,11 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QIODevice; class QTextDocument; class QTextDocumentFragment; class QTextDocumentWriter; #else -typedef struct QByteArray QByteArray; typedef struct QIODevice QIODevice; typedef struct QTextDocument QTextDocument; typedef struct QTextDocumentFragment QTextDocumentFragment; diff --git a/qt6/gen_qtextstream.h b/qt6/gen_qtextstream.h index c9ee8840..4f1063ab 100644 --- a/qt6/gen_qtextstream.h +++ b/qt6/gen_qtextstream.h @@ -15,14 +15,12 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChar; class QIODevice; class QIODeviceBase; class QLocale; class QTextStream; #else -typedef struct QByteArray QByteArray; typedef struct QChar QChar; typedef struct QIODevice QIODevice; typedef struct QIODeviceBase QIODeviceBase; diff --git a/qt6/gen_qtimezone.h b/qt6/gen_qtimezone.h index 585de412..0373c977 100644 --- a/qt6/gen_qtimezone.h +++ b/qt6/gen_qtimezone.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QDateTime; class QLocale; class QTimeZone; @@ -25,7 +24,6 @@ typedef QTimeZone::OffsetData QTimeZone__OffsetData; class QTimeZone__OffsetData; #endif #else -typedef struct QByteArray QByteArray; typedef struct QDateTime QDateTime; typedef struct QLocale QLocale; typedef struct QTimeZone QTimeZone; diff --git a/qt6/gen_qtoolbar.h b/qt6/gen_qtoolbar.h index ab96f655..17f967f3 100644 --- a/qt6/gen_qtoolbar.h +++ b/qt6/gen_qtoolbar.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAction; class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -52,7 +51,6 @@ class QWidget; #else typedef struct QAction QAction; typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt6/gen_qtransposeproxymodel.h b/qt6/gen_qtransposeproxymodel.h index d7f3473d..83b84ce6 100644 --- a/qt6/gen_qtransposeproxymodel.h +++ b/qt6/gen_qtransposeproxymodel.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAbstractItemModel; class QAbstractProxyModel; -class QByteArray; class QItemSelection; class QMetaObject; class QMimeData; @@ -29,7 +28,6 @@ class QVariant; #else typedef struct QAbstractItemModel QAbstractItemModel; typedef struct QAbstractProxyModel QAbstractProxyModel; -typedef struct QByteArray QByteArray; typedef struct QItemSelection QItemSelection; typedef struct QMetaObject QMetaObject; typedef struct QMimeData QMimeData; diff --git a/qt6/gen_qurl.h b/qt6/gen_qurl.h index 2f86f66d..cda14117 100644 --- a/qt6/gen_qurl.h +++ b/qt6/gen_qurl.h @@ -15,11 +15,9 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QUrl; class QUrlQuery; #else -typedef struct QByteArray QByteArray; typedef struct QUrl QUrl; typedef struct QUrlQuery QUrlQuery; #endif diff --git a/qt6/gen_qurlquery.cpp b/qt6/gen_qurlquery.cpp index e7886cbe..9c55d81e 100644 --- a/qt6/gen_qurlquery.cpp +++ b/qt6/gen_qurlquery.cpp @@ -1,5 +1,6 @@ #include #include +#include #include #include #include diff --git a/qt6/gen_quuid.h b/qt6/gen_quuid.h index cc38b213..875656e8 100644 --- a/qt6/gen_quuid.h +++ b/qt6/gen_quuid.h @@ -16,12 +16,10 @@ extern "C" { #ifdef __cplusplus class QAnyStringView; -class QByteArray; class QByteArrayView; class QUuid; #else typedef struct QAnyStringView QAnyStringView; -typedef struct QByteArray QByteArray; typedef struct QByteArrayView QByteArrayView; typedef struct QUuid QUuid; #endif diff --git a/qt6/gen_qvariant.h b/qt6/gen_qvariant.h index dd708b6a..2c7aa58e 100644 --- a/qt6/gen_qvariant.h +++ b/qt6/gen_qvariant.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QBitArray; -class QByteArray; class QChar; class QDataStream; class QDate; @@ -47,7 +46,6 @@ class QVariant; class QVariantConstPointer; #else typedef struct QBitArray QBitArray; -typedef struct QByteArray QByteArray; typedef struct QChar QChar; typedef struct QDataStream QDataStream; typedef struct QDate QDate; diff --git a/qt6/gen_qvariantanimation.cpp b/qt6/gen_qvariantanimation.cpp index 89216162..13820daf 100644 --- a/qt6/gen_qvariantanimation.cpp +++ b/qt6/gen_qvariantanimation.cpp @@ -4,6 +4,7 @@ #include #include #include +#include #include #include #include diff --git a/qt6/gen_qwidget.h b/qt6/gen_qwidget.h index 6b69f885..c9fd4dae 100644 --- a/qt6/gen_qwidget.h +++ b/qt6/gen_qwidget.h @@ -19,7 +19,6 @@ class QAction; class QActionEvent; class QBackingStore; class QBitmap; -class QByteArray; class QChildEvent; class QCloseEvent; class QContextMenuEvent; @@ -77,7 +76,6 @@ typedef struct QAction QAction; typedef struct QActionEvent QActionEvent; typedef struct QBackingStore QBackingStore; typedef struct QBitmap QBitmap; -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; diff --git a/qt6/gen_qwindow.h b/qt6/gen_qwindow.h index 3fc7da5c..d1915c7c 100644 --- a/qt6/gen_qwindow.h +++ b/qt6/gen_qwindow.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QAccessibleInterface; -class QByteArray; class QChildEvent; class QCloseEvent; class QCursor; @@ -50,7 +49,6 @@ class QWheelEvent; class QWindow; #else typedef struct QAccessibleInterface QAccessibleInterface; -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QCloseEvent QCloseEvent; typedef struct QCursor QCursor; diff --git a/qt6/gen_qwizard.h b/qt6/gen_qwizard.h index e8c95a8f..0e0c9850 100644 --- a/qt6/gen_qwizard.h +++ b/qt6/gen_qwizard.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAbstractButton; class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDialog; @@ -53,7 +52,6 @@ class QWizardPage; #else typedef struct QAbstractButton QAbstractButton; typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDialog QDialog; diff --git a/qt6/gen_qxmlstream.h b/qt6/gen_qxmlstream.h index 3300e869..efbedca9 100644 --- a/qt6/gen_qxmlstream.h +++ b/qt6/gen_qxmlstream.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QIODevice; class QXmlStreamAttribute; class QXmlStreamEntityDeclaration; @@ -25,7 +24,6 @@ class QXmlStreamNotationDeclaration; class QXmlStreamReader; class QXmlStreamWriter; #else -typedef struct QByteArray QByteArray; typedef struct QIODevice QIODevice; typedef struct QXmlStreamAttribute QXmlStreamAttribute; typedef struct QXmlStreamEntityDeclaration QXmlStreamEntityDeclaration; diff --git a/qt6/multimedia/gen_qaudiobuffer.h b/qt6/multimedia/gen_qaudiobuffer.h index 34101b77..4c03782e 100644 --- a/qt6/multimedia/gen_qaudiobuffer.h +++ b/qt6/multimedia/gen_qaudiobuffer.h @@ -17,11 +17,9 @@ extern "C" { #ifdef __cplusplus class QAudioBuffer; class QAudioFormat; -class QByteArray; #else typedef struct QAudioBuffer QAudioBuffer; typedef struct QAudioFormat QAudioFormat; -typedef struct QByteArray QByteArray; #endif void QAudioBuffer_new(QAudioBuffer** outptr_QAudioBuffer); diff --git a/qt6/multimedia/gen_qaudiodevice.h b/qt6/multimedia/gen_qaudiodevice.h index a37f7cef..9a189a38 100644 --- a/qt6/multimedia/gen_qaudiodevice.h +++ b/qt6/multimedia/gen_qaudiodevice.h @@ -17,11 +17,9 @@ extern "C" { #ifdef __cplusplus class QAudioDevice; class QAudioFormat; -class QByteArray; #else typedef struct QAudioDevice QAudioDevice; typedef struct QAudioFormat QAudioFormat; -typedef struct QByteArray QByteArray; #endif void QAudioDevice_new(QAudioDevice** outptr_QAudioDevice); diff --git a/qt6/multimedia/gen_qcameradevice.h b/qt6/multimedia/gen_qcameradevice.h index c3bff71a..ef87ef5d 100644 --- a/qt6/multimedia/gen_qcameradevice.h +++ b/qt6/multimedia/gen_qcameradevice.h @@ -15,12 +15,10 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QCameraDevice; class QCameraFormat; class QSize; #else -typedef struct QByteArray QByteArray; typedef struct QCameraDevice QCameraDevice; typedef struct QCameraFormat QCameraFormat; typedef struct QSize QSize; diff --git a/qt6/multimedia/gen_qvideowidget.h b/qt6/multimedia/gen_qvideowidget.h index 850b70aa..488633e0 100644 --- a/qt6/multimedia/gen_qvideowidget.h +++ b/qt6/multimedia/gen_qvideowidget.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -49,7 +48,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt6/network/gen_qabstractnetworkcache.cpp b/qt6/network/gen_qabstractnetworkcache.cpp index e1c54c05..0720ee8d 100644 --- a/qt6/network/gen_qabstractnetworkcache.cpp +++ b/qt6/network/gen_qabstractnetworkcache.cpp @@ -1,4 +1,5 @@ #include +#include #include #include #include @@ -6,6 +7,7 @@ #include #include #include +#include #include #include #include diff --git a/qt6/network/gen_qdnslookup.h b/qt6/network/gen_qdnslookup.h index f8221974..3236e076 100644 --- a/qt6/network/gen_qdnslookup.h +++ b/qt6/network/gen_qdnslookup.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChildEvent; class QDnsDomainNameRecord; class QDnsHostAddressRecord; @@ -30,7 +29,6 @@ class QMetaObject; class QObject; class QTimerEvent; #else -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QDnsDomainNameRecord QDnsDomainNameRecord; typedef struct QDnsHostAddressRecord QDnsHostAddressRecord; diff --git a/qt6/network/gen_qdtls.h b/qt6/network/gen_qdtls.h index 514be1ec..e6449df7 100644 --- a/qt6/network/gen_qdtls.h +++ b/qt6/network/gen_qdtls.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChildEvent; class QDtls; class QDtlsClientVerifier; @@ -36,7 +35,6 @@ class QSslPreSharedKeyAuthenticator; class QTimerEvent; class QUdpSocket; #else -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QDtls QDtls; typedef struct QDtlsClientVerifier QDtlsClientVerifier; diff --git a/qt6/network/gen_qhostaddress.cpp b/qt6/network/gen_qhostaddress.cpp index dabb8e31..35f4c79c 100644 --- a/qt6/network/gen_qhostaddress.cpp +++ b/qt6/network/gen_qhostaddress.cpp @@ -1,5 +1,6 @@ #include #include +#include #include #include #include diff --git a/qt6/network/gen_qhttpmultipart.h b/qt6/network/gen_qhttpmultipart.h index d5ed636b..64166847 100644 --- a/qt6/network/gen_qhttpmultipart.h +++ b/qt6/network/gen_qhttpmultipart.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChildEvent; class QEvent; class QHttpMultiPart; @@ -27,7 +26,6 @@ class QObject; class QTimerEvent; class QVariant; #else -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QEvent QEvent; typedef struct QHttpMultiPart QHttpMultiPart; diff --git a/qt6/network/gen_qnetworkaccessmanager.h b/qt6/network/gen_qnetworkaccessmanager.h index 3513a3a8..f8e014de 100644 --- a/qt6/network/gen_qnetworkaccessmanager.h +++ b/qt6/network/gen_qnetworkaccessmanager.h @@ -17,7 +17,6 @@ extern "C" { #ifdef __cplusplus class QAbstractNetworkCache; class QAuthenticator; -class QByteArray; class QChildEvent; class QEvent; class QHstsPolicy; @@ -39,7 +38,6 @@ class QTimerEvent; #else typedef struct QAbstractNetworkCache QAbstractNetworkCache; typedef struct QAuthenticator QAuthenticator; -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QEvent QEvent; typedef struct QHstsPolicy QHstsPolicy; diff --git a/qt6/network/gen_qnetworkcookie.h b/qt6/network/gen_qnetworkcookie.h index f04a1b11..43acbfe6 100644 --- a/qt6/network/gen_qnetworkcookie.h +++ b/qt6/network/gen_qnetworkcookie.h @@ -15,12 +15,10 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QDateTime; class QNetworkCookie; class QUrl; #else -typedef struct QByteArray QByteArray; typedef struct QDateTime QDateTime; typedef struct QNetworkCookie QNetworkCookie; typedef struct QUrl QUrl; diff --git a/qt6/network/gen_qnetworkdatagram.h b/qt6/network/gen_qnetworkdatagram.h index 6c8b3149..df07eaad 100644 --- a/qt6/network/gen_qnetworkdatagram.h +++ b/qt6/network/gen_qnetworkdatagram.h @@ -15,11 +15,9 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QHostAddress; class QNetworkDatagram; #else -typedef struct QByteArray QByteArray; typedef struct QHostAddress QHostAddress; typedef struct QNetworkDatagram QNetworkDatagram; #endif diff --git a/qt6/network/gen_qnetworkproxy.h b/qt6/network/gen_qnetworkproxy.h index 5665ebe7..86ad1900 100644 --- a/qt6/network/gen_qnetworkproxy.h +++ b/qt6/network/gen_qnetworkproxy.h @@ -15,14 +15,12 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QNetworkProxy; class QNetworkProxyFactory; class QNetworkProxyQuery; class QUrl; class QVariant; #else -typedef struct QByteArray QByteArray; typedef struct QNetworkProxy QNetworkProxy; typedef struct QNetworkProxyFactory QNetworkProxyFactory; typedef struct QNetworkProxyQuery QNetworkProxyQuery; diff --git a/qt6/network/gen_qnetworkreply.cpp b/qt6/network/gen_qnetworkreply.cpp index 4345eede..d7e81024 100644 --- a/qt6/network/gen_qnetworkreply.cpp +++ b/qt6/network/gen_qnetworkreply.cpp @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include diff --git a/qt6/network/gen_qnetworkreply.h b/qt6/network/gen_qnetworkreply.h index ed79abd7..fdf8a543 100644 --- a/qt6/network/gen_qnetworkreply.h +++ b/qt6/network/gen_qnetworkreply.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QIODevice; class QIODeviceBase; class QMetaObject; @@ -29,7 +28,6 @@ class QSslPreSharedKeyAuthenticator; class QUrl; class QVariant; #else -typedef struct QByteArray QByteArray; typedef struct QIODevice QIODevice; typedef struct QIODeviceBase QIODeviceBase; typedef struct QMetaObject QMetaObject; diff --git a/qt6/network/gen_qnetworkrequest.h b/qt6/network/gen_qnetworkrequest.h index 77a33062..f1f4733a 100644 --- a/qt6/network/gen_qnetworkrequest.h +++ b/qt6/network/gen_qnetworkrequest.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QHttp2Configuration; class QNetworkRequest; class QObject; @@ -23,7 +22,6 @@ class QSslConfiguration; class QUrl; class QVariant; #else -typedef struct QByteArray QByteArray; typedef struct QHttp2Configuration QHttp2Configuration; typedef struct QNetworkRequest QNetworkRequest; typedef struct QObject QObject; diff --git a/qt6/network/gen_qsslcertificate.h b/qt6/network/gen_qsslcertificate.h index 8bada537..516e65fe 100644 --- a/qt6/network/gen_qsslcertificate.h +++ b/qt6/network/gen_qsslcertificate.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QDateTime; class QIODevice; class QSslCertificate; @@ -23,7 +22,6 @@ class QSslCertificateExtension; class QSslError; class QSslKey; #else -typedef struct QByteArray QByteArray; typedef struct QDateTime QDateTime; typedef struct QIODevice QIODevice; typedef struct QSslCertificate QSslCertificate; diff --git a/qt6/network/gen_qsslconfiguration.h b/qt6/network/gen_qsslconfiguration.h index f38fa9e7..275cad21 100644 --- a/qt6/network/gen_qsslconfiguration.h +++ b/qt6/network/gen_qsslconfiguration.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QSslCertificate; class QSslCipher; class QSslConfiguration; @@ -24,7 +23,6 @@ class QSslEllipticCurve; class QSslKey; class QVariant; #else -typedef struct QByteArray QByteArray; typedef struct QSslCertificate QSslCertificate; typedef struct QSslCipher QSslCipher; typedef struct QSslConfiguration QSslConfiguration; diff --git a/qt6/network/gen_qssldiffiehellmanparameters.h b/qt6/network/gen_qssldiffiehellmanparameters.h index 9491a770..a991cc9f 100644 --- a/qt6/network/gen_qssldiffiehellmanparameters.h +++ b/qt6/network/gen_qssldiffiehellmanparameters.h @@ -15,11 +15,9 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QIODevice; class QSslDiffieHellmanParameters; #else -typedef struct QByteArray QByteArray; typedef struct QIODevice QIODevice; typedef struct QSslDiffieHellmanParameters QSslDiffieHellmanParameters; #endif diff --git a/qt6/network/gen_qsslkey.h b/qt6/network/gen_qsslkey.h index 1302d2b0..827f7f35 100644 --- a/qt6/network/gen_qsslkey.h +++ b/qt6/network/gen_qsslkey.h @@ -15,11 +15,9 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QIODevice; class QSslKey; #else -typedef struct QByteArray QByteArray; typedef struct QIODevice QIODevice; typedef struct QSslKey QSslKey; #endif diff --git a/qt6/network/gen_qsslpresharedkeyauthenticator.h b/qt6/network/gen_qsslpresharedkeyauthenticator.h index 3d1d495c..4df336f1 100644 --- a/qt6/network/gen_qsslpresharedkeyauthenticator.h +++ b/qt6/network/gen_qsslpresharedkeyauthenticator.h @@ -15,10 +15,8 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QSslPreSharedKeyAuthenticator; #else -typedef struct QByteArray QByteArray; typedef struct QSslPreSharedKeyAuthenticator QSslPreSharedKeyAuthenticator; #endif diff --git a/qt6/network/gen_qsslsocket.h b/qt6/network/gen_qsslsocket.h index e988119b..65e68824 100644 --- a/qt6/network/gen_qsslsocket.h +++ b/qt6/network/gen_qsslsocket.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QAbstractSocket; -class QByteArray; class QIODevice; class QIODeviceBase; class QMetaObject; @@ -33,7 +32,6 @@ class QTcpSocket; class QVariant; #else typedef struct QAbstractSocket QAbstractSocket; -typedef struct QByteArray QByteArray; typedef struct QIODevice QIODevice; typedef struct QIODeviceBase QIODeviceBase; typedef struct QMetaObject QMetaObject; diff --git a/qt6/network/gen_qudpsocket.h b/qt6/network/gen_qudpsocket.h index fbc0090d..d155dcc2 100644 --- a/qt6/network/gen_qudpsocket.h +++ b/qt6/network/gen_qudpsocket.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QAbstractSocket; -class QByteArray; class QHostAddress; class QIODevice; class QIODeviceBase; @@ -28,7 +27,6 @@ class QUdpSocket; class QVariant; #else typedef struct QAbstractSocket QAbstractSocket; -typedef struct QByteArray QByteArray; typedef struct QHostAddress QHostAddress; typedef struct QIODevice QIODevice; typedef struct QIODeviceBase QIODeviceBase; diff --git a/qt6/printsupport/gen_qprintpreviewwidget.h b/qt6/printsupport/gen_qprintpreviewwidget.h index 45465dd4..e4ee1e6d 100644 --- a/qt6/printsupport/gen_qprintpreviewwidget.h +++ b/qt6/printsupport/gen_qprintpreviewwidget.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -49,7 +48,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent; diff --git a/qt6/svg/gen_qsvgrenderer.h b/qt6/svg/gen_qsvgrenderer.h index 92d0eb86..dd4e3680 100644 --- a/qt6/svg/gen_qsvgrenderer.h +++ b/qt6/svg/gen_qsvgrenderer.h @@ -15,7 +15,6 @@ extern "C" { #endif #ifdef __cplusplus -class QByteArray; class QChildEvent; class QEvent; class QMetaMethod; @@ -30,7 +29,6 @@ class QTimerEvent; class QTransform; class QXmlStreamReader; #else -typedef struct QByteArray QByteArray; typedef struct QChildEvent QChildEvent; typedef struct QEvent QEvent; typedef struct QMetaMethod QMetaMethod; diff --git a/qt6/svg/gen_qsvgwidget.h b/qt6/svg/gen_qsvgwidget.h index e18907a2..28c6f069 100644 --- a/qt6/svg/gen_qsvgwidget.h +++ b/qt6/svg/gen_qsvgwidget.h @@ -16,7 +16,6 @@ extern "C" { #ifdef __cplusplus class QActionEvent; -class QByteArray; class QCloseEvent; class QContextMenuEvent; class QDragEnterEvent; @@ -49,7 +48,6 @@ class QWheelEvent; class QWidget; #else typedef struct QActionEvent QActionEvent; -typedef struct QByteArray QByteArray; typedef struct QCloseEvent QCloseEvent; typedef struct QContextMenuEvent QContextMenuEvent; typedef struct QDragEnterEvent QDragEnterEvent;