diff --git a/bluetooth/bluetooth.cpp b/bluetooth/bluetooth.cpp index c90d6816..e2bee6c3 100755 --- a/bluetooth/bluetooth.cpp +++ b/bluetooth/bluetooth.cpp @@ -127,8 +127,8 @@ unsigned long long QBluetoothAddress_ToUInt64(void* ptr) class MyQBluetoothDeviceDiscoveryAgent: public QBluetoothDeviceDiscoveryAgent { public: - MyQBluetoothDeviceDiscoveryAgent(QObject *parent) : QBluetoothDeviceDiscoveryAgent(parent) {}; - MyQBluetoothDeviceDiscoveryAgent(const QBluetoothAddress &deviceAdapter, QObject *parent) : QBluetoothDeviceDiscoveryAgent(deviceAdapter, parent) {}; + MyQBluetoothDeviceDiscoveryAgent(QObject *parent = Q_NULLPTR) : QBluetoothDeviceDiscoveryAgent(parent) {}; + MyQBluetoothDeviceDiscoveryAgent(const QBluetoothAddress &deviceAdapter, QObject *parent = Q_NULLPTR) : QBluetoothDeviceDiscoveryAgent(deviceAdapter, parent) {}; void Signal_Canceled() { callbackQBluetoothDeviceDiscoveryAgent_Canceled(this); }; void Signal_DeviceDiscovered(const QBluetoothDeviceInfo & info) { callbackQBluetoothDeviceDiscoveryAgent_DeviceDiscovered(this, const_cast(&info)); }; void Signal_Error2(QBluetoothDeviceDiscoveryAgent::Error error) { callbackQBluetoothDeviceDiscoveryAgent_Error2(this, error); }; @@ -679,8 +679,8 @@ struct QtBluetooth_PackedString QBluetoothHostInfo_Name(void* ptr) class MyQBluetoothLocalDevice: public QBluetoothLocalDevice { public: - MyQBluetoothLocalDevice(QObject *parent) : QBluetoothLocalDevice(parent) {}; - MyQBluetoothLocalDevice(const QBluetoothAddress &address, QObject *parent) : QBluetoothLocalDevice(address, parent) {}; + MyQBluetoothLocalDevice(QObject *parent = Q_NULLPTR) : QBluetoothLocalDevice(parent) {}; + MyQBluetoothLocalDevice(const QBluetoothAddress &address, QObject *parent = Q_NULLPTR) : QBluetoothLocalDevice(address, parent) {}; void Signal_DeviceConnected(const QBluetoothAddress & address) { callbackQBluetoothLocalDevice_DeviceConnected(this, const_cast(&address)); }; void Signal_DeviceDisconnected(const QBluetoothAddress & address) { callbackQBluetoothLocalDevice_DeviceDisconnected(this, const_cast(&address)); }; void Signal_Error(QBluetoothLocalDevice::Error error) { callbackQBluetoothLocalDevice_Error(this, error); }; @@ -1113,7 +1113,7 @@ void* QBluetoothLocalDevice_MetaObjectDefault(void* ptr) class MyQBluetoothServer: public QBluetoothServer { public: - MyQBluetoothServer(QBluetoothServiceInfo::Protocol serverType, QObject *parent) : QBluetoothServer(serverType, parent) {}; + MyQBluetoothServer(QBluetoothServiceInfo::Protocol serverType, QObject *parent = Q_NULLPTR) : QBluetoothServer(serverType, parent) {}; void Signal_Error2(QBluetoothServer::Error error) { callbackQBluetoothServer_Error2(this, error); }; void Signal_NewConnection() { callbackQBluetoothServer_NewConnection(this); }; bool event(QEvent * e) { return callbackQBluetoothServer_Event(this, e) != 0; }; @@ -1398,8 +1398,8 @@ void* QBluetoothServer_MetaObjectDefault(void* ptr) class MyQBluetoothServiceDiscoveryAgent: public QBluetoothServiceDiscoveryAgent { public: - MyQBluetoothServiceDiscoveryAgent(QObject *parent) : QBluetoothServiceDiscoveryAgent(parent) {}; - MyQBluetoothServiceDiscoveryAgent(const QBluetoothAddress &deviceAdapter, QObject *parent) : QBluetoothServiceDiscoveryAgent(deviceAdapter, parent) {}; + MyQBluetoothServiceDiscoveryAgent(QObject *parent = Q_NULLPTR) : QBluetoothServiceDiscoveryAgent(parent) {}; + MyQBluetoothServiceDiscoveryAgent(const QBluetoothAddress &deviceAdapter, QObject *parent = Q_NULLPTR) : QBluetoothServiceDiscoveryAgent(deviceAdapter, parent) {}; void Signal_Canceled() { callbackQBluetoothServiceDiscoveryAgent_Canceled(this); }; void clear() { callbackQBluetoothServiceDiscoveryAgent_Clear(this); }; void Signal_Error2(QBluetoothServiceDiscoveryAgent::Error error) { callbackQBluetoothServiceDiscoveryAgent_Error2(this, error); }; @@ -1985,8 +1985,8 @@ void* QBluetoothServiceInfo___serviceClassUuids_newList(void* ptr) class MyQBluetoothSocket: public QBluetoothSocket { public: - MyQBluetoothSocket(QBluetoothServiceInfo::Protocol socketType, QObject *parent) : QBluetoothSocket(socketType, parent) {}; - MyQBluetoothSocket(QObject *parent) : QBluetoothSocket(parent) {}; + MyQBluetoothSocket(QBluetoothServiceInfo::Protocol socketType, QObject *parent = Q_NULLPTR) : QBluetoothSocket(socketType, parent) {}; + MyQBluetoothSocket(QObject *parent = Q_NULLPTR) : QBluetoothSocket(parent) {}; void Signal_Connected() { callbackQBluetoothSocket_Connected(this); }; void Signal_Disconnected() { callbackQBluetoothSocket_Disconnected(this); }; void Signal_Error2(QBluetoothSocket::SocketError error) { callbackQBluetoothSocket_Error2(this, error); }; @@ -2497,7 +2497,7 @@ void* QBluetoothSocket_MetaObjectDefault(void* ptr) class MyQBluetoothTransferManager: public QBluetoothTransferManager { public: - MyQBluetoothTransferManager(QObject *parent) : QBluetoothTransferManager(parent) {}; + MyQBluetoothTransferManager(QObject *parent = Q_NULLPTR) : QBluetoothTransferManager(parent) {}; void Signal_Finished(QBluetoothTransferReply * reply) { callbackQBluetoothTransferManager_Finished(this, reply); }; bool event(QEvent * e) { return callbackQBluetoothTransferManager_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQBluetoothTransferManager_EventFilter(this, watched, event) != 0; }; @@ -2701,7 +2701,7 @@ void* QBluetoothTransferManager_MetaObjectDefault(void* ptr) class MyQBluetoothTransferReply: public QBluetoothTransferReply { public: - MyQBluetoothTransferReply(QObject *parent) : QBluetoothTransferReply(parent) {}; + MyQBluetoothTransferReply(QObject *parent = Q_NULLPTR) : QBluetoothTransferReply(parent) {}; void abort() { callbackQBluetoothTransferReply_Abort(this); }; void Signal_Error2(QBluetoothTransferReply::TransferError errorType) { callbackQBluetoothTransferReply_Error2(this, errorType); }; void Signal_Finished(QBluetoothTransferReply * reply) { callbackQBluetoothTransferReply_Finished(this, reply); }; diff --git a/charts/charts.cpp b/charts/charts.cpp index 2b82c75b..b5b05d02 100755 --- a/charts/charts.cpp +++ b/charts/charts.cpp @@ -1496,8 +1496,8 @@ void QAreaLegendMarker_DestroyQAreaLegendMarkerDefault(void* ptr) class MyQAreaSeries: public QAreaSeries { public: - MyQAreaSeries(QLineSeries *upperSeries, QLineSeries *lowerSeries) : QAreaSeries(upperSeries, lowerSeries) {}; - MyQAreaSeries(QObject *parent) : QAreaSeries(parent) {}; + MyQAreaSeries(QLineSeries *upperSeries, QLineSeries *lowerSeries = Q_NULLPTR) : QAreaSeries(upperSeries, lowerSeries) {}; + MyQAreaSeries(QObject *parent = Q_NULLPTR) : QAreaSeries(parent) {}; void Signal_BorderColorChanged(QColor color) { callbackQAreaSeries_BorderColorChanged(this, new QColor(color)); }; void Signal_Clicked(const QPointF & point) { callbackQAreaSeries_Clicked(this, const_cast(&point)); }; void Signal_ColorChanged(QColor color) { callbackQAreaSeries_ColorChanged(this, new QColor(color)); }; @@ -1881,7 +1881,7 @@ char QAreaSeries_PointsVisible(void* ptr) class MyQBarCategoryAxis: public QBarCategoryAxis { public: - MyQBarCategoryAxis(QObject *parent) : QBarCategoryAxis(parent) {}; + MyQBarCategoryAxis(QObject *parent = Q_NULLPTR) : QBarCategoryAxis(parent) {}; void Signal_CategoriesChanged() { callbackQBarCategoryAxis_CategoriesChanged(this); }; void Signal_CountChanged() { callbackQBarCategoryAxis_CountChanged(this); }; void Signal_MaxChanged(const QString & max) { QByteArray t070602 = max.toUtf8(); QtCharts_PackedString maxPacked = { const_cast(t070602.prepend("WHITESPACE").constData()+10), t070602.size()-10 };callbackQBarCategoryAxis_MaxChanged(this, maxPacked); }; @@ -2175,7 +2175,7 @@ void QBarLegendMarker_DestroyQBarLegendMarkerDefault(void* ptr) class MyQBarSeries: public QBarSeries { public: - MyQBarSeries(QObject *parent) : QBarSeries(parent) {}; + MyQBarSeries(QObject *parent = Q_NULLPTR) : QBarSeries(parent) {}; QAbstractSeries::SeriesType type() const { return static_cast(callbackQBarSeries_Type(const_cast(static_cast(this)))); }; void Signal_BarsetsAdded(QList sets) { callbackQAbstractBarSeries_BarsetsAdded(this, ({ QList* tmpValue = new QList(sets); QtCharts_PackedList { tmpValue, tmpValue->size() }; })); }; void Signal_BarsetsRemoved(QList sets) { callbackQAbstractBarSeries_BarsetsRemoved(this, ({ QList* tmpValue = new QList(sets); QtCharts_PackedList { tmpValue, tmpValue->size() }; })); }; @@ -2254,7 +2254,7 @@ long long QBarSeries_TypeDefault(void* ptr) class MyQBarSet: public QBarSet { public: - MyQBarSet(const QString label, QObject *parent) : QBarSet(label, parent) {}; + MyQBarSet(const QString label, QObject *parent = Q_NULLPTR) : QBarSet(label, parent) {}; void Signal_BorderColorChanged(QColor color) { callbackQBarSet_BorderColorChanged(this, new QColor(color)); }; void Signal_BrushChanged() { callbackQBarSet_BrushChanged(this); }; void Signal_Clicked(int index) { callbackQBarSet_Clicked(this, index); }; @@ -2749,7 +2749,7 @@ void QBoxPlotLegendMarker_DestroyQBoxPlotLegendMarkerDefault(void* ptr) class MyQBoxPlotSeries: public QBoxPlotSeries { public: - MyQBoxPlotSeries(QObject *parent) : QBoxPlotSeries(parent) {}; + MyQBoxPlotSeries(QObject *parent = Q_NULLPTR) : QBoxPlotSeries(parent) {}; void Signal_BoxOutlineVisibilityChanged() { callbackQBoxPlotSeries_BoxOutlineVisibilityChanged(this); }; void Signal_BoxWidthChanged() { callbackQBoxPlotSeries_BoxWidthChanged(this); }; void Signal_BoxsetsAdded(QList sets) { callbackQBoxPlotSeries_BoxsetsAdded(this, ({ QList* tmpValue = new QList(sets); QtCharts_PackedList { tmpValue, tmpValue->size() }; })); }; @@ -3148,8 +3148,8 @@ void* QBoxPlotSeries___boxSets_newList(void* ptr) class MyQBoxSet: public QBoxSet { public: - MyQBoxSet(const QString label, QObject *parent) : QBoxSet(label, parent) {}; - MyQBoxSet(const qreal le, const qreal lq, const qreal m, const qreal uq, const qreal ue, const QString label, QObject *parent) : QBoxSet(le, lq, m, uq, ue, label, parent) {}; + MyQBoxSet(const QString label = QString(), QObject *parent = Q_NULLPTR) : QBoxSet(label, parent) {}; + MyQBoxSet(const qreal le, const qreal lq, const qreal m, const qreal uq, const qreal ue, const QString label = QString(), QObject *parent = Q_NULLPTR) : QBoxSet(le, lq, m, uq, ue, label, parent) {}; void Signal_BrushChanged() { callbackQBoxSet_BrushChanged(this); }; void Signal_Cleared() { callbackQBoxSet_Cleared(this); }; void Signal_Clicked() { callbackQBoxSet_Clicked(this); }; @@ -3529,7 +3529,7 @@ void QCandlestickLegendMarker_DestroyQCandlestickLegendMarkerDefault(void* ptr) class MyQCandlestickModelMapper: public QCandlestickModelMapper { public: - MyQCandlestickModelMapper(QObject *parent) : QCandlestickModelMapper(parent) {}; + MyQCandlestickModelMapper(QObject *parent = nullptr) : QCandlestickModelMapper(parent) {}; void Signal_ModelReplaced() { callbackQCandlestickModelMapper_ModelReplaced(this); }; void Signal_SeriesReplaced() { callbackQCandlestickModelMapper_SeriesReplaced(this); }; Qt::Orientation orientation() const { return static_cast(callbackQCandlestickModelMapper_Orientation(const_cast(static_cast(this)))); }; @@ -3704,7 +3704,7 @@ int QCandlestickModelMapper_Timestamp(void* ptr) class MyQCandlestickSeries: public QCandlestickSeries { public: - MyQCandlestickSeries(QObject *parent) : QCandlestickSeries(parent) {}; + MyQCandlestickSeries(QObject *parent = nullptr) : QCandlestickSeries(parent) {}; void Signal_BodyOutlineVisibilityChanged() { callbackQCandlestickSeries_BodyOutlineVisibilityChanged(this); }; void Signal_BodyWidthChanged() { callbackQCandlestickSeries_BodyWidthChanged(this); }; void Signal_BrushChanged() { callbackQCandlestickSeries_BrushChanged(this); }; @@ -4279,8 +4279,8 @@ void* QCandlestickSeries___sets_newList(void* ptr) class MyQCandlestickSet: public QCandlestickSet { public: - MyQCandlestickSet(qreal open, qreal high, qreal low, qreal close, qreal timestamp, QObject *parent) : QCandlestickSet(open, high, low, close, timestamp, parent) {}; - MyQCandlestickSet(qreal timestamp, QObject *parent) : QCandlestickSet(timestamp, parent) {}; + MyQCandlestickSet(qreal open, qreal high, qreal low, qreal close, qreal timestamp = 0.0, QObject *parent = nullptr) : QCandlestickSet(open, high, low, close, timestamp, parent) {}; + MyQCandlestickSet(qreal timestamp = 0.0, QObject *parent = nullptr) : QCandlestickSet(timestamp, parent) {}; void Signal_BrushChanged() { callbackQCandlestickSet_BrushChanged(this); }; void Signal_Clicked() { callbackQCandlestickSet_Clicked(this); }; void Signal_CloseChanged() { callbackQCandlestickSet_CloseChanged(this); }; @@ -4641,7 +4641,7 @@ double QCandlestickSet_Timestamp(void* ptr) class MyQCategoryAxis: public QCategoryAxis { public: - MyQCategoryAxis(QObject *parent) : QCategoryAxis(parent) {}; + MyQCategoryAxis(QObject *parent = Q_NULLPTR) : QCategoryAxis(parent) {}; void Signal_CategoriesChanged() { callbackQCategoryAxis_CategoriesChanged(this); }; void Signal_LabelsPositionChanged(QCategoryAxis::AxisLabelsPosition position) { callbackQCategoryAxis_LabelsPositionChanged(this, position); }; AxisType type() const { return static_cast(callbackQValueAxis_Type(const_cast(static_cast(this)))); }; @@ -4808,7 +4808,7 @@ double QCategoryAxis_StartValue(void* ptr, char* categoryLabel) class MyQChart: public QChart { public: - MyQChart(QGraphicsItem *parent, Qt::WindowFlags wFlags) : QChart(parent, wFlags) {}; + MyQChart(QGraphicsItem *parent = Q_NULLPTR, Qt::WindowFlags wFlags = Qt::WindowFlags()) : QChart(parent, wFlags) {}; void Signal_PlotAreaChanged(const QRectF & plotArea) { callbackQChart_PlotAreaChanged(this, const_cast(&plotArea)); }; QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast(callbackQChart_ItemChange(this, change, const_cast(&value))); }; bool close() { return callbackQChart_Close(this) != 0; }; @@ -5998,8 +5998,8 @@ char QChart_IsObscuredByDefault(void* ptr, void* item) class MyQChartView: public QChartView { public: - MyQChartView(QChart *chart, QWidget *parent) : QChartView(chart, parent) {}; - MyQChartView(QWidget *parent) : QChartView(parent) {}; + MyQChartView(QChart *chart, QWidget *parent = Q_NULLPTR) : QChartView(chart, parent) {}; + MyQChartView(QWidget *parent = Q_NULLPTR) : QChartView(parent) {}; void mouseMoveEvent(QMouseEvent * event) { callbackQChartView_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQChartView_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQChartView_MouseReleaseEvent(this, event); }; @@ -6739,7 +6739,7 @@ void* QChartView_MetaObjectDefault(void* ptr) class MyQDateTimeAxis: public QDateTimeAxis { public: - MyQDateTimeAxis(QObject *parent) : QDateTimeAxis(parent) {}; + MyQDateTimeAxis(QObject *parent = Q_NULLPTR) : QDateTimeAxis(parent) {}; void Signal_FormatChanged(QString format) { QByteArray t785987 = format.toUtf8(); QtCharts_PackedString formatPacked = { const_cast(t785987.prepend("WHITESPACE").constData()+10), t785987.size()-10 };callbackQDateTimeAxis_FormatChanged(this, formatPacked); }; void Signal_MaxChanged(QDateTime max) { callbackQDateTimeAxis_MaxChanged(this, new QDateTime(max)); }; void Signal_MinChanged(QDateTime min) { callbackQDateTimeAxis_MinChanged(this, new QDateTime(min)); }; @@ -6952,7 +6952,7 @@ int QDateTimeAxis_TickCount(void* ptr) class MyQHBarModelMapper: public QHBarModelMapper { public: - MyQHBarModelMapper(QObject *parent) : QHBarModelMapper(parent) {}; + MyQHBarModelMapper(QObject *parent = Q_NULLPTR) : QHBarModelMapper(parent) {}; void Signal_ColumnCountChanged() { callbackQHBarModelMapper_ColumnCountChanged(this); }; void Signal_FirstBarSetRowChanged() { callbackQHBarModelMapper_FirstBarSetRowChanged(this); }; void Signal_FirstColumnChanged() { callbackQHBarModelMapper_FirstColumnChanged(this); }; @@ -7155,7 +7155,7 @@ int QHBarModelMapper_LastBarSetRow(void* ptr) class MyQHBoxPlotModelMapper: public QHBoxPlotModelMapper { public: - MyQHBoxPlotModelMapper(QObject *parent) : QHBoxPlotModelMapper(parent) {}; + MyQHBoxPlotModelMapper(QObject *parent = nullptr) : QHBoxPlotModelMapper(parent) {}; void Signal_ColumnCountChanged() { callbackQHBoxPlotModelMapper_ColumnCountChanged(this); }; void Signal_FirstBoxSetRowChanged() { callbackQHBoxPlotModelMapper_FirstBoxSetRowChanged(this); }; void Signal_FirstColumnChanged() { callbackQHBoxPlotModelMapper_FirstColumnChanged(this); }; @@ -7358,7 +7358,7 @@ int QHBoxPlotModelMapper_LastBoxSetRow(void* ptr) class MyQHCandlestickModelMapper: public QHCandlestickModelMapper { public: - MyQHCandlestickModelMapper(QObject *parent) : QHCandlestickModelMapper(parent) {}; + MyQHCandlestickModelMapper(QObject *parent = nullptr) : QHCandlestickModelMapper(parent) {}; void Signal_CloseColumnChanged() { callbackQHCandlestickModelMapper_CloseColumnChanged(this); }; void Signal_FirstSetRowChanged() { callbackQHCandlestickModelMapper_FirstSetRowChanged(this); }; void Signal_HighColumnChanged() { callbackQHCandlestickModelMapper_HighColumnChanged(this); }; @@ -7600,7 +7600,7 @@ int QHCandlestickModelMapper_TimestampColumn(void* ptr) class MyQHPieModelMapper: public QHPieModelMapper { public: - MyQHPieModelMapper(QObject *parent) : QHPieModelMapper(parent) {}; + MyQHPieModelMapper(QObject *parent = Q_NULLPTR) : QHPieModelMapper(parent) {}; void Signal_ColumnCountChanged() { callbackQHPieModelMapper_ColumnCountChanged(this); }; void Signal_FirstColumnChanged() { callbackQHPieModelMapper_FirstColumnChanged(this); }; void Signal_LabelsRowChanged() { callbackQHPieModelMapper_LabelsRowChanged(this); }; @@ -7803,7 +7803,7 @@ int QHPieModelMapper_ValuesRow(void* ptr) class MyQHXYModelMapper: public QHXYModelMapper { public: - MyQHXYModelMapper(QObject *parent) : QHXYModelMapper(parent) {}; + MyQHXYModelMapper(QObject *parent = Q_NULLPTR) : QHXYModelMapper(parent) {}; void Signal_ColumnCountChanged() { callbackQHXYModelMapper_ColumnCountChanged(this); }; void Signal_FirstColumnChanged() { callbackQHXYModelMapper_FirstColumnChanged(this); }; void Signal_ModelReplaced() { callbackQHXYModelMapper_ModelReplaced(this); }; @@ -8006,7 +8006,7 @@ int QHXYModelMapper_YRow(void* ptr) class MyQHorizontalBarSeries: public QHorizontalBarSeries { public: - MyQHorizontalBarSeries(QObject *parent) : QHorizontalBarSeries(parent) {}; + MyQHorizontalBarSeries(QObject *parent = Q_NULLPTR) : QHorizontalBarSeries(parent) {}; QAbstractSeries::SeriesType type() const { return static_cast(callbackQHorizontalBarSeries_Type(const_cast(static_cast(this)))); }; void Signal_BarsetsAdded(QList sets) { callbackQAbstractBarSeries_BarsetsAdded(this, ({ QList* tmpValue = new QList(sets); QtCharts_PackedList { tmpValue, tmpValue->size() }; })); }; void Signal_BarsetsRemoved(QList sets) { callbackQAbstractBarSeries_BarsetsRemoved(this, ({ QList* tmpValue = new QList(sets); QtCharts_PackedList { tmpValue, tmpValue->size() }; })); }; @@ -8085,7 +8085,7 @@ long long QHorizontalBarSeries_TypeDefault(void* ptr) class MyQHorizontalPercentBarSeries: public QHorizontalPercentBarSeries { public: - MyQHorizontalPercentBarSeries(QObject *parent) : QHorizontalPercentBarSeries(parent) {}; + MyQHorizontalPercentBarSeries(QObject *parent = Q_NULLPTR) : QHorizontalPercentBarSeries(parent) {}; QAbstractSeries::SeriesType type() const { return static_cast(callbackQHorizontalPercentBarSeries_Type(const_cast(static_cast(this)))); }; void Signal_BarsetsAdded(QList sets) { callbackQAbstractBarSeries_BarsetsAdded(this, ({ QList* tmpValue = new QList(sets); QtCharts_PackedList { tmpValue, tmpValue->size() }; })); }; void Signal_BarsetsRemoved(QList sets) { callbackQAbstractBarSeries_BarsetsRemoved(this, ({ QList* tmpValue = new QList(sets); QtCharts_PackedList { tmpValue, tmpValue->size() }; })); }; @@ -8164,7 +8164,7 @@ long long QHorizontalPercentBarSeries_TypeDefault(void* ptr) class MyQHorizontalStackedBarSeries: public QHorizontalStackedBarSeries { public: - MyQHorizontalStackedBarSeries(QObject *parent) : QHorizontalStackedBarSeries(parent) {}; + MyQHorizontalStackedBarSeries(QObject *parent = Q_NULLPTR) : QHorizontalStackedBarSeries(parent) {}; QAbstractSeries::SeriesType type() const { return static_cast(callbackQHorizontalStackedBarSeries_Type(const_cast(static_cast(this)))); }; void Signal_BarsetsAdded(QList sets) { callbackQAbstractBarSeries_BarsetsAdded(this, ({ QList* tmpValue = new QList(sets); QtCharts_PackedList { tmpValue, tmpValue->size() }; })); }; void Signal_BarsetsRemoved(QList sets) { callbackQAbstractBarSeries_BarsetsRemoved(this, ({ QList* tmpValue = new QList(sets); QtCharts_PackedList { tmpValue, tmpValue->size() }; })); }; @@ -9286,7 +9286,7 @@ char QLegendMarker_IsVisible(void* ptr) class MyQLineSeries: public QLineSeries { public: - MyQLineSeries(QObject *parent) : QLineSeries(parent) {}; + MyQLineSeries(QObject *parent = Q_NULLPTR) : QLineSeries(parent) {}; QAbstractSeries::SeriesType type() const { return static_cast(callbackQLineSeries_Type(const_cast(static_cast(this)))); }; void Signal_Clicked(const QPointF & point) { callbackQXYSeries_Clicked(this, const_cast(&point)); }; void Signal_ColorChanged(QColor color) { callbackQXYSeries_ColorChanged(this, new QColor(color)); }; @@ -9378,7 +9378,7 @@ long long QLineSeries_TypeDefault(void* ptr) class MyQLogValueAxis: public QLogValueAxis { public: - MyQLogValueAxis(QObject *parent) : QLogValueAxis(parent) {}; + MyQLogValueAxis(QObject *parent = Q_NULLPTR) : QLogValueAxis(parent) {}; void Signal_BaseChanged(qreal base) { callbackQLogValueAxis_BaseChanged(this, base); }; void Signal_LabelFormatChanged(const QString & format) { QByteArray t785987 = format.toUtf8(); QtCharts_PackedString formatPacked = { const_cast(t785987.prepend("WHITESPACE").constData()+10), t785987.size()-10 };callbackQLogValueAxis_LabelFormatChanged(this, formatPacked); }; void Signal_MaxChanged(qreal max) { callbackQLogValueAxis_MaxChanged(this, max); }; @@ -9591,7 +9591,7 @@ double QLogValueAxis_Min(void* ptr) class MyQPercentBarSeries: public QPercentBarSeries { public: - MyQPercentBarSeries(QObject *parent) : QPercentBarSeries(parent) {}; + MyQPercentBarSeries(QObject *parent = Q_NULLPTR) : QPercentBarSeries(parent) {}; QAbstractSeries::SeriesType type() const { return static_cast(callbackQPercentBarSeries_Type(const_cast(static_cast(this)))); }; void Signal_BarsetsAdded(QList sets) { callbackQAbstractBarSeries_BarsetsAdded(this, ({ QList* tmpValue = new QList(sets); QtCharts_PackedList { tmpValue, tmpValue->size() }; })); }; void Signal_BarsetsRemoved(QList sets) { callbackQAbstractBarSeries_BarsetsRemoved(this, ({ QList* tmpValue = new QList(sets); QtCharts_PackedList { tmpValue, tmpValue->size() }; })); }; @@ -9721,7 +9721,7 @@ void QPieLegendMarker_DestroyQPieLegendMarkerDefault(void* ptr) class MyQPieSeries: public QPieSeries { public: - MyQPieSeries(QObject *parent) : QPieSeries(parent) {}; + MyQPieSeries(QObject *parent = Q_NULLPTR) : QPieSeries(parent) {}; void Signal_Added(QList slices) { callbackQPieSeries_Added(this, ({ QList* tmpValue = new QList(slices); QtCharts_PackedList { tmpValue, tmpValue->size() }; })); }; void Signal_Clicked(QPieSlice * slice) { callbackQPieSeries_Clicked(this, slice); }; void Signal_CountChanged() { callbackQPieSeries_CountChanged(this); }; @@ -10123,8 +10123,8 @@ void* QPieSeries___slices_newList(void* ptr) class MyQPieSlice: public QPieSlice { public: - MyQPieSlice(QObject *parent) : QPieSlice(parent) {}; - MyQPieSlice(QString label, qreal value, QObject *parent) : QPieSlice(label, value, parent) {}; + MyQPieSlice(QObject *parent = Q_NULLPTR) : QPieSlice(parent) {}; + MyQPieSlice(QString label, qreal value, QObject *parent = Q_NULLPTR) : QPieSlice(label, value, parent) {}; void Signal_AngleSpanChanged() { callbackQPieSlice_AngleSpanChanged(this); }; void Signal_BorderColorChanged() { callbackQPieSlice_BorderColorChanged(this); }; void Signal_BorderWidthChanged() { callbackQPieSlice_BorderWidthChanged(this); }; @@ -10697,7 +10697,7 @@ double QPieSlice_Value(void* ptr) class MyQPolarChart: public QPolarChart { public: - MyQPolarChart(QGraphicsItem *parent, Qt::WindowFlags wFlags) : QPolarChart(parent, wFlags) {}; + MyQPolarChart(QGraphicsItem *parent = Q_NULLPTR, Qt::WindowFlags wFlags = Qt::WindowFlags()) : QPolarChart(parent, wFlags) {}; void Signal_PlotAreaChanged(const QRectF & plotArea) { callbackQChart_PlotAreaChanged(this, const_cast(&plotArea)); }; QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast(callbackQChart_ItemChange(this, change, const_cast(&value))); }; bool close() { return callbackQChart_Close(this) != 0; }; @@ -10810,7 +10810,7 @@ struct QtCharts_PackedList QPolarChart_Axes(void* ptr, long long polarOrientatio class MyQScatterSeries: public QScatterSeries { public: - MyQScatterSeries(QObject *parent) : QScatterSeries(parent) {}; + MyQScatterSeries(QObject *parent = Q_NULLPTR) : QScatterSeries(parent) {}; void Signal_BorderColorChanged(QColor color) { callbackQScatterSeries_BorderColorChanged(this, new QColor(color)); }; void Signal_ColorChanged(QColor color) { callbackQXYSeries_ColorChanged(this, new QColor(color)); }; void Signal_MarkerShapeChanged(QScatterSeries::MarkerShape shape) { callbackQScatterSeries_MarkerShapeChanged(this, shape); }; @@ -10976,7 +10976,7 @@ double QScatterSeries_MarkerSize(void* ptr) class MyQSplineSeries: public QSplineSeries { public: - MyQSplineSeries(QObject *parent) : QSplineSeries(parent) {}; + MyQSplineSeries(QObject *parent = Q_NULLPTR) : QSplineSeries(parent) {}; QAbstractSeries::SeriesType type() const { return static_cast(callbackQLineSeries_Type(const_cast(static_cast(this)))); }; void Signal_Clicked(const QPointF & point) { callbackQXYSeries_Clicked(this, const_cast(&point)); }; void Signal_ColorChanged(QColor color) { callbackQXYSeries_ColorChanged(this, new QColor(color)); }; @@ -11054,7 +11054,7 @@ void QSplineSeries_DestroyQSplineSeries(void* ptr) class MyQStackedBarSeries: public QStackedBarSeries { public: - MyQStackedBarSeries(QObject *parent) : QStackedBarSeries(parent) {}; + MyQStackedBarSeries(QObject *parent = Q_NULLPTR) : QStackedBarSeries(parent) {}; QAbstractSeries::SeriesType type() const { return static_cast(callbackQStackedBarSeries_Type(const_cast(static_cast(this)))); }; void Signal_BarsetsAdded(QList sets) { callbackQAbstractBarSeries_BarsetsAdded(this, ({ QList* tmpValue = new QList(sets); QtCharts_PackedList { tmpValue, tmpValue->size() }; })); }; void Signal_BarsetsRemoved(QList sets) { callbackQAbstractBarSeries_BarsetsRemoved(this, ({ QList* tmpValue = new QList(sets); QtCharts_PackedList { tmpValue, tmpValue->size() }; })); }; @@ -11133,7 +11133,7 @@ long long QStackedBarSeries_TypeDefault(void* ptr) class MyQVBarModelMapper: public QVBarModelMapper { public: - MyQVBarModelMapper(QObject *parent) : QVBarModelMapper(parent) {}; + MyQVBarModelMapper(QObject *parent = Q_NULLPTR) : QVBarModelMapper(parent) {}; void Signal_FirstBarSetColumnChanged() { callbackQVBarModelMapper_FirstBarSetColumnChanged(this); }; void Signal_FirstRowChanged() { callbackQVBarModelMapper_FirstRowChanged(this); }; void Signal_LastBarSetColumnChanged() { callbackQVBarModelMapper_LastBarSetColumnChanged(this); }; @@ -11336,7 +11336,7 @@ int QVBarModelMapper_RowCount(void* ptr) class MyQVBoxPlotModelMapper: public QVBoxPlotModelMapper { public: - MyQVBoxPlotModelMapper(QObject *parent) : QVBoxPlotModelMapper(parent) {}; + MyQVBoxPlotModelMapper(QObject *parent = Q_NULLPTR) : QVBoxPlotModelMapper(parent) {}; void Signal_FirstBoxSetColumnChanged() { callbackQVBoxPlotModelMapper_FirstBoxSetColumnChanged(this); }; void Signal_FirstRowChanged() { callbackQVBoxPlotModelMapper_FirstRowChanged(this); }; void Signal_LastBoxSetColumnChanged() { callbackQVBoxPlotModelMapper_LastBoxSetColumnChanged(this); }; @@ -11539,7 +11539,7 @@ int QVBoxPlotModelMapper_RowCount(void* ptr) class MyQVCandlestickModelMapper: public QVCandlestickModelMapper { public: - MyQVCandlestickModelMapper(QObject *parent) : QVCandlestickModelMapper(parent) {}; + MyQVCandlestickModelMapper(QObject *parent = nullptr) : QVCandlestickModelMapper(parent) {}; void Signal_CloseRowChanged() { callbackQVCandlestickModelMapper_CloseRowChanged(this); }; void Signal_FirstSetColumnChanged() { callbackQVCandlestickModelMapper_FirstSetColumnChanged(this); }; void Signal_HighRowChanged() { callbackQVCandlestickModelMapper_HighRowChanged(this); }; @@ -11781,7 +11781,7 @@ int QVCandlestickModelMapper_TimestampRow(void* ptr) class MyQVPieModelMapper: public QVPieModelMapper { public: - MyQVPieModelMapper(QObject *parent) : QVPieModelMapper(parent) {}; + MyQVPieModelMapper(QObject *parent = Q_NULLPTR) : QVPieModelMapper(parent) {}; void Signal_FirstRowChanged() { callbackQVPieModelMapper_FirstRowChanged(this); }; void Signal_LabelsColumnChanged() { callbackQVPieModelMapper_LabelsColumnChanged(this); }; void Signal_ModelReplaced() { callbackQVPieModelMapper_ModelReplaced(this); }; @@ -11984,7 +11984,7 @@ int QVPieModelMapper_ValuesColumn(void* ptr) class MyQVXYModelMapper: public QVXYModelMapper { public: - MyQVXYModelMapper(QObject *parent) : QVXYModelMapper(parent) {}; + MyQVXYModelMapper(QObject *parent = Q_NULLPTR) : QVXYModelMapper(parent) {}; void Signal_FirstRowChanged() { callbackQVXYModelMapper_FirstRowChanged(this); }; void Signal_ModelReplaced() { callbackQVXYModelMapper_ModelReplaced(this); }; void Signal_RowCountChanged() { callbackQVXYModelMapper_RowCountChanged(this); }; @@ -12187,7 +12187,7 @@ int QVXYModelMapper_YColumn(void* ptr) class MyQValueAxis: public QValueAxis { public: - MyQValueAxis(QObject *parent) : QValueAxis(parent) {}; + MyQValueAxis(QObject *parent = Q_NULLPTR) : QValueAxis(parent) {}; void applyNiceNumbers() { callbackQValueAxis_ApplyNiceNumbers(this); }; void Signal_LabelFormatChanged(const QString & format) { QByteArray t785987 = format.toUtf8(); QtCharts_PackedString formatPacked = { const_cast(t785987.prepend("WHITESPACE").constData()+10), t785987.size()-10 };callbackQValueAxis_LabelFormatChanged(this, formatPacked); }; void Signal_MaxChanged(qreal max) { callbackQValueAxis_MaxChanged(this, max); }; diff --git a/core/core.cpp b/core/core.cpp index 0f1b4782..1c4d66da 100755 --- a/core/core.cpp +++ b/core/core.cpp @@ -202,7 +202,7 @@ class MyQAbstractAnimation: public QAbstractAnimation { public: - MyQAbstractAnimation(QObject *parent) : QAbstractAnimation(parent) {}; + MyQAbstractAnimation(QObject *parent = Q_NULLPTR) : QAbstractAnimation(parent) {}; bool event(QEvent * event) { return callbackQObject_Event(this, event) != 0; }; void Signal_Finished() { callbackQAbstractAnimation_Finished(this); }; void setCurrentTime(int msecs) { callbackQAbstractAnimation_SetCurrentTime(this, msecs); }; @@ -757,7 +757,7 @@ void QAbstractEventDispatcher_DestroyQAbstractEventDispatcher(void* ptr) class MyQAbstractItemModel: public QAbstractItemModel { public: - MyQAbstractItemModel(QObject *parent) : QAbstractItemModel(parent) {}; + MyQAbstractItemModel(QObject *parent = Q_NULLPTR) : QAbstractItemModel(parent) {}; bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) { return callbackQAbstractItemModel_DropMimeData(this, const_cast(data), action, row, column, const_cast(&parent)) != 0; }; bool insertColumns(int column, int count, const QModelIndex & parent) { return callbackQAbstractItemModel_InsertColumns(this, column, count, const_cast(&parent)) != 0; }; bool insertRows(int row, int count, const QModelIndex & parent) { return callbackQAbstractItemModel_InsertRows(this, row, count, const_cast(&parent)) != 0; }; @@ -2266,7 +2266,7 @@ void* QAbstractItemModel_____itemData_keyList_newList(void* ptr) class MyQAbstractListModel: public QAbstractListModel { public: - MyQAbstractListModel(QObject *parent) : QAbstractListModel(parent) {}; + MyQAbstractListModel(QObject *parent = Q_NULLPTR) : QAbstractListModel(parent) {}; bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) { return callbackQAbstractItemModel_DropMimeData(this, const_cast(data), action, row, column, const_cast(&parent)) != 0; }; QModelIndex index(int row, int column, const QModelIndex & parent) const { return *static_cast(callbackQAbstractListModel_Index(const_cast(static_cast(this)), row, column, const_cast(&parent))); }; QModelIndex sibling(int row, int column, const QModelIndex & idx) const { return *static_cast(callbackQAbstractItemModel_Sibling(const_cast(static_cast(this)), row, column, const_cast(&idx))); }; @@ -2480,7 +2480,7 @@ void QAbstractNativeEventFilter_DestroyQAbstractNativeEventFilterDefault(void* p class MyQAbstractProxyModel: public QAbstractProxyModel { public: - MyQAbstractProxyModel(QObject *parent) : QAbstractProxyModel(parent) {}; + MyQAbstractProxyModel(QObject *parent = Q_NULLPTR) : QAbstractProxyModel(parent) {}; bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) { return callbackQAbstractItemModel_DropMimeData(this, const_cast(data), action, row, column, const_cast(&parent)) != 0; }; bool setData(const QModelIndex & index, const QVariant & value, int role) { return callbackQAbstractItemModel_SetData(this, const_cast(&index), const_cast(&value), role) != 0; }; bool setHeaderData(int section, Qt::Orientation orientation, const QVariant & value, int role) { return callbackQAbstractItemModel_SetHeaderData(this, section, orientation, const_cast(&value), role) != 0; }; @@ -2787,7 +2787,7 @@ int QAbstractProxyModel_RowCountDefault(void* ptr, void* parent) class MyQAbstractState: public QAbstractState { public: - MyQAbstractState(QState *parent) : QAbstractState(parent) {}; + MyQAbstractState(QState *parent = Q_NULLPTR) : QAbstractState(parent) {}; bool event(QEvent * e) { return callbackQObject_Event(this, e) != 0; }; void Signal_ActiveChanged(bool active) { callbackQAbstractState_ActiveChanged(this, active); }; void Signal_Entered() { callbackQAbstractState_Entered(this); }; @@ -2879,7 +2879,7 @@ char QAbstractState_Active(void* ptr) class MyQAbstractTableModel: public QAbstractTableModel { public: - MyQAbstractTableModel(QObject *parent) : QAbstractTableModel(parent) {}; + MyQAbstractTableModel(QObject *parent = Q_NULLPTR) : QAbstractTableModel(parent) {}; bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) { return callbackQAbstractItemModel_DropMimeData(this, const_cast(data), action, row, column, const_cast(&parent)) != 0; }; QModelIndex index(int row, int column, const QModelIndex & parent) const { return *static_cast(callbackQAbstractTableModel_Index(const_cast(static_cast(this)), row, column, const_cast(&parent))); }; QModelIndex sibling(int row, int column, const QModelIndex & idx) const { return *static_cast(callbackQAbstractItemModel_Sibling(const_cast(static_cast(this)), row, column, const_cast(&idx))); }; @@ -3045,7 +3045,7 @@ int QAbstractTableModel_RowCountDefault(void* ptr, void* parent) class MyQAbstractTransition: public QAbstractTransition { public: - MyQAbstractTransition(QState *sourceState) : QAbstractTransition(sourceState) {}; + MyQAbstractTransition(QState *sourceState = Q_NULLPTR) : QAbstractTransition(sourceState) {}; bool event(QEvent * e) { return callbackQObject_Event(this, e) != 0; }; bool eventTest(QEvent * event) { return callbackQAbstractTransition_EventTest(this, event) != 0; }; void onTransition(QEvent * event) { callbackQAbstractTransition_OnTransition(this, event); }; @@ -3223,7 +3223,7 @@ void* QAbstractTransition___targetStates_newList(void* ptr) class MyQAnimationGroup: public QAnimationGroup { public: - MyQAnimationGroup(QObject *parent) : QAnimationGroup(parent) {}; + MyQAnimationGroup(QObject *parent = Q_NULLPTR) : QAnimationGroup(parent) {}; bool event(QEvent * event) { return callbackQObject_Event(this, event) != 0; }; void Signal_Finished() { callbackQAbstractAnimation_Finished(this); }; void setCurrentTime(int msecs) { callbackQAbstractAnimation_SetCurrentTime(this, msecs); }; @@ -3522,8 +3522,8 @@ int QBitArray_Size(void* ptr) class MyQBuffer: public QBuffer { public: - MyQBuffer(QByteArray *byteArray, QObject *parent) : QBuffer(byteArray, parent) {}; - MyQBuffer(QObject *parent) : QBuffer(parent) {}; + MyQBuffer(QByteArray *byteArray, QObject *parent = Q_NULLPTR) : QBuffer(byteArray, parent) {}; + MyQBuffer(QObject *parent = Q_NULLPTR) : QBuffer(parent) {}; bool open(QIODevice::OpenMode flags) { return callbackQIODevice_Open(this, flags) != 0; }; bool seek(qint64 pos) { return callbackQIODevice_Seek(this, pos) != 0; }; qint64 readData(char * data, qint64 len) { QtCore_PackedString dataPacked = { data, len };return callbackQBuffer_ReadData(this, dataPacked, len); }; @@ -6880,7 +6880,7 @@ void QEvent_SetT(void* ptr, unsigned short vus) class MyQEventLoop: public QEventLoop { public: - MyQEventLoop(QObject *parent) : QEventLoop(parent) {}; + MyQEventLoop(QObject *parent = Q_NULLPTR) : QEventLoop(parent) {}; bool event(QEvent * event) { return callbackQObject_Event(this, event) != 0; }; void quit() { callbackQEventLoop_Quit(this); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQObject_EventFilter(this, watched, event) != 0; }; @@ -7004,8 +7004,8 @@ void QEventLoopLocker_DestroyQEventLoopLocker(void* ptr) class MyQEventTransition: public QEventTransition { public: - MyQEventTransition(QObject *object, QEvent::Type type, QState *sourceState) : QEventTransition(object, type, sourceState) {}; - MyQEventTransition(QState *sourceState) : QEventTransition(sourceState) {}; + MyQEventTransition(QObject *object, QEvent::Type type, QState *sourceState = Q_NULLPTR) : QEventTransition(object, type, sourceState) {}; + MyQEventTransition(QState *sourceState = Q_NULLPTR) : QEventTransition(sourceState) {}; bool event(QEvent * e) { return callbackQObject_Event(this, e) != 0; }; bool eventTest(QEvent * event) { return callbackQEventTransition_EventTest(this, event) != 0; }; void onTransition(QEvent * event) { callbackQEventTransition_OnTransition(this, event); }; @@ -7801,7 +7801,7 @@ unsigned int QFileInfo_OwnerId(void* ptr) class MyQFileSelector: public QFileSelector { public: - MyQFileSelector(QObject *parent) : QFileSelector(parent) {}; + MyQFileSelector(QObject *parent = Q_NULLPTR) : QFileSelector(parent) {}; bool event(QEvent * e) { return callbackQObject_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQObject_EventFilter(this, watched, event) != 0; }; void childEvent(QChildEvent * event) { callbackQObject_ChildEvent(this, event); }; @@ -7889,8 +7889,8 @@ void* QFileSelector_Select2(void* ptr, void* filePath) class MyQFileSystemWatcher: public QFileSystemWatcher { public: - MyQFileSystemWatcher(QObject *parent) : QFileSystemWatcher(parent) {}; - MyQFileSystemWatcher(const QStringList &paths, QObject *parent) : QFileSystemWatcher(paths, parent) {}; + MyQFileSystemWatcher(QObject *parent = Q_NULLPTR) : QFileSystemWatcher(parent) {}; + MyQFileSystemWatcher(const QStringList &paths, QObject *parent = Q_NULLPTR) : QFileSystemWatcher(paths, parent) {}; void Signal_DirectoryChanged(const QString & path) { QByteArray t3150ec = path.toUtf8(); QtCore_PackedString pathPacked = { const_cast(t3150ec.prepend("WHITESPACE").constData()+10), t3150ec.size()-10 };callbackQFileSystemWatcher_DirectoryChanged(this, pathPacked); }; void Signal_FileChanged(const QString & path) { QByteArray t3150ec = path.toUtf8(); QtCore_PackedString pathPacked = { const_cast(t3150ec.prepend("WHITESPACE").constData()+10), t3150ec.size()-10 };callbackQFileSystemWatcher_FileChanged(this, pathPacked); }; bool event(QEvent * e) { return callbackQObject_Event(this, e) != 0; }; @@ -8046,7 +8046,7 @@ struct QtCore_PackedString QFileSystemWatcher_Files(void* ptr) class MyQFinalState: public QFinalState { public: - MyQFinalState(QState *parent) : QFinalState(parent) {}; + MyQFinalState(QState *parent = Q_NULLPTR) : QFinalState(parent) {}; bool event(QEvent * e) { return callbackQObject_Event(this, e) != 0; }; void onEntry(QEvent * event) { callbackQFinalState_OnEntry(this, event); }; void onExit(QEvent * event) { callbackQFinalState_OnExit(this, event); }; @@ -8138,8 +8138,8 @@ void* QGenericReturnArgument_NewQGenericReturnArgument(char* name, void* data) class MyQHistoryState: public QHistoryState { public: - MyQHistoryState(HistoryType type, QState *parent) : QHistoryState(type, parent) {}; - MyQHistoryState(QState *parent) : QHistoryState(parent) {}; + MyQHistoryState(HistoryType type, QState *parent = Q_NULLPTR) : QHistoryState(type, parent) {}; + MyQHistoryState(QState *parent = Q_NULLPTR) : QHistoryState(parent) {}; bool event(QEvent * e) { return callbackQObject_Event(this, e) != 0; }; void Signal_DefaultStateChanged() { callbackQHistoryState_DefaultStateChanged(this); }; void Signal_DefaultTransitionChanged() { callbackQHistoryState_DefaultTransitionChanged(this); }; @@ -8924,7 +8924,7 @@ long long QIODevice_SizeDefault(void* ptr) class MyQIdentityProxyModel: public QIdentityProxyModel { public: - MyQIdentityProxyModel(QObject *parent) : QIdentityProxyModel(parent) {}; + MyQIdentityProxyModel(QObject *parent = Q_NULLPTR) : QIdentityProxyModel(parent) {}; bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) { return callbackQAbstractItemModel_DropMimeData(this, const_cast(data), action, row, column, const_cast(&parent)) != 0; }; bool insertColumns(int column, int count, const QModelIndex & parent) { return callbackQAbstractItemModel_InsertColumns(this, column, count, const_cast(&parent)) != 0; }; bool insertRows(int row, int count, const QModelIndex & parent) { return callbackQAbstractItemModel_InsertRows(this, row, count, const_cast(&parent)) != 0; }; @@ -9156,7 +9156,7 @@ void* QItemSelection___indexes_newList(void* ptr) class MyQItemSelectionModel: public QItemSelectionModel { public: - MyQItemSelectionModel(QAbstractItemModel *model) : QItemSelectionModel(model) {}; + MyQItemSelectionModel(QAbstractItemModel *model = Q_NULLPTR) : QItemSelectionModel(model) {}; MyQItemSelectionModel(QAbstractItemModel *model, QObject *parent) : QItemSelectionModel(model, parent) {}; void clear() { callbackQItemSelectionModel_Clear(this); }; void clearCurrentIndex() { callbackQItemSelectionModel_ClearCurrentIndex(this); }; @@ -10363,10 +10363,10 @@ int QLatin1String_Size(void* ptr) class MyQLibrary: public QLibrary { public: - MyQLibrary(QObject *parent) : QLibrary(parent) {}; - MyQLibrary(const QString &fileName, QObject *parent) : QLibrary(fileName, parent) {}; - MyQLibrary(const QString &fileName, const QString &version, QObject *parent) : QLibrary(fileName, version, parent) {}; - MyQLibrary(const QString &fileName, int verNum, QObject *parent) : QLibrary(fileName, verNum, parent) {}; + MyQLibrary(QObject *parent = Q_NULLPTR) : QLibrary(parent) {}; + MyQLibrary(const QString &fileName, QObject *parent = Q_NULLPTR) : QLibrary(fileName, parent) {}; + MyQLibrary(const QString &fileName, const QString &version, QObject *parent = Q_NULLPTR) : QLibrary(fileName, version, parent) {}; + MyQLibrary(const QString &fileName, int verNum, QObject *parent = Q_NULLPTR) : QLibrary(fileName, verNum, parent) {}; bool event(QEvent * e) { return callbackQObject_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQObject_EventFilter(this, watched, event) != 0; }; void childEvent(QChildEvent * event) { callbackQObject_ChildEvent(this, event); }; @@ -12840,7 +12840,7 @@ void* QMutexLocker_Mutex(void* ptr) class MyQObject: public QObject { public: - MyQObject(QObject *parent) : QObject(parent) {}; + MyQObject(QObject *parent = Q_NULLPTR) : QObject(parent) {}; bool event(QEvent * e) { return callbackQObject_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQObject_EventFilter(this, watched, event) != 0; }; void childEvent(QChildEvent * event) { callbackQObject_ChildEvent(this, event); }; @@ -14149,7 +14149,7 @@ char QObjectCleanupHandler_IsEmpty(void* ptr) class MyQParallelAnimationGroup: public QParallelAnimationGroup { public: - MyQParallelAnimationGroup(QObject *parent) : QParallelAnimationGroup(parent) {}; + MyQParallelAnimationGroup(QObject *parent = Q_NULLPTR) : QParallelAnimationGroup(parent) {}; bool event(QEvent * event) { return callbackQObject_Event(this, event) != 0; }; void updateCurrentTime(int currentTime) { callbackQParallelAnimationGroup_UpdateCurrentTime(this, currentTime); }; void updateDirection(QAbstractAnimation::Direction direction) { callbackQAbstractAnimation_UpdateDirection(this, direction); }; @@ -14246,8 +14246,8 @@ int QParallelAnimationGroup_DurationDefault(void* ptr) class MyQPauseAnimation: public QPauseAnimation { public: - MyQPauseAnimation(QObject *parent) : QPauseAnimation(parent) {}; - MyQPauseAnimation(int msecs, QObject *parent) : QPauseAnimation(msecs, parent) {}; + MyQPauseAnimation(QObject *parent = Q_NULLPTR) : QPauseAnimation(parent) {}; + MyQPauseAnimation(int msecs, QObject *parent = Q_NULLPTR) : QPauseAnimation(msecs, parent) {}; bool event(QEvent * e) { return callbackQObject_Event(this, e) != 0; }; void updateCurrentTime(int vin) { callbackQPauseAnimation_UpdateCurrentTime(this, vin); }; int duration() const { return callbackQPauseAnimation_Duration(const_cast(static_cast(this))); }; @@ -14450,8 +14450,8 @@ int QPersistentModelIndex_Row(void* ptr) class MyQPluginLoader: public QPluginLoader { public: - MyQPluginLoader(QObject *parent) : QPluginLoader(parent) {}; - MyQPluginLoader(const QString &fileName, QObject *parent) : QPluginLoader(fileName, parent) {}; + MyQPluginLoader(QObject *parent = Q_NULLPTR) : QPluginLoader(parent) {}; + MyQPluginLoader(const QString &fileName, QObject *parent = Q_NULLPTR) : QPluginLoader(fileName, parent) {}; bool event(QEvent * e) { return callbackQObject_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQObject_EventFilter(this, watched, event) != 0; }; void childEvent(QChildEvent * event) { callbackQObject_ChildEvent(this, event); }; @@ -14755,8 +14755,8 @@ double QPointF_Y(void* ptr) class MyQPropertyAnimation: public QPropertyAnimation { public: - MyQPropertyAnimation(QObject *parent) : QPropertyAnimation(parent) {}; - MyQPropertyAnimation(QObject *target, const QByteArray &propertyName, QObject *parent) : QPropertyAnimation(target, propertyName, parent) {}; + MyQPropertyAnimation(QObject *parent = Q_NULLPTR) : QPropertyAnimation(parent) {}; + MyQPropertyAnimation(QObject *target, const QByteArray &propertyName, QObject *parent = Q_NULLPTR) : QPropertyAnimation(target, propertyName, parent) {}; bool event(QEvent * event) { return callbackQObject_Event(this, event) != 0; }; void updateCurrentValue(const QVariant & value) { callbackQVariantAnimation_UpdateCurrentValue(this, const_cast(&value)); }; void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { callbackQAbstractAnimation_UpdateState(this, newState, oldState); }; @@ -16105,7 +16105,7 @@ char QRunnable_AutoDelete(void* ptr) class MyQSaveFile: public QSaveFile { public: - MyQSaveFile(QObject *parent) : QSaveFile(parent) {}; + MyQSaveFile(QObject *parent = Q_NULLPTR) : QSaveFile(parent) {}; MyQSaveFile(const QString &name) : QSaveFile(name) {}; MyQSaveFile(const QString &name, QObject *parent) : QSaveFile(name, parent) {}; bool open(QIODevice::OpenMode mode) { return callbackQIODevice_Open(this, mode) != 0; }; @@ -16302,7 +16302,7 @@ int QSemaphore_Available(void* ptr) class MyQSequentialAnimationGroup: public QSequentialAnimationGroup { public: - MyQSequentialAnimationGroup(QObject *parent) : QSequentialAnimationGroup(parent) {}; + MyQSequentialAnimationGroup(QObject *parent = Q_NULLPTR) : QSequentialAnimationGroup(parent) {}; bool event(QEvent * event) { return callbackQObject_Event(this, event) != 0; }; void Signal_CurrentAnimationChanged(QAbstractAnimation * current) { callbackQSequentialAnimationGroup_CurrentAnimationChanged(this, current); }; void updateCurrentTime(int currentTime) { callbackQSequentialAnimationGroup_UpdateCurrentTime(this, currentTime); }; @@ -16445,11 +16445,11 @@ int QSequentialIterable_Size(void* ptr) class MyQSettings: public QSettings { public: - MyQSettings(Format format, Scope scope, const QString &organization, const QString &application, QObject *parent) : QSettings(format, scope, organization, application, parent) {}; - MyQSettings(QObject *parent) : QSettings(parent) {}; - MyQSettings(Scope scope, const QString &organization, const QString &application, QObject *parent) : QSettings(scope, organization, application, parent) {}; - MyQSettings(const QString &fileName, Format format, QObject *parent) : QSettings(fileName, format, parent) {}; - MyQSettings(const QString &organization, const QString &application, QObject *parent) : QSettings(organization, application, parent) {}; + MyQSettings(Format format, Scope scope, const QString &organization, const QString &application = QString(), QObject *parent = Q_NULLPTR) : QSettings(format, scope, organization, application, parent) {}; + MyQSettings(QObject *parent = Q_NULLPTR) : QSettings(parent) {}; + MyQSettings(Scope scope, const QString &organization, const QString &application = QString(), QObject *parent = Q_NULLPTR) : QSettings(scope, organization, application, parent) {}; + MyQSettings(const QString &fileName, Format format, QObject *parent = Q_NULLPTR) : QSettings(fileName, format, parent) {}; + MyQSettings(const QString &organization, const QString &application = QString(), QObject *parent = Q_NULLPTR) : QSettings(organization, application, parent) {}; bool event(QEvent * event) { return callbackQObject_Event(this, event) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQObject_EventFilter(this, watched, event) != 0; }; void childEvent(QChildEvent * event) { callbackQObject_ChildEvent(this, event); }; @@ -16841,8 +16841,8 @@ void* QSharedData_NewQSharedData2(void* other) class MyQSharedMemory: public QSharedMemory { public: - MyQSharedMemory(QObject *parent) : QSharedMemory(parent) {}; - MyQSharedMemory(const QString &key, QObject *parent) : QSharedMemory(key, parent) {}; + MyQSharedMemory(QObject *parent = Q_NULLPTR) : QSharedMemory(parent) {}; + MyQSharedMemory(const QString &key, QObject *parent = Q_NULLPTR) : QSharedMemory(key, parent) {}; bool event(QEvent * e) { return callbackQObject_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQObject_EventFilter(this, watched, event) != 0; }; void childEvent(QChildEvent * event) { callbackQObject_ChildEvent(this, event); }; @@ -17123,7 +17123,7 @@ void QSignalBlocker_DestroyQSignalBlocker(void* ptr) class MyQSignalMapper: public QSignalMapper { public: - MyQSignalMapper(QObject *parent) : QSignalMapper(parent) {}; + MyQSignalMapper(QObject *parent = Q_NULLPTR) : QSignalMapper(parent) {}; void map() { callbackQSignalMapper_Map(this); }; void map(QObject * sender) { callbackQSignalMapper_Map2(this, sender); }; void Signal_Mapped4(QObject * object) { callbackQSignalMapper_Mapped4(this, object); }; @@ -17317,8 +17317,8 @@ void* QSignalMapper_Mapping(void* ptr, int id) class MyQSignalTransition: public QSignalTransition { public: - MyQSignalTransition(QState *sourceState) : QSignalTransition(sourceState) {}; - MyQSignalTransition(const QObject *sender, const char *signal, QState *sourceState) : QSignalTransition(sender, signal, sourceState) {}; + MyQSignalTransition(QState *sourceState = Q_NULLPTR) : QSignalTransition(sourceState) {}; + MyQSignalTransition(const QObject *sender, const char *signal, QState *sourceState = Q_NULLPTR) : QSignalTransition(sender, signal, sourceState) {}; bool event(QEvent * e) { return callbackQObject_Event(this, e) != 0; }; bool eventTest(QEvent * event) { return callbackQSignalTransition_EventTest(this, event) != 0; }; void onTransition(QEvent * event) { callbackQSignalTransition_OnTransition(this, event); }; @@ -17706,7 +17706,7 @@ char QSocketNotifier_IsEnabled(void* ptr) class MyQSortFilterProxyModel: public QSortFilterProxyModel { public: - MyQSortFilterProxyModel(QObject *parent) : QSortFilterProxyModel(parent) {}; + MyQSortFilterProxyModel(QObject *parent = Q_NULLPTR) : QSortFilterProxyModel(parent) {}; bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) { return callbackQAbstractItemModel_DropMimeData(this, const_cast(data), action, row, column, const_cast(&parent)) != 0; }; bool insertColumns(int column, int count, const QModelIndex & parent) { return callbackQAbstractItemModel_InsertColumns(this, column, count, const_cast(&parent)) != 0; }; bool insertRows(int row, int count, const QModelIndex & parent) { return callbackQAbstractItemModel_InsertRows(this, row, count, const_cast(&parent)) != 0; }; @@ -18095,8 +18095,8 @@ void QStandardPaths_QStandardPaths_SetTestModeEnabled(char testMode) class MyQState: public QState { public: - MyQState(ChildMode childMode, QState *parent) : QState(childMode, parent) {}; - MyQState(QState *parent) : QState(parent) {}; + MyQState(ChildMode childMode, QState *parent = Q_NULLPTR) : QState(childMode, parent) {}; + MyQState(QState *parent = Q_NULLPTR) : QState(parent) {}; bool event(QEvent * e) { return callbackQObject_Event(this, e) != 0; }; void Signal_ChildModeChanged() { callbackQState_ChildModeChanged(this); }; void Signal_ErrorStateChanged() { callbackQState_ErrorStateChanged(this); }; @@ -18291,8 +18291,8 @@ void* QState___transitions_newList(void* ptr) class MyQStateMachine: public QStateMachine { public: - MyQStateMachine(QObject *parent) : QStateMachine(parent) {}; - MyQStateMachine(QState::ChildMode childMode, QObject *parent) : QStateMachine(childMode, parent) {}; + MyQStateMachine(QObject *parent = Q_NULLPTR) : QStateMachine(parent) {}; + MyQStateMachine(QState::ChildMode childMode, QObject *parent = Q_NULLPTR) : QStateMachine(childMode, parent) {}; bool event(QEvent * e) { return callbackQObject_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQObject_EventFilter(this, watched, event) != 0; }; void onEntry(QEvent * event) { callbackQState_OnEntry(this, event); }; @@ -18717,8 +18717,8 @@ void* QStorageInfo___mountedVolumes_newList(void* ptr) class MyQStringListModel: public QStringListModel { public: - MyQStringListModel(QObject *parent) : QStringListModel(parent) {}; - MyQStringListModel(const QStringList &strings, QObject *parent) : QStringListModel(strings, parent) {}; + MyQStringListModel(QObject *parent = Q_NULLPTR) : QStringListModel(parent) {}; + MyQStringListModel(const QStringList &strings, QObject *parent = Q_NULLPTR) : QStringListModel(strings, parent) {}; bool insertRows(int row, int count, const QModelIndex & parent) { return callbackQAbstractItemModel_InsertRows(this, row, count, const_cast(&parent)) != 0; }; bool removeRows(int row, int count, const QModelIndex & parent) { return callbackQAbstractItemModel_RemoveRows(this, row, count, const_cast(&parent)) != 0; }; bool setData(const QModelIndex & index, const QVariant & value, int role) { return callbackQAbstractItemModel_SetData(this, const_cast(&index), const_cast(&value), role) != 0; }; @@ -20392,10 +20392,10 @@ class MyQTextStream: public QTextStream { public: MyQTextStream() : QTextStream() {}; - MyQTextStream(QByteArray *array, QIODevice::OpenMode openMode) : QTextStream(array, openMode) {}; + MyQTextStream(QByteArray *array, QIODevice::OpenMode openMode = QIODevice::ReadWrite) : QTextStream(array, openMode) {}; MyQTextStream(QIODevice *device) : QTextStream(device) {}; - MyQTextStream(QString *string, QIODevice::OpenMode openMode) : QTextStream(string, openMode) {}; - MyQTextStream(const QByteArray &array, QIODevice::OpenMode openMode) : QTextStream(array, openMode) {}; + MyQTextStream(QString *string, QIODevice::OpenMode openMode = QIODevice::ReadWrite) : QTextStream(string, openMode) {}; + MyQTextStream(const QByteArray &array, QIODevice::OpenMode openMode = QIODevice::ReadOnly) : QTextStream(array, openMode) {}; ~MyQTextStream() { callbackQTextStream_DestroyQTextStream(this); }; }; @@ -20637,7 +20637,7 @@ long long QTextStream_Pos(void* ptr) class MyQThread: public QThread { public: - MyQThread(QObject *parent) : QThread(parent) {}; + MyQThread(QObject *parent = Q_NULLPTR) : QThread(parent) {}; bool event(QEvent * event) { return callbackQObject_Event(this, event) != 0; }; void Signal_Finished() { callbackQThread_Finished(this); }; void quit() { callbackQThread_Quit(this); }; @@ -20871,7 +20871,7 @@ unsigned int QThread_StackSize(void* ptr) class MyQThreadPool: public QThreadPool { public: - MyQThreadPool(QObject *parent) : QThreadPool(parent) {}; + MyQThreadPool(QObject *parent = Q_NULLPTR) : QThreadPool(parent) {}; bool event(QEvent * e) { return callbackQObject_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQObject_EventFilter(this, watched, event) != 0; }; void childEvent(QChildEvent * event) { callbackQObject_ChildEvent(this, event); }; @@ -21119,7 +21119,7 @@ int QTime_SecsTo(void* ptr, void* t) class MyQTimeLine: public QTimeLine { public: - MyQTimeLine(int duration, QObject *parent) : QTimeLine(duration, parent) {}; + MyQTimeLine(int duration = 1000, QObject *parent = Q_NULLPTR) : QTimeLine(duration, parent) {}; void setCurrentTime(int msec) { callbackQTimeLine_SetCurrentTime(this, msec); }; void Signal_Finished() { callbackQTimeLine_Finished(this); }; void Signal_FrameChanged(int frame) { callbackQTimeLine_FrameChanged(this, frame); }; @@ -21654,7 +21654,7 @@ void* QTimeZone___windowsIdToIanaIds_newList2(void* ptr) class MyQTimer: public QTimer { public: - MyQTimer(QObject *parent) : QTimer(parent) {}; + MyQTimer(QObject *parent = Q_NULLPTR) : QTimer(parent) {}; void start() { callbackQTimer_Start2(this); }; void start(int msec) { callbackQTimer_Start(this, msec); }; void stop() { callbackQTimer_Stop(this); }; @@ -21842,7 +21842,7 @@ void QTimerEvent_SetId(void* ptr, int vin) class MyQTranslator: public QTranslator { public: - MyQTranslator(QObject *parent) : QTranslator(parent) {}; + MyQTranslator(QObject *parent = Q_NULLPTR) : QTranslator(parent) {}; QString translate(const char * context, const char * sourceText, const char * disambiguation, int n) const { QtCore_PackedString contextPacked = { const_cast(context), n };QtCore_PackedString sourceTextPacked = { const_cast(sourceText), n };QtCore_PackedString disambiguationPacked = { const_cast(disambiguation), n };return QString(callbackQTranslator_Translate(const_cast(static_cast(this)), contextPacked, sourceTextPacked, disambiguationPacked, n)); }; bool isEmpty() const { return callbackQTranslator_IsEmpty(const_cast(static_cast(this))) != 0; }; bool event(QEvent * e) { return callbackQObject_Event(this, e) != 0; }; @@ -23162,7 +23162,7 @@ void* QVariant_____toMap_keyList_newList(void* ptr) class MyQVariantAnimation: public QVariantAnimation { public: - MyQVariantAnimation(QObject *parent) : QVariantAnimation(parent) {}; + MyQVariantAnimation(QObject *parent = Q_NULLPTR) : QVariantAnimation(parent) {}; bool event(QEvent * event) { return callbackQObject_Event(this, event) != 0; }; void updateCurrentTime(int vin) { callbackQVariantAnimation_UpdateCurrentTime(this, vin); }; void updateCurrentValue(const QVariant & value) { callbackQVariantAnimation_UpdateCurrentValue(this, const_cast(&value)); }; diff --git a/datavisualization/datavisualization.cpp b/datavisualization/datavisualization.cpp index f70b7979..dc076363 100755 --- a/datavisualization/datavisualization.cpp +++ b/datavisualization/datavisualization.cpp @@ -126,7 +126,7 @@ typedef QtDataVisualization::QValue3DAxisFormatter QValue3DAxisFormatter; class MyQ3DBars: public Q3DBars { public: - MyQ3DBars(const QSurfaceFormat *format, QWindow *parent) : Q3DBars(format, parent) {}; + MyQ3DBars(const QSurfaceFormat *format = Q_NULLPTR, QWindow *parent = Q_NULLPTR) : Q3DBars(format, parent) {}; void Signal_BarSpacingChanged(const QSizeF & spacing) { callbackQ3DBars_BarSpacingChanged(this, const_cast(&spacing)); }; void Signal_BarSpacingRelativeChanged(bool relative) { callbackQ3DBars_BarSpacingRelativeChanged(this, relative); }; void Signal_BarThicknessChanged(float thicknessRatio) { callbackQ3DBars_BarThicknessChanged(this, thicknessRatio); }; @@ -472,7 +472,7 @@ void* Q3DBars___seriesList_newList(void* ptr) class MyQ3DCamera: public Q3DCamera { public: - MyQ3DCamera(QObject *parent) : Q3DCamera(parent) {}; + MyQ3DCamera(QObject *parent = Q_NULLPTR) : Q3DCamera(parent) {}; void Signal_CameraPresetChanged(Q3DCamera::CameraPreset preset) { callbackQ3DCamera_CameraPresetChanged(this, preset); }; void copyValuesFrom(const Q3DObject & source) { callbackQ3DCamera_CopyValuesFrom(this, const_cast(&source)); }; void Signal_MaxZoomLevelChanged(float zoomLevel) { callbackQ3DCamera_MaxZoomLevelChanged(this, zoomLevel); }; @@ -780,7 +780,7 @@ float Q3DCamera_ZoomLevel(void* ptr) class MyQ3DInputHandler: public Q3DInputHandler { public: - MyQ3DInputHandler(QObject *parent) : Q3DInputHandler(parent) {}; + MyQ3DInputHandler(QObject *parent = Q_NULLPTR) : Q3DInputHandler(parent) {}; void mouseMoveEvent(QMouseEvent * event, const QPoint & mousePos) { callbackQ3DInputHandler_MouseMoveEvent(this, event, const_cast(&mousePos)); }; void mousePressEvent(QMouseEvent * event, const QPoint & mousePos) { callbackQ3DInputHandler_MousePressEvent(this, event, const_cast(&mousePos)); }; void mouseReleaseEvent(QMouseEvent * event, const QPoint & mousePos) { callbackQ3DInputHandler_MouseReleaseEvent(this, event, const_cast(&mousePos)); }; @@ -986,7 +986,7 @@ char Q3DInputHandler_IsZoomEnabled(void* ptr) class MyQ3DLight: public Q3DLight { public: - MyQ3DLight(QObject *parent) : Q3DLight(parent) {}; + MyQ3DLight(QObject *parent = Q_NULLPTR) : Q3DLight(parent) {}; ~MyQ3DLight() { callbackQ3DLight_DestroyQ3DLight(this); }; }; @@ -1044,7 +1044,7 @@ void Q3DLight_DestroyQ3DLightDefault(void* ptr) class MyQ3DObject: public Q3DObject { public: - MyQ3DObject(QObject *parent) : Q3DObject(parent) {}; + MyQ3DObject(QObject *parent = Q_NULLPTR) : Q3DObject(parent) {}; void copyValuesFrom(const Q3DObject & source) { callbackQ3DObject_CopyValuesFrom(this, const_cast(&source)); }; void Signal_PositionChanged(const QVector3D & position) { callbackQ3DObject_PositionChanged(this, const_cast(&position)); }; ~MyQ3DObject() { callbackQ3DObject_DestroyQ3DObject(this); }; @@ -1154,7 +1154,7 @@ char Q3DObject_IsDirty(void* ptr) class MyQ3DScatter: public Q3DScatter { public: - MyQ3DScatter(const QSurfaceFormat *format, QWindow *parent) : Q3DScatter(format, parent) {}; + MyQ3DScatter(const QSurfaceFormat *format = Q_NULLPTR, QWindow *parent = Q_NULLPTR) : Q3DScatter(format, parent) {}; void Signal_AxisXChanged(QValue3DAxis * axis) { callbackQ3DScatter_AxisXChanged(this, axis); }; void Signal_AxisYChanged(QValue3DAxis * axis) { callbackQ3DScatter_AxisYChanged(this, axis); }; void Signal_AxisZChanged(QValue3DAxis * axis) { callbackQ3DScatter_AxisZChanged(this, axis); }; @@ -1339,7 +1339,7 @@ void* Q3DScatter___axes_newList(void* ptr) class MyQ3DScene: public Q3DScene { public: - MyQ3DScene(QObject *parent) : Q3DScene(parent) {}; + MyQ3DScene(QObject *parent = Q_NULLPTR) : Q3DScene(parent) {}; void Signal_ActiveCameraChanged(Q3DCamera * camera) { callbackQ3DScene_ActiveCameraChanged(this, camera); }; void Signal_ActiveLightChanged(Q3DLight * light) { callbackQ3DScene_ActiveLightChanged(this, light); }; void Signal_DevicePixelRatioChanged(float pixelRatio) { callbackQ3DScene_DevicePixelRatioChanged(this, pixelRatio); }; @@ -1667,7 +1667,7 @@ float Q3DScene_DevicePixelRatio(void* ptr) class MyQ3DSurface: public Q3DSurface { public: - MyQ3DSurface(const QSurfaceFormat *format, QWindow *parent) : Q3DSurface(format, parent) {}; + MyQ3DSurface(const QSurfaceFormat *format = Q_NULLPTR, QWindow *parent = Q_NULLPTR) : Q3DSurface(format, parent) {}; void Signal_AxisXChanged(QValue3DAxis * axis) { callbackQ3DSurface_AxisXChanged(this, axis); }; void Signal_AxisYChanged(QValue3DAxis * axis) { callbackQ3DSurface_AxisYChanged(this, axis); }; void Signal_AxisZChanged(QValue3DAxis * axis) { callbackQ3DSurface_AxisZChanged(this, axis); }; @@ -1878,8 +1878,8 @@ void* Q3DSurface___axes_newList(void* ptr) class MyQ3DTheme: public Q3DTheme { public: - MyQ3DTheme(QObject *parent) : Q3DTheme(parent) {}; - MyQ3DTheme(Theme themeType, QObject *parent) : Q3DTheme(themeType, parent) {}; + MyQ3DTheme(QObject *parent = Q_NULLPTR) : Q3DTheme(parent) {}; + MyQ3DTheme(Theme themeType, QObject *parent = Q_NULLPTR) : Q3DTheme(themeType, parent) {}; void Signal_AmbientLightStrengthChanged(float strength) { callbackQ3DTheme_AmbientLightStrengthChanged(this, strength); }; void Signal_BackgroundColorChanged(const QColor & color) { callbackQ3DTheme_BackgroundColorChanged(this, const_cast(&color)); }; void Signal_BackgroundEnabledChanged(bool enabled) { callbackQ3DTheme_BackgroundEnabledChanged(this, enabled); }; @@ -3536,7 +3536,7 @@ void* QAbstract3DGraph___customItems_newList(void* ptr) class MyQAbstract3DInputHandler: public QAbstract3DInputHandler { public: - MyQAbstract3DInputHandler(QObject *parent) : QAbstract3DInputHandler(parent) {}; + MyQAbstract3DInputHandler(QObject *parent = Q_NULLPTR) : QAbstract3DInputHandler(parent) {}; void Signal_InputViewChanged(QAbstract3DInputHandler::InputView view) { callbackQAbstract3DInputHandler_InputViewChanged(this, view); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQAbstract3DInputHandler_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event, const QPoint & mousePos) { callbackQAbstract3DInputHandler_MouseMoveEvent(this, event, const_cast(&mousePos)); }; @@ -4216,8 +4216,8 @@ void QAbstractDataProxy_DestroyQAbstractDataProxyDefault(void* ptr) class MyQBar3DSeries: public QBar3DSeries { public: - MyQBar3DSeries(QBarDataProxy *dataProxy, QObject *parent) : QBar3DSeries(dataProxy, parent) {}; - MyQBar3DSeries(QObject *parent) : QBar3DSeries(parent) {}; + MyQBar3DSeries(QBarDataProxy *dataProxy, QObject *parent = Q_NULLPTR) : QBar3DSeries(dataProxy, parent) {}; + MyQBar3DSeries(QObject *parent = Q_NULLPTR) : QBar3DSeries(parent) {}; void Signal_DataProxyChanged(QBarDataProxy * proxy) { callbackQBar3DSeries_DataProxyChanged(this, proxy); }; void Signal_MeshAngleChanged(float angle) { callbackQBar3DSeries_MeshAngleChanged(this, angle); }; void Signal_SelectedBarChanged(const QPoint & position) { callbackQBar3DSeries_SelectedBarChanged(this, const_cast(&position)); }; @@ -4444,7 +4444,7 @@ float QBarDataItem_Value(void* ptr) class MyQBarDataProxy: public QBarDataProxy { public: - MyQBarDataProxy(QObject *parent) : QBarDataProxy(parent) {}; + MyQBarDataProxy(QObject *parent = Q_NULLPTR) : QBarDataProxy(parent) {}; void Signal_ArrayReset() { callbackQBarDataProxy_ArrayReset(this); }; void Signal_ColumnLabelsChanged() { callbackQBarDataProxy_ColumnLabelsChanged(this); }; void Signal_ItemChanged(int rowIndex, int columnIndex) { callbackQBarDataProxy_ItemChanged(this, rowIndex, columnIndex); }; @@ -4722,7 +4722,7 @@ int QBarDataProxy_RowCount(void* ptr) class MyQCategory3DAxis: public QCategory3DAxis { public: - MyQCategory3DAxis(QObject *parent) : QCategory3DAxis(parent) {}; + MyQCategory3DAxis(QObject *parent = Q_NULLPTR) : QCategory3DAxis(parent) {}; void Signal_LabelsChanged() { callbackQCategory3DAxis_LabelsChanged(this); }; ~MyQCategory3DAxis() { callbackQCategory3DAxis_DestroyQCategory3DAxis(this); }; }; @@ -4806,8 +4806,8 @@ struct QtDataVisualization_PackedString QCategory3DAxis_Labels(void* ptr) class MyQCustom3DItem: public QCustom3DItem { public: - MyQCustom3DItem(QObject *parent) : QCustom3DItem(parent) {}; - MyQCustom3DItem(const QString &meshFile, const QVector3D &position, const QVector3D &scaling, const QQuaternion &rotation, const QImage &texture, QObject *parent) : QCustom3DItem(meshFile, position, scaling, rotation, texture, parent) {}; + MyQCustom3DItem(QObject *parent = Q_NULLPTR) : QCustom3DItem(parent) {}; + MyQCustom3DItem(const QString &meshFile, const QVector3D &position, const QVector3D &scaling, const QQuaternion &rotation, const QImage &texture, QObject *parent = Q_NULLPTR) : QCustom3DItem(meshFile, position, scaling, rotation, texture, parent) {}; void Signal_MeshFileChanged(const QString & meshFile) { QByteArray tdc0aec = meshFile.toUtf8(); QtDataVisualization_PackedString meshFilePacked = { const_cast(tdc0aec.prepend("WHITESPACE").constData()+10), tdc0aec.size()-10 };callbackQCustom3DItem_MeshFileChanged(this, meshFilePacked); }; void Signal_PositionAbsoluteChanged(bool positionAbsolute) { callbackQCustom3DItem_PositionAbsoluteChanged(this, positionAbsolute); }; void Signal_PositionChanged(const QVector3D & position) { callbackQCustom3DItem_PositionChanged(this, const_cast(&position)); }; @@ -5150,8 +5150,8 @@ char QCustom3DItem_IsVisible(void* ptr) class MyQCustom3DLabel: public QCustom3DLabel { public: - MyQCustom3DLabel(QObject *parent) : QCustom3DLabel(parent) {}; - MyQCustom3DLabel(const QString &text, const QFont &font, const QVector3D &position, const QVector3D &scaling, const QQuaternion &rotation, QObject *parent) : QCustom3DLabel(text, font, position, scaling, rotation, parent) {}; + MyQCustom3DLabel(QObject *parent = Q_NULLPTR) : QCustom3DLabel(parent) {}; + MyQCustom3DLabel(const QString &text, const QFont &font, const QVector3D &position, const QVector3D &scaling, const QQuaternion &rotation, QObject *parent = Q_NULLPTR) : QCustom3DLabel(text, font, position, scaling, rotation, parent) {}; void Signal_BackgroundColorChanged(const QColor & color) { callbackQCustom3DLabel_BackgroundColorChanged(this, const_cast(&color)); }; void Signal_BackgroundEnabledChanged(bool enabled) { callbackQCustom3DLabel_BackgroundEnabledChanged(this, enabled); }; void Signal_BorderEnabledChanged(bool enabled) { callbackQCustom3DLabel_BorderEnabledChanged(this, enabled); }; @@ -5432,7 +5432,7 @@ char QCustom3DLabel_IsFacingCamera(void* ptr) class MyQCustom3DVolume: public QCustom3DVolume { public: - MyQCustom3DVolume(QObject *parent) : QCustom3DVolume(parent) {}; + MyQCustom3DVolume(QObject *parent = Q_NULLPTR) : QCustom3DVolume(parent) {}; void Signal_AlphaMultiplierChanged(float mult) { callbackQCustom3DVolume_AlphaMultiplierChanged(this, mult); }; void Signal_ColorTableChanged() { callbackQCustom3DVolume_ColorTableChanged(this); }; void Signal_DrawSliceFramesChanged(bool enabled) { callbackQCustom3DVolume_DrawSliceFramesChanged(this, enabled); }; @@ -5962,9 +5962,9 @@ void* QCustom3DVolume___colorTable_newList(void* ptr) class MyQHeightMapSurfaceDataProxy: public QHeightMapSurfaceDataProxy { public: - MyQHeightMapSurfaceDataProxy(QObject *parent) : QHeightMapSurfaceDataProxy(parent) {}; - MyQHeightMapSurfaceDataProxy(const QImage &image, QObject *parent) : QHeightMapSurfaceDataProxy(image, parent) {}; - MyQHeightMapSurfaceDataProxy(const QString &filename, QObject *parent) : QHeightMapSurfaceDataProxy(filename, parent) {}; + MyQHeightMapSurfaceDataProxy(QObject *parent = Q_NULLPTR) : QHeightMapSurfaceDataProxy(parent) {}; + MyQHeightMapSurfaceDataProxy(const QImage &image, QObject *parent = Q_NULLPTR) : QHeightMapSurfaceDataProxy(image, parent) {}; + MyQHeightMapSurfaceDataProxy(const QString &filename, QObject *parent = Q_NULLPTR) : QHeightMapSurfaceDataProxy(filename, parent) {}; void Signal_HeightMapChanged(const QImage & image) { callbackQHeightMapSurfaceDataProxy_HeightMapChanged(this, const_cast(&image)); }; void Signal_HeightMapFileChanged(const QString & filename) { QByteArray t08deae = filename.toUtf8(); QtDataVisualization_PackedString filenamePacked = { const_cast(t08deae.prepend("WHITESPACE").constData()+10), t08deae.size()-10 };callbackQHeightMapSurfaceDataProxy_HeightMapFileChanged(this, filenamePacked); }; void Signal_MaxXValueChanged(float value) { callbackQHeightMapSurfaceDataProxy_MaxXValueChanged(this, value); }; @@ -6265,13 +6265,13 @@ float QHeightMapSurfaceDataProxy_MinZValue(void* ptr) class MyQItemModelBarDataProxy: public QItemModelBarDataProxy { public: - MyQItemModelBarDataProxy(QAbstractItemModel *itemModel, QObject *parent) : QItemModelBarDataProxy(itemModel, parent) {}; - MyQItemModelBarDataProxy(QAbstractItemModel *itemModel, const QString &rowRole, const QString &columnRole, const QString &valueRole, QObject *parent) : QItemModelBarDataProxy(itemModel, rowRole, columnRole, valueRole, parent) {}; - MyQItemModelBarDataProxy(QAbstractItemModel *itemModel, const QString &rowRole, const QString &columnRole, const QString &valueRole, const QString &rotationRole, QObject *parent) : QItemModelBarDataProxy(itemModel, rowRole, columnRole, valueRole, rotationRole, parent) {}; - MyQItemModelBarDataProxy(QAbstractItemModel *itemModel, const QString &rowRole, const QString &columnRole, const QString &valueRole, const QString &rotationRole, const QStringList &rowCategories, const QStringList &columnCategories, QObject *parent) : QItemModelBarDataProxy(itemModel, rowRole, columnRole, valueRole, rotationRole, rowCategories, columnCategories, parent) {}; - MyQItemModelBarDataProxy(QAbstractItemModel *itemModel, const QString &rowRole, const QString &columnRole, const QString &valueRole, const QStringList &rowCategories, const QStringList &columnCategories, QObject *parent) : QItemModelBarDataProxy(itemModel, rowRole, columnRole, valueRole, rowCategories, columnCategories, parent) {}; - MyQItemModelBarDataProxy(QAbstractItemModel *itemModel, const QString &valueRole, QObject *parent) : QItemModelBarDataProxy(itemModel, valueRole, parent) {}; - MyQItemModelBarDataProxy(QObject *parent) : QItemModelBarDataProxy(parent) {}; + MyQItemModelBarDataProxy(QAbstractItemModel *itemModel, QObject *parent = Q_NULLPTR) : QItemModelBarDataProxy(itemModel, parent) {}; + MyQItemModelBarDataProxy(QAbstractItemModel *itemModel, const QString &rowRole, const QString &columnRole, const QString &valueRole, QObject *parent = Q_NULLPTR) : QItemModelBarDataProxy(itemModel, rowRole, columnRole, valueRole, parent) {}; + MyQItemModelBarDataProxy(QAbstractItemModel *itemModel, const QString &rowRole, const QString &columnRole, const QString &valueRole, const QString &rotationRole, QObject *parent = Q_NULLPTR) : QItemModelBarDataProxy(itemModel, rowRole, columnRole, valueRole, rotationRole, parent) {}; + MyQItemModelBarDataProxy(QAbstractItemModel *itemModel, const QString &rowRole, const QString &columnRole, const QString &valueRole, const QString &rotationRole, const QStringList &rowCategories, const QStringList &columnCategories, QObject *parent = Q_NULLPTR) : QItemModelBarDataProxy(itemModel, rowRole, columnRole, valueRole, rotationRole, rowCategories, columnCategories, parent) {}; + MyQItemModelBarDataProxy(QAbstractItemModel *itemModel, const QString &rowRole, const QString &columnRole, const QString &valueRole, const QStringList &rowCategories, const QStringList &columnCategories, QObject *parent = Q_NULLPTR) : QItemModelBarDataProxy(itemModel, rowRole, columnRole, valueRole, rowCategories, columnCategories, parent) {}; + MyQItemModelBarDataProxy(QAbstractItemModel *itemModel, const QString &valueRole, QObject *parent = Q_NULLPTR) : QItemModelBarDataProxy(itemModel, valueRole, parent) {}; + MyQItemModelBarDataProxy(QObject *parent = Q_NULLPTR) : QItemModelBarDataProxy(parent) {}; void Signal_AutoColumnCategoriesChanged(bool enable) { callbackQItemModelBarDataProxy_AutoColumnCategoriesChanged(this, enable); }; void Signal_AutoRowCategoriesChanged(bool enable) { callbackQItemModelBarDataProxy_AutoRowCategoriesChanged(this, enable); }; void Signal_ColumnCategoriesChanged() { callbackQItemModelBarDataProxy_ColumnCategoriesChanged(this); }; @@ -7084,10 +7084,10 @@ char QItemModelBarDataProxy_UseModelCategories(void* ptr) class MyQItemModelScatterDataProxy: public QItemModelScatterDataProxy { public: - MyQItemModelScatterDataProxy(QAbstractItemModel *itemModel, QObject *parent) : QItemModelScatterDataProxy(itemModel, parent) {}; - MyQItemModelScatterDataProxy(QAbstractItemModel *itemModel, const QString &xPosRole, const QString &yPosRole, const QString &zPosRole, QObject *parent) : QItemModelScatterDataProxy(itemModel, xPosRole, yPosRole, zPosRole, parent) {}; - MyQItemModelScatterDataProxy(QAbstractItemModel *itemModel, const QString &xPosRole, const QString &yPosRole, const QString &zPosRole, const QString &rotationRole, QObject *parent) : QItemModelScatterDataProxy(itemModel, xPosRole, yPosRole, zPosRole, rotationRole, parent) {}; - MyQItemModelScatterDataProxy(QObject *parent) : QItemModelScatterDataProxy(parent) {}; + MyQItemModelScatterDataProxy(QAbstractItemModel *itemModel, QObject *parent = Q_NULLPTR) : QItemModelScatterDataProxy(itemModel, parent) {}; + MyQItemModelScatterDataProxy(QAbstractItemModel *itemModel, const QString &xPosRole, const QString &yPosRole, const QString &zPosRole, QObject *parent = Q_NULLPTR) : QItemModelScatterDataProxy(itemModel, xPosRole, yPosRole, zPosRole, parent) {}; + MyQItemModelScatterDataProxy(QAbstractItemModel *itemModel, const QString &xPosRole, const QString &yPosRole, const QString &zPosRole, const QString &rotationRole, QObject *parent = Q_NULLPTR) : QItemModelScatterDataProxy(itemModel, xPosRole, yPosRole, zPosRole, rotationRole, parent) {}; + MyQItemModelScatterDataProxy(QObject *parent = Q_NULLPTR) : QItemModelScatterDataProxy(parent) {}; void Signal_ItemModelChanged(const QAbstractItemModel * itemModel) { callbackQItemModelScatterDataProxy_ItemModelChanged(this, const_cast(itemModel)); }; void Signal_RotationRoleChanged(const QString & role) { QByteArray t8dca46 = role.toUtf8(); QtDataVisualization_PackedString rolePacked = { const_cast(t8dca46.prepend("WHITESPACE").constData()+10), t8dca46.size()-10 };callbackQItemModelScatterDataProxy_RotationRoleChanged(this, rolePacked); }; void Signal_RotationRolePatternChanged(const QRegExp & pattern) { callbackQItemModelScatterDataProxy_RotationRolePatternChanged(this, const_cast(&pattern)); }; @@ -7611,13 +7611,13 @@ struct QtDataVisualization_PackedString QItemModelScatterDataProxy_ZPosRoleRepla class MyQItemModelSurfaceDataProxy: public QItemModelSurfaceDataProxy { public: - MyQItemModelSurfaceDataProxy(QAbstractItemModel *itemModel, QObject *parent) : QItemModelSurfaceDataProxy(itemModel, parent) {}; - MyQItemModelSurfaceDataProxy(QAbstractItemModel *itemModel, const QString &rowRole, const QString &columnRole, const QString &xPosRole, const QString &yPosRole, const QString &zPosRole, QObject *parent) : QItemModelSurfaceDataProxy(itemModel, rowRole, columnRole, xPosRole, yPosRole, zPosRole, parent) {}; - MyQItemModelSurfaceDataProxy(QAbstractItemModel *itemModel, const QString &rowRole, const QString &columnRole, const QString &xPosRole, const QString &yPosRole, const QString &zPosRole, const QStringList &rowCategories, const QStringList &columnCategories, QObject *parent) : QItemModelSurfaceDataProxy(itemModel, rowRole, columnRole, xPosRole, yPosRole, zPosRole, rowCategories, columnCategories, parent) {}; - MyQItemModelSurfaceDataProxy(QAbstractItemModel *itemModel, const QString &rowRole, const QString &columnRole, const QString &yPosRole, QObject *parent) : QItemModelSurfaceDataProxy(itemModel, rowRole, columnRole, yPosRole, parent) {}; - MyQItemModelSurfaceDataProxy(QAbstractItemModel *itemModel, const QString &rowRole, const QString &columnRole, const QString &yPosRole, const QStringList &rowCategories, const QStringList &columnCategories, QObject *parent) : QItemModelSurfaceDataProxy(itemModel, rowRole, columnRole, yPosRole, rowCategories, columnCategories, parent) {}; - MyQItemModelSurfaceDataProxy(QAbstractItemModel *itemModel, const QString &yPosRole, QObject *parent) : QItemModelSurfaceDataProxy(itemModel, yPosRole, parent) {}; - MyQItemModelSurfaceDataProxy(QObject *parent) : QItemModelSurfaceDataProxy(parent) {}; + MyQItemModelSurfaceDataProxy(QAbstractItemModel *itemModel, QObject *parent = Q_NULLPTR) : QItemModelSurfaceDataProxy(itemModel, parent) {}; + MyQItemModelSurfaceDataProxy(QAbstractItemModel *itemModel, const QString &rowRole, const QString &columnRole, const QString &xPosRole, const QString &yPosRole, const QString &zPosRole, QObject *parent = Q_NULLPTR) : QItemModelSurfaceDataProxy(itemModel, rowRole, columnRole, xPosRole, yPosRole, zPosRole, parent) {}; + MyQItemModelSurfaceDataProxy(QAbstractItemModel *itemModel, const QString &rowRole, const QString &columnRole, const QString &xPosRole, const QString &yPosRole, const QString &zPosRole, const QStringList &rowCategories, const QStringList &columnCategories, QObject *parent = Q_NULLPTR) : QItemModelSurfaceDataProxy(itemModel, rowRole, columnRole, xPosRole, yPosRole, zPosRole, rowCategories, columnCategories, parent) {}; + MyQItemModelSurfaceDataProxy(QAbstractItemModel *itemModel, const QString &rowRole, const QString &columnRole, const QString &yPosRole, QObject *parent = Q_NULLPTR) : QItemModelSurfaceDataProxy(itemModel, rowRole, columnRole, yPosRole, parent) {}; + MyQItemModelSurfaceDataProxy(QAbstractItemModel *itemModel, const QString &rowRole, const QString &columnRole, const QString &yPosRole, const QStringList &rowCategories, const QStringList &columnCategories, QObject *parent = Q_NULLPTR) : QItemModelSurfaceDataProxy(itemModel, rowRole, columnRole, yPosRole, rowCategories, columnCategories, parent) {}; + MyQItemModelSurfaceDataProxy(QAbstractItemModel *itemModel, const QString &yPosRole, QObject *parent = Q_NULLPTR) : QItemModelSurfaceDataProxy(itemModel, yPosRole, parent) {}; + MyQItemModelSurfaceDataProxy(QObject *parent = Q_NULLPTR) : QItemModelSurfaceDataProxy(parent) {}; void Signal_AutoColumnCategoriesChanged(bool enable) { callbackQItemModelSurfaceDataProxy_AutoColumnCategoriesChanged(this, enable); }; void Signal_AutoRowCategoriesChanged(bool enable) { callbackQItemModelSurfaceDataProxy_AutoRowCategoriesChanged(this, enable); }; void Signal_ColumnCategoriesChanged() { callbackQItemModelSurfaceDataProxy_ColumnCategoriesChanged(this); }; @@ -8508,7 +8508,7 @@ char QItemModelSurfaceDataProxy_UseModelCategories(void* ptr) class MyQLogValue3DAxisFormatter: public QLogValue3DAxisFormatter { public: - MyQLogValue3DAxisFormatter(QObject *parent) : QLogValue3DAxisFormatter(parent) {}; + MyQLogValue3DAxisFormatter(QObject *parent = Q_NULLPTR) : QLogValue3DAxisFormatter(parent) {}; void Signal_AutoSubGridChanged(bool enabled) { callbackQLogValue3DAxisFormatter_AutoSubGridChanged(this, enabled); }; void Signal_BaseChanged(qreal base) { callbackQLogValue3DAxisFormatter_BaseChanged(this, base); }; void Signal_ShowEdgeLabelsChanged(bool enabled) { callbackQLogValue3DAxisFormatter_ShowEdgeLabelsChanged(this, enabled); }; @@ -8644,8 +8644,8 @@ double QLogValue3DAxisFormatter_Base(void* ptr) class MyQScatter3DSeries: public QScatter3DSeries { public: - MyQScatter3DSeries(QObject *parent) : QScatter3DSeries(parent) {}; - MyQScatter3DSeries(QScatterDataProxy *dataProxy, QObject *parent) : QScatter3DSeries(dataProxy, parent) {}; + MyQScatter3DSeries(QObject *parent = Q_NULLPTR) : QScatter3DSeries(parent) {}; + MyQScatter3DSeries(QScatterDataProxy *dataProxy, QObject *parent = Q_NULLPTR) : QScatter3DSeries(dataProxy, parent) {}; void Signal_DataProxyChanged(QScatterDataProxy * proxy) { callbackQScatter3DSeries_DataProxyChanged(this, proxy); }; void Signal_ItemSizeChanged(float size) { callbackQScatter3DSeries_ItemSizeChanged(this, size); }; void Signal_SelectedItemChanged(int index) { callbackQScatter3DSeries_SelectedItemChanged(this, index); }; @@ -8902,7 +8902,7 @@ float QScatterDataItem_Z(void* ptr) class MyQScatterDataProxy: public QScatterDataProxy { public: - MyQScatterDataProxy(QObject *parent) : QScatterDataProxy(parent) {}; + MyQScatterDataProxy(QObject *parent = Q_NULLPTR) : QScatterDataProxy(parent) {}; void Signal_ArrayReset() { callbackQScatterDataProxy_ArrayReset(this); }; void Signal_ItemCountChanged(int count) { callbackQScatterDataProxy_ItemCountChanged(this, count); }; void Signal_ItemsAdded(int startIndex, int count) { callbackQScatterDataProxy_ItemsAdded(this, startIndex, count); }; @@ -9107,8 +9107,8 @@ int QScatterDataProxy_ItemCount(void* ptr) class MyQSurface3DSeries: public QSurface3DSeries { public: - MyQSurface3DSeries(QObject *parent) : QSurface3DSeries(parent) {}; - MyQSurface3DSeries(QSurfaceDataProxy *dataProxy, QObject *parent) : QSurface3DSeries(dataProxy, parent) {}; + MyQSurface3DSeries(QObject *parent = Q_NULLPTR) : QSurface3DSeries(parent) {}; + MyQSurface3DSeries(QSurfaceDataProxy *dataProxy, QObject *parent = Q_NULLPTR) : QSurface3DSeries(dataProxy, parent) {}; void Signal_SelectedPointChanged(const QPoint & position) { callbackQSurface3DSeries_SelectedPointChanged(this, const_cast(&position)); }; void Signal_DataProxyChanged(QSurfaceDataProxy * proxy) { callbackQSurface3DSeries_DataProxyChanged(this, proxy); }; void Signal_DrawModeChanged(QSurface3DSeries::DrawFlags mode) { callbackQSurface3DSeries_DrawModeChanged(this, mode); }; @@ -9449,7 +9449,7 @@ float QSurfaceDataItem_Z(void* ptr) class MyQSurfaceDataProxy: public QSurfaceDataProxy { public: - MyQSurfaceDataProxy(QObject *parent) : QSurfaceDataProxy(parent) {}; + MyQSurfaceDataProxy(QObject *parent = Q_NULLPTR) : QSurfaceDataProxy(parent) {}; void Signal_ArrayReset() { callbackQSurfaceDataProxy_ArrayReset(this); }; void Signal_ColumnCountChanged(int count) { callbackQSurfaceDataProxy_ColumnCountChanged(this, count); }; void Signal_ItemChanged(int rowIndex, int columnIndex) { callbackQSurfaceDataProxy_ItemChanged(this, rowIndex, columnIndex); }; @@ -9691,7 +9691,7 @@ int QSurfaceDataProxy_RowCount(void* ptr) class MyQTouch3DInputHandler: public QTouch3DInputHandler { public: - MyQTouch3DInputHandler(QObject *parent) : QTouch3DInputHandler(parent) {}; + MyQTouch3DInputHandler(QObject *parent = Q_NULLPTR) : QTouch3DInputHandler(parent) {}; void touchEvent(QTouchEvent * event) { callbackQTouch3DInputHandler_TouchEvent(this, event); }; ~MyQTouch3DInputHandler() { callbackQTouch3DInputHandler_DestroyQTouch3DInputHandler(this); }; }; @@ -9760,7 +9760,7 @@ void QTouch3DInputHandler_DestroyQTouch3DInputHandlerDefault(void* ptr) class MyQValue3DAxis: public QValue3DAxis { public: - MyQValue3DAxis(QObject *parent) : QValue3DAxis(parent) {}; + MyQValue3DAxis(QObject *parent = Q_NULLPTR) : QValue3DAxis(parent) {}; void Signal_FormatterChanged(QValue3DAxisFormatter * formatter) { callbackQValue3DAxis_FormatterChanged(this, formatter); }; void Signal_LabelFormatChanged(const QString & format) { QByteArray t785987 = format.toUtf8(); QtDataVisualization_PackedString formatPacked = { const_cast(t785987.prepend("WHITESPACE").constData()+10), t785987.size()-10 };callbackQValue3DAxis_LabelFormatChanged(this, formatPacked); }; void Signal_ReversedChanged(bool enable) { callbackQValue3DAxis_ReversedChanged(this, enable); }; @@ -9948,7 +9948,7 @@ int QValue3DAxis_SubSegmentCount(void* ptr) class MyQValue3DAxisFormatter: public QValue3DAxisFormatter { public: - MyQValue3DAxisFormatter(QObject *parent) : QValue3DAxisFormatter(parent) {}; + MyQValue3DAxisFormatter(QObject *parent = Q_NULLPTR) : QValue3DAxisFormatter(parent) {}; void recalculate() { callbackQValue3DAxisFormatter_Recalculate(this); }; ~MyQValue3DAxisFormatter() { callbackQValue3DAxisFormatter_DestroyQValue3DAxisFormatter(this); }; QString stringForValue(qreal value, const QString & format) const { QByteArray t785987 = format.toUtf8(); QtDataVisualization_PackedString formatPacked = { const_cast(t785987.prepend("WHITESPACE").constData()+10), t785987.size()-10 };return QString(callbackQValue3DAxisFormatter_StringForValue(const_cast(static_cast(this)), value, formatPacked)); }; diff --git a/dbus/dbus.cpp b/dbus/dbus.cpp index 8f6e0c2e..0c7b722c 100755 --- a/dbus/dbus.cpp +++ b/dbus/dbus.cpp @@ -1135,7 +1135,7 @@ char QDBusError_IsValid(void* ptr) class MyQDBusInterface: public QDBusInterface { public: - MyQDBusInterface(const QString &service, const QString &path, const QString &interface, const QDBusConnection &connection, QObject *parent) : QDBusInterface(service, path, interface, connection, parent) {}; + MyQDBusInterface(const QString &service, const QString &path, const QString &interface = QString(), const QDBusConnection &connection = QDBusConnection::sessionBus(), QObject *parent = Q_NULLPTR) : QDBusInterface(service, path, interface, connection, parent) {}; bool event(QEvent * e) { return callbackQDBusAbstractInterface_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQDBusAbstractInterface_EventFilter(this, watched, event) != 0; }; void childEvent(QChildEvent * event) { callbackQDBusAbstractInterface_ChildEvent(this, event); }; @@ -1470,7 +1470,7 @@ void QDBusPendingCall_DestroyQDBusPendingCall(void* ptr) class MyQDBusPendingCallWatcher: public QDBusPendingCallWatcher { public: - MyQDBusPendingCallWatcher(const QDBusPendingCall &call, QObject *parent) : QDBusPendingCallWatcher(call, parent) {}; + MyQDBusPendingCallWatcher(const QDBusPendingCall &call, QObject *parent = Q_NULLPTR) : QDBusPendingCallWatcher(call, parent) {}; void Signal_Finished(QDBusPendingCallWatcher * self) { callbackQDBusPendingCallWatcher_Finished(this, self); }; bool event(QEvent * e) { return callbackQDBusPendingCallWatcher_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQDBusPendingCallWatcher_EventFilter(this, watched, event) != 0; }; @@ -1717,8 +1717,8 @@ int QDBusPendingReplyTypes_QDBusPendingReplyTypes_MetaTypeFor2(void* vqv) class MyQDBusServer: public QDBusServer { public: - MyQDBusServer(QObject *parent) : QDBusServer(parent) {}; - MyQDBusServer(const QString &address, QObject *parent) : QDBusServer(address, parent) {}; + MyQDBusServer(QObject *parent = Q_NULLPTR) : QDBusServer(parent) {}; + MyQDBusServer(const QString &address, QObject *parent = Q_NULLPTR) : QDBusServer(address, parent) {}; void Signal_NewConnection(const QDBusConnection & connection) { callbackQDBusServer_NewConnection(this, const_cast(&connection)); }; ~MyQDBusServer() { callbackQDBusServer_DestroyQDBusServer(this); }; bool event(QEvent * e) { return callbackQDBusServer_Event(this, e) != 0; }; @@ -2009,8 +2009,8 @@ void* QDBusServer_MetaObjectDefault(void* ptr) class MyQDBusServiceWatcher: public QDBusServiceWatcher { public: - MyQDBusServiceWatcher(QObject *parent) : QDBusServiceWatcher(parent) {}; - MyQDBusServiceWatcher(const QString &service, const QDBusConnection &connection, WatchMode watchMode, QObject *parent) : QDBusServiceWatcher(service, connection, watchMode, parent) {}; + MyQDBusServiceWatcher(QObject *parent = Q_NULLPTR) : QDBusServiceWatcher(parent) {}; + MyQDBusServiceWatcher(const QString &service, const QDBusConnection &connection, WatchMode watchMode = WatchForOwnerChange, QObject *parent = Q_NULLPTR) : QDBusServiceWatcher(service, connection, watchMode, parent) {}; void Signal_ServiceRegistered(const QString & serviceName) { QByteArray tc151ab = serviceName.toUtf8(); QtDBus_PackedString serviceNamePacked = { const_cast(tc151ab.prepend("WHITESPACE").constData()+10), tc151ab.size()-10 };callbackQDBusServiceWatcher_ServiceRegistered(this, serviceNamePacked); }; void Signal_ServiceOwnerChanged(const QString & serviceName, const QString & oldOwner, const QString & newOwner) { QByteArray tc151ab = serviceName.toUtf8(); QtDBus_PackedString serviceNamePacked = { const_cast(tc151ab.prepend("WHITESPACE").constData()+10), tc151ab.size()-10 };QByteArray t9456b1 = oldOwner.toUtf8(); QtDBus_PackedString oldOwnerPacked = { const_cast(t9456b1.prepend("WHITESPACE").constData()+10), t9456b1.size()-10 };QByteArray t157d45 = newOwner.toUtf8(); QtDBus_PackedString newOwnerPacked = { const_cast(t157d45.prepend("WHITESPACE").constData()+10), t157d45.size()-10 };callbackQDBusServiceWatcher_ServiceOwnerChanged(this, serviceNamePacked, oldOwnerPacked, newOwnerPacked); }; void Signal_ServiceUnregistered(const QString & serviceName) { QByteArray tc151ab = serviceName.toUtf8(); QtDBus_PackedString serviceNamePacked = { const_cast(tc151ab.prepend("WHITESPACE").constData()+10), tc151ab.size()-10 };callbackQDBusServiceWatcher_ServiceUnregistered(this, serviceNamePacked); }; @@ -2457,7 +2457,7 @@ void* QDBusVariant_Variant(void* ptr) class MyQDBusVirtualObject: public QDBusVirtualObject { public: - MyQDBusVirtualObject(QObject *parent) : QDBusVirtualObject(parent) {}; + MyQDBusVirtualObject(QObject *parent = Q_NULLPTR) : QDBusVirtualObject(parent) {}; bool handleMessage(const QDBusMessage & message, const QDBusConnection & connection) { return callbackQDBusVirtualObject_HandleMessage(this, const_cast(&message), const_cast(&connection)) != 0; }; ~MyQDBusVirtualObject() { callbackQDBusVirtualObject_DestroyQDBusVirtualObject(this); }; QString introspect(const QString & path) const { QByteArray t3150ec = path.toUtf8(); QtDBus_PackedString pathPacked = { const_cast(t3150ec.prepend("WHITESPACE").constData()+10), t3150ec.size()-10 };return QString(callbackQDBusVirtualObject_Introspect(const_cast(static_cast(this)), pathPacked)); }; diff --git a/designer/designer.cpp b/designer/designer.cpp index b4538f9d..e6196bfc 100755 --- a/designer/designer.cpp +++ b/designer/designer.cpp @@ -247,7 +247,7 @@ void* QAbstractFormBuilder___applyProperties_properties_newList(void* ptr) class MyQDesignerActionEditorInterface: public QDesignerActionEditorInterface { public: - MyQDesignerActionEditorInterface(QWidget *parent, Qt::WindowFlags flags) : QDesignerActionEditorInterface(parent, flags) {}; + MyQDesignerActionEditorInterface(QWidget *parent, Qt::WindowFlags flags = Qt::WindowFlags()) : QDesignerActionEditorInterface(parent, flags) {}; void manageAction(QAction * action) { callbackQDesignerActionEditorInterface_ManageAction(this, action); }; void setFormWindow(QDesignerFormWindowInterface * formWindow) { callbackQDesignerActionEditorInterface_SetFormWindow(this, formWindow); }; void unmanageAction(QAction * action) { callbackQDesignerActionEditorInterface_UnmanageAction(this, action); }; @@ -1108,7 +1108,7 @@ char QDesignerDynamicPropertySheetExtension_IsDynamicProperty(void* ptr, int ind class MyQDesignerFormEditorInterface: public QDesignerFormEditorInterface { public: - MyQDesignerFormEditorInterface(QObject *parent) : QDesignerFormEditorInterface(parent) {}; + MyQDesignerFormEditorInterface(QObject *parent = Q_NULLPTR) : QDesignerFormEditorInterface(parent) {}; ~MyQDesignerFormEditorInterface() { callbackQDesignerFormEditorInterface_DestroyQDesignerFormEditorInterface(this); }; bool event(QEvent * e) { return callbackQDesignerFormEditorInterface_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQDesignerFormEditorInterface_EventFilter(this, watched, event) != 0; }; @@ -3053,7 +3053,7 @@ void* QDesignerMemberSheetExtension___parameterTypes_newList(void* ptr) class MyQDesignerObjectInspectorInterface: public QDesignerObjectInspectorInterface { public: - MyQDesignerObjectInspectorInterface(QWidget *parent, Qt::WindowFlags flags) : QDesignerObjectInspectorInterface(parent, flags) {}; + MyQDesignerObjectInspectorInterface(QWidget *parent, Qt::WindowFlags flags = Qt::WindowFlags()) : QDesignerObjectInspectorInterface(parent, flags) {}; void setFormWindow(QDesignerFormWindowInterface * formWindow) { callbackQDesignerObjectInspectorInterface_SetFormWindow(this, formWindow); }; ~MyQDesignerObjectInspectorInterface() { callbackQDesignerObjectInspectorInterface_DestroyQDesignerObjectInspectorInterface(this); }; QDesignerFormEditorInterface * core() const { return static_cast(callbackQDesignerObjectInspectorInterface_Core(const_cast(static_cast(this)))); }; @@ -3631,7 +3631,7 @@ void* QDesignerObjectInspectorInterface_MetaObjectDefault(void* ptr) class MyQDesignerPropertyEditorInterface: public QDesignerPropertyEditorInterface { public: - MyQDesignerPropertyEditorInterface(QWidget *parent, Qt::WindowFlags flags) : QDesignerPropertyEditorInterface(parent, flags) {}; + MyQDesignerPropertyEditorInterface(QWidget *parent, Qt::WindowFlags flags = Qt::WindowFlags()) : QDesignerPropertyEditorInterface(parent, flags) {}; void Signal_PropertyChanged(const QString & name, const QVariant & value) { QByteArray t6ae999 = name.toUtf8(); QtDesigner_PackedString namePacked = { const_cast(t6ae999.prepend("WHITESPACE").constData()+10), t6ae999.size()-10 };callbackQDesignerPropertyEditorInterface_PropertyChanged(this, namePacked, const_cast(&value)); }; void setObject(QObject * object) { callbackQDesignerPropertyEditorInterface_SetObject(this, object); }; void setPropertyValue(const QString & name, const QVariant & value, bool changed) { QByteArray t6ae999 = name.toUtf8(); QtDesigner_PackedString namePacked = { const_cast(t6ae999.prepend("WHITESPACE").constData()+10), t6ae999.size()-10 };callbackQDesignerPropertyEditorInterface_SetPropertyValue(this, namePacked, const_cast(&value), changed); }; @@ -5004,7 +5004,7 @@ void* QDesignerWidgetBoxInterface_MetaObjectDefault(void* ptr) class MyQExtensionFactory: public QExtensionFactory { public: - MyQExtensionFactory(QExtensionManager *parent) : QExtensionFactory(parent) {}; + MyQExtensionFactory(QExtensionManager *parent = Q_NULLPTR) : QExtensionFactory(parent) {}; QObject * createExtension(QObject * object, const QString & iid, QObject * parent) const { QByteArray t52efa9 = iid.toUtf8(); QtDesigner_PackedString iidPacked = { const_cast(t52efa9.prepend("WHITESPACE").constData()+10), t52efa9.size()-10 };return static_cast(callbackQExtensionFactory_CreateExtension(const_cast(static_cast(this)), object, iidPacked, parent)); }; QObject * extension(QObject * object, const QString & iid) const { QByteArray t52efa9 = iid.toUtf8(); QtDesigner_PackedString iidPacked = { const_cast(t52efa9.prepend("WHITESPACE").constData()+10), t52efa9.size()-10 };return static_cast(callbackQExtensionFactory_Extension(const_cast(static_cast(this)), object, iidPacked)); }; bool event(QEvent * e) { return callbackQExtensionFactory_Event(this, e) != 0; }; @@ -5278,7 +5278,7 @@ void* QExtensionFactory_MetaObjectDefault(void* ptr) class MyQExtensionManager: public QExtensionManager { public: - MyQExtensionManager(QObject *parent) : QExtensionManager(parent) {}; + MyQExtensionManager(QObject *parent = Q_NULLPTR) : QExtensionManager(parent) {}; void registerExtensions(QAbstractExtensionFactory * factory, const QString & iid) { QByteArray t52efa9 = iid.toUtf8(); QtDesigner_PackedString iidPacked = { const_cast(t52efa9.prepend("WHITESPACE").constData()+10), t52efa9.size()-10 };callbackQExtensionManager_RegisterExtensions(this, factory, iidPacked); }; void unregisterExtensions(QAbstractExtensionFactory * factory, const QString & iid) { QByteArray t52efa9 = iid.toUtf8(); QtDesigner_PackedString iidPacked = { const_cast(t52efa9.prepend("WHITESPACE").constData()+10), t52efa9.size()-10 };callbackQExtensionManager_UnregisterExtensions(this, factory, iidPacked); }; QObject * extension(QObject * object, const QString & iid) const { QByteArray t52efa9 = iid.toUtf8(); QtDesigner_PackedString iidPacked = { const_cast(t52efa9.prepend("WHITESPACE").constData()+10), t52efa9.size()-10 };return static_cast(callbackQExtensionManager_Extension(const_cast(static_cast(this)), object, iidPacked)); }; diff --git a/gamepad/gamepad.cpp b/gamepad/gamepad.cpp index 40dc9286..5100d700 100755 --- a/gamepad/gamepad.cpp +++ b/gamepad/gamepad.cpp @@ -42,7 +42,7 @@ class MyQGamepad: public QGamepad { public: - MyQGamepad(int deviceId, QObject *parent) : QGamepad(deviceId, parent) {}; + MyQGamepad(int deviceId = 0, QObject *parent = nullptr) : QGamepad(deviceId, parent) {}; void Signal_AxisLeftXChanged(double value) { callbackQGamepad_AxisLeftXChanged(this, value); }; void Signal_AxisLeftYChanged(double value) { callbackQGamepad_AxisLeftYChanged(this, value); }; void Signal_AxisRightXChanged(double value) { callbackQGamepad_AxisRightXChanged(this, value); }; diff --git a/gui/gui.cpp b/gui/gui.cpp index 5715ff10..440cc9d6 100755 --- a/gui/gui.cpp +++ b/gui/gui.cpp @@ -1331,7 +1331,7 @@ int QAccessibleObject_IndexOfChildDefault(void* ptr, void* child) class MyQAccessiblePlugin: public QAccessiblePlugin { public: - MyQAccessiblePlugin(QObject *parent) : QAccessiblePlugin(parent) {}; + MyQAccessiblePlugin(QObject *parent = Q_NULLPTR) : QAccessiblePlugin(parent) {}; QAccessibleInterface * create(const QString & key, QObject * object) { QByteArray ta62f22 = key.toUtf8(); QtGui_PackedString keyPacked = { const_cast(ta62f22.prepend("WHITESPACE").constData()+10), ta62f22.size()-10 };return static_cast(callbackQAccessiblePlugin_Create(this, keyPacked, object)); }; bool event(QEvent * e) { return callbackQAccessiblePlugin_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQAccessiblePlugin_EventFilter(this, watched, event) != 0; }; @@ -2714,7 +2714,7 @@ void* QAccessibleValueInterface_MinimumValue(void* ptr) class MyQActionEvent: public QActionEvent { public: - MyQActionEvent(int type, QAction *action, QAction *before) : QActionEvent(type, action, before) {}; + MyQActionEvent(int type, QAction *action, QAction *before = Q_NULLPTR) : QActionEvent(type, action, before) {}; }; void* QActionEvent_NewQActionEvent(int ty, void* action, void* before) @@ -2813,7 +2813,7 @@ public: MyQBitmap(const QBitmap &other) : QBitmap(other) {}; MyQBitmap(const QPixmap &pixmap) : QBitmap(pixmap) {}; MyQBitmap(const QSize &size) : QBitmap(size) {}; - MyQBitmap(const QString &fileName, const char *format) : QBitmap(fileName, format) {}; + MyQBitmap(const QString &fileName, const char *format = Q_NULLPTR) : QBitmap(fileName, format) {}; QPaintEngine * paintEngine() const { return static_cast(callbackQPixmap_PaintEngine(const_cast(static_cast(this)))); }; int metric(QPaintDevice::PaintDeviceMetric metric) const { return callbackQPaintDevice_Metric(const_cast(static_cast(this)), metric); }; }; @@ -4050,8 +4050,8 @@ void QDesktopServices_QDesktopServices_UnsetUrlHandler(char* scheme) class MyQDoubleValidator: public QDoubleValidator { public: - MyQDoubleValidator(QObject *parent) : QDoubleValidator(parent) {}; - MyQDoubleValidator(double bottom, double top, int decimals, QObject *parent) : QDoubleValidator(bottom, top, decimals, parent) {}; + MyQDoubleValidator(QObject *parent = Q_NULLPTR) : QDoubleValidator(parent) {}; + MyQDoubleValidator(double bottom, double top, int decimals, QObject *parent = Q_NULLPTR) : QDoubleValidator(bottom, top, decimals, parent) {}; void setRange(double minimum, double maximum, int decimals) { callbackQDoubleValidator_SetRange(this, minimum, maximum, decimals); }; QValidator::State validate(QString & input, int & pos) const { QByteArray t140f86 = input.toUtf8(); QtGui_PackedString inputPacked = { const_cast(t140f86.prepend("WHITESPACE").constData()+10), t140f86.size()-10 };return static_cast(callbackQDoubleValidator_Validate(const_cast(static_cast(this)), inputPacked, pos)); }; void Signal_Changed() { callbackQValidator_Changed(this); }; @@ -4591,7 +4591,7 @@ void* QDragLeaveEvent_NewQDragLeaveEvent() class MyQDragMoveEvent: public QDragMoveEvent { public: - MyQDragMoveEvent(const QPoint &pos, Qt::DropActions actions, const QMimeData *data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Type type) : QDragMoveEvent(pos, actions, data, buttons, modifiers, type) {}; + MyQDragMoveEvent(const QPoint &pos, Qt::DropActions actions, const QMimeData *data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Type type = DragMove) : QDragMoveEvent(pos, actions, data, buttons, modifiers, type) {}; }; void* QDragMoveEvent_NewQDragMoveEvent(void* pos, long long actions, void* data, long long buttons, long long modifiers, long long ty) @@ -4632,7 +4632,7 @@ void QDragMoveEvent_SetRect(void* ptr, void* vqr) class MyQDropEvent: public QDropEvent { public: - MyQDropEvent(const QPointF &pos, Qt::DropActions actions, const QMimeData *data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Type type) : QDropEvent(pos, actions, data, buttons, modifiers, type) {}; + MyQDropEvent(const QPointF &pos, Qt::DropActions actions, const QMimeData *data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Type type = Drop) : QDropEvent(pos, actions, data, buttons, modifiers, type) {}; }; void* QDropEvent_NewQDropEvent(void* pos, long long actions, void* data, long long buttons, long long modifiers, long long ty) @@ -4865,7 +4865,7 @@ char QFileOpenEvent_OpenFile(void* ptr, void* file, long long flags) class MyQFocusEvent: public QFocusEvent { public: - MyQFocusEvent(Type type, Qt::FocusReason reason) : QFocusEvent(type, reason) {}; + MyQFocusEvent(Type type, Qt::FocusReason reason = Qt::OtherFocusReason) : QFocusEvent(type, reason) {}; }; void* QFocusEvent_NewQFocusEvent(long long ty, long long reason) @@ -5870,7 +5870,7 @@ double QFontMetricsF_XHeight(void* ptr) class MyQGenericPlugin: public QGenericPlugin { public: - MyQGenericPlugin(QObject *parent) : QGenericPlugin(parent) {}; + MyQGenericPlugin(QObject *parent = Q_NULLPTR) : QGenericPlugin(parent) {}; QObject * create(const QString & key, const QString & specification) { QByteArray ta62f22 = key.toUtf8(); QtGui_PackedString keyPacked = { const_cast(ta62f22.prepend("WHITESPACE").constData()+10), ta62f22.size()-10 };QByteArray t03d6a1 = specification.toUtf8(); QtGui_PackedString specificationPacked = { const_cast(t03d6a1.prepend("WHITESPACE").constData()+10), t03d6a1.size()-10 };return static_cast(callbackQGenericPlugin_Create(this, keyPacked, specificationPacked)); }; bool event(QEvent * e) { return callbackQGenericPlugin_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGenericPlugin_EventFilter(this, watched, event) != 0; }; @@ -7070,7 +7070,7 @@ void* QHideEvent_NewQHideEvent() class MyQHoverEvent: public QHoverEvent { public: - MyQHoverEvent(Type type, const QPointF &pos, const QPointF &oldPos, Qt::KeyboardModifiers modifiers) : QHoverEvent(type, pos, oldPos, modifiers) {}; + MyQHoverEvent(Type type, const QPointF &pos, const QPointF &oldPos, Qt::KeyboardModifiers modifiers = Qt::NoModifier) : QHoverEvent(type, pos, oldPos, modifiers) {}; }; void* QHoverEvent_NewQHoverEvent(long long ty, void* pos, void* oldPos, long long modifiers) @@ -7454,7 +7454,7 @@ void* QIconEngine___availableSizes_newList(void* ptr) class MyQIconEnginePlugin: public QIconEnginePlugin { public: - MyQIconEnginePlugin(QObject *parent) : QIconEnginePlugin(parent) {}; + MyQIconEnginePlugin(QObject *parent = Q_NULLPTR) : QIconEnginePlugin(parent) {}; QIconEngine * create(const QString & filename) { QByteArray t08deae = filename.toUtf8(); QtGui_PackedString filenamePacked = { const_cast(t08deae.prepend("WHITESPACE").constData()+10), t08deae.size()-10 };return static_cast(callbackQIconEnginePlugin_Create(this, filenamePacked)); }; bool event(QEvent * e) { return callbackQIconEnginePlugin_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQIconEnginePlugin_EventFilter(this, watched, event) != 0; }; @@ -7697,7 +7697,7 @@ public: MyQImage(QImage &&other) : QImage(other) {}; MyQImage(const QImage &image) : QImage(image) {}; MyQImage(const QSize &size, Format format) : QImage(size, format) {}; - MyQImage(const QString &fileName, const char *format) : QImage(fileName, format) {}; + MyQImage(const QString &fileName, const char *format = Q_NULLPTR) : QImage(fileName, format) {}; MyQImage(int width, int height, Format format) : QImage(width, height, format) {}; QPaintEngine * paintEngine() const { return static_cast(callbackQImage_PaintEngine(const_cast(static_cast(this)))); }; int metric(QPaintDevice::PaintDeviceMetric metric) const { return callbackQPaintDevice_Metric(const_cast(static_cast(this)), metric); }; @@ -8296,7 +8296,7 @@ void QImageIOHandler_SetFormat2(void* ptr, void* format) class MyQImageIOPlugin: public QImageIOPlugin { public: - MyQImageIOPlugin(QObject *parent) : QImageIOPlugin(parent) {}; + MyQImageIOPlugin(QObject *parent = Q_NULLPTR) : QImageIOPlugin(parent) {}; ~MyQImageIOPlugin() { callbackQImageIOPlugin_DestroyQImageIOPlugin(this); }; Capabilities capabilities(QIODevice * device, const QByteArray & format) const { return static_cast(callbackQImageIOPlugin_Capabilities(const_cast(static_cast(this)), device, const_cast(&format))); }; QImageIOHandler * create(QIODevice * device, const QByteArray & format) const { return static_cast(callbackQImageIOPlugin_Create(const_cast(static_cast(this)), device, const_cast(&format))); }; @@ -9625,8 +9625,8 @@ long long QInputMethodQueryEvent_Queries(void* ptr) class MyQIntValidator: public QIntValidator { public: - MyQIntValidator(QObject *parent) : QIntValidator(parent) {}; - MyQIntValidator(int minimum, int maximum, QObject *parent) : QIntValidator(minimum, maximum, parent) {}; + MyQIntValidator(QObject *parent = Q_NULLPTR) : QIntValidator(parent) {}; + MyQIntValidator(int minimum, int maximum, QObject *parent = Q_NULLPTR) : QIntValidator(minimum, maximum, parent) {}; void setRange(int bottom, int top) { callbackQIntValidator_SetRange(this, bottom, top); }; QValidator::State validate(QString & input, int & pos) const { QByteArray t140f86 = input.toUtf8(); QtGui_PackedString inputPacked = { const_cast(t140f86.prepend("WHITESPACE").constData()+10), t140f86.size()-10 };return static_cast(callbackQIntValidator_Validate(const_cast(static_cast(this)), inputPacked, pos)); }; void fixup(QString & input) const { QByteArray t140f86 = input.toUtf8(); QtGui_PackedString inputPacked = { const_cast(t140f86.prepend("WHITESPACE").constData()+10), t140f86.size()-10 };callbackQValidator_Fixup(const_cast(static_cast(this)), inputPacked); }; @@ -9774,8 +9774,8 @@ int QIntValidator_Top(void* ptr) class MyQKeyEvent: public QKeyEvent { public: - MyQKeyEvent(Type type, int key, Qt::KeyboardModifiers modifiers, const QString &text, bool autorep, ushort count) : QKeyEvent(type, key, modifiers, text, autorep, count) {}; - MyQKeyEvent(Type type, int key, Qt::KeyboardModifiers modifiers, quint32 nativeScanCode, quint32 nativeVirtualKey, quint32 nativeModifiers, const QString &text, bool autorep, ushort count) : QKeyEvent(type, key, modifiers, nativeScanCode, nativeVirtualKey, nativeModifiers, text, autorep, count) {}; + MyQKeyEvent(Type type, int key, Qt::KeyboardModifiers modifiers, const QString &text = QString(), bool autorep = false, ushort count = 1) : QKeyEvent(type, key, modifiers, text, autorep, count) {}; + MyQKeyEvent(Type type, int key, Qt::KeyboardModifiers modifiers, quint32 nativeScanCode, quint32 nativeVirtualKey, quint32 nativeModifiers, const QString &text = QString(), bool autorep = false, ushort count = 1) : QKeyEvent(type, key, modifiers, nativeScanCode, nativeVirtualKey, nativeModifiers, text, autorep, count) {}; }; void* QKeyEvent_NewQKeyEvent(long long ty, int key, long long modifiers, char* text, char autorep, unsigned short count) @@ -10451,9 +10451,9 @@ void* QMoveEvent_Pos(void* ptr) class MyQMovie: public QMovie { public: - MyQMovie(QIODevice *device, const QByteArray &format, QObject *parent) : QMovie(device, format, parent) {}; - MyQMovie(QObject *parent) : QMovie(parent) {}; - MyQMovie(const QString &fileName, const QByteArray &format, QObject *parent) : QMovie(fileName, format, parent) {}; + MyQMovie(QIODevice *device, const QByteArray &format = QByteArray(), QObject *parent = Q_NULLPTR) : QMovie(device, format, parent) {}; + MyQMovie(QObject *parent = Q_NULLPTR) : QMovie(parent) {}; + MyQMovie(const QString &fileName, const QByteArray &format = QByteArray(), QObject *parent = Q_NULLPTR) : QMovie(fileName, format, parent) {}; bool jumpToNextFrame() { return callbackQMovie_JumpToNextFrame(this) != 0; }; void Signal_Error(QImageReader::ImageReaderError error) { callbackQMovie_Error(this, error); }; void Signal_Finished() { callbackQMovie_Finished(this); }; @@ -11188,7 +11188,7 @@ void QNativeGestureEvent_SetMWindowPos(void* ptr, void* vqp) class MyQOffscreenSurface: public QOffscreenSurface { public: - MyQOffscreenSurface(QScreen *targetScreen) : QOffscreenSurface(targetScreen) {}; + MyQOffscreenSurface(QScreen *targetScreen = Q_NULLPTR) : QOffscreenSurface(targetScreen) {}; void Signal_ScreenChanged(QScreen * screen) { callbackQOffscreenSurface_ScreenChanged(this, screen); }; ~MyQOffscreenSurface() { callbackQOffscreenSurface_DestroyQOffscreenSurface(this); }; QSize size() const { return *static_cast(callbackQOffscreenSurface_Size(const_cast(static_cast(this)))); }; @@ -12388,7 +12388,7 @@ void* QPaintDeviceWindow_PaintEngineDefault(void* ptr) class MyQPaintEngine: public QPaintEngine { public: - MyQPaintEngine(PaintEngineFeatures caps) : QPaintEngine(caps) {}; + MyQPaintEngine(PaintEngineFeatures caps = PaintEngineFeatures()) : QPaintEngine(caps) {}; bool end() { return callbackQPaintEngine_End(this) != 0; }; void drawEllipse(const QRectF & rect) { callbackQPaintEngine_DrawEllipse(this, const_cast(&rect)); }; void drawImage(const QRectF & rectangle, const QImage & image, const QRectF & sr, Qt::ImageConversionFlags flags) { callbackQPaintEngine_DrawImage(this, const_cast(&rectangle), const_cast(&image), const_cast(&sr), flags); }; @@ -15055,7 +15055,7 @@ class MyQPicture: public QPicture { public: MyQPicture(const QPicture &pic) : QPicture(pic) {}; - MyQPicture(int formatVersion) : QPicture(formatVersion) {}; + MyQPicture(int formatVersion = -1) : QPicture(formatVersion) {}; void setData(const char * data, uint size) { QtGui_PackedString dataPacked = { const_cast(data), size };callbackQPicture_SetData(this, dataPacked, size); }; QPaintEngine * paintEngine() const { return static_cast(callbackQPicture_PaintEngine(const_cast(static_cast(this)))); }; int metric(QPaintDevice::PaintDeviceMetric metric) const { return callbackQPaintDevice_Metric(const_cast(static_cast(this)), metric); }; @@ -15302,7 +15302,7 @@ public: MyQPixmap() : QPixmap() {}; MyQPixmap(const QPixmap &pixmap) : QPixmap(pixmap) {}; MyQPixmap(const QSize &size) : QPixmap(size) {}; - MyQPixmap(const QString &fileName, const char *format, Qt::ImageConversionFlags flags) : QPixmap(fileName, format, flags) {}; + MyQPixmap(const QString &fileName, const char *format = Q_NULLPTR, Qt::ImageConversionFlags flags = Qt::AutoColor) : QPixmap(fileName, format, flags) {}; MyQPixmap(int width, int height) : QPixmap(width, height) {}; QPaintEngine * paintEngine() const { return static_cast(callbackQPixmap_PaintEngine(const_cast(static_cast(this)))); }; int metric(QPaintDevice::PaintDeviceMetric metric) const { return callbackQPaintDevice_Metric(const_cast(static_cast(this)), metric); }; @@ -16696,7 +16696,7 @@ double QRadialGradient_Radius(void* ptr) class MyQRasterWindow: public QRasterWindow { public: - MyQRasterWindow(QWindow *parent) : QRasterWindow(parent) {}; + MyQRasterWindow(QWindow *parent = Q_NULLPTR) : QRasterWindow(parent) {}; void paintEvent(QPaintEvent * event) { callbackQPaintDeviceWindow_PaintEvent(this, event); }; void update() { callbackQPaintDeviceWindow_Update3(this); }; bool close() { return callbackQWindow_Close(this) != 0; }; @@ -17077,8 +17077,8 @@ void* QRawFont___glyphIndexesForString_newList(void* ptr) class MyQRegExpValidator: public QRegExpValidator { public: - MyQRegExpValidator(QObject *parent) : QRegExpValidator(parent) {}; - MyQRegExpValidator(const QRegExp &rx, QObject *parent) : QRegExpValidator(rx, parent) {}; + MyQRegExpValidator(QObject *parent = Q_NULLPTR) : QRegExpValidator(parent) {}; + MyQRegExpValidator(const QRegExp &rx, QObject *parent = Q_NULLPTR) : QRegExpValidator(rx, parent) {}; QValidator::State validate(QString & input, int & pos) const { QByteArray t140f86 = input.toUtf8(); QtGui_PackedString inputPacked = { const_cast(t140f86.prepend("WHITESPACE").constData()+10), t140f86.size()-10 };return static_cast(callbackQRegExpValidator_Validate(const_cast(static_cast(this)), inputPacked, pos)); }; void Signal_Changed() { callbackQValidator_Changed(this); }; void fixup(QString & input) const { QByteArray t140f86 = input.toUtf8(); QtGui_PackedString inputPacked = { const_cast(t140f86.prepend("WHITESPACE").constData()+10), t140f86.size()-10 };callbackQValidator_Fixup(const_cast(static_cast(this)), inputPacked); }; @@ -17360,8 +17360,8 @@ void* QRegion___rects_newList(void* ptr) class MyQRegularExpressionValidator: public QRegularExpressionValidator { public: - MyQRegularExpressionValidator(QObject *parent) : QRegularExpressionValidator(parent) {}; - MyQRegularExpressionValidator(const QRegularExpression &re, QObject *parent) : QRegularExpressionValidator(re, parent) {}; + MyQRegularExpressionValidator(QObject *parent = Q_NULLPTR) : QRegularExpressionValidator(parent) {}; + MyQRegularExpressionValidator(const QRegularExpression &re, QObject *parent = Q_NULLPTR) : QRegularExpressionValidator(re, parent) {}; void Signal_RegularExpressionChanged(const QRegularExpression & re) { callbackQRegularExpressionValidator_RegularExpressionChanged(this, const_cast(&re)); }; void setRegularExpression(const QRegularExpression & re) { callbackQRegularExpressionValidator_SetRegularExpression(this, const_cast(&re)); }; QValidator::State validate(QString & input, int & pos) const { QByteArray t140f86 = input.toUtf8(); QtGui_PackedString inputPacked = { const_cast(t140f86.prepend("WHITESPACE").constData()+10), t140f86.size()-10 };return static_cast(callbackQRegularExpressionValidator_Validate(const_cast(static_cast(this)), inputPacked, pos)); }; @@ -18464,7 +18464,7 @@ void* QSessionManager_MetaObjectDefault(void* ptr) class MyQShortcutEvent: public QShortcutEvent { public: - MyQShortcutEvent(const QKeySequence &key, int id, bool ambiguous) : QShortcutEvent(key, id, ambiguous) {}; + MyQShortcutEvent(const QKeySequence &key, int id, bool ambiguous = false) : QShortcutEvent(key, id, ambiguous) {}; }; void* QShortcutEvent_NewQShortcutEvent(void* key, int id, char ambiguous) @@ -18540,7 +18540,7 @@ public: MyQStandardItem(const QIcon &icon, const QString &text) : QStandardItem(icon, text) {}; MyQStandardItem(const QStandardItem &other) : QStandardItem(other) {}; MyQStandardItem(const QString &text) : QStandardItem(text) {}; - MyQStandardItem(int rows, int columns) : QStandardItem(rows, columns) {}; + MyQStandardItem(int rows, int columns = 1) : QStandardItem(rows, columns) {}; void read(QDataStream & in) { callbackQStandardItem_Read(this, static_cast(&in)); }; void setData(const QVariant & value, int role) { callbackQStandardItem_SetData(this, const_cast(&value), role); }; ~MyQStandardItem() { callbackQStandardItem_DestroyQStandardItem(this); }; @@ -19148,8 +19148,8 @@ void* QStandardItem___insertRows_items_newList(void* ptr) class MyQStandardItemModel: public QStandardItemModel { public: - MyQStandardItemModel(QObject *parent) : QStandardItemModel(parent) {}; - MyQStandardItemModel(int rows, int columns, QObject *parent) : QStandardItemModel(rows, columns, parent) {}; + MyQStandardItemModel(QObject *parent = Q_NULLPTR) : QStandardItemModel(parent) {}; + MyQStandardItemModel(int rows, int columns, QObject *parent = Q_NULLPTR) : QStandardItemModel(rows, columns, parent) {}; bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) { return callbackQStandardItemModel_DropMimeData(this, const_cast(data), action, row, column, const_cast(&parent)) != 0; }; bool insertColumns(int column, int count, const QModelIndex & parent) { return callbackQStandardItemModel_InsertColumns(this, column, count, const_cast(&parent)) != 0; }; bool insertRows(int row, int count, const QModelIndex & parent) { return callbackQStandardItemModel_InsertRows(this, row, count, const_cast(&parent)) != 0; }; @@ -22549,8 +22549,8 @@ void QTextCursor_SelectedTableCells(void* ptr, int firstRow, int numRows, int fi class MyQTextDocument: public QTextDocument { public: - MyQTextDocument(const QString &text, QObject *parent) : QTextDocument(text, parent) {}; - MyQTextDocument(QObject *parent) : QTextDocument(parent) {}; + MyQTextDocument(const QString &text, QObject *parent = Q_NULLPTR) : QTextDocument(text, parent) {}; + MyQTextDocument(QObject *parent = Q_NULLPTR) : QTextDocument(parent) {}; QTextObject * createObject(const QTextFormat & format) { return static_cast(callbackQTextDocument_CreateObject(this, const_cast(&format))); }; QVariant loadResource(int ty, const QUrl & name) { return *static_cast(callbackQTextDocument_LoadResource(this, ty, const_cast(&name))); }; void Signal_BaseUrlChanged(const QUrl & url) { callbackQTextDocument_BaseUrlChanged(this, const_cast(&url)); }; @@ -26066,7 +26066,7 @@ void QTransform_Map(void* ptr, double x, double y, double tx, double ty) class MyQValidator: public QValidator { public: - MyQValidator(QObject *parent) : QValidator(parent) {}; + MyQValidator(QObject *parent = Q_NULLPTR) : QValidator(parent) {}; void Signal_Changed() { callbackQValidator_Changed(this); }; void fixup(QString & input) const { QByteArray t140f86 = input.toUtf8(); QtGui_PackedString inputPacked = { const_cast(t140f86.prepend("WHITESPACE").constData()+10), t140f86.size()-10 };callbackQValidator_Fixup(const_cast(static_cast(this)), inputPacked); }; State validate(QString & input, int & pos) const { QByteArray t140f86 = input.toUtf8(); QtGui_PackedString inputPacked = { const_cast(t140f86.prepend("WHITESPACE").constData()+10), t140f86.size()-10 };return static_cast(callbackQValidator_Validate(const_cast(static_cast(this)), inputPacked, pos)); }; @@ -27082,7 +27082,7 @@ void QWheelEvent_SetQt4O(void* ptr, long long vqt) class MyQWindow: public QWindow { public: - MyQWindow(QScreen *targetScreen) : QWindow(targetScreen) {}; + MyQWindow(QScreen *targetScreen = Q_NULLPTR) : QWindow(targetScreen) {}; MyQWindow(QWindow *parent) : QWindow(parent) {}; bool close() { return callbackQWindow_Close(this) != 0; }; bool event(QEvent * ev) { return callbackQWindow_Event(this, ev) != 0; }; diff --git a/help/help.cpp b/help/help.cpp index 467c3a91..77a53730 100755 --- a/help/help.cpp +++ b/help/help.cpp @@ -1743,7 +1743,7 @@ void* QHelpContentWidget_MetaObjectDefault(void* ptr) class MyQHelpEngine: public QHelpEngine { public: - MyQHelpEngine(const QString &collectionFile, QObject *parent) : QHelpEngine(collectionFile, parent) {}; + MyQHelpEngine(const QString &collectionFile, QObject *parent = Q_NULLPTR) : QHelpEngine(collectionFile, parent) {}; void Signal_CurrentFilterChanged(const QString & newFilter) { QByteArray t56548b = newFilter.toUtf8(); QtHelp_PackedString newFilterPacked = { const_cast(t56548b.prepend("WHITESPACE").constData()+10), t56548b.size()-10 };callbackQHelpEngineCore_CurrentFilterChanged(this, newFilterPacked); }; void Signal_ReadersAboutToBeInvalidated() { callbackQHelpEngineCore_ReadersAboutToBeInvalidated(this); }; void Signal_SetupFinished() { callbackQHelpEngineCore_SetupFinished(this); }; @@ -1836,7 +1836,7 @@ void* QHelpEngine_IndexModel(void* ptr) class MyQHelpEngineCore: public QHelpEngineCore { public: - MyQHelpEngineCore(const QString &collectionFile, QObject *parent) : QHelpEngineCore(collectionFile, parent) {}; + MyQHelpEngineCore(const QString &collectionFile, QObject *parent = Q_NULLPTR) : QHelpEngineCore(collectionFile, parent) {}; void Signal_CurrentFilterChanged(const QString & newFilter) { QByteArray t56548b = newFilter.toUtf8(); QtHelp_PackedString newFilterPacked = { const_cast(t56548b.prepend("WHITESPACE").constData()+10), t56548b.size()-10 };callbackQHelpEngineCore_CurrentFilterChanged(this, newFilterPacked); }; void Signal_ReadersAboutToBeInvalidated() { callbackQHelpEngineCore_ReadersAboutToBeInvalidated(this); }; void Signal_SetupFinished() { callbackQHelpEngineCore_SetupFinished(this); }; @@ -3957,7 +3957,7 @@ void* QHelpIndexWidget_MetaObjectDefault(void* ptr) class MyQHelpSearchEngine: public QHelpSearchEngine { public: - MyQHelpSearchEngine(QHelpEngineCore *helpEngine, QObject *parent) : QHelpSearchEngine(helpEngine, parent) {}; + MyQHelpSearchEngine(QHelpEngineCore *helpEngine, QObject *parent = Q_NULLPTR) : QHelpSearchEngine(helpEngine, parent) {}; void cancelIndexing() { callbackQHelpSearchEngine_CancelIndexing(this); }; void cancelSearching() { callbackQHelpSearchEngine_CancelSearching(this); }; void Signal_IndexingFinished() { callbackQHelpSearchEngine_IndexingFinished(this); }; @@ -4323,7 +4323,7 @@ void QHelpSearchQuery_SetWordList(void* ptr, char* vqs) class MyQHelpSearchQueryWidget: public QHelpSearchQueryWidget { public: - MyQHelpSearchQueryWidget(QWidget *parent) : QHelpSearchQueryWidget(parent) {}; + MyQHelpSearchQueryWidget(QWidget *parent = Q_NULLPTR) : QHelpSearchQueryWidget(parent) {}; void Signal_Search() { callbackQHelpSearchQueryWidget_Search(this); }; bool close() { return callbackQHelpSearchQueryWidget_Close(this) != 0; }; bool event(QEvent * event) { return callbackQHelpSearchQueryWidget_Event(this, event) != 0; }; diff --git a/internal/binding/parser/class_add.go b/internal/binding/parser/class_add.go index 020c429f..fbff8e04 100755 --- a/internal/binding/parser/class_add.go +++ b/internal/binding/parser/class_add.go @@ -219,19 +219,16 @@ func (c *Class) addMocFuncs() { } c.Functions = append(c.Functions, tmpF) - /* - //TODO: - //int qmlRegisterType(const char *uri, int versionMajor, int versionMinor, const char *qmlName) - tmpF2 = *tmpF - tmpF2.Overload = true - tmpF2.OverloadNumber = "2" - tmpF2.Parameters = []*Parameter{ - {Name: "uri", Value: "const char *"}, - {Name: "versionMajor", Value: "int"}, - {Name: "versionMinor", Value: "int"}, - {Name: "qmlName", Value: "const char *"}, - } - tmpF2.Signature = "(const char *uri, int versionMajor, int versionMinor, const char *qmlName)" - c.Functions = append(c.Functions, &tmpF2) - */ + //int qmlRegisterType(const char *uri, int versionMajor, int versionMinor, const char *qmlName) + tmpF2 = *tmpF + tmpF2.Overload = true + tmpF2.OverloadNumber = "2" + tmpF2.Parameters = []*Parameter{ + {Name: "uri", Value: "const char *"}, + {Name: "versionMajor", Value: "int"}, + {Name: "versionMinor", Value: "int"}, + {Name: "qmlName", Value: "const char *"}, + } + tmpF2.Signature = "(const char *uri, int versionMajor, int versionMinor, const char *qmlName)" + c.Functions = append(c.Functions, &tmpF2) } diff --git a/internal/binding/parser/function.go b/internal/binding/parser/function.go index 14f859da..a7dfc393 100755 --- a/internal/binding/parser/function.go +++ b/internal/binding/parser/function.go @@ -43,8 +43,10 @@ type Function struct { } type Parameter struct { - Name string `xml:"name,attr"` - Value string `xml:"left,attr"` + Name string `xml:"name,attr"` + Value string `xml:"left,attr"` + Right string `xml:"right,attr"` + Default string `xml:"default,attr"` } func (f *Function) Class() (*Class, bool) { diff --git a/internal/binding/templater/template_cpp.go b/internal/binding/templater/template_cpp.go index 45dfb8eb..49eeb99f 100755 --- a/internal/binding/templater/template_cpp.go +++ b/internal/binding/templater/template_cpp.go @@ -144,7 +144,25 @@ func CppTemplate(module string, mode int, target string) []byte { function.ClassName(), - strings.Split(strings.Split(function.Signature, "(")[1], ")")[0], + func() string { + var input []string + for _, p := range function.OgParameters { + if p.Default != "" { + if strings.HasSuffix(p.Value, "*") || strings.HasSuffix(p.Value, "&") { + input = append(input, p.Value+p.Name+" = "+p.Default) + } else { + input = append(input, p.Value+" "+p.Name+" = "+p.Default) + } + } else { + if strings.HasSuffix(p.Value, "*") || strings.HasSuffix(p.Value, "&") { + input = append(input, p.Value+p.Name) + } else { + input = append(input, p.Value+" "+p.Name) + } + } + } + return strings.Join(input, ", ") + }(), func() string { if mode == MOC { diff --git a/location/location.cpp b/location/location.cpp index 511a3a29..51834b40 100755 --- a/location/location.cpp +++ b/location/location.cpp @@ -260,8 +260,8 @@ void* QGeoRoute___path_newList(void* ptr) class MyQGeoRouteReply: public QGeoRouteReply { public: - MyQGeoRouteReply(Error error, const QString &errorString, QObject *parent) : QGeoRouteReply(error, errorString, parent) {}; - MyQGeoRouteReply(const QGeoRouteRequest &request, QObject *parent) : QGeoRouteReply(request, parent) {}; + MyQGeoRouteReply(Error error, const QString &errorString, QObject *parent = Q_NULLPTR) : QGeoRouteReply(error, errorString, parent) {}; + MyQGeoRouteReply(const QGeoRouteRequest &request, QObject *parent = Q_NULLPTR) : QGeoRouteReply(request, parent) {}; void abort() { callbackQGeoRouteReply_Abort(this); }; void Signal_Error2(QGeoRouteReply::Error error, const QString & errorString) { QByteArray tc8b6bd = errorString.toUtf8(); QtLocation_PackedString errorStringPacked = { const_cast(tc8b6bd.prepend("WHITESPACE").constData()+10), tc8b6bd.size()-10 };callbackQGeoRouteReply_Error2(this, error, errorStringPacked); }; void Signal_Finished() { callbackQGeoRouteReply_Finished(this); }; @@ -1142,7 +1142,7 @@ void* QGeoRoutingManager_MetaObjectDefault(void* ptr) class MyQGeoRoutingManagerEngine: public QGeoRoutingManagerEngine { public: - MyQGeoRoutingManagerEngine(const QVariantMap ¶meters, QObject *parent) : QGeoRoutingManagerEngine(parameters, parent) {}; + MyQGeoRoutingManagerEngine(const QVariantMap ¶meters, QObject *parent = Q_NULLPTR) : QGeoRoutingManagerEngine(parameters, parent) {}; QGeoRouteReply * calculateRoute(const QGeoRouteRequest & request) { return static_cast(callbackQGeoRoutingManagerEngine_CalculateRoute(this, const_cast(&request))); }; QGeoRouteReply * updateRoute(const QGeoRoute & route, const QGeoCoordinate & position) { return static_cast(callbackQGeoRoutingManagerEngine_UpdateRoute(this, const_cast(&route), const_cast(&position))); }; void Signal_Error(QGeoRouteReply * reply, QGeoRouteReply::Error error, QString errorString) { QByteArray tc8b6bd = errorString.toUtf8(); QtLocation_PackedString errorStringPacked = { const_cast(tc8b6bd.prepend("WHITESPACE").constData()+10), tc8b6bd.size()-10 };callbackQGeoRoutingManagerEngine_Error(this, reply, error, errorStringPacked); }; @@ -1505,7 +1505,7 @@ void* QGeoRoutingManagerEngine_MetaObjectDefault(void* ptr) class MyQGeoServiceProvider: public QGeoServiceProvider { public: - MyQGeoServiceProvider(const QString &providerName, const QVariantMap ¶meters, bool allowExperimental) : QGeoServiceProvider(providerName, parameters, allowExperimental) {}; + MyQGeoServiceProvider(const QString &providerName, const QVariantMap ¶meters = QVariantMap(), bool allowExperimental = false) : QGeoServiceProvider(providerName, parameters, allowExperimental) {}; bool event(QEvent * e) { return callbackQGeoServiceProvider_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGeoServiceProvider_EventFilter(this, watched, event) != 0; }; void childEvent(QChildEvent * event) { callbackQGeoServiceProvider_ChildEvent(this, event); }; diff --git a/macextras/macextras.cpp b/macextras/macextras.cpp index cfe3b8af..64d3f730 100755 --- a/macextras/macextras.cpp +++ b/macextras/macextras.cpp @@ -152,8 +152,8 @@ void* QMacPasteboardMime___convertToMime_data_newList(void* ptr) class MyQMacToolBar: public QMacToolBar { public: - MyQMacToolBar(QObject *parent) : QMacToolBar(parent) {}; - MyQMacToolBar(const QString &identifier, QObject *parent) : QMacToolBar(identifier, parent) {}; + MyQMacToolBar(QObject *parent = Q_NULLPTR) : QMacToolBar(parent) {}; + MyQMacToolBar(const QString &identifier, QObject *parent = Q_NULLPTR) : QMacToolBar(identifier, parent) {}; bool event(QEvent * e) { return callbackQMacToolBar_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQMacToolBar_EventFilter(this, watched, event) != 0; }; void childEvent(QChildEvent * event) { callbackQMacToolBar_ChildEvent(this, event); }; @@ -506,7 +506,7 @@ void* QMacToolBar_MetaObjectDefault(void* ptr) class MyQMacToolBarItem: public QMacToolBarItem { public: - MyQMacToolBarItem(QObject *parent) : QMacToolBarItem(parent) {}; + MyQMacToolBarItem(QObject *parent = Q_NULLPTR) : QMacToolBarItem(parent) {}; void Signal_Activated() { callbackQMacToolBarItem_Activated(this); }; ~MyQMacToolBarItem() { callbackQMacToolBarItem_DestroyQMacToolBarItem(this); }; bool event(QEvent * e) { return callbackQMacToolBarItem_Event(this, e) != 0; }; diff --git a/multimedia/multimedia.cpp b/multimedia/multimedia.cpp index cb913534..a77fd4b5 100755 --- a/multimedia/multimedia.cpp +++ b/multimedia/multimedia.cpp @@ -311,7 +311,7 @@ void QAbstractVideoBuffer_SetM_type(void* ptr, long long vha) class MyQAbstractVideoFilter: public QAbstractVideoFilter { public: - MyQAbstractVideoFilter(QObject *parent) : QAbstractVideoFilter(parent) {}; + MyQAbstractVideoFilter(QObject *parent = Q_NULLPTR) : QAbstractVideoFilter(parent) {}; QVideoFilterRunnable * createFilterRunnable() { return static_cast(callbackQAbstractVideoFilter_CreateFilterRunnable(this)); }; void Signal_ActiveChanged() { callbackQAbstractVideoFilter_ActiveChanged(this); }; bool event(QEvent * e) { return callbackQAbstractVideoFilter_Event(this, e) != 0; }; @@ -591,7 +591,7 @@ void* QAbstractVideoFilter_MetaObjectDefault(void* ptr) class MyQAbstractVideoSurface: public QAbstractVideoSurface { public: - MyQAbstractVideoSurface(QObject *parent) : QAbstractVideoSurface(parent) {}; + MyQAbstractVideoSurface(QObject *parent = Q_NULLPTR) : QAbstractVideoSurface(parent) {}; void stop() { callbackQAbstractVideoSurface_Stop(this); }; bool present(const QVideoFrame & frame) { return callbackQAbstractVideoSurface_Present(this, const_cast(&frame)) != 0; }; bool start(const QVideoSurfaceFormat & format) { return callbackQAbstractVideoSurface_Start(this, const_cast(&format)) != 0; }; @@ -1104,7 +1104,7 @@ long long QAudioBuffer_StartTime(void* ptr) class MyQAudioDecoder: public QAudioDecoder { public: - MyQAudioDecoder(QObject *parent) : QAudioDecoder(parent) {}; + MyQAudioDecoder(QObject *parent = Q_NULLPTR) : QAudioDecoder(parent) {}; void Signal_BufferAvailableChanged(bool available) { callbackQAudioDecoder_BufferAvailableChanged(this, available); }; void Signal_BufferReady() { callbackQAudioDecoder_BufferReady(this); }; void Signal_DurationChanged(qint64 duration) { callbackQAudioDecoder_DurationChanged(this, duration); }; @@ -1414,7 +1414,7 @@ long long QAudioDecoder_Position(void* ptr) class MyQAudioDecoderControl: public QAudioDecoderControl { public: - MyQAudioDecoderControl(QObject *parent) : QAudioDecoderControl(parent) {}; + MyQAudioDecoderControl(QObject *parent = Q_NULLPTR) : QAudioDecoderControl(parent) {}; QAudioBuffer read() { return *static_cast(callbackQAudioDecoderControl_Read(this)); }; void Signal_BufferAvailableChanged(bool available) { callbackQAudioDecoderControl_BufferAvailableChanged(this, available); }; void Signal_BufferReady() { callbackQAudioDecoderControl_BufferReady(this); }; @@ -2044,7 +2044,7 @@ void* QAudioEncoderSettings_____encodingOptions_keyList_newList(void* ptr) class MyQAudioEncoderSettingsControl: public QAudioEncoderSettingsControl { public: - MyQAudioEncoderSettingsControl(QObject *parent) : QAudioEncoderSettingsControl(parent) {}; + MyQAudioEncoderSettingsControl(QObject *parent = Q_NULLPTR) : QAudioEncoderSettingsControl(parent) {}; void setAudioSettings(const QAudioEncoderSettings & settings) { callbackQAudioEncoderSettingsControl_SetAudioSettings(this, const_cast(&settings)); }; ~MyQAudioEncoderSettingsControl() { callbackQAudioEncoderSettingsControl_DestroyQAudioEncoderSettingsControl(this); }; QAudioEncoderSettings audioSettings() const { return *static_cast(callbackQAudioEncoderSettingsControl_AudioSettings(const_cast(static_cast(this)))); }; @@ -2273,8 +2273,8 @@ long long QAudioFormat_DurationForFrames(void* ptr, int frameCount) class MyQAudioInput: public QAudioInput { public: - MyQAudioInput(const QAudioDeviceInfo &audioDevice, const QAudioFormat &format, QObject *parent) : QAudioInput(audioDevice, format, parent) {}; - MyQAudioInput(const QAudioFormat &format, QObject *parent) : QAudioInput(format, parent) {}; + MyQAudioInput(const QAudioDeviceInfo &audioDevice, const QAudioFormat &format = QAudioFormat(), QObject *parent = Q_NULLPTR) : QAudioInput(audioDevice, format, parent) {}; + MyQAudioInput(const QAudioFormat &format = QAudioFormat(), QObject *parent = Q_NULLPTR) : QAudioInput(format, parent) {}; void Signal_StateChanged(QAudio::State state) { callbackQAudioInput_StateChanged(this, state); }; bool event(QEvent * e) { return callbackQAudioInput_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQAudioInput_EventFilter(this, watched, event) != 0; }; @@ -2777,8 +2777,8 @@ void* QAudioInputSelectorControl___availableInputs_newList(void* ptr) class MyQAudioOutput: public QAudioOutput { public: - MyQAudioOutput(const QAudioDeviceInfo &audioDevice, const QAudioFormat &format, QObject *parent) : QAudioOutput(audioDevice, format, parent) {}; - MyQAudioOutput(const QAudioFormat &format, QObject *parent) : QAudioOutput(format, parent) {}; + MyQAudioOutput(const QAudioDeviceInfo &audioDevice, const QAudioFormat &format = QAudioFormat(), QObject *parent = Q_NULLPTR) : QAudioOutput(audioDevice, format, parent) {}; + MyQAudioOutput(const QAudioFormat &format = QAudioFormat(), QObject *parent = Q_NULLPTR) : QAudioOutput(format, parent) {}; void Signal_StateChanged(QAudio::State state) { callbackQAudioOutput_StateChanged(this, state); }; bool event(QEvent * e) { return callbackQAudioOutput_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQAudioOutput_EventFilter(this, watched, event) != 0; }; @@ -3291,7 +3291,7 @@ void* QAudioOutputSelectorControl___availableOutputs_newList(void* ptr) class MyQAudioProbe: public QAudioProbe { public: - MyQAudioProbe(QObject *parent) : QAudioProbe(parent) {}; + MyQAudioProbe(QObject *parent = Q_NULLPTR) : QAudioProbe(parent) {}; void Signal_AudioBufferProbed(const QAudioBuffer & buffer) { callbackQAudioProbe_AudioBufferProbed(this, const_cast(&buffer)); }; void Signal_Flush() { callbackQAudioProbe_Flush(this); }; bool event(QEvent * e) { return callbackQAudioProbe_Event(this, e) != 0; }; @@ -3591,7 +3591,7 @@ void* QAudioProbe_MetaObjectDefault(void* ptr) class MyQAudioRecorder: public QAudioRecorder { public: - MyQAudioRecorder(QObject *parent) : QAudioRecorder(parent) {}; + MyQAudioRecorder(QObject *parent = Q_NULLPTR) : QAudioRecorder(parent) {}; void Signal_AudioInputChanged(const QString & name) { QByteArray t6ae999 = name.toUtf8(); QtMultimedia_PackedString namePacked = { const_cast(t6ae999.prepend("WHITESPACE").constData()+10), t6ae999.size()-10 };callbackQAudioRecorder_AudioInputChanged(this, namePacked); }; void Signal_AvailableAudioInputsChanged() { callbackQAudioRecorder_AvailableAudioInputsChanged(this); }; void setAudioInput(const QString & name) { QByteArray t6ae999 = name.toUtf8(); QtMultimedia_PackedString namePacked = { const_cast(t6ae999.prepend("WHITESPACE").constData()+10), t6ae999.size()-10 };callbackQAudioRecorder_SetAudioInput(this, namePacked); }; @@ -3737,7 +3737,7 @@ struct QtMultimedia_PackedString QAudioRecorder_AudioInputs(void* ptr) class MyQAudioRoleControl: public QAudioRoleControl { public: - MyQAudioRoleControl(QObject *parent) : QAudioRoleControl(parent) {}; + MyQAudioRoleControl(QObject *parent = Q_NULLPTR) : QAudioRoleControl(parent) {}; void Signal_AudioRoleChanged(QAudio::Role role) { callbackQAudioRoleControl_AudioRoleChanged(this, role); }; void setAudioRole(QAudio::Role role) { callbackQAudioRoleControl_SetAudioRole(this, role); }; ~MyQAudioRoleControl() { callbackQAudioRoleControl_DestroyQAudioRoleControl(this); }; @@ -3855,10 +3855,10 @@ void* QAudioRoleControl___supportedAudioRoles_newList(void* ptr) class MyQCamera: public QCamera { public: - MyQCamera(QCamera::Position position, QObject *parent) : QCamera(position, parent) {}; - MyQCamera(QObject *parent) : QCamera(parent) {}; - MyQCamera(const QByteArray &deviceName, QObject *parent) : QCamera(deviceName, parent) {}; - MyQCamera(const QCameraInfo &cameraInfo, QObject *parent) : QCamera(cameraInfo, parent) {}; + MyQCamera(QCamera::Position position, QObject *parent = Q_NULLPTR) : QCamera(position, parent) {}; + MyQCamera(QObject *parent = Q_NULLPTR) : QCamera(parent) {}; + MyQCamera(const QByteArray &deviceName, QObject *parent = Q_NULLPTR) : QCamera(deviceName, parent) {}; + MyQCamera(const QCameraInfo &cameraInfo, QObject *parent = Q_NULLPTR) : QCamera(cameraInfo, parent) {}; void Signal_CaptureModeChanged(QCamera::CaptureModes mode) { callbackQCamera_CaptureModeChanged(this, mode); }; void Signal_Error2(QCamera::Error value) { callbackQCamera_Error2(this, value); }; void load() { callbackQCamera_Load(this); }; @@ -4447,7 +4447,7 @@ void* QCamera___supportedViewfinderPixelFormats_newList(void* ptr) class MyQCameraCaptureBufferFormatControl: public QCameraCaptureBufferFormatControl { public: - MyQCameraCaptureBufferFormatControl(QObject *parent) : QCameraCaptureBufferFormatControl(parent) {}; + MyQCameraCaptureBufferFormatControl(QObject *parent = Q_NULLPTR) : QCameraCaptureBufferFormatControl(parent) {}; void Signal_BufferFormatChanged(QVideoFrame::PixelFormat format) { callbackQCameraCaptureBufferFormatControl_BufferFormatChanged(this, format); }; void setBufferFormat(QVideoFrame::PixelFormat format) { callbackQCameraCaptureBufferFormatControl_SetBufferFormat(this, format); }; QList supportedBufferFormats() const { return *static_cast*>(callbackQCameraCaptureBufferFormatControl_SupportedBufferFormats(const_cast(static_cast(this)))); }; @@ -4559,7 +4559,7 @@ void* QCameraCaptureBufferFormatControl___supportedBufferFormats_newList(void* p class MyQCameraCaptureDestinationControl: public QCameraCaptureDestinationControl { public: - MyQCameraCaptureDestinationControl(QObject *parent) : QCameraCaptureDestinationControl(parent) {}; + MyQCameraCaptureDestinationControl(QObject *parent = Q_NULLPTR) : QCameraCaptureDestinationControl(parent) {}; void Signal_CaptureDestinationChanged(QCameraImageCapture::CaptureDestinations destination) { callbackQCameraCaptureDestinationControl_CaptureDestinationChanged(this, destination); }; void setCaptureDestination(QCameraImageCapture::CaptureDestinations destination) { callbackQCameraCaptureDestinationControl_SetCaptureDestination(this, destination); }; QCameraImageCapture::CaptureDestinations captureDestination() const { return static_cast(callbackQCameraCaptureDestinationControl_CaptureDestination(const_cast(static_cast(this)))); }; @@ -4656,7 +4656,7 @@ char QCameraCaptureDestinationControl_IsCaptureDestinationSupported(void* ptr, l class MyQCameraControl: public QCameraControl { public: - MyQCameraControl(QObject *parent) : QCameraControl(parent) {}; + MyQCameraControl(QObject *parent = Q_NULLPTR) : QCameraControl(parent) {}; void Signal_CaptureModeChanged(QCamera::CaptureModes mode) { callbackQCameraControl_CaptureModeChanged(this, mode); }; void Signal_Error(int error, const QString & errorString) { QByteArray tc8b6bd = errorString.toUtf8(); QtMultimedia_PackedString errorStringPacked = { const_cast(tc8b6bd.prepend("WHITESPACE").constData()+10), tc8b6bd.size()-10 };callbackQCameraControl_Error(this, error, errorStringPacked); }; void setCaptureMode(QCamera::CaptureModes mode) { callbackQCameraControl_SetCaptureMode(this, mode); }; @@ -5398,7 +5398,7 @@ void* QCameraExposure_MetaObjectDefault(void* ptr) class MyQCameraExposureControl: public QCameraExposureControl { public: - MyQCameraExposureControl(QObject *parent) : QCameraExposureControl(parent) {}; + MyQCameraExposureControl(QObject *parent = Q_NULLPTR) : QCameraExposureControl(parent) {}; bool setValue(QCameraExposureControl::ExposureParameter parameter, const QVariant & value) { return callbackQCameraExposureControl_SetValue(this, parameter, const_cast(&value)) != 0; }; void Signal_ActualValueChanged(int parameter) { callbackQCameraExposureControl_ActualValueChanged(this, parameter); }; void Signal_ParameterRangeChanged(int parameter) { callbackQCameraExposureControl_ParameterRangeChanged(this, parameter); }; @@ -5554,7 +5554,7 @@ void* QCameraExposureControl___supportedParameterRange_newList(void* ptr) class MyQCameraFeedbackControl: public QCameraFeedbackControl { public: - MyQCameraFeedbackControl(QObject *parent) : QCameraFeedbackControl(parent) {}; + MyQCameraFeedbackControl(QObject *parent = Q_NULLPTR) : QCameraFeedbackControl(parent) {}; bool setEventFeedbackEnabled(QCameraFeedbackControl::EventType event, bool enabled) { return callbackQCameraFeedbackControl_SetEventFeedbackEnabled(this, event, enabled) != 0; }; bool setEventFeedbackSound(QCameraFeedbackControl::EventType event, const QString & filePath) { QByteArray t7df503 = filePath.toUtf8(); QtMultimedia_PackedString filePathPacked = { const_cast(t7df503.prepend("WHITESPACE").constData()+10), t7df503.size()-10 };return callbackQCameraFeedbackControl_SetEventFeedbackSound(this, event, filePathPacked) != 0; }; void resetEventFeedback(QCameraFeedbackControl::EventType event) { callbackQCameraFeedbackControl_ResetEventFeedback(this, event); }; @@ -5647,7 +5647,7 @@ char QCameraFeedbackControl_IsEventFeedbackLocked(void* ptr, long long event) class MyQCameraFlashControl: public QCameraFlashControl { public: - MyQCameraFlashControl(QObject *parent) : QCameraFlashControl(parent) {}; + MyQCameraFlashControl(QObject *parent = Q_NULLPTR) : QCameraFlashControl(parent) {}; void Signal_FlashReady(bool ready) { callbackQCameraFlashControl_FlashReady(this, ready); }; void setFlashMode(QCameraExposure::FlashModes mode) { callbackQCameraFlashControl_SetFlashMode(this, mode); }; QCameraExposure::FlashModes flashMode() const { return static_cast(callbackQCameraFlashControl_FlashMode(const_cast(static_cast(this)))); }; @@ -6264,7 +6264,7 @@ char QCameraFocusZone_IsValid(void* ptr) class MyQCameraImageCapture: public QCameraImageCapture { public: - MyQCameraImageCapture(QMediaObject *mediaObject, QObject *parent) : QCameraImageCapture(mediaObject, parent) {}; + MyQCameraImageCapture(QMediaObject *mediaObject, QObject *parent = Q_NULLPTR) : QCameraImageCapture(mediaObject, parent) {}; bool setMediaObject(QMediaObject * mediaObject) { return callbackQCameraImageCapture_SetMediaObject(this, mediaObject) != 0; }; int capture(const QString & file) { QByteArray t971c41 = file.toUtf8(); QtMultimedia_PackedString filePacked = { const_cast(t971c41.prepend("WHITESPACE").constData()+10), t971c41.size()-10 };return callbackQCameraImageCapture_Capture(this, filePacked); }; void Signal_BufferFormatChanged(QVideoFrame::PixelFormat format) { callbackQCameraImageCapture_BufferFormatChanged(this, format); }; @@ -6840,7 +6840,7 @@ void* QCameraImageCapture_MetaObjectDefault(void* ptr) class MyQCameraImageCaptureControl: public QCameraImageCaptureControl { public: - MyQCameraImageCaptureControl(QObject *parent) : QCameraImageCaptureControl(parent) {}; + MyQCameraImageCaptureControl(QObject *parent = Q_NULLPTR) : QCameraImageCaptureControl(parent) {}; int capture(const QString & fileName) { QByteArray td83e09 = fileName.toUtf8(); QtMultimedia_PackedString fileNamePacked = { const_cast(td83e09.prepend("WHITESPACE").constData()+10), td83e09.size()-10 };return callbackQCameraImageCaptureControl_Capture(this, fileNamePacked); }; void cancelCapture() { callbackQCameraImageCaptureControl_CancelCapture(this); }; void Signal_Error(int id, int error, const QString & errorString) { QByteArray tc8b6bd = errorString.toUtf8(); QtMultimedia_PackedString errorStringPacked = { const_cast(tc8b6bd.prepend("WHITESPACE").constData()+10), tc8b6bd.size()-10 };callbackQCameraImageCaptureControl_Error(this, id, error, errorStringPacked); }; @@ -7346,7 +7346,7 @@ void* QCameraImageProcessing_MetaObjectDefault(void* ptr) class MyQCameraImageProcessingControl: public QCameraImageProcessingControl { public: - MyQCameraImageProcessingControl(QObject *parent) : QCameraImageProcessingControl(parent) {}; + MyQCameraImageProcessingControl(QObject *parent = Q_NULLPTR) : QCameraImageProcessingControl(parent) {}; void setParameter(QCameraImageProcessingControl::ProcessingParameter parameter, const QVariant & value) { callbackQCameraImageProcessingControl_SetParameter(this, parameter, const_cast(&value)); }; QVariant parameter(QCameraImageProcessingControl::ProcessingParameter parameter) const { return *static_cast(callbackQCameraImageProcessingControl_Parameter(const_cast(static_cast(this)), parameter)); }; bool isParameterSupported(QCameraImageProcessingControl::ProcessingParameter parameter) const { return callbackQCameraImageProcessingControl_IsParameterSupported(const_cast(static_cast(this)), parameter) != 0; }; @@ -7503,7 +7503,7 @@ void* QCameraInfo___availableCameras_newList(void* ptr) class MyQCameraInfoControl: public QCameraInfoControl { public: - MyQCameraInfoControl(QObject *parent) : QCameraInfoControl(parent) {}; + MyQCameraInfoControl(QObject *parent = Q_NULLPTR) : QCameraInfoControl(parent) {}; ~MyQCameraInfoControl() { callbackQCameraInfoControl_DestroyQCameraInfoControl(this); }; QCamera::Position cameraPosition(const QString & deviceName) const { QByteArray t0f5a7b = deviceName.toUtf8(); QtMultimedia_PackedString deviceNamePacked = { const_cast(t0f5a7b.prepend("WHITESPACE").constData()+10), t0f5a7b.size()-10 };return static_cast(callbackQCameraInfoControl_CameraPosition(const_cast(static_cast(this)), deviceNamePacked)); }; int cameraOrientation(const QString & deviceName) const { QByteArray t0f5a7b = deviceName.toUtf8(); QtMultimedia_PackedString deviceNamePacked = { const_cast(t0f5a7b.prepend("WHITESPACE").constData()+10), t0f5a7b.size()-10 };return callbackQCameraInfoControl_CameraOrientation(const_cast(static_cast(this)), deviceNamePacked); }; @@ -7584,7 +7584,7 @@ int QCameraInfoControl_CameraOrientation(void* ptr, char* deviceName) class MyQCameraLocksControl: public QCameraLocksControl { public: - MyQCameraLocksControl(QObject *parent) : QCameraLocksControl(parent) {}; + MyQCameraLocksControl(QObject *parent = Q_NULLPTR) : QCameraLocksControl(parent) {}; void Signal_LockStatusChanged(QCamera::LockType lock, QCamera::LockStatus status, QCamera::LockChangeReason reason) { callbackQCameraLocksControl_LockStatusChanged(this, lock, status, reason); }; void searchAndLock(QCamera::LockTypes locks) { callbackQCameraLocksControl_SearchAndLock(this, locks); }; void unlock(QCamera::LockTypes locks) { callbackQCameraLocksControl_Unlock(this, locks); }; @@ -7687,7 +7687,7 @@ long long QCameraLocksControl_SupportedLocks(void* ptr) class MyQCameraViewfinder: public QCameraViewfinder { public: - MyQCameraViewfinder(QWidget *parent) : QCameraViewfinder(parent) {}; + MyQCameraViewfinder(QWidget *parent = Q_NULLPTR) : QCameraViewfinder(parent) {}; bool setMediaObject(QMediaObject * object) { return callbackQCameraViewfinder_SetMediaObject(this, object) != 0; }; QMediaObject * mediaObject() const { return static_cast(callbackQVideoWidget_MediaObject(const_cast(static_cast(this)))); }; bool event(QEvent * event) { return callbackQVideoWidget_Event(this, event) != 0; }; @@ -7880,7 +7880,7 @@ double QCameraViewfinderSettings_MinimumFrameRate(void* ptr) class MyQCameraViewfinderSettingsControl: public QCameraViewfinderSettingsControl { public: - MyQCameraViewfinderSettingsControl(QObject *parent) : QCameraViewfinderSettingsControl(parent) {}; + MyQCameraViewfinderSettingsControl(QObject *parent = Q_NULLPTR) : QCameraViewfinderSettingsControl(parent) {}; void setViewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter, const QVariant & value) { callbackQCameraViewfinderSettingsControl_SetViewfinderParameter(this, parameter, const_cast(&value)); }; QVariant viewfinderParameter(QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const { return *static_cast(callbackQCameraViewfinderSettingsControl_ViewfinderParameter(const_cast(static_cast(this)), parameter)); }; bool isViewfinderParameterSupported(QCameraViewfinderSettingsControl::ViewfinderParameter parameter) const { return callbackQCameraViewfinderSettingsControl_IsViewfinderParameterSupported(const_cast(static_cast(this)), parameter) != 0; }; @@ -7961,7 +7961,7 @@ char QCameraViewfinderSettingsControl_IsViewfinderParameterSupported(void* ptr, class MyQCameraViewfinderSettingsControl2: public QCameraViewfinderSettingsControl2 { public: - MyQCameraViewfinderSettingsControl2(QObject *parent) : QCameraViewfinderSettingsControl2(parent) {}; + MyQCameraViewfinderSettingsControl2(QObject *parent = Q_NULLPTR) : QCameraViewfinderSettingsControl2(parent) {}; void setViewfinderSettings(const QCameraViewfinderSettings & settings) { callbackQCameraViewfinderSettingsControl2_SetViewfinderSettings(this, const_cast(&settings)); }; ~MyQCameraViewfinderSettingsControl2() { callbackQCameraViewfinderSettingsControl2_DestroyQCameraViewfinderSettingsControl2(this); }; QCameraViewfinderSettings viewfinderSettings() const { return *static_cast(callbackQCameraViewfinderSettingsControl2_ViewfinderSettings(const_cast(static_cast(this)))); }; @@ -8063,7 +8063,7 @@ void* QCameraViewfinderSettingsControl2___supportedViewfinderSettings_newList(vo class MyQCameraZoomControl: public QCameraZoomControl { public: - MyQCameraZoomControl(QObject *parent) : QCameraZoomControl(parent) {}; + MyQCameraZoomControl(QObject *parent = Q_NULLPTR) : QCameraZoomControl(parent) {}; void Signal_CurrentDigitalZoomChanged(qreal zoom) { callbackQCameraZoomControl_CurrentDigitalZoomChanged(this, zoom); }; void Signal_CurrentOpticalZoomChanged(qreal zoom) { callbackQCameraZoomControl_CurrentOpticalZoomChanged(this, zoom); }; void Signal_MaximumDigitalZoomChanged(qreal zoom) { callbackQCameraZoomControl_MaximumDigitalZoomChanged(this, zoom); }; @@ -8264,7 +8264,7 @@ double QCameraZoomControl_RequestedOpticalZoom(void* ptr) class MyQGraphicsVideoItem: public QGraphicsVideoItem { public: - MyQGraphicsVideoItem(QGraphicsItem *parent) : QGraphicsVideoItem(parent) {}; + MyQGraphicsVideoItem(QGraphicsItem *parent = Q_NULLPTR) : QGraphicsVideoItem(parent) {}; void Signal_NativeSizeChanged(const QSizeF & size) { callbackQGraphicsVideoItem_NativeSizeChanged(this, const_cast(&size)); }; void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsVideoItem_Paint(this, painter, const_cast(option), widget); }; QMediaObject * mediaObject() const { return static_cast(callbackQGraphicsVideoItem_MediaObject(const_cast(static_cast(this)))); }; @@ -9091,7 +9091,7 @@ char QGraphicsVideoItem_SetMediaObjectDefault(void* ptr, void* object) class MyQImageEncoderControl: public QImageEncoderControl { public: - MyQImageEncoderControl(QObject *parent) : QImageEncoderControl(parent) {}; + MyQImageEncoderControl(QObject *parent = Q_NULLPTR) : QImageEncoderControl(parent) {}; void setImageSettings(const QImageEncoderSettings & settings) { callbackQImageEncoderControl_SetImageSettings(this, const_cast(&settings)); }; ~MyQImageEncoderControl() { callbackQImageEncoderControl_DestroyQImageEncoderControl(this); }; QImageEncoderSettings imageSettings() const { return *static_cast(callbackQImageEncoderControl_ImageSettings(const_cast(static_cast(this)))); }; @@ -9350,7 +9350,7 @@ void* QImageEncoderSettings_____encodingOptions_keyList_newList(void* ptr) class MyQMediaAudioProbeControl: public QMediaAudioProbeControl { public: - MyQMediaAudioProbeControl(QObject *parent) : QMediaAudioProbeControl(parent) {}; + MyQMediaAudioProbeControl(QObject *parent = Q_NULLPTR) : QMediaAudioProbeControl(parent) {}; void Signal_AudioBufferProbed(const QAudioBuffer & buffer) { callbackQMediaAudioProbeControl_AudioBufferProbed(this, const_cast(&buffer)); }; void Signal_Flush() { callbackQMediaAudioProbeControl_Flush(this); }; ~MyQMediaAudioProbeControl() { callbackQMediaAudioProbeControl_DestroyQMediaAudioProbeControl(this); }; @@ -9451,7 +9451,7 @@ void QMediaAudioProbeControl_DestroyQMediaAudioProbeControlDefault(void* ptr) class MyQMediaAvailabilityControl: public QMediaAvailabilityControl { public: - MyQMediaAvailabilityControl(QObject *parent) : QMediaAvailabilityControl(parent) {}; + MyQMediaAvailabilityControl(QObject *parent = Q_NULLPTR) : QMediaAvailabilityControl(parent) {}; void Signal_AvailabilityChanged(QMultimedia::AvailabilityStatus availability) { callbackQMediaAvailabilityControl_AvailabilityChanged(this, availability); }; QMultimedia::AvailabilityStatus availability() const { return static_cast(callbackQMediaAvailabilityControl_Availability(const_cast(static_cast(this)))); }; bool event(QEvent * e) { return callbackQMediaControl_Event(this, e) != 0; }; @@ -9592,7 +9592,7 @@ void* QMediaBindableInterface_MediaObject(void* ptr) class MyQMediaContainerControl: public QMediaContainerControl { public: - MyQMediaContainerControl(QObject *parent) : QMediaContainerControl(parent) {}; + MyQMediaContainerControl(QObject *parent = Q_NULLPTR) : QMediaContainerControl(parent) {}; void setContainerFormat(const QString & format) { QByteArray t785987 = format.toUtf8(); QtMultimedia_PackedString formatPacked = { const_cast(t785987.prepend("WHITESPACE").constData()+10), t785987.size()-10 };callbackQMediaContainerControl_SetContainerFormat(this, formatPacked); }; ~MyQMediaContainerControl() { callbackQMediaContainerControl_DestroyQMediaContainerControl(this); }; QString containerDescription(const QString & format) const { QByteArray t785987 = format.toUtf8(); QtMultimedia_PackedString formatPacked = { const_cast(t785987.prepend("WHITESPACE").constData()+10), t785987.size()-10 };return QString(callbackQMediaContainerControl_ContainerDescription(const_cast(static_cast(this)), formatPacked)); }; @@ -9785,7 +9785,7 @@ void* QMediaContent___resources_newList(void* ptr) class MyQMediaControl: public QMediaControl { public: - MyQMediaControl(QObject *parent) : QMediaControl(parent) {}; + MyQMediaControl(QObject *parent = Q_NULLPTR) : QMediaControl(parent) {}; bool event(QEvent * e) { return callbackQMediaControl_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQMediaControl_EventFilter(this, watched, event) != 0; }; void childEvent(QChildEvent * event) { callbackQMediaControl_ChildEvent(this, event); }; @@ -11272,7 +11272,7 @@ void* QMediaControl_MetaObjectDefault(void* ptr) class MyQMediaGaplessPlaybackControl: public QMediaGaplessPlaybackControl { public: - MyQMediaGaplessPlaybackControl(QObject *parent) : QMediaGaplessPlaybackControl(parent) {}; + MyQMediaGaplessPlaybackControl(QObject *parent = Q_NULLPTR) : QMediaGaplessPlaybackControl(parent) {}; void Signal_AdvancedToNextMedia() { callbackQMediaGaplessPlaybackControl_AdvancedToNextMedia(this); }; void Signal_CrossfadeTimeChanged(qreal crossfadeTime) { callbackQMediaGaplessPlaybackControl_CrossfadeTimeChanged(this, crossfadeTime); }; void Signal_NextMediaChanged(const QMediaContent & media) { callbackQMediaGaplessPlaybackControl_NextMediaChanged(this, const_cast(&media)); }; @@ -12292,7 +12292,7 @@ void* QMediaObject_MetaObjectDefault(void* ptr) class MyQMediaPlayer: public QMediaPlayer { public: - MyQMediaPlayer(QObject *parent, Flags flags) : QMediaPlayer(parent, flags) {}; + MyQMediaPlayer(QObject *parent = Q_NULLPTR, Flags flags = Flags()) : QMediaPlayer(parent, flags) {}; void Signal_AudioAvailableChanged(bool available) { callbackQMediaPlayer_AudioAvailableChanged(this, available); }; void Signal_AudioRoleChanged(QAudio::Role role) { callbackQMediaPlayer_AudioRoleChanged(this, role); }; void Signal_BufferStatusChanged(int percentFilled) { callbackQMediaPlayer_BufferStatusChanged(this, percentFilled); }; @@ -12887,7 +12887,7 @@ void* QMediaPlayer___supportedAudioRoles_newList(void* ptr) class MyQMediaPlayerControl: public QMediaPlayerControl { public: - MyQMediaPlayerControl(QObject *parent) : QMediaPlayerControl(parent) {}; + MyQMediaPlayerControl(QObject *parent = Q_NULLPTR) : QMediaPlayerControl(parent) {}; void Signal_AudioAvailableChanged(bool audio) { callbackQMediaPlayerControl_AudioAvailableChanged(this, audio); }; void Signal_AvailablePlaybackRangesChanged(const QMediaTimeRange & ranges) { callbackQMediaPlayerControl_AvailablePlaybackRangesChanged(this, const_cast(&ranges)); }; void Signal_BufferStatusChanged(int progress) { callbackQMediaPlayerControl_BufferStatusChanged(this, progress); }; @@ -13306,7 +13306,7 @@ double QMediaPlayerControl_PlaybackRate(void* ptr) class MyQMediaPlaylist: public QMediaPlaylist { public: - MyQMediaPlaylist(QObject *parent) : QMediaPlaylist(parent) {}; + MyQMediaPlaylist(QObject *parent = Q_NULLPTR) : QMediaPlaylist(parent) {}; void Signal_CurrentIndexChanged(int position) { callbackQMediaPlaylist_CurrentIndexChanged(this, position); }; void Signal_CurrentMediaChanged(const QMediaContent & content) { callbackQMediaPlaylist_CurrentMediaChanged(this, const_cast(&content)); }; void Signal_LoadFailed() { callbackQMediaPlaylist_LoadFailed(this); }; @@ -13969,7 +13969,7 @@ char QMediaPlaylist_SetMediaObjectDefault(void* ptr, void* object) class MyQMediaRecorder: public QMediaRecorder { public: - MyQMediaRecorder(QMediaObject *mediaObject, QObject *parent) : QMediaRecorder(mediaObject, parent) {}; + MyQMediaRecorder(QMediaObject *mediaObject, QObject *parent = Q_NULLPTR) : QMediaRecorder(mediaObject, parent) {}; void Signal_ActualLocationChanged(const QUrl & location) { callbackQMediaRecorder_ActualLocationChanged(this, const_cast(&location)); }; void Signal_AvailabilityChanged2(QMultimedia::AvailabilityStatus availability) { callbackQMediaRecorder_AvailabilityChanged2(this, availability); }; void Signal_AvailabilityChanged(bool available) { callbackQMediaRecorder_AvailabilityChanged(this, available); }; @@ -14818,7 +14818,7 @@ char QMediaRecorder_SetMediaObjectDefault(void* ptr, void* object) class MyQMediaRecorderControl: public QMediaRecorderControl { public: - MyQMediaRecorderControl(QObject *parent) : QMediaRecorderControl(parent) {}; + MyQMediaRecorderControl(QObject *parent = Q_NULLPTR) : QMediaRecorderControl(parent) {}; bool setOutputLocation(const QUrl & location) { return callbackQMediaRecorderControl_SetOutputLocation(this, const_cast(&location)) != 0; }; void Signal_ActualLocationChanged(const QUrl & location) { callbackQMediaRecorderControl_ActualLocationChanged(this, const_cast(&location)); }; void applySettings() { callbackQMediaRecorderControl_ApplySettings(this); }; @@ -15830,7 +15830,7 @@ struct QtMultimedia_PackedString QMediaServiceSupportedFormatsInterface_Supporte class MyQMediaStreamsControl: public QMediaStreamsControl { public: - MyQMediaStreamsControl(QObject *parent) : QMediaStreamsControl(parent) {}; + MyQMediaStreamsControl(QObject *parent = Q_NULLPTR) : QMediaStreamsControl(parent) {}; QVariant metaData(int stream, const QString & key) { QByteArray ta62f22 = key.toUtf8(); QtMultimedia_PackedString keyPacked = { const_cast(ta62f22.prepend("WHITESPACE").constData()+10), ta62f22.size()-10 };return *static_cast(callbackQMediaStreamsControl_MetaData(this, stream, keyPacked)); }; StreamType streamType(int stream) { return static_cast(callbackQMediaStreamsControl_StreamType(this, stream)); }; bool isActive(int stream) { return callbackQMediaStreamsControl_IsActive(this, stream) != 0; }; @@ -16111,7 +16111,7 @@ void* QMediaTimeRange___intervals_newList(void* ptr) class MyQMediaVideoProbeControl: public QMediaVideoProbeControl { public: - MyQMediaVideoProbeControl(QObject *parent) : QMediaVideoProbeControl(parent) {}; + MyQMediaVideoProbeControl(QObject *parent = Q_NULLPTR) : QMediaVideoProbeControl(parent) {}; void Signal_Flush() { callbackQMediaVideoProbeControl_Flush(this); }; void Signal_VideoFrameProbed(const QVideoFrame & frame) { callbackQMediaVideoProbeControl_VideoFrameProbed(this, const_cast(&frame)); }; ~MyQMediaVideoProbeControl() { callbackQMediaVideoProbeControl_DestroyQMediaVideoProbeControl(this); }; @@ -16212,7 +16212,7 @@ void QMediaVideoProbeControl_DestroyQMediaVideoProbeControlDefault(void* ptr) class MyQMetaDataReaderControl: public QMetaDataReaderControl { public: - MyQMetaDataReaderControl(QObject *parent) : QMetaDataReaderControl(parent) {}; + MyQMetaDataReaderControl(QObject *parent = Q_NULLPTR) : QMetaDataReaderControl(parent) {}; void Signal_MetaDataAvailableChanged(bool available) { callbackQMetaDataReaderControl_MetaDataAvailableChanged(this, available); }; void Signal_MetaDataChanged() { callbackQMetaDataReaderControl_MetaDataChanged(this); }; void Signal_MetaDataChanged2(const QString & key, const QVariant & value) { QByteArray ta62f22 = key.toUtf8(); QtMultimedia_PackedString keyPacked = { const_cast(ta62f22.prepend("WHITESPACE").constData()+10), ta62f22.size()-10 };callbackQMetaDataReaderControl_MetaDataChanged2(this, keyPacked, const_cast(&value)); }; @@ -16341,7 +16341,7 @@ char QMetaDataReaderControl_IsMetaDataAvailable(void* ptr) class MyQMetaDataWriterControl: public QMetaDataWriterControl { public: - MyQMetaDataWriterControl(QObject *parent) : QMetaDataWriterControl(parent) {}; + MyQMetaDataWriterControl(QObject *parent = Q_NULLPTR) : QMetaDataWriterControl(parent) {}; void Signal_MetaDataAvailableChanged(bool available) { callbackQMetaDataWriterControl_MetaDataAvailableChanged(this, available); }; void Signal_MetaDataChanged() { callbackQMetaDataWriterControl_MetaDataChanged(this); }; void Signal_MetaDataChanged2(const QString & key, const QVariant & value) { QByteArray ta62f22 = key.toUtf8(); QtMultimedia_PackedString keyPacked = { const_cast(ta62f22.prepend("WHITESPACE").constData()+10), ta62f22.size()-10 };callbackQMetaDataWriterControl_MetaDataChanged2(this, keyPacked, const_cast(&value)); }; @@ -16498,7 +16498,7 @@ char QMetaDataWriterControl_IsWritable(void* ptr) class MyQRadioData: public QRadioData { public: - MyQRadioData(QMediaObject *mediaObject, QObject *parent) : QRadioData(mediaObject, parent) {}; + MyQRadioData(QMediaObject *mediaObject, QObject *parent = Q_NULLPTR) : QRadioData(mediaObject, parent) {}; void setAlternativeFrequenciesEnabled(bool enabled) { callbackQRadioData_SetAlternativeFrequenciesEnabled(this, enabled); }; bool setMediaObject(QMediaObject * mediaObject) { return callbackQRadioData_SetMediaObject(this, mediaObject) != 0; }; void Signal_AlternativeFrequenciesEnabledChanged(bool enabled) { callbackQRadioData_AlternativeFrequenciesEnabledChanged(this, enabled); }; @@ -16964,7 +16964,7 @@ void* QRadioData_MetaObjectDefault(void* ptr) class MyQRadioDataControl: public QRadioDataControl { public: - MyQRadioDataControl(QObject *parent) : QRadioDataControl(parent) {}; + MyQRadioDataControl(QObject *parent = Q_NULLPTR) : QRadioDataControl(parent) {}; void Signal_AlternativeFrequenciesEnabledChanged(bool enabled) { callbackQRadioDataControl_AlternativeFrequenciesEnabledChanged(this, enabled); }; void Signal_Error2(QRadioData::Error error) { callbackQRadioDataControl_Error2(this, error); }; void Signal_ProgramTypeChanged(QRadioData::ProgramType programType) { callbackQRadioDataControl_ProgramTypeChanged(this, programType); }; @@ -17193,7 +17193,7 @@ char QRadioDataControl_IsAlternativeFrequenciesEnabled(void* ptr) class MyQRadioTuner: public QRadioTuner { public: - MyQRadioTuner(QObject *parent) : QRadioTuner(parent) {}; + MyQRadioTuner(QObject *parent = Q_NULLPTR) : QRadioTuner(parent) {}; void Signal_AntennaConnectedChanged(bool connectionStatus) { callbackQRadioTuner_AntennaConnectedChanged(this, connectionStatus); }; void Signal_BandChanged(QRadioTuner::Band band) { callbackQRadioTuner_BandChanged(this, band); }; void cancelSearch() { callbackQRadioTuner_CancelSearch(this); }; @@ -17985,7 +17985,7 @@ int QRadioTunerControl_Volume(void* ptr) class MyQSound: public QSound { public: - MyQSound(const QString &filename, QObject *parent) : QSound(filename, parent) {}; + MyQSound(const QString &filename, QObject *parent = Q_NULLPTR) : QSound(filename, parent) {}; void play() { callbackQSound_Play2(this); }; void stop() { callbackQSound_Stop(this); }; bool event(QEvent * e) { return callbackQSound_Event(this, e) != 0; }; @@ -18290,7 +18290,7 @@ void* QSound_MetaObjectDefault(void* ptr) class MyQSoundEffect: public QSoundEffect { public: - MyQSoundEffect(QObject *parent) : QSoundEffect(parent) {}; + MyQSoundEffect(QObject *parent = Q_NULLPTR) : QSoundEffect(parent) {}; void Signal_CategoryChanged() { callbackQSoundEffect_CategoryChanged(this); }; void Signal_LoadedChanged() { callbackQSoundEffect_LoadedChanged(this); }; void Signal_LoopCountChanged() { callbackQSoundEffect_LoopCountChanged(this); }; @@ -18784,7 +18784,7 @@ void* QSoundEffect_MetaObjectDefault(void* ptr) class MyQVideoDeviceSelectorControl: public QVideoDeviceSelectorControl { public: - MyQVideoDeviceSelectorControl(QObject *parent) : QVideoDeviceSelectorControl(parent) {}; + MyQVideoDeviceSelectorControl(QObject *parent = Q_NULLPTR) : QVideoDeviceSelectorControl(parent) {}; void Signal_DevicesChanged() { callbackQVideoDeviceSelectorControl_DevicesChanged(this); }; void Signal_SelectedDeviceChanged2(const QString & name) { QByteArray t6ae999 = name.toUtf8(); QtMultimedia_PackedString namePacked = { const_cast(t6ae999.prepend("WHITESPACE").constData()+10), t6ae999.size()-10 };callbackQVideoDeviceSelectorControl_SelectedDeviceChanged2(this, namePacked); }; void Signal_SelectedDeviceChanged(int index) { callbackQVideoDeviceSelectorControl_SelectedDeviceChanged(this, index); }; @@ -19112,7 +19112,7 @@ void* QVideoEncoderSettings_____encodingOptions_keyList_newList(void* ptr) class MyQVideoEncoderSettingsControl: public QVideoEncoderSettingsControl { public: - MyQVideoEncoderSettingsControl(QObject *parent) : QVideoEncoderSettingsControl(parent) {}; + MyQVideoEncoderSettingsControl(QObject *parent = Q_NULLPTR) : QVideoEncoderSettingsControl(parent) {}; void setVideoSettings(const QVideoEncoderSettings & settings) { callbackQVideoEncoderSettingsControl_SetVideoSettings(this, const_cast(&settings)); }; ~MyQVideoEncoderSettingsControl() { callbackQVideoEncoderSettingsControl_DestroyQVideoEncoderSettingsControl(this); }; QList supportedResolutions(const QVideoEncoderSettings & settings, bool * continuous) const { return *static_cast*>(callbackQVideoEncoderSettingsControl_SupportedResolutions(const_cast(static_cast(this)), const_cast(&settings), *continuous)); }; @@ -19483,7 +19483,7 @@ void* QVideoFrame_____availableMetaData_keyList_newList(void* ptr) class MyQVideoProbe: public QVideoProbe { public: - MyQVideoProbe(QObject *parent) : QVideoProbe(parent) {}; + MyQVideoProbe(QObject *parent = Q_NULLPTR) : QVideoProbe(parent) {}; void Signal_Flush() { callbackQVideoProbe_Flush(this); }; void Signal_VideoFrameProbed(const QVideoFrame & frame) { callbackQVideoProbe_VideoFrameProbed(this, const_cast(&frame)); }; bool event(QEvent * e) { return callbackQVideoProbe_Event(this, e) != 0; }; @@ -19783,7 +19783,7 @@ void* QVideoProbe_MetaObjectDefault(void* ptr) class MyQVideoRendererControl: public QVideoRendererControl { public: - MyQVideoRendererControl(QObject *parent) : QVideoRendererControl(parent) {}; + MyQVideoRendererControl(QObject *parent = Q_NULLPTR) : QVideoRendererControl(parent) {}; void setSurface(QAbstractVideoSurface * surface) { callbackQVideoRendererControl_SetSurface(this, surface); }; QAbstractVideoSurface * surface() const { return static_cast(callbackQVideoRendererControl_Surface(const_cast(static_cast(this)))); }; bool event(QEvent * e) { return callbackQMediaControl_Event(this, e) != 0; }; @@ -20008,7 +20008,7 @@ void* QVideoSurfaceFormat___propertyNames_newList(void* ptr) class MyQVideoWidget: public QVideoWidget { public: - MyQVideoWidget(QWidget *parent) : QVideoWidget(parent) {}; + MyQVideoWidget(QWidget *parent = Q_NULLPTR) : QVideoWidget(parent) {}; bool event(QEvent * event) { return callbackQVideoWidget_Event(this, event) != 0; }; void Signal_BrightnessChanged(int brightness) { callbackQVideoWidget_BrightnessChanged(this, brightness); }; void Signal_ContrastChanged(int contrast) { callbackQVideoWidget_ContrastChanged(this, contrast); }; @@ -21439,7 +21439,7 @@ char QVideoWidget_SetMediaObjectDefault(void* ptr, void* object) class MyQVideoWidgetControl: public QVideoWidgetControl { public: - MyQVideoWidgetControl(QObject *parent) : QVideoWidgetControl(parent) {}; + MyQVideoWidgetControl(QObject *parent = Q_NULLPTR) : QVideoWidgetControl(parent) {}; QWidget * videoWidget() { return static_cast(callbackQVideoWidgetControl_VideoWidget(this)); }; void Signal_BrightnessChanged(int brightness) { callbackQVideoWidgetControl_BrightnessChanged(this, brightness); }; void Signal_ContrastChanged(int contrast) { callbackQVideoWidgetControl_ContrastChanged(this, contrast); }; @@ -21666,7 +21666,7 @@ int QVideoWidgetControl_Saturation(void* ptr) class MyQVideoWindowControl: public QVideoWindowControl { public: - MyQVideoWindowControl(QObject *parent) : QVideoWindowControl(parent) {}; + MyQVideoWindowControl(QObject *parent = Q_NULLPTR) : QVideoWindowControl(parent) {}; void Signal_BrightnessChanged(int brightness) { callbackQVideoWindowControl_BrightnessChanged(this, brightness); }; void Signal_ContrastChanged(int contrast) { callbackQVideoWindowControl_ContrastChanged(this, contrast); }; void Signal_FullScreenChanged(bool fullScreen) { callbackQVideoWindowControl_FullScreenChanged(this, fullScreen); }; diff --git a/network/network.cpp b/network/network.cpp index 38d5970a..bebe7d66 100755 --- a/network/network.cpp +++ b/network/network.cpp @@ -96,7 +96,7 @@ class MyQAbstractNetworkCache: public QAbstractNetworkCache { public: - MyQAbstractNetworkCache(QObject *parent) : QAbstractNetworkCache(parent) {}; + MyQAbstractNetworkCache(QObject *parent = Q_NULLPTR) : QAbstractNetworkCache(parent) {}; QIODevice * data(const QUrl & url) { return static_cast(callbackQAbstractNetworkCache_Data(this, const_cast(&url))); }; QIODevice * prepare(const QNetworkCacheMetaData & metaData) { return static_cast(callbackQAbstractNetworkCache_Prepare(this, const_cast(&metaData))); }; QNetworkCacheMetaData metaData(const QUrl & url) { return *static_cast(callbackQAbstractNetworkCache_MetaData(this, const_cast(&url))); }; @@ -1427,9 +1427,9 @@ unsigned int QDnsHostAddressRecord_TimeToLive(void* ptr) class MyQDnsLookup: public QDnsLookup { public: - MyQDnsLookup(QObject *parent) : QDnsLookup(parent) {}; - MyQDnsLookup(Type type, const QString &name, QObject *parent) : QDnsLookup(type, name, parent) {}; - MyQDnsLookup(Type type, const QString &name, const QHostAddress &nameserver, QObject *parent) : QDnsLookup(type, name, nameserver, parent) {}; + MyQDnsLookup(QObject *parent = Q_NULLPTR) : QDnsLookup(parent) {}; + MyQDnsLookup(Type type, const QString &name, QObject *parent = Q_NULLPTR) : QDnsLookup(type, name, parent) {}; + MyQDnsLookup(Type type, const QString &name, const QHostAddress &nameserver, QObject *parent = Q_NULLPTR) : QDnsLookup(type, name, nameserver, parent) {}; void abort() { callbackQDnsLookup_Abort(this); }; void Signal_Finished() { callbackQDnsLookup_Finished(this); }; void lookup() { callbackQDnsLookup_Lookup(this); }; @@ -2355,8 +2355,8 @@ void* QHostInfo___addresses_newList(void* ptr) class MyQHttpMultiPart: public QHttpMultiPart { public: - MyQHttpMultiPart(ContentType contentType, QObject *parent) : QHttpMultiPart(contentType, parent) {}; - MyQHttpMultiPart(QObject *parent) : QHttpMultiPart(parent) {}; + MyQHttpMultiPart(ContentType contentType, QObject *parent = Q_NULLPTR) : QHttpMultiPart(contentType, parent) {}; + MyQHttpMultiPart(QObject *parent = Q_NULLPTR) : QHttpMultiPart(parent) {}; bool event(QEvent * e) { return callbackQHttpMultiPart_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQHttpMultiPart_EventFilter(this, watched, event) != 0; }; void childEvent(QChildEvent * event) { callbackQHttpMultiPart_ChildEvent(this, event); }; @@ -2640,7 +2640,7 @@ void QHttpPart_DestroyQHttpPart(void* ptr) class MyQLocalServer: public QLocalServer { public: - MyQLocalServer(QObject *parent) : QLocalServer(parent) {}; + MyQLocalServer(QObject *parent = Q_NULLPTR) : QLocalServer(parent) {}; QLocalSocket * nextPendingConnection() { return static_cast(callbackQLocalServer_NextPendingConnection(this)); }; void incomingConnection(quintptr socketDescriptor) { callbackQLocalServer_IncomingConnection(this, socketDescriptor); }; void Signal_NewConnection() { callbackQLocalServer_NewConnection(this); }; @@ -2937,7 +2937,7 @@ void* QLocalServer_MetaObjectDefault(void* ptr) class MyQLocalSocket: public QLocalSocket { public: - MyQLocalSocket(QObject *parent) : QLocalSocket(parent) {}; + MyQLocalSocket(QObject *parent = Q_NULLPTR) : QLocalSocket(parent) {}; bool open(QIODevice::OpenMode openMode) { return callbackQLocalSocket_Open(this, openMode) != 0; }; bool waitForBytesWritten(int msecs) { return callbackQLocalSocket_WaitForBytesWritten(this, msecs) != 0; }; bool waitForReadyRead(int msecs) { return callbackQLocalSocket_WaitForReadyRead(this, msecs) != 0; }; @@ -3371,7 +3371,7 @@ void* QLocalSocket_MetaObjectDefault(void* ptr) class MyQNetworkAccessManager: public QNetworkAccessManager { public: - MyQNetworkAccessManager(QObject *parent) : QNetworkAccessManager(parent) {}; + MyQNetworkAccessManager(QObject *parent = Q_NULLPTR) : QNetworkAccessManager(parent) {}; QNetworkReply * createRequest(QNetworkAccessManager::Operation op, const QNetworkRequest & req, QIODevice * outgoingData) { return static_cast(callbackQNetworkAccessManager_CreateRequest(this, op, const_cast(&req), outgoingData)); }; void Signal_AuthenticationRequired(QNetworkReply * reply, QAuthenticator * authenticator) { callbackQNetworkAccessManager_AuthenticationRequired(this, reply, authenticator); }; void Signal_Encrypted(QNetworkReply * reply) { callbackQNetworkAccessManager_Encrypted(this, reply); }; @@ -4065,7 +4065,7 @@ void* QNetworkConfiguration___children_newList(void* ptr) class MyQNetworkConfigurationManager: public QNetworkConfigurationManager { public: - MyQNetworkConfigurationManager(QObject *parent) : QNetworkConfigurationManager(parent) {}; + MyQNetworkConfigurationManager(QObject *parent = Q_NULLPTR) : QNetworkConfigurationManager(parent) {}; void Signal_ConfigurationAdded(const QNetworkConfiguration & config) { callbackQNetworkConfigurationManager_ConfigurationAdded(this, const_cast(&config)); }; void Signal_ConfigurationChanged(const QNetworkConfiguration & config) { callbackQNetworkConfigurationManager_ConfigurationChanged(this, const_cast(&config)); }; void Signal_ConfigurationRemoved(const QNetworkConfiguration & config) { callbackQNetworkConfigurationManager_ConfigurationRemoved(this, const_cast(&config)); }; @@ -4515,7 +4515,7 @@ void* QNetworkCookie___parseCookies_newList(void* ptr) class MyQNetworkCookieJar: public QNetworkCookieJar { public: - MyQNetworkCookieJar(QObject *parent) : QNetworkCookieJar(parent) {}; + MyQNetworkCookieJar(QObject *parent = Q_NULLPTR) : QNetworkCookieJar(parent) {}; bool deleteCookie(const QNetworkCookie & cookie) { return callbackQNetworkCookieJar_DeleteCookie(this, const_cast(&cookie)) != 0; }; bool insertCookie(const QNetworkCookie & cookie) { return callbackQNetworkCookieJar_InsertCookie(this, const_cast(&cookie)) != 0; }; bool setCookiesFromUrl(const QList & cookieList, const QUrl & url) { return callbackQNetworkCookieJar_SetCookiesFromUrl(this, ({ QList* tmpValue = const_cast*>(&cookieList); QtNetwork_PackedList { tmpValue, tmpValue->size() }; }), const_cast(&url)) != 0; }; @@ -4950,7 +4950,7 @@ unsigned int QNetworkDatagram_InterfaceIndex(void* ptr) class MyQNetworkDiskCache: public QNetworkDiskCache { public: - MyQNetworkDiskCache(QObject *parent) : QNetworkDiskCache(parent) {}; + MyQNetworkDiskCache(QObject *parent = Q_NULLPTR) : QNetworkDiskCache(parent) {}; QIODevice * data(const QUrl & url) { return static_cast(callbackQNetworkDiskCache_Data(this, const_cast(&url))); }; QIODevice * prepare(const QNetworkCacheMetaData & metaData) { return static_cast(callbackQNetworkDiskCache_Prepare(this, const_cast(&metaData))); }; QNetworkCacheMetaData metaData(const QUrl & url) { return *static_cast(callbackQNetworkDiskCache_MetaData(this, const_cast(&url))); }; @@ -5635,7 +5635,7 @@ int QNetworkProxyQuery_PeerPort(void* ptr) class MyQNetworkReply: public QNetworkReply { public: - MyQNetworkReply(QObject *parent) : QNetworkReply(parent) {}; + MyQNetworkReply(QObject *parent = Q_NULLPTR) : QNetworkReply(parent) {}; void abort() { callbackQNetworkReply_Abort(this); }; void close() { callbackQNetworkReply_Close(this); }; void Signal_DownloadProgress(qint64 bytesReceived, qint64 bytesTotal) { callbackQNetworkReply_DownloadProgress(this, bytesReceived, bytesTotal); }; @@ -6440,7 +6440,7 @@ void* QNetworkRequest___rawHeaderList_newList(void* ptr) class MyQNetworkSession: public QNetworkSession { public: - MyQNetworkSession(const QNetworkConfiguration &connectionConfig, QObject *parent) : QNetworkSession(connectionConfig, parent) {}; + MyQNetworkSession(const QNetworkConfiguration &connectionConfig, QObject *parent = Q_NULLPTR) : QNetworkSession(connectionConfig, parent) {}; void accept() { callbackQNetworkSession_Accept(this); }; void close() { callbackQNetworkSession_Close(this); }; void Signal_Closed() { callbackQNetworkSession_Closed(this); }; @@ -8078,7 +8078,7 @@ int QSslPreSharedKeyAuthenticator_MaximumPreSharedKeyLength(void* ptr) class MyQSslSocket: public QSslSocket { public: - MyQSslSocket(QObject *parent) : QSslSocket(parent) {}; + MyQSslSocket(QObject *parent = Q_NULLPTR) : QSslSocket(parent) {}; QVariant socketOption(QAbstractSocket::SocketOption option) { return *static_cast(callbackQAbstractSocket_SocketOption(this, option)); }; bool waitForBytesWritten(int msecs) { return callbackQAbstractSocket_WaitForBytesWritten(this, msecs) != 0; }; bool waitForConnected(int msecs) { return callbackQAbstractSocket_WaitForConnected(this, msecs) != 0; }; @@ -8787,7 +8787,7 @@ void* QSslSocket___sslErrors_newList(void* ptr) class MyQTcpServer: public QTcpServer { public: - MyQTcpServer(QObject *parent) : QTcpServer(parent) {}; + MyQTcpServer(QObject *parent = Q_NULLPTR) : QTcpServer(parent) {}; QTcpSocket * nextPendingConnection() { return static_cast(callbackQTcpServer_NextPendingConnection(this)); }; void Signal_AcceptError(QAbstractSocket::SocketError socketError) { callbackQTcpServer_AcceptError(this, socketError); }; void Signal_NewConnection() { callbackQTcpServer_NewConnection(this); }; @@ -9105,7 +9105,7 @@ void* QTcpServer_MetaObjectDefault(void* ptr) class MyQTcpSocket: public QTcpSocket { public: - MyQTcpSocket(QObject *parent) : QTcpSocket(parent) {}; + MyQTcpSocket(QObject *parent = Q_NULLPTR) : QTcpSocket(parent) {}; ~MyQTcpSocket() { callbackQTcpSocket_DestroyQTcpSocket(this); }; QVariant socketOption(QAbstractSocket::SocketOption option) { return *static_cast(callbackQAbstractSocket_SocketOption(this, option)); }; bool waitForBytesWritten(int msecs) { return callbackQAbstractSocket_WaitForBytesWritten(this, msecs) != 0; }; @@ -9211,7 +9211,7 @@ void QTcpSocket_DestroyQTcpSocketDefault(void* ptr) class MyQUdpSocket: public QUdpSocket { public: - MyQUdpSocket(QObject *parent) : QUdpSocket(parent) {}; + MyQUdpSocket(QObject *parent = Q_NULLPTR) : QUdpSocket(parent) {}; ~MyQUdpSocket() { callbackQUdpSocket_DestroyQUdpSocket(this); }; QVariant socketOption(QAbstractSocket::SocketOption option) { return *static_cast(callbackQAbstractSocket_SocketOption(this, option)); }; bool waitForBytesWritten(int msecs) { return callbackQAbstractSocket_WaitForBytesWritten(this, msecs) != 0; }; diff --git a/nfc/nfc.cpp b/nfc/nfc.cpp index cdbdf0f2..b995c3ff 100755 --- a/nfc/nfc.cpp +++ b/nfc/nfc.cpp @@ -605,7 +605,7 @@ char QNdefRecord_IsEmpty(void* ptr) class MyQNearFieldManager: public QNearFieldManager { public: - MyQNearFieldManager(QObject *parent) : QNearFieldManager(parent) {}; + MyQNearFieldManager(QObject *parent = Q_NULLPTR) : QNearFieldManager(parent) {}; void Signal_TargetDetected(QNearFieldTarget * target) { callbackQNearFieldManager_TargetDetected(this, target); }; void Signal_TargetLost(QNearFieldTarget * target) { callbackQNearFieldManager_TargetLost(this, target); }; bool event(QEvent * e) { return callbackQNearFieldManager_Event(this, e) != 0; }; @@ -865,7 +865,7 @@ void* QNearFieldManager_MetaObjectDefault(void* ptr) class MyQNearFieldShareManager: public QNearFieldShareManager { public: - MyQNearFieldShareManager(QObject *parent) : QNearFieldShareManager(parent) {}; + MyQNearFieldShareManager(QObject *parent = Q_NULLPTR) : QNearFieldShareManager(parent) {}; void Signal_Error(QNearFieldShareManager::ShareError error) { callbackQNearFieldShareManager_Error(this, error); }; void Signal_ShareModesChanged(QNearFieldShareManager::ShareModes modes) { callbackQNearFieldShareManager_ShareModesChanged(this, modes); }; void Signal_TargetDetected(QNearFieldShareTarget * shareTarget) { callbackQNearFieldShareManager_TargetDetected(this, shareTarget); }; @@ -1334,7 +1334,7 @@ void* QNearFieldShareTarget_MetaObjectDefault(void* ptr) class MyQNearFieldTarget: public QNearFieldTarget { public: - MyQNearFieldTarget(QObject *parent) : QNearFieldTarget(parent) {}; + MyQNearFieldTarget(QObject *parent = Q_NULLPTR) : QNearFieldTarget(parent) {}; bool hasNdefMessage() { return callbackQNearFieldTarget_HasNdefMessage(this) != 0; }; void Signal_Disconnected() { callbackQNearFieldTarget_Disconnected(this); }; void Signal_NdefMessageRead(const QNdefMessage & message) { callbackQNearFieldTarget_NdefMessageRead(this, const_cast(&message)); }; @@ -1646,8 +1646,8 @@ void* QNearFieldTarget_MetaObjectDefault(void* ptr) class MyQQmlNdefRecord: public QQmlNdefRecord { public: - MyQQmlNdefRecord(QObject *parent) : QQmlNdefRecord(parent) {}; - MyQQmlNdefRecord(const QNdefRecord &record, QObject *parent) : QQmlNdefRecord(record, parent) {}; + MyQQmlNdefRecord(QObject *parent = Q_NULLPTR) : QQmlNdefRecord(parent) {}; + MyQQmlNdefRecord(const QNdefRecord &record, QObject *parent = Q_NULLPTR) : QQmlNdefRecord(record, parent) {}; void Signal_RecordChanged() { callbackQQmlNdefRecord_RecordChanged(this); }; void Signal_TypeChanged() { callbackQQmlNdefRecord_TypeChanged(this); }; void Signal_TypeNameFormatChanged() { callbackQQmlNdefRecord_TypeNameFormatChanged(this); }; diff --git a/positioning/positioning.cpp b/positioning/positioning.cpp index ae979b86..5f843b64 100755 --- a/positioning/positioning.cpp +++ b/positioning/positioning.cpp @@ -1904,7 +1904,7 @@ char QGeoShape_IsValid(void* ptr) class MyQNmeaPositionInfoSource: public QNmeaPositionInfoSource { public: - MyQNmeaPositionInfoSource(UpdateMode updateMode, QObject *parent) : QNmeaPositionInfoSource(updateMode, parent) {}; + MyQNmeaPositionInfoSource(UpdateMode updateMode, QObject *parent = Q_NULLPTR) : QNmeaPositionInfoSource(updateMode, parent) {}; bool parsePosInfoFromNmeaData(const char * data, int size, QGeoPositionInfo * posInfo, bool * hasFix) { QtPositioning_PackedString dataPacked = { const_cast(data), size };return callbackQNmeaPositionInfoSource_ParsePosInfoFromNmeaData(this, dataPacked, size, posInfo, *hasFix) != 0; }; void requestUpdate(int msec) { callbackQNmeaPositionInfoSource_RequestUpdate(this, msec); }; void setUpdateInterval(int msec) { callbackQGeoPositionInfoSource_SetUpdateInterval(this, msec); }; diff --git a/printsupport/printsupport.cpp b/printsupport/printsupport.cpp index 0e79b0d8..85ecce65 100755 --- a/printsupport/printsupport.cpp +++ b/printsupport/printsupport.cpp @@ -62,7 +62,7 @@ class MyQAbstractPrintDialog: public QAbstractPrintDialog { public: - MyQAbstractPrintDialog(QPrinter *printer, QWidget *parent) : QAbstractPrintDialog(printer, parent) {}; + MyQAbstractPrintDialog(QPrinter *printer, QWidget *parent = Q_NULLPTR) : QAbstractPrintDialog(printer, parent) {}; int exec() { return callbackQAbstractPrintDialog_Exec(this); }; void accept() { callbackQAbstractPrintDialog_Accept(this); }; void Signal_Accepted() { callbackQAbstractPrintDialog_Accepted(this); }; @@ -952,8 +952,8 @@ void* QAbstractPrintDialog_MetaObjectDefault(void* ptr) class MyQPageSetupDialog: public QPageSetupDialog { public: - MyQPageSetupDialog(QPrinter *printer, QWidget *parent) : QPageSetupDialog(printer, parent) {}; - MyQPageSetupDialog(QWidget *parent) : QPageSetupDialog(parent) {}; + MyQPageSetupDialog(QPrinter *printer, QWidget *parent = Q_NULLPTR) : QPageSetupDialog(printer, parent) {}; + MyQPageSetupDialog(QWidget *parent = Q_NULLPTR) : QPageSetupDialog(parent) {}; int exec() { return callbackQPageSetupDialog_Exec(this); }; void done(int result) { callbackQPageSetupDialog_Done(this, result); }; void setVisible(bool visible) { callbackQPageSetupDialog_SetVisible(this, visible); }; @@ -1528,8 +1528,8 @@ void* QPageSetupDialog_MetaObjectDefault(void* ptr) class MyQPrintDialog: public QPrintDialog { public: - MyQPrintDialog(QPrinter *printer, QWidget *parent) : QPrintDialog(printer, parent) {}; - MyQPrintDialog(QWidget *parent) : QPrintDialog(parent) {}; + MyQPrintDialog(QPrinter *printer, QWidget *parent = Q_NULLPTR) : QPrintDialog(printer, parent) {}; + MyQPrintDialog(QWidget *parent = Q_NULLPTR) : QPrintDialog(parent) {}; void done(int result) { callbackQPrintDialog_Done(this, result); }; int exec() { return callbackQPrintDialog_Exec(this); }; void Signal_Accepted(QPrinter * printer) { callbackQPrintDialog_Accepted(this, printer); }; @@ -1739,8 +1739,8 @@ int QPrintEngine_Metric(void* ptr, long long id) class MyQPrintPreviewDialog: public QPrintPreviewDialog { public: - MyQPrintPreviewDialog(QPrinter *printer, QWidget *parent, Qt::WindowFlags flags) : QPrintPreviewDialog(printer, parent, flags) {}; - MyQPrintPreviewDialog(QWidget *parent, Qt::WindowFlags flags) : QPrintPreviewDialog(parent, flags) {}; + MyQPrintPreviewDialog(QPrinter *printer, QWidget *parent = Q_NULLPTR, Qt::WindowFlags flags = Qt::WindowFlags()) : QPrintPreviewDialog(printer, parent, flags) {}; + MyQPrintPreviewDialog(QWidget *parent = Q_NULLPTR, Qt::WindowFlags flags = Qt::WindowFlags()) : QPrintPreviewDialog(parent, flags) {}; void done(int result) { callbackQPrintPreviewDialog_Done(this, result); }; void Signal_PaintRequested(QPrinter * printer) { callbackQPrintPreviewDialog_PaintRequested(this, printer); }; void setVisible(bool visible) { callbackQPrintPreviewDialog_SetVisible(this, visible); }; @@ -2326,8 +2326,8 @@ void* QPrintPreviewDialog_MetaObjectDefault(void* ptr) class MyQPrintPreviewWidget: public QPrintPreviewWidget { public: - MyQPrintPreviewWidget(QPrinter *printer, QWidget *parent, Qt::WindowFlags flags) : QPrintPreviewWidget(printer, parent, flags) {}; - MyQPrintPreviewWidget(QWidget *parent, Qt::WindowFlags flags) : QPrintPreviewWidget(parent, flags) {}; + MyQPrintPreviewWidget(QPrinter *printer, QWidget *parent = Q_NULLPTR, Qt::WindowFlags flags = Qt::WindowFlags()) : QPrintPreviewWidget(printer, parent, flags) {}; + MyQPrintPreviewWidget(QWidget *parent = Q_NULLPTR, Qt::WindowFlags flags = Qt::WindowFlags()) : QPrintPreviewWidget(parent, flags) {}; void fitInView() { callbackQPrintPreviewWidget_FitInView(this); }; void fitToWidth() { callbackQPrintPreviewWidget_FitToWidth(this); }; void Signal_PaintRequested(QPrinter * printer) { callbackQPrintPreviewWidget_PaintRequested(this, printer); }; @@ -3100,8 +3100,8 @@ void* QPrintPreviewWidget_MetaObjectDefault(void* ptr) class MyQPrinter: public QPrinter { public: - MyQPrinter(PrinterMode mode) : QPrinter(mode) {}; - MyQPrinter(const QPrinterInfo &printer, PrinterMode mode) : QPrinter(printer, mode) {}; + MyQPrinter(PrinterMode mode = ScreenResolution) : QPrinter(mode) {}; + MyQPrinter(const QPrinterInfo &printer, PrinterMode mode = ScreenResolution) : QPrinter(printer, mode) {}; bool newPage() { return callbackQPrinter_NewPage(this) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQPrinter_PaintEngine(const_cast(static_cast(this)))); }; void setPageSize(QPagedPaintDevice::PageSize size) { callbackQPrinter_SetPageSize2(this, size); }; diff --git a/purchasing/purchasing.cpp b/purchasing/purchasing.cpp index 97a3fc6f..3d6eccd8 100755 --- a/purchasing/purchasing.cpp +++ b/purchasing/purchasing.cpp @@ -213,7 +213,7 @@ void* QInAppProduct_MetaObjectDefault(void* ptr) class MyQInAppStore: public QInAppStore { public: - MyQInAppStore(QObject *parent) : QInAppStore(parent) {}; + MyQInAppStore(QObject *parent = Q_NULLPTR) : QInAppStore(parent) {}; void Signal_ProductRegistered(QInAppProduct * product) { callbackQInAppStore_ProductRegistered(this, product); }; void Signal_ProductUnknown(QInAppProduct::ProductType productType, const QString & identifier) { QByteArray tfae9fd = identifier.toUtf8(); QtPurchasing_PackedString identifierPacked = { const_cast(tfae9fd.prepend("WHITESPACE").constData()+10), tfae9fd.size()-10 };callbackQInAppStore_ProductUnknown(this, productType, identifierPacked); }; void Signal_TransactionReady(QInAppTransaction * transaction) { callbackQInAppStore_TransactionReady(this, transaction); }; diff --git a/qml/qml.cpp b/qml/qml.cpp index 120ce7c7..5301e9ce 100755 --- a/qml/qml.cpp +++ b/qml/qml.cpp @@ -673,9 +673,9 @@ void QQmlAbstractUrlInterceptor_DestroyQQmlAbstractUrlInterceptorDefault(void* p class MyQQmlApplicationEngine: public QQmlApplicationEngine { public: - MyQQmlApplicationEngine(QObject *parent) : QQmlApplicationEngine(parent) {}; - MyQQmlApplicationEngine(const QString &filePath, QObject *parent) : QQmlApplicationEngine(filePath, parent) {}; - MyQQmlApplicationEngine(const QUrl &url, QObject *parent) : QQmlApplicationEngine(url, parent) {}; + MyQQmlApplicationEngine(QObject *parent = Q_NULLPTR) : QQmlApplicationEngine(parent) {}; + MyQQmlApplicationEngine(const QString &filePath, QObject *parent = Q_NULLPTR) : QQmlApplicationEngine(filePath, parent) {}; + MyQQmlApplicationEngine(const QUrl &url, QObject *parent = Q_NULLPTR) : QQmlApplicationEngine(url, parent) {}; void load(const QString & filePath) { QByteArray t7df503 = filePath.toUtf8(); QtQml_PackedString filePathPacked = { const_cast(t7df503.prepend("WHITESPACE").constData()+10), t7df503.size()-10 };callbackQQmlApplicationEngine_Load2(this, filePathPacked); }; void load(const QUrl & url) { callbackQQmlApplicationEngine_Load(this, const_cast(&url)); }; void loadData(const QByteArray & data, const QUrl & url) { callbackQQmlApplicationEngine_LoadData(this, const_cast(&data), const_cast(&url)); }; @@ -892,11 +892,11 @@ void* QQmlApplicationEngine___rootObjects_newList(void* ptr) class MyQQmlComponent: public QQmlComponent { public: - MyQQmlComponent(QQmlEngine *engine, QObject *parent) : QQmlComponent(engine, parent) {}; - MyQQmlComponent(QQmlEngine *engine, const QString &fileName, CompilationMode mode, QObject *parent) : QQmlComponent(engine, fileName, mode, parent) {}; - MyQQmlComponent(QQmlEngine *engine, const QString &fileName, QObject *parent) : QQmlComponent(engine, fileName, parent) {}; - MyQQmlComponent(QQmlEngine *engine, const QUrl &url, CompilationMode mode, QObject *parent) : QQmlComponent(engine, url, mode, parent) {}; - MyQQmlComponent(QQmlEngine *engine, const QUrl &url, QObject *parent) : QQmlComponent(engine, url, parent) {}; + MyQQmlComponent(QQmlEngine *engine, QObject *parent = Q_NULLPTR) : QQmlComponent(engine, parent) {}; + MyQQmlComponent(QQmlEngine *engine, const QString &fileName, CompilationMode mode, QObject *parent = Q_NULLPTR) : QQmlComponent(engine, fileName, mode, parent) {}; + MyQQmlComponent(QQmlEngine *engine, const QString &fileName, QObject *parent = Q_NULLPTR) : QQmlComponent(engine, fileName, parent) {}; + MyQQmlComponent(QQmlEngine *engine, const QUrl &url, CompilationMode mode, QObject *parent = Q_NULLPTR) : QQmlComponent(engine, url, mode, parent) {}; + MyQQmlComponent(QQmlEngine *engine, const QUrl &url, QObject *parent = Q_NULLPTR) : QQmlComponent(engine, url, parent) {}; QObject * beginCreate(QQmlContext * publicContext) { return static_cast(callbackQQmlComponent_BeginCreate(this, publicContext)); }; QObject * create(QQmlContext * context) { return static_cast(callbackQQmlComponent_Create(this, context)); }; void completeCreate() { callbackQQmlComponent_CompleteCreate(this); }; @@ -1412,8 +1412,8 @@ void* QQmlComponent_MetaObjectDefault(void* ptr) class MyQQmlContext: public QQmlContext { public: - MyQQmlContext(QQmlContext *parentContext, QObject *parent) : QQmlContext(parentContext, parent) {}; - MyQQmlContext(QQmlEngine *engine, QObject *parent) : QQmlContext(engine, parent) {}; + MyQQmlContext(QQmlContext *parentContext, QObject *parent = Q_NULLPTR) : QQmlContext(parentContext, parent) {}; + MyQQmlContext(QQmlEngine *engine, QObject *parent = Q_NULLPTR) : QQmlContext(engine, parent) {}; ~MyQQmlContext() { callbackQQmlContext_DestroyQQmlContext(this); }; bool event(QEvent * e) { return callbackQQmlContext_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQQmlContext_EventFilter(this, watched, event) != 0; }; @@ -1703,7 +1703,7 @@ void* QQmlContext_MetaObjectDefault(void* ptr) class MyQQmlEngine: public QQmlEngine { public: - MyQQmlEngine(QObject *parent) : QQmlEngine(parent) {}; + MyQQmlEngine(QObject *parent = Q_NULLPTR) : QQmlEngine(parent) {}; bool event(QEvent * e) { return callbackQJSEngine_Event(this, e) != 0; }; void Signal_Exit(int retCode) { callbackQQmlEngine_Exit(this, retCode); }; void Signal_Quit() { callbackQQmlEngine_Quit(this); }; @@ -2071,8 +2071,8 @@ class MyQQmlExpression: public QQmlExpression { public: MyQQmlExpression() : QQmlExpression() {}; - MyQQmlExpression(QQmlContext *ctxt, QObject *scope, const QString &expression, QObject *parent) : QQmlExpression(ctxt, scope, expression, parent) {}; - MyQQmlExpression(const QQmlScriptString &script, QQmlContext *ctxt, QObject *scope, QObject *parent) : QQmlExpression(script, ctxt, scope, parent) {}; + MyQQmlExpression(QQmlContext *ctxt, QObject *scope, const QString &expression, QObject *parent = Q_NULLPTR) : QQmlExpression(ctxt, scope, expression, parent) {}; + MyQQmlExpression(const QQmlScriptString &script, QQmlContext *ctxt = Q_NULLPTR, QObject *scope = Q_NULLPTR, QObject *parent = Q_NULLPTR) : QQmlExpression(script, ctxt, scope, parent) {}; void Signal_ValueChanged() { callbackQQmlExpression_ValueChanged(this); }; ~MyQQmlExpression() { callbackQQmlExpression_DestroyQQmlExpression(this); }; bool event(QEvent * e) { return callbackQQmlExpression_Event(this, e) != 0; }; @@ -2398,7 +2398,7 @@ void* QQmlExpression_MetaObjectDefault(void* ptr) class MyQQmlExtensionPlugin: public QQmlExtensionPlugin { public: - MyQQmlExtensionPlugin(QObject *parent) : QQmlExtensionPlugin(parent) {}; + MyQQmlExtensionPlugin(QObject *parent = Q_NULLPTR) : QQmlExtensionPlugin(parent) {}; void initializeEngine(QQmlEngine * engine, const char * uri) { QtQml_PackedString uriPacked = { const_cast(uri), -1 };callbackQQmlExtensionPlugin_InitializeEngine(this, engine, uriPacked); }; void registerTypes(const char * uri) { QtQml_PackedString uriPacked = { const_cast(uri), -1 };callbackQQmlExtensionPlugin_RegisterTypes(this, uriPacked); }; bool event(QEvent * e) { return callbackQQmlExtensionPlugin_Event(this, e) != 0; }; @@ -2598,7 +2598,7 @@ void* QQmlExtensionPlugin_MetaObjectDefault(void* ptr) class MyQQmlFileSelector: public QQmlFileSelector { public: - MyQQmlFileSelector(QQmlEngine *engine, QObject *parent) : QQmlFileSelector(engine, parent) {}; + MyQQmlFileSelector(QQmlEngine *engine, QObject *parent = Q_NULLPTR) : QQmlFileSelector(engine, parent) {}; bool event(QEvent * e) { return callbackQQmlFileSelector_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQQmlFileSelector_EventFilter(this, watched, event) != 0; }; void childEvent(QChildEvent * event) { callbackQQmlFileSelector_ChildEvent(this, event); }; @@ -2860,7 +2860,7 @@ int QQmlIncubationController_IncubatingObjectCount(void* ptr) class MyQQmlIncubator: public QQmlIncubator { public: - MyQQmlIncubator(IncubationMode mode) : QQmlIncubator(mode) {}; + MyQQmlIncubator(IncubationMode mode = Asynchronous) : QQmlIncubator(mode) {}; void setInitialState(QObject * object) { callbackQQmlIncubator_SetInitialState(this, object); }; void statusChanged(QQmlIncubator::Status status) { callbackQQmlIncubator_StatusChanged(this, status); }; }; @@ -3505,7 +3505,7 @@ int QQmlProperty_PropertyType(void* ptr) class MyQQmlPropertyMap: public QQmlPropertyMap { public: - MyQQmlPropertyMap(QObject *parent) : QQmlPropertyMap(parent) {}; + MyQQmlPropertyMap(QObject *parent = Q_NULLPTR) : QQmlPropertyMap(parent) {}; QVariant updateValue(const QString & key, const QVariant & input) { QByteArray ta62f22 = key.toUtf8(); QtQml_PackedString keyPacked = { const_cast(ta62f22.prepend("WHITESPACE").constData()+10), ta62f22.size()-10 };return *static_cast(callbackQQmlPropertyMap_UpdateValue(this, keyPacked, const_cast(&input))); }; void Signal_ValueChanged(const QString & key, const QVariant & value) { QByteArray ta62f22 = key.toUtf8(); QtQml_PackedString keyPacked = { const_cast(ta62f22.prepend("WHITESPACE").constData()+10), ta62f22.size()-10 };callbackQQmlPropertyMap_ValueChanged(this, keyPacked, const_cast(&value)); }; ~MyQQmlPropertyMap() { callbackQQmlPropertyMap_DestroyQQmlPropertyMap(this); }; diff --git a/quick/quick.cpp b/quick/quick.cpp index 7a0f8f2b..edfac153 100755 --- a/quick/quick.cpp +++ b/quick/quick.cpp @@ -262,7 +262,7 @@ char QQuickFramebufferObject_TextureFollowsItemSize(void* ptr) class MyQQuickImageProvider: public QQuickImageProvider { public: - MyQQuickImageProvider(ImageType type, Flags flags) : QQuickImageProvider(type, flags) {}; + MyQQuickImageProvider(ImageType type, Flags flags = Flags()) : QQuickImageProvider(type, flags) {}; QImage requestImage(const QString & id, QSize * size, const QSize & requestedSize) { QByteArray t87ea5d = id.toUtf8(); QtQuick_PackedString idPacked = { const_cast(t87ea5d.prepend("WHITESPACE").constData()+10), t87ea5d.size()-10 };return *static_cast(callbackQQuickImageProvider_RequestImage(this, idPacked, size, const_cast(&requestedSize))); }; QPixmap requestPixmap(const QString & id, QSize * size, const QSize & requestedSize) { QByteArray t87ea5d = id.toUtf8(); QtQuick_PackedString idPacked = { const_cast(t87ea5d.prepend("WHITESPACE").constData()+10), t87ea5d.size()-10 };return *static_cast(callbackQQuickImageProvider_RequestPixmap(this, idPacked, size, const_cast(&requestedSize))); }; QQuickTextureFactory * requestTexture(const QString & id, QSize * size, const QSize & requestedSize) { QByteArray t87ea5d = id.toUtf8(); QtQuick_PackedString idPacked = { const_cast(t87ea5d.prepend("WHITESPACE").constData()+10), t87ea5d.size()-10 };return static_cast(callbackQQuickImageProvider_RequestTexture(this, idPacked, size, const_cast(&requestedSize))); }; @@ -576,7 +576,7 @@ void* QQuickImageResponse_MetaObjectDefault(void* ptr) class MyQQuickItem: public QQuickItem { public: - MyQQuickItem(QQuickItem *parent) : QQuickItem(parent) {}; + MyQQuickItem(QQuickItem *parent = Q_NULLPTR) : QQuickItem(parent) {}; bool childMouseEventFilter(QQuickItem * item, QEvent * event) { return callbackQQuickItem_ChildMouseEventFilter(this, item, event) != 0; }; bool event(QEvent * ev) { return callbackQQuickItem_Event(this, ev) != 0; }; void classBegin() { callbackQQuickItem_ClassBegin(this); }; @@ -2090,7 +2090,7 @@ void* QQuickItemGrabResult_MetaObjectDefault(void* ptr) class MyQQuickPaintedItem: public QQuickPaintedItem { public: - MyQQuickPaintedItem(QQuickItem *parent) : QQuickPaintedItem(parent) {}; + MyQQuickPaintedItem(QQuickItem *parent = Q_NULLPTR) : QQuickPaintedItem(parent) {}; void Signal_ContentsScaleChanged() { callbackQQuickPaintedItem_ContentsScaleChanged(this); }; void Signal_ContentsSizeChanged() { callbackQQuickPaintedItem_ContentsSizeChanged(this); }; void Signal_FillColorChanged() { callbackQQuickPaintedItem_FillColorChanged(this); }; @@ -2331,7 +2331,7 @@ double QQuickPaintedItem_ContentsScale(void* ptr) class MyQQuickRenderControl: public QQuickRenderControl { public: - MyQQuickRenderControl(QObject *parent) : QQuickRenderControl(parent) {}; + MyQQuickRenderControl(QObject *parent = Q_NULLPTR) : QQuickRenderControl(parent) {}; QWindow * renderWindow(QPoint * offset) { return static_cast(callbackQQuickRenderControl_RenderWindow(this, offset)); }; void Signal_RenderRequested() { callbackQQuickRenderControl_RenderRequested(this); }; void Signal_SceneChanged() { callbackQQuickRenderControl_SceneChanged(this); }; @@ -2992,8 +2992,8 @@ class MyQQuickView: public QQuickView { public: MyQQuickView(QQmlEngine *engine, QWindow *parent) : QQuickView(engine, parent) {}; - MyQQuickView(QWindow *parent) : QQuickView(parent) {}; - MyQQuickView(const QUrl &source, QWindow *parent) : QQuickView(source, parent) {}; + MyQQuickView(QWindow *parent = Q_NULLPTR) : QQuickView(parent) {}; + MyQQuickView(const QUrl &source, QWindow *parent = Q_NULLPTR) : QQuickView(source, parent) {}; void setSource(const QUrl & url) { callbackQQuickView_SetSource(this, const_cast(&url)); }; void Signal_StatusChanged(QQuickView::Status status) { callbackQQuickView_StatusChanged(this, status); }; ~MyQQuickView() { callbackQQuickView_DestroyQQuickView(this); }; @@ -3212,8 +3212,8 @@ class MyQQuickWidget: public QQuickWidget { public: MyQQuickWidget(QQmlEngine *engine, QWidget *parent) : QQuickWidget(engine, parent) {}; - MyQQuickWidget(QWidget *parent) : QQuickWidget(parent) {}; - MyQQuickWidget(const QUrl &source, QWidget *parent) : QQuickWidget(source, parent) {}; + MyQQuickWidget(QWidget *parent = Q_NULLPTR) : QQuickWidget(parent) {}; + MyQQuickWidget(const QUrl &source, QWidget *parent = Q_NULLPTR) : QQuickWidget(source, parent) {}; void Signal_SceneGraphError(QQuickWindow::SceneGraphError error, const QString & message) { QByteArray t6f9b9a = message.toUtf8(); QtQuick_PackedString messagePacked = { const_cast(t6f9b9a.prepend("WHITESPACE").constData()+10), t6f9b9a.size()-10 };callbackQQuickWidget_SceneGraphError(this, error, messagePacked); }; void setSource(const QUrl & url) { callbackQQuickWidget_SetSource(this, const_cast(&url)); }; void Signal_StatusChanged(QQuickWidget::Status status) { callbackQQuickWidget_StatusChanged(this, status); }; @@ -3902,7 +3902,7 @@ void* QQuickWidget_MetaObjectDefault(void* ptr) class MyQQuickWindow: public QQuickWindow { public: - MyQQuickWindow(QWindow *parent) : QQuickWindow(parent) {}; + MyQQuickWindow(QWindow *parent = Q_NULLPTR) : QQuickWindow(parent) {}; bool event(QEvent * e) { return callbackQQuickWindow_Event(this, e) != 0; }; void Signal_ActiveFocusItemChanged() { callbackQQuickWindow_ActiveFocusItemChanged(this); }; void Signal_AfterAnimating() { callbackQQuickWindow_AfterAnimating(this); }; @@ -5357,7 +5357,7 @@ int QSGDynamicTexture_TextureIdDefault(void* ptr) class MyQSGEngine: public QSGEngine { public: - MyQSGEngine(QObject *parent) : QSGEngine(parent) {}; + MyQSGEngine(QObject *parent = Q_NULLPTR) : QSGEngine(parent) {}; bool event(QEvent * e) { return callbackQSGEngine_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQSGEngine_EventFilter(this, watched, event) != 0; }; void childEvent(QChildEvent * event) { callbackQSGEngine_ChildEvent(this, event); }; diff --git a/script/script.cpp b/script/script.cpp index 0bff4971..c0d52900 100755 --- a/script/script.cpp +++ b/script/script.cpp @@ -914,7 +914,7 @@ char QScriptEngineAgent_SupportsExtensionDefault(void* ptr, long long extension) class MyQScriptExtensionPlugin: public QScriptExtensionPlugin { public: - MyQScriptExtensionPlugin(QObject *parent) : QScriptExtensionPlugin(parent) {}; + MyQScriptExtensionPlugin(QObject *parent = Q_NULLPTR) : QScriptExtensionPlugin(parent) {}; void initialize(const QString & key, QScriptEngine * engine) { QByteArray ta62f22 = key.toUtf8(); QtScript_PackedString keyPacked = { const_cast(ta62f22.prepend("WHITESPACE").constData()+10), ta62f22.size()-10 };callbackQScriptExtensionPlugin_Initialize(this, keyPacked, engine); }; QStringList keys() const { return QString(callbackQScriptExtensionPlugin_Keys(const_cast(static_cast(this)))).split("|", QString::SkipEmptyParts); }; bool event(QEvent * e) { return callbackQScriptExtensionPlugin_Event(this, e) != 0; }; diff --git a/scripttools/scripttools.cpp b/scripttools/scripttools.cpp index 7f48b0fb..1c327de0 100755 --- a/scripttools/scripttools.cpp +++ b/scripttools/scripttools.cpp @@ -43,7 +43,7 @@ class MyQScriptEngineDebugger: public QScriptEngineDebugger { public: - MyQScriptEngineDebugger(QObject *parent) : QScriptEngineDebugger(parent) {}; + MyQScriptEngineDebugger(QObject *parent = Q_NULLPTR) : QScriptEngineDebugger(parent) {}; void Signal_EvaluationResumed() { callbackQScriptEngineDebugger_EvaluationResumed(this); }; void Signal_EvaluationSuspended() { callbackQScriptEngineDebugger_EvaluationSuspended(this); }; bool event(QEvent * e) { return callbackQScriptEngineDebugger_Event(this, e) != 0; }; diff --git a/scxml/scxml.cpp b/scxml/scxml.cpp index 567a2c2f..da60bdf0 100755 --- a/scxml/scxml.cpp +++ b/scxml/scxml.cpp @@ -517,7 +517,7 @@ void* QScxmlDynamicScxmlServiceFactory___QScxmlDynamicScxmlServiceFactory_parame class MyQScxmlEcmaScriptDataModel: public QScxmlEcmaScriptDataModel { public: - MyQScxmlEcmaScriptDataModel(QObject *parent) : QScxmlEcmaScriptDataModel(parent) {}; + MyQScxmlEcmaScriptDataModel(QObject *parent = nullptr) : QScxmlEcmaScriptDataModel(parent) {}; bool setScxmlProperty(const QString & name, const QVariant & value, const QString & context) { QByteArray t6ae999 = name.toUtf8(); QtScxml_PackedString namePacked = { const_cast(t6ae999.prepend("WHITESPACE").constData()+10), t6ae999.size()-10 };QByteArray tec2727 = context.toUtf8(); QtScxml_PackedString contextPacked = { const_cast(tec2727.prepend("WHITESPACE").constData()+10), tec2727.size()-10 };return callbackQScxmlEcmaScriptDataModel_SetScxmlProperty(this, namePacked, const_cast(&value), contextPacked) != 0; }; bool setup(const QVariantMap & initialDataValues) { return callbackQScxmlEcmaScriptDataModel_Setup(this, ({ QMap* tmpValue = new QMap(initialDataValues); QtScxml_PackedList { tmpValue, tmpValue->size() }; })) != 0; }; void setScxmlEvent(const QScxmlEvent & event) { callbackQScxmlEcmaScriptDataModel_SetScxmlEvent(this, const_cast(&event)); }; @@ -1188,7 +1188,7 @@ void* QScxmlInvokableServiceFactory_MetaObjectDefault(void* ptr) class MyQScxmlNullDataModel: public QScxmlNullDataModel { public: - MyQScxmlNullDataModel(QObject *parent) : QScxmlNullDataModel(parent) {}; + MyQScxmlNullDataModel(QObject *parent = nullptr) : QScxmlNullDataModel(parent) {}; bool setScxmlProperty(const QString & name, const QVariant & value, const QString & context) { QByteArray t6ae999 = name.toUtf8(); QtScxml_PackedString namePacked = { const_cast(t6ae999.prepend("WHITESPACE").constData()+10), t6ae999.size()-10 };QByteArray tec2727 = context.toUtf8(); QtScxml_PackedString contextPacked = { const_cast(tec2727.prepend("WHITESPACE").constData()+10), tec2727.size()-10 };return callbackQScxmlNullDataModel_SetScxmlProperty(this, namePacked, const_cast(&value), contextPacked) != 0; }; bool setup(const QVariantMap & initialDataValues) { return callbackQScxmlNullDataModel_Setup(this, ({ QMap* tmpValue = new QMap(initialDataValues); QtScxml_PackedList { tmpValue, tmpValue->size() }; })) != 0; }; void setScxmlEvent(const QScxmlEvent & event) { callbackQScxmlNullDataModel_SetScxmlEvent(this, const_cast(&event)); }; @@ -1307,7 +1307,7 @@ char QScxmlNullDataModel_HasScxmlPropertyDefault(void* ptr, char* name) class MyQScxmlStateMachine: public QScxmlStateMachine { public: - MyQScxmlStateMachine(const QMetaObject *metaObject, QObject *parent) : QScxmlStateMachine(metaObject, parent) {}; + MyQScxmlStateMachine(const QMetaObject *metaObject, QObject *parent = nullptr) : QScxmlStateMachine(metaObject, parent) {}; bool init() { return callbackQScxmlStateMachine_Init(this) != 0; }; void Signal_DataModelChanged(QScxmlDataModel * model) { callbackQScxmlStateMachine_DataModelChanged(this, model); }; void Signal_Finished() { callbackQScxmlStateMachine_Finished(this); }; diff --git a/sensors/sensors.cpp b/sensors/sensors.cpp index d560c8e5..acf71690 100755 --- a/sensors/sensors.cpp +++ b/sensors/sensors.cpp @@ -106,7 +106,7 @@ class MyQAccelerometer: public QAccelerometer { public: - MyQAccelerometer(QObject *parent) : QAccelerometer(parent) {}; + MyQAccelerometer(QObject *parent = Q_NULLPTR) : QAccelerometer(parent) {}; void Signal_AccelerationModeChanged(QAccelerometer::AccelerationMode accelerationMode) { callbackQAccelerometer_AccelerationModeChanged(this, accelerationMode); }; ~MyQAccelerometer() { callbackQAccelerometer_DestroyQAccelerometer(this); }; bool start() { return callbackQSensor_Start(this) != 0; }; @@ -284,7 +284,7 @@ double QAccelerometerReading_Z(void* ptr) class MyQAltimeter: public QAltimeter { public: - MyQAltimeter(QObject *parent) : QAltimeter(parent) {}; + MyQAltimeter(QObject *parent = Q_NULLPTR) : QAltimeter(parent) {}; bool start() { return callbackQSensor_Start(this) != 0; }; void Signal_ActiveChanged() { callbackQSensor_ActiveChanged(this); }; void Signal_AlwaysOnChanged() { callbackQSensor_AlwaysOnChanged(this); }; @@ -447,7 +447,7 @@ long long QAmbientLightReading_LightLevel(void* ptr) class MyQAmbientLightSensor: public QAmbientLightSensor { public: - MyQAmbientLightSensor(QObject *parent) : QAmbientLightSensor(parent) {}; + MyQAmbientLightSensor(QObject *parent = Q_NULLPTR) : QAmbientLightSensor(parent) {}; ~MyQAmbientLightSensor() { callbackQAmbientLightSensor_DestroyQAmbientLightSensor(this); }; bool start() { return callbackQSensor_Start(this) != 0; }; void Signal_ActiveChanged() { callbackQSensor_ActiveChanged(this); }; @@ -579,7 +579,7 @@ double QAmbientTemperatureReading_Temperature(void* ptr) class MyQAmbientTemperatureSensor: public QAmbientTemperatureSensor { public: - MyQAmbientTemperatureSensor(QObject *parent) : QAmbientTemperatureSensor(parent) {}; + MyQAmbientTemperatureSensor(QObject *parent = Q_NULLPTR) : QAmbientTemperatureSensor(parent) {}; bool start() { return callbackQSensor_Start(this) != 0; }; void Signal_ActiveChanged() { callbackQSensor_ActiveChanged(this); }; void Signal_AlwaysOnChanged() { callbackQSensor_AlwaysOnChanged(this); }; @@ -668,7 +668,7 @@ struct QtSensors_PackedString QAmbientTemperatureSensor_QAmbientTemperatureSenso class MyQCompass: public QCompass { public: - MyQCompass(QObject *parent) : QCompass(parent) {}; + MyQCompass(QObject *parent = Q_NULLPTR) : QCompass(parent) {}; ~MyQCompass() { callbackQCompass_DestroyQCompass(this); }; bool start() { return callbackQSensor_Start(this) != 0; }; void Signal_ActiveChanged() { callbackQSensor_ActiveChanged(this); }; @@ -847,7 +847,7 @@ double QDistanceReading_Distance(void* ptr) class MyQDistanceSensor: public QDistanceSensor { public: - MyQDistanceSensor(QObject *parent) : QDistanceSensor(parent) {}; + MyQDistanceSensor(QObject *parent = Q_NULLPTR) : QDistanceSensor(parent) {}; bool start() { return callbackQSensor_Start(this) != 0; }; void Signal_ActiveChanged() { callbackQSensor_ActiveChanged(this); }; void Signal_AlwaysOnChanged() { callbackQSensor_AlwaysOnChanged(this); }; @@ -936,7 +936,7 @@ struct QtSensors_PackedString QDistanceSensor_QDistanceSensor_Type() class MyQGyroscope: public QGyroscope { public: - MyQGyroscope(QObject *parent) : QGyroscope(parent) {}; + MyQGyroscope(QObject *parent = Q_NULLPTR) : QGyroscope(parent) {}; ~MyQGyroscope() { callbackQGyroscope_DestroyQGyroscope(this); }; bool start() { return callbackQSensor_Start(this) != 0; }; void Signal_ActiveChanged() { callbackQSensor_ActiveChanged(this); }; @@ -1125,7 +1125,7 @@ char QHolsterReading_Holstered(void* ptr) class MyQHolsterSensor: public QHolsterSensor { public: - MyQHolsterSensor(QObject *parent) : QHolsterSensor(parent) {}; + MyQHolsterSensor(QObject *parent = Q_NULLPTR) : QHolsterSensor(parent) {}; bool start() { return callbackQSensor_Start(this) != 0; }; void Signal_ActiveChanged() { callbackQSensor_ActiveChanged(this); }; void Signal_AlwaysOnChanged() { callbackQSensor_AlwaysOnChanged(this); }; @@ -1251,7 +1251,7 @@ double QIRProximityReading_Reflectance(void* ptr) class MyQIRProximitySensor: public QIRProximitySensor { public: - MyQIRProximitySensor(QObject *parent) : QIRProximitySensor(parent) {}; + MyQIRProximitySensor(QObject *parent = Q_NULLPTR) : QIRProximitySensor(parent) {}; ~MyQIRProximitySensor() { callbackQIRProximitySensor_DestroyQIRProximitySensor(this); }; bool start() { return callbackQSensor_Start(this) != 0; }; void Signal_ActiveChanged() { callbackQSensor_ActiveChanged(this); }; @@ -1383,7 +1383,7 @@ double QLightReading_Lux(void* ptr) class MyQLightSensor: public QLightSensor { public: - MyQLightSensor(QObject *parent) : QLightSensor(parent) {}; + MyQLightSensor(QObject *parent = Q_NULLPTR) : QLightSensor(parent) {}; void Signal_FieldOfViewChanged(qreal fieldOfView) { callbackQLightSensor_FieldOfViewChanged(this, fieldOfView); }; ~MyQLightSensor() { callbackQLightSensor_DestroyQLightSensor(this); }; bool start() { return callbackQSensor_Start(this) != 0; }; @@ -1504,7 +1504,7 @@ struct QtSensors_PackedString QLightSensor_QLightSensor_Type() class MyQMagnetometer: public QMagnetometer { public: - MyQMagnetometer(QObject *parent) : QMagnetometer(parent) {}; + MyQMagnetometer(QObject *parent = Q_NULLPTR) : QMagnetometer(parent) {}; void Signal_ReturnGeoValuesChanged(bool returnGeoValues) { callbackQMagnetometer_ReturnGeoValuesChanged(this, returnGeoValues); }; ~MyQMagnetometer() { callbackQMagnetometer_DestroyQMagnetometer(this); }; bool start() { return callbackQSensor_Start(this) != 0; }; @@ -1729,7 +1729,7 @@ long long QOrientationReading_Orientation(void* ptr) class MyQOrientationSensor: public QOrientationSensor { public: - MyQOrientationSensor(QObject *parent) : QOrientationSensor(parent) {}; + MyQOrientationSensor(QObject *parent = Q_NULLPTR) : QOrientationSensor(parent) {}; ~MyQOrientationSensor() { callbackQOrientationSensor_DestroyQOrientationSensor(this); }; bool start() { return callbackQSensor_Start(this) != 0; }; void Signal_ActiveChanged() { callbackQSensor_ActiveChanged(this); }; @@ -1871,7 +1871,7 @@ double QPressureReading_Temperature(void* ptr) class MyQPressureSensor: public QPressureSensor { public: - MyQPressureSensor(QObject *parent) : QPressureSensor(parent) {}; + MyQPressureSensor(QObject *parent = Q_NULLPTR) : QPressureSensor(parent) {}; bool start() { return callbackQSensor_Start(this) != 0; }; void Signal_ActiveChanged() { callbackQSensor_ActiveChanged(this); }; void Signal_AlwaysOnChanged() { callbackQSensor_AlwaysOnChanged(this); }; @@ -1997,7 +1997,7 @@ char QProximityReading_Close(void* ptr) class MyQProximitySensor: public QProximitySensor { public: - MyQProximitySensor(QObject *parent) : QProximitySensor(parent) {}; + MyQProximitySensor(QObject *parent = Q_NULLPTR) : QProximitySensor(parent) {}; ~MyQProximitySensor() { callbackQProximitySensor_DestroyQProximitySensor(this); }; bool start() { return callbackQSensor_Start(this) != 0; }; void Signal_ActiveChanged() { callbackQSensor_ActiveChanged(this); }; @@ -2139,7 +2139,7 @@ double QRotationReading_Z(void* ptr) class MyQRotationSensor: public QRotationSensor { public: - MyQRotationSensor(QObject *parent) : QRotationSensor(parent) {}; + MyQRotationSensor(QObject *parent = Q_NULLPTR) : QRotationSensor(parent) {}; void Signal_HasZChanged(bool hasZ) { callbackQRotationSensor_HasZChanged(this, hasZ); }; ~MyQRotationSensor() { callbackQRotationSensor_DestroyQRotationSensor(this); }; bool start() { return callbackQSensor_Start(this) != 0; }; @@ -2260,7 +2260,7 @@ struct QtSensors_PackedString QRotationSensor_QRotationSensor_Type() class MyQSensor: public QSensor { public: - MyQSensor(const QByteArray &type, QObject *parent) : QSensor(type, parent) {}; + MyQSensor(const QByteArray &type, QObject *parent = Q_NULLPTR) : QSensor(type, parent) {}; bool start() { return callbackQSensor_Start(this) != 0; }; void Signal_ActiveChanged() { callbackQSensor_ActiveChanged(this); }; void Signal_AlwaysOnChanged() { callbackQSensor_AlwaysOnChanged(this); }; @@ -3591,7 +3591,7 @@ void QSensorFilter_SetM_sensor(void* ptr, void* vqs) class MyQSensorGesture: public QSensorGesture { public: - MyQSensorGesture(const QStringList &ids, QObject *parent) : QSensorGesture(ids, parent) {}; + MyQSensorGesture(const QStringList &ids, QObject *parent = Q_NULLPTR) : QSensorGesture(ids, parent) {}; #ifdef Q_QDOC void Signal_Detected(QString gestureId) { QByteArray t7bc790 = gestureId.toUtf8(); QtSensors_PackedString gestureIdPacked = { const_cast(t7bc790.prepend("WHITESPACE").constData()+10), t7bc790.size()-10 };callbackQSensorGesture_Detected(this, gestureIdPacked); }; #endif @@ -3828,7 +3828,7 @@ void* QSensorGesture_MetaObjectDefault(void* ptr) class MyQSensorGestureManager: public QSensorGestureManager { public: - MyQSensorGestureManager(QObject *parent) : QSensorGestureManager(parent) {}; + MyQSensorGestureManager(QObject *parent = Q_NULLPTR) : QSensorGestureManager(parent) {}; void Signal_NewSensorGestureAvailable() { callbackQSensorGestureManager_NewSensorGestureAvailable(this); }; bool event(QEvent * e) { return callbackQSensorGestureManager_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQSensorGestureManager_EventFilter(this, watched, event) != 0; }; @@ -4102,7 +4102,7 @@ void* QSensorGesturePluginInterface___createRecognizers_newList(void* ptr) class MyQSensorGestureRecognizer: public QSensorGestureRecognizer { public: - MyQSensorGestureRecognizer(QObject *parent) : QSensorGestureRecognizer(parent) {}; + MyQSensorGestureRecognizer(QObject *parent = Q_NULLPTR) : QSensorGestureRecognizer(parent) {}; bool isActive() { return callbackQSensorGestureRecognizer_IsActive(this) != 0; }; bool start() { return callbackQSensorGestureRecognizer_Start(this) != 0; }; bool stop() { return callbackQSensorGestureRecognizer_Stop(this) != 0; }; @@ -4920,7 +4920,7 @@ char QTapReading_IsDoubleTap(void* ptr) class MyQTapSensor: public QTapSensor { public: - MyQTapSensor(QObject *parent) : QTapSensor(parent) {}; + MyQTapSensor(QObject *parent = Q_NULLPTR) : QTapSensor(parent) {}; void Signal_ReturnDoubleTapEventsChanged(bool returnDoubleTapEvents) { callbackQTapSensor_ReturnDoubleTapEventsChanged(this, returnDoubleTapEvents); }; ~MyQTapSensor() { callbackQTapSensor_DestroyQTapSensor(this); }; bool start() { return callbackQSensor_Start(this) != 0; }; @@ -5088,7 +5088,7 @@ double QTiltReading_YRotation(void* ptr) class MyQTiltSensor: public QTiltSensor { public: - MyQTiltSensor(QObject *parent) : QTiltSensor(parent) {}; + MyQTiltSensor(QObject *parent = Q_NULLPTR) : QTiltSensor(parent) {}; bool start() { return callbackQSensor_Start(this) != 0; }; void Signal_ActiveChanged() { callbackQSensor_ActiveChanged(this); }; void Signal_AlwaysOnChanged() { callbackQSensor_AlwaysOnChanged(this); }; diff --git a/serialbus/serialbus.cpp b/serialbus/serialbus.cpp index 3d13422b..b83e5baf 100755 --- a/serialbus/serialbus.cpp +++ b/serialbus/serialbus.cpp @@ -212,7 +212,7 @@ void* QCanBus_MetaObjectDefault(void* ptr) class MyQCanBusDevice: public QCanBusDevice { public: - MyQCanBusDevice(QObject *parent) : QCanBusDevice(parent) {}; + MyQCanBusDevice(QObject *parent = nullptr) : QCanBusDevice(parent) {}; QString interpretErrorFrame(const QCanBusFrame & frame) { return QString(callbackQCanBusDevice_InterpretErrorFrame(this, const_cast(&frame))); }; bool open() { return callbackQCanBusDevice_Open(this) != 0; }; bool waitForFramesReceived(int msecs) { return callbackQCanBusDevice_WaitForFramesReceived(this, msecs) != 0; }; @@ -752,7 +752,7 @@ unsigned int QCanBusFrame_FrameId(void* ptr) class MyQModbusClient: public QModbusClient { public: - MyQModbusClient(QObject *parent) : QModbusClient(parent) {}; + MyQModbusClient(QObject *parent = nullptr) : QModbusClient(parent) {}; bool processPrivateResponse(const QModbusResponse & response, QModbusDataUnit * data) { return callbackQModbusClient_ProcessPrivateResponse(this, const_cast(&response), data) != 0; }; bool processResponse(const QModbusResponse & response, QModbusDataUnit * data) { return callbackQModbusClient_ProcessResponse(this, const_cast(&response), data) != 0; }; void Signal_TimeoutChanged(int newTimeout) { callbackQModbusClient_TimeoutChanged(this, newTimeout); }; @@ -1056,7 +1056,7 @@ void* QModbusDataUnit___values_newList(void* ptr) class MyQModbusDevice: public QModbusDevice { public: - MyQModbusDevice(QObject *parent) : QModbusDevice(parent) {}; + MyQModbusDevice(QObject *parent = nullptr) : QModbusDevice(parent) {}; bool open() { return callbackQModbusDevice_Open(this) != 0; }; void close() { callbackQModbusDevice_Close(this); }; void Signal_ErrorOccurred(QModbusDevice::Error error) { callbackQModbusDevice_ErrorOccurred(this, error); }; @@ -1656,7 +1656,7 @@ void* QModbusPdu___encode_vector_newList2(void* ptr) class MyQModbusReply: public QModbusReply { public: - MyQModbusReply(ReplyType type, int serverAddress, QObject *parent) : QModbusReply(type, serverAddress, parent) {}; + MyQModbusReply(ReplyType type, int serverAddress, QObject *parent = nullptr) : QModbusReply(type, serverAddress, parent) {}; void Signal_ErrorOccurred(QModbusDevice::Error error) { callbackQModbusReply_ErrorOccurred(this, error); }; void Signal_Finished() { callbackQModbusReply_Finished(this); }; bool event(QEvent * e) { return callbackQModbusReply_Event(this, e) != 0; }; @@ -1902,7 +1902,7 @@ class MyQModbusRequest: public QModbusRequest { public: MyQModbusRequest() : QModbusRequest() {}; - MyQModbusRequest(FunctionCode code, const QByteArray &data) : QModbusRequest(code, data) {}; + MyQModbusRequest(FunctionCode code, const QByteArray &data = QByteArray()) : QModbusRequest(code, data) {}; MyQModbusRequest(const QModbusPdu &pdu) : QModbusRequest(pdu) {}; void setFunctionCode(QModbusPdu::FunctionCode code) { callbackQModbusPdu_SetFunctionCode(this, code); }; }; @@ -1936,7 +1936,7 @@ class MyQModbusResponse: public QModbusResponse { public: MyQModbusResponse() : QModbusResponse() {}; - MyQModbusResponse(FunctionCode code, const QByteArray &data) : QModbusResponse(code, data) {}; + MyQModbusResponse(FunctionCode code, const QByteArray &data = QByteArray()) : QModbusResponse(code, data) {}; MyQModbusResponse(const QModbusPdu &pdu) : QModbusResponse(pdu) {}; void setFunctionCode(QModbusPdu::FunctionCode code) { callbackQModbusPdu_SetFunctionCode(this, code); }; }; @@ -1969,7 +1969,7 @@ int QModbusResponse_QModbusResponse_MinimumDataSize(void* response) class MyQModbusRtuSerialMaster: public QModbusRtuSerialMaster { public: - MyQModbusRtuSerialMaster(QObject *parent) : QModbusRtuSerialMaster(parent) {}; + MyQModbusRtuSerialMaster(QObject *parent = nullptr) : QModbusRtuSerialMaster(parent) {}; bool processPrivateResponse(const QModbusResponse & response, QModbusDataUnit * data) { return callbackQModbusClient_ProcessPrivateResponse(this, const_cast(&response), data) != 0; }; bool processResponse(const QModbusResponse & response, QModbusDataUnit * data) { return callbackQModbusClient_ProcessResponse(this, const_cast(&response), data) != 0; }; void Signal_TimeoutChanged(int newTimeout) { callbackQModbusClient_TimeoutChanged(this, newTimeout); }; @@ -2044,7 +2044,7 @@ int QModbusRtuSerialMaster_InterFrameDelay(void* ptr) class MyQModbusRtuSerialSlave: public QModbusRtuSerialSlave { public: - MyQModbusRtuSerialSlave(QObject *parent) : QModbusRtuSerialSlave(parent) {}; + MyQModbusRtuSerialSlave(QObject *parent = nullptr) : QModbusRtuSerialSlave(parent) {}; QModbusResponse processPrivateRequest(const QModbusPdu & request) { return *static_cast(callbackQModbusServer_ProcessPrivateRequest(this, const_cast(&request))); }; QModbusResponse processRequest(const QModbusPdu & request) { return *static_cast(callbackQModbusServer_ProcessRequest(this, const_cast(&request))); }; @@ -2120,7 +2120,7 @@ void QModbusRtuSerialSlave_DestroyQModbusRtuSerialSlave(void* ptr) class MyQModbusServer: public QModbusServer { public: - MyQModbusServer(QObject *parent) : QModbusServer(parent) {}; + MyQModbusServer(QObject *parent = nullptr) : QModbusServer(parent) {}; QModbusResponse processPrivateRequest(const QModbusPdu & request) { return *static_cast(callbackQModbusServer_ProcessPrivateRequest(this, const_cast(&request))); }; QModbusResponse processRequest(const QModbusPdu & request) { return *static_cast(callbackQModbusServer_ProcessRequest(this, const_cast(&request))); }; bool setValue(int option, const QVariant & newValue) { return callbackQModbusServer_SetValue(this, option, const_cast(&newValue)) != 0; }; @@ -2379,7 +2379,7 @@ void QModbusServer_CloseDefault(void* ptr) class MyQModbusTcpClient: public QModbusTcpClient { public: - MyQModbusTcpClient(QObject *parent) : QModbusTcpClient(parent) {}; + MyQModbusTcpClient(QObject *parent = nullptr) : QModbusTcpClient(parent) {}; bool processPrivateResponse(const QModbusResponse & response, QModbusDataUnit * data) { return callbackQModbusClient_ProcessPrivateResponse(this, const_cast(&response), data) != 0; }; bool processResponse(const QModbusResponse & response, QModbusDataUnit * data) { return callbackQModbusClient_ProcessResponse(this, const_cast(&response), data) != 0; }; void Signal_TimeoutChanged(int newTimeout) { callbackQModbusClient_TimeoutChanged(this, newTimeout); }; @@ -2449,7 +2449,7 @@ void QModbusTcpClient_DestroyQModbusTcpClient(void* ptr) class MyQModbusTcpServer: public QModbusTcpServer { public: - MyQModbusTcpServer(QObject *parent) : QModbusTcpServer(parent) {}; + MyQModbusTcpServer(QObject *parent = nullptr) : QModbusTcpServer(parent) {}; QModbusResponse processPrivateRequest(const QModbusPdu & request) { return *static_cast(callbackQModbusServer_ProcessPrivateRequest(this, const_cast(&request))); }; QModbusResponse processRequest(const QModbusPdu & request) { return *static_cast(callbackQModbusServer_ProcessRequest(this, const_cast(&request))); }; bool setValue(int option, const QVariant & newValue) { return callbackQModbusServer_SetValue(this, option, const_cast(&newValue)) != 0; }; diff --git a/serialport/serialport.cpp b/serialport/serialport.cpp index 96df3e13..229c4c6a 100755 --- a/serialport/serialport.cpp +++ b/serialport/serialport.cpp @@ -44,9 +44,9 @@ class MyQSerialPort: public QSerialPort { public: - MyQSerialPort(QObject *parent) : QSerialPort(parent) {}; - MyQSerialPort(const QSerialPortInfo &serialPortInfo, QObject *parent) : QSerialPort(serialPortInfo, parent) {}; - MyQSerialPort(const QString &name, QObject *parent) : QSerialPort(name, parent) {}; + MyQSerialPort(QObject *parent = nullptr) : QSerialPort(parent) {}; + MyQSerialPort(const QSerialPortInfo &serialPortInfo, QObject *parent = nullptr) : QSerialPort(serialPortInfo, parent) {}; + MyQSerialPort(const QString &name, QObject *parent = nullptr) : QSerialPort(name, parent) {}; bool waitForBytesWritten(int msecs) { return callbackQSerialPort_WaitForBytesWritten(this, msecs) != 0; }; bool waitForReadyRead(int msecs) { return callbackQSerialPort_WaitForReadyRead(this, msecs) != 0; }; qint64 readData(char * data, qint64 maxSize) { QtSerialPort_PackedString dataPacked = { data, maxSize };return callbackQSerialPort_ReadData(this, dataPacked, maxSize); }; diff --git a/speech/speech.cpp b/speech/speech.cpp index edd0da21..6e364b87 100755 --- a/speech/speech.cpp +++ b/speech/speech.cpp @@ -41,8 +41,8 @@ class MyQTextToSpeech: public QTextToSpeech { public: - MyQTextToSpeech(QObject *parent) : QTextToSpeech(parent) {}; - MyQTextToSpeech(const QString &engine, QObject *parent) : QTextToSpeech(engine, parent) {}; + MyQTextToSpeech(QObject *parent = nullptr) : QTextToSpeech(parent) {}; + MyQTextToSpeech(const QString &engine, QObject *parent = nullptr) : QTextToSpeech(engine, parent) {}; void Signal_LocaleChanged(const QLocale & locale) { callbackQTextToSpeech_LocaleChanged(this, const_cast(&locale)); }; void pause() { callbackQTextToSpeech_Pause(this); }; void Signal_PitchChanged(double pitch) { callbackQTextToSpeech_PitchChanged(this, pitch); }; diff --git a/sql/sql.cpp b/sql/sql.cpp index 600e4313..1ca0bc25 100755 --- a/sql/sql.cpp +++ b/sql/sql.cpp @@ -311,7 +311,7 @@ struct QtSql_PackedString QSqlDatabase_QSqlDatabase_DefaultConnection() class MyQSqlDriver: public QSqlDriver { public: - MyQSqlDriver(QObject *parent) : QSqlDriver(parent) {}; + MyQSqlDriver(QObject *parent = Q_NULLPTR) : QSqlDriver(parent) {}; bool beginTransaction() { return callbackQSqlDriver_BeginTransaction(this) != 0; }; bool commitTransaction() { return callbackQSqlDriver_CommitTransaction(this) != 0; }; bool open(const QString & db, const QString & user, const QString & password, const QString & host, int port, const QString & options) { QByteArray t0352a8 = db.toUtf8(); QtSql_PackedString dbPacked = { const_cast(t0352a8.prepend("WHITESPACE").constData()+10), t0352a8.size()-10 };QByteArray t12dea9 = user.toUtf8(); QtSql_PackedString userPacked = { const_cast(t12dea9.prepend("WHITESPACE").constData()+10), t12dea9.size()-10 };QByteArray t5baa61 = password.toUtf8(); QtSql_PackedString passwordPacked = { const_cast(t5baa61.prepend("WHITESPACE").constData()+10), t5baa61.size()-10 };QByteArray t86dd1c = host.toUtf8(); QtSql_PackedString hostPacked = { const_cast(t86dd1c.prepend("WHITESPACE").constData()+10), t86dd1c.size()-10 };QByteArray t513f8d = options.toUtf8(); QtSql_PackedString optionsPacked = { const_cast(t513f8d.prepend("WHITESPACE").constData()+10), t513f8d.size()-10 };return callbackQSqlDriver_Open(this, dbPacked, userPacked, passwordPacked, hostPacked, port, optionsPacked) != 0; }; @@ -806,7 +806,7 @@ void* QSqlDriverCreatorBase_CreateObject(void* ptr) class MyQSqlDriverPlugin: public QSqlDriverPlugin { public: - MyQSqlDriverPlugin(QObject *parent) : QSqlDriverPlugin(parent) {}; + MyQSqlDriverPlugin(QObject *parent = Q_NULLPTR) : QSqlDriverPlugin(parent) {}; QSqlDriver * create(const QString & key) { QByteArray ta62f22 = key.toUtf8(); QtSql_PackedString keyPacked = { const_cast(ta62f22.prepend("WHITESPACE").constData()+10), ta62f22.size()-10 };return static_cast(callbackQSqlDriverPlugin_Create(this, keyPacked)); }; bool event(QEvent * e) { return callbackQSqlDriverPlugin_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQSqlDriverPlugin_EventFilter(this, watched, event) != 0; }; @@ -1465,7 +1465,7 @@ void* QSqlQuery_____boundValues_keyList_newList(void* ptr) class MyQSqlQueryModel: public QSqlQueryModel { public: - MyQSqlQueryModel(QObject *parent) : QSqlQueryModel(parent) {}; + MyQSqlQueryModel(QObject *parent = Q_NULLPTR) : QSqlQueryModel(parent) {}; bool insertColumns(int column, int count, const QModelIndex & parent) { return callbackQSqlQueryModel_InsertColumns(this, column, count, const_cast(&parent)) != 0; }; bool removeColumns(int column, int count, const QModelIndex & parent) { return callbackQSqlQueryModel_RemoveColumns(this, column, count, const_cast(&parent)) != 0; }; bool setHeaderData(int section, Qt::Orientation orientation, const QVariant & value, int role) { return callbackQSqlQueryModel_SetHeaderData(this, section, orientation, const_cast(&value), role) != 0; }; @@ -2682,7 +2682,7 @@ char QSqlRelation_IsValid(void* ptr) class MyQSqlRelationalDelegate: public QSqlRelationalDelegate { public: - MyQSqlRelationalDelegate(QObject *parent) : QSqlRelationalDelegate(parent) {}; + MyQSqlRelationalDelegate(QObject *parent = 0) : QSqlRelationalDelegate(parent) {}; QWidget * createEditor(QWidget * parent, const QStyleOptionViewItem & option, const QModelIndex & index) const { return static_cast(callbackQSqlRelationalDelegate_CreateEditor(const_cast(static_cast(this)), parent, const_cast(&option), const_cast(&index))); }; void setModelData(QWidget * editor, QAbstractItemModel * model, const QModelIndex & index) const { callbackQSqlRelationalDelegate_SetModelData(const_cast(static_cast(this)), editor, model, const_cast(&index)); }; bool editorEvent(QEvent * event, QAbstractItemModel * model, const QStyleOptionViewItem & option, const QModelIndex & index) { return callbackQSqlRelationalDelegate_EditorEvent(this, event, model, const_cast(&option), const_cast(&index)) != 0; }; @@ -2946,7 +2946,7 @@ void* QSqlRelationalDelegate_MetaObjectDefault(void* ptr) class MyQSqlRelationalTableModel: public QSqlRelationalTableModel { public: - MyQSqlRelationalTableModel(QObject *parent, QSqlDatabase db) : QSqlRelationalTableModel(parent, db) {}; + MyQSqlRelationalTableModel(QObject *parent = Q_NULLPTR, QSqlDatabase db = QSqlDatabase()) : QSqlRelationalTableModel(parent, db) {}; bool insertRowIntoTable(const QSqlRecord & values) { return callbackQSqlTableModel_InsertRowIntoTable(this, const_cast(&values)) != 0; }; bool removeColumns(int column, int count, const QModelIndex & parent) { return callbackQSqlQueryModel_RemoveColumns(this, column, count, const_cast(&parent)) != 0; }; bool select() { return callbackQSqlRelationalTableModel_Select(this) != 0; }; @@ -3507,7 +3507,7 @@ void* QSqlResult___boundValues_newList(void* ptr) class MyQSqlTableModel: public QSqlTableModel { public: - MyQSqlTableModel(QObject *parent, QSqlDatabase db) : QSqlTableModel(parent, db) {}; + MyQSqlTableModel(QObject *parent = Q_NULLPTR, QSqlDatabase db = QSqlDatabase()) : QSqlTableModel(parent, db) {}; bool deleteRowFromTable(int row) { return callbackQSqlTableModel_DeleteRowFromTable(this, row) != 0; }; bool insertRowIntoTable(const QSqlRecord & values) { return callbackQSqlTableModel_InsertRowIntoTable(this, const_cast(&values)) != 0; }; bool insertRows(int row, int count, const QModelIndex & parent) { return callbackQSqlQueryModel_InsertRows(this, row, count, const_cast(&parent)) != 0; }; diff --git a/svg/svg.cpp b/svg/svg.cpp index 9a4b369a..44460827 100755 --- a/svg/svg.cpp +++ b/svg/svg.cpp @@ -89,8 +89,8 @@ class MyQGraphicsSvgItem: public QGraphicsSvgItem { public: - MyQGraphicsSvgItem(QGraphicsItem *parent) : QGraphicsSvgItem(parent) {}; - MyQGraphicsSvgItem(const QString &fileName, QGraphicsItem *parent) : QGraphicsSvgItem(fileName, parent) {}; + MyQGraphicsSvgItem(QGraphicsItem *parent = Q_NULLPTR) : QGraphicsSvgItem(parent) {}; + MyQGraphicsSvgItem(const QString &fileName, QGraphicsItem *parent = Q_NULLPTR) : QGraphicsSvgItem(fileName, parent) {}; void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsSvgItem_Paint(this, painter, const_cast(option), widget); }; QRectF boundingRect() const { return *static_cast(callbackQGraphicsSvgItem_BoundingRect(const_cast(static_cast(this)))); }; int type() const { return callbackQGraphicsSvgItem_Type(const_cast(static_cast(this))); }; @@ -666,10 +666,10 @@ int QSvgGenerator_Resolution(void* ptr) class MyQSvgRenderer: public QSvgRenderer { public: - MyQSvgRenderer(QObject *parent) : QSvgRenderer(parent) {}; - MyQSvgRenderer(QXmlStreamReader *contents, QObject *parent) : QSvgRenderer(contents, parent) {}; - MyQSvgRenderer(const QByteArray &contents, QObject *parent) : QSvgRenderer(contents, parent) {}; - MyQSvgRenderer(const QString &filename, QObject *parent) : QSvgRenderer(filename, parent) {}; + MyQSvgRenderer(QObject *parent = Q_NULLPTR) : QSvgRenderer(parent) {}; + MyQSvgRenderer(QXmlStreamReader *contents, QObject *parent = Q_NULLPTR) : QSvgRenderer(contents, parent) {}; + MyQSvgRenderer(const QByteArray &contents, QObject *parent = Q_NULLPTR) : QSvgRenderer(contents, parent) {}; + MyQSvgRenderer(const QString &filename, QObject *parent = Q_NULLPTR) : QSvgRenderer(filename, parent) {}; bool load(QXmlStreamReader * contents) { return callbackQSvgRenderer_Load3(this, contents) != 0; }; bool load(const QByteArray & contents) { return callbackQSvgRenderer_Load2(this, const_cast(&contents)) != 0; }; bool load(const QString & filename) { QByteArray t08deae = filename.toUtf8(); QtSvg_PackedString filenamePacked = { const_cast(t08deae.prepend("WHITESPACE").constData()+10), t08deae.size()-10 };return callbackQSvgRenderer_Load(this, filenamePacked) != 0; }; @@ -1118,8 +1118,8 @@ void* QSvgRenderer_MetaObjectDefault(void* ptr) class MyQSvgWidget: public QSvgWidget { public: - MyQSvgWidget(QWidget *parent) : QSvgWidget(parent) {}; - MyQSvgWidget(const QString &file, QWidget *parent) : QSvgWidget(file, parent) {}; + MyQSvgWidget(QWidget *parent = Q_NULLPTR) : QSvgWidget(parent) {}; + MyQSvgWidget(const QString &file, QWidget *parent = Q_NULLPTR) : QSvgWidget(file, parent) {}; void load(const QByteArray & contents) { callbackQSvgWidget_Load2(this, const_cast(&contents)); }; void load(const QString & file) { QByteArray t971c41 = file.toUtf8(); QtSvg_PackedString filePacked = { const_cast(t971c41.prepend("WHITESPACE").constData()+10), t971c41.size()-10 };callbackQSvgWidget_Load(this, filePacked); }; void paintEvent(QPaintEvent * event) { callbackQSvgWidget_PaintEvent(this, event); }; diff --git a/uitools/uitools.cpp b/uitools/uitools.cpp index a96151a2..6d0be09e 100755 --- a/uitools/uitools.cpp +++ b/uitools/uitools.cpp @@ -46,7 +46,7 @@ class MyQUiLoader: public QUiLoader { public: - MyQUiLoader(QObject *parent) : QUiLoader(parent) {}; + MyQUiLoader(QObject *parent = Q_NULLPTR) : QUiLoader(parent) {}; QAction * createAction(QObject * parent, const QString & name) { QByteArray t6ae999 = name.toUtf8(); QtUiTools_PackedString namePacked = { const_cast(t6ae999.prepend("WHITESPACE").constData()+10), t6ae999.size()-10 };return static_cast(callbackQUiLoader_CreateAction(this, parent, namePacked)); }; QActionGroup * createActionGroup(QObject * parent, const QString & name) { QByteArray t6ae999 = name.toUtf8(); QtUiTools_PackedString namePacked = { const_cast(t6ae999.prepend("WHITESPACE").constData()+10), t6ae999.size()-10 };return static_cast(callbackQUiLoader_CreateActionGroup(this, parent, namePacked)); }; QLayout * createLayout(const QString & className, QObject * parent, const QString & name) { QByteArray td80a05 = className.toUtf8(); QtUiTools_PackedString classNamePacked = { const_cast(td80a05.prepend("WHITESPACE").constData()+10), td80a05.size()-10 };QByteArray t6ae999 = name.toUtf8(); QtUiTools_PackedString namePacked = { const_cast(t6ae999.prepend("WHITESPACE").constData()+10), t6ae999.size()-10 };return static_cast(callbackQUiLoader_CreateLayout(this, classNamePacked, parent, namePacked)); }; diff --git a/webchannel/webchannel.cpp b/webchannel/webchannel.cpp index 82298baf..8a923d9d 100755 --- a/webchannel/webchannel.cpp +++ b/webchannel/webchannel.cpp @@ -45,7 +45,7 @@ class MyQWebChannel: public QWebChannel { public: - MyQWebChannel(QObject *parent) : QWebChannel(parent) {}; + MyQWebChannel(QObject *parent = Q_NULLPTR) : QWebChannel(parent) {}; void Signal_BlockUpdatesChanged(bool block) { callbackQWebChannel_BlockUpdatesChanged(this, block); }; void connectTo(QWebChannelAbstractTransport * transport) { callbackQWebChannel_ConnectTo(this, transport); }; void disconnectFrom(QWebChannelAbstractTransport * transport) { callbackQWebChannel_DisconnectFrom(this, transport); }; @@ -366,7 +366,7 @@ void* QWebChannel_MetaObjectDefault(void* ptr) class MyQWebChannelAbstractTransport: public QWebChannelAbstractTransport { public: - MyQWebChannelAbstractTransport(QObject *parent) : QWebChannelAbstractTransport(parent) {}; + MyQWebChannelAbstractTransport(QObject *parent = Q_NULLPTR) : QWebChannelAbstractTransport(parent) {}; void Signal_MessageReceived(const QJsonObject & message, QWebChannelAbstractTransport * transport) { callbackQWebChannelAbstractTransport_MessageReceived(this, const_cast(&message), transport); }; void sendMessage(const QJsonObject & message) { callbackQWebChannelAbstractTransport_SendMessage(this, const_cast(&message)); }; ~MyQWebChannelAbstractTransport() { callbackQWebChannelAbstractTransport_DestroyQWebChannelAbstractTransport(this); }; diff --git a/webengine/webengine.cpp b/webengine/webengine.cpp index 0ba17798..011a43e9 100755 --- a/webengine/webengine.cpp +++ b/webengine/webengine.cpp @@ -99,7 +99,7 @@ class MyQQuickWebEngineProfile: public QQuickWebEngineProfile { public: - MyQQuickWebEngineProfile(QObject *parent) : QQuickWebEngineProfile(parent) {}; + MyQQuickWebEngineProfile(QObject *parent = Q_NULLPTR) : QQuickWebEngineProfile(parent) {}; void Signal_CachePathChanged() { callbackQQuickWebEngineProfile_CachePathChanged(this); }; void Signal_HttpAcceptLanguageChanged() { callbackQQuickWebEngineProfile_HttpAcceptLanguageChanged(this); }; void Signal_HttpCacheMaximumSizeChanged() { callbackQQuickWebEngineProfile_HttpCacheMaximumSizeChanged(this); }; @@ -1348,8 +1348,8 @@ char QWebEngineHistoryItem_IsValid(void* ptr) class MyQWebEnginePage: public QWebEnginePage { public: - MyQWebEnginePage(QObject *parent) : QWebEnginePage(parent) {}; - MyQWebEnginePage(QWebEngineProfile *profile, QObject *parent) : QWebEnginePage(profile, parent) {}; + MyQWebEnginePage(QObject *parent = Q_NULLPTR) : QWebEnginePage(parent) {}; + MyQWebEnginePage(QWebEngineProfile *profile, QObject *parent = Q_NULLPTR) : QWebEnginePage(profile, parent) {}; QStringList chooseFiles(QWebEnginePage::FileSelectionMode mode, const QStringList & oldFiles, const QStringList & acceptedMimeTypes) { QByteArray t76015f = oldFiles.join("|").toUtf8(); QtWebEngine_PackedString oldFilesPacked = { const_cast(t76015f.prepend("WHITESPACE").constData()+10), t76015f.size()-10 };QByteArray t541092 = acceptedMimeTypes.join("|").toUtf8(); QtWebEngine_PackedString acceptedMimeTypesPacked = { const_cast(t541092.prepend("WHITESPACE").constData()+10), t541092.size()-10 };return QString(callbackQWebEnginePage_ChooseFiles(this, mode, oldFilesPacked, acceptedMimeTypesPacked)).split("|", QString::SkipEmptyParts); }; QWebEnginePage * createWindow(QWebEnginePage::WebWindowType ty) { return static_cast(callbackQWebEnginePage_CreateWindow(this, ty)); }; bool acceptNavigationRequest(const QUrl & url, QWebEnginePage::NavigationType ty, bool isMainFrame) { return callbackQWebEnginePage_AcceptNavigationRequest(this, const_cast(&url), ty, isMainFrame) != 0; }; @@ -2182,8 +2182,8 @@ void* QWebEnginePage_MetaObjectDefault(void* ptr) class MyQWebEngineProfile: public QWebEngineProfile { public: - MyQWebEngineProfile(QObject *parent) : QWebEngineProfile(parent) {}; - MyQWebEngineProfile(const QString &storageName, QObject *parent) : QWebEngineProfile(storageName, parent) {}; + MyQWebEngineProfile(QObject *parent = Q_NULLPTR) : QWebEngineProfile(parent) {}; + MyQWebEngineProfile(const QString &storageName, QObject *parent = Q_NULLPTR) : QWebEngineProfile(storageName, parent) {}; void Signal_DownloadRequested(QWebEngineDownloadItem * download) { callbackQWebEngineProfile_DownloadRequested(this, download); }; bool event(QEvent * e) { return callbackQWebEngineProfile_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWebEngineProfile_EventFilter(this, watched, event) != 0; }; @@ -2888,7 +2888,7 @@ long long QWebEngineUrlRequestInfo_ResourceType(void* ptr) class MyQWebEngineUrlRequestInterceptor: public QWebEngineUrlRequestInterceptor { public: - MyQWebEngineUrlRequestInterceptor(QObject *p) : QWebEngineUrlRequestInterceptor(p) {}; + MyQWebEngineUrlRequestInterceptor(QObject *p = Q_NULLPTR) : QWebEngineUrlRequestInterceptor(p) {}; void interceptRequest(QWebEngineUrlRequestInfo & info) { callbackQWebEngineUrlRequestInterceptor_InterceptRequest(this, static_cast(&info)); }; bool event(QEvent * e) { return callbackQWebEngineUrlRequestInterceptor_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWebEngineUrlRequestInterceptor_EventFilter(this, watched, event) != 0; }; @@ -3233,7 +3233,7 @@ void* QWebEngineUrlRequestJob_MetaObjectDefault(void* ptr) class MyQWebEngineUrlSchemeHandler: public QWebEngineUrlSchemeHandler { public: - MyQWebEngineUrlSchemeHandler(QObject *parent) : QWebEngineUrlSchemeHandler(parent) {}; + MyQWebEngineUrlSchemeHandler(QObject *parent = Q_NULLPTR) : QWebEngineUrlSchemeHandler(parent) {}; void requestStarted(QWebEngineUrlRequestJob * request) { callbackQWebEngineUrlSchemeHandler_RequestStarted(this, request); }; bool event(QEvent * e) { return callbackQWebEngineUrlSchemeHandler_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWebEngineUrlSchemeHandler_EventFilter(this, watched, event) != 0; }; @@ -3422,7 +3422,7 @@ void* QWebEngineUrlSchemeHandler_MetaObjectDefault(void* ptr) class MyQWebEngineView: public QWebEngineView { public: - MyQWebEngineView(QWidget *parent) : QWebEngineView(parent) {}; + MyQWebEngineView(QWidget *parent = Q_NULLPTR) : QWebEngineView(parent) {}; QWebEngineView * createWindow(QWebEnginePage::WebWindowType ty) { return static_cast(callbackQWebEngineView_CreateWindow(this, ty)); }; bool event(QEvent * ev) { return callbackQWebEngineView_Event(this, ev) != 0; }; void back() { callbackQWebEngineView_Back(this); }; diff --git a/websockets/websockets.cpp b/websockets/websockets.cpp index eb416f70..03e4827c 100755 --- a/websockets/websockets.cpp +++ b/websockets/websockets.cpp @@ -54,7 +54,7 @@ class MyQMaskGenerator: public QMaskGenerator { public: - MyQMaskGenerator(QObject *parent) : QMaskGenerator(parent) {}; + MyQMaskGenerator(QObject *parent = Q_NULLPTR) : QMaskGenerator(parent) {}; bool seed() { return callbackQMaskGenerator_Seed(this) != 0; }; quint32 nextMask() { return callbackQMaskGenerator_NextMask(this); }; ~MyQMaskGenerator() { callbackQMaskGenerator_DestroyQMaskGenerator(this); }; @@ -255,7 +255,7 @@ void* QMaskGenerator_MetaObjectDefault(void* ptr) class MyQWebSocket: public QWebSocket { public: - MyQWebSocket(const QString &origin, QWebSocketProtocol::Version version, QObject *parent) : QWebSocket(origin, version, parent) {}; + MyQWebSocket(const QString &origin = QString(), QWebSocketProtocol::Version version = QWebSocketProtocol::VersionLatest, QObject *parent = Q_NULLPTR) : QWebSocket(origin, version, parent) {}; void Signal_AboutToClose() { callbackQWebSocket_AboutToClose(this); }; void Signal_BinaryFrameReceived(const QByteArray & frame, bool isLastFrame) { callbackQWebSocket_BinaryFrameReceived(this, const_cast(&frame), isLastFrame); }; void Signal_BinaryMessageReceived(const QByteArray & message) { callbackQWebSocket_BinaryMessageReceived(this, const_cast(&message)); }; @@ -969,7 +969,7 @@ char QWebSocketCorsAuthenticator_Allowed(void* ptr) class MyQWebSocketServer: public QWebSocketServer { public: - MyQWebSocketServer(const QString &serverName, SslMode secureMode, QObject *parent) : QWebSocketServer(serverName, secureMode, parent) {}; + MyQWebSocketServer(const QString &serverName, SslMode secureMode, QObject *parent = Q_NULLPTR) : QWebSocketServer(serverName, secureMode, parent) {}; QWebSocket * nextPendingConnection() { return static_cast(callbackQWebSocketServer_NextPendingConnection(this)); }; void Signal_AcceptError(QAbstractSocket::SocketError socketError) { callbackQWebSocketServer_AcceptError(this, socketError); }; void Signal_Closed() { callbackQWebSocketServer_Closed(this); }; diff --git a/widgets/widgets.cpp b/widgets/widgets.cpp index 782da0a1..7685ea46 100755 --- a/widgets/widgets.cpp +++ b/widgets/widgets.cpp @@ -330,7 +330,7 @@ class MyQAbstractButton: public QAbstractButton { public: - MyQAbstractButton(QWidget *parent) : QAbstractButton(parent) {}; + MyQAbstractButton(QWidget *parent = Q_NULLPTR) : QAbstractButton(parent) {}; void animateClick(int msec) { callbackQAbstractButton_AnimateClick(this, msec); }; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; void checkStateSet() { callbackQAbstractButton_CheckStateSet(this); }; @@ -773,7 +773,7 @@ int QAbstractButton_AutoRepeatInterval(void* ptr) class MyQAbstractGraphicsShapeItem: public QAbstractGraphicsShapeItem { public: - MyQAbstractGraphicsShapeItem(QGraphicsItem *parent) : QAbstractGraphicsShapeItem(parent) {}; + MyQAbstractGraphicsShapeItem(QGraphicsItem *parent = Q_NULLPTR) : QAbstractGraphicsShapeItem(parent) {}; QPainterPath opaqueArea() const { return *static_cast(callbackQGraphicsItem_OpaqueArea(const_cast(static_cast(this)))); }; bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast(static_cast(this)), const_cast(item)) != 0; }; QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast(callbackQGraphicsItem_ItemChange(this, change, const_cast(&value))); }; @@ -891,7 +891,7 @@ void* QAbstractGraphicsShapeItem_BoundingRectDefault(void* ptr) class MyQAbstractItemDelegate: public QAbstractItemDelegate { public: - MyQAbstractItemDelegate(QObject *parent) : QAbstractItemDelegate(parent) {}; + MyQAbstractItemDelegate(QObject *parent = Q_NULLPTR) : QAbstractItemDelegate(parent) {}; bool editorEvent(QEvent * event, QAbstractItemModel * model, const QStyleOptionViewItem & option, const QModelIndex & index) { return callbackQAbstractItemDelegate_EditorEvent(this, event, model, const_cast(&option), const_cast(&index)) != 0; }; bool helpEvent(QHelpEvent * event, QAbstractItemView * view, const QStyleOptionViewItem & option, const QModelIndex & index) { return callbackQAbstractItemDelegate_HelpEvent(this, event, view, const_cast(&option), const_cast(&index)) != 0; }; void Signal_CloseEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemDelegate_CloseEditor(this, editor, hint); }; @@ -1398,7 +1398,7 @@ void* QAbstractItemDelegate_MetaObjectDefault(void* ptr) class MyQAbstractItemView: public QAbstractItemView { public: - MyQAbstractItemView(QWidget *parent) : QAbstractItemView(parent) {}; + MyQAbstractItemView(QWidget *parent = Q_NULLPTR) : QAbstractItemView(parent) {}; QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast(callbackQAbstractItemView_MoveCursor(this, cursorAction, modifiers)); }; bool edit(const QModelIndex & index, QAbstractItemView::EditTrigger trigger, QEvent * event) { return callbackQAbstractItemView_Edit2(this, const_cast(&index), trigger, event) != 0; }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; @@ -2940,7 +2940,7 @@ void* QAbstractItemView___selectedIndexes_newList(void* ptr) class MyQAbstractScrollArea: public QAbstractScrollArea { public: - MyQAbstractScrollArea(QWidget *parent) : QAbstractScrollArea(parent) {}; + MyQAbstractScrollArea(QWidget *parent = Q_NULLPTR) : QAbstractScrollArea(parent) {}; bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; }; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; @@ -3320,7 +3320,7 @@ void* QAbstractScrollArea___scrollBarWidgets_newList(void* ptr) class MyQAbstractSlider: public QAbstractSlider { public: - MyQAbstractSlider(QWidget *parent) : QAbstractSlider(parent) {}; + MyQAbstractSlider(QWidget *parent = Q_NULLPTR) : QAbstractSlider(parent) {}; void Signal_ActionTriggered(int action) { callbackQAbstractSlider_ActionTriggered(this, action); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void keyPressEvent(QKeyEvent * ev) { callbackQWidget_KeyPressEvent(this, ev); }; @@ -3692,7 +3692,7 @@ int QAbstractSlider_Value(void* ptr) class MyQAbstractSpinBox: public QAbstractSpinBox { public: - MyQAbstractSpinBox(QWidget *parent) : QAbstractSpinBox(parent) {}; + MyQAbstractSpinBox(QWidget *parent = Q_NULLPTR) : QAbstractSpinBox(parent) {}; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; void clear() { callbackQAbstractSpinBox_Clear(this); }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; @@ -4371,9 +4371,9 @@ struct QtWidgets_PackedString QAccessibleWidget_LocalizedActionNameDefault(void* class MyQAction: public QAction { public: - MyQAction(QObject *parent) : QAction(parent) {}; - MyQAction(const QIcon &icon, const QString &text, QObject *parent) : QAction(icon, text, parent) {}; - MyQAction(const QString &text, QObject *parent) : QAction(text, parent) {}; + MyQAction(QObject *parent = nullptr) : QAction(parent) {}; + MyQAction(const QIcon &icon, const QString &text, QObject *parent = nullptr) : QAction(icon, text, parent) {}; + MyQAction(const QString &text, QObject *parent = nullptr) : QAction(text, parent) {}; bool event(QEvent * e) { return callbackQAction_Event(this, e) != 0; }; void Signal_Changed() { callbackQAction_Changed(this); }; void hover() { callbackQAction_Hover(this); }; @@ -6156,7 +6156,7 @@ void* QApplication_MetaObjectDefault(void* ptr) class MyQBoxLayout: public QBoxLayout { public: - MyQBoxLayout(Direction dir, QWidget *parent) : QBoxLayout(dir, parent) {}; + MyQBoxLayout(Direction dir, QWidget *parent = Q_NULLPTR) : QBoxLayout(dir, parent) {}; QLayoutItem * takeAt(int index) { return static_cast(callbackQBoxLayout_TakeAt(this, index)); }; void addItem(QLayoutItem * item) { callbackQBoxLayout_AddItem(this, item); }; void invalidate() { callbackQLayoutItem_Invalidate(this); }; @@ -6393,7 +6393,7 @@ int QBoxLayout_Stretch(void* ptr, int index) class MyQButtonGroup: public QButtonGroup { public: - MyQButtonGroup(QObject *parent) : QButtonGroup(parent) {}; + MyQButtonGroup(QObject *parent = Q_NULLPTR) : QButtonGroup(parent) {}; void Signal_ButtonClicked(QAbstractButton * button) { callbackQButtonGroup_ButtonClicked(this, button); }; void Signal_ButtonClicked2(int id) { callbackQButtonGroup_ButtonClicked2(this, id); }; void Signal_ButtonPressed(QAbstractButton * button) { callbackQButtonGroup_ButtonPressed(this, button); }; @@ -6819,7 +6819,7 @@ void* QButtonGroup_MetaObjectDefault(void* ptr) class MyQCalendarWidget: public QCalendarWidget { public: - MyQCalendarWidget(QWidget *parent) : QCalendarWidget(parent) {}; + MyQCalendarWidget(QWidget *parent = Q_NULLPTR) : QCalendarWidget(parent) {}; void Signal_Activated(const QDate & date) { callbackQCalendarWidget_Activated(this, const_cast(&date)); }; void Signal_Clicked(const QDate & date) { callbackQCalendarWidget_Clicked(this, const_cast(&date)); }; void Signal_CurrentPageChanged(int year, int month) { callbackQCalendarWidget_CurrentPageChanged(this, year, month); }; @@ -7285,8 +7285,8 @@ void* QCalendarWidget_____dateTextFormat_keyList_newList(void* ptr) class MyQCheckBox: public QCheckBox { public: - MyQCheckBox(QWidget *parent) : QCheckBox(parent) {}; - MyQCheckBox(const QString &text, QWidget *parent) : QCheckBox(text, parent) {}; + MyQCheckBox(QWidget *parent = Q_NULLPTR) : QCheckBox(parent) {}; + MyQCheckBox(const QString &text, QWidget *parent = Q_NULLPTR) : QCheckBox(text, parent) {}; void checkStateSet() { callbackQAbstractButton_CheckStateSet(this); }; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void nextCheckState() { callbackQAbstractButton_NextCheckState(this); }; @@ -7439,8 +7439,8 @@ void QCheckBox_InitStyleOption(void* ptr, void* option) class MyQColorDialog: public QColorDialog { public: - MyQColorDialog(QWidget *parent) : QColorDialog(parent) {}; - MyQColorDialog(const QColor &initial, QWidget *parent) : QColorDialog(initial, parent) {}; + MyQColorDialog(QWidget *parent = Q_NULLPTR) : QColorDialog(parent) {}; + MyQColorDialog(const QColor &initial, QWidget *parent = Q_NULLPTR) : QColorDialog(initial, parent) {}; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; void Signal_ColorSelected(const QColor & color) { callbackQColorDialog_ColorSelected(this, const_cast(&color)); }; void Signal_CurrentColorChanged(const QColor & color) { callbackQColorDialog_CurrentColorChanged(this, const_cast(&color)); }; @@ -7720,7 +7720,7 @@ void* QColormap___colormap_newList(void* ptr) class MyQColumnView: public QColumnView { public: - MyQColumnView(QWidget *parent) : QColumnView(parent) {}; + MyQColumnView(QWidget *parent = Q_NULLPTR) : QColumnView(parent) {}; QAbstractItemView * createColumn(const QModelIndex & index) { return static_cast(callbackQColumnView_CreateColumn(this, const_cast(&index))); }; QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast(callbackQColumnView_MoveCursor(this, cursorAction, modifiers)); }; void currentChanged(const QModelIndex & current, const QModelIndex & previous) { callbackQColumnView_CurrentChanged(this, const_cast(¤t), const_cast(&previous)); }; @@ -8074,7 +8074,7 @@ void* QColumnView___columnWidths_newList(void* ptr) class MyQComboBox: public QComboBox { public: - MyQComboBox(QWidget *parent) : QComboBox(parent) {}; + MyQComboBox(QWidget *parent = Q_NULLPTR) : QComboBox(parent) {}; void Signal_Activated2(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQComboBox_Activated2(this, textPacked); }; void Signal_Activated(int index) { callbackQComboBox_Activated(this, index); }; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; @@ -8667,9 +8667,9 @@ void QComboBox_InitStyleOption(void* ptr, void* option) class MyQCommandLinkButton: public QCommandLinkButton { public: - MyQCommandLinkButton(QWidget *parent) : QCommandLinkButton(parent) {}; - MyQCommandLinkButton(const QString &text, QWidget *parent) : QCommandLinkButton(text, parent) {}; - MyQCommandLinkButton(const QString &text, const QString &description, QWidget *parent) : QCommandLinkButton(text, description, parent) {}; + MyQCommandLinkButton(QWidget *parent = Q_NULLPTR) : QCommandLinkButton(parent) {}; + MyQCommandLinkButton(const QString &text, QWidget *parent = Q_NULLPTR) : QCommandLinkButton(text, parent) {}; + MyQCommandLinkButton(const QString &text, const QString &description, QWidget *parent = Q_NULLPTR) : QCommandLinkButton(text, description, parent) {}; void paintEvent(QPaintEvent * vqp) { callbackQPushButton_PaintEvent(this, vqp); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; @@ -9019,9 +9019,9 @@ void* QCommonStyle_StandardIconDefault(void* ptr, long long standardIcon, void* class MyQCompleter: public QCompleter { public: - MyQCompleter(QAbstractItemModel *model, QObject *parent) : QCompleter(model, parent) {}; - MyQCompleter(QObject *parent) : QCompleter(parent) {}; - MyQCompleter(const QStringList &list, QObject *parent) : QCompleter(list, parent) {}; + MyQCompleter(QAbstractItemModel *model, QObject *parent = Q_NULLPTR) : QCompleter(model, parent) {}; + MyQCompleter(QObject *parent = Q_NULLPTR) : QCompleter(parent) {}; + MyQCompleter(const QStringList &list, QObject *parent = Q_NULLPTR) : QCompleter(list, parent) {}; bool event(QEvent * ev) { return callbackQCompleter_Event(this, ev) != 0; }; bool eventFilter(QObject * o, QEvent * e) { return callbackQCompleter_EventFilter(this, o, e) != 0; }; void Signal_Activated2(const QModelIndex & index) { callbackQCompleter_Activated2(this, const_cast(&index)); }; @@ -9595,7 +9595,7 @@ void* QCompleter_MetaObjectDefault(void* ptr) class MyQDataWidgetMapper: public QDataWidgetMapper { public: - MyQDataWidgetMapper(QObject *parent) : QDataWidgetMapper(parent) {}; + MyQDataWidgetMapper(QObject *parent = Q_NULLPTR) : QDataWidgetMapper(parent) {}; void setCurrentIndex(int index) { callbackQDataWidgetMapper_SetCurrentIndex(this, index); }; bool submit() { return callbackQDataWidgetMapper_Submit(this) != 0; }; void Signal_CurrentIndexChanged(int index) { callbackQDataWidgetMapper_CurrentIndexChanged(this, index); }; @@ -10024,8 +10024,8 @@ void* QDataWidgetMapper_MetaObjectDefault(void* ptr) class MyQDateEdit: public QDateEdit { public: - MyQDateEdit(QWidget *parent) : QDateEdit(parent) {}; - MyQDateEdit(const QDate &date, QWidget *parent) : QDateEdit(date, parent) {}; + MyQDateEdit(QWidget *parent = Q_NULLPTR) : QDateEdit(parent) {}; + MyQDateEdit(const QDate &date, QWidget *parent = Q_NULLPTR) : QDateEdit(date, parent) {}; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void clear() { callbackQDateTimeEdit_Clear(this); }; void Signal_DateChanged(const QDate & date) { callbackQDateTimeEdit_DateChanged(this, const_cast(&date)); }; @@ -10132,10 +10132,10 @@ void QDateEdit_DestroyQDateEdit(void* ptr) class MyQDateTimeEdit: public QDateTimeEdit { public: - MyQDateTimeEdit(QWidget *parent) : QDateTimeEdit(parent) {}; - MyQDateTimeEdit(const QDate &date, QWidget *parent) : QDateTimeEdit(date, parent) {}; - MyQDateTimeEdit(const QDateTime &datetime, QWidget *parent) : QDateTimeEdit(datetime, parent) {}; - MyQDateTimeEdit(const QTime &time, QWidget *parent) : QDateTimeEdit(time, parent) {}; + MyQDateTimeEdit(QWidget *parent = Q_NULLPTR) : QDateTimeEdit(parent) {}; + MyQDateTimeEdit(const QDate &date, QWidget *parent = Q_NULLPTR) : QDateTimeEdit(date, parent) {}; + MyQDateTimeEdit(const QDateTime &datetime, QWidget *parent = Q_NULLPTR) : QDateTimeEdit(datetime, parent) {}; + MyQDateTimeEdit(const QTime &time, QWidget *parent = Q_NULLPTR) : QDateTimeEdit(time, parent) {}; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void clear() { callbackQDateTimeEdit_Clear(this); }; void Signal_DateChanged(const QDate & date) { callbackQDateTimeEdit_DateChanged(this, const_cast(&date)); }; @@ -10796,7 +10796,7 @@ int QDesktopWidget_ScreenNumber(void* ptr, void* widget) class MyQDial: public QDial { public: - MyQDial(QWidget *parent) : QDial(parent) {}; + MyQDial(QWidget *parent = Q_NULLPTR) : QDial(parent) {}; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; @@ -10943,7 +10943,7 @@ void QDial_InitStyleOption(void* ptr, void* option) class MyQDialog: public QDialog { public: - MyQDialog(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f) {}; + MyQDialog(QWidget *parent = Q_NULLPTR, Qt::WindowFlags f = Qt::WindowFlags()) : QDialog(parent, f) {}; int exec() { return callbackQDialog_Exec(this); }; void accept() { callbackQDialog_Accept(this); }; void Signal_Accepted() { callbackQDialog_Accepted(this); }; @@ -11276,10 +11276,10 @@ int QDialog_Result(void* ptr) class MyQDialogButtonBox: public QDialogButtonBox { public: - MyQDialogButtonBox(QWidget *parent) : QDialogButtonBox(parent) {}; - MyQDialogButtonBox(Qt::Orientation orientation, QWidget *parent) : QDialogButtonBox(orientation, parent) {}; - MyQDialogButtonBox(StandardButtons buttons, QWidget *parent) : QDialogButtonBox(buttons, parent) {}; - MyQDialogButtonBox(StandardButtons buttons, Qt::Orientation orientation, QWidget *parent) : QDialogButtonBox(buttons, orientation, parent) {}; + MyQDialogButtonBox(QWidget *parent = Q_NULLPTR) : QDialogButtonBox(parent) {}; + MyQDialogButtonBox(Qt::Orientation orientation, QWidget *parent = Q_NULLPTR) : QDialogButtonBox(orientation, parent) {}; + MyQDialogButtonBox(StandardButtons buttons, QWidget *parent = Q_NULLPTR) : QDialogButtonBox(buttons, parent) {}; + MyQDialogButtonBox(StandardButtons buttons, Qt::Orientation orientation, QWidget *parent = Q_NULLPTR) : QDialogButtonBox(buttons, orientation, parent) {}; void Signal_Accepted() { callbackQDialogButtonBox_Accepted(this); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; void Signal_Clicked(QAbstractButton * button) { callbackQDialogButtonBox_Clicked(this, button); }; @@ -11533,8 +11533,8 @@ void* QDialogButtonBox___buttons_newList(void* ptr) class MyQDockWidget: public QDockWidget { public: - MyQDockWidget(QWidget *parent, Qt::WindowFlags flags) : QDockWidget(parent, flags) {}; - MyQDockWidget(const QString &title, QWidget *parent, Qt::WindowFlags flags) : QDockWidget(title, parent, flags) {}; + MyQDockWidget(QWidget *parent = Q_NULLPTR, Qt::WindowFlags flags = Qt::WindowFlags()) : QDockWidget(parent, flags) {}; + MyQDockWidget(const QString &title, QWidget *parent = Q_NULLPTR, Qt::WindowFlags flags = Qt::WindowFlags()) : QDockWidget(title, parent, flags) {}; void Signal_FeaturesChanged(QDockWidget::DockWidgetFeatures features) { callbackQDockWidget_FeaturesChanged(this, features); }; void Signal_AllowedAreasChanged(Qt::DockWidgetAreas allowedAreas) { callbackQDockWidget_AllowedAreasChanged(this, allowedAreas); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; @@ -11769,7 +11769,7 @@ void QDockWidget_InitStyleOption(void* ptr, void* option) class MyQDoubleSpinBox: public QDoubleSpinBox { public: - MyQDoubleSpinBox(QWidget *parent) : QDoubleSpinBox(parent) {}; + MyQDoubleSpinBox(QWidget *parent = Q_NULLPTR) : QDoubleSpinBox(parent) {}; void setValue(double val) { callbackQDoubleSpinBox_SetValue(this, val); }; void Signal_ValueChanged2(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQDoubleSpinBox_ValueChanged2(this, textPacked); }; void Signal_ValueChanged(double d) { callbackQDoubleSpinBox_ValueChanged(this, d); }; @@ -12003,7 +12003,7 @@ int QDoubleSpinBox_Decimals(void* ptr) class MyQErrorMessage: public QErrorMessage { public: - MyQErrorMessage(QWidget *parent) : QErrorMessage(parent) {}; + MyQErrorMessage(QWidget *parent = Q_NULLPTR) : QErrorMessage(parent) {}; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; void done(int a) { callbackQErrorMessage_Done(this, a); }; void showMessage(const QString & message) { QByteArray t6f9b9a = message.toUtf8(); QtWidgets_PackedString messagePacked = { const_cast(t6f9b9a.prepend("WHITESPACE").constData()+10), t6f9b9a.size()-10 };callbackQErrorMessage_ShowMessage(this, messagePacked); }; @@ -12134,7 +12134,7 @@ class MyQFileDialog: public QFileDialog { public: MyQFileDialog(QWidget *parent, Qt::WindowFlags flags) : QFileDialog(parent, flags) {}; - MyQFileDialog(QWidget *parent, const QString &caption, const QString &directory, const QString &filter) : QFileDialog(parent, caption, directory, filter) {}; + MyQFileDialog(QWidget *parent = Q_NULLPTR, const QString &caption = QString(), const QString &directory = QString(), const QString &filter = QString()) : QFileDialog(parent, caption, directory, filter) {}; void accept() { callbackQFileDialog_Accept(this); }; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; void Signal_CurrentChanged(const QString & path) { QByteArray t3150ec = path.toUtf8(); QtWidgets_PackedString pathPacked = { const_cast(t3150ec.prepend("WHITESPACE").constData()+10), t3150ec.size()-10 };callbackQFileDialog_CurrentChanged(this, pathPacked); }; @@ -12866,7 +12866,7 @@ struct QtWidgets_PackedString QFileIconProvider_TypeDefault(void* ptr, void* inf class MyQFileSystemModel: public QFileSystemModel { public: - MyQFileSystemModel(QObject *parent) : QFileSystemModel(parent) {}; + MyQFileSystemModel(QObject *parent = Q_NULLPTR) : QFileSystemModel(parent) {}; bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) { return callbackQFileSystemModel_DropMimeData(this, const_cast(data), action, row, column, const_cast(&parent)) != 0; }; bool event(QEvent * event) { return callbackQFileSystemModel_Event(this, event) != 0; }; bool setData(const QModelIndex & idx, const QVariant & value, int role) { return callbackQFileSystemModel_SetData(this, const_cast(&idx), const_cast(&value), role) != 0; }; @@ -13810,7 +13810,7 @@ void* QFileSystemModel_MetaObjectDefault(void* ptr) class MyQFocusFrame: public QFocusFrame { public: - MyQFocusFrame(QWidget *parent) : QFocusFrame(parent) {}; + MyQFocusFrame(QWidget *parent = Q_NULLPTR) : QFocusFrame(parent) {}; void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); }; bool close() { return callbackQWidget_Close(this) != 0; }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; @@ -13910,7 +13910,7 @@ void QFocusFrame_InitStyleOption(void* ptr, void* option) class MyQFontComboBox: public QFontComboBox { public: - MyQFontComboBox(QWidget *parent) : QFontComboBox(parent) {}; + MyQFontComboBox(QWidget *parent = Q_NULLPTR) : QFontComboBox(parent) {}; void Signal_CurrentFontChanged(const QFont & font) { callbackQFontComboBox_CurrentFontChanged(this, const_cast(&font)); }; void setCurrentFont(const QFont & fo) { callbackQFontComboBox_SetCurrentFont(this, const_cast(&fo)); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; @@ -14057,8 +14057,8 @@ void* QFontComboBox_CurrentFont(void* ptr) class MyQFontDialog: public QFontDialog { public: - MyQFontDialog(QWidget *parent) : QFontDialog(parent) {}; - MyQFontDialog(const QFont &initial, QWidget *parent) : QFontDialog(initial, parent) {}; + MyQFontDialog(QWidget *parent = Q_NULLPTR) : QFontDialog(parent) {}; + MyQFontDialog(const QFont &initial, QWidget *parent = Q_NULLPTR) : QFontDialog(initial, parent) {}; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; void Signal_CurrentFontChanged(const QFont & font) { callbackQFontDialog_CurrentFontChanged(this, const_cast(&font)); }; void done(int result) { callbackQFontDialog_Done(this, result); }; @@ -14253,7 +14253,7 @@ char QFontDialog_TestOption(void* ptr, long long option) class MyQFormLayout: public QFormLayout { public: - MyQFormLayout(QWidget *parent) : QFormLayout(parent) {}; + MyQFormLayout(QWidget *parent = Q_NULLPTR) : QFormLayout(parent) {}; QLayoutItem * takeAt(int index) { return static_cast(callbackQFormLayout_TakeAt(this, index)); }; void addItem(QLayoutItem * item) { callbackQFormLayout_AddItem(this, item); }; void invalidate() { callbackQLayoutItem_Invalidate(this); }; @@ -14521,7 +14521,7 @@ int QFormLayout_VerticalSpacing(void* ptr) class MyQFrame: public QFrame { public: - MyQFrame(QWidget *parent, Qt::WindowFlags f) : QFrame(parent, f) {}; + MyQFrame(QWidget *parent = Q_NULLPTR, Qt::WindowFlags f = Qt::WindowFlags()) : QFrame(parent, f) {}; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; @@ -14676,7 +14676,7 @@ void QFrame_InitStyleOption(void* ptr, void* option) class MyQGesture: public QGesture { public: - MyQGesture(QObject *parent) : QGesture(parent) {}; + MyQGesture(QObject *parent = Q_NULLPTR) : QGesture(parent) {}; bool event(QEvent * e) { return callbackQGesture_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGesture_EventFilter(this, watched, event) != 0; }; void childEvent(QChildEvent * event) { callbackQGesture_ChildEvent(this, event); }; @@ -15559,7 +15559,7 @@ void* QGraphicsAnchor_MetaObjectDefault(void* ptr) class MyQGraphicsAnchorLayout: public QGraphicsAnchorLayout { public: - MyQGraphicsAnchorLayout(QGraphicsLayoutItem *parent) : QGraphicsAnchorLayout(parent) {}; + MyQGraphicsAnchorLayout(QGraphicsLayoutItem *parent = Q_NULLPTR) : QGraphicsAnchorLayout(parent) {}; void invalidate() { callbackQGraphicsLayout_Invalidate(this); }; void removeAt(int index) { callbackQGraphicsAnchorLayout_RemoveAt(this, index); }; void setGeometry(const QRectF & geom) { callbackQGraphicsLayoutItem_SetGeometry(this, const_cast(&geom)); }; @@ -15695,7 +15695,7 @@ double QGraphicsAnchorLayout_VerticalSpacing(void* ptr) class MyQGraphicsBlurEffect: public QGraphicsBlurEffect { public: - MyQGraphicsBlurEffect(QObject *parent) : QGraphicsBlurEffect(parent) {}; + MyQGraphicsBlurEffect(QObject *parent = Q_NULLPTR) : QGraphicsBlurEffect(parent) {}; void Signal_BlurHintsChanged(QGraphicsBlurEffect::BlurHints hints) { callbackQGraphicsBlurEffect_BlurHintsChanged(this, hints); }; void Signal_BlurRadiusChanged(qreal radius) { callbackQGraphicsBlurEffect_BlurRadiusChanged(this, radius); }; void setBlurHints(QGraphicsBlurEffect::BlurHints hints) { callbackQGraphicsBlurEffect_SetBlurHints(this, hints); }; @@ -15838,7 +15838,7 @@ void QGraphicsBlurEffect_DestroyQGraphicsBlurEffect(void* ptr) class MyQGraphicsColorizeEffect: public QGraphicsColorizeEffect { public: - MyQGraphicsColorizeEffect(QObject *parent) : QGraphicsColorizeEffect(parent) {}; + MyQGraphicsColorizeEffect(QObject *parent = Q_NULLPTR) : QGraphicsColorizeEffect(parent) {}; void Signal_ColorChanged(const QColor & color) { callbackQGraphicsColorizeEffect_ColorChanged(this, const_cast(&color)); }; void draw(QPainter * painter) { callbackQGraphicsColorizeEffect_Draw(this, painter); }; void setColor(const QColor & c) { callbackQGraphicsColorizeEffect_SetColor(this, const_cast(&c)); }; @@ -15981,7 +15981,7 @@ double QGraphicsColorizeEffect_Strength(void* ptr) class MyQGraphicsDropShadowEffect: public QGraphicsDropShadowEffect { public: - MyQGraphicsDropShadowEffect(QObject *parent) : QGraphicsDropShadowEffect(parent) {}; + MyQGraphicsDropShadowEffect(QObject *parent = Q_NULLPTR) : QGraphicsDropShadowEffect(parent) {}; void Signal_BlurRadiusChanged(qreal blurRadius) { callbackQGraphicsDropShadowEffect_BlurRadiusChanged(this, blurRadius); }; void Signal_ColorChanged(const QColor & color) { callbackQGraphicsDropShadowEffect_ColorChanged(this, const_cast(&color)); }; void draw(QPainter * painter) { callbackQGraphicsDropShadowEffect_Draw(this, painter); }; @@ -16210,7 +16210,7 @@ double QGraphicsDropShadowEffect_YOffset(void* ptr) class MyQGraphicsEffect: public QGraphicsEffect { public: - MyQGraphicsEffect(QObject *parent) : QGraphicsEffect(parent) {}; + MyQGraphicsEffect(QObject *parent = Q_NULLPTR) : QGraphicsEffect(parent) {}; void Signal_EnabledChanged(bool enabled) { callbackQGraphicsEffect_EnabledChanged(this, enabled); }; void setEnabled(bool enable) { callbackQGraphicsEffect_SetEnabled(this, enable); }; void draw(QPainter * painter) { callbackQGraphicsEffect_Draw(this, painter); }; @@ -16720,9 +16720,9 @@ void* QGraphicsEffect_MetaObjectDefault(void* ptr) class MyQGraphicsEllipseItem: public QGraphicsEllipseItem { public: - MyQGraphicsEllipseItem(QGraphicsItem *parent) : QGraphicsEllipseItem(parent) {}; - MyQGraphicsEllipseItem(const QRectF &rect, QGraphicsItem *parent) : QGraphicsEllipseItem(rect, parent) {}; - MyQGraphicsEllipseItem(qreal x, qreal y, qreal width, qreal height, QGraphicsItem *parent) : QGraphicsEllipseItem(x, y, width, height, parent) {}; + MyQGraphicsEllipseItem(QGraphicsItem *parent = Q_NULLPTR) : QGraphicsEllipseItem(parent) {}; + MyQGraphicsEllipseItem(const QRectF &rect, QGraphicsItem *parent = Q_NULLPTR) : QGraphicsEllipseItem(rect, parent) {}; + MyQGraphicsEllipseItem(qreal x, qreal y, qreal width, qreal height, QGraphicsItem *parent = Q_NULLPTR) : QGraphicsEllipseItem(x, y, width, height, parent) {}; void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsEllipseItem_Paint(this, painter, const_cast(option), widget); }; QPainterPath opaqueArea() const { return *static_cast(callbackQGraphicsItem_OpaqueArea(const_cast(static_cast(this)))); }; QPainterPath shape() const { return *static_cast(callbackQGraphicsItem_Shape(const_cast(static_cast(this)))); }; @@ -16853,7 +16853,7 @@ int QGraphicsEllipseItem_StartAngle(void* ptr) class MyQGraphicsGridLayout: public QGraphicsGridLayout { public: - MyQGraphicsGridLayout(QGraphicsLayoutItem *parent) : QGraphicsGridLayout(parent) {}; + MyQGraphicsGridLayout(QGraphicsLayoutItem *parent = Q_NULLPTR) : QGraphicsGridLayout(parent) {}; void invalidate() { callbackQGraphicsLayout_Invalidate(this); }; void removeAt(int index) { callbackQGraphicsGridLayout_RemoveAt(this, index); }; void setGeometry(const QRectF & rect) { callbackQGraphicsLayoutItem_SetGeometry(this, const_cast(&rect)); }; @@ -17132,7 +17132,7 @@ double QGraphicsGridLayout_VerticalSpacing(void* ptr) class MyQGraphicsItem: public QGraphicsItem { public: - MyQGraphicsItem(QGraphicsItem *parent) : QGraphicsItem(parent) {}; + MyQGraphicsItem(QGraphicsItem *parent = Q_NULLPTR) : QGraphicsItem(parent) {}; QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast(callbackQGraphicsItem_ItemChange(this, change, const_cast(&value))); }; bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; }; bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; }; @@ -21334,7 +21334,7 @@ void* QGraphicsItem___transformations_newList(void* ptr) class MyQGraphicsItemGroup: public QGraphicsItemGroup { public: - MyQGraphicsItemGroup(QGraphicsItem *parent) : QGraphicsItemGroup(parent) {}; + MyQGraphicsItemGroup(QGraphicsItem *parent = Q_NULLPTR) : QGraphicsItemGroup(parent) {}; void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsItemGroup_Paint(this, painter, const_cast(option), widget); }; QPainterPath opaqueArea() const { return *static_cast(callbackQGraphicsItem_OpaqueArea(const_cast(static_cast(this)))); }; QRectF boundingRect() const { return *static_cast(callbackQGraphicsItemGroup_BoundingRect(const_cast(static_cast(this)))); }; @@ -21430,7 +21430,7 @@ void* QGraphicsItemGroup_BoundingRectDefault(void* ptr) class MyQGraphicsLayout: public QGraphicsLayout { public: - MyQGraphicsLayout(QGraphicsLayoutItem *parent) : QGraphicsLayout(parent) {}; + MyQGraphicsLayout(QGraphicsLayoutItem *parent = Q_NULLPTR) : QGraphicsLayout(parent) {}; void invalidate() { callbackQGraphicsLayout_Invalidate(this); }; void removeAt(int index) { callbackQGraphicsLayout_RemoveAt(this, index); }; void updateGeometry() { callbackQGraphicsLayoutItem_UpdateGeometry(this); }; @@ -21552,7 +21552,7 @@ void* QGraphicsLayout_SizeHintDefault(void* ptr, long long which, void* constrai class MyQGraphicsLayoutItem: public QGraphicsLayoutItem { public: - MyQGraphicsLayoutItem(QGraphicsLayoutItem *parent, bool isLayout) : QGraphicsLayoutItem(parent, isLayout) {}; + MyQGraphicsLayoutItem(QGraphicsLayoutItem *parent = Q_NULLPTR, bool isLayout = false) : QGraphicsLayoutItem(parent, isLayout) {}; void setGeometry(const QRectF & rect) { callbackQGraphicsLayoutItem_SetGeometry(this, const_cast(&rect)); }; void updateGeometry() { callbackQGraphicsLayoutItem_UpdateGeometry(this); }; ~MyQGraphicsLayoutItem() { callbackQGraphicsLayoutItem_DestroyQGraphicsLayoutItem(this); }; @@ -21997,9 +21997,9 @@ void QGraphicsLayoutItem_GetContentsMarginsDefault(void* ptr, double left, doubl class MyQGraphicsLineItem: public QGraphicsLineItem { public: - MyQGraphicsLineItem(QGraphicsItem *parent) : QGraphicsLineItem(parent) {}; - MyQGraphicsLineItem(const QLineF &line, QGraphicsItem *parent) : QGraphicsLineItem(line, parent) {}; - MyQGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem *parent) : QGraphicsLineItem(x1, y1, x2, y2, parent) {}; + MyQGraphicsLineItem(QGraphicsItem *parent = Q_NULLPTR) : QGraphicsLineItem(parent) {}; + MyQGraphicsLineItem(const QLineF &line, QGraphicsItem *parent = Q_NULLPTR) : QGraphicsLineItem(line, parent) {}; + MyQGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem *parent = Q_NULLPTR) : QGraphicsLineItem(x1, y1, x2, y2, parent) {}; void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsLineItem_Paint(this, painter, const_cast(option), widget); }; QPainterPath opaqueArea() const { return *static_cast(callbackQGraphicsItem_OpaqueArea(const_cast(static_cast(this)))); }; QPainterPath shape() const { return *static_cast(callbackQGraphicsItem_Shape(const_cast(static_cast(this)))); }; @@ -22120,8 +22120,8 @@ void* QGraphicsLineItem_BoundingRectDefault(void* ptr) class MyQGraphicsLinearLayout: public QGraphicsLinearLayout { public: - MyQGraphicsLinearLayout(QGraphicsLayoutItem *parent) : QGraphicsLinearLayout(parent) {}; - MyQGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem *parent) : QGraphicsLinearLayout(orientation, parent) {}; + MyQGraphicsLinearLayout(QGraphicsLayoutItem *parent = Q_NULLPTR) : QGraphicsLinearLayout(parent) {}; + MyQGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem *parent = Q_NULLPTR) : QGraphicsLinearLayout(orientation, parent) {}; void invalidate() { callbackQGraphicsLayout_Invalidate(this); }; void removeAt(int index) { callbackQGraphicsLinearLayout_RemoveAt(this, index); }; void setGeometry(const QRectF & rect) { callbackQGraphicsLayoutItem_SetGeometry(this, const_cast(&rect)); }; @@ -22308,7 +22308,7 @@ double QGraphicsLinearLayout_Spacing(void* ptr) class MyQGraphicsObject: public QGraphicsObject { public: - MyQGraphicsObject(QGraphicsItem *parent) : QGraphicsObject(parent) {}; + MyQGraphicsObject(QGraphicsItem *parent = Q_NULLPTR) : QGraphicsObject(parent) {}; bool event(QEvent * ev) { return callbackQGraphicsObject_Event(this, ev) != 0; }; void Signal_EnabledChanged() { callbackQGraphicsObject_EnabledChanged(this); }; void Signal_OpacityChanged() { callbackQGraphicsObject_OpacityChanged(this); }; @@ -23329,7 +23329,7 @@ void* QGraphicsObject_BoundingRectDefault(void* ptr) class MyQGraphicsOpacityEffect: public QGraphicsOpacityEffect { public: - MyQGraphicsOpacityEffect(QObject *parent) : QGraphicsOpacityEffect(parent) {}; + MyQGraphicsOpacityEffect(QObject *parent = Q_NULLPTR) : QGraphicsOpacityEffect(parent) {}; void draw(QPainter * painter) { callbackQGraphicsOpacityEffect_Draw(this, painter); }; void Signal_OpacityChanged(qreal opacity) { callbackQGraphicsOpacityEffect_OpacityChanged(this, opacity); }; void Signal_OpacityMaskChanged(const QBrush & mask) { callbackQGraphicsOpacityEffect_OpacityMaskChanged(this, const_cast(&mask)); }; @@ -23472,8 +23472,8 @@ double QGraphicsOpacityEffect_Opacity(void* ptr) class MyQGraphicsPathItem: public QGraphicsPathItem { public: - MyQGraphicsPathItem(QGraphicsItem *parent) : QGraphicsPathItem(parent) {}; - MyQGraphicsPathItem(const QPainterPath &path, QGraphicsItem *parent) : QGraphicsPathItem(path, parent) {}; + MyQGraphicsPathItem(QGraphicsItem *parent = Q_NULLPTR) : QGraphicsPathItem(parent) {}; + MyQGraphicsPathItem(const QPainterPath &path, QGraphicsItem *parent = Q_NULLPTR) : QGraphicsPathItem(path, parent) {}; void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsPathItem_Paint(this, painter, const_cast(option), widget); }; QPainterPath opaqueArea() const { return *static_cast(callbackQGraphicsItem_OpaqueArea(const_cast(static_cast(this)))); }; QPainterPath shape() const { return *static_cast(callbackQGraphicsItem_Shape(const_cast(static_cast(this)))); }; @@ -23568,8 +23568,8 @@ void* QGraphicsPathItem_BoundingRectDefault(void* ptr) class MyQGraphicsPixmapItem: public QGraphicsPixmapItem { public: - MyQGraphicsPixmapItem(QGraphicsItem *parent) : QGraphicsPixmapItem(parent) {}; - MyQGraphicsPixmapItem(const QPixmap &pixmap, QGraphicsItem *parent) : QGraphicsPixmapItem(pixmap, parent) {}; + MyQGraphicsPixmapItem(QGraphicsItem *parent = Q_NULLPTR) : QGraphicsPixmapItem(parent) {}; + MyQGraphicsPixmapItem(const QPixmap &pixmap, QGraphicsItem *parent = Q_NULLPTR) : QGraphicsPixmapItem(pixmap, parent) {}; void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsPixmapItem_Paint(this, painter, const_cast(option), widget); }; QPainterPath opaqueArea() const { return *static_cast(callbackQGraphicsItem_OpaqueArea(const_cast(static_cast(this)))); }; QPainterPath shape() const { return *static_cast(callbackQGraphicsItem_Shape(const_cast(static_cast(this)))); }; @@ -23699,8 +23699,8 @@ long long QGraphicsPixmapItem_ShapeMode(void* ptr) class MyQGraphicsPolygonItem: public QGraphicsPolygonItem { public: - MyQGraphicsPolygonItem(QGraphicsItem *parent) : QGraphicsPolygonItem(parent) {}; - MyQGraphicsPolygonItem(const QPolygonF &polygon, QGraphicsItem *parent) : QGraphicsPolygonItem(polygon, parent) {}; + MyQGraphicsPolygonItem(QGraphicsItem *parent = Q_NULLPTR) : QGraphicsPolygonItem(parent) {}; + MyQGraphicsPolygonItem(const QPolygonF &polygon, QGraphicsItem *parent = Q_NULLPTR) : QGraphicsPolygonItem(polygon, parent) {}; void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsPolygonItem_Paint(this, painter, const_cast(option), widget); }; QPainterPath opaqueArea() const { return *static_cast(callbackQGraphicsItem_OpaqueArea(const_cast(static_cast(this)))); }; QPainterPath shape() const { return *static_cast(callbackQGraphicsItem_Shape(const_cast(static_cast(this)))); }; @@ -23805,7 +23805,7 @@ long long QGraphicsPolygonItem_FillRule(void* ptr) class MyQGraphicsProxyWidget: public QGraphicsProxyWidget { public: - MyQGraphicsProxyWidget(QGraphicsItem *parent, Qt::WindowFlags wFlags) : QGraphicsProxyWidget(parent, wFlags) {}; + MyQGraphicsProxyWidget(QGraphicsItem *parent = Q_NULLPTR, Qt::WindowFlags wFlags = Qt::WindowFlags()) : QGraphicsProxyWidget(parent, wFlags) {}; QGraphicsProxyWidget * newProxyWidget(const QWidget * child) { return static_cast(callbackQGraphicsProxyWidget_NewProxyWidget(this, const_cast(child))); }; QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast(callbackQGraphicsItem_ItemChange(this, change, const_cast(&value))); }; bool event(QEvent * event) { return callbackQGraphicsObject_Event(this, event) != 0; }; @@ -23935,9 +23935,9 @@ void* QGraphicsProxyWidget_Widget(void* ptr) class MyQGraphicsRectItem: public QGraphicsRectItem { public: - MyQGraphicsRectItem(QGraphicsItem *parent) : QGraphicsRectItem(parent) {}; - MyQGraphicsRectItem(const QRectF &rect, QGraphicsItem *parent) : QGraphicsRectItem(rect, parent) {}; - MyQGraphicsRectItem(qreal x, qreal y, qreal width, qreal height, QGraphicsItem *parent) : QGraphicsRectItem(x, y, width, height, parent) {}; + MyQGraphicsRectItem(QGraphicsItem *parent = Q_NULLPTR) : QGraphicsRectItem(parent) {}; + MyQGraphicsRectItem(const QRectF &rect, QGraphicsItem *parent = Q_NULLPTR) : QGraphicsRectItem(rect, parent) {}; + MyQGraphicsRectItem(qreal x, qreal y, qreal width, qreal height, QGraphicsItem *parent = Q_NULLPTR) : QGraphicsRectItem(x, y, width, height, parent) {}; void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsRectItem_Paint(this, painter, const_cast(option), widget); }; QPainterPath opaqueArea() const { return *static_cast(callbackQGraphicsItem_OpaqueArea(const_cast(static_cast(this)))); }; QPainterPath shape() const { return *static_cast(callbackQGraphicsItem_Shape(const_cast(static_cast(this)))); }; @@ -24048,7 +24048,7 @@ void* QGraphicsRectItem_Rect(void* ptr) class MyQGraphicsRotation: public QGraphicsRotation { public: - MyQGraphicsRotation(QObject *parent) : QGraphicsRotation(parent) {}; + MyQGraphicsRotation(QObject *parent = Q_NULLPTR) : QGraphicsRotation(parent) {}; void Signal_AngleChanged() { callbackQGraphicsRotation_AngleChanged(this); }; void Signal_AxisChanged() { callbackQGraphicsRotation_AxisChanged(this); }; void Signal_OriginChanged() { callbackQGraphicsRotation_OriginChanged(this); }; @@ -24206,7 +24206,7 @@ void QGraphicsRotation_ApplyToDefault(void* ptr, void* matrix) class MyQGraphicsScale: public QGraphicsScale { public: - MyQGraphicsScale(QObject *parent) : QGraphicsScale(parent) {}; + MyQGraphicsScale(QObject *parent = Q_NULLPTR) : QGraphicsScale(parent) {}; void Signal_OriginChanged() { callbackQGraphicsScale_OriginChanged(this); }; void Signal_ScaleChanged() { callbackQGraphicsScale_ScaleChanged(this); }; void Signal_XScaleChanged() { callbackQGraphicsScale_XScaleChanged(this); }; @@ -24401,9 +24401,9 @@ void QGraphicsScale_ApplyToDefault(void* ptr, void* matrix) class MyQGraphicsScene: public QGraphicsScene { public: - MyQGraphicsScene(QObject *parent) : QGraphicsScene(parent) {}; - MyQGraphicsScene(const QRectF &sceneRect, QObject *parent) : QGraphicsScene(sceneRect, parent) {}; - MyQGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject *parent) : QGraphicsScene(x, y, width, height, parent) {}; + MyQGraphicsScene(QObject *parent = Q_NULLPTR) : QGraphicsScene(parent) {}; + MyQGraphicsScene(const QRectF &sceneRect, QObject *parent = Q_NULLPTR) : QGraphicsScene(sceneRect, parent) {}; + MyQGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject *parent = Q_NULLPTR) : QGraphicsScene(x, y, width, height, parent) {}; bool event(QEvent * event) { return callbackQGraphicsScene_Event(this, event) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsScene_EventFilter(this, watched, event) != 0; }; bool focusNextPrevChild(bool next) { return callbackQGraphicsScene_FocusNextPrevChild(this, next) != 0; }; @@ -26048,8 +26048,8 @@ int QGraphicsSceneWheelEvent_Delta(void* ptr) class MyQGraphicsSimpleTextItem: public QGraphicsSimpleTextItem { public: - MyQGraphicsSimpleTextItem(QGraphicsItem *parent) : QGraphicsSimpleTextItem(parent) {}; - MyQGraphicsSimpleTextItem(const QString &text, QGraphicsItem *parent) : QGraphicsSimpleTextItem(text, parent) {}; + MyQGraphicsSimpleTextItem(QGraphicsItem *parent = Q_NULLPTR) : QGraphicsSimpleTextItem(parent) {}; + MyQGraphicsSimpleTextItem(const QString &text, QGraphicsItem *parent = Q_NULLPTR) : QGraphicsSimpleTextItem(text, parent) {}; void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsSimpleTextItem_Paint(this, painter, const_cast(option), widget); }; QPainterPath opaqueArea() const { return *static_cast(callbackQGraphicsItem_OpaqueArea(const_cast(static_cast(this)))); }; QPainterPath shape() const { return *static_cast(callbackQGraphicsItem_Shape(const_cast(static_cast(this)))); }; @@ -26154,8 +26154,8 @@ struct QtWidgets_PackedString QGraphicsSimpleTextItem_Text(void* ptr) class MyQGraphicsTextItem: public QGraphicsTextItem { public: - MyQGraphicsTextItem(QGraphicsItem *parent) : QGraphicsTextItem(parent) {}; - MyQGraphicsTextItem(const QString &text, QGraphicsItem *parent) : QGraphicsTextItem(text, parent) {}; + MyQGraphicsTextItem(QGraphicsItem *parent = Q_NULLPTR) : QGraphicsTextItem(parent) {}; + MyQGraphicsTextItem(const QString &text, QGraphicsItem *parent = Q_NULLPTR) : QGraphicsTextItem(text, parent) {}; bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; }; void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); }; void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); }; @@ -26398,7 +26398,7 @@ double QGraphicsTextItem_TextWidth(void* ptr) class MyQGraphicsTransform: public QGraphicsTransform { public: - MyQGraphicsTransform(QObject *parent) : QGraphicsTransform(parent) {}; + MyQGraphicsTransform(QObject *parent = Q_NULLPTR) : QGraphicsTransform(parent) {}; void update() { callbackQGraphicsTransform_Update(this); }; void applyTo(QMatrix4x4 * matrix) const { callbackQGraphicsTransform_ApplyTo(const_cast(static_cast(this)), matrix); }; bool event(QEvent * e) { return callbackQGraphicsTransform_Event(this, e) != 0; }; @@ -26728,8 +26728,8 @@ void* QGraphicsTransform_MetaObjectDefault(void* ptr) class MyQGraphicsView: public QGraphicsView { public: - MyQGraphicsView(QGraphicsScene *scene, QWidget *parent) : QGraphicsView(scene, parent) {}; - MyQGraphicsView(QWidget *parent) : QGraphicsView(parent) {}; + MyQGraphicsView(QGraphicsScene *scene, QWidget *parent = Q_NULLPTR) : QGraphicsView(scene, parent) {}; + MyQGraphicsView(QWidget *parent = Q_NULLPTR) : QGraphicsView(parent) {}; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; @@ -27454,7 +27454,7 @@ void* QGraphicsView___items_newList5(void* ptr) class MyQGraphicsWidget: public QGraphicsWidget { public: - MyQGraphicsWidget(QGraphicsItem *parent, Qt::WindowFlags wFlags) : QGraphicsWidget(parent, wFlags) {}; + MyQGraphicsWidget(QGraphicsItem *parent = Q_NULLPTR, Qt::WindowFlags wFlags = Qt::WindowFlags()) : QGraphicsWidget(parent, wFlags) {}; QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast(callbackQGraphicsItem_ItemChange(this, change, const_cast(&value))); }; bool close() { return callbackQGraphicsWidget_Close(this) != 0; }; bool event(QEvent * event) { return callbackQGraphicsObject_Event(this, event) != 0; }; @@ -28379,8 +28379,8 @@ void QGridLayout_GetItemPosition(void* ptr, int index, int row, int column, int class MyQGroupBox: public QGroupBox { public: - MyQGroupBox(QWidget *parent) : QGroupBox(parent) {}; - MyQGroupBox(const QString &title, QWidget *parent) : QGroupBox(title, parent) {}; + MyQGroupBox(QWidget *parent = Q_NULLPTR) : QGroupBox(parent) {}; + MyQGroupBox(const QString &title, QWidget *parent = Q_NULLPTR) : QGroupBox(title, parent) {}; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void Signal_Clicked(bool checked) { callbackQGroupBox_Clicked(this, checked); }; void focusInEvent(QFocusEvent * fe) { callbackQWidget_FocusInEvent(this, fe); }; @@ -28616,7 +28616,7 @@ void QHBoxLayout_DestroyQHBoxLayout(void* ptr) class MyQHeaderView: public QHeaderView { public: - MyQHeaderView(Qt::Orientation orientation, QWidget *parent) : QHeaderView(orientation, parent) {}; + MyQHeaderView(Qt::Orientation orientation, QWidget *parent = Q_NULLPTR) : QHeaderView(orientation, parent) {}; bool viewportEvent(QEvent * e) { return callbackQAbstractScrollArea_ViewportEvent(this, e) != 0; }; void currentChanged(const QModelIndex & current, const QModelIndex & old) { callbackQHeaderView_CurrentChanged(this, const_cast(¤t), const_cast(&old)); }; void Signal_GeometriesChanged() { callbackQHeaderView_GeometriesChanged(this); }; @@ -29423,7 +29423,7 @@ char QHeaderView_IsIndexHiddenDefault(void* ptr, void* index) class MyQInputDialog: public QInputDialog { public: - MyQInputDialog(QWidget *parent, Qt::WindowFlags flags) : QInputDialog(parent, flags) {}; + MyQInputDialog(QWidget *parent = Q_NULLPTR, Qt::WindowFlags flags = Qt::WindowFlags()) : QInputDialog(parent, flags) {}; void done(int result) { callbackQInputDialog_Done(this, result); }; void Signal_DoubleValueChanged(double value) { callbackQInputDialog_DoubleValueChanged(this, value); }; void Signal_DoubleValueSelected(double value) { callbackQInputDialog_DoubleValueSelected(this, value); }; @@ -29852,7 +29852,7 @@ int QInputDialog_IntValue(void* ptr) class MyQItemDelegate: public QItemDelegate { public: - MyQItemDelegate(QObject *parent) : QItemDelegate(parent) {}; + MyQItemDelegate(QObject *parent = Q_NULLPTR) : QItemDelegate(parent) {}; bool editorEvent(QEvent * event, QAbstractItemModel * model, const QStyleOptionViewItem & option, const QModelIndex & index) { return callbackQAbstractItemDelegate_EditorEvent(this, event, model, const_cast(&option), const_cast(&index)) != 0; }; bool eventFilter(QObject * editor, QEvent * event) { return callbackQAbstractItemDelegate_EventFilter(this, editor, event) != 0; }; QSize sizeHint(const QStyleOptionViewItem & option, const QModelIndex & index) const { return *static_cast(callbackQItemDelegate_SizeHint(const_cast(static_cast(this)), const_cast(&option), const_cast(&index))); }; @@ -30103,8 +30103,8 @@ void* QItemEditorFactory_CreateEditorDefault(void* ptr, int userType, void* pare class MyQKeyEventTransition: public QKeyEventTransition { public: - MyQKeyEventTransition(QObject *object, QEvent::Type type, int key, QState *sourceState) : QKeyEventTransition(object, type, key, sourceState) {}; - MyQKeyEventTransition(QState *sourceState) : QKeyEventTransition(sourceState) {}; + MyQKeyEventTransition(QObject *object, QEvent::Type type, int key, QState *sourceState = Q_NULLPTR) : QKeyEventTransition(object, type, key, sourceState) {}; + MyQKeyEventTransition(QState *sourceState = Q_NULLPTR) : QKeyEventTransition(sourceState) {}; bool eventTest(QEvent * event) { return callbackQKeyEventTransition_EventTest(this, event) != 0; }; void onTransition(QEvent * event) { callbackQKeyEventTransition_OnTransition(this, event); }; bool event(QEvent * e) { return callbackQKeyEventTransition_Event(this, e) != 0; }; @@ -30422,8 +30422,8 @@ void* QKeyEventTransition_MetaObjectDefault(void* ptr) class MyQKeySequenceEdit: public QKeySequenceEdit { public: - MyQKeySequenceEdit(QWidget *parent) : QKeySequenceEdit(parent) {}; - MyQKeySequenceEdit(const QKeySequence &keySequence, QWidget *parent) : QKeySequenceEdit(keySequence, parent) {}; + MyQKeySequenceEdit(QWidget *parent = Q_NULLPTR) : QKeySequenceEdit(parent) {}; + MyQKeySequenceEdit(const QKeySequence &keySequence, QWidget *parent = Q_NULLPTR) : QKeySequenceEdit(keySequence, parent) {}; void clear() { callbackQKeySequenceEdit_Clear(this); }; void Signal_EditingFinished() { callbackQKeySequenceEdit_EditingFinished(this); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; @@ -30572,8 +30572,8 @@ void* QKeySequenceEdit_KeySequence(void* ptr) class MyQLCDNumber: public QLCDNumber { public: - MyQLCDNumber(QWidget *parent) : QLCDNumber(parent) {}; - MyQLCDNumber(uint numDigits, QWidget *parent) : QLCDNumber(numDigits, parent) {}; + MyQLCDNumber(QWidget *parent = Q_NULLPTR) : QLCDNumber(parent) {}; + MyQLCDNumber(uint numDigits, QWidget *parent = Q_NULLPTR) : QLCDNumber(numDigits, parent) {}; void display(const QString & s) { QByteArray ta0f149 = s.toUtf8(); QtWidgets_PackedString sPacked = { const_cast(ta0f149.prepend("WHITESPACE").constData()+10), ta0f149.size()-10 };callbackQLCDNumber_Display(this, sPacked); }; void display(double num) { callbackQLCDNumber_Display3(this, num); }; void display(int num) { callbackQLCDNumber_Display2(this, num); }; @@ -30822,8 +30822,8 @@ int QLCDNumber_IntValue(void* ptr) class MyQLabel: public QLabel { public: - MyQLabel(QWidget *parent, Qt::WindowFlags f) : QLabel(parent, f) {}; - MyQLabel(const QString &text, QWidget *parent, Qt::WindowFlags f) : QLabel(text, parent, f) {}; + MyQLabel(QWidget *parent = Q_NULLPTR, Qt::WindowFlags f = Qt::WindowFlags()) : QLabel(parent, f) {}; + MyQLabel(const QString &text, QWidget *parent = Q_NULLPTR, Qt::WindowFlags f = Qt::WindowFlags()) : QLabel(text, parent, f) {}; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void clear() { callbackQLabel_Clear(this); }; @@ -31961,7 +31961,7 @@ void* QLayout_SizeHintDefault(void* ptr) class MyQLayoutItem: public QLayoutItem { public: - MyQLayoutItem(Qt::Alignment alignment) : QLayoutItem(alignment) {}; + MyQLayoutItem(Qt::Alignment alignment = Qt::Alignment()) : QLayoutItem(alignment) {}; QLayout * layout() { return static_cast(callbackQLayoutItem_Layout(this)); }; QSpacerItem * spacerItem() { return static_cast(callbackQLayoutItem_SpacerItem(this)); }; QWidget * widget() { return static_cast(callbackQLayoutItem_Widget(this)); }; @@ -32369,8 +32369,8 @@ void QLayoutItem_SetAlign(void* ptr, long long vqt) class MyQLineEdit: public QLineEdit { public: - MyQLineEdit(QWidget *parent) : QLineEdit(parent) {}; - MyQLineEdit(const QString &contents, QWidget *parent) : QLineEdit(contents, parent) {}; + MyQLineEdit(QWidget *parent = Q_NULLPTR) : QLineEdit(parent) {}; + MyQLineEdit(const QString &contents, QWidget *parent = Q_NULLPTR) : QLineEdit(contents, parent) {}; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void clear() { callbackQLineEdit_Clear(this); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; @@ -32929,7 +32929,7 @@ void QLineEdit_InitStyleOption(void* ptr, void* option) class MyQListView: public QListView { public: - MyQListView(QWidget *parent) : QListView(parent) {}; + MyQListView(QWidget *parent = Q_NULLPTR) : QListView(parent) {}; QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast(callbackQListView_MoveCursor(this, cursorAction, modifiers)); }; void currentChanged(const QModelIndex & current, const QModelIndex & previous) { callbackQListView_CurrentChanged(this, const_cast(¤t), const_cast(&previous)); }; void dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QVector & roles) { callbackQListView_DataChanged(this, const_cast(&topLeft), const_cast(&bottomRight), ({ QVector* tmpValue = const_cast*>(&roles); QtWidgets_PackedList { tmpValue, tmpValue->size() }; })); }; @@ -33471,7 +33471,7 @@ void* QListView___indexesMoved_indexes_newList(void* ptr) class MyQListWidget: public QListWidget { public: - MyQListWidget(QWidget *parent) : QListWidget(parent) {}; + MyQListWidget(QWidget *parent = Q_NULLPTR) : QListWidget(parent) {}; bool dropMimeData(int index, const QMimeData * data, Qt::DropAction action) { return callbackQListWidget_DropMimeData(this, index, const_cast(data), action) != 0; }; void clear() { callbackQListWidget_Clear(this); }; void Signal_CurrentItemChanged(QListWidgetItem * current, QListWidgetItem * previous) { callbackQListWidget_CurrentItemChanged(this, current, previous); }; @@ -34054,9 +34054,9 @@ void* QListWidget___mimeData_items_newList(void* ptr) class MyQListWidgetItem: public QListWidgetItem { public: - MyQListWidgetItem(QListWidget *parent, int type) : QListWidgetItem(parent, type) {}; - MyQListWidgetItem(const QIcon &icon, const QString &text, QListWidget *parent, int type) : QListWidgetItem(icon, text, parent, type) {}; - MyQListWidgetItem(const QString &text, QListWidget *parent, int type) : QListWidgetItem(text, parent, type) {}; + MyQListWidgetItem(QListWidget *parent = Q_NULLPTR, int type = Type) : QListWidgetItem(parent, type) {}; + MyQListWidgetItem(const QIcon &icon, const QString &text, QListWidget *parent = Q_NULLPTR, int type = Type) : QListWidgetItem(icon, text, parent, type) {}; + MyQListWidgetItem(const QString &text, QListWidget *parent = Q_NULLPTR, int type = Type) : QListWidgetItem(text, parent, type) {}; MyQListWidgetItem(const QListWidgetItem &other) : QListWidgetItem(other) {}; void read(QDataStream & in) { callbackQListWidgetItem_Read(this, static_cast(&in)); }; void setData(int role, const QVariant & value) { callbackQListWidgetItem_SetData(this, role, const_cast(&value)); }; @@ -34465,7 +34465,7 @@ void QMacNativeWidget_DestroyQMacNativeWidget(void* ptr) class MyQMainWindow: public QMainWindow { public: - MyQMainWindow(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, flags) {}; + MyQMainWindow(QWidget *parent = Q_NULLPTR, Qt::WindowFlags flags = Qt::WindowFlags()) : QMainWindow(parent, flags) {}; QMenu * createPopupMenu() { return static_cast(callbackQMainWindow_CreatePopupMenu(this)); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_IconSizeChanged(const QSize & iconSize) { callbackQMainWindow_IconSizeChanged(this, const_cast(&iconSize)); }; @@ -34922,7 +34922,7 @@ void* QMainWindow___tabifiedDockWidgets_newList(void* ptr) class MyQMdiArea: public QMdiArea { public: - MyQMdiArea(QWidget *parent) : QMdiArea(parent) {}; + MyQMdiArea(QWidget *parent = Q_NULLPTR) : QMdiArea(parent) {}; bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; }; void activateNextSubWindow() { callbackQMdiArea_ActivateNextSubWindow(this); }; void activatePreviousSubWindow() { callbackQMdiArea_ActivatePreviousSubWindow(this); }; @@ -35224,7 +35224,7 @@ void* QMdiArea___subWindowList_newList(void* ptr) class MyQMdiSubWindow: public QMdiSubWindow { public: - MyQMdiSubWindow(QWidget *parent, Qt::WindowFlags flags) : QMdiSubWindow(parent, flags) {}; + MyQMdiSubWindow(QWidget *parent = Q_NULLPTR, Qt::WindowFlags flags = Qt::WindowFlags()) : QMdiSubWindow(parent, flags) {}; void Signal_AboutToActivate() { callbackQMdiSubWindow_AboutToActivate(this); }; void changeEvent(QEvent * changeEvent) { callbackQWidget_ChangeEvent(this, changeEvent); }; void closeEvent(QCloseEvent * closeEvent) { callbackQWidget_CloseEvent(this, closeEvent); }; @@ -35423,8 +35423,8 @@ int QMdiSubWindow_KeyboardSingleStep(void* ptr) class MyQMenu: public QMenu { public: - MyQMenu(QWidget *parent) : QMenu(parent) {}; - MyQMenu(const QString &title, QWidget *parent) : QMenu(title, parent) {}; + MyQMenu(QWidget *parent = Q_NULLPTR) : QMenu(parent) {}; + MyQMenu(const QString &title, QWidget *parent = Q_NULLPTR) : QMenu(title, parent) {}; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void Signal_AboutToHide() { callbackQMenu_AboutToHide(this); }; void Signal_AboutToShow() { callbackQMenu_AboutToShow(this); }; @@ -35835,7 +35835,7 @@ void* QMenu___exec_actions_newList3(void* ptr) class MyQMenuBar: public QMenuBar { public: - MyQMenuBar(QWidget *parent) : QMenuBar(parent) {}; + MyQMenuBar(QWidget *parent = Q_NULLPTR) : QMenuBar(parent) {}; void actionEvent(QActionEvent * e) { callbackQWidget_ActionEvent(this, e); }; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; void focusInEvent(QFocusEvent * vqf) { callbackQWidget_FocusInEvent(this, vqf); }; @@ -36062,8 +36062,8 @@ void QMenuBar_InitStyleOption(void* ptr, void* option, void* action) class MyQMessageBox: public QMessageBox { public: - MyQMessageBox(Icon icon, const QString &title, const QString &text, StandardButtons buttons, QWidget *parent, Qt::WindowFlags f) : QMessageBox(icon, title, text, buttons, parent, f) {}; - MyQMessageBox(QWidget *parent) : QMessageBox(parent) {}; + MyQMessageBox(Icon icon, const QString &title, const QString &text, StandardButtons buttons = NoButton, QWidget *parent = Q_NULLPTR, Qt::WindowFlags f = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint) : QMessageBox(icon, title, text, buttons, parent, f) {}; + MyQMessageBox(QWidget *parent = Q_NULLPTR) : QMessageBox(parent) {}; int exec() { return callbackQDialog_Exec(this); }; void Signal_ButtonClicked(QAbstractButton * button) { callbackQMessageBox_ButtonClicked(this, button); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; @@ -36412,8 +36412,8 @@ void* QMessageBox___buttons_newList(void* ptr) class MyQMouseEventTransition: public QMouseEventTransition { public: - MyQMouseEventTransition(QObject *object, QEvent::Type type, Qt::MouseButton button, QState *sourceState) : QMouseEventTransition(object, type, button, sourceState) {}; - MyQMouseEventTransition(QState *sourceState) : QMouseEventTransition(sourceState) {}; + MyQMouseEventTransition(QObject *object, QEvent::Type type, Qt::MouseButton button, QState *sourceState = Q_NULLPTR) : QMouseEventTransition(object, type, button, sourceState) {}; + MyQMouseEventTransition(QState *sourceState = Q_NULLPTR) : QMouseEventTransition(sourceState) {}; bool eventTest(QEvent * event) { return callbackQMouseEventTransition_EventTest(this, event) != 0; }; void onTransition(QEvent * event) { callbackQMouseEventTransition_OnTransition(this, event); }; bool event(QEvent * e) { return callbackQMouseEventTransition_Event(this, e) != 0; }; @@ -37244,8 +37244,8 @@ void* QPlainTextDocumentLayout_MetaObjectDefault(void* ptr) class MyQPlainTextEdit: public QPlainTextEdit { public: - MyQPlainTextEdit(QWidget *parent) : QPlainTextEdit(parent) {}; - MyQPlainTextEdit(const QString &text, QWidget *parent) : QPlainTextEdit(text, parent) {}; + MyQPlainTextEdit(QWidget *parent = Q_NULLPTR) : QPlainTextEdit(parent) {}; + MyQPlainTextEdit(const QString &text, QWidget *parent = Q_NULLPTR) : QPlainTextEdit(text, parent) {}; QVariant loadResource(int ty, const QUrl & name) { return *static_cast(callbackQPlainTextEdit_LoadResource(this, ty, const_cast(&name))); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void appendHtml(const QString & html) { QByteArray t950a39 = html.toUtf8(); QtWidgets_PackedString htmlPacked = { const_cast(t950a39.prepend("WHITESPACE").constData()+10), t950a39.size()-10 };callbackQPlainTextEdit_AppendHtml(this, htmlPacked); }; @@ -37954,7 +37954,7 @@ void QPlainTextEdit_Print(void* ptr, void* printer) class MyQProgressBar: public QProgressBar { public: - MyQProgressBar(QWidget *parent) : QProgressBar(parent) {}; + MyQProgressBar(QWidget *parent = Q_NULLPTR) : QProgressBar(parent) {}; void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); }; void reset() { callbackQProgressBar_Reset(this); }; void setMaximum(int maximum) { callbackQProgressBar_SetMaximum(this, maximum); }; @@ -38212,8 +38212,8 @@ void QProgressBar_InitStyleOption(void* ptr, void* option) class MyQProgressDialog: public QProgressDialog { public: - MyQProgressDialog(QWidget *parent, Qt::WindowFlags f) : QProgressDialog(parent, f) {}; - MyQProgressDialog(const QString &labelText, const QString &cancelButtonText, int minimum, int maximum, QWidget *parent, Qt::WindowFlags f) : QProgressDialog(labelText, cancelButtonText, minimum, maximum, parent, f) {}; + MyQProgressDialog(QWidget *parent = Q_NULLPTR, Qt::WindowFlags f = Qt::WindowFlags()) : QProgressDialog(parent, f) {}; + MyQProgressDialog(const QString &labelText, const QString &cancelButtonText, int minimum, int maximum, QWidget *parent = Q_NULLPTR, Qt::WindowFlags f = Qt::WindowFlags()) : QProgressDialog(labelText, cancelButtonText, minimum, maximum, parent, f) {}; void cancel() { callbackQProgressDialog_Cancel(this); }; void Signal_Canceled() { callbackQProgressDialog_Canceled(this); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; @@ -38517,7 +38517,7 @@ int QProgressDialog_Value(void* ptr) class MyQProxyStyle: public QProxyStyle { public: - MyQProxyStyle(QStyle *style) : QProxyStyle(style) {}; + MyQProxyStyle(QStyle *style = Q_NULLPTR) : QProxyStyle(style) {}; MyQProxyStyle(const QString &key) : QProxyStyle(key) {}; void polish(QApplication * app) { callbackQStyle_Polish3(this, app); }; void polish(QPalette & pal) { callbackQStyle_Polish2(this, static_cast(&pal)); }; @@ -38593,9 +38593,9 @@ void* QProxyStyle_BaseStyle(void* ptr) class MyQPushButton: public QPushButton { public: - MyQPushButton(QWidget *parent) : QPushButton(parent) {}; - MyQPushButton(const QIcon &icon, const QString &text, QWidget *parent) : QPushButton(icon, text, parent) {}; - MyQPushButton(const QString &text, QWidget *parent) : QPushButton(text, parent) {}; + MyQPushButton(QWidget *parent = Q_NULLPTR) : QPushButton(parent) {}; + MyQPushButton(const QIcon &icon, const QString &text, QWidget *parent = Q_NULLPTR) : QPushButton(icon, text, parent) {}; + MyQPushButton(const QString &text, QWidget *parent = Q_NULLPTR) : QPushButton(text, parent) {}; void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); }; void focusOutEvent(QFocusEvent * e) { callbackQWidget_FocusOutEvent(this, e); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; @@ -38776,8 +38776,8 @@ void QPushButton_InitStyleOption(void* ptr, void* option) class MyQRadioButton: public QRadioButton { public: - MyQRadioButton(QWidget *parent) : QRadioButton(parent) {}; - MyQRadioButton(const QString &text, QWidget *parent) : QRadioButton(text, parent) {}; + MyQRadioButton(QWidget *parent = Q_NULLPTR) : QRadioButton(parent) {}; + MyQRadioButton(const QString &text, QWidget *parent = Q_NULLPTR) : QRadioButton(text, parent) {}; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void paintEvent(QPaintEvent * vqp) { callbackQRadioButton_PaintEvent(this, vqp); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; @@ -38894,7 +38894,7 @@ void QRadioButton_InitStyleOption(void* ptr, void* option) class MyQRubberBand: public QRubberBand { public: - MyQRubberBand(Shape s, QWidget *p) : QRubberBand(s, p) {}; + MyQRubberBand(Shape s, QWidget *p = Q_NULLPTR) : QRubberBand(s, p) {}; void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); }; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; void moveEvent(QMoveEvent * vqm) { callbackQWidget_MoveEvent(this, vqm); }; @@ -38989,7 +38989,7 @@ void QRubberBand_InitStyleOption(void* ptr, void* option) class MyQScrollArea: public QScrollArea { public: - MyQScrollArea(QWidget *parent) : QScrollArea(parent) {}; + MyQScrollArea(QWidget *parent = Q_NULLPTR) : QScrollArea(parent) {}; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); }; void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); }; @@ -39123,8 +39123,8 @@ char QScrollArea_WidgetResizable(void* ptr) class MyQScrollBar: public QScrollBar { public: - MyQScrollBar(QWidget *parent) : QScrollBar(parent) {}; - MyQScrollBar(Qt::Orientation orientation, QWidget *parent) : QScrollBar(orientation, parent) {}; + MyQScrollBar(QWidget *parent = Q_NULLPTR) : QScrollBar(parent) {}; + MyQScrollBar(Qt::Orientation orientation, QWidget *parent = Q_NULLPTR) : QScrollBar(orientation, parent) {}; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void hideEvent(QHideEvent * vqh) { callbackQWidget_HideEvent(this, vqh); }; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; @@ -39762,7 +39762,7 @@ class MyQShortcut: public QShortcut { public: MyQShortcut(QWidget *parent) : QShortcut(parent) {}; - MyQShortcut(const QKeySequence &key, QWidget *parent, const char *member, const char *ambiguousMember, Qt::ShortcutContext context) : QShortcut(key, parent, member, ambiguousMember, context) {}; + MyQShortcut(const QKeySequence &key, QWidget *parent, const char *member = Q_NULLPTR, const char *ambiguousMember = Q_NULLPTR, Qt::ShortcutContext context = Qt::WindowShortcut) : QShortcut(key, parent, member, ambiguousMember, context) {}; void Signal_Activated() { callbackQShortcut_Activated(this); }; void Signal_ActivatedAmbiguously() { callbackQShortcut_ActivatedAmbiguously(this); }; bool event(QEvent * e) { return callbackQShortcut_Event(this, e) != 0; }; @@ -40251,8 +40251,8 @@ int QSizePolicy_VerticalStretch(void* ptr) class MyQSlider: public QSlider { public: - MyQSlider(QWidget *parent) : QSlider(parent) {}; - MyQSlider(Qt::Orientation orientation, QWidget *parent) : QSlider(orientation, parent) {}; + MyQSlider(QWidget *parent = Q_NULLPTR) : QSlider(parent) {}; + MyQSlider(Qt::Orientation orientation, QWidget *parent = Q_NULLPTR) : QSlider(orientation, parent) {}; void mouseMoveEvent(QMouseEvent * ev) { callbackQWidget_MouseMoveEvent(this, ev); }; void mousePressEvent(QMouseEvent * ev) { callbackQWidget_MousePressEvent(this, ev); }; void mouseReleaseEvent(QMouseEvent * ev) { callbackQWidget_MouseReleaseEvent(this, ev); }; @@ -40377,7 +40377,7 @@ void QSlider_InitStyleOption(void* ptr, void* option) class MyQSpacerItem: public QSpacerItem { public: - MyQSpacerItem(int w, int h, QSizePolicy::Policy hPolicy, QSizePolicy::Policy vPolicy) : QSpacerItem(w, h, hPolicy, vPolicy) {}; + MyQSpacerItem(int w, int h, QSizePolicy::Policy hPolicy = QSizePolicy::Minimum, QSizePolicy::Policy vPolicy = QSizePolicy::Minimum) : QSpacerItem(w, h, hPolicy, vPolicy) {}; QSpacerItem * spacerItem() { return static_cast(callbackQLayoutItem_SpacerItem(this)); }; void setGeometry(const QRect & r) { callbackQSpacerItem_SetGeometry(this, const_cast(&r)); }; QRect geometry() const { return *static_cast(callbackQSpacerItem_Geometry(const_cast(static_cast(this)))); }; @@ -40488,7 +40488,7 @@ char QSpacerItem_IsEmptyDefault(void* ptr) class MyQSpinBox: public QSpinBox { public: - MyQSpinBox(QWidget *parent) : QSpinBox(parent) {}; + MyQSpinBox(QWidget *parent = Q_NULLPTR) : QSpinBox(parent) {}; void setValue(int val) { callbackQSpinBox_SetValue(this, val); }; void Signal_ValueChanged2(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQSpinBox_ValueChanged2(this, textPacked); }; void Signal_ValueChanged(int i) { callbackQSpinBox_ValueChanged(this, i); }; @@ -40722,8 +40722,8 @@ int QSpinBox_ValueFromTextDefault(void* ptr, char* text) class MyQSplashScreen: public QSplashScreen { public: - MyQSplashScreen(QWidget *parent, const QPixmap &pixmap, Qt::WindowFlags f) : QSplashScreen(parent, pixmap, f) {}; - MyQSplashScreen(const QPixmap &pixmap, Qt::WindowFlags f) : QSplashScreen(pixmap, f) {}; + MyQSplashScreen(QWidget *parent, const QPixmap &pixmap = QPixmap(), Qt::WindowFlags f = Qt::WindowFlags()) : QSplashScreen(parent, pixmap, f) {}; + MyQSplashScreen(const QPixmap &pixmap = QPixmap(), Qt::WindowFlags f = Qt::WindowFlags()) : QSplashScreen(pixmap, f) {}; void clearMessage() { callbackQSplashScreen_ClearMessage(this); }; void drawContents(QPainter * painter) { callbackQSplashScreen_DrawContents(this, painter); }; void Signal_MessageChanged(const QString & message) { QByteArray t6f9b9a = message.toUtf8(); QtWidgets_PackedString messagePacked = { const_cast(t6f9b9a.prepend("WHITESPACE").constData()+10), t6f9b9a.size()-10 };callbackQSplashScreen_MessageChanged(this, messagePacked); }; @@ -40893,8 +40893,8 @@ void* QSplashScreen_Pixmap(void* ptr) class MyQSplitter: public QSplitter { public: - MyQSplitter(QWidget *parent) : QSplitter(parent) {}; - MyQSplitter(Qt::Orientation orientation, QWidget *parent) : QSplitter(orientation, parent) {}; + MyQSplitter(QWidget *parent = Q_NULLPTR) : QSplitter(parent) {}; + MyQSplitter(Qt::Orientation orientation, QWidget *parent = Q_NULLPTR) : QSplitter(orientation, parent) {}; QSplitterHandle * createHandle() { return static_cast(callbackQSplitter_CreateHandle(this)); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); }; @@ -41492,7 +41492,7 @@ int QStackedLayout_CurrentIndex(void* ptr) class MyQStackedWidget: public QStackedWidget { public: - MyQStackedWidget(QWidget *parent) : QStackedWidget(parent) {}; + MyQStackedWidget(QWidget *parent = Q_NULLPTR) : QStackedWidget(parent) {}; void Signal_CurrentChanged(int index) { callbackQStackedWidget_CurrentChanged(this, index); }; void setCurrentIndex(int index) { callbackQStackedWidget_SetCurrentIndex(this, index); }; void setCurrentWidget(QWidget * widget) { callbackQStackedWidget_SetCurrentWidget(this, widget); }; @@ -41671,7 +41671,7 @@ int QStackedWidget_IndexOf(void* ptr, void* widget) class MyQStatusBar: public QStatusBar { public: - MyQStatusBar(QWidget *parent) : QStatusBar(parent) {}; + MyQStatusBar(QWidget *parent = Q_NULLPTR) : QStatusBar(parent) {}; void clearMessage() { callbackQStatusBar_ClearMessage(this); }; void Signal_MessageChanged(const QString & message) { QByteArray t6f9b9a = message.toUtf8(); QtWidgets_PackedString messagePacked = { const_cast(t6f9b9a.prepend("WHITESPACE").constData()+10), t6f9b9a.size()-10 };callbackQStatusBar_MessageChanged(this, messagePacked); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; @@ -46289,7 +46289,7 @@ void* QStylePainter___drawRects_rectangles_newList2(void* ptr) class MyQStylePlugin: public QStylePlugin { public: - MyQStylePlugin(QObject *parent) : QStylePlugin(parent) {}; + MyQStylePlugin(QObject *parent = Q_NULLPTR) : QStylePlugin(parent) {}; QStyle * create(const QString & key) { QByteArray ta62f22 = key.toUtf8(); QtWidgets_PackedString keyPacked = { const_cast(ta62f22.prepend("WHITESPACE").constData()+10), ta62f22.size()-10 };return static_cast(callbackQStylePlugin_Create(this, keyPacked)); }; bool event(QEvent * e) { return callbackQStylePlugin_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQStylePlugin_EventFilter(this, watched, event) != 0; }; @@ -46528,7 +46528,7 @@ void* QStylePlugin_MetaObjectDefault(void* ptr) class MyQStyledItemDelegate: public QStyledItemDelegate { public: - MyQStyledItemDelegate(QObject *parent) : QStyledItemDelegate(parent) {}; + MyQStyledItemDelegate(QObject *parent = Q_NULLPTR) : QStyledItemDelegate(parent) {}; bool editorEvent(QEvent * event, QAbstractItemModel * model, const QStyleOptionViewItem & option, const QModelIndex & index) { return callbackQAbstractItemDelegate_EditorEvent(this, event, model, const_cast(&option), const_cast(&index)) != 0; }; bool eventFilter(QObject * editor, QEvent * event) { return callbackQAbstractItemDelegate_EventFilter(this, editor, event) != 0; }; QSize sizeHint(const QStyleOptionViewItem & option, const QModelIndex & index) const { return *static_cast(callbackQStyledItemDelegate_SizeHint(const_cast(static_cast(this)), const_cast(&option), const_cast(&index))); }; @@ -46696,8 +46696,8 @@ double QSwipeGesture_SwipeAngle(void* ptr) class MyQSystemTrayIcon: public QSystemTrayIcon { public: - MyQSystemTrayIcon(QObject *parent) : QSystemTrayIcon(parent) {}; - MyQSystemTrayIcon(const QIcon &icon, QObject *parent) : QSystemTrayIcon(icon, parent) {}; + MyQSystemTrayIcon(QObject *parent = Q_NULLPTR) : QSystemTrayIcon(parent) {}; + MyQSystemTrayIcon(const QIcon &icon, QObject *parent = Q_NULLPTR) : QSystemTrayIcon(icon, parent) {}; bool event(QEvent * e) { return callbackQSystemTrayIcon_Event(this, e) != 0; }; void Signal_Activated(QSystemTrayIcon::ActivationReason reason) { callbackQSystemTrayIcon_Activated(this, reason); }; void hide() { callbackQSystemTrayIcon_Hide(this); }; @@ -47097,7 +47097,7 @@ void* QSystemTrayIcon_MetaObjectDefault(void* ptr) class MyQTabBar: public QTabBar { public: - MyQTabBar(QWidget *parent) : QTabBar(parent) {}; + MyQTabBar(QWidget *parent = Q_NULLPTR) : QTabBar(parent) {}; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; void Signal_CurrentChanged(int index) { callbackQTabBar_CurrentChanged(this, index); }; void hideEvent(QHideEvent * vqh) { callbackQWidget_HideEvent(this, vqh); }; @@ -47583,7 +47583,7 @@ void QTabBar_InitStyleOption(void* ptr, void* option, int tabIndex) class MyQTabWidget: public QTabWidget { public: - MyQTabWidget(QWidget *parent) : QTabWidget(parent) {}; + MyQTabWidget(QWidget *parent = Q_NULLPTR) : QTabWidget(parent) {}; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void Signal_CurrentChanged(int index) { callbackQTabWidget_CurrentChanged(this, index); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; @@ -47986,7 +47986,7 @@ void QTabWidget_InitStyleOption(void* ptr, void* option) class MyQTableView: public QTableView { public: - MyQTableView(QWidget *parent) : QTableView(parent) {}; + MyQTableView(QWidget *parent = Q_NULLPTR) : QTableView(parent) {}; QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast(callbackQTableView_MoveCursor(this, cursorAction, modifiers)); }; void columnCountChanged(int oldCount, int newCount) { callbackQTableView_ColumnCountChanged(this, oldCount, newCount); }; void columnMoved(int column, int oldIndex, int newIndex) { callbackQTableView_ColumnMoved(this, column, oldIndex, newIndex); }; @@ -48705,8 +48705,8 @@ void* QTableView_VisualRegionForSelectionDefault(void* ptr, void* selection) class MyQTableWidget: public QTableWidget { public: - MyQTableWidget(QWidget *parent) : QTableWidget(parent) {}; - MyQTableWidget(int rows, int columns, QWidget *parent) : QTableWidget(rows, columns, parent) {}; + MyQTableWidget(QWidget *parent = Q_NULLPTR) : QTableWidget(parent) {}; + MyQTableWidget(int rows, int columns, QWidget *parent = Q_NULLPTR) : QTableWidget(rows, columns, parent) {}; bool dropMimeData(int row, int column, const QMimeData * data, Qt::DropAction action) { return callbackQTableWidget_DropMimeData(this, row, column, const_cast(data), action) != 0; }; void Signal_CellActivated(int row, int column) { callbackQTableWidget_CellActivated(this, row, column); }; void Signal_CellChanged(int row, int column) { callbackQTableWidget_CellChanged(this, row, column); }; @@ -49521,10 +49521,10 @@ void* QTableWidget___mimeData_items_newList(void* ptr) class MyQTableWidgetItem: public QTableWidgetItem { public: - MyQTableWidgetItem(const QIcon &icon, const QString &text, int type) : QTableWidgetItem(icon, text, type) {}; - MyQTableWidgetItem(const QString &text, int type) : QTableWidgetItem(text, type) {}; + MyQTableWidgetItem(const QIcon &icon, const QString &text, int type = Type) : QTableWidgetItem(icon, text, type) {}; + MyQTableWidgetItem(const QString &text, int type = Type) : QTableWidgetItem(text, type) {}; MyQTableWidgetItem(const QTableWidgetItem &other) : QTableWidgetItem(other) {}; - MyQTableWidgetItem(int type) : QTableWidgetItem(type) {}; + MyQTableWidgetItem(int type = Type) : QTableWidgetItem(type) {}; void read(QDataStream & in) { callbackQTableWidgetItem_Read(this, static_cast(&in)); }; void setData(int role, const QVariant & value) { callbackQTableWidgetItem_SetData(this, role, const_cast(&value)); }; ~MyQTableWidgetItem() { callbackQTableWidgetItem_DestroyQTableWidgetItem(this); }; @@ -49888,7 +49888,7 @@ void* QTapGesture_Position(void* ptr) class MyQTextBrowser: public QTextBrowser { public: - MyQTextBrowser(QWidget *parent) : QTextBrowser(parent) {}; + MyQTextBrowser(QWidget *parent = Q_NULLPTR) : QTextBrowser(parent) {}; QVariant loadResource(int ty, const QUrl & name) { return *static_cast(callbackQTextEdit_LoadResource(this, ty, const_cast(&name))); }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; @@ -50265,8 +50265,8 @@ void QTextBrowser_SetUndoRedoEnabled(void* ptr, char undoRedoEnabled) class MyQTextEdit: public QTextEdit { public: - MyQTextEdit(QWidget *parent) : QTextEdit(parent) {}; - MyQTextEdit(const QString &text, QWidget *parent) : QTextEdit(text, parent) {}; + MyQTextEdit(QWidget *parent = Q_NULLPTR) : QTextEdit(parent) {}; + MyQTextEdit(const QString &text, QWidget *parent = Q_NULLPTR) : QTextEdit(text, parent) {}; QVariant loadResource(int ty, const QUrl & name) { return *static_cast(callbackQTextEdit_LoadResource(this, ty, const_cast(&name))); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void append(const QString & text) { QByteArray t372ea0 = text.toUtf8(); QtWidgets_PackedString textPacked = { const_cast(t372ea0.prepend("WHITESPACE").constData()+10), t372ea0.size()-10 };callbackQTextEdit_Append(this, textPacked); }; @@ -51235,8 +51235,8 @@ void QTileRules_SetVertical(void* ptr, long long vqt) class MyQTimeEdit: public QTimeEdit { public: - MyQTimeEdit(QWidget *parent) : QTimeEdit(parent) {}; - MyQTimeEdit(const QTime &time, QWidget *parent) : QTimeEdit(time, parent) {}; + MyQTimeEdit(QWidget *parent = Q_NULLPTR) : QTimeEdit(parent) {}; + MyQTimeEdit(const QTime &time, QWidget *parent = Q_NULLPTR) : QTimeEdit(time, parent) {}; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void clear() { callbackQDateTimeEdit_Clear(this); }; void Signal_DateChanged(const QDate & date) { callbackQDateTimeEdit_DateChanged(this, const_cast(&date)); }; @@ -51343,8 +51343,8 @@ void QTimeEdit_DestroyQTimeEdit(void* ptr) class MyQToolBar: public QToolBar { public: - MyQToolBar(QWidget *parent) : QToolBar(parent) {}; - MyQToolBar(const QString &title, QWidget *parent) : QToolBar(title, parent) {}; + MyQToolBar(QWidget *parent = Q_NULLPTR) : QToolBar(parent) {}; + MyQToolBar(const QString &title, QWidget *parent = Q_NULLPTR) : QToolBar(title, parent) {}; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; void Signal_ActionTriggered(QAction * action) { callbackQToolBar_ActionTriggered(this, action); }; void Signal_AllowedAreasChanged(Qt::ToolBarAreas allowedAreas) { callbackQToolBar_AllowedAreasChanged(this, allowedAreas); }; @@ -51729,7 +51729,7 @@ char QToolBar_IsMovable(void* ptr) class MyQToolBox: public QToolBox { public: - MyQToolBox(QWidget *parent, Qt::WindowFlags f) : QToolBox(parent, f) {}; + MyQToolBox(QWidget *parent = Q_NULLPTR, Qt::WindowFlags f = Qt::WindowFlags()) : QToolBox(parent, f) {}; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void Signal_CurrentChanged(int index) { callbackQToolBox_CurrentChanged(this, index); }; void itemInserted(int index) { callbackQToolBox_ItemInserted(this, index); }; @@ -51964,7 +51964,7 @@ int QToolBox_IndexOf(void* ptr, void* widget) class MyQToolButton: public QToolButton { public: - MyQToolButton(QWidget *parent) : QToolButton(parent) {}; + MyQToolButton(QWidget *parent = Q_NULLPTR) : QToolButton(parent) {}; void paintEvent(QPaintEvent * event) { callbackQToolButton_PaintEvent(this, event); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; @@ -52225,7 +52225,7 @@ void QToolTip_QToolTip_ShowText3(void* pos, char* text, void* w, void* rect, int class MyQTreeView: public QTreeView { public: - MyQTreeView(QWidget *parent) : QTreeView(parent) {}; + MyQTreeView(QWidget *parent = Q_NULLPTR) : QTreeView(parent) {}; QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast(callbackQTreeView_MoveCursor(this, cursorAction, modifiers)); }; bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; }; void collapse(const QModelIndex & index) { callbackQTreeView_Collapse(this, const_cast(&index)); }; @@ -53076,7 +53076,7 @@ void QTreeView_DrawTree(void* ptr, void* painter, void* region) class MyQTreeWidget: public QTreeWidget { public: - MyQTreeWidget(QWidget *parent) : QTreeWidget(parent) {}; + MyQTreeWidget(QWidget *parent = Q_NULLPTR) : QTreeWidget(parent) {}; bool dropMimeData(QTreeWidgetItem * parent, int index, const QMimeData * data, Qt::DropAction action) { return callbackQTreeWidget_DropMimeData(this, parent, index, const_cast(data), action) != 0; }; void clear() { callbackQTreeWidget_Clear(this); }; void collapseItem(const QTreeWidgetItem * item) { callbackQTreeWidget_CollapseItem(this, const_cast(item)); }; @@ -53757,15 +53757,15 @@ void* QTreeWidget___mimeData_items_newList(void* ptr) class MyQTreeWidgetItem: public QTreeWidgetItem { public: - MyQTreeWidgetItem(QTreeWidget *parent, QTreeWidgetItem *preceding, int type) : QTreeWidgetItem(parent, preceding, type) {}; - MyQTreeWidgetItem(QTreeWidget *parent, const QStringList &strings, int type) : QTreeWidgetItem(parent, strings, type) {}; - MyQTreeWidgetItem(QTreeWidget *parent, int type) : QTreeWidgetItem(parent, type) {}; - MyQTreeWidgetItem(QTreeWidgetItem *parent, QTreeWidgetItem *preceding, int type) : QTreeWidgetItem(parent, preceding, type) {}; - MyQTreeWidgetItem(QTreeWidgetItem *parent, const QStringList &strings, int type) : QTreeWidgetItem(parent, strings, type) {}; - MyQTreeWidgetItem(QTreeWidgetItem *parent, int type) : QTreeWidgetItem(parent, type) {}; - MyQTreeWidgetItem(const QStringList &strings, int type) : QTreeWidgetItem(strings, type) {}; + MyQTreeWidgetItem(QTreeWidget *parent, QTreeWidgetItem *preceding, int type = Type) : QTreeWidgetItem(parent, preceding, type) {}; + MyQTreeWidgetItem(QTreeWidget *parent, const QStringList &strings, int type = Type) : QTreeWidgetItem(parent, strings, type) {}; + MyQTreeWidgetItem(QTreeWidget *parent, int type = Type) : QTreeWidgetItem(parent, type) {}; + MyQTreeWidgetItem(QTreeWidgetItem *parent, QTreeWidgetItem *preceding, int type = Type) : QTreeWidgetItem(parent, preceding, type) {}; + MyQTreeWidgetItem(QTreeWidgetItem *parent, const QStringList &strings, int type = Type) : QTreeWidgetItem(parent, strings, type) {}; + MyQTreeWidgetItem(QTreeWidgetItem *parent, int type = Type) : QTreeWidgetItem(parent, type) {}; + MyQTreeWidgetItem(const QStringList &strings, int type = Type) : QTreeWidgetItem(strings, type) {}; MyQTreeWidgetItem(const QTreeWidgetItem &other) : QTreeWidgetItem(other) {}; - MyQTreeWidgetItem(int type) : QTreeWidgetItem(type) {}; + MyQTreeWidgetItem(int type = Type) : QTreeWidgetItem(type) {}; void read(QDataStream & in) { callbackQTreeWidgetItem_Read(this, static_cast(&in)); }; void setData(int column, int role, const QVariant & value) { callbackQTreeWidgetItem_SetData(this, column, role, const_cast(&value)); }; ~MyQTreeWidgetItem() { callbackQTreeWidgetItem_DestroyQTreeWidgetItem(this); }; @@ -54187,8 +54187,8 @@ void* QTreeWidgetItem___insertChildren_children_newList(void* ptr) class MyQUndoCommand: public QUndoCommand { public: - MyQUndoCommand(QUndoCommand *parent) : QUndoCommand(parent) {}; - MyQUndoCommand(const QString &text, QUndoCommand *parent) : QUndoCommand(text, parent) {}; + MyQUndoCommand(QUndoCommand *parent = Q_NULLPTR) : QUndoCommand(parent) {}; + MyQUndoCommand(const QString &text, QUndoCommand *parent = Q_NULLPTR) : QUndoCommand(text, parent) {}; bool mergeWith(const QUndoCommand * command) { return callbackQUndoCommand_MergeWith(this, const_cast(command)) != 0; }; void redo() { callbackQUndoCommand_Redo(this); }; void undo() { callbackQUndoCommand_Undo(this); }; @@ -54284,7 +54284,7 @@ int QUndoCommand_IdDefault(void* ptr) class MyQUndoGroup: public QUndoGroup { public: - MyQUndoGroup(QObject *parent) : QUndoGroup(parent) {}; + MyQUndoGroup(QObject *parent = Q_NULLPTR) : QUndoGroup(parent) {}; void Signal_ActiveStackChanged(QUndoStack * stack) { callbackQUndoGroup_ActiveStackChanged(this, stack); }; void Signal_CanRedoChanged(bool canRedo) { callbackQUndoGroup_CanRedoChanged(this, canRedo); }; void Signal_CanUndoChanged(bool canUndo) { callbackQUndoGroup_CanUndoChanged(this, canUndo); }; @@ -54752,7 +54752,7 @@ void* QUndoGroup_MetaObjectDefault(void* ptr) class MyQUndoStack: public QUndoStack { public: - MyQUndoStack(QObject *parent) : QUndoStack(parent) {}; + MyQUndoStack(QObject *parent = Q_NULLPTR) : QUndoStack(parent) {}; void Signal_CanRedoChanged(bool canRedo) { callbackQUndoStack_CanRedoChanged(this, canRedo); }; void Signal_CanUndoChanged(bool canUndo) { callbackQUndoStack_CanUndoChanged(this, canUndo); }; void Signal_CleanChanged(bool clean) { callbackQUndoStack_CleanChanged(this, clean); }; @@ -55262,9 +55262,9 @@ void* QUndoStack_MetaObjectDefault(void* ptr) class MyQUndoView: public QUndoView { public: - MyQUndoView(QUndoGroup *group, QWidget *parent) : QUndoView(group, parent) {}; - MyQUndoView(QUndoStack *stack, QWidget *parent) : QUndoView(stack, parent) {}; - MyQUndoView(QWidget *parent) : QUndoView(parent) {}; + MyQUndoView(QUndoGroup *group, QWidget *parent = Q_NULLPTR) : QUndoView(group, parent) {}; + MyQUndoView(QUndoStack *stack, QWidget *parent = Q_NULLPTR) : QUndoView(stack, parent) {}; + MyQUndoView(QWidget *parent = Q_NULLPTR) : QUndoView(parent) {}; void setGroup(QUndoGroup * group) { callbackQUndoView_SetGroup(this, group); }; void setStack(QUndoStack * stack) { callbackQUndoView_SetStack(this, stack); }; QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast(callbackQListView_MoveCursor(this, cursorAction, modifiers)); }; @@ -55551,7 +55551,7 @@ void QWhatsThis_QWhatsThis_ShowText(void* pos, char* text, void* w) class MyQWidget: public QWidget { public: - MyQWidget(QWidget *parent, Qt::WindowFlags f) : QWidget(parent, f) {}; + MyQWidget(QWidget *parent = Q_NULLPTR, Qt::WindowFlags f = Qt::WindowFlags()) : QWidget(parent, f) {}; bool close() { return callbackQWidget_Close(this) != 0; }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; @@ -69087,7 +69087,7 @@ void QWidgetItem_SetWid(void* ptr, void* vqw) class MyQWizard: public QWizard { public: - MyQWizard(QWidget *parent, Qt::WindowFlags flags) : QWizard(parent, flags) {}; + MyQWizard(QWidget *parent = Q_NULLPTR, Qt::WindowFlags flags = Qt::WindowFlags()) : QWizard(parent, flags) {}; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, *result) != 0; }; bool validateCurrentPage() { return callbackQWizard_ValidateCurrentPage(this) != 0; }; @@ -69537,7 +69537,7 @@ void* QWizard___visitedPages_newList(void* ptr) class MyQWizardPage: public QWizardPage { public: - MyQWizardPage(QWidget *parent) : QWizardPage(parent) {}; + MyQWizardPage(QWidget *parent = Q_NULLPTR) : QWizardPage(parent) {}; bool validatePage() { return callbackQWizardPage_ValidatePage(this) != 0; }; void cleanupPage() { callbackQWizardPage_CleanupPage(this); }; void Signal_CompleteChanged() { callbackQWizardPage_CompleteChanged(this); }; diff --git a/xmlpatterns/xmlpatterns.cpp b/xmlpatterns/xmlpatterns.cpp index d9d701bd..68ca5f4c 100755 --- a/xmlpatterns/xmlpatterns.cpp +++ b/xmlpatterns/xmlpatterns.cpp @@ -212,7 +212,7 @@ void* QAbstractMessageHandler_MetaObjectDefault(void* ptr) class MyQAbstractUriResolver: public QAbstractUriResolver { public: - MyQAbstractUriResolver(QObject *parent) : QAbstractUriResolver(parent) {}; + MyQAbstractUriResolver(QObject *parent = Q_NULLPTR) : QAbstractUriResolver(parent) {}; ~MyQAbstractUriResolver() { callbackQAbstractUriResolver_DestroyQAbstractUriResolver(this); }; QUrl resolve(const QUrl & relative, const QUrl & baseURI) const { return *static_cast(callbackQAbstractUriResolver_Resolve(const_cast(static_cast(this)), const_cast(&relative), const_cast(&baseURI))); }; bool event(QEvent * e) { return callbackQAbstractUriResolver_Event(this, e) != 0; };