diff --git a/cmd/genbindings/clang2il.go b/cmd/genbindings/clang2il.go index e11f35812..0b968968d 100644 --- a/cmd/genbindings/clang2il.go +++ b/cmd/genbindings/clang2il.go @@ -225,7 +225,11 @@ func processClassType(node *AstNode, addNamePrefix string) (CppClass, error) { } } - isSignal := false + var ( + isSignal = false + sawNoArgCtor = false + sawDeletedCtor = false + ) // Parse all methods @@ -311,6 +315,16 @@ nextMethod: case "CXXConstructorDecl": + // This is a default constructor (no args) + if len(node.Inner) == 0 { + sawNoArgCtor = true + } + + if isExplicitlyDeleted(node) { + // Default constructor is deleted + sawDeletedCtor = true + } + if isImplicit, ok := node.Fields["isImplicit"].(bool); ok && isImplicit { // This is an implicit ctor. Therefore the class is constructable // even if we're currently in a `private:` block. @@ -524,6 +538,41 @@ nextMethod: } } + // Special hack: inject a fake implicit default ctor + // Clang seems to only include a CXXConstructorDecl for default ctors in some cases + // It's missing for QTextLayout::FormatRange. + // + // Notes: + // - Implicit default ctor, of a class with no user-declared ctors, is missing unless it is actually used + // - We do get definitionData.defaultCtor.exists but that is also true for deleted ctors + // - Also skip unless there is already another ctor, to avoid generating unsable ctors for QAbstract** classes + + if definitionData, ok := node.Fields["definitionData"].(map[string]interface{}); ok { + if defaultCtor, ok := definitionData["defaultCtor"].(map[string]interface{}); ok { + if exists, ok := defaultCtor["exists"].(bool); ok && exists { + if !sawNoArgCtor && !sawDeletedCtor && !ret.Abstract && len(ret.Ctors) > 0 { + + // Also make sure we do not already have an explicit ctor + hasBoundDefault := false + for _, ctor := range ret.Ctors { + if len(ctor.Parameters) == 0 { + hasBoundDefault = true + break + } + } + + if !hasBoundDefault { + // Add at end, to not renumber existing classes before this technique was added + ret.Ctors = append(ret.Ctors, CppMethod{ + ReturnType: CppParameter{ParameterType: "void"}, + IsStatic: true, + }) + } + } + } + } + } + return ret, nil // done } diff --git a/qt-extras/qwt/gen_qwt_color_map.cpp b/qt-extras/qwt/gen_qwt_color_map.cpp index 65859d9d8..f649404fa 100644 --- a/qt-extras/qwt/gen_qwt_color_map.cpp +++ b/qt-extras/qwt/gen_qwt_color_map.cpp @@ -182,6 +182,7 @@ class MiqtVirtualQwtLinearColorMap final : public QwtLinearColorMap { MiqtVirtualQwtLinearColorMap(): QwtLinearColorMap() {} MiqtVirtualQwtLinearColorMap(const QColor& color1, const QColor& color2): QwtLinearColorMap(color1, color2) {} + MiqtVirtualQwtLinearColorMap(): QwtLinearColorMap() {} MiqtVirtualQwtLinearColorMap(QwtColorMap::Format param1): QwtLinearColorMap(param1) {} MiqtVirtualQwtLinearColorMap(const QColor& color1, const QColor& color2, QwtColorMap::Format param3): QwtLinearColorMap(color1, color2, param3) {} @@ -259,11 +260,15 @@ QwtLinearColorMap* QwtLinearColorMap_new2(QColor* color1, QColor* color2) { return new (std::nothrow) MiqtVirtualQwtLinearColorMap(*color1, *color2); } -QwtLinearColorMap* QwtLinearColorMap_new3(int param1) { +QwtLinearColorMap* QwtLinearColorMap_new3() { + return new (std::nothrow) MiqtVirtualQwtLinearColorMap(); +} + +QwtLinearColorMap* QwtLinearColorMap_new4(int param1) { return new (std::nothrow) MiqtVirtualQwtLinearColorMap(static_cast(param1)); } -QwtLinearColorMap* QwtLinearColorMap_new4(QColor* color1, QColor* color2, int param3) { +QwtLinearColorMap* QwtLinearColorMap_new5(QColor* color1, QColor* color2, int param3) { return new (std::nothrow) MiqtVirtualQwtLinearColorMap(*color1, *color2, static_cast(param3)); } @@ -377,6 +382,7 @@ void QwtLinearColorMap_delete(QwtLinearColorMap* self) { class MiqtVirtualQwtAlphaColorMap final : public QwtAlphaColorMap { public: + MiqtVirtualQwtAlphaColorMap(): QwtAlphaColorMap() {} MiqtVirtualQwtAlphaColorMap(): QwtAlphaColorMap() {} MiqtVirtualQwtAlphaColorMap(const QColor& param1): QwtAlphaColorMap(param1) {} @@ -431,7 +437,11 @@ QwtAlphaColorMap* QwtAlphaColorMap_new() { return new (std::nothrow) MiqtVirtualQwtAlphaColorMap(); } -QwtAlphaColorMap* QwtAlphaColorMap_new2(QColor* param1) { +QwtAlphaColorMap* QwtAlphaColorMap_new2() { + return new (std::nothrow) MiqtVirtualQwtAlphaColorMap(); +} + +QwtAlphaColorMap* QwtAlphaColorMap_new3(QColor* param1) { return new (std::nothrow) MiqtVirtualQwtAlphaColorMap(*param1); } diff --git a/qt-extras/qwt/gen_qwt_color_map.go b/qt-extras/qwt/gen_qwt_color_map.go index 9aa55e004..75171b056 100644 --- a/qt-extras/qwt/gen_qwt_color_map.go +++ b/qt-extras/qwt/gen_qwt_color_map.go @@ -256,15 +256,21 @@ func NewQwtLinearColorMap2(color1 *qt.QColor, color2 *qt.QColor) *QwtLinearColor } // NewQwtLinearColorMap3 constructs a new QwtLinearColorMap object. -func NewQwtLinearColorMap3(param1 QwtColorMap__Format) *QwtLinearColorMap { +func NewQwtLinearColorMap3() *QwtLinearColorMap { - return newQwtLinearColorMap(C.QwtLinearColorMap_new3((C.int)(param1))) + return newQwtLinearColorMap(C.QwtLinearColorMap_new3()) } // NewQwtLinearColorMap4 constructs a new QwtLinearColorMap object. -func NewQwtLinearColorMap4(color1 *qt.QColor, color2 *qt.QColor, param3 QwtColorMap__Format) *QwtLinearColorMap { +func NewQwtLinearColorMap4(param1 QwtColorMap__Format) *QwtLinearColorMap { - return newQwtLinearColorMap(C.QwtLinearColorMap_new4((*C.QColor)(color1.UnsafePointer()), (*C.QColor)(color2.UnsafePointer()), (C.int)(param3))) + return newQwtLinearColorMap(C.QwtLinearColorMap_new4((C.int)(param1))) +} + +// NewQwtLinearColorMap5 constructs a new QwtLinearColorMap object. +func NewQwtLinearColorMap5(color1 *qt.QColor, color2 *qt.QColor, param3 QwtColorMap__Format) *QwtLinearColorMap { + + return newQwtLinearColorMap(C.QwtLinearColorMap_new5((*C.QColor)(color1.UnsafePointer()), (*C.QColor)(color2.UnsafePointer()), (C.int)(param3))) } func (this *QwtLinearColorMap) SetMode(mode QwtLinearColorMap__Mode) { @@ -470,9 +476,15 @@ func NewQwtAlphaColorMap() *QwtAlphaColorMap { } // NewQwtAlphaColorMap2 constructs a new QwtAlphaColorMap object. -func NewQwtAlphaColorMap2(param1 *qt.QColor) *QwtAlphaColorMap { +func NewQwtAlphaColorMap2() *QwtAlphaColorMap { + + return newQwtAlphaColorMap(C.QwtAlphaColorMap_new2()) +} + +// NewQwtAlphaColorMap3 constructs a new QwtAlphaColorMap object. +func NewQwtAlphaColorMap3(param1 *qt.QColor) *QwtAlphaColorMap { - return newQwtAlphaColorMap(C.QwtAlphaColorMap_new2((*C.QColor)(param1.UnsafePointer()))) + return newQwtAlphaColorMap(C.QwtAlphaColorMap_new3((*C.QColor)(param1.UnsafePointer()))) } func (this *QwtAlphaColorMap) SetColor(color *qt.QColor) { diff --git a/qt-extras/qwt/gen_qwt_color_map.h b/qt-extras/qwt/gen_qwt_color_map.h index 3c194d8a4..e9e9625c6 100644 --- a/qt-extras/qwt/gen_qwt_color_map.h +++ b/qt-extras/qwt/gen_qwt_color_map.h @@ -48,8 +48,9 @@ void QwtColorMap_delete(QwtColorMap* self); QwtLinearColorMap* QwtLinearColorMap_new(); QwtLinearColorMap* QwtLinearColorMap_new2(QColor* color1, QColor* color2); -QwtLinearColorMap* QwtLinearColorMap_new3(int param1); -QwtLinearColorMap* QwtLinearColorMap_new4(QColor* color1, QColor* color2, int param3); +QwtLinearColorMap* QwtLinearColorMap_new3(); +QwtLinearColorMap* QwtLinearColorMap_new4(int param1); +QwtLinearColorMap* QwtLinearColorMap_new5(QColor* color1, QColor* color2, int param3); void QwtLinearColorMap_virtbase(QwtLinearColorMap* src, QwtColorMap** outptr_QwtColorMap); void QwtLinearColorMap_setMode(QwtLinearColorMap* self, int mode); int QwtLinearColorMap_mode(const QwtLinearColorMap* self); @@ -71,7 +72,8 @@ struct miqt_array /* of unsigned int */ QwtLinearColorMap_virtualbase_colorTabl void QwtLinearColorMap_delete(QwtLinearColorMap* self); QwtAlphaColorMap* QwtAlphaColorMap_new(); -QwtAlphaColorMap* QwtAlphaColorMap_new2(QColor* param1); +QwtAlphaColorMap* QwtAlphaColorMap_new2(); +QwtAlphaColorMap* QwtAlphaColorMap_new3(QColor* param1); void QwtAlphaColorMap_virtbase(QwtAlphaColorMap* src, QwtColorMap** outptr_QwtColorMap); void QwtAlphaColorMap_setColor(QwtAlphaColorMap* self, QColor* color); QColor* QwtAlphaColorMap_color(const QwtAlphaColorMap* self); diff --git a/qt-extras/qwt/gen_qwt_column_symbol.cpp b/qt-extras/qwt/gen_qwt_column_symbol.cpp index 1fe549bc1..5208de6f4 100644 --- a/qt-extras/qwt/gen_qwt_column_symbol.cpp +++ b/qt-extras/qwt/gen_qwt_column_symbol.cpp @@ -58,6 +58,7 @@ void QwtColumnRect_delete(QwtColumnRect* self) { class MiqtVirtualQwtColumnSymbol final : public QwtColumnSymbol { public: + MiqtVirtualQwtColumnSymbol(): QwtColumnSymbol() {} MiqtVirtualQwtColumnSymbol(): QwtColumnSymbol() {} MiqtVirtualQwtColumnSymbol(QwtColumnSymbol::Style param1): QwtColumnSymbol(param1) {} @@ -91,7 +92,11 @@ QwtColumnSymbol* QwtColumnSymbol_new() { return new (std::nothrow) MiqtVirtualQwtColumnSymbol(); } -QwtColumnSymbol* QwtColumnSymbol_new2(int param1) { +QwtColumnSymbol* QwtColumnSymbol_new2() { + return new (std::nothrow) MiqtVirtualQwtColumnSymbol(); +} + +QwtColumnSymbol* QwtColumnSymbol_new3(int param1) { return new (std::nothrow) MiqtVirtualQwtColumnSymbol(static_cast(param1)); } diff --git a/qt-extras/qwt/gen_qwt_column_symbol.go b/qt-extras/qwt/gen_qwt_column_symbol.go index 6570d5efb..2fbce55b6 100644 --- a/qt-extras/qwt/gen_qwt_column_symbol.go +++ b/qt-extras/qwt/gen_qwt_column_symbol.go @@ -169,9 +169,15 @@ func NewQwtColumnSymbol() *QwtColumnSymbol { } // NewQwtColumnSymbol2 constructs a new QwtColumnSymbol object. -func NewQwtColumnSymbol2(param1 QwtColumnSymbol__Style) *QwtColumnSymbol { +func NewQwtColumnSymbol2() *QwtColumnSymbol { - return newQwtColumnSymbol(C.QwtColumnSymbol_new2((C.int)(param1))) + return newQwtColumnSymbol(C.QwtColumnSymbol_new2()) +} + +// NewQwtColumnSymbol3 constructs a new QwtColumnSymbol object. +func NewQwtColumnSymbol3(param1 QwtColumnSymbol__Style) *QwtColumnSymbol { + + return newQwtColumnSymbol(C.QwtColumnSymbol_new3((C.int)(param1))) } func (this *QwtColumnSymbol) SetFrameStyle(frameStyle QwtColumnSymbol__FrameStyle) { diff --git a/qt-extras/qwt/gen_qwt_column_symbol.h b/qt-extras/qwt/gen_qwt_column_symbol.h index 26d2a9fe1..948ea0ade 100644 --- a/qt-extras/qwt/gen_qwt_column_symbol.h +++ b/qt-extras/qwt/gen_qwt_column_symbol.h @@ -43,7 +43,8 @@ void QwtColumnRect_setDirection(QwtColumnRect* self, int direction); void QwtColumnRect_delete(QwtColumnRect* self); QwtColumnSymbol* QwtColumnSymbol_new(); -QwtColumnSymbol* QwtColumnSymbol_new2(int param1); +QwtColumnSymbol* QwtColumnSymbol_new2(); +QwtColumnSymbol* QwtColumnSymbol_new3(int param1); void QwtColumnSymbol_setFrameStyle(QwtColumnSymbol* self, int frameStyle); int QwtColumnSymbol_frameStyle(const QwtColumnSymbol* self); void QwtColumnSymbol_setLineWidth(QwtColumnSymbol* self, int width); diff --git a/qt-extras/qwt/gen_qwt_compass_rose.cpp b/qt-extras/qwt/gen_qwt_compass_rose.cpp index 15d62053d..162d86836 100644 --- a/qt-extras/qwt/gen_qwt_compass_rose.cpp +++ b/qt-extras/qwt/gen_qwt_compass_rose.cpp @@ -120,6 +120,7 @@ class MiqtVirtualQwtSimpleCompassRose final : public QwtSimpleCompassRose { MiqtVirtualQwtSimpleCompassRose(): QwtSimpleCompassRose() {} MiqtVirtualQwtSimpleCompassRose(const QwtSimpleCompassRose& param1): QwtSimpleCompassRose(param1) {} + MiqtVirtualQwtSimpleCompassRose(): QwtSimpleCompassRose() {} MiqtVirtualQwtSimpleCompassRose(int numThorns): QwtSimpleCompassRose(numThorns) {} MiqtVirtualQwtSimpleCompassRose(int numThorns, int numThornLevels): QwtSimpleCompassRose(numThorns, numThornLevels) {} @@ -178,11 +179,15 @@ QwtSimpleCompassRose* QwtSimpleCompassRose_new2(QwtSimpleCompassRose* param1) { return new (std::nothrow) MiqtVirtualQwtSimpleCompassRose(*param1); } -QwtSimpleCompassRose* QwtSimpleCompassRose_new3(int numThorns) { +QwtSimpleCompassRose* QwtSimpleCompassRose_new3() { + return new (std::nothrow) MiqtVirtualQwtSimpleCompassRose(); +} + +QwtSimpleCompassRose* QwtSimpleCompassRose_new4(int numThorns) { return new (std::nothrow) MiqtVirtualQwtSimpleCompassRose(static_cast(numThorns)); } -QwtSimpleCompassRose* QwtSimpleCompassRose_new4(int numThorns, int numThornLevels) { +QwtSimpleCompassRose* QwtSimpleCompassRose_new5(int numThorns, int numThornLevels) { return new (std::nothrow) MiqtVirtualQwtSimpleCompassRose(static_cast(numThorns), static_cast(numThornLevels)); } diff --git a/qt-extras/qwt/gen_qwt_compass_rose.go b/qt-extras/qwt/gen_qwt_compass_rose.go index 78b88d13f..0ca8f0af4 100644 --- a/qt-extras/qwt/gen_qwt_compass_rose.go +++ b/qt-extras/qwt/gen_qwt_compass_rose.go @@ -186,15 +186,21 @@ func NewQwtSimpleCompassRose2(param1 *QwtSimpleCompassRose) *QwtSimpleCompassRos } // NewQwtSimpleCompassRose3 constructs a new QwtSimpleCompassRose object. -func NewQwtSimpleCompassRose3(numThorns int) *QwtSimpleCompassRose { +func NewQwtSimpleCompassRose3() *QwtSimpleCompassRose { - return newQwtSimpleCompassRose(C.QwtSimpleCompassRose_new3((C.int)(numThorns))) + return newQwtSimpleCompassRose(C.QwtSimpleCompassRose_new3()) } // NewQwtSimpleCompassRose4 constructs a new QwtSimpleCompassRose object. -func NewQwtSimpleCompassRose4(numThorns int, numThornLevels int) *QwtSimpleCompassRose { +func NewQwtSimpleCompassRose4(numThorns int) *QwtSimpleCompassRose { - return newQwtSimpleCompassRose(C.QwtSimpleCompassRose_new4((C.int)(numThorns), (C.int)(numThornLevels))) + return newQwtSimpleCompassRose(C.QwtSimpleCompassRose_new4((C.int)(numThorns))) +} + +// NewQwtSimpleCompassRose5 constructs a new QwtSimpleCompassRose object. +func NewQwtSimpleCompassRose5(numThorns int, numThornLevels int) *QwtSimpleCompassRose { + + return newQwtSimpleCompassRose(C.QwtSimpleCompassRose_new5((C.int)(numThorns), (C.int)(numThornLevels))) } func (this *QwtSimpleCompassRose) SetWidth(width float64) { diff --git a/qt-extras/qwt/gen_qwt_compass_rose.h b/qt-extras/qwt/gen_qwt_compass_rose.h index 25575303c..5b521775d 100644 --- a/qt-extras/qwt/gen_qwt_compass_rose.h +++ b/qt-extras/qwt/gen_qwt_compass_rose.h @@ -43,8 +43,9 @@ void QwtCompassRose_delete(QwtCompassRose* self); QwtSimpleCompassRose* QwtSimpleCompassRose_new(); QwtSimpleCompassRose* QwtSimpleCompassRose_new2(QwtSimpleCompassRose* param1); -QwtSimpleCompassRose* QwtSimpleCompassRose_new3(int numThorns); -QwtSimpleCompassRose* QwtSimpleCompassRose_new4(int numThorns, int numThornLevels); +QwtSimpleCompassRose* QwtSimpleCompassRose_new3(); +QwtSimpleCompassRose* QwtSimpleCompassRose_new4(int numThorns); +QwtSimpleCompassRose* QwtSimpleCompassRose_new5(int numThorns, int numThornLevels); void QwtSimpleCompassRose_virtbase(QwtSimpleCompassRose* src, QwtCompassRose** outptr_QwtCompassRose); void QwtSimpleCompassRose_setWidth(QwtSimpleCompassRose* self, double width); double QwtSimpleCompassRose_width(const QwtSimpleCompassRose* self); diff --git a/qt-extras/qwt/gen_qwt_date_scale_engine.cpp b/qt-extras/qwt/gen_qwt_date_scale_engine.cpp index 70a330534..0e4d7f4f0 100644 --- a/qt-extras/qwt/gen_qwt_date_scale_engine.cpp +++ b/qt-extras/qwt/gen_qwt_date_scale_engine.cpp @@ -20,6 +20,7 @@ class MiqtVirtualQwtDateScaleEngine final : public QwtDateScaleEngine { MiqtVirtualQwtDateScaleEngine(): QwtDateScaleEngine() {} MiqtVirtualQwtDateScaleEngine(const QwtDateScaleEngine& param1): QwtDateScaleEngine(param1) {} + MiqtVirtualQwtDateScaleEngine(): QwtDateScaleEngine() {} MiqtVirtualQwtDateScaleEngine(Qt::TimeSpec param1): QwtDateScaleEngine(param1) {} virtual ~MiqtVirtualQwtDateScaleEngine() override = default; @@ -127,7 +128,11 @@ QwtDateScaleEngine* QwtDateScaleEngine_new2(QwtDateScaleEngine* param1) { return new (std::nothrow) MiqtVirtualQwtDateScaleEngine(*param1); } -QwtDateScaleEngine* QwtDateScaleEngine_new3(int param1) { +QwtDateScaleEngine* QwtDateScaleEngine_new3() { + return new (std::nothrow) MiqtVirtualQwtDateScaleEngine(); +} + +QwtDateScaleEngine* QwtDateScaleEngine_new4(int param1) { return new (std::nothrow) MiqtVirtualQwtDateScaleEngine(static_cast(param1)); } diff --git a/qt-extras/qwt/gen_qwt_date_scale_engine.go b/qt-extras/qwt/gen_qwt_date_scale_engine.go index 9c980267a..d9d28c0ea 100644 --- a/qt-extras/qwt/gen_qwt_date_scale_engine.go +++ b/qt-extras/qwt/gen_qwt_date_scale_engine.go @@ -64,9 +64,15 @@ func NewQwtDateScaleEngine2(param1 *QwtDateScaleEngine) *QwtDateScaleEngine { } // NewQwtDateScaleEngine3 constructs a new QwtDateScaleEngine object. -func NewQwtDateScaleEngine3(param1 qt.TimeSpec) *QwtDateScaleEngine { +func NewQwtDateScaleEngine3() *QwtDateScaleEngine { - return newQwtDateScaleEngine(C.QwtDateScaleEngine_new3((C.int)(param1))) + return newQwtDateScaleEngine(C.QwtDateScaleEngine_new3()) +} + +// NewQwtDateScaleEngine4 constructs a new QwtDateScaleEngine object. +func NewQwtDateScaleEngine4(param1 qt.TimeSpec) *QwtDateScaleEngine { + + return newQwtDateScaleEngine(C.QwtDateScaleEngine_new4((C.int)(param1))) } func (this *QwtDateScaleEngine) SetTimeSpec(timeSpec qt.TimeSpec) { diff --git a/qt-extras/qwt/gen_qwt_date_scale_engine.h b/qt-extras/qwt/gen_qwt_date_scale_engine.h index 86b4c631e..b6174cd56 100644 --- a/qt-extras/qwt/gen_qwt_date_scale_engine.h +++ b/qt-extras/qwt/gen_qwt_date_scale_engine.h @@ -32,7 +32,8 @@ typedef struct QwtScaleEngine QwtScaleEngine; QwtDateScaleEngine* QwtDateScaleEngine_new(); QwtDateScaleEngine* QwtDateScaleEngine_new2(QwtDateScaleEngine* param1); -QwtDateScaleEngine* QwtDateScaleEngine_new3(int param1); +QwtDateScaleEngine* QwtDateScaleEngine_new3(); +QwtDateScaleEngine* QwtDateScaleEngine_new4(int param1); void QwtDateScaleEngine_virtbase(QwtDateScaleEngine* src, QwtLinearScaleEngine** outptr_QwtLinearScaleEngine); void QwtDateScaleEngine_setTimeSpec(QwtDateScaleEngine* self, int timeSpec); int QwtDateScaleEngine_timeSpec(const QwtDateScaleEngine* self); diff --git a/qt-extras/qwt/gen_qwt_dial_needle.cpp b/qt-extras/qwt/gen_qwt_dial_needle.cpp index 371056960..9a4e4b921 100644 --- a/qt-extras/qwt/gen_qwt_dial_needle.cpp +++ b/qt-extras/qwt/gen_qwt_dial_needle.cpp @@ -403,6 +403,7 @@ class MiqtVirtualQwtCompassMagnetNeedle final : public QwtCompassMagnetNeedle { MiqtVirtualQwtCompassMagnetNeedle(): QwtCompassMagnetNeedle() {} MiqtVirtualQwtCompassMagnetNeedle(const QwtCompassMagnetNeedle& param1): QwtCompassMagnetNeedle(param1) {} + MiqtVirtualQwtCompassMagnetNeedle(): QwtCompassMagnetNeedle() {} MiqtVirtualQwtCompassMagnetNeedle(QwtCompassMagnetNeedle::Style param1): QwtCompassMagnetNeedle(param1) {} MiqtVirtualQwtCompassMagnetNeedle(QwtCompassMagnetNeedle::Style param1, const QColor& light): QwtCompassMagnetNeedle(param1, light) {} MiqtVirtualQwtCompassMagnetNeedle(QwtCompassMagnetNeedle::Style param1, const QColor& light, const QColor& dark): QwtCompassMagnetNeedle(param1, light, dark) {} @@ -504,15 +505,19 @@ QwtCompassMagnetNeedle* QwtCompassMagnetNeedle_new2(QwtCompassMagnetNeedle* para return new (std::nothrow) MiqtVirtualQwtCompassMagnetNeedle(*param1); } -QwtCompassMagnetNeedle* QwtCompassMagnetNeedle_new3(int param1) { +QwtCompassMagnetNeedle* QwtCompassMagnetNeedle_new3() { + return new (std::nothrow) MiqtVirtualQwtCompassMagnetNeedle(); +} + +QwtCompassMagnetNeedle* QwtCompassMagnetNeedle_new4(int param1) { return new (std::nothrow) MiqtVirtualQwtCompassMagnetNeedle(static_cast(param1)); } -QwtCompassMagnetNeedle* QwtCompassMagnetNeedle_new4(int param1, QColor* light) { +QwtCompassMagnetNeedle* QwtCompassMagnetNeedle_new5(int param1, QColor* light) { return new (std::nothrow) MiqtVirtualQwtCompassMagnetNeedle(static_cast(param1), *light); } -QwtCompassMagnetNeedle* QwtCompassMagnetNeedle_new5(int param1, QColor* light, QColor* dark) { +QwtCompassMagnetNeedle* QwtCompassMagnetNeedle_new6(int param1, QColor* light, QColor* dark) { return new (std::nothrow) MiqtVirtualQwtCompassMagnetNeedle(static_cast(param1), *light, *dark); } diff --git a/qt-extras/qwt/gen_qwt_dial_needle.go b/qt-extras/qwt/gen_qwt_dial_needle.go index c879a0b98..b309104d8 100644 --- a/qt-extras/qwt/gen_qwt_dial_needle.go +++ b/qt-extras/qwt/gen_qwt_dial_needle.go @@ -489,21 +489,27 @@ func NewQwtCompassMagnetNeedle2(param1 *QwtCompassMagnetNeedle) *QwtCompassMagne } // NewQwtCompassMagnetNeedle3 constructs a new QwtCompassMagnetNeedle object. -func NewQwtCompassMagnetNeedle3(param1 QwtCompassMagnetNeedle__Style) *QwtCompassMagnetNeedle { +func NewQwtCompassMagnetNeedle3() *QwtCompassMagnetNeedle { - return newQwtCompassMagnetNeedle(C.QwtCompassMagnetNeedle_new3((C.int)(param1))) + return newQwtCompassMagnetNeedle(C.QwtCompassMagnetNeedle_new3()) } // NewQwtCompassMagnetNeedle4 constructs a new QwtCompassMagnetNeedle object. -func NewQwtCompassMagnetNeedle4(param1 QwtCompassMagnetNeedle__Style, light *qt.QColor) *QwtCompassMagnetNeedle { +func NewQwtCompassMagnetNeedle4(param1 QwtCompassMagnetNeedle__Style) *QwtCompassMagnetNeedle { - return newQwtCompassMagnetNeedle(C.QwtCompassMagnetNeedle_new4((C.int)(param1), (*C.QColor)(light.UnsafePointer()))) + return newQwtCompassMagnetNeedle(C.QwtCompassMagnetNeedle_new4((C.int)(param1))) } // NewQwtCompassMagnetNeedle5 constructs a new QwtCompassMagnetNeedle object. -func NewQwtCompassMagnetNeedle5(param1 QwtCompassMagnetNeedle__Style, light *qt.QColor, dark *qt.QColor) *QwtCompassMagnetNeedle { +func NewQwtCompassMagnetNeedle5(param1 QwtCompassMagnetNeedle__Style, light *qt.QColor) *QwtCompassMagnetNeedle { - return newQwtCompassMagnetNeedle(C.QwtCompassMagnetNeedle_new5((C.int)(param1), (*C.QColor)(light.UnsafePointer()), (*C.QColor)(dark.UnsafePointer()))) + return newQwtCompassMagnetNeedle(C.QwtCompassMagnetNeedle_new5((C.int)(param1), (*C.QColor)(light.UnsafePointer()))) +} + +// NewQwtCompassMagnetNeedle6 constructs a new QwtCompassMagnetNeedle object. +func NewQwtCompassMagnetNeedle6(param1 QwtCompassMagnetNeedle__Style, light *qt.QColor, dark *qt.QColor) *QwtCompassMagnetNeedle { + + return newQwtCompassMagnetNeedle(C.QwtCompassMagnetNeedle_new6((C.int)(param1), (*C.QColor)(light.UnsafePointer()), (*C.QColor)(dark.UnsafePointer()))) } func (this *QwtCompassMagnetNeedle) OperatorAssign(param1 *QwtCompassMagnetNeedle) { diff --git a/qt-extras/qwt/gen_qwt_dial_needle.h b/qt-extras/qwt/gen_qwt_dial_needle.h index c726d7ead..4bb69c8b7 100644 --- a/qt-extras/qwt/gen_qwt_dial_needle.h +++ b/qt-extras/qwt/gen_qwt_dial_needle.h @@ -80,9 +80,10 @@ void QwtDialSimpleNeedle_delete(QwtDialSimpleNeedle* self); QwtCompassMagnetNeedle* QwtCompassMagnetNeedle_new(); QwtCompassMagnetNeedle* QwtCompassMagnetNeedle_new2(QwtCompassMagnetNeedle* param1); -QwtCompassMagnetNeedle* QwtCompassMagnetNeedle_new3(int param1); -QwtCompassMagnetNeedle* QwtCompassMagnetNeedle_new4(int param1, QColor* light); -QwtCompassMagnetNeedle* QwtCompassMagnetNeedle_new5(int param1, QColor* light, QColor* dark); +QwtCompassMagnetNeedle* QwtCompassMagnetNeedle_new3(); +QwtCompassMagnetNeedle* QwtCompassMagnetNeedle_new4(int param1); +QwtCompassMagnetNeedle* QwtCompassMagnetNeedle_new5(int param1, QColor* light); +QwtCompassMagnetNeedle* QwtCompassMagnetNeedle_new6(int param1, QColor* light, QColor* dark); void QwtCompassMagnetNeedle_virtbase(QwtCompassMagnetNeedle* src, QwtDialNeedle** outptr_QwtDialNeedle); void QwtCompassMagnetNeedle_drawNeedle(const QwtCompassMagnetNeedle* self, QPainter* param1, double length, int param3); void QwtCompassMagnetNeedle_operatorAssign(QwtCompassMagnetNeedle* self, QwtCompassMagnetNeedle* param1); diff --git a/qt-extras/qwt/gen_qwt_event_pattern.cpp b/qt-extras/qwt/gen_qwt_event_pattern.cpp index 072e57067..551ce2b34 100644 --- a/qt-extras/qwt/gen_qwt_event_pattern.cpp +++ b/qt-extras/qwt/gen_qwt_event_pattern.cpp @@ -220,11 +220,15 @@ QwtEventPattern__MousePattern* QwtEventPattern__MousePattern_new2(QwtEventPatter return new (std::nothrow) QwtEventPattern::MousePattern(*param1); } -QwtEventPattern__MousePattern* QwtEventPattern__MousePattern_new3(int btn) { +QwtEventPattern__MousePattern* QwtEventPattern__MousePattern_new3() { + return new (std::nothrow) QwtEventPattern::MousePattern(); +} + +QwtEventPattern__MousePattern* QwtEventPattern__MousePattern_new4(int btn) { return new (std::nothrow) QwtEventPattern::MousePattern(static_cast(btn)); } -QwtEventPattern__MousePattern* QwtEventPattern__MousePattern_new4(int btn, int modifierCodes) { +QwtEventPattern__MousePattern* QwtEventPattern__MousePattern_new5(int btn, int modifierCodes) { return new (std::nothrow) QwtEventPattern::MousePattern(static_cast(btn), static_cast(modifierCodes)); } @@ -258,11 +262,15 @@ QwtEventPattern__KeyPattern* QwtEventPattern__KeyPattern_new2(QwtEventPattern__K return new (std::nothrow) QwtEventPattern::KeyPattern(*param1); } -QwtEventPattern__KeyPattern* QwtEventPattern__KeyPattern_new3(int keyCode) { +QwtEventPattern__KeyPattern* QwtEventPattern__KeyPattern_new3() { + return new (std::nothrow) QwtEventPattern::KeyPattern(); +} + +QwtEventPattern__KeyPattern* QwtEventPattern__KeyPattern_new4(int keyCode) { return new (std::nothrow) QwtEventPattern::KeyPattern(static_cast(keyCode)); } -QwtEventPattern__KeyPattern* QwtEventPattern__KeyPattern_new4(int keyCode, int modifierCodes) { +QwtEventPattern__KeyPattern* QwtEventPattern__KeyPattern_new5(int keyCode, int modifierCodes) { return new (std::nothrow) QwtEventPattern::KeyPattern(static_cast(keyCode), static_cast(modifierCodes)); } diff --git a/qt-extras/qwt/gen_qwt_event_pattern.go b/qt-extras/qwt/gen_qwt_event_pattern.go index f21b67383..63be7ef05 100644 --- a/qt-extras/qwt/gen_qwt_event_pattern.go +++ b/qt-extras/qwt/gen_qwt_event_pattern.go @@ -310,15 +310,21 @@ func NewQwtEventPattern__MousePattern2(param1 *QwtEventPattern__MousePattern) *Q } // NewQwtEventPattern__MousePattern3 constructs a new QwtEventPattern::MousePattern object. -func NewQwtEventPattern__MousePattern3(btn qt.MouseButton) *QwtEventPattern__MousePattern { +func NewQwtEventPattern__MousePattern3() *QwtEventPattern__MousePattern { - return newQwtEventPattern__MousePattern(C.QwtEventPattern__MousePattern_new3((C.int)(btn))) + return newQwtEventPattern__MousePattern(C.QwtEventPattern__MousePattern_new3()) } // NewQwtEventPattern__MousePattern4 constructs a new QwtEventPattern::MousePattern object. -func NewQwtEventPattern__MousePattern4(btn qt.MouseButton, modifierCodes qt.KeyboardModifier) *QwtEventPattern__MousePattern { +func NewQwtEventPattern__MousePattern4(btn qt.MouseButton) *QwtEventPattern__MousePattern { - return newQwtEventPattern__MousePattern(C.QwtEventPattern__MousePattern_new4((C.int)(btn), (C.int)(modifierCodes))) + return newQwtEventPattern__MousePattern(C.QwtEventPattern__MousePattern_new4((C.int)(btn))) +} + +// NewQwtEventPattern__MousePattern5 constructs a new QwtEventPattern::MousePattern object. +func NewQwtEventPattern__MousePattern5(btn qt.MouseButton, modifierCodes qt.KeyboardModifier) *QwtEventPattern__MousePattern { + + return newQwtEventPattern__MousePattern(C.QwtEventPattern__MousePattern_new5((C.int)(btn), (C.int)(modifierCodes))) } func (this *QwtEventPattern__MousePattern) Button() qt.MouseButton { @@ -396,15 +402,21 @@ func NewQwtEventPattern__KeyPattern2(param1 *QwtEventPattern__KeyPattern) *QwtEv } // NewQwtEventPattern__KeyPattern3 constructs a new QwtEventPattern::KeyPattern object. -func NewQwtEventPattern__KeyPattern3(keyCode int) *QwtEventPattern__KeyPattern { +func NewQwtEventPattern__KeyPattern3() *QwtEventPattern__KeyPattern { - return newQwtEventPattern__KeyPattern(C.QwtEventPattern__KeyPattern_new3((C.int)(keyCode))) + return newQwtEventPattern__KeyPattern(C.QwtEventPattern__KeyPattern_new3()) } // NewQwtEventPattern__KeyPattern4 constructs a new QwtEventPattern::KeyPattern object. -func NewQwtEventPattern__KeyPattern4(keyCode int, modifierCodes qt.KeyboardModifier) *QwtEventPattern__KeyPattern { +func NewQwtEventPattern__KeyPattern4(keyCode int) *QwtEventPattern__KeyPattern { + + return newQwtEventPattern__KeyPattern(C.QwtEventPattern__KeyPattern_new4((C.int)(keyCode))) +} + +// NewQwtEventPattern__KeyPattern5 constructs a new QwtEventPattern::KeyPattern object. +func NewQwtEventPattern__KeyPattern5(keyCode int, modifierCodes qt.KeyboardModifier) *QwtEventPattern__KeyPattern { - return newQwtEventPattern__KeyPattern(C.QwtEventPattern__KeyPattern_new4((C.int)(keyCode), (C.int)(modifierCodes))) + return newQwtEventPattern__KeyPattern(C.QwtEventPattern__KeyPattern_new5((C.int)(keyCode), (C.int)(modifierCodes))) } func (this *QwtEventPattern__KeyPattern) Key() int { diff --git a/qt-extras/qwt/gen_qwt_event_pattern.h b/qt-extras/qwt/gen_qwt_event_pattern.h index 0192bcc64..2f5eab16c 100644 --- a/qt-extras/qwt/gen_qwt_event_pattern.h +++ b/qt-extras/qwt/gen_qwt_event_pattern.h @@ -65,8 +65,9 @@ void QwtEventPattern_delete(QwtEventPattern* self); QwtEventPattern__MousePattern* QwtEventPattern__MousePattern_new(); QwtEventPattern__MousePattern* QwtEventPattern__MousePattern_new2(QwtEventPattern__MousePattern* param1); -QwtEventPattern__MousePattern* QwtEventPattern__MousePattern_new3(int btn); -QwtEventPattern__MousePattern* QwtEventPattern__MousePattern_new4(int btn, int modifierCodes); +QwtEventPattern__MousePattern* QwtEventPattern__MousePattern_new3(); +QwtEventPattern__MousePattern* QwtEventPattern__MousePattern_new4(int btn); +QwtEventPattern__MousePattern* QwtEventPattern__MousePattern_new5(int btn, int modifierCodes); int QwtEventPattern__MousePattern_button(const QwtEventPattern__MousePattern* self); void QwtEventPattern__MousePattern_setButton(QwtEventPattern__MousePattern* self, int button); int QwtEventPattern__MousePattern_modifiers(const QwtEventPattern__MousePattern* self); @@ -76,8 +77,9 @@ void QwtEventPattern__MousePattern_delete(QwtEventPattern__MousePattern* self); QwtEventPattern__KeyPattern* QwtEventPattern__KeyPattern_new(); QwtEventPattern__KeyPattern* QwtEventPattern__KeyPattern_new2(QwtEventPattern__KeyPattern* param1); -QwtEventPattern__KeyPattern* QwtEventPattern__KeyPattern_new3(int keyCode); -QwtEventPattern__KeyPattern* QwtEventPattern__KeyPattern_new4(int keyCode, int modifierCodes); +QwtEventPattern__KeyPattern* QwtEventPattern__KeyPattern_new3(); +QwtEventPattern__KeyPattern* QwtEventPattern__KeyPattern_new4(int keyCode); +QwtEventPattern__KeyPattern* QwtEventPattern__KeyPattern_new5(int keyCode, int modifierCodes); int QwtEventPattern__KeyPattern_key(const QwtEventPattern__KeyPattern* self); void QwtEventPattern__KeyPattern_setKey(QwtEventPattern__KeyPattern* self, int key); int QwtEventPattern__KeyPattern_modifiers(const QwtEventPattern__KeyPattern* self); diff --git a/qt-extras/qwt/gen_qwt_interval_symbol.cpp b/qt-extras/qwt/gen_qwt_interval_symbol.cpp index b1d489527..8b1d3ebca 100644 --- a/qt-extras/qwt/gen_qwt_interval_symbol.cpp +++ b/qt-extras/qwt/gen_qwt_interval_symbol.cpp @@ -20,6 +20,7 @@ class MiqtVirtualQwtIntervalSymbol final : public QwtIntervalSymbol { MiqtVirtualQwtIntervalSymbol(): QwtIntervalSymbol() {} MiqtVirtualQwtIntervalSymbol(const QwtIntervalSymbol& param1): QwtIntervalSymbol(param1) {} + MiqtVirtualQwtIntervalSymbol(): QwtIntervalSymbol() {} MiqtVirtualQwtIntervalSymbol(QwtIntervalSymbol::Style param1): QwtIntervalSymbol(param1) {} virtual ~MiqtVirtualQwtIntervalSymbol() override = default; @@ -59,7 +60,11 @@ QwtIntervalSymbol* QwtIntervalSymbol_new2(QwtIntervalSymbol* param1) { return new (std::nothrow) MiqtVirtualQwtIntervalSymbol(*param1); } -QwtIntervalSymbol* QwtIntervalSymbol_new3(int param1) { +QwtIntervalSymbol* QwtIntervalSymbol_new3() { + return new (std::nothrow) MiqtVirtualQwtIntervalSymbol(); +} + +QwtIntervalSymbol* QwtIntervalSymbol_new4(int param1) { return new (std::nothrow) MiqtVirtualQwtIntervalSymbol(static_cast(param1)); } diff --git a/qt-extras/qwt/gen_qwt_interval_symbol.go b/qt-extras/qwt/gen_qwt_interval_symbol.go index 8e454639f..138001d17 100644 --- a/qt-extras/qwt/gen_qwt_interval_symbol.go +++ b/qt-extras/qwt/gen_qwt_interval_symbol.go @@ -69,9 +69,15 @@ func NewQwtIntervalSymbol2(param1 *QwtIntervalSymbol) *QwtIntervalSymbol { } // NewQwtIntervalSymbol3 constructs a new QwtIntervalSymbol object. -func NewQwtIntervalSymbol3(param1 QwtIntervalSymbol__Style) *QwtIntervalSymbol { +func NewQwtIntervalSymbol3() *QwtIntervalSymbol { - return newQwtIntervalSymbol(C.QwtIntervalSymbol_new3((C.int)(param1))) + return newQwtIntervalSymbol(C.QwtIntervalSymbol_new3()) +} + +// NewQwtIntervalSymbol4 constructs a new QwtIntervalSymbol object. +func NewQwtIntervalSymbol4(param1 QwtIntervalSymbol__Style) *QwtIntervalSymbol { + + return newQwtIntervalSymbol(C.QwtIntervalSymbol_new4((C.int)(param1))) } func (this *QwtIntervalSymbol) OperatorAssign(param1 *QwtIntervalSymbol) { diff --git a/qt-extras/qwt/gen_qwt_interval_symbol.h b/qt-extras/qwt/gen_qwt_interval_symbol.h index cf4b083ca..16de9b116 100644 --- a/qt-extras/qwt/gen_qwt_interval_symbol.h +++ b/qt-extras/qwt/gen_qwt_interval_symbol.h @@ -32,7 +32,8 @@ typedef struct QwtIntervalSymbol QwtIntervalSymbol; QwtIntervalSymbol* QwtIntervalSymbol_new(); QwtIntervalSymbol* QwtIntervalSymbol_new2(QwtIntervalSymbol* param1); -QwtIntervalSymbol* QwtIntervalSymbol_new3(int param1); +QwtIntervalSymbol* QwtIntervalSymbol_new3(); +QwtIntervalSymbol* QwtIntervalSymbol_new4(int param1); void QwtIntervalSymbol_operatorAssign(QwtIntervalSymbol* self, QwtIntervalSymbol* param1); bool QwtIntervalSymbol_operatorEqual(const QwtIntervalSymbol* self, QwtIntervalSymbol* param1); bool QwtIntervalSymbol_operatorNotEqual(const QwtIntervalSymbol* self, QwtIntervalSymbol* param1); diff --git a/qt-extras/qwt/gen_qwt_painter_command.cpp b/qt-extras/qwt/gen_qwt_painter_command.cpp index 6ade4f937..abc384fb8 100644 --- a/qt-extras/qwt/gen_qwt_painter_command.cpp +++ b/qt-extras/qwt/gen_qwt_painter_command.cpp @@ -89,6 +89,10 @@ QwtPainterCommand__PixmapData* QwtPainterCommand__PixmapData_new(QwtPainterComma return new (std::nothrow) QwtPainterCommand::PixmapData(*param1); } +QwtPainterCommand__PixmapData* QwtPainterCommand__PixmapData_new2() { + return new (std::nothrow) QwtPainterCommand::PixmapData(); +} + QRectF* QwtPainterCommand__PixmapData_rect(const QwtPainterCommand__PixmapData* self) { return new QRectF(self->rect); } @@ -125,6 +129,10 @@ QwtPainterCommand__ImageData* QwtPainterCommand__ImageData_new(QwtPainterCommand return new (std::nothrow) QwtPainterCommand::ImageData(*param1); } +QwtPainterCommand__ImageData* QwtPainterCommand__ImageData_new2() { + return new (std::nothrow) QwtPainterCommand::ImageData(); +} + QRectF* QwtPainterCommand__ImageData_rect(const QwtPainterCommand__ImageData* self) { return new QRectF(self->rect); } @@ -170,6 +178,10 @@ QwtPainterCommand__StateData* QwtPainterCommand__StateData_new(QwtPainterCommand return new (std::nothrow) QwtPainterCommand::StateData(*param1); } +QwtPainterCommand__StateData* QwtPainterCommand__StateData_new2() { + return new (std::nothrow) QwtPainterCommand::StateData(); +} + int QwtPainterCommand__StateData_flags(const QwtPainterCommand__StateData* self) { QPaintEngine::DirtyFlags flags_ret = self->flags; return static_cast(flags_ret); diff --git a/qt-extras/qwt/gen_qwt_painter_command.go b/qt-extras/qwt/gen_qwt_painter_command.go index 749b5015c..7ae488a85 100644 --- a/qt-extras/qwt/gen_qwt_painter_command.go +++ b/qt-extras/qwt/gen_qwt_painter_command.go @@ -174,6 +174,12 @@ func NewQwtPainterCommand__PixmapData(param1 *QwtPainterCommand__PixmapData) *Qw return newQwtPainterCommand__PixmapData(C.QwtPainterCommand__PixmapData_new(param1.cPointer())) } +// NewQwtPainterCommand__PixmapData2 constructs a new QwtPainterCommand::PixmapData object. +func NewQwtPainterCommand__PixmapData2() *QwtPainterCommand__PixmapData { + + return newQwtPainterCommand__PixmapData(C.QwtPainterCommand__PixmapData_new2()) +} + func (this *QwtPainterCommand__PixmapData) Rect() *qt.QRectF { rect_goptr := qt.UnsafeNewQRectF(unsafe.Pointer(C.QwtPainterCommand__PixmapData_rect(this.h))) rect_goptr.GoGC() // Qt uses pass-by-value semantics for this type. Mimic with finalizer @@ -260,6 +266,12 @@ func NewQwtPainterCommand__ImageData(param1 *QwtPainterCommand__ImageData) *QwtP return newQwtPainterCommand__ImageData(C.QwtPainterCommand__ImageData_new(param1.cPointer())) } +// NewQwtPainterCommand__ImageData2 constructs a new QwtPainterCommand::ImageData object. +func NewQwtPainterCommand__ImageData2() *QwtPainterCommand__ImageData { + + return newQwtPainterCommand__ImageData(C.QwtPainterCommand__ImageData_new2()) +} + func (this *QwtPainterCommand__ImageData) Rect() *qt.QRectF { rect_goptr := qt.UnsafeNewQRectF(unsafe.Pointer(C.QwtPainterCommand__ImageData_rect(this.h))) rect_goptr.GoGC() // Qt uses pass-by-value semantics for this type. Mimic with finalizer @@ -354,6 +366,12 @@ func NewQwtPainterCommand__StateData(param1 *QwtPainterCommand__StateData) *QwtP return newQwtPainterCommand__StateData(C.QwtPainterCommand__StateData_new(param1.cPointer())) } +// NewQwtPainterCommand__StateData2 constructs a new QwtPainterCommand::StateData object. +func NewQwtPainterCommand__StateData2() *QwtPainterCommand__StateData { + + return newQwtPainterCommand__StateData(C.QwtPainterCommand__StateData_new2()) +} + func (this *QwtPainterCommand__StateData) Flags() qt.QPaintEngine__DirtyFlag { return (qt.QPaintEngine__DirtyFlag)(C.QwtPainterCommand__StateData_flags(this.h)) } diff --git a/qt-extras/qwt/gen_qwt_painter_command.h b/qt-extras/qwt/gen_qwt_painter_command.h index 10894a1a6..43ae2a9dc 100644 --- a/qt-extras/qwt/gen_qwt_painter_command.h +++ b/qt-extras/qwt/gen_qwt_painter_command.h @@ -80,6 +80,7 @@ QwtPainterCommand__StateData* QwtPainterCommand_stateData2(const QwtPainterComma void QwtPainterCommand_delete(QwtPainterCommand* self); QwtPainterCommand__PixmapData* QwtPainterCommand__PixmapData_new(QwtPainterCommand__PixmapData* param1); +QwtPainterCommand__PixmapData* QwtPainterCommand__PixmapData_new2(); QRectF* QwtPainterCommand__PixmapData_rect(const QwtPainterCommand__PixmapData* self); void QwtPainterCommand__PixmapData_setRect(QwtPainterCommand__PixmapData* self, QRectF* rect); QPixmap* QwtPainterCommand__PixmapData_pixmap(const QwtPainterCommand__PixmapData* self); @@ -91,6 +92,7 @@ void QwtPainterCommand__PixmapData_operatorAssign(QwtPainterCommand__PixmapData* void QwtPainterCommand__PixmapData_delete(QwtPainterCommand__PixmapData* self); QwtPainterCommand__ImageData* QwtPainterCommand__ImageData_new(QwtPainterCommand__ImageData* param1); +QwtPainterCommand__ImageData* QwtPainterCommand__ImageData_new2(); QRectF* QwtPainterCommand__ImageData_rect(const QwtPainterCommand__ImageData* self); void QwtPainterCommand__ImageData_setRect(QwtPainterCommand__ImageData* self, QRectF* rect); QImage* QwtPainterCommand__ImageData_image(const QwtPainterCommand__ImageData* self); @@ -104,6 +106,7 @@ void QwtPainterCommand__ImageData_operatorAssign(QwtPainterCommand__ImageData* s void QwtPainterCommand__ImageData_delete(QwtPainterCommand__ImageData* self); QwtPainterCommand__StateData* QwtPainterCommand__StateData_new(QwtPainterCommand__StateData* param1); +QwtPainterCommand__StateData* QwtPainterCommand__StateData_new2(); int QwtPainterCommand__StateData_flags(const QwtPainterCommand__StateData* self); void QwtPainterCommand__StateData_setFlags(QwtPainterCommand__StateData* self, int flags); QPen* QwtPainterCommand__StateData_pen(const QwtPainterCommand__StateData* self); diff --git a/qt-extras/qwt/gen_qwt_samples.cpp b/qt-extras/qwt/gen_qwt_samples.cpp index 3a45f6823..4a214da6c 100644 --- a/qt-extras/qwt/gen_qwt_samples.cpp +++ b/qt-extras/qwt/gen_qwt_samples.cpp @@ -122,23 +122,27 @@ QwtOHLCSample* QwtOHLCSample_new2(QwtOHLCSample* param1) { return new (std::nothrow) QwtOHLCSample(*param1); } -QwtOHLCSample* QwtOHLCSample_new3(double time) { +QwtOHLCSample* QwtOHLCSample_new3() { + return new (std::nothrow) QwtOHLCSample(); +} + +QwtOHLCSample* QwtOHLCSample_new4(double time) { return new (std::nothrow) QwtOHLCSample(static_cast(time)); } -QwtOHLCSample* QwtOHLCSample_new4(double time, double open) { +QwtOHLCSample* QwtOHLCSample_new5(double time, double open) { return new (std::nothrow) QwtOHLCSample(static_cast(time), static_cast(open)); } -QwtOHLCSample* QwtOHLCSample_new5(double time, double open, double high) { +QwtOHLCSample* QwtOHLCSample_new6(double time, double open, double high) { return new (std::nothrow) QwtOHLCSample(static_cast(time), static_cast(open), static_cast(high)); } -QwtOHLCSample* QwtOHLCSample_new6(double time, double open, double high, double low) { +QwtOHLCSample* QwtOHLCSample_new7(double time, double open, double high, double low) { return new (std::nothrow) QwtOHLCSample(static_cast(time), static_cast(open), static_cast(high), static_cast(low)); } -QwtOHLCSample* QwtOHLCSample_new7(double time, double open, double high, double low, double close) { +QwtOHLCSample* QwtOHLCSample_new8(double time, double open, double high, double low, double close) { return new (std::nothrow) QwtOHLCSample(static_cast(time), static_cast(open), static_cast(high), static_cast(low), static_cast(close)); } diff --git a/qt-extras/qwt/gen_qwt_samples.go b/qt-extras/qwt/gen_qwt_samples.go index dcb6552e7..910302f4d 100644 --- a/qt-extras/qwt/gen_qwt_samples.go +++ b/qt-extras/qwt/gen_qwt_samples.go @@ -264,33 +264,39 @@ func NewQwtOHLCSample2(param1 *QwtOHLCSample) *QwtOHLCSample { } // NewQwtOHLCSample3 constructs a new QwtOHLCSample object. -func NewQwtOHLCSample3(time float64) *QwtOHLCSample { +func NewQwtOHLCSample3() *QwtOHLCSample { - return newQwtOHLCSample(C.QwtOHLCSample_new3((C.double)(time))) + return newQwtOHLCSample(C.QwtOHLCSample_new3()) } // NewQwtOHLCSample4 constructs a new QwtOHLCSample object. -func NewQwtOHLCSample4(time float64, open float64) *QwtOHLCSample { +func NewQwtOHLCSample4(time float64) *QwtOHLCSample { - return newQwtOHLCSample(C.QwtOHLCSample_new4((C.double)(time), (C.double)(open))) + return newQwtOHLCSample(C.QwtOHLCSample_new4((C.double)(time))) } // NewQwtOHLCSample5 constructs a new QwtOHLCSample object. -func NewQwtOHLCSample5(time float64, open float64, high float64) *QwtOHLCSample { +func NewQwtOHLCSample5(time float64, open float64) *QwtOHLCSample { - return newQwtOHLCSample(C.QwtOHLCSample_new5((C.double)(time), (C.double)(open), (C.double)(high))) + return newQwtOHLCSample(C.QwtOHLCSample_new5((C.double)(time), (C.double)(open))) } // NewQwtOHLCSample6 constructs a new QwtOHLCSample object. -func NewQwtOHLCSample6(time float64, open float64, high float64, low float64) *QwtOHLCSample { +func NewQwtOHLCSample6(time float64, open float64, high float64) *QwtOHLCSample { - return newQwtOHLCSample(C.QwtOHLCSample_new6((C.double)(time), (C.double)(open), (C.double)(high), (C.double)(low))) + return newQwtOHLCSample(C.QwtOHLCSample_new6((C.double)(time), (C.double)(open), (C.double)(high))) } // NewQwtOHLCSample7 constructs a new QwtOHLCSample object. -func NewQwtOHLCSample7(time float64, open float64, high float64, low float64, close float64) *QwtOHLCSample { +func NewQwtOHLCSample7(time float64, open float64, high float64, low float64) *QwtOHLCSample { - return newQwtOHLCSample(C.QwtOHLCSample_new7((C.double)(time), (C.double)(open), (C.double)(high), (C.double)(low), (C.double)(close))) + return newQwtOHLCSample(C.QwtOHLCSample_new7((C.double)(time), (C.double)(open), (C.double)(high), (C.double)(low))) +} + +// NewQwtOHLCSample8 constructs a new QwtOHLCSample object. +func NewQwtOHLCSample8(time float64, open float64, high float64, low float64, close float64) *QwtOHLCSample { + + return newQwtOHLCSample(C.QwtOHLCSample_new8((C.double)(time), (C.double)(open), (C.double)(high), (C.double)(low), (C.double)(close))) } func (this *QwtOHLCSample) BoundingInterval() *QwtInterval { diff --git a/qt-extras/qwt/gen_qwt_samples.h b/qt-extras/qwt/gen_qwt_samples.h index 23d1697c5..10e592c0a 100644 --- a/qt-extras/qwt/gen_qwt_samples.h +++ b/qt-extras/qwt/gen_qwt_samples.h @@ -55,11 +55,12 @@ void QwtSetSample_delete(QwtSetSample* self); QwtOHLCSample* QwtOHLCSample_new(); QwtOHLCSample* QwtOHLCSample_new2(QwtOHLCSample* param1); -QwtOHLCSample* QwtOHLCSample_new3(double time); -QwtOHLCSample* QwtOHLCSample_new4(double time, double open); -QwtOHLCSample* QwtOHLCSample_new5(double time, double open, double high); -QwtOHLCSample* QwtOHLCSample_new6(double time, double open, double high, double low); -QwtOHLCSample* QwtOHLCSample_new7(double time, double open, double high, double low, double close); +QwtOHLCSample* QwtOHLCSample_new3(); +QwtOHLCSample* QwtOHLCSample_new4(double time); +QwtOHLCSample* QwtOHLCSample_new5(double time, double open); +QwtOHLCSample* QwtOHLCSample_new6(double time, double open, double high); +QwtOHLCSample* QwtOHLCSample_new7(double time, double open, double high, double low); +QwtOHLCSample* QwtOHLCSample_new8(double time, double open, double high, double low, double close); QwtInterval* QwtOHLCSample_boundingInterval(const QwtOHLCSample* self); bool QwtOHLCSample_isValid(const QwtOHLCSample* self); double QwtOHLCSample_time(const QwtOHLCSample* self); diff --git a/qt-extras/qwt/gen_qwt_scale_div.cpp b/qt-extras/qwt/gen_qwt_scale_div.cpp index 0ed3ed817..e6d5d0733 100644 --- a/qt-extras/qwt/gen_qwt_scale_div.cpp +++ b/qt-extras/qwt/gen_qwt_scale_div.cpp @@ -60,11 +60,15 @@ QwtScaleDiv* QwtScaleDiv_new5(QwtScaleDiv* param1) { return new (std::nothrow) QwtScaleDiv(*param1); } -QwtScaleDiv* QwtScaleDiv_new6(double lowerBound) { +QwtScaleDiv* QwtScaleDiv_new6() { + return new (std::nothrow) QwtScaleDiv(); +} + +QwtScaleDiv* QwtScaleDiv_new7(double lowerBound) { return new (std::nothrow) QwtScaleDiv(static_cast(lowerBound)); } -QwtScaleDiv* QwtScaleDiv_new7(double lowerBound, double upperBound) { +QwtScaleDiv* QwtScaleDiv_new8(double lowerBound, double upperBound) { return new (std::nothrow) QwtScaleDiv(static_cast(lowerBound), static_cast(upperBound)); } diff --git a/qt-extras/qwt/gen_qwt_scale_div.go b/qt-extras/qwt/gen_qwt_scale_div.go index fd4a70db0..1d5bf842a 100644 --- a/qt-extras/qwt/gen_qwt_scale_div.go +++ b/qt-extras/qwt/gen_qwt_scale_div.go @@ -116,15 +116,21 @@ func NewQwtScaleDiv5(param1 *QwtScaleDiv) *QwtScaleDiv { } // NewQwtScaleDiv6 constructs a new QwtScaleDiv object. -func NewQwtScaleDiv6(lowerBound float64) *QwtScaleDiv { +func NewQwtScaleDiv6() *QwtScaleDiv { - return newQwtScaleDiv(C.QwtScaleDiv_new6((C.double)(lowerBound))) + return newQwtScaleDiv(C.QwtScaleDiv_new6()) } // NewQwtScaleDiv7 constructs a new QwtScaleDiv object. -func NewQwtScaleDiv7(lowerBound float64, upperBound float64) *QwtScaleDiv { +func NewQwtScaleDiv7(lowerBound float64) *QwtScaleDiv { - return newQwtScaleDiv(C.QwtScaleDiv_new7((C.double)(lowerBound), (C.double)(upperBound))) + return newQwtScaleDiv(C.QwtScaleDiv_new7((C.double)(lowerBound))) +} + +// NewQwtScaleDiv8 constructs a new QwtScaleDiv object. +func NewQwtScaleDiv8(lowerBound float64, upperBound float64) *QwtScaleDiv { + + return newQwtScaleDiv(C.QwtScaleDiv_new8((C.double)(lowerBound), (C.double)(upperBound))) } func (this *QwtScaleDiv) OperatorEqual(param1 *QwtScaleDiv) bool { diff --git a/qt-extras/qwt/gen_qwt_scale_div.h b/qt-extras/qwt/gen_qwt_scale_div.h index 360fe0274..e76a47544 100644 --- a/qt-extras/qwt/gen_qwt_scale_div.h +++ b/qt-extras/qwt/gen_qwt_scale_div.h @@ -27,8 +27,9 @@ QwtScaleDiv* QwtScaleDiv_new2(QwtInterval* param1, struct miqt_array /* of doubl QwtScaleDiv* QwtScaleDiv_new3(double lowerBound, double upperBound, struct miqt_array /* of double */ param3); QwtScaleDiv* QwtScaleDiv_new4(double lowerBound, double upperBound, struct miqt_array /* of double */ minorTicks, struct miqt_array /* of double */ mediumTicks, struct miqt_array /* of double */ majorTicks); QwtScaleDiv* QwtScaleDiv_new5(QwtScaleDiv* param1); -QwtScaleDiv* QwtScaleDiv_new6(double lowerBound); -QwtScaleDiv* QwtScaleDiv_new7(double lowerBound, double upperBound); +QwtScaleDiv* QwtScaleDiv_new6(); +QwtScaleDiv* QwtScaleDiv_new7(double lowerBound); +QwtScaleDiv* QwtScaleDiv_new8(double lowerBound, double upperBound); bool QwtScaleDiv_operatorEqual(const QwtScaleDiv* self, QwtScaleDiv* param1); bool QwtScaleDiv_operatorNotEqual(const QwtScaleDiv* self, QwtScaleDiv* param1); void QwtScaleDiv_setInterval(QwtScaleDiv* self, double lowerBound, double upperBound); diff --git a/qt-extras/qwt/gen_qwt_scale_engine.cpp b/qt-extras/qwt/gen_qwt_scale_engine.cpp index 2ca3bd782..4bf109d48 100644 --- a/qt-extras/qwt/gen_qwt_scale_engine.cpp +++ b/qt-extras/qwt/gen_qwt_scale_engine.cpp @@ -257,6 +257,7 @@ class MiqtVirtualQwtLinearScaleEngine final : public QwtLinearScaleEngine { MiqtVirtualQwtLinearScaleEngine(): QwtLinearScaleEngine() {} MiqtVirtualQwtLinearScaleEngine(const QwtLinearScaleEngine& param1): QwtLinearScaleEngine(param1) {} + MiqtVirtualQwtLinearScaleEngine(): QwtLinearScaleEngine() {} MiqtVirtualQwtLinearScaleEngine(uint base): QwtLinearScaleEngine(base) {} virtual ~MiqtVirtualQwtLinearScaleEngine() override = default; @@ -320,7 +321,11 @@ QwtLinearScaleEngine* QwtLinearScaleEngine_new2(QwtLinearScaleEngine* param1) { return new (std::nothrow) MiqtVirtualQwtLinearScaleEngine(*param1); } -QwtLinearScaleEngine* QwtLinearScaleEngine_new3(unsigned int base) { +QwtLinearScaleEngine* QwtLinearScaleEngine_new3() { + return new (std::nothrow) MiqtVirtualQwtLinearScaleEngine(); +} + +QwtLinearScaleEngine* QwtLinearScaleEngine_new4(unsigned int base) { return new (std::nothrow) MiqtVirtualQwtLinearScaleEngine(static_cast(base)); } @@ -513,6 +518,7 @@ class MiqtVirtualQwtLogScaleEngine final : public QwtLogScaleEngine { MiqtVirtualQwtLogScaleEngine(): QwtLogScaleEngine() {} MiqtVirtualQwtLogScaleEngine(const QwtLogScaleEngine& param1): QwtLogScaleEngine(param1) {} + MiqtVirtualQwtLogScaleEngine(): QwtLogScaleEngine() {} MiqtVirtualQwtLogScaleEngine(uint base): QwtLogScaleEngine(base) {} virtual ~MiqtVirtualQwtLogScaleEngine() override = default; @@ -576,7 +582,11 @@ QwtLogScaleEngine* QwtLogScaleEngine_new2(QwtLogScaleEngine* param1) { return new (std::nothrow) MiqtVirtualQwtLogScaleEngine(*param1); } -QwtLogScaleEngine* QwtLogScaleEngine_new3(unsigned int base) { +QwtLogScaleEngine* QwtLogScaleEngine_new3() { + return new (std::nothrow) MiqtVirtualQwtLogScaleEngine(); +} + +QwtLogScaleEngine* QwtLogScaleEngine_new4(unsigned int base) { return new (std::nothrow) MiqtVirtualQwtLogScaleEngine(static_cast(base)); } diff --git a/qt-extras/qwt/gen_qwt_scale_engine.go b/qt-extras/qwt/gen_qwt_scale_engine.go index 97b812c5c..4a4f946a2 100644 --- a/qt-extras/qwt/gen_qwt_scale_engine.go +++ b/qt-extras/qwt/gen_qwt_scale_engine.go @@ -395,9 +395,15 @@ func NewQwtLinearScaleEngine2(param1 *QwtLinearScaleEngine) *QwtLinearScaleEngin } // NewQwtLinearScaleEngine3 constructs a new QwtLinearScaleEngine object. -func NewQwtLinearScaleEngine3(base uint) *QwtLinearScaleEngine { +func NewQwtLinearScaleEngine3() *QwtLinearScaleEngine { - return newQwtLinearScaleEngine(C.QwtLinearScaleEngine_new3((C.uint)(base))) + return newQwtLinearScaleEngine(C.QwtLinearScaleEngine_new3()) +} + +// NewQwtLinearScaleEngine4 constructs a new QwtLinearScaleEngine object. +func NewQwtLinearScaleEngine4(base uint) *QwtLinearScaleEngine { + + return newQwtLinearScaleEngine(C.QwtLinearScaleEngine_new4((C.uint)(base))) } func (this *QwtLinearScaleEngine) AutoScale(maxNumSteps int, x1 *float64, x2 *float64, stepSize *float64) { @@ -701,9 +707,15 @@ func NewQwtLogScaleEngine2(param1 *QwtLogScaleEngine) *QwtLogScaleEngine { } // NewQwtLogScaleEngine3 constructs a new QwtLogScaleEngine object. -func NewQwtLogScaleEngine3(base uint) *QwtLogScaleEngine { +func NewQwtLogScaleEngine3() *QwtLogScaleEngine { + + return newQwtLogScaleEngine(C.QwtLogScaleEngine_new3()) +} + +// NewQwtLogScaleEngine4 constructs a new QwtLogScaleEngine object. +func NewQwtLogScaleEngine4(base uint) *QwtLogScaleEngine { - return newQwtLogScaleEngine(C.QwtLogScaleEngine_new3((C.uint)(base))) + return newQwtLogScaleEngine(C.QwtLogScaleEngine_new4((C.uint)(base))) } func (this *QwtLogScaleEngine) AutoScale(maxNumSteps int, x1 *float64, x2 *float64, stepSize *float64) { diff --git a/qt-extras/qwt/gen_qwt_scale_engine.h b/qt-extras/qwt/gen_qwt_scale_engine.h index c1a80d690..d8ca36e64 100644 --- a/qt-extras/qwt/gen_qwt_scale_engine.h +++ b/qt-extras/qwt/gen_qwt_scale_engine.h @@ -74,7 +74,8 @@ void QwtScaleEngine_delete(QwtScaleEngine* self); QwtLinearScaleEngine* QwtLinearScaleEngine_new(); QwtLinearScaleEngine* QwtLinearScaleEngine_new2(QwtLinearScaleEngine* param1); -QwtLinearScaleEngine* QwtLinearScaleEngine_new3(unsigned int base); +QwtLinearScaleEngine* QwtLinearScaleEngine_new3(); +QwtLinearScaleEngine* QwtLinearScaleEngine_new4(unsigned int base); void QwtLinearScaleEngine_virtbase(QwtLinearScaleEngine* src, QwtScaleEngine** outptr_QwtScaleEngine); void QwtLinearScaleEngine_autoScale(const QwtLinearScaleEngine* self, int maxNumSteps, double* x1, double* x2, double* stepSize); QwtScaleDiv* QwtLinearScaleEngine_divideScale(const QwtLinearScaleEngine* self, double x1, double x2, int maxMajorSteps, int maxMinorSteps, double stepSize); @@ -98,7 +99,8 @@ void QwtLinearScaleEngine_delete(QwtLinearScaleEngine* self); QwtLogScaleEngine* QwtLogScaleEngine_new(); QwtLogScaleEngine* QwtLogScaleEngine_new2(QwtLogScaleEngine* param1); -QwtLogScaleEngine* QwtLogScaleEngine_new3(unsigned int base); +QwtLogScaleEngine* QwtLogScaleEngine_new3(); +QwtLogScaleEngine* QwtLogScaleEngine_new4(unsigned int base); void QwtLogScaleEngine_virtbase(QwtLogScaleEngine* src, QwtScaleEngine** outptr_QwtScaleEngine); void QwtLogScaleEngine_autoScale(const QwtLogScaleEngine* self, int maxNumSteps, double* x1, double* x2, double* stepSize); QwtScaleDiv* QwtLogScaleEngine_divideScale(const QwtLogScaleEngine* self, double x1, double x2, int maxMajorSteps, int maxMinorSteps, double stepSize); diff --git a/qt-extras/qwt/gen_qwt_series_data.cpp b/qt-extras/qwt/gen_qwt_series_data.cpp index 1b3213ab0..ea6031a69 100644 --- a/qt-extras/qwt/gen_qwt_series_data.cpp +++ b/qt-extras/qwt/gen_qwt_series_data.cpp @@ -20,6 +20,7 @@ QRectF* miqt_exec_callback_QwtTradingChartData_boundingRect(const QwtTradingChar class MiqtVirtualQwtPointSeriesData final : public QwtPointSeriesData { public: + MiqtVirtualQwtPointSeriesData(): QwtPointSeriesData() {} MiqtVirtualQwtPointSeriesData(): QwtPointSeriesData() {} MiqtVirtualQwtPointSeriesData(const QVector& param1): QwtPointSeriesData(param1) {} @@ -46,7 +47,11 @@ QwtPointSeriesData* QwtPointSeriesData_new() { return new (std::nothrow) MiqtVirtualQwtPointSeriesData(); } -QwtPointSeriesData* QwtPointSeriesData_new2(struct miqt_array /* of QPointF* */ param1) { +QwtPointSeriesData* QwtPointSeriesData_new2() { + return new (std::nothrow) MiqtVirtualQwtPointSeriesData(); +} + +QwtPointSeriesData* QwtPointSeriesData_new3(struct miqt_array /* of QPointF* */ param1) { QVector param1_QList; param1_QList.reserve(param1.len); QPointF** param1_arr = static_cast(param1.data); @@ -81,6 +86,7 @@ void QwtPointSeriesData_delete(QwtPointSeriesData* self) { class MiqtVirtualQwtPoint3DSeriesData final : public QwtPoint3DSeriesData { public: + MiqtVirtualQwtPoint3DSeriesData(): QwtPoint3DSeriesData() {} MiqtVirtualQwtPoint3DSeriesData(): QwtPoint3DSeriesData() {} MiqtVirtualQwtPoint3DSeriesData(const QVector& param1): QwtPoint3DSeriesData(param1) {} @@ -107,7 +113,11 @@ QwtPoint3DSeriesData* QwtPoint3DSeriesData_new() { return new (std::nothrow) MiqtVirtualQwtPoint3DSeriesData(); } -QwtPoint3DSeriesData* QwtPoint3DSeriesData_new2(struct miqt_array /* of QwtPoint3D* */ param1) { +QwtPoint3DSeriesData* QwtPoint3DSeriesData_new2() { + return new (std::nothrow) MiqtVirtualQwtPoint3DSeriesData(); +} + +QwtPoint3DSeriesData* QwtPoint3DSeriesData_new3(struct miqt_array /* of QwtPoint3D* */ param1) { QVector param1_QList; param1_QList.reserve(param1.len); QwtPoint3D** param1_arr = static_cast(param1.data); @@ -142,6 +152,7 @@ void QwtPoint3DSeriesData_delete(QwtPoint3DSeriesData* self) { class MiqtVirtualQwtIntervalSeriesData final : public QwtIntervalSeriesData { public: + MiqtVirtualQwtIntervalSeriesData(): QwtIntervalSeriesData() {} MiqtVirtualQwtIntervalSeriesData(): QwtIntervalSeriesData() {} MiqtVirtualQwtIntervalSeriesData(const QVector& param1): QwtIntervalSeriesData(param1) {} @@ -168,7 +179,11 @@ QwtIntervalSeriesData* QwtIntervalSeriesData_new() { return new (std::nothrow) MiqtVirtualQwtIntervalSeriesData(); } -QwtIntervalSeriesData* QwtIntervalSeriesData_new2(struct miqt_array /* of QwtIntervalSample* */ param1) { +QwtIntervalSeriesData* QwtIntervalSeriesData_new2() { + return new (std::nothrow) MiqtVirtualQwtIntervalSeriesData(); +} + +QwtIntervalSeriesData* QwtIntervalSeriesData_new3(struct miqt_array /* of QwtIntervalSample* */ param1) { QVector param1_QList; param1_QList.reserve(param1.len); QwtIntervalSample** param1_arr = static_cast(param1.data); @@ -203,6 +218,7 @@ void QwtIntervalSeriesData_delete(QwtIntervalSeriesData* self) { class MiqtVirtualQwtSetSeriesData final : public QwtSetSeriesData { public: + MiqtVirtualQwtSetSeriesData(): QwtSetSeriesData() {} MiqtVirtualQwtSetSeriesData(): QwtSetSeriesData() {} MiqtVirtualQwtSetSeriesData(const QVector& param1): QwtSetSeriesData(param1) {} @@ -229,7 +245,11 @@ QwtSetSeriesData* QwtSetSeriesData_new() { return new (std::nothrow) MiqtVirtualQwtSetSeriesData(); } -QwtSetSeriesData* QwtSetSeriesData_new2(struct miqt_array /* of QwtSetSample* */ param1) { +QwtSetSeriesData* QwtSetSeriesData_new2() { + return new (std::nothrow) MiqtVirtualQwtSetSeriesData(); +} + +QwtSetSeriesData* QwtSetSeriesData_new3(struct miqt_array /* of QwtSetSample* */ param1) { QVector param1_QList; param1_QList.reserve(param1.len); QwtSetSample** param1_arr = static_cast(param1.data); @@ -264,6 +284,7 @@ void QwtSetSeriesData_delete(QwtSetSeriesData* self) { class MiqtVirtualQwtTradingChartData final : public QwtTradingChartData { public: + MiqtVirtualQwtTradingChartData(): QwtTradingChartData() {} MiqtVirtualQwtTradingChartData(): QwtTradingChartData() {} MiqtVirtualQwtTradingChartData(const QVector& param1): QwtTradingChartData(param1) {} @@ -290,7 +311,11 @@ QwtTradingChartData* QwtTradingChartData_new() { return new (std::nothrow) MiqtVirtualQwtTradingChartData(); } -QwtTradingChartData* QwtTradingChartData_new2(struct miqt_array /* of QwtOHLCSample* */ param1) { +QwtTradingChartData* QwtTradingChartData_new2() { + return new (std::nothrow) MiqtVirtualQwtTradingChartData(); +} + +QwtTradingChartData* QwtTradingChartData_new3(struct miqt_array /* of QwtOHLCSample* */ param1) { QVector param1_QList; param1_QList.reserve(param1.len); QwtOHLCSample** param1_arr = static_cast(param1.data); diff --git a/qt-extras/qwt/gen_qwt_series_data.go b/qt-extras/qwt/gen_qwt_series_data.go index 43e0bbf45..3abf200a9 100644 --- a/qt-extras/qwt/gen_qwt_series_data.go +++ b/qt-extras/qwt/gen_qwt_series_data.go @@ -54,7 +54,13 @@ func NewQwtPointSeriesData() *QwtPointSeriesData { } // NewQwtPointSeriesData2 constructs a new QwtPointSeriesData object. -func NewQwtPointSeriesData2(param1 []qt.QPointF) *QwtPointSeriesData { +func NewQwtPointSeriesData2() *QwtPointSeriesData { + + return newQwtPointSeriesData(C.QwtPointSeriesData_new2()) +} + +// NewQwtPointSeriesData3 constructs a new QwtPointSeriesData object. +func NewQwtPointSeriesData3(param1 []qt.QPointF) *QwtPointSeriesData { param1_CArray := (*[0xffff]*C.QPointF)(C.malloc(C.size_t(8 * len(param1)))) defer C.free(unsafe.Pointer(param1_CArray)) for i := range param1 { @@ -62,7 +68,7 @@ func NewQwtPointSeriesData2(param1 []qt.QPointF) *QwtPointSeriesData { } param1_ma := C.struct_miqt_array{len: C.size_t(len(param1)), data: unsafe.Pointer(param1_CArray)} - return newQwtPointSeriesData(C.QwtPointSeriesData_new2(param1_ma)) + return newQwtPointSeriesData(C.QwtPointSeriesData_new3(param1_ma)) } func (this *QwtPointSeriesData) BoundingRect() *qt.QRectF { @@ -151,7 +157,13 @@ func NewQwtPoint3DSeriesData() *QwtPoint3DSeriesData { } // NewQwtPoint3DSeriesData2 constructs a new QwtPoint3DSeriesData object. -func NewQwtPoint3DSeriesData2(param1 []QwtPoint3D) *QwtPoint3DSeriesData { +func NewQwtPoint3DSeriesData2() *QwtPoint3DSeriesData { + + return newQwtPoint3DSeriesData(C.QwtPoint3DSeriesData_new2()) +} + +// NewQwtPoint3DSeriesData3 constructs a new QwtPoint3DSeriesData object. +func NewQwtPoint3DSeriesData3(param1 []QwtPoint3D) *QwtPoint3DSeriesData { param1_CArray := (*[0xffff]*C.QwtPoint3D)(C.malloc(C.size_t(8 * len(param1)))) defer C.free(unsafe.Pointer(param1_CArray)) for i := range param1 { @@ -159,7 +171,7 @@ func NewQwtPoint3DSeriesData2(param1 []QwtPoint3D) *QwtPoint3DSeriesData { } param1_ma := C.struct_miqt_array{len: C.size_t(len(param1)), data: unsafe.Pointer(param1_CArray)} - return newQwtPoint3DSeriesData(C.QwtPoint3DSeriesData_new2(param1_ma)) + return newQwtPoint3DSeriesData(C.QwtPoint3DSeriesData_new3(param1_ma)) } func (this *QwtPoint3DSeriesData) BoundingRect() *qt.QRectF { @@ -248,7 +260,13 @@ func NewQwtIntervalSeriesData() *QwtIntervalSeriesData { } // NewQwtIntervalSeriesData2 constructs a new QwtIntervalSeriesData object. -func NewQwtIntervalSeriesData2(param1 []QwtIntervalSample) *QwtIntervalSeriesData { +func NewQwtIntervalSeriesData2() *QwtIntervalSeriesData { + + return newQwtIntervalSeriesData(C.QwtIntervalSeriesData_new2()) +} + +// NewQwtIntervalSeriesData3 constructs a new QwtIntervalSeriesData object. +func NewQwtIntervalSeriesData3(param1 []QwtIntervalSample) *QwtIntervalSeriesData { param1_CArray := (*[0xffff]*C.QwtIntervalSample)(C.malloc(C.size_t(8 * len(param1)))) defer C.free(unsafe.Pointer(param1_CArray)) for i := range param1 { @@ -256,7 +274,7 @@ func NewQwtIntervalSeriesData2(param1 []QwtIntervalSample) *QwtIntervalSeriesDat } param1_ma := C.struct_miqt_array{len: C.size_t(len(param1)), data: unsafe.Pointer(param1_CArray)} - return newQwtIntervalSeriesData(C.QwtIntervalSeriesData_new2(param1_ma)) + return newQwtIntervalSeriesData(C.QwtIntervalSeriesData_new3(param1_ma)) } func (this *QwtIntervalSeriesData) BoundingRect() *qt.QRectF { @@ -345,7 +363,13 @@ func NewQwtSetSeriesData() *QwtSetSeriesData { } // NewQwtSetSeriesData2 constructs a new QwtSetSeriesData object. -func NewQwtSetSeriesData2(param1 []QwtSetSample) *QwtSetSeriesData { +func NewQwtSetSeriesData2() *QwtSetSeriesData { + + return newQwtSetSeriesData(C.QwtSetSeriesData_new2()) +} + +// NewQwtSetSeriesData3 constructs a new QwtSetSeriesData object. +func NewQwtSetSeriesData3(param1 []QwtSetSample) *QwtSetSeriesData { param1_CArray := (*[0xffff]*C.QwtSetSample)(C.malloc(C.size_t(8 * len(param1)))) defer C.free(unsafe.Pointer(param1_CArray)) for i := range param1 { @@ -353,7 +377,7 @@ func NewQwtSetSeriesData2(param1 []QwtSetSample) *QwtSetSeriesData { } param1_ma := C.struct_miqt_array{len: C.size_t(len(param1)), data: unsafe.Pointer(param1_CArray)} - return newQwtSetSeriesData(C.QwtSetSeriesData_new2(param1_ma)) + return newQwtSetSeriesData(C.QwtSetSeriesData_new3(param1_ma)) } func (this *QwtSetSeriesData) BoundingRect() *qt.QRectF { @@ -442,7 +466,13 @@ func NewQwtTradingChartData() *QwtTradingChartData { } // NewQwtTradingChartData2 constructs a new QwtTradingChartData object. -func NewQwtTradingChartData2(param1 []QwtOHLCSample) *QwtTradingChartData { +func NewQwtTradingChartData2() *QwtTradingChartData { + + return newQwtTradingChartData(C.QwtTradingChartData_new2()) +} + +// NewQwtTradingChartData3 constructs a new QwtTradingChartData object. +func NewQwtTradingChartData3(param1 []QwtOHLCSample) *QwtTradingChartData { param1_CArray := (*[0xffff]*C.QwtOHLCSample)(C.malloc(C.size_t(8 * len(param1)))) defer C.free(unsafe.Pointer(param1_CArray)) for i := range param1 { @@ -450,7 +480,7 @@ func NewQwtTradingChartData2(param1 []QwtOHLCSample) *QwtTradingChartData { } param1_ma := C.struct_miqt_array{len: C.size_t(len(param1)), data: unsafe.Pointer(param1_CArray)} - return newQwtTradingChartData(C.QwtTradingChartData_new2(param1_ma)) + return newQwtTradingChartData(C.QwtTradingChartData_new3(param1_ma)) } func (this *QwtTradingChartData) BoundingRect() *qt.QRectF { diff --git a/qt-extras/qwt/gen_qwt_series_data.h b/qt-extras/qwt/gen_qwt_series_data.h index f774988df..c7548257c 100644 --- a/qt-extras/qwt/gen_qwt_series_data.h +++ b/qt-extras/qwt/gen_qwt_series_data.h @@ -41,7 +41,8 @@ typedef struct QwtTradingChartData QwtTradingChartData; #endif QwtPointSeriesData* QwtPointSeriesData_new(); -QwtPointSeriesData* QwtPointSeriesData_new2(struct miqt_array /* of QPointF* */ param1); +QwtPointSeriesData* QwtPointSeriesData_new2(); +QwtPointSeriesData* QwtPointSeriesData_new3(struct miqt_array /* of QPointF* */ param1); QRectF* QwtPointSeriesData_boundingRect(const QwtPointSeriesData* self); bool QwtPointSeriesData_override_virtual_boundingRect(void* self, intptr_t slot); @@ -50,7 +51,8 @@ QRectF* QwtPointSeriesData_virtualbase_boundingRect(const void* self); void QwtPointSeriesData_delete(QwtPointSeriesData* self); QwtPoint3DSeriesData* QwtPoint3DSeriesData_new(); -QwtPoint3DSeriesData* QwtPoint3DSeriesData_new2(struct miqt_array /* of QwtPoint3D* */ param1); +QwtPoint3DSeriesData* QwtPoint3DSeriesData_new2(); +QwtPoint3DSeriesData* QwtPoint3DSeriesData_new3(struct miqt_array /* of QwtPoint3D* */ param1); QRectF* QwtPoint3DSeriesData_boundingRect(const QwtPoint3DSeriesData* self); bool QwtPoint3DSeriesData_override_virtual_boundingRect(void* self, intptr_t slot); @@ -59,7 +61,8 @@ QRectF* QwtPoint3DSeriesData_virtualbase_boundingRect(const void* self); void QwtPoint3DSeriesData_delete(QwtPoint3DSeriesData* self); QwtIntervalSeriesData* QwtIntervalSeriesData_new(); -QwtIntervalSeriesData* QwtIntervalSeriesData_new2(struct miqt_array /* of QwtIntervalSample* */ param1); +QwtIntervalSeriesData* QwtIntervalSeriesData_new2(); +QwtIntervalSeriesData* QwtIntervalSeriesData_new3(struct miqt_array /* of QwtIntervalSample* */ param1); QRectF* QwtIntervalSeriesData_boundingRect(const QwtIntervalSeriesData* self); bool QwtIntervalSeriesData_override_virtual_boundingRect(void* self, intptr_t slot); @@ -68,7 +71,8 @@ QRectF* QwtIntervalSeriesData_virtualbase_boundingRect(const void* self); void QwtIntervalSeriesData_delete(QwtIntervalSeriesData* self); QwtSetSeriesData* QwtSetSeriesData_new(); -QwtSetSeriesData* QwtSetSeriesData_new2(struct miqt_array /* of QwtSetSample* */ param1); +QwtSetSeriesData* QwtSetSeriesData_new2(); +QwtSetSeriesData* QwtSetSeriesData_new3(struct miqt_array /* of QwtSetSample* */ param1); QRectF* QwtSetSeriesData_boundingRect(const QwtSetSeriesData* self); bool QwtSetSeriesData_override_virtual_boundingRect(void* self, intptr_t slot); @@ -77,7 +81,8 @@ QRectF* QwtSetSeriesData_virtualbase_boundingRect(const void* self); void QwtSetSeriesData_delete(QwtSetSeriesData* self); QwtTradingChartData* QwtTradingChartData_new(); -QwtTradingChartData* QwtTradingChartData_new2(struct miqt_array /* of QwtOHLCSample* */ param1); +QwtTradingChartData* QwtTradingChartData_new2(); +QwtTradingChartData* QwtTradingChartData_new3(struct miqt_array /* of QwtOHLCSample* */ param1); QRectF* QwtTradingChartData_boundingRect(const QwtTradingChartData* self); bool QwtTradingChartData_override_virtual_boundingRect(void* self, intptr_t slot); diff --git a/qt-extras/qwt/gen_qwt_symbol.cpp b/qt-extras/qwt/gen_qwt_symbol.cpp index 340dc69f5..ea2300fda 100644 --- a/qt-extras/qwt/gen_qwt_symbol.cpp +++ b/qt-extras/qwt/gen_qwt_symbol.cpp @@ -29,6 +29,7 @@ class MiqtVirtualQwtSymbol final : public QwtSymbol { MiqtVirtualQwtSymbol(): QwtSymbol() {} MiqtVirtualQwtSymbol(QwtSymbol::Style param1, const QBrush& param2, const QPen& param3, const QSize& param4): QwtSymbol(param1, param2, param3, param4) {} MiqtVirtualQwtSymbol(const QPainterPath& param1, const QBrush& param2, const QPen& param3): QwtSymbol(param1, param2, param3) {} + MiqtVirtualQwtSymbol(): QwtSymbol() {} MiqtVirtualQwtSymbol(QwtSymbol::Style param1): QwtSymbol(param1) {} virtual ~MiqtVirtualQwtSymbol() override = default; @@ -100,7 +101,11 @@ QwtSymbol* QwtSymbol_new3(QPainterPath* param1, QBrush* param2, QPen* param3) { return new (std::nothrow) MiqtVirtualQwtSymbol(*param1, *param2, *param3); } -QwtSymbol* QwtSymbol_new4(int param1) { +QwtSymbol* QwtSymbol_new4() { + return new (std::nothrow) MiqtVirtualQwtSymbol(); +} + +QwtSymbol* QwtSymbol_new5(int param1) { return new (std::nothrow) MiqtVirtualQwtSymbol(static_cast(param1)); } diff --git a/qt-extras/qwt/gen_qwt_symbol.go b/qt-extras/qwt/gen_qwt_symbol.go index a7514031a..e1c811588 100644 --- a/qt-extras/qwt/gen_qwt_symbol.go +++ b/qt-extras/qwt/gen_qwt_symbol.go @@ -100,9 +100,15 @@ func NewQwtSymbol3(param1 *qt.QPainterPath, param2 *qt.QBrush, param3 *qt.QPen) } // NewQwtSymbol4 constructs a new QwtSymbol object. -func NewQwtSymbol4(param1 QwtSymbol__Style) *QwtSymbol { +func NewQwtSymbol4() *QwtSymbol { - return newQwtSymbol(C.QwtSymbol_new4((C.int)(param1))) + return newQwtSymbol(C.QwtSymbol_new4()) +} + +// NewQwtSymbol5 constructs a new QwtSymbol object. +func NewQwtSymbol5(param1 QwtSymbol__Style) *QwtSymbol { + + return newQwtSymbol(C.QwtSymbol_new5((C.int)(param1))) } func (this *QwtSymbol) SetCachePolicy(cachePolicy QwtSymbol__CachePolicy) { diff --git a/qt-extras/qwt/gen_qwt_symbol.h b/qt-extras/qwt/gen_qwt_symbol.h index 2149266c4..2bd28ec81 100644 --- a/qt-extras/qwt/gen_qwt_symbol.h +++ b/qt-extras/qwt/gen_qwt_symbol.h @@ -45,7 +45,8 @@ typedef struct QwtSymbol QwtSymbol; QwtSymbol* QwtSymbol_new(); QwtSymbol* QwtSymbol_new2(int param1, QBrush* param2, QPen* param3, QSize* param4); QwtSymbol* QwtSymbol_new3(QPainterPath* param1, QBrush* param2, QPen* param3); -QwtSymbol* QwtSymbol_new4(int param1); +QwtSymbol* QwtSymbol_new4(); +QwtSymbol* QwtSymbol_new5(int param1); void QwtSymbol_setCachePolicy(QwtSymbol* self, int cachePolicy); int QwtSymbol_cachePolicy(const QwtSymbol* self); void QwtSymbol_setSize(QwtSymbol* self, QSize* size); diff --git a/qt-extras/qwt/gen_qwt_text.cpp b/qt-extras/qwt/gen_qwt_text.cpp index 0e79a396f..4e003ffd7 100644 --- a/qt-extras/qwt/gen_qwt_text.cpp +++ b/qt-extras/qwt/gen_qwt_text.cpp @@ -27,12 +27,16 @@ QwtText* QwtText_new2(QwtText* param1) { return new (std::nothrow) QwtText(*param1); } -QwtText* QwtText_new3(struct miqt_string param1) { +QwtText* QwtText_new3() { + return new (std::nothrow) QwtText(); +} + +QwtText* QwtText_new4(struct miqt_string param1) { QString param1_QString = QString::fromUtf8(param1.data, param1.len); return new (std::nothrow) QwtText(param1_QString); } -QwtText* QwtText_new4(struct miqt_string param1, int textFormat) { +QwtText* QwtText_new5(struct miqt_string param1, int textFormat) { QString param1_QString = QString::fromUtf8(param1.data, param1.len); return new (std::nothrow) QwtText(param1_QString, static_cast(textFormat)); } diff --git a/qt-extras/qwt/gen_qwt_text.go b/qt-extras/qwt/gen_qwt_text.go index fdccc63c5..f1387918c 100644 --- a/qt-extras/qwt/gen_qwt_text.go +++ b/qt-extras/qwt/gen_qwt_text.go @@ -84,23 +84,29 @@ func NewQwtText2(param1 *QwtText) *QwtText { } // NewQwtText3 constructs a new QwtText object. -func NewQwtText3(param1 string) *QwtText { +func NewQwtText3() *QwtText { + + return newQwtText(C.QwtText_new3()) +} + +// NewQwtText4 constructs a new QwtText object. +func NewQwtText4(param1 string) *QwtText { param1_ms := C.struct_miqt_string{} param1_ms.data = C.CString(param1) param1_ms.len = C.size_t(len(param1)) defer C.free(unsafe.Pointer(param1_ms.data)) - return newQwtText(C.QwtText_new3(param1_ms)) + return newQwtText(C.QwtText_new4(param1_ms)) } -// NewQwtText4 constructs a new QwtText object. -func NewQwtText4(param1 string, textFormat QwtText__TextFormat) *QwtText { +// NewQwtText5 constructs a new QwtText object. +func NewQwtText5(param1 string, textFormat QwtText__TextFormat) *QwtText { param1_ms := C.struct_miqt_string{} param1_ms.data = C.CString(param1) param1_ms.len = C.size_t(len(param1)) defer C.free(unsafe.Pointer(param1_ms.data)) - return newQwtText(C.QwtText_new4(param1_ms, (C.int)(textFormat))) + return newQwtText(C.QwtText_new5(param1_ms, (C.int)(textFormat))) } func (this *QwtText) OperatorAssign(param1 *QwtText) { diff --git a/qt-extras/qwt/gen_qwt_text.h b/qt-extras/qwt/gen_qwt_text.h index 4ed8c61c5..229daf73c 100644 --- a/qt-extras/qwt/gen_qwt_text.h +++ b/qt-extras/qwt/gen_qwt_text.h @@ -38,8 +38,9 @@ typedef struct QwtTextEngine QwtTextEngine; QwtText* QwtText_new(); QwtText* QwtText_new2(QwtText* param1); -QwtText* QwtText_new3(struct miqt_string param1); -QwtText* QwtText_new4(struct miqt_string param1, int textFormat); +QwtText* QwtText_new3(); +QwtText* QwtText_new4(struct miqt_string param1); +QwtText* QwtText_new5(struct miqt_string param1, int textFormat); void QwtText_operatorAssign(QwtText* self, QwtText* param1); bool QwtText_operatorEqual(const QwtText* self, QwtText* param1); bool QwtText_operatorNotEqual(const QwtText* self, QwtText* param1); diff --git a/qt-extras/scintillaedit/gen_ScintillaEdit.cpp b/qt-extras/scintillaedit/gen_ScintillaEdit.cpp index d6b4ac62c..2d100b508 100644 --- a/qt-extras/scintillaedit/gen_ScintillaEdit.cpp +++ b/qt-extras/scintillaedit/gen_ScintillaEdit.cpp @@ -245,11 +245,15 @@ Scintilla__Internal__Point* Scintilla__Internal__Point_new2(Scintilla__Internal_ return new (std::nothrow) Scintilla::Internal::Point(*param1); } -Scintilla__Internal__Point* Scintilla__Internal__Point_new3(double x_) { +Scintilla__Internal__Point* Scintilla__Internal__Point_new3() { + return new (std::nothrow) Scintilla::Internal::Point(); +} + +Scintilla__Internal__Point* Scintilla__Internal__Point_new4(double x_) { return new (std::nothrow) Scintilla::Internal::Point(static_cast(x_)); } -Scintilla__Internal__Point* Scintilla__Internal__Point_new4(double x_, double y_) { +Scintilla__Internal__Point* Scintilla__Internal__Point_new5(double x_, double y_) { return new (std::nothrow) Scintilla::Internal::Point(static_cast(x_), static_cast(y_)); } @@ -346,19 +350,23 @@ Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new2(Scintilla_ return new (std::nothrow) Scintilla::Internal::PRectangle(*param1); } -Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new3(double left_) { +Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new3() { + return new (std::nothrow) Scintilla::Internal::PRectangle(); +} + +Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new4(double left_) { return new (std::nothrow) Scintilla::Internal::PRectangle(static_cast(left_)); } -Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new4(double left_, double top_) { +Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new5(double left_, double top_) { return new (std::nothrow) Scintilla::Internal::PRectangle(static_cast(left_), static_cast(top_)); } -Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new5(double left_, double top_, double right_) { +Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new6(double left_, double top_, double right_) { return new (std::nothrow) Scintilla::Internal::PRectangle(static_cast(left_), static_cast(top_), static_cast(right_)); } -Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new6(double left_, double top_, double right_, double bottom_) { +Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new7(double left_, double top_, double right_, double bottom_) { return new (std::nothrow) Scintilla::Internal::PRectangle(static_cast(left_), static_cast(top_), static_cast(right_), static_cast(bottom_)); } @@ -480,11 +488,15 @@ Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new4(Scintilla_ return new (std::nothrow) Scintilla::Internal::ColourRGBA(*param1); } -Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new5(int co_) { +Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new5() { + return new (std::nothrow) Scintilla::Internal::ColourRGBA(); +} + +Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new6(int co_) { return new (std::nothrow) Scintilla::Internal::ColourRGBA(static_cast(co_)); } -Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new6(unsigned int red, unsigned int green, unsigned int blue, unsigned int alpha) { +Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new7(unsigned int red, unsigned int green, unsigned int blue, unsigned int alpha) { return new (std::nothrow) Scintilla::Internal::ColourRGBA(static_cast(red), static_cast(green), static_cast(blue), static_cast(alpha)); } diff --git a/qt-extras/scintillaedit/gen_ScintillaEdit.go b/qt-extras/scintillaedit/gen_ScintillaEdit.go index 3cf2ce39e..9dbe3d5d2 100644 --- a/qt-extras/scintillaedit/gen_ScintillaEdit.go +++ b/qt-extras/scintillaedit/gen_ScintillaEdit.go @@ -1737,15 +1737,21 @@ func NewScintilla__Internal__Point2(param1 *Scintilla__Internal__Point) *Scintil } // NewScintilla__Internal__Point3 constructs a new Scintilla::Internal::Point object. -func NewScintilla__Internal__Point3(x_ float64) *Scintilla__Internal__Point { +func NewScintilla__Internal__Point3() *Scintilla__Internal__Point { - return newScintilla__Internal__Point(C.Scintilla__Internal__Point_new3((C.double)(x_))) + return newScintilla__Internal__Point(C.Scintilla__Internal__Point_new3()) } // NewScintilla__Internal__Point4 constructs a new Scintilla::Internal::Point object. -func NewScintilla__Internal__Point4(x_ float64, y_ float64) *Scintilla__Internal__Point { +func NewScintilla__Internal__Point4(x_ float64) *Scintilla__Internal__Point { - return newScintilla__Internal__Point(C.Scintilla__Internal__Point_new4((C.double)(x_), (C.double)(y_))) + return newScintilla__Internal__Point(C.Scintilla__Internal__Point_new4((C.double)(x_))) +} + +// NewScintilla__Internal__Point5 constructs a new Scintilla::Internal::Point object. +func NewScintilla__Internal__Point5(x_ float64, y_ float64) *Scintilla__Internal__Point { + + return newScintilla__Internal__Point(C.Scintilla__Internal__Point_new5((C.double)(x_), (C.double)(y_))) } func (this *Scintilla__Internal__Point) X() float64 { @@ -1933,27 +1939,33 @@ func NewScintilla__Internal__PRectangle2(param1 *Scintilla__Internal__PRectangle } // NewScintilla__Internal__PRectangle3 constructs a new Scintilla::Internal::PRectangle object. -func NewScintilla__Internal__PRectangle3(left_ float64) *Scintilla__Internal__PRectangle { +func NewScintilla__Internal__PRectangle3() *Scintilla__Internal__PRectangle { - return newScintilla__Internal__PRectangle(C.Scintilla__Internal__PRectangle_new3((C.double)(left_))) + return newScintilla__Internal__PRectangle(C.Scintilla__Internal__PRectangle_new3()) } // NewScintilla__Internal__PRectangle4 constructs a new Scintilla::Internal::PRectangle object. -func NewScintilla__Internal__PRectangle4(left_ float64, top_ float64) *Scintilla__Internal__PRectangle { +func NewScintilla__Internal__PRectangle4(left_ float64) *Scintilla__Internal__PRectangle { - return newScintilla__Internal__PRectangle(C.Scintilla__Internal__PRectangle_new4((C.double)(left_), (C.double)(top_))) + return newScintilla__Internal__PRectangle(C.Scintilla__Internal__PRectangle_new4((C.double)(left_))) } // NewScintilla__Internal__PRectangle5 constructs a new Scintilla::Internal::PRectangle object. -func NewScintilla__Internal__PRectangle5(left_ float64, top_ float64, right_ float64) *Scintilla__Internal__PRectangle { +func NewScintilla__Internal__PRectangle5(left_ float64, top_ float64) *Scintilla__Internal__PRectangle { - return newScintilla__Internal__PRectangle(C.Scintilla__Internal__PRectangle_new5((C.double)(left_), (C.double)(top_), (C.double)(right_))) + return newScintilla__Internal__PRectangle(C.Scintilla__Internal__PRectangle_new5((C.double)(left_), (C.double)(top_))) } // NewScintilla__Internal__PRectangle6 constructs a new Scintilla::Internal::PRectangle object. -func NewScintilla__Internal__PRectangle6(left_ float64, top_ float64, right_ float64, bottom_ float64) *Scintilla__Internal__PRectangle { +func NewScintilla__Internal__PRectangle6(left_ float64, top_ float64, right_ float64) *Scintilla__Internal__PRectangle { - return newScintilla__Internal__PRectangle(C.Scintilla__Internal__PRectangle_new6((C.double)(left_), (C.double)(top_), (C.double)(right_), (C.double)(bottom_))) + return newScintilla__Internal__PRectangle(C.Scintilla__Internal__PRectangle_new6((C.double)(left_), (C.double)(top_), (C.double)(right_))) +} + +// NewScintilla__Internal__PRectangle7 constructs a new Scintilla::Internal::PRectangle object. +func NewScintilla__Internal__PRectangle7(left_ float64, top_ float64, right_ float64, bottom_ float64) *Scintilla__Internal__PRectangle { + + return newScintilla__Internal__PRectangle(C.Scintilla__Internal__PRectangle_new7((C.double)(left_), (C.double)(top_), (C.double)(right_), (C.double)(bottom_))) } func (this *Scintilla__Internal__PRectangle) Left() float64 { @@ -2129,15 +2141,21 @@ func NewScintilla__Internal__ColourRGBA4(param1 *Scintilla__Internal__ColourRGBA } // NewScintilla__Internal__ColourRGBA5 constructs a new Scintilla::Internal::ColourRGBA object. -func NewScintilla__Internal__ColourRGBA5(co_ int) *Scintilla__Internal__ColourRGBA { +func NewScintilla__Internal__ColourRGBA5() *Scintilla__Internal__ColourRGBA { - return newScintilla__Internal__ColourRGBA(C.Scintilla__Internal__ColourRGBA_new5((C.int)(co_))) + return newScintilla__Internal__ColourRGBA(C.Scintilla__Internal__ColourRGBA_new5()) } // NewScintilla__Internal__ColourRGBA6 constructs a new Scintilla::Internal::ColourRGBA object. -func NewScintilla__Internal__ColourRGBA6(red uint, green uint, blue uint, alpha uint) *Scintilla__Internal__ColourRGBA { +func NewScintilla__Internal__ColourRGBA6(co_ int) *Scintilla__Internal__ColourRGBA { + + return newScintilla__Internal__ColourRGBA(C.Scintilla__Internal__ColourRGBA_new6((C.int)(co_))) +} + +// NewScintilla__Internal__ColourRGBA7 constructs a new Scintilla::Internal::ColourRGBA object. +func NewScintilla__Internal__ColourRGBA7(red uint, green uint, blue uint, alpha uint) *Scintilla__Internal__ColourRGBA { - return newScintilla__Internal__ColourRGBA(C.Scintilla__Internal__ColourRGBA_new6((C.uint)(red), (C.uint)(green), (C.uint)(blue), (C.uint)(alpha))) + return newScintilla__Internal__ColourRGBA(C.Scintilla__Internal__ColourRGBA_new7((C.uint)(red), (C.uint)(green), (C.uint)(blue), (C.uint)(alpha))) } func Scintilla__Internal__ColourRGBA_FromRGB(co_ int) *Scintilla__Internal__ColourRGBA { diff --git a/qt-extras/scintillaedit/gen_ScintillaEdit.h b/qt-extras/scintillaedit/gen_ScintillaEdit.h index d2a13cb57..28b3b055f 100644 --- a/qt-extras/scintillaedit/gen_ScintillaEdit.h +++ b/qt-extras/scintillaedit/gen_ScintillaEdit.h @@ -308,8 +308,9 @@ typedef struct ScintillaEditBase ScintillaEditBase; Scintilla__Internal__Point* Scintilla__Internal__Point_new(); Scintilla__Internal__Point* Scintilla__Internal__Point_new2(Scintilla__Internal__Point* param1); -Scintilla__Internal__Point* Scintilla__Internal__Point_new3(double x_); -Scintilla__Internal__Point* Scintilla__Internal__Point_new4(double x_, double y_); +Scintilla__Internal__Point* Scintilla__Internal__Point_new3(); +Scintilla__Internal__Point* Scintilla__Internal__Point_new4(double x_); +Scintilla__Internal__Point* Scintilla__Internal__Point_new5(double x_, double y_); double Scintilla__Internal__Point_x(const Scintilla__Internal__Point* self); void Scintilla__Internal__Point_setX(Scintilla__Internal__Point* self, double x); double Scintilla__Internal__Point_y(const Scintilla__Internal__Point* self); @@ -336,10 +337,11 @@ void Scintilla__Internal__Interval_delete(Scintilla__Internal__Interval* self); Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new(); Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new2(Scintilla__Internal__PRectangle* param1); -Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new3(double left_); -Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new4(double left_, double top_); -Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new5(double left_, double top_, double right_); -Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new6(double left_, double top_, double right_, double bottom_); +Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new3(); +Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new4(double left_); +Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new5(double left_, double top_); +Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new6(double left_, double top_, double right_); +Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new7(double left_, double top_, double right_, double bottom_); double Scintilla__Internal__PRectangle_left(const Scintilla__Internal__PRectangle* self); void Scintilla__Internal__PRectangle_setLeft(Scintilla__Internal__PRectangle* self, double left); double Scintilla__Internal__PRectangle_top(const Scintilla__Internal__PRectangle* self); @@ -370,8 +372,9 @@ Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new(); Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new2(unsigned int red, unsigned int green, unsigned int blue); Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new3(Scintilla__Internal__ColourRGBA* cd, unsigned int alpha); Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new4(Scintilla__Internal__ColourRGBA* param1); -Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new5(int co_); -Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new6(unsigned int red, unsigned int green, unsigned int blue, unsigned int alpha); +Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new5(); +Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new6(int co_); +Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new7(unsigned int red, unsigned int green, unsigned int blue, unsigned int alpha); Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_FromRGB(int co_); Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_Grey(unsigned int grey); Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_FromIpRGB(intptr_t co_); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexeravs.cpp b/qt-restricted-extras/qscintilla/gen_qscilexeravs.cpp index 0b887c6cc..ac6fade6f 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexeravs.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexeravs.cpp @@ -68,6 +68,7 @@ void miqt_exec_callback_QsciLexerAVS_disconnectNotify(QsciLexerAVS*, intptr_t, Q class MiqtVirtualQsciLexerAVS final : public QsciLexerAVS { public: + MiqtVirtualQsciLexerAVS(): QsciLexerAVS() {} MiqtVirtualQsciLexerAVS(): QsciLexerAVS() {} MiqtVirtualQsciLexerAVS(QObject* parent): QsciLexerAVS(parent) {} @@ -814,7 +815,11 @@ QsciLexerAVS* QsciLexerAVS_new() { return new (std::nothrow) MiqtVirtualQsciLexerAVS(); } -QsciLexerAVS* QsciLexerAVS_new2(QObject* parent) { +QsciLexerAVS* QsciLexerAVS_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerAVS(); +} + +QsciLexerAVS* QsciLexerAVS_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerAVS(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexeravs.go b/qt-restricted-extras/qscintilla/gen_qscilexeravs.go index 497e5ecc6..bee47d640 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexeravs.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexeravs.go @@ -78,9 +78,15 @@ func NewQsciLexerAVS() *QsciLexerAVS { } // NewQsciLexerAVS2 constructs a new QsciLexerAVS object. -func NewQsciLexerAVS2(parent *qt.QObject) *QsciLexerAVS { +func NewQsciLexerAVS2() *QsciLexerAVS { - return newQsciLexerAVS(C.QsciLexerAVS_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerAVS(C.QsciLexerAVS_new2()) +} + +// NewQsciLexerAVS3 constructs a new QsciLexerAVS object. +func NewQsciLexerAVS3(parent *qt.QObject) *QsciLexerAVS { + + return newQsciLexerAVS(C.QsciLexerAVS_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerAVS) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexeravs.h b/qt-restricted-extras/qscintilla/gen_qscilexeravs.h index e773048c8..30bd2078f 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexeravs.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexeravs.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerAVS* QsciLexerAVS_new(); -QsciLexerAVS* QsciLexerAVS_new2(QObject* parent); +QsciLexerAVS* QsciLexerAVS_new2(); +QsciLexerAVS* QsciLexerAVS_new3(QObject* parent); void QsciLexerAVS_virtbase(QsciLexerAVS* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerAVS_metaObject(const QsciLexerAVS* self); void* QsciLexerAVS_metacast(QsciLexerAVS* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerbash.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerbash.cpp index 9b325de2f..f338e8763 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerbash.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerbash.cpp @@ -68,6 +68,7 @@ void miqt_exec_callback_QsciLexerBash_disconnectNotify(QsciLexerBash*, intptr_t, class MiqtVirtualQsciLexerBash final : public QsciLexerBash { public: + MiqtVirtualQsciLexerBash(): QsciLexerBash() {} MiqtVirtualQsciLexerBash(): QsciLexerBash() {} MiqtVirtualQsciLexerBash(QObject* parent): QsciLexerBash(parent) {} @@ -814,7 +815,11 @@ QsciLexerBash* QsciLexerBash_new() { return new (std::nothrow) MiqtVirtualQsciLexerBash(); } -QsciLexerBash* QsciLexerBash_new2(QObject* parent) { +QsciLexerBash* QsciLexerBash_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerBash(); +} + +QsciLexerBash* QsciLexerBash_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerBash(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerbash.go b/qt-restricted-extras/qscintilla/gen_qscilexerbash.go index 6af3f4351..fc597df5c 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerbash.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexerbash.go @@ -77,9 +77,15 @@ func NewQsciLexerBash() *QsciLexerBash { } // NewQsciLexerBash2 constructs a new QsciLexerBash object. -func NewQsciLexerBash2(parent *qt.QObject) *QsciLexerBash { +func NewQsciLexerBash2() *QsciLexerBash { - return newQsciLexerBash(C.QsciLexerBash_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerBash(C.QsciLexerBash_new2()) +} + +// NewQsciLexerBash3 constructs a new QsciLexerBash object. +func NewQsciLexerBash3(parent *qt.QObject) *QsciLexerBash { + + return newQsciLexerBash(C.QsciLexerBash_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerBash) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerbash.h b/qt-restricted-extras/qscintilla/gen_qscilexerbash.h index d649fa6d1..bfe41b092 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerbash.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexerbash.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerBash* QsciLexerBash_new(); -QsciLexerBash* QsciLexerBash_new2(QObject* parent); +QsciLexerBash* QsciLexerBash_new2(); +QsciLexerBash* QsciLexerBash_new3(QObject* parent); void QsciLexerBash_virtbase(QsciLexerBash* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerBash_metaObject(const QsciLexerBash* self); void* QsciLexerBash_metacast(QsciLexerBash* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerbatch.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerbatch.cpp index 41bc26717..2777bad4d 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerbatch.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerbatch.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerBatch_disconnectNotify(QsciLexerBatch*, intptr_ class MiqtVirtualQsciLexerBatch final : public QsciLexerBatch { public: + MiqtVirtualQsciLexerBatch(): QsciLexerBatch() {} MiqtVirtualQsciLexerBatch(): QsciLexerBatch() {} MiqtVirtualQsciLexerBatch(QObject* parent): QsciLexerBatch(parent) {} @@ -776,7 +777,11 @@ QsciLexerBatch* QsciLexerBatch_new() { return new (std::nothrow) MiqtVirtualQsciLexerBatch(); } -QsciLexerBatch* QsciLexerBatch_new2(QObject* parent) { +QsciLexerBatch* QsciLexerBatch_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerBatch(); +} + +QsciLexerBatch* QsciLexerBatch_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerBatch(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerbatch.go b/qt-restricted-extras/qscintilla/gen_qscilexerbatch.go index c677b8422..8bd013d20 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerbatch.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexerbatch.go @@ -71,9 +71,15 @@ func NewQsciLexerBatch() *QsciLexerBatch { } // NewQsciLexerBatch2 constructs a new QsciLexerBatch object. -func NewQsciLexerBatch2(parent *qt.QObject) *QsciLexerBatch { +func NewQsciLexerBatch2() *QsciLexerBatch { - return newQsciLexerBatch(C.QsciLexerBatch_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerBatch(C.QsciLexerBatch_new2()) +} + +// NewQsciLexerBatch3 constructs a new QsciLexerBatch object. +func NewQsciLexerBatch3(parent *qt.QObject) *QsciLexerBatch { + + return newQsciLexerBatch(C.QsciLexerBatch_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerBatch) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerbatch.h b/qt-restricted-extras/qscintilla/gen_qscilexerbatch.h index c86d4b79b..a140bb749 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerbatch.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexerbatch.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerBatch* QsciLexerBatch_new(); -QsciLexerBatch* QsciLexerBatch_new2(QObject* parent); +QsciLexerBatch* QsciLexerBatch_new2(); +QsciLexerBatch* QsciLexerBatch_new3(QObject* parent); void QsciLexerBatch_virtbase(QsciLexerBatch* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerBatch_metaObject(const QsciLexerBatch* self); void* QsciLexerBatch_metacast(QsciLexerBatch* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexercmake.cpp b/qt-restricted-extras/qscintilla/gen_qscilexercmake.cpp index a682a78d7..39d5ae98d 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexercmake.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexercmake.cpp @@ -67,6 +67,7 @@ void miqt_exec_callback_QsciLexerCMake_disconnectNotify(QsciLexerCMake*, intptr_ class MiqtVirtualQsciLexerCMake final : public QsciLexerCMake { public: + MiqtVirtualQsciLexerCMake(): QsciLexerCMake() {} MiqtVirtualQsciLexerCMake(): QsciLexerCMake() {} MiqtVirtualQsciLexerCMake(QObject* parent): QsciLexerCMake(parent) {} @@ -796,7 +797,11 @@ QsciLexerCMake* QsciLexerCMake_new() { return new (std::nothrow) MiqtVirtualQsciLexerCMake(); } -QsciLexerCMake* QsciLexerCMake_new2(QObject* parent) { +QsciLexerCMake* QsciLexerCMake_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerCMake(); +} + +QsciLexerCMake* QsciLexerCMake_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerCMake(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexercmake.go b/qt-restricted-extras/qscintilla/gen_qscilexercmake.go index 6f2cf0fee..77cc2ef8c 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexercmake.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexercmake.go @@ -78,9 +78,15 @@ func NewQsciLexerCMake() *QsciLexerCMake { } // NewQsciLexerCMake2 constructs a new QsciLexerCMake object. -func NewQsciLexerCMake2(parent *qt.QObject) *QsciLexerCMake { +func NewQsciLexerCMake2() *QsciLexerCMake { - return newQsciLexerCMake(C.QsciLexerCMake_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerCMake(C.QsciLexerCMake_new2()) +} + +// NewQsciLexerCMake3 constructs a new QsciLexerCMake object. +func NewQsciLexerCMake3(parent *qt.QObject) *QsciLexerCMake { + + return newQsciLexerCMake(C.QsciLexerCMake_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerCMake) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexercmake.h b/qt-restricted-extras/qscintilla/gen_qscilexercmake.h index 1139e045b..6eb949de1 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexercmake.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexercmake.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerCMake* QsciLexerCMake_new(); -QsciLexerCMake* QsciLexerCMake_new2(QObject* parent); +QsciLexerCMake* QsciLexerCMake_new2(); +QsciLexerCMake* QsciLexerCMake_new3(QObject* parent); void QsciLexerCMake_virtbase(QsciLexerCMake* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerCMake_metaObject(const QsciLexerCMake* self); void* QsciLexerCMake_metacast(QsciLexerCMake* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexercoffeescript.cpp b/qt-restricted-extras/qscintilla/gen_qscilexercoffeescript.cpp index 5fb0fd38b..e56ad3054 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexercoffeescript.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexercoffeescript.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerCoffeeScript_disconnectNotify(QsciLexerCoffeeSc class MiqtVirtualQsciLexerCoffeeScript final : public QsciLexerCoffeeScript { public: + MiqtVirtualQsciLexerCoffeeScript(): QsciLexerCoffeeScript() {} MiqtVirtualQsciLexerCoffeeScript(): QsciLexerCoffeeScript() {} MiqtVirtualQsciLexerCoffeeScript(QObject* parent): QsciLexerCoffeeScript(parent) {} @@ -778,7 +779,11 @@ QsciLexerCoffeeScript* QsciLexerCoffeeScript_new() { return new (std::nothrow) MiqtVirtualQsciLexerCoffeeScript(); } -QsciLexerCoffeeScript* QsciLexerCoffeeScript_new2(QObject* parent) { +QsciLexerCoffeeScript* QsciLexerCoffeeScript_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerCoffeeScript(); +} + +QsciLexerCoffeeScript* QsciLexerCoffeeScript_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerCoffeeScript(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexercoffeescript.go b/qt-restricted-extras/qscintilla/gen_qscilexercoffeescript.go index af88930fb..9052054ca 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexercoffeescript.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexercoffeescript.go @@ -87,9 +87,15 @@ func NewQsciLexerCoffeeScript() *QsciLexerCoffeeScript { } // NewQsciLexerCoffeeScript2 constructs a new QsciLexerCoffeeScript object. -func NewQsciLexerCoffeeScript2(parent *qt.QObject) *QsciLexerCoffeeScript { +func NewQsciLexerCoffeeScript2() *QsciLexerCoffeeScript { - return newQsciLexerCoffeeScript(C.QsciLexerCoffeeScript_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerCoffeeScript(C.QsciLexerCoffeeScript_new2()) +} + +// NewQsciLexerCoffeeScript3 constructs a new QsciLexerCoffeeScript object. +func NewQsciLexerCoffeeScript3(parent *qt.QObject) *QsciLexerCoffeeScript { + + return newQsciLexerCoffeeScript(C.QsciLexerCoffeeScript_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerCoffeeScript) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexercoffeescript.h b/qt-restricted-extras/qscintilla/gen_qscilexercoffeescript.h index c72ed66e3..99e3bf0d1 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexercoffeescript.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexercoffeescript.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerCoffeeScript* QsciLexerCoffeeScript_new(); -QsciLexerCoffeeScript* QsciLexerCoffeeScript_new2(QObject* parent); +QsciLexerCoffeeScript* QsciLexerCoffeeScript_new2(); +QsciLexerCoffeeScript* QsciLexerCoffeeScript_new3(QObject* parent); void QsciLexerCoffeeScript_virtbase(QsciLexerCoffeeScript* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerCoffeeScript_metaObject(const QsciLexerCoffeeScript* self); void* QsciLexerCoffeeScript_metacast(QsciLexerCoffeeScript* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexercpp.cpp b/qt-restricted-extras/qscintilla/gen_qscilexercpp.cpp index 49a60089d..a4ab03666 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexercpp.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexercpp.cpp @@ -71,6 +71,7 @@ void miqt_exec_callback_QsciLexerCPP_disconnectNotify(QsciLexerCPP*, intptr_t, Q class MiqtVirtualQsciLexerCPP final : public QsciLexerCPP { public: + MiqtVirtualQsciLexerCPP(): QsciLexerCPP() {} MiqtVirtualQsciLexerCPP(): QsciLexerCPP() {} MiqtVirtualQsciLexerCPP(QObject* parent): QsciLexerCPP(parent) {} MiqtVirtualQsciLexerCPP(QObject* parent, bool caseInsensitiveKeywords): QsciLexerCPP(parent, caseInsensitiveKeywords) {} @@ -869,11 +870,15 @@ QsciLexerCPP* QsciLexerCPP_new() { return new (std::nothrow) MiqtVirtualQsciLexerCPP(); } -QsciLexerCPP* QsciLexerCPP_new2(QObject* parent) { +QsciLexerCPP* QsciLexerCPP_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerCPP(); +} + +QsciLexerCPP* QsciLexerCPP_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerCPP(parent); } -QsciLexerCPP* QsciLexerCPP_new3(QObject* parent, bool caseInsensitiveKeywords) { +QsciLexerCPP* QsciLexerCPP_new4(QObject* parent, bool caseInsensitiveKeywords) { return new (std::nothrow) MiqtVirtualQsciLexerCPP(parent, caseInsensitiveKeywords); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexercpp.go b/qt-restricted-extras/qscintilla/gen_qscilexercpp.go index 5410f48b7..73a59f26b 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexercpp.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexercpp.go @@ -119,15 +119,21 @@ func NewQsciLexerCPP() *QsciLexerCPP { } // NewQsciLexerCPP2 constructs a new QsciLexerCPP object. -func NewQsciLexerCPP2(parent *qt.QObject) *QsciLexerCPP { +func NewQsciLexerCPP2() *QsciLexerCPP { - return newQsciLexerCPP(C.QsciLexerCPP_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerCPP(C.QsciLexerCPP_new2()) } // NewQsciLexerCPP3 constructs a new QsciLexerCPP object. -func NewQsciLexerCPP3(parent *qt.QObject, caseInsensitiveKeywords bool) *QsciLexerCPP { +func NewQsciLexerCPP3(parent *qt.QObject) *QsciLexerCPP { - return newQsciLexerCPP(C.QsciLexerCPP_new3((*C.QObject)(parent.UnsafePointer()), (C.bool)(caseInsensitiveKeywords))) + return newQsciLexerCPP(C.QsciLexerCPP_new3((*C.QObject)(parent.UnsafePointer()))) +} + +// NewQsciLexerCPP4 constructs a new QsciLexerCPP object. +func NewQsciLexerCPP4(parent *qt.QObject, caseInsensitiveKeywords bool) *QsciLexerCPP { + + return newQsciLexerCPP(C.QsciLexerCPP_new4((*C.QObject)(parent.UnsafePointer()), (C.bool)(caseInsensitiveKeywords))) } func (this *QsciLexerCPP) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexercpp.h b/qt-restricted-extras/qscintilla/gen_qscilexercpp.h index e8ed291c2..5268c4c39 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexercpp.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexercpp.h @@ -43,8 +43,9 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerCPP* QsciLexerCPP_new(); -QsciLexerCPP* QsciLexerCPP_new2(QObject* parent); -QsciLexerCPP* QsciLexerCPP_new3(QObject* parent, bool caseInsensitiveKeywords); +QsciLexerCPP* QsciLexerCPP_new2(); +QsciLexerCPP* QsciLexerCPP_new3(QObject* parent); +QsciLexerCPP* QsciLexerCPP_new4(QObject* parent, bool caseInsensitiveKeywords); void QsciLexerCPP_virtbase(QsciLexerCPP* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerCPP_metaObject(const QsciLexerCPP* self); void* QsciLexerCPP_metacast(QsciLexerCPP* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexercsharp.cpp b/qt-restricted-extras/qscintilla/gen_qscilexercsharp.cpp index 97daa7539..4703aa6b6 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexercsharp.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexercsharp.cpp @@ -71,6 +71,7 @@ void miqt_exec_callback_QsciLexerCSharp_disconnectNotify(QsciLexerCSharp*, intpt class MiqtVirtualQsciLexerCSharp final : public QsciLexerCSharp { public: + MiqtVirtualQsciLexerCSharp(): QsciLexerCSharp() {} MiqtVirtualQsciLexerCSharp(): QsciLexerCSharp() {} MiqtVirtualQsciLexerCSharp(QObject* parent): QsciLexerCSharp(parent) {} @@ -868,7 +869,11 @@ QsciLexerCSharp* QsciLexerCSharp_new() { return new (std::nothrow) MiqtVirtualQsciLexerCSharp(); } -QsciLexerCSharp* QsciLexerCSharp_new2(QObject* parent) { +QsciLexerCSharp* QsciLexerCSharp_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerCSharp(); +} + +QsciLexerCSharp* QsciLexerCSharp_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerCSharp(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexercsharp.go b/qt-restricted-extras/qscintilla/gen_qscilexercsharp.go index 9d39db684..ca8d6d8c8 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexercsharp.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexercsharp.go @@ -58,9 +58,15 @@ func NewQsciLexerCSharp() *QsciLexerCSharp { } // NewQsciLexerCSharp2 constructs a new QsciLexerCSharp object. -func NewQsciLexerCSharp2(parent *qt.QObject) *QsciLexerCSharp { +func NewQsciLexerCSharp2() *QsciLexerCSharp { - return newQsciLexerCSharp(C.QsciLexerCSharp_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerCSharp(C.QsciLexerCSharp_new2()) +} + +// NewQsciLexerCSharp3 constructs a new QsciLexerCSharp object. +func NewQsciLexerCSharp3(parent *qt.QObject) *QsciLexerCSharp { + + return newQsciLexerCSharp(C.QsciLexerCSharp_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerCSharp) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexercsharp.h b/qt-restricted-extras/qscintilla/gen_qscilexercsharp.h index f53775452..cadacce87 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexercsharp.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexercsharp.h @@ -45,7 +45,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerCSharp* QsciLexerCSharp_new(); -QsciLexerCSharp* QsciLexerCSharp_new2(QObject* parent); +QsciLexerCSharp* QsciLexerCSharp_new2(); +QsciLexerCSharp* QsciLexerCSharp_new3(QObject* parent); void QsciLexerCSharp_virtbase(QsciLexerCSharp* src, QsciLexerCPP** outptr_QsciLexerCPP); QMetaObject* QsciLexerCSharp_metaObject(const QsciLexerCSharp* self); void* QsciLexerCSharp_metacast(QsciLexerCSharp* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexercss.cpp b/qt-restricted-extras/qscintilla/gen_qscilexercss.cpp index 74fc19abb..a6f9285fd 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexercss.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexercss.cpp @@ -68,6 +68,7 @@ void miqt_exec_callback_QsciLexerCSS_disconnectNotify(QsciLexerCSS*, intptr_t, Q class MiqtVirtualQsciLexerCSS final : public QsciLexerCSS { public: + MiqtVirtualQsciLexerCSS(): QsciLexerCSS() {} MiqtVirtualQsciLexerCSS(): QsciLexerCSS() {} MiqtVirtualQsciLexerCSS(QObject* parent): QsciLexerCSS(parent) {} @@ -814,7 +815,11 @@ QsciLexerCSS* QsciLexerCSS_new() { return new (std::nothrow) MiqtVirtualQsciLexerCSS(); } -QsciLexerCSS* QsciLexerCSS_new2(QObject* parent) { +QsciLexerCSS* QsciLexerCSS_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerCSS(); +} + +QsciLexerCSS* QsciLexerCSS_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerCSS(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexercss.go b/qt-restricted-extras/qscintilla/gen_qscilexercss.go index 57380ab2b..70e074de1 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexercss.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexercss.go @@ -87,9 +87,15 @@ func NewQsciLexerCSS() *QsciLexerCSS { } // NewQsciLexerCSS2 constructs a new QsciLexerCSS object. -func NewQsciLexerCSS2(parent *qt.QObject) *QsciLexerCSS { +func NewQsciLexerCSS2() *QsciLexerCSS { - return newQsciLexerCSS(C.QsciLexerCSS_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerCSS(C.QsciLexerCSS_new2()) +} + +// NewQsciLexerCSS3 constructs a new QsciLexerCSS object. +func NewQsciLexerCSS3(parent *qt.QObject) *QsciLexerCSS { + + return newQsciLexerCSS(C.QsciLexerCSS_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerCSS) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexercss.h b/qt-restricted-extras/qscintilla/gen_qscilexercss.h index 73eb53c1e..8ea16559f 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexercss.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexercss.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerCSS* QsciLexerCSS_new(); -QsciLexerCSS* QsciLexerCSS_new2(QObject* parent); +QsciLexerCSS* QsciLexerCSS_new2(); +QsciLexerCSS* QsciLexerCSS_new3(QObject* parent); void QsciLexerCSS_virtbase(QsciLexerCSS* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerCSS_metaObject(const QsciLexerCSS* self); void* QsciLexerCSS_metacast(QsciLexerCSS* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerd.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerd.cpp index 0bfdaf68d..72e720edc 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerd.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerd.cpp @@ -69,6 +69,7 @@ void miqt_exec_callback_QsciLexerD_disconnectNotify(QsciLexerD*, intptr_t, QMeta class MiqtVirtualQsciLexerD final : public QsciLexerD { public: + MiqtVirtualQsciLexerD(): QsciLexerD() {} MiqtVirtualQsciLexerD(): QsciLexerD() {} MiqtVirtualQsciLexerD(QObject* parent): QsciLexerD(parent) {} @@ -832,7 +833,11 @@ QsciLexerD* QsciLexerD_new() { return new (std::nothrow) MiqtVirtualQsciLexerD(); } -QsciLexerD* QsciLexerD_new2(QObject* parent) { +QsciLexerD* QsciLexerD_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerD(); +} + +QsciLexerD* QsciLexerD_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerD(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerd.go b/qt-restricted-extras/qscintilla/gen_qscilexerd.go index 52d08d183..14d46a136 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerd.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexerd.go @@ -86,9 +86,15 @@ func NewQsciLexerD() *QsciLexerD { } // NewQsciLexerD2 constructs a new QsciLexerD object. -func NewQsciLexerD2(parent *qt.QObject) *QsciLexerD { +func NewQsciLexerD2() *QsciLexerD { - return newQsciLexerD(C.QsciLexerD_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerD(C.QsciLexerD_new2()) +} + +// NewQsciLexerD3 constructs a new QsciLexerD object. +func NewQsciLexerD3(parent *qt.QObject) *QsciLexerD { + + return newQsciLexerD(C.QsciLexerD_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerD) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerd.h b/qt-restricted-extras/qscintilla/gen_qscilexerd.h index 8811631be..74d4c795a 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerd.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexerd.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerD* QsciLexerD_new(); -QsciLexerD* QsciLexerD_new2(QObject* parent); +QsciLexerD* QsciLexerD_new2(); +QsciLexerD* QsciLexerD_new3(QObject* parent); void QsciLexerD_virtbase(QsciLexerD* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerD_metaObject(const QsciLexerD* self); void* QsciLexerD_metacast(QsciLexerD* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerdiff.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerdiff.cpp index 9f997d3b2..ef9303ff8 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerdiff.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerdiff.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerDiff_disconnectNotify(QsciLexerDiff*, intptr_t, class MiqtVirtualQsciLexerDiff final : public QsciLexerDiff { public: + MiqtVirtualQsciLexerDiff(): QsciLexerDiff() {} MiqtVirtualQsciLexerDiff(): QsciLexerDiff() {} MiqtVirtualQsciLexerDiff(QObject* parent): QsciLexerDiff(parent) {} @@ -776,7 +777,11 @@ QsciLexerDiff* QsciLexerDiff_new() { return new (std::nothrow) MiqtVirtualQsciLexerDiff(); } -QsciLexerDiff* QsciLexerDiff_new2(QObject* parent) { +QsciLexerDiff* QsciLexerDiff_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerDiff(); +} + +QsciLexerDiff* QsciLexerDiff_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerDiff(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerdiff.go b/qt-restricted-extras/qscintilla/gen_qscilexerdiff.go index 020f61e86..079dc1aff 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerdiff.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexerdiff.go @@ -75,9 +75,15 @@ func NewQsciLexerDiff() *QsciLexerDiff { } // NewQsciLexerDiff2 constructs a new QsciLexerDiff object. -func NewQsciLexerDiff2(parent *qt.QObject) *QsciLexerDiff { +func NewQsciLexerDiff2() *QsciLexerDiff { - return newQsciLexerDiff(C.QsciLexerDiff_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerDiff(C.QsciLexerDiff_new2()) +} + +// NewQsciLexerDiff3 constructs a new QsciLexerDiff object. +func NewQsciLexerDiff3(parent *qt.QObject) *QsciLexerDiff { + + return newQsciLexerDiff(C.QsciLexerDiff_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerDiff) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerdiff.h b/qt-restricted-extras/qscintilla/gen_qscilexerdiff.h index f16a6242f..09f9e23fe 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerdiff.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexerdiff.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerDiff* QsciLexerDiff_new(); -QsciLexerDiff* QsciLexerDiff_new2(QObject* parent); +QsciLexerDiff* QsciLexerDiff_new2(); +QsciLexerDiff* QsciLexerDiff_new3(QObject* parent); void QsciLexerDiff_virtbase(QsciLexerDiff* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerDiff_metaObject(const QsciLexerDiff* self); void* QsciLexerDiff_metacast(QsciLexerDiff* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexeredifact.cpp b/qt-restricted-extras/qscintilla/gen_qscilexeredifact.cpp index f4133620a..5fe1b93ba 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexeredifact.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexeredifact.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerEDIFACT_disconnectNotify(QsciLexerEDIFACT*, int class MiqtVirtualQsciLexerEDIFACT final : public QsciLexerEDIFACT { public: + MiqtVirtualQsciLexerEDIFACT(): QsciLexerEDIFACT() {} MiqtVirtualQsciLexerEDIFACT(): QsciLexerEDIFACT() {} MiqtVirtualQsciLexerEDIFACT(QObject* parent): QsciLexerEDIFACT(parent) {} @@ -776,7 +777,11 @@ QsciLexerEDIFACT* QsciLexerEDIFACT_new() { return new (std::nothrow) MiqtVirtualQsciLexerEDIFACT(); } -QsciLexerEDIFACT* QsciLexerEDIFACT_new2(QObject* parent) { +QsciLexerEDIFACT* QsciLexerEDIFACT_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerEDIFACT(); +} + +QsciLexerEDIFACT* QsciLexerEDIFACT_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerEDIFACT(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexeredifact.go b/qt-restricted-extras/qscintilla/gen_qscilexeredifact.go index ed6f2af0f..4ea636e58 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexeredifact.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexeredifact.go @@ -72,9 +72,15 @@ func NewQsciLexerEDIFACT() *QsciLexerEDIFACT { } // NewQsciLexerEDIFACT2 constructs a new QsciLexerEDIFACT object. -func NewQsciLexerEDIFACT2(parent *qt.QObject) *QsciLexerEDIFACT { +func NewQsciLexerEDIFACT2() *QsciLexerEDIFACT { - return newQsciLexerEDIFACT(C.QsciLexerEDIFACT_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerEDIFACT(C.QsciLexerEDIFACT_new2()) +} + +// NewQsciLexerEDIFACT3 constructs a new QsciLexerEDIFACT object. +func NewQsciLexerEDIFACT3(parent *qt.QObject) *QsciLexerEDIFACT { + + return newQsciLexerEDIFACT(C.QsciLexerEDIFACT_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerEDIFACT) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexeredifact.h b/qt-restricted-extras/qscintilla/gen_qscilexeredifact.h index a7004a712..48f5392b3 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexeredifact.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexeredifact.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerEDIFACT* QsciLexerEDIFACT_new(); -QsciLexerEDIFACT* QsciLexerEDIFACT_new2(QObject* parent); +QsciLexerEDIFACT* QsciLexerEDIFACT_new2(); +QsciLexerEDIFACT* QsciLexerEDIFACT_new3(QObject* parent); void QsciLexerEDIFACT_virtbase(QsciLexerEDIFACT* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerEDIFACT_metaObject(const QsciLexerEDIFACT* self); void* QsciLexerEDIFACT_metacast(QsciLexerEDIFACT* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerfortran.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerfortran.cpp index 676a06fa2..1137d050f 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerfortran.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerfortran.cpp @@ -67,6 +67,7 @@ void miqt_exec_callback_QsciLexerFortran_disconnectNotify(QsciLexerFortran*, int class MiqtVirtualQsciLexerFortran final : public QsciLexerFortran { public: + MiqtVirtualQsciLexerFortran(): QsciLexerFortran() {} MiqtVirtualQsciLexerFortran(): QsciLexerFortran() {} MiqtVirtualQsciLexerFortran(QObject* parent): QsciLexerFortran(parent) {} @@ -796,7 +797,11 @@ QsciLexerFortran* QsciLexerFortran_new() { return new (std::nothrow) MiqtVirtualQsciLexerFortran(); } -QsciLexerFortran* QsciLexerFortran_new2(QObject* parent) { +QsciLexerFortran* QsciLexerFortran_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerFortran(); +} + +QsciLexerFortran* QsciLexerFortran_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerFortran(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerfortran.go b/qt-restricted-extras/qscintilla/gen_qscilexerfortran.go index 135101397..615e6ec16 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerfortran.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexerfortran.go @@ -58,9 +58,15 @@ func NewQsciLexerFortran() *QsciLexerFortran { } // NewQsciLexerFortran2 constructs a new QsciLexerFortran object. -func NewQsciLexerFortran2(parent *qt.QObject) *QsciLexerFortran { +func NewQsciLexerFortran2() *QsciLexerFortran { - return newQsciLexerFortran(C.QsciLexerFortran_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerFortran(C.QsciLexerFortran_new2()) +} + +// NewQsciLexerFortran3 constructs a new QsciLexerFortran object. +func NewQsciLexerFortran3(parent *qt.QObject) *QsciLexerFortran { + + return newQsciLexerFortran(C.QsciLexerFortran_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerFortran) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerfortran.h b/qt-restricted-extras/qscintilla/gen_qscilexerfortran.h index cb8991df0..418ad0b01 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerfortran.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexerfortran.h @@ -45,7 +45,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerFortran* QsciLexerFortran_new(); -QsciLexerFortran* QsciLexerFortran_new2(QObject* parent); +QsciLexerFortran* QsciLexerFortran_new2(); +QsciLexerFortran* QsciLexerFortran_new3(QObject* parent); void QsciLexerFortran_virtbase(QsciLexerFortran* src, QsciLexerFortran77** outptr_QsciLexerFortran77); QMetaObject* QsciLexerFortran_metaObject(const QsciLexerFortran* self); void* QsciLexerFortran_metacast(QsciLexerFortran* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerfortran77.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerfortran77.cpp index 8b8f757ba..ff6a791e0 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerfortran77.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerfortran77.cpp @@ -67,6 +67,7 @@ void miqt_exec_callback_QsciLexerFortran77_disconnectNotify(QsciLexerFortran77*, class MiqtVirtualQsciLexerFortran77 final : public QsciLexerFortran77 { public: + MiqtVirtualQsciLexerFortran77(): QsciLexerFortran77() {} MiqtVirtualQsciLexerFortran77(): QsciLexerFortran77() {} MiqtVirtualQsciLexerFortran77(QObject* parent): QsciLexerFortran77(parent) {} @@ -796,7 +797,11 @@ QsciLexerFortran77* QsciLexerFortran77_new() { return new (std::nothrow) MiqtVirtualQsciLexerFortran77(); } -QsciLexerFortran77* QsciLexerFortran77_new2(QObject* parent) { +QsciLexerFortran77* QsciLexerFortran77_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerFortran77(); +} + +QsciLexerFortran77* QsciLexerFortran77_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerFortran77(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerfortran77.go b/qt-restricted-extras/qscintilla/gen_qscilexerfortran77.go index 8d732077e..db50f39f0 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerfortran77.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexerfortran77.go @@ -78,9 +78,15 @@ func NewQsciLexerFortran77() *QsciLexerFortran77 { } // NewQsciLexerFortran772 constructs a new QsciLexerFortran77 object. -func NewQsciLexerFortran772(parent *qt.QObject) *QsciLexerFortran77 { +func NewQsciLexerFortran772() *QsciLexerFortran77 { - return newQsciLexerFortran77(C.QsciLexerFortran77_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerFortran77(C.QsciLexerFortran77_new2()) +} + +// NewQsciLexerFortran773 constructs a new QsciLexerFortran77 object. +func NewQsciLexerFortran773(parent *qt.QObject) *QsciLexerFortran77 { + + return newQsciLexerFortran77(C.QsciLexerFortran77_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerFortran77) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerfortran77.h b/qt-restricted-extras/qscintilla/gen_qscilexerfortran77.h index aaa02364f..6ea93c889 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerfortran77.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexerfortran77.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerFortran77* QsciLexerFortran77_new(); -QsciLexerFortran77* QsciLexerFortran77_new2(QObject* parent); +QsciLexerFortran77* QsciLexerFortran77_new2(); +QsciLexerFortran77* QsciLexerFortran77_new3(QObject* parent); void QsciLexerFortran77_virtbase(QsciLexerFortran77* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerFortran77_metaObject(const QsciLexerFortran77* self); void* QsciLexerFortran77_metacast(QsciLexerFortran77* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerhtml.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerhtml.cpp index d2f99a5ea..be2eb046b 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerhtml.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerhtml.cpp @@ -69,6 +69,7 @@ void miqt_exec_callback_QsciLexerHTML_disconnectNotify(QsciLexerHTML*, intptr_t, class MiqtVirtualQsciLexerHTML final : public QsciLexerHTML { public: + MiqtVirtualQsciLexerHTML(): QsciLexerHTML() {} MiqtVirtualQsciLexerHTML(): QsciLexerHTML() {} MiqtVirtualQsciLexerHTML(QObject* parent): QsciLexerHTML(parent) {} @@ -832,7 +833,11 @@ QsciLexerHTML* QsciLexerHTML_new() { return new (std::nothrow) MiqtVirtualQsciLexerHTML(); } -QsciLexerHTML* QsciLexerHTML_new2(QObject* parent) { +QsciLexerHTML* QsciLexerHTML_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerHTML(); +} + +QsciLexerHTML* QsciLexerHTML_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerHTML(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerhtml.go b/qt-restricted-extras/qscintilla/gen_qscilexerhtml.go index 67035e9ef..acc8dec82 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerhtml.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexerhtml.go @@ -173,9 +173,15 @@ func NewQsciLexerHTML() *QsciLexerHTML { } // NewQsciLexerHTML2 constructs a new QsciLexerHTML object. -func NewQsciLexerHTML2(parent *qt.QObject) *QsciLexerHTML { +func NewQsciLexerHTML2() *QsciLexerHTML { - return newQsciLexerHTML(C.QsciLexerHTML_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerHTML(C.QsciLexerHTML_new2()) +} + +// NewQsciLexerHTML3 constructs a new QsciLexerHTML object. +func NewQsciLexerHTML3(parent *qt.QObject) *QsciLexerHTML { + + return newQsciLexerHTML(C.QsciLexerHTML_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerHTML) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerhtml.h b/qt-restricted-extras/qscintilla/gen_qscilexerhtml.h index f44d8bfa2..d00fdc5c4 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerhtml.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexerhtml.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerHTML* QsciLexerHTML_new(); -QsciLexerHTML* QsciLexerHTML_new2(QObject* parent); +QsciLexerHTML* QsciLexerHTML_new2(); +QsciLexerHTML* QsciLexerHTML_new3(QObject* parent); void QsciLexerHTML_virtbase(QsciLexerHTML* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerHTML_metaObject(const QsciLexerHTML* self); void* QsciLexerHTML_metacast(QsciLexerHTML* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexeridl.cpp b/qt-restricted-extras/qscintilla/gen_qscilexeridl.cpp index 9ea9c83f9..5d28aba3f 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexeridl.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexeridl.cpp @@ -71,6 +71,7 @@ void miqt_exec_callback_QsciLexerIDL_disconnectNotify(QsciLexerIDL*, intptr_t, Q class MiqtVirtualQsciLexerIDL final : public QsciLexerIDL { public: + MiqtVirtualQsciLexerIDL(): QsciLexerIDL() {} MiqtVirtualQsciLexerIDL(): QsciLexerIDL() {} MiqtVirtualQsciLexerIDL(QObject* parent): QsciLexerIDL(parent) {} @@ -868,7 +869,11 @@ QsciLexerIDL* QsciLexerIDL_new() { return new (std::nothrow) MiqtVirtualQsciLexerIDL(); } -QsciLexerIDL* QsciLexerIDL_new2(QObject* parent) { +QsciLexerIDL* QsciLexerIDL_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerIDL(); +} + +QsciLexerIDL* QsciLexerIDL_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerIDL(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexeridl.go b/qt-restricted-extras/qscintilla/gen_qscilexeridl.go index b2954d69e..aded5ddeb 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexeridl.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexeridl.go @@ -58,9 +58,15 @@ func NewQsciLexerIDL() *QsciLexerIDL { } // NewQsciLexerIDL2 constructs a new QsciLexerIDL object. -func NewQsciLexerIDL2(parent *qt.QObject) *QsciLexerIDL { +func NewQsciLexerIDL2() *QsciLexerIDL { - return newQsciLexerIDL(C.QsciLexerIDL_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerIDL(C.QsciLexerIDL_new2()) +} + +// NewQsciLexerIDL3 constructs a new QsciLexerIDL object. +func NewQsciLexerIDL3(parent *qt.QObject) *QsciLexerIDL { + + return newQsciLexerIDL(C.QsciLexerIDL_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerIDL) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexeridl.h b/qt-restricted-extras/qscintilla/gen_qscilexeridl.h index 897c262fb..29a42f0fc 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexeridl.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexeridl.h @@ -45,7 +45,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerIDL* QsciLexerIDL_new(); -QsciLexerIDL* QsciLexerIDL_new2(QObject* parent); +QsciLexerIDL* QsciLexerIDL_new2(); +QsciLexerIDL* QsciLexerIDL_new3(QObject* parent); void QsciLexerIDL_virtbase(QsciLexerIDL* src, QsciLexerCPP** outptr_QsciLexerCPP); QMetaObject* QsciLexerIDL_metaObject(const QsciLexerIDL* self); void* QsciLexerIDL_metacast(QsciLexerIDL* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerjava.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerjava.cpp index a3c0e6b01..d802e0786 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerjava.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerjava.cpp @@ -71,6 +71,7 @@ void miqt_exec_callback_QsciLexerJava_disconnectNotify(QsciLexerJava*, intptr_t, class MiqtVirtualQsciLexerJava final : public QsciLexerJava { public: + MiqtVirtualQsciLexerJava(): QsciLexerJava() {} MiqtVirtualQsciLexerJava(): QsciLexerJava() {} MiqtVirtualQsciLexerJava(QObject* parent): QsciLexerJava(parent) {} @@ -868,7 +869,11 @@ QsciLexerJava* QsciLexerJava_new() { return new (std::nothrow) MiqtVirtualQsciLexerJava(); } -QsciLexerJava* QsciLexerJava_new2(QObject* parent) { +QsciLexerJava* QsciLexerJava_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerJava(); +} + +QsciLexerJava* QsciLexerJava_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerJava(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerjava.go b/qt-restricted-extras/qscintilla/gen_qscilexerjava.go index 97d6a16a3..c6e0a3fde 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerjava.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexerjava.go @@ -58,9 +58,15 @@ func NewQsciLexerJava() *QsciLexerJava { } // NewQsciLexerJava2 constructs a new QsciLexerJava object. -func NewQsciLexerJava2(parent *qt.QObject) *QsciLexerJava { +func NewQsciLexerJava2() *QsciLexerJava { - return newQsciLexerJava(C.QsciLexerJava_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerJava(C.QsciLexerJava_new2()) +} + +// NewQsciLexerJava3 constructs a new QsciLexerJava object. +func NewQsciLexerJava3(parent *qt.QObject) *QsciLexerJava { + + return newQsciLexerJava(C.QsciLexerJava_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerJava) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerjava.h b/qt-restricted-extras/qscintilla/gen_qscilexerjava.h index b118fe34d..0127cf3b4 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerjava.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexerjava.h @@ -45,7 +45,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerJava* QsciLexerJava_new(); -QsciLexerJava* QsciLexerJava_new2(QObject* parent); +QsciLexerJava* QsciLexerJava_new2(); +QsciLexerJava* QsciLexerJava_new3(QObject* parent); void QsciLexerJava_virtbase(QsciLexerJava* src, QsciLexerCPP** outptr_QsciLexerCPP); QMetaObject* QsciLexerJava_metaObject(const QsciLexerJava* self); void* QsciLexerJava_metacast(QsciLexerJava* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerjavascript.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerjavascript.cpp index 928837e27..aee72b639 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerjavascript.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerjavascript.cpp @@ -71,6 +71,7 @@ void miqt_exec_callback_QsciLexerJavaScript_disconnectNotify(QsciLexerJavaScript class MiqtVirtualQsciLexerJavaScript final : public QsciLexerJavaScript { public: + MiqtVirtualQsciLexerJavaScript(): QsciLexerJavaScript() {} MiqtVirtualQsciLexerJavaScript(): QsciLexerJavaScript() {} MiqtVirtualQsciLexerJavaScript(QObject* parent): QsciLexerJavaScript(parent) {} @@ -868,7 +869,11 @@ QsciLexerJavaScript* QsciLexerJavaScript_new() { return new (std::nothrow) MiqtVirtualQsciLexerJavaScript(); } -QsciLexerJavaScript* QsciLexerJavaScript_new2(QObject* parent) { +QsciLexerJavaScript* QsciLexerJavaScript_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerJavaScript(); +} + +QsciLexerJavaScript* QsciLexerJavaScript_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerJavaScript(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerjavascript.go b/qt-restricted-extras/qscintilla/gen_qscilexerjavascript.go index 9a493b1a7..2da077e85 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerjavascript.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexerjavascript.go @@ -58,9 +58,15 @@ func NewQsciLexerJavaScript() *QsciLexerJavaScript { } // NewQsciLexerJavaScript2 constructs a new QsciLexerJavaScript object. -func NewQsciLexerJavaScript2(parent *qt.QObject) *QsciLexerJavaScript { +func NewQsciLexerJavaScript2() *QsciLexerJavaScript { - return newQsciLexerJavaScript(C.QsciLexerJavaScript_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerJavaScript(C.QsciLexerJavaScript_new2()) +} + +// NewQsciLexerJavaScript3 constructs a new QsciLexerJavaScript object. +func NewQsciLexerJavaScript3(parent *qt.QObject) *QsciLexerJavaScript { + + return newQsciLexerJavaScript(C.QsciLexerJavaScript_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerJavaScript) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerjavascript.h b/qt-restricted-extras/qscintilla/gen_qscilexerjavascript.h index d90d4d010..4a1f5c798 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerjavascript.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexerjavascript.h @@ -45,7 +45,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerJavaScript* QsciLexerJavaScript_new(); -QsciLexerJavaScript* QsciLexerJavaScript_new2(QObject* parent); +QsciLexerJavaScript* QsciLexerJavaScript_new2(); +QsciLexerJavaScript* QsciLexerJavaScript_new3(QObject* parent); void QsciLexerJavaScript_virtbase(QsciLexerJavaScript* src, QsciLexerCPP** outptr_QsciLexerCPP); QMetaObject* QsciLexerJavaScript_metaObject(const QsciLexerJavaScript* self); void* QsciLexerJavaScript_metacast(QsciLexerJavaScript* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerjson.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerjson.cpp index d80e8c121..d82a0b3b3 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerjson.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerjson.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerJSON_disconnectNotify(QsciLexerJSON*, intptr_t, class MiqtVirtualQsciLexerJSON final : public QsciLexerJSON { public: + MiqtVirtualQsciLexerJSON(): QsciLexerJSON() {} MiqtVirtualQsciLexerJSON(): QsciLexerJSON() {} MiqtVirtualQsciLexerJSON(QObject* parent): QsciLexerJSON(parent) {} @@ -778,7 +779,11 @@ QsciLexerJSON* QsciLexerJSON_new() { return new (std::nothrow) MiqtVirtualQsciLexerJSON(); } -QsciLexerJSON* QsciLexerJSON_new2(QObject* parent) { +QsciLexerJSON* QsciLexerJSON_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerJSON(); +} + +QsciLexerJSON* QsciLexerJSON_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerJSON(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerjson.go b/qt-restricted-extras/qscintilla/gen_qscilexerjson.go index ee2edc95a..0bd8d518e 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerjson.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexerjson.go @@ -77,9 +77,15 @@ func NewQsciLexerJSON() *QsciLexerJSON { } // NewQsciLexerJSON2 constructs a new QsciLexerJSON object. -func NewQsciLexerJSON2(parent *qt.QObject) *QsciLexerJSON { +func NewQsciLexerJSON2() *QsciLexerJSON { - return newQsciLexerJSON(C.QsciLexerJSON_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerJSON(C.QsciLexerJSON_new2()) +} + +// NewQsciLexerJSON3 constructs a new QsciLexerJSON object. +func NewQsciLexerJSON3(parent *qt.QObject) *QsciLexerJSON { + + return newQsciLexerJSON(C.QsciLexerJSON_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerJSON) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerjson.h b/qt-restricted-extras/qscintilla/gen_qscilexerjson.h index fe5f20c10..ff73942e4 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerjson.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexerjson.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerJSON* QsciLexerJSON_new(); -QsciLexerJSON* QsciLexerJSON_new2(QObject* parent); +QsciLexerJSON* QsciLexerJSON_new2(); +QsciLexerJSON* QsciLexerJSON_new3(QObject* parent); void QsciLexerJSON_virtbase(QsciLexerJSON* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerJSON_metaObject(const QsciLexerJSON* self); void* QsciLexerJSON_metacast(QsciLexerJSON* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerlua.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerlua.cpp index eb85412f8..ef8a9528c 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerlua.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerlua.cpp @@ -67,6 +67,7 @@ void miqt_exec_callback_QsciLexerLua_disconnectNotify(QsciLexerLua*, intptr_t, Q class MiqtVirtualQsciLexerLua final : public QsciLexerLua { public: + MiqtVirtualQsciLexerLua(): QsciLexerLua() {} MiqtVirtualQsciLexerLua(): QsciLexerLua() {} MiqtVirtualQsciLexerLua(QObject* parent): QsciLexerLua(parent) {} @@ -796,7 +797,11 @@ QsciLexerLua* QsciLexerLua_new() { return new (std::nothrow) MiqtVirtualQsciLexerLua(); } -QsciLexerLua* QsciLexerLua_new2(QObject* parent) { +QsciLexerLua* QsciLexerLua_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerLua(); +} + +QsciLexerLua* QsciLexerLua_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerLua(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerlua.go b/qt-restricted-extras/qscintilla/gen_qscilexerlua.go index ec83c3583..755a15bbe 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerlua.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexerlua.go @@ -83,9 +83,15 @@ func NewQsciLexerLua() *QsciLexerLua { } // NewQsciLexerLua2 constructs a new QsciLexerLua object. -func NewQsciLexerLua2(parent *qt.QObject) *QsciLexerLua { +func NewQsciLexerLua2() *QsciLexerLua { - return newQsciLexerLua(C.QsciLexerLua_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerLua(C.QsciLexerLua_new2()) +} + +// NewQsciLexerLua3 constructs a new QsciLexerLua object. +func NewQsciLexerLua3(parent *qt.QObject) *QsciLexerLua { + + return newQsciLexerLua(C.QsciLexerLua_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerLua) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerlua.h b/qt-restricted-extras/qscintilla/gen_qscilexerlua.h index 19b435392..ad8bc729c 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerlua.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexerlua.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerLua* QsciLexerLua_new(); -QsciLexerLua* QsciLexerLua_new2(QObject* parent); +QsciLexerLua* QsciLexerLua_new2(); +QsciLexerLua* QsciLexerLua_new3(QObject* parent); void QsciLexerLua_virtbase(QsciLexerLua* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerLua_metaObject(const QsciLexerLua* self); void* QsciLexerLua_metacast(QsciLexerLua* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexermakefile.cpp b/qt-restricted-extras/qscintilla/gen_qscilexermakefile.cpp index eb557f15b..a4bb51335 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexermakefile.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexermakefile.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerMakefile_disconnectNotify(QsciLexerMakefile*, i class MiqtVirtualQsciLexerMakefile final : public QsciLexerMakefile { public: + MiqtVirtualQsciLexerMakefile(): QsciLexerMakefile() {} MiqtVirtualQsciLexerMakefile(): QsciLexerMakefile() {} MiqtVirtualQsciLexerMakefile(QObject* parent): QsciLexerMakefile(parent) {} @@ -776,7 +777,11 @@ QsciLexerMakefile* QsciLexerMakefile_new() { return new (std::nothrow) MiqtVirtualQsciLexerMakefile(); } -QsciLexerMakefile* QsciLexerMakefile_new2(QObject* parent) { +QsciLexerMakefile* QsciLexerMakefile_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerMakefile(); +} + +QsciLexerMakefile* QsciLexerMakefile_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerMakefile(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexermakefile.go b/qt-restricted-extras/qscintilla/gen_qscilexermakefile.go index 372881c4e..de223afea 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexermakefile.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexermakefile.go @@ -70,9 +70,15 @@ func NewQsciLexerMakefile() *QsciLexerMakefile { } // NewQsciLexerMakefile2 constructs a new QsciLexerMakefile object. -func NewQsciLexerMakefile2(parent *qt.QObject) *QsciLexerMakefile { +func NewQsciLexerMakefile2() *QsciLexerMakefile { - return newQsciLexerMakefile(C.QsciLexerMakefile_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerMakefile(C.QsciLexerMakefile_new2()) +} + +// NewQsciLexerMakefile3 constructs a new QsciLexerMakefile object. +func NewQsciLexerMakefile3(parent *qt.QObject) *QsciLexerMakefile { + + return newQsciLexerMakefile(C.QsciLexerMakefile_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerMakefile) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexermakefile.h b/qt-restricted-extras/qscintilla/gen_qscilexermakefile.h index 6e2249d39..e9b4875a3 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexermakefile.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexermakefile.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerMakefile* QsciLexerMakefile_new(); -QsciLexerMakefile* QsciLexerMakefile_new2(QObject* parent); +QsciLexerMakefile* QsciLexerMakefile_new2(); +QsciLexerMakefile* QsciLexerMakefile_new3(QObject* parent); void QsciLexerMakefile_virtbase(QsciLexerMakefile* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerMakefile_metaObject(const QsciLexerMakefile* self); void* QsciLexerMakefile_metacast(QsciLexerMakefile* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexermarkdown.cpp b/qt-restricted-extras/qscintilla/gen_qscilexermarkdown.cpp index 7a26f17ac..9e2e72ab1 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexermarkdown.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexermarkdown.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerMarkdown_disconnectNotify(QsciLexerMarkdown*, i class MiqtVirtualQsciLexerMarkdown final : public QsciLexerMarkdown { public: + MiqtVirtualQsciLexerMarkdown(): QsciLexerMarkdown() {} MiqtVirtualQsciLexerMarkdown(): QsciLexerMarkdown() {} MiqtVirtualQsciLexerMarkdown(QObject* parent): QsciLexerMarkdown(parent) {} @@ -776,7 +777,11 @@ QsciLexerMarkdown* QsciLexerMarkdown_new() { return new (std::nothrow) MiqtVirtualQsciLexerMarkdown(); } -QsciLexerMarkdown* QsciLexerMarkdown_new2(QObject* parent) { +QsciLexerMarkdown* QsciLexerMarkdown_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerMarkdown(); +} + +QsciLexerMarkdown* QsciLexerMarkdown_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerMarkdown(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexermarkdown.go b/qt-restricted-extras/qscintilla/gen_qscilexermarkdown.go index 6073c9c47..87c3dc517 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexermarkdown.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexermarkdown.go @@ -85,9 +85,15 @@ func NewQsciLexerMarkdown() *QsciLexerMarkdown { } // NewQsciLexerMarkdown2 constructs a new QsciLexerMarkdown object. -func NewQsciLexerMarkdown2(parent *qt.QObject) *QsciLexerMarkdown { +func NewQsciLexerMarkdown2() *QsciLexerMarkdown { - return newQsciLexerMarkdown(C.QsciLexerMarkdown_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerMarkdown(C.QsciLexerMarkdown_new2()) +} + +// NewQsciLexerMarkdown3 constructs a new QsciLexerMarkdown object. +func NewQsciLexerMarkdown3(parent *qt.QObject) *QsciLexerMarkdown { + + return newQsciLexerMarkdown(C.QsciLexerMarkdown_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerMarkdown) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexermarkdown.h b/qt-restricted-extras/qscintilla/gen_qscilexermarkdown.h index 94d942888..c5b55c033 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexermarkdown.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexermarkdown.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerMarkdown* QsciLexerMarkdown_new(); -QsciLexerMarkdown* QsciLexerMarkdown_new2(QObject* parent); +QsciLexerMarkdown* QsciLexerMarkdown_new2(); +QsciLexerMarkdown* QsciLexerMarkdown_new3(QObject* parent); void QsciLexerMarkdown_virtbase(QsciLexerMarkdown* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerMarkdown_metaObject(const QsciLexerMarkdown* self); void* QsciLexerMarkdown_metacast(QsciLexerMarkdown* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexermatlab.cpp b/qt-restricted-extras/qscintilla/gen_qscilexermatlab.cpp index 428361e3c..88588f936 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexermatlab.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexermatlab.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerMatlab_disconnectNotify(QsciLexerMatlab*, intpt class MiqtVirtualQsciLexerMatlab final : public QsciLexerMatlab { public: + MiqtVirtualQsciLexerMatlab(): QsciLexerMatlab() {} MiqtVirtualQsciLexerMatlab(): QsciLexerMatlab() {} MiqtVirtualQsciLexerMatlab(QObject* parent): QsciLexerMatlab(parent) {} @@ -776,7 +777,11 @@ QsciLexerMatlab* QsciLexerMatlab_new() { return new (std::nothrow) MiqtVirtualQsciLexerMatlab(); } -QsciLexerMatlab* QsciLexerMatlab_new2(QObject* parent) { +QsciLexerMatlab* QsciLexerMatlab_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerMatlab(); +} + +QsciLexerMatlab* QsciLexerMatlab_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerMatlab(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexermatlab.go b/qt-restricted-extras/qscintilla/gen_qscilexermatlab.go index d48cadd63..1998fb450 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexermatlab.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexermatlab.go @@ -72,9 +72,15 @@ func NewQsciLexerMatlab() *QsciLexerMatlab { } // NewQsciLexerMatlab2 constructs a new QsciLexerMatlab object. -func NewQsciLexerMatlab2(parent *qt.QObject) *QsciLexerMatlab { +func NewQsciLexerMatlab2() *QsciLexerMatlab { - return newQsciLexerMatlab(C.QsciLexerMatlab_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerMatlab(C.QsciLexerMatlab_new2()) +} + +// NewQsciLexerMatlab3 constructs a new QsciLexerMatlab object. +func NewQsciLexerMatlab3(parent *qt.QObject) *QsciLexerMatlab { + + return newQsciLexerMatlab(C.QsciLexerMatlab_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerMatlab) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexermatlab.h b/qt-restricted-extras/qscintilla/gen_qscilexermatlab.h index 3349e3d26..ef23b2d3f 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexermatlab.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexermatlab.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerMatlab* QsciLexerMatlab_new(); -QsciLexerMatlab* QsciLexerMatlab_new2(QObject* parent); +QsciLexerMatlab* QsciLexerMatlab_new2(); +QsciLexerMatlab* QsciLexerMatlab_new3(QObject* parent); void QsciLexerMatlab_virtbase(QsciLexerMatlab* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerMatlab_metaObject(const QsciLexerMatlab* self); void* QsciLexerMatlab_metacast(QsciLexerMatlab* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexeroctave.cpp b/qt-restricted-extras/qscintilla/gen_qscilexeroctave.cpp index 631c71d1c..67d04dd7d 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexeroctave.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexeroctave.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerOctave_disconnectNotify(QsciLexerOctave*, intpt class MiqtVirtualQsciLexerOctave final : public QsciLexerOctave { public: + MiqtVirtualQsciLexerOctave(): QsciLexerOctave() {} MiqtVirtualQsciLexerOctave(): QsciLexerOctave() {} MiqtVirtualQsciLexerOctave(QObject* parent): QsciLexerOctave(parent) {} @@ -776,7 +777,11 @@ QsciLexerOctave* QsciLexerOctave_new() { return new (std::nothrow) MiqtVirtualQsciLexerOctave(); } -QsciLexerOctave* QsciLexerOctave_new2(QObject* parent) { +QsciLexerOctave* QsciLexerOctave_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerOctave(); +} + +QsciLexerOctave* QsciLexerOctave_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerOctave(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexeroctave.go b/qt-restricted-extras/qscintilla/gen_qscilexeroctave.go index 56087118e..8f62ed36e 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexeroctave.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexeroctave.go @@ -58,9 +58,15 @@ func NewQsciLexerOctave() *QsciLexerOctave { } // NewQsciLexerOctave2 constructs a new QsciLexerOctave object. -func NewQsciLexerOctave2(parent *qt.QObject) *QsciLexerOctave { +func NewQsciLexerOctave2() *QsciLexerOctave { - return newQsciLexerOctave(C.QsciLexerOctave_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerOctave(C.QsciLexerOctave_new2()) +} + +// NewQsciLexerOctave3 constructs a new QsciLexerOctave object. +func NewQsciLexerOctave3(parent *qt.QObject) *QsciLexerOctave { + + return newQsciLexerOctave(C.QsciLexerOctave_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerOctave) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexeroctave.h b/qt-restricted-extras/qscintilla/gen_qscilexeroctave.h index a40bafe29..1eebfb46a 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexeroctave.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexeroctave.h @@ -45,7 +45,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerOctave* QsciLexerOctave_new(); -QsciLexerOctave* QsciLexerOctave_new2(QObject* parent); +QsciLexerOctave* QsciLexerOctave_new2(); +QsciLexerOctave* QsciLexerOctave_new3(QObject* parent); void QsciLexerOctave_virtbase(QsciLexerOctave* src, QsciLexerMatlab** outptr_QsciLexerMatlab); QMetaObject* QsciLexerOctave_metaObject(const QsciLexerOctave* self); void* QsciLexerOctave_metacast(QsciLexerOctave* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerpascal.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerpascal.cpp index 64cf4fba8..dbc1d6422 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerpascal.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerpascal.cpp @@ -69,6 +69,7 @@ void miqt_exec_callback_QsciLexerPascal_disconnectNotify(QsciLexerPascal*, intpt class MiqtVirtualQsciLexerPascal final : public QsciLexerPascal { public: + MiqtVirtualQsciLexerPascal(): QsciLexerPascal() {} MiqtVirtualQsciLexerPascal(): QsciLexerPascal() {} MiqtVirtualQsciLexerPascal(QObject* parent): QsciLexerPascal(parent) {} @@ -832,7 +833,11 @@ QsciLexerPascal* QsciLexerPascal_new() { return new (std::nothrow) MiqtVirtualQsciLexerPascal(); } -QsciLexerPascal* QsciLexerPascal_new2(QObject* parent) { +QsciLexerPascal* QsciLexerPascal_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerPascal(); +} + +QsciLexerPascal* QsciLexerPascal_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerPascal(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerpascal.go b/qt-restricted-extras/qscintilla/gen_qscilexerpascal.go index a48e5c544..c20e28220 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerpascal.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexerpascal.go @@ -78,9 +78,15 @@ func NewQsciLexerPascal() *QsciLexerPascal { } // NewQsciLexerPascal2 constructs a new QsciLexerPascal object. -func NewQsciLexerPascal2(parent *qt.QObject) *QsciLexerPascal { +func NewQsciLexerPascal2() *QsciLexerPascal { - return newQsciLexerPascal(C.QsciLexerPascal_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerPascal(C.QsciLexerPascal_new2()) +} + +// NewQsciLexerPascal3 constructs a new QsciLexerPascal object. +func NewQsciLexerPascal3(parent *qt.QObject) *QsciLexerPascal { + + return newQsciLexerPascal(C.QsciLexerPascal_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerPascal) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerpascal.h b/qt-restricted-extras/qscintilla/gen_qscilexerpascal.h index 17e481b03..c1305435c 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerpascal.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexerpascal.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerPascal* QsciLexerPascal_new(); -QsciLexerPascal* QsciLexerPascal_new2(QObject* parent); +QsciLexerPascal* QsciLexerPascal_new2(); +QsciLexerPascal* QsciLexerPascal_new3(QObject* parent); void QsciLexerPascal_virtbase(QsciLexerPascal* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerPascal_metaObject(const QsciLexerPascal* self); void* QsciLexerPascal_metacast(QsciLexerPascal* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerperl.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerperl.cpp index 689d87236..3d506f5fe 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerperl.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerperl.cpp @@ -68,6 +68,7 @@ void miqt_exec_callback_QsciLexerPerl_disconnectNotify(QsciLexerPerl*, intptr_t, class MiqtVirtualQsciLexerPerl final : public QsciLexerPerl { public: + MiqtVirtualQsciLexerPerl(): QsciLexerPerl() {} MiqtVirtualQsciLexerPerl(): QsciLexerPerl() {} MiqtVirtualQsciLexerPerl(QObject* parent): QsciLexerPerl(parent) {} @@ -814,7 +815,11 @@ QsciLexerPerl* QsciLexerPerl_new() { return new (std::nothrow) MiqtVirtualQsciLexerPerl(); } -QsciLexerPerl* QsciLexerPerl_new2(QObject* parent) { +QsciLexerPerl* QsciLexerPerl_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerPerl(); +} + +QsciLexerPerl* QsciLexerPerl_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerPerl(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerperl.go b/qt-restricted-extras/qscintilla/gen_qscilexerperl.go index 98d5ec0a7..2ecc081be 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerperl.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexerperl.go @@ -104,9 +104,15 @@ func NewQsciLexerPerl() *QsciLexerPerl { } // NewQsciLexerPerl2 constructs a new QsciLexerPerl object. -func NewQsciLexerPerl2(parent *qt.QObject) *QsciLexerPerl { +func NewQsciLexerPerl2() *QsciLexerPerl { - return newQsciLexerPerl(C.QsciLexerPerl_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerPerl(C.QsciLexerPerl_new2()) +} + +// NewQsciLexerPerl3 constructs a new QsciLexerPerl object. +func NewQsciLexerPerl3(parent *qt.QObject) *QsciLexerPerl { + + return newQsciLexerPerl(C.QsciLexerPerl_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerPerl) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerperl.h b/qt-restricted-extras/qscintilla/gen_qscilexerperl.h index fa67d2b09..0d0eeef79 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerperl.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexerperl.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerPerl* QsciLexerPerl_new(); -QsciLexerPerl* QsciLexerPerl_new2(QObject* parent); +QsciLexerPerl* QsciLexerPerl_new2(); +QsciLexerPerl* QsciLexerPerl_new3(QObject* parent); void QsciLexerPerl_virtbase(QsciLexerPerl* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerPerl_metaObject(const QsciLexerPerl* self); void* QsciLexerPerl_metacast(QsciLexerPerl* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerpo.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerpo.cpp index 899a209fe..2be28d9b8 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerpo.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerpo.cpp @@ -68,6 +68,7 @@ void miqt_exec_callback_QsciLexerPO_disconnectNotify(QsciLexerPO*, intptr_t, QMe class MiqtVirtualQsciLexerPO final : public QsciLexerPO { public: + MiqtVirtualQsciLexerPO(): QsciLexerPO() {} MiqtVirtualQsciLexerPO(): QsciLexerPO() {} MiqtVirtualQsciLexerPO(QObject* parent): QsciLexerPO(parent) {} @@ -814,7 +815,11 @@ QsciLexerPO* QsciLexerPO_new() { return new (std::nothrow) MiqtVirtualQsciLexerPO(); } -QsciLexerPO* QsciLexerPO_new2(QObject* parent) { +QsciLexerPO* QsciLexerPO_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerPO(); +} + +QsciLexerPO* QsciLexerPO_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerPO(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerpo.go b/qt-restricted-extras/qscintilla/gen_qscilexerpo.go index 710d119c9..751fe9014 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerpo.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexerpo.go @@ -78,9 +78,15 @@ func NewQsciLexerPO() *QsciLexerPO { } // NewQsciLexerPO2 constructs a new QsciLexerPO object. -func NewQsciLexerPO2(parent *qt.QObject) *QsciLexerPO { +func NewQsciLexerPO2() *QsciLexerPO { - return newQsciLexerPO(C.QsciLexerPO_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerPO(C.QsciLexerPO_new2()) +} + +// NewQsciLexerPO3 constructs a new QsciLexerPO object. +func NewQsciLexerPO3(parent *qt.QObject) *QsciLexerPO { + + return newQsciLexerPO(C.QsciLexerPO_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerPO) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerpo.h b/qt-restricted-extras/qscintilla/gen_qscilexerpo.h index d542a1cbd..007f17d13 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerpo.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexerpo.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerPO* QsciLexerPO_new(); -QsciLexerPO* QsciLexerPO_new2(QObject* parent); +QsciLexerPO* QsciLexerPO_new2(); +QsciLexerPO* QsciLexerPO_new3(QObject* parent); void QsciLexerPO_virtbase(QsciLexerPO* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerPO_metaObject(const QsciLexerPO* self); void* QsciLexerPO_metacast(QsciLexerPO* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerpostscript.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerpostscript.cpp index 6e20d75e1..a704e36ba 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerpostscript.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerpostscript.cpp @@ -70,6 +70,7 @@ void miqt_exec_callback_QsciLexerPostScript_disconnectNotify(QsciLexerPostScript class MiqtVirtualQsciLexerPostScript final : public QsciLexerPostScript { public: + MiqtVirtualQsciLexerPostScript(): QsciLexerPostScript() {} MiqtVirtualQsciLexerPostScript(): QsciLexerPostScript() {} MiqtVirtualQsciLexerPostScript(QObject* parent): QsciLexerPostScript(parent) {} @@ -850,7 +851,11 @@ QsciLexerPostScript* QsciLexerPostScript_new() { return new (std::nothrow) MiqtVirtualQsciLexerPostScript(); } -QsciLexerPostScript* QsciLexerPostScript_new2(QObject* parent) { +QsciLexerPostScript* QsciLexerPostScript_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerPostScript(); +} + +QsciLexerPostScript* QsciLexerPostScript_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerPostScript(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerpostscript.go b/qt-restricted-extras/qscintilla/gen_qscilexerpostscript.go index 2dffe225f..4438abb41 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerpostscript.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexerpostscript.go @@ -79,9 +79,15 @@ func NewQsciLexerPostScript() *QsciLexerPostScript { } // NewQsciLexerPostScript2 constructs a new QsciLexerPostScript object. -func NewQsciLexerPostScript2(parent *qt.QObject) *QsciLexerPostScript { +func NewQsciLexerPostScript2() *QsciLexerPostScript { - return newQsciLexerPostScript(C.QsciLexerPostScript_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerPostScript(C.QsciLexerPostScript_new2()) +} + +// NewQsciLexerPostScript3 constructs a new QsciLexerPostScript object. +func NewQsciLexerPostScript3(parent *qt.QObject) *QsciLexerPostScript { + + return newQsciLexerPostScript(C.QsciLexerPostScript_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerPostScript) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerpostscript.h b/qt-restricted-extras/qscintilla/gen_qscilexerpostscript.h index 14a7e7838..d7db63d1d 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerpostscript.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexerpostscript.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerPostScript* QsciLexerPostScript_new(); -QsciLexerPostScript* QsciLexerPostScript_new2(QObject* parent); +QsciLexerPostScript* QsciLexerPostScript_new2(); +QsciLexerPostScript* QsciLexerPostScript_new3(QObject* parent); void QsciLexerPostScript_virtbase(QsciLexerPostScript* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerPostScript_metaObject(const QsciLexerPostScript* self); void* QsciLexerPostScript_metacast(QsciLexerPostScript* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerpov.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerpov.cpp index ba6c8f703..86f08c6e7 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerpov.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerpov.cpp @@ -69,6 +69,7 @@ void miqt_exec_callback_QsciLexerPOV_disconnectNotify(QsciLexerPOV*, intptr_t, Q class MiqtVirtualQsciLexerPOV final : public QsciLexerPOV { public: + MiqtVirtualQsciLexerPOV(): QsciLexerPOV() {} MiqtVirtualQsciLexerPOV(): QsciLexerPOV() {} MiqtVirtualQsciLexerPOV(QObject* parent): QsciLexerPOV(parent) {} @@ -832,7 +833,11 @@ QsciLexerPOV* QsciLexerPOV_new() { return new (std::nothrow) MiqtVirtualQsciLexerPOV(); } -QsciLexerPOV* QsciLexerPOV_new2(QObject* parent) { +QsciLexerPOV* QsciLexerPOV_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerPOV(); +} + +QsciLexerPOV* QsciLexerPOV_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerPOV(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerpov.go b/qt-restricted-extras/qscintilla/gen_qscilexerpov.go index 9289b3414..f13d71e8b 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerpov.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexerpov.go @@ -80,9 +80,15 @@ func NewQsciLexerPOV() *QsciLexerPOV { } // NewQsciLexerPOV2 constructs a new QsciLexerPOV object. -func NewQsciLexerPOV2(parent *qt.QObject) *QsciLexerPOV { +func NewQsciLexerPOV2() *QsciLexerPOV { - return newQsciLexerPOV(C.QsciLexerPOV_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerPOV(C.QsciLexerPOV_new2()) +} + +// NewQsciLexerPOV3 constructs a new QsciLexerPOV object. +func NewQsciLexerPOV3(parent *qt.QObject) *QsciLexerPOV { + + return newQsciLexerPOV(C.QsciLexerPOV_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerPOV) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerpov.h b/qt-restricted-extras/qscintilla/gen_qscilexerpov.h index 35d77d5ae..1200f6808 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerpov.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexerpov.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerPOV* QsciLexerPOV_new(); -QsciLexerPOV* QsciLexerPOV_new2(QObject* parent); +QsciLexerPOV* QsciLexerPOV_new2(); +QsciLexerPOV* QsciLexerPOV_new3(QObject* parent); void QsciLexerPOV_virtbase(QsciLexerPOV* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerPOV_metaObject(const QsciLexerPOV* self); void* QsciLexerPOV_metacast(QsciLexerPOV* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerproperties.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerproperties.cpp index 903018a93..038a03cdc 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerproperties.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerproperties.cpp @@ -67,6 +67,7 @@ void miqt_exec_callback_QsciLexerProperties_disconnectNotify(QsciLexerProperties class MiqtVirtualQsciLexerProperties final : public QsciLexerProperties { public: + MiqtVirtualQsciLexerProperties(): QsciLexerProperties() {} MiqtVirtualQsciLexerProperties(): QsciLexerProperties() {} MiqtVirtualQsciLexerProperties(QObject* parent): QsciLexerProperties(parent) {} @@ -796,7 +797,11 @@ QsciLexerProperties* QsciLexerProperties_new() { return new (std::nothrow) MiqtVirtualQsciLexerProperties(); } -QsciLexerProperties* QsciLexerProperties_new2(QObject* parent) { +QsciLexerProperties* QsciLexerProperties_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerProperties(); +} + +QsciLexerProperties* QsciLexerProperties_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerProperties(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerproperties.go b/qt-restricted-extras/qscintilla/gen_qscilexerproperties.go index b98469d1a..0dddb6b4a 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerproperties.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexerproperties.go @@ -69,9 +69,15 @@ func NewQsciLexerProperties() *QsciLexerProperties { } // NewQsciLexerProperties2 constructs a new QsciLexerProperties object. -func NewQsciLexerProperties2(parent *qt.QObject) *QsciLexerProperties { +func NewQsciLexerProperties2() *QsciLexerProperties { - return newQsciLexerProperties(C.QsciLexerProperties_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerProperties(C.QsciLexerProperties_new2()) +} + +// NewQsciLexerProperties3 constructs a new QsciLexerProperties object. +func NewQsciLexerProperties3(parent *qt.QObject) *QsciLexerProperties { + + return newQsciLexerProperties(C.QsciLexerProperties_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerProperties) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerproperties.h b/qt-restricted-extras/qscintilla/gen_qscilexerproperties.h index 6db53d4ca..ed56fd298 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerproperties.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexerproperties.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerProperties* QsciLexerProperties_new(); -QsciLexerProperties* QsciLexerProperties_new2(QObject* parent); +QsciLexerProperties* QsciLexerProperties_new2(); +QsciLexerProperties* QsciLexerProperties_new3(QObject* parent); void QsciLexerProperties_virtbase(QsciLexerProperties* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerProperties_metaObject(const QsciLexerProperties* self); void* QsciLexerProperties_metacast(QsciLexerProperties* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerpython.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerpython.cpp index 90af7517d..e6fc9938e 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerpython.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerpython.cpp @@ -69,6 +69,7 @@ void miqt_exec_callback_QsciLexerPython_disconnectNotify(QsciLexerPython*, intpt class MiqtVirtualQsciLexerPython final : public QsciLexerPython { public: + MiqtVirtualQsciLexerPython(): QsciLexerPython() {} MiqtVirtualQsciLexerPython(): QsciLexerPython() {} MiqtVirtualQsciLexerPython(QObject* parent): QsciLexerPython(parent) {} @@ -833,7 +834,11 @@ QsciLexerPython* QsciLexerPython_new() { return new (std::nothrow) MiqtVirtualQsciLexerPython(); } -QsciLexerPython* QsciLexerPython_new2(QObject* parent) { +QsciLexerPython* QsciLexerPython_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerPython(); +} + +QsciLexerPython* QsciLexerPython_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerPython(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerpython.go b/qt-restricted-extras/qscintilla/gen_qscilexerpython.go index 7542cd499..0095b848f 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerpython.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexerpython.go @@ -93,9 +93,15 @@ func NewQsciLexerPython() *QsciLexerPython { } // NewQsciLexerPython2 constructs a new QsciLexerPython object. -func NewQsciLexerPython2(parent *qt.QObject) *QsciLexerPython { +func NewQsciLexerPython2() *QsciLexerPython { - return newQsciLexerPython(C.QsciLexerPython_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerPython(C.QsciLexerPython_new2()) +} + +// NewQsciLexerPython3 constructs a new QsciLexerPython object. +func NewQsciLexerPython3(parent *qt.QObject) *QsciLexerPython { + + return newQsciLexerPython(C.QsciLexerPython_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerPython) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerpython.h b/qt-restricted-extras/qscintilla/gen_qscilexerpython.h index 6f4dcf86b..c874132f4 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerpython.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexerpython.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerPython* QsciLexerPython_new(); -QsciLexerPython* QsciLexerPython_new2(QObject* parent); +QsciLexerPython* QsciLexerPython_new2(); +QsciLexerPython* QsciLexerPython_new3(QObject* parent); void QsciLexerPython_virtbase(QsciLexerPython* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerPython_metaObject(const QsciLexerPython* self); void* QsciLexerPython_metacast(QsciLexerPython* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerruby.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerruby.cpp index 6a85e68fc..58e0b177b 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerruby.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerruby.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerRuby_disconnectNotify(QsciLexerRuby*, intptr_t, class MiqtVirtualQsciLexerRuby final : public QsciLexerRuby { public: + MiqtVirtualQsciLexerRuby(): QsciLexerRuby() {} MiqtVirtualQsciLexerRuby(): QsciLexerRuby() {} MiqtVirtualQsciLexerRuby(QObject* parent): QsciLexerRuby(parent) {} @@ -778,7 +779,11 @@ QsciLexerRuby* QsciLexerRuby_new() { return new (std::nothrow) MiqtVirtualQsciLexerRuby(); } -QsciLexerRuby* QsciLexerRuby_new2(QObject* parent) { +QsciLexerRuby* QsciLexerRuby_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerRuby(); +} + +QsciLexerRuby* QsciLexerRuby_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerRuby(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerruby.go b/qt-restricted-extras/qscintilla/gen_qscilexerruby.go index 83a540208..e02672ddf 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerruby.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexerruby.go @@ -94,9 +94,15 @@ func NewQsciLexerRuby() *QsciLexerRuby { } // NewQsciLexerRuby2 constructs a new QsciLexerRuby object. -func NewQsciLexerRuby2(parent *qt.QObject) *QsciLexerRuby { +func NewQsciLexerRuby2() *QsciLexerRuby { - return newQsciLexerRuby(C.QsciLexerRuby_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerRuby(C.QsciLexerRuby_new2()) +} + +// NewQsciLexerRuby3 constructs a new QsciLexerRuby object. +func NewQsciLexerRuby3(parent *qt.QObject) *QsciLexerRuby { + + return newQsciLexerRuby(C.QsciLexerRuby_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerRuby) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerruby.h b/qt-restricted-extras/qscintilla/gen_qscilexerruby.h index 8cb46ccae..511d425a6 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerruby.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexerruby.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerRuby* QsciLexerRuby_new(); -QsciLexerRuby* QsciLexerRuby_new2(QObject* parent); +QsciLexerRuby* QsciLexerRuby_new2(); +QsciLexerRuby* QsciLexerRuby_new3(QObject* parent); void QsciLexerRuby_virtbase(QsciLexerRuby* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerRuby_metaObject(const QsciLexerRuby* self); void* QsciLexerRuby_metacast(QsciLexerRuby* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerspice.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerspice.cpp index 21fc2f1bc..8dbc763c2 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerspice.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerspice.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerSpice_disconnectNotify(QsciLexerSpice*, intptr_ class MiqtVirtualQsciLexerSpice final : public QsciLexerSpice { public: + MiqtVirtualQsciLexerSpice(): QsciLexerSpice() {} MiqtVirtualQsciLexerSpice(): QsciLexerSpice() {} MiqtVirtualQsciLexerSpice(QObject* parent): QsciLexerSpice(parent) {} @@ -776,7 +777,11 @@ QsciLexerSpice* QsciLexerSpice_new() { return new (std::nothrow) MiqtVirtualQsciLexerSpice(); } -QsciLexerSpice* QsciLexerSpice_new2(QObject* parent) { +QsciLexerSpice* QsciLexerSpice_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerSpice(); +} + +QsciLexerSpice* QsciLexerSpice_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerSpice(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerspice.go b/qt-restricted-extras/qscintilla/gen_qscilexerspice.go index 576b6b6c4..6971ea251 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerspice.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexerspice.go @@ -72,9 +72,15 @@ func NewQsciLexerSpice() *QsciLexerSpice { } // NewQsciLexerSpice2 constructs a new QsciLexerSpice object. -func NewQsciLexerSpice2(parent *qt.QObject) *QsciLexerSpice { +func NewQsciLexerSpice2() *QsciLexerSpice { - return newQsciLexerSpice(C.QsciLexerSpice_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerSpice(C.QsciLexerSpice_new2()) +} + +// NewQsciLexerSpice3 constructs a new QsciLexerSpice object. +func NewQsciLexerSpice3(parent *qt.QObject) *QsciLexerSpice { + + return newQsciLexerSpice(C.QsciLexerSpice_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerSpice) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerspice.h b/qt-restricted-extras/qscintilla/gen_qscilexerspice.h index 838a5979a..8027b5979 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerspice.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexerspice.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerSpice* QsciLexerSpice_new(); -QsciLexerSpice* QsciLexerSpice_new2(QObject* parent); +QsciLexerSpice* QsciLexerSpice_new2(); +QsciLexerSpice* QsciLexerSpice_new3(QObject* parent); void QsciLexerSpice_virtbase(QsciLexerSpice* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerSpice_metaObject(const QsciLexerSpice* self); void* QsciLexerSpice_metacast(QsciLexerSpice* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexersql.cpp b/qt-restricted-extras/qscintilla/gen_qscilexersql.cpp index fdc77d8b2..a27347b5f 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexersql.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexersql.cpp @@ -69,6 +69,7 @@ void miqt_exec_callback_QsciLexerSQL_disconnectNotify(QsciLexerSQL*, intptr_t, Q class MiqtVirtualQsciLexerSQL final : public QsciLexerSQL { public: + MiqtVirtualQsciLexerSQL(): QsciLexerSQL() {} MiqtVirtualQsciLexerSQL(): QsciLexerSQL() {} MiqtVirtualQsciLexerSQL(QObject* parent): QsciLexerSQL(parent) {} @@ -832,7 +833,11 @@ QsciLexerSQL* QsciLexerSQL_new() { return new (std::nothrow) MiqtVirtualQsciLexerSQL(); } -QsciLexerSQL* QsciLexerSQL_new2(QObject* parent) { +QsciLexerSQL* QsciLexerSQL_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerSQL(); +} + +QsciLexerSQL* QsciLexerSQL_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerSQL(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexersql.go b/qt-restricted-extras/qscintilla/gen_qscilexersql.go index 55d2aead1..71b815ef3 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexersql.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexersql.go @@ -85,9 +85,15 @@ func NewQsciLexerSQL() *QsciLexerSQL { } // NewQsciLexerSQL2 constructs a new QsciLexerSQL object. -func NewQsciLexerSQL2(parent *qt.QObject) *QsciLexerSQL { +func NewQsciLexerSQL2() *QsciLexerSQL { - return newQsciLexerSQL(C.QsciLexerSQL_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerSQL(C.QsciLexerSQL_new2()) +} + +// NewQsciLexerSQL3 constructs a new QsciLexerSQL object. +func NewQsciLexerSQL3(parent *qt.QObject) *QsciLexerSQL { + + return newQsciLexerSQL(C.QsciLexerSQL_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerSQL) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexersql.h b/qt-restricted-extras/qscintilla/gen_qscilexersql.h index 23448aba5..b26d00f2d 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexersql.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexersql.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerSQL* QsciLexerSQL_new(); -QsciLexerSQL* QsciLexerSQL_new2(QObject* parent); +QsciLexerSQL* QsciLexerSQL_new2(); +QsciLexerSQL* QsciLexerSQL_new3(QObject* parent); void QsciLexerSQL_virtbase(QsciLexerSQL* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerSQL_metaObject(const QsciLexerSQL* self); void* QsciLexerSQL_metacast(QsciLexerSQL* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexertcl.cpp b/qt-restricted-extras/qscintilla/gen_qscilexertcl.cpp index d81c69444..3edff9d6f 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexertcl.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexertcl.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerTCL_disconnectNotify(QsciLexerTCL*, intptr_t, Q class MiqtVirtualQsciLexerTCL final : public QsciLexerTCL { public: + MiqtVirtualQsciLexerTCL(): QsciLexerTCL() {} MiqtVirtualQsciLexerTCL(): QsciLexerTCL() {} MiqtVirtualQsciLexerTCL(QObject* parent): QsciLexerTCL(parent) {} @@ -778,7 +779,11 @@ QsciLexerTCL* QsciLexerTCL_new() { return new (std::nothrow) MiqtVirtualQsciLexerTCL(); } -QsciLexerTCL* QsciLexerTCL_new2(QObject* parent) { +QsciLexerTCL* QsciLexerTCL_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerTCL(); +} + +QsciLexerTCL* QsciLexerTCL_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerTCL(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexertcl.go b/qt-restricted-extras/qscintilla/gen_qscilexertcl.go index 30914544b..f57bd90a8 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexertcl.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexertcl.go @@ -85,9 +85,15 @@ func NewQsciLexerTCL() *QsciLexerTCL { } // NewQsciLexerTCL2 constructs a new QsciLexerTCL object. -func NewQsciLexerTCL2(parent *qt.QObject) *QsciLexerTCL { +func NewQsciLexerTCL2() *QsciLexerTCL { - return newQsciLexerTCL(C.QsciLexerTCL_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerTCL(C.QsciLexerTCL_new2()) +} + +// NewQsciLexerTCL3 constructs a new QsciLexerTCL object. +func NewQsciLexerTCL3(parent *qt.QObject) *QsciLexerTCL { + + return newQsciLexerTCL(C.QsciLexerTCL_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerTCL) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexertcl.h b/qt-restricted-extras/qscintilla/gen_qscilexertcl.h index 5b27f818a..c655f1118 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexertcl.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexertcl.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerTCL* QsciLexerTCL_new(); -QsciLexerTCL* QsciLexerTCL_new2(QObject* parent); +QsciLexerTCL* QsciLexerTCL_new2(); +QsciLexerTCL* QsciLexerTCL_new3(QObject* parent); void QsciLexerTCL_virtbase(QsciLexerTCL* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerTCL_metaObject(const QsciLexerTCL* self); void* QsciLexerTCL_metacast(QsciLexerTCL* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexertex.cpp b/qt-restricted-extras/qscintilla/gen_qscilexertex.cpp index 121857a26..ac1122d37 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexertex.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexertex.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerTeX_disconnectNotify(QsciLexerTeX*, intptr_t, Q class MiqtVirtualQsciLexerTeX final : public QsciLexerTeX { public: + MiqtVirtualQsciLexerTeX(): QsciLexerTeX() {} MiqtVirtualQsciLexerTeX(): QsciLexerTeX() {} MiqtVirtualQsciLexerTeX(QObject* parent): QsciLexerTeX(parent) {} @@ -778,7 +779,11 @@ QsciLexerTeX* QsciLexerTeX_new() { return new (std::nothrow) MiqtVirtualQsciLexerTeX(); } -QsciLexerTeX* QsciLexerTeX_new2(QObject* parent) { +QsciLexerTeX* QsciLexerTeX_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerTeX(); +} + +QsciLexerTeX* QsciLexerTeX_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerTeX(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexertex.go b/qt-restricted-extras/qscintilla/gen_qscilexertex.go index c6336a943..ebbb126f4 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexertex.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexertex.go @@ -69,9 +69,15 @@ func NewQsciLexerTeX() *QsciLexerTeX { } // NewQsciLexerTeX2 constructs a new QsciLexerTeX object. -func NewQsciLexerTeX2(parent *qt.QObject) *QsciLexerTeX { +func NewQsciLexerTeX2() *QsciLexerTeX { - return newQsciLexerTeX(C.QsciLexerTeX_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerTeX(C.QsciLexerTeX_new2()) +} + +// NewQsciLexerTeX3 constructs a new QsciLexerTeX object. +func NewQsciLexerTeX3(parent *qt.QObject) *QsciLexerTeX { + + return newQsciLexerTeX(C.QsciLexerTeX_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerTeX) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexertex.h b/qt-restricted-extras/qscintilla/gen_qscilexertex.h index 344066c2f..db12794b3 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexertex.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexertex.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerTeX* QsciLexerTeX_new(); -QsciLexerTeX* QsciLexerTeX_new2(QObject* parent); +QsciLexerTeX* QsciLexerTeX_new2(); +QsciLexerTeX* QsciLexerTeX_new3(QObject* parent); void QsciLexerTeX_virtbase(QsciLexerTeX* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerTeX_metaObject(const QsciLexerTeX* self); void* QsciLexerTeX_metacast(QsciLexerTeX* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerverilog.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerverilog.cpp index 874e845d3..73fe536eb 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerverilog.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerverilog.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerVerilog_disconnectNotify(QsciLexerVerilog*, int class MiqtVirtualQsciLexerVerilog final : public QsciLexerVerilog { public: + MiqtVirtualQsciLexerVerilog(): QsciLexerVerilog() {} MiqtVirtualQsciLexerVerilog(): QsciLexerVerilog() {} MiqtVirtualQsciLexerVerilog(QObject* parent): QsciLexerVerilog(parent) {} @@ -778,7 +779,11 @@ QsciLexerVerilog* QsciLexerVerilog_new() { return new (std::nothrow) MiqtVirtualQsciLexerVerilog(); } -QsciLexerVerilog* QsciLexerVerilog_new2(QObject* parent) { +QsciLexerVerilog* QsciLexerVerilog_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerVerilog(); +} + +QsciLexerVerilog* QsciLexerVerilog_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerVerilog(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerverilog.go b/qt-restricted-extras/qscintilla/gen_qscilexerverilog.go index 8d5b5a050..436c70ebd 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerverilog.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexerverilog.go @@ -101,9 +101,15 @@ func NewQsciLexerVerilog() *QsciLexerVerilog { } // NewQsciLexerVerilog2 constructs a new QsciLexerVerilog object. -func NewQsciLexerVerilog2(parent *qt.QObject) *QsciLexerVerilog { +func NewQsciLexerVerilog2() *QsciLexerVerilog { - return newQsciLexerVerilog(C.QsciLexerVerilog_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerVerilog(C.QsciLexerVerilog_new2()) +} + +// NewQsciLexerVerilog3 constructs a new QsciLexerVerilog object. +func NewQsciLexerVerilog3(parent *qt.QObject) *QsciLexerVerilog { + + return newQsciLexerVerilog(C.QsciLexerVerilog_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerVerilog) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerverilog.h b/qt-restricted-extras/qscintilla/gen_qscilexerverilog.h index ac490b114..36af87f1f 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerverilog.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexerverilog.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerVerilog* QsciLexerVerilog_new(); -QsciLexerVerilog* QsciLexerVerilog_new2(QObject* parent); +QsciLexerVerilog* QsciLexerVerilog_new2(); +QsciLexerVerilog* QsciLexerVerilog_new3(QObject* parent); void QsciLexerVerilog_virtbase(QsciLexerVerilog* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerVerilog_metaObject(const QsciLexerVerilog* self); void* QsciLexerVerilog_metacast(QsciLexerVerilog* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexervhdl.cpp b/qt-restricted-extras/qscintilla/gen_qscilexervhdl.cpp index 13a25be0e..6466a58be 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexervhdl.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexervhdl.cpp @@ -71,6 +71,7 @@ void miqt_exec_callback_QsciLexerVHDL_disconnectNotify(QsciLexerVHDL*, intptr_t, class MiqtVirtualQsciLexerVHDL final : public QsciLexerVHDL { public: + MiqtVirtualQsciLexerVHDL(): QsciLexerVHDL() {} MiqtVirtualQsciLexerVHDL(): QsciLexerVHDL() {} MiqtVirtualQsciLexerVHDL(QObject* parent): QsciLexerVHDL(parent) {} @@ -868,7 +869,11 @@ QsciLexerVHDL* QsciLexerVHDL_new() { return new (std::nothrow) MiqtVirtualQsciLexerVHDL(); } -QsciLexerVHDL* QsciLexerVHDL_new2(QObject* parent) { +QsciLexerVHDL* QsciLexerVHDL_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerVHDL(); +} + +QsciLexerVHDL* QsciLexerVHDL_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerVHDL(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexervhdl.go b/qt-restricted-extras/qscintilla/gen_qscilexervhdl.go index c789f8aaa..1d1b4e176 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexervhdl.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexervhdl.go @@ -79,9 +79,15 @@ func NewQsciLexerVHDL() *QsciLexerVHDL { } // NewQsciLexerVHDL2 constructs a new QsciLexerVHDL object. -func NewQsciLexerVHDL2(parent *qt.QObject) *QsciLexerVHDL { +func NewQsciLexerVHDL2() *QsciLexerVHDL { - return newQsciLexerVHDL(C.QsciLexerVHDL_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerVHDL(C.QsciLexerVHDL_new2()) +} + +// NewQsciLexerVHDL3 constructs a new QsciLexerVHDL object. +func NewQsciLexerVHDL3(parent *qt.QObject) *QsciLexerVHDL { + + return newQsciLexerVHDL(C.QsciLexerVHDL_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerVHDL) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexervhdl.h b/qt-restricted-extras/qscintilla/gen_qscilexervhdl.h index 4615940d7..fac9e6f73 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexervhdl.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexervhdl.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerVHDL* QsciLexerVHDL_new(); -QsciLexerVHDL* QsciLexerVHDL_new2(QObject* parent); +QsciLexerVHDL* QsciLexerVHDL_new2(); +QsciLexerVHDL* QsciLexerVHDL_new3(QObject* parent); void QsciLexerVHDL_virtbase(QsciLexerVHDL* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerVHDL_metaObject(const QsciLexerVHDL* self); void* QsciLexerVHDL_metacast(QsciLexerVHDL* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerxml.cpp b/qt-restricted-extras/qscintilla/gen_qscilexerxml.cpp index 386c6c09c..b830d22bf 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerxml.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexerxml.cpp @@ -69,6 +69,7 @@ void miqt_exec_callback_QsciLexerXML_disconnectNotify(QsciLexerXML*, intptr_t, Q class MiqtVirtualQsciLexerXML final : public QsciLexerXML { public: + MiqtVirtualQsciLexerXML(): QsciLexerXML() {} MiqtVirtualQsciLexerXML(): QsciLexerXML() {} MiqtVirtualQsciLexerXML(QObject* parent): QsciLexerXML(parent) {} @@ -832,7 +833,11 @@ QsciLexerXML* QsciLexerXML_new() { return new (std::nothrow) MiqtVirtualQsciLexerXML(); } -QsciLexerXML* QsciLexerXML_new2(QObject* parent) { +QsciLexerXML* QsciLexerXML_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerXML(); +} + +QsciLexerXML* QsciLexerXML_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerXML(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerxml.go b/qt-restricted-extras/qscintilla/gen_qscilexerxml.go index 6ce089ace..016a8144a 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerxml.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexerxml.go @@ -58,9 +58,15 @@ func NewQsciLexerXML() *QsciLexerXML { } // NewQsciLexerXML2 constructs a new QsciLexerXML object. -func NewQsciLexerXML2(parent *qt.QObject) *QsciLexerXML { +func NewQsciLexerXML2() *QsciLexerXML { - return newQsciLexerXML(C.QsciLexerXML_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerXML(C.QsciLexerXML_new2()) +} + +// NewQsciLexerXML3 constructs a new QsciLexerXML object. +func NewQsciLexerXML3(parent *qt.QObject) *QsciLexerXML { + + return newQsciLexerXML(C.QsciLexerXML_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerXML) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexerxml.h b/qt-restricted-extras/qscintilla/gen_qscilexerxml.h index 9ea502147..61e661f16 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexerxml.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexerxml.h @@ -45,7 +45,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerXML* QsciLexerXML_new(); -QsciLexerXML* QsciLexerXML_new2(QObject* parent); +QsciLexerXML* QsciLexerXML_new2(); +QsciLexerXML* QsciLexerXML_new3(QObject* parent); void QsciLexerXML_virtbase(QsciLexerXML* src, QsciLexerHTML** outptr_QsciLexerHTML); QMetaObject* QsciLexerXML_metaObject(const QsciLexerXML* self); void* QsciLexerXML_metacast(QsciLexerXML* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscilexeryaml.cpp b/qt-restricted-extras/qscintilla/gen_qscilexeryaml.cpp index 965ac77aa..7b974db84 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexeryaml.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscilexeryaml.cpp @@ -67,6 +67,7 @@ void miqt_exec_callback_QsciLexerYAML_disconnectNotify(QsciLexerYAML*, intptr_t, class MiqtVirtualQsciLexerYAML final : public QsciLexerYAML { public: + MiqtVirtualQsciLexerYAML(): QsciLexerYAML() {} MiqtVirtualQsciLexerYAML(): QsciLexerYAML() {} MiqtVirtualQsciLexerYAML(QObject* parent): QsciLexerYAML(parent) {} @@ -796,7 +797,11 @@ QsciLexerYAML* QsciLexerYAML_new() { return new (std::nothrow) MiqtVirtualQsciLexerYAML(); } -QsciLexerYAML* QsciLexerYAML_new2(QObject* parent) { +QsciLexerYAML* QsciLexerYAML_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerYAML(); +} + +QsciLexerYAML* QsciLexerYAML_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerYAML(parent); } diff --git a/qt-restricted-extras/qscintilla/gen_qscilexeryaml.go b/qt-restricted-extras/qscintilla/gen_qscilexeryaml.go index 62f52955f..7b6d98bda 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexeryaml.go +++ b/qt-restricted-extras/qscintilla/gen_qscilexeryaml.go @@ -73,9 +73,15 @@ func NewQsciLexerYAML() *QsciLexerYAML { } // NewQsciLexerYAML2 constructs a new QsciLexerYAML object. -func NewQsciLexerYAML2(parent *qt.QObject) *QsciLexerYAML { +func NewQsciLexerYAML2() *QsciLexerYAML { - return newQsciLexerYAML(C.QsciLexerYAML_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerYAML(C.QsciLexerYAML_new2()) +} + +// NewQsciLexerYAML3 constructs a new QsciLexerYAML object. +func NewQsciLexerYAML3(parent *qt.QObject) *QsciLexerYAML { + + return newQsciLexerYAML(C.QsciLexerYAML_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerYAML) MetaObject() *qt.QMetaObject { diff --git a/qt-restricted-extras/qscintilla/gen_qscilexeryaml.h b/qt-restricted-extras/qscintilla/gen_qscilexeryaml.h index 816cf07ea..a35e8aab0 100644 --- a/qt-restricted-extras/qscintilla/gen_qscilexeryaml.h +++ b/qt-restricted-extras/qscintilla/gen_qscilexeryaml.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerYAML* QsciLexerYAML_new(); -QsciLexerYAML* QsciLexerYAML_new2(QObject* parent); +QsciLexerYAML* QsciLexerYAML_new2(); +QsciLexerYAML* QsciLexerYAML_new3(QObject* parent); void QsciLexerYAML_virtbase(QsciLexerYAML* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerYAML_metaObject(const QsciLexerYAML* self); void* QsciLexerYAML_metacast(QsciLexerYAML* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qsciprinter.cpp b/qt-restricted-extras/qscintilla/gen_qsciprinter.cpp index ab6f36192..3363ce114 100644 --- a/qt-restricted-extras/qscintilla/gen_qsciprinter.cpp +++ b/qt-restricted-extras/qscintilla/gen_qsciprinter.cpp @@ -38,6 +38,7 @@ QPainter* miqt_exec_callback_QsciPrinter_sharedPainter(const QsciPrinter*, intpt class MiqtVirtualQsciPrinter final : public QsciPrinter { public: + MiqtVirtualQsciPrinter(): QsciPrinter() {} MiqtVirtualQsciPrinter(): QsciPrinter() {} MiqtVirtualQsciPrinter(QPrinter::PrinterMode mode): QsciPrinter(mode) {} @@ -316,7 +317,11 @@ QsciPrinter* QsciPrinter_new() { return new (std::nothrow) MiqtVirtualQsciPrinter(); } -QsciPrinter* QsciPrinter_new2(int mode) { +QsciPrinter* QsciPrinter_new2() { + return new (std::nothrow) MiqtVirtualQsciPrinter(); +} + +QsciPrinter* QsciPrinter_new3(int mode) { return new (std::nothrow) MiqtVirtualQsciPrinter(static_cast(mode)); } diff --git a/qt-restricted-extras/qscintilla/gen_qsciprinter.go b/qt-restricted-extras/qscintilla/gen_qsciprinter.go index a55e61bb2..cf0d574d3 100644 --- a/qt-restricted-extras/qscintilla/gen_qsciprinter.go +++ b/qt-restricted-extras/qscintilla/gen_qsciprinter.go @@ -59,9 +59,15 @@ func NewQsciPrinter() *QsciPrinter { } // NewQsciPrinter2 constructs a new QsciPrinter object. -func NewQsciPrinter2(mode printsupport.QPrinter__PrinterMode) *QsciPrinter { +func NewQsciPrinter2() *QsciPrinter { - return newQsciPrinter(C.QsciPrinter_new2((C.int)(mode))) + return newQsciPrinter(C.QsciPrinter_new2()) +} + +// NewQsciPrinter3 constructs a new QsciPrinter object. +func NewQsciPrinter3(mode printsupport.QPrinter__PrinterMode) *QsciPrinter { + + return newQsciPrinter(C.QsciPrinter_new3((C.int)(mode))) } func (this *QsciPrinter) FormatPage(painter *qt.QPainter, drawing bool, area *qt.QRect, pagenr int) { diff --git a/qt-restricted-extras/qscintilla/gen_qsciprinter.h b/qt-restricted-extras/qscintilla/gen_qsciprinter.h index 8a13cabbf..4638f9fcf 100644 --- a/qt-restricted-extras/qscintilla/gen_qsciprinter.h +++ b/qt-restricted-extras/qscintilla/gen_qsciprinter.h @@ -49,7 +49,8 @@ typedef struct QsciScintillaBase QsciScintillaBase; #endif QsciPrinter* QsciPrinter_new(); -QsciPrinter* QsciPrinter_new2(int mode); +QsciPrinter* QsciPrinter_new2(); +QsciPrinter* QsciPrinter_new3(int mode); void QsciPrinter_virtbase(QsciPrinter* src, QPrinter** outptr_QPrinter); void QsciPrinter_formatPage(QsciPrinter* self, QPainter* painter, bool drawing, QRect* area, int pagenr); int QsciPrinter_magnification(const QsciPrinter* self); diff --git a/qt-restricted-extras/qscintilla/gen_qsciscintilla.cpp b/qt-restricted-extras/qscintilla/gen_qsciscintilla.cpp index 45d2d342c..9200e7865 100644 --- a/qt-restricted-extras/qscintilla/gen_qsciscintilla.cpp +++ b/qt-restricted-extras/qscintilla/gen_qsciscintilla.cpp @@ -210,6 +210,7 @@ class MiqtVirtualQsciScintilla final : public QsciScintilla { MiqtVirtualQsciScintilla(QWidget* parent): QsciScintilla(parent) {} MiqtVirtualQsciScintilla(): QsciScintilla() {} + MiqtVirtualQsciScintilla(): QsciScintilla() {} virtual ~MiqtVirtualQsciScintilla() override = default; @@ -2676,6 +2677,10 @@ QsciScintilla* QsciScintilla_new2() { return new (std::nothrow) MiqtVirtualQsciScintilla(); } +QsciScintilla* QsciScintilla_new3() { + return new (std::nothrow) MiqtVirtualQsciScintilla(); +} + void QsciScintilla_virtbase(QsciScintilla* src, QsciScintillaBase** outptr_QsciScintillaBase) { *outptr_QsciScintillaBase = static_cast(src); } diff --git a/qt-restricted-extras/qscintilla/gen_qsciscintilla.go b/qt-restricted-extras/qscintilla/gen_qsciscintilla.go index f5858c8f8..2958dd00d 100644 --- a/qt-restricted-extras/qscintilla/gen_qsciscintilla.go +++ b/qt-restricted-extras/qscintilla/gen_qsciscintilla.go @@ -267,6 +267,12 @@ func NewQsciScintilla2() *QsciScintilla { return newQsciScintilla(C.QsciScintilla_new2()) } +// NewQsciScintilla3 constructs a new QsciScintilla object. +func NewQsciScintilla3() *QsciScintilla { + + return newQsciScintilla(C.QsciScintilla_new3()) +} + func (this *QsciScintilla) MetaObject() *qt.QMetaObject { return qt.UnsafeNewQMetaObject(unsafe.Pointer(C.QsciScintilla_metaObject(this.h))) } diff --git a/qt-restricted-extras/qscintilla/gen_qsciscintilla.h b/qt-restricted-extras/qscintilla/gen_qsciscintilla.h index cc5b09755..ec9277131 100644 --- a/qt-restricted-extras/qscintilla/gen_qsciscintilla.h +++ b/qt-restricted-extras/qscintilla/gen_qsciscintilla.h @@ -118,6 +118,7 @@ typedef struct QsciStyledText QsciStyledText; QsciScintilla* QsciScintilla_new(QWidget* parent); QsciScintilla* QsciScintilla_new2(); +QsciScintilla* QsciScintilla_new3(); void QsciScintilla_virtbase(QsciScintilla* src, QsciScintillaBase** outptr_QsciScintillaBase); QMetaObject* QsciScintilla_metaObject(const QsciScintilla* self); void* QsciScintilla_metacast(QsciScintilla* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qsciscintillabase.cpp b/qt-restricted-extras/qscintilla/gen_qsciscintillabase.cpp index 47b56f14a..d2fe31131 100644 --- a/qt-restricted-extras/qscintilla/gen_qsciscintillabase.cpp +++ b/qt-restricted-extras/qscintilla/gen_qsciscintillabase.cpp @@ -150,6 +150,7 @@ class MiqtVirtualQsciScintillaBase final : public QsciScintillaBase { MiqtVirtualQsciScintillaBase(QWidget* parent): QsciScintillaBase(parent) {} MiqtVirtualQsciScintillaBase(): QsciScintillaBase() {} + MiqtVirtualQsciScintillaBase(): QsciScintillaBase() {} virtual ~MiqtVirtualQsciScintillaBase() override = default; @@ -1096,6 +1097,10 @@ QsciScintillaBase* QsciScintillaBase_new2() { return new (std::nothrow) MiqtVirtualQsciScintillaBase(); } +QsciScintillaBase* QsciScintillaBase_new3() { + return new (std::nothrow) MiqtVirtualQsciScintillaBase(); +} + void QsciScintillaBase_virtbase(QsciScintillaBase* src, QAbstractScrollArea** outptr_QAbstractScrollArea) { *outptr_QAbstractScrollArea = static_cast(src); } diff --git a/qt-restricted-extras/qscintilla/gen_qsciscintillabase.go b/qt-restricted-extras/qscintilla/gen_qsciscintillabase.go index 0fe593849..be6f42156 100644 --- a/qt-restricted-extras/qscintilla/gen_qsciscintillabase.go +++ b/qt-restricted-extras/qscintilla/gen_qsciscintillabase.go @@ -1233,6 +1233,12 @@ func NewQsciScintillaBase2() *QsciScintillaBase { return newQsciScintillaBase(C.QsciScintillaBase_new2()) } +// NewQsciScintillaBase3 constructs a new QsciScintillaBase object. +func NewQsciScintillaBase3() *QsciScintillaBase { + + return newQsciScintillaBase(C.QsciScintillaBase_new3()) +} + func (this *QsciScintillaBase) MetaObject() *qt.QMetaObject { return qt.UnsafeNewQMetaObject(unsafe.Pointer(C.QsciScintillaBase_metaObject(this.h))) } diff --git a/qt-restricted-extras/qscintilla/gen_qsciscintillabase.h b/qt-restricted-extras/qscintilla/gen_qsciscintillabase.h index 7e537895a..2af42d3a3 100644 --- a/qt-restricted-extras/qscintilla/gen_qsciscintillabase.h +++ b/qt-restricted-extras/qscintilla/gen_qsciscintillabase.h @@ -106,6 +106,7 @@ typedef struct QsciScintillaBase QsciScintillaBase; QsciScintillaBase* QsciScintillaBase_new(QWidget* parent); QsciScintillaBase* QsciScintillaBase_new2(); +QsciScintillaBase* QsciScintillaBase_new3(); void QsciScintillaBase_virtbase(QsciScintillaBase* src, QAbstractScrollArea** outptr_QAbstractScrollArea); QMetaObject* QsciScintillaBase_metaObject(const QsciScintillaBase* self); void* QsciScintillaBase_metacast(QsciScintillaBase* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla/gen_qscistyle.cpp b/qt-restricted-extras/qscintilla/gen_qscistyle.cpp index e0ddc8dfb..b791c02e8 100644 --- a/qt-restricted-extras/qscintilla/gen_qscistyle.cpp +++ b/qt-restricted-extras/qscintilla/gen_qscistyle.cpp @@ -27,11 +27,15 @@ QsciStyle* QsciStyle_new3(QsciStyle* param1) { return new (std::nothrow) QsciStyle(*param1); } -QsciStyle* QsciStyle_new4(int style) { +QsciStyle* QsciStyle_new4() { + return new (std::nothrow) QsciStyle(); +} + +QsciStyle* QsciStyle_new5(int style) { return new (std::nothrow) QsciStyle(static_cast(style)); } -QsciStyle* QsciStyle_new5(int style, struct miqt_string description, QColor* color, QColor* paper, QFont* font, bool eolFill) { +QsciStyle* QsciStyle_new6(int style, struct miqt_string description, QColor* color, QColor* paper, QFont* font, bool eolFill) { QString description_QString = QString::fromUtf8(description.data, description.len); return new (std::nothrow) QsciStyle(static_cast(style), description_QString, *color, *paper, *font, eolFill); } diff --git a/qt-restricted-extras/qscintilla/gen_qscistyle.go b/qt-restricted-extras/qscintilla/gen_qscistyle.go index bc7de273b..b8c6d9c8b 100644 --- a/qt-restricted-extras/qscintilla/gen_qscistyle.go +++ b/qt-restricted-extras/qscintilla/gen_qscistyle.go @@ -77,19 +77,25 @@ func NewQsciStyle3(param1 *QsciStyle) *QsciStyle { } // NewQsciStyle4 constructs a new QsciStyle object. -func NewQsciStyle4(style int) *QsciStyle { +func NewQsciStyle4() *QsciStyle { - return newQsciStyle(C.QsciStyle_new4((C.int)(style))) + return newQsciStyle(C.QsciStyle_new4()) } // NewQsciStyle5 constructs a new QsciStyle object. -func NewQsciStyle5(style int, description string, color *qt.QColor, paper *qt.QColor, font *qt.QFont, eolFill bool) *QsciStyle { +func NewQsciStyle5(style int) *QsciStyle { + + return newQsciStyle(C.QsciStyle_new5((C.int)(style))) +} + +// NewQsciStyle6 constructs a new QsciStyle object. +func NewQsciStyle6(style int, description string, color *qt.QColor, paper *qt.QColor, font *qt.QFont, eolFill bool) *QsciStyle { description_ms := C.struct_miqt_string{} description_ms.data = C.CString(description) description_ms.len = C.size_t(len(description)) defer C.free(unsafe.Pointer(description_ms.data)) - return newQsciStyle(C.QsciStyle_new5((C.int)(style), description_ms, (*C.QColor)(color.UnsafePointer()), (*C.QColor)(paper.UnsafePointer()), (*C.QFont)(font.UnsafePointer()), (C.bool)(eolFill))) + return newQsciStyle(C.QsciStyle_new6((C.int)(style), description_ms, (*C.QColor)(color.UnsafePointer()), (*C.QColor)(paper.UnsafePointer()), (*C.QFont)(font.UnsafePointer()), (C.bool)(eolFill))) } func (this *QsciStyle) Apply(sci *QsciScintillaBase) { diff --git a/qt-restricted-extras/qscintilla/gen_qscistyle.h b/qt-restricted-extras/qscintilla/gen_qscistyle.h index 34db6294b..ac062687a 100644 --- a/qt-restricted-extras/qscintilla/gen_qscistyle.h +++ b/qt-restricted-extras/qscintilla/gen_qscistyle.h @@ -29,8 +29,9 @@ typedef struct QsciStyle QsciStyle; QsciStyle* QsciStyle_new(); QsciStyle* QsciStyle_new2(int style, struct miqt_string description, QColor* color, QColor* paper, QFont* font); QsciStyle* QsciStyle_new3(QsciStyle* param1); -QsciStyle* QsciStyle_new4(int style); -QsciStyle* QsciStyle_new5(int style, struct miqt_string description, QColor* color, QColor* paper, QFont* font, bool eolFill); +QsciStyle* QsciStyle_new4(); +QsciStyle* QsciStyle_new5(int style); +QsciStyle* QsciStyle_new6(int style, struct miqt_string description, QColor* color, QColor* paper, QFont* font, bool eolFill); void QsciStyle_apply(const QsciStyle* self, QsciScintillaBase* sci); void QsciStyle_setStyle(QsciStyle* self, int style); int QsciStyle_style(const QsciStyle* self); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexeravs.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexeravs.cpp index 863c32e41..e50c048e9 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexeravs.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexeravs.cpp @@ -68,6 +68,7 @@ void miqt_exec_callback_QsciLexerAVS_disconnectNotify(QsciLexerAVS*, intptr_t, Q class MiqtVirtualQsciLexerAVS final : public QsciLexerAVS { public: + MiqtVirtualQsciLexerAVS(): QsciLexerAVS() {} MiqtVirtualQsciLexerAVS(): QsciLexerAVS() {} MiqtVirtualQsciLexerAVS(QObject* parent): QsciLexerAVS(parent) {} @@ -814,7 +815,11 @@ QsciLexerAVS* QsciLexerAVS_new() { return new (std::nothrow) MiqtVirtualQsciLexerAVS(); } -QsciLexerAVS* QsciLexerAVS_new2(QObject* parent) { +QsciLexerAVS* QsciLexerAVS_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerAVS(); +} + +QsciLexerAVS* QsciLexerAVS_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerAVS(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexeravs.go b/qt-restricted-extras/qscintilla6/gen_qscilexeravs.go index c8ea6cae4..be9f3b97b 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexeravs.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexeravs.go @@ -78,9 +78,15 @@ func NewQsciLexerAVS() *QsciLexerAVS { } // NewQsciLexerAVS2 constructs a new QsciLexerAVS object. -func NewQsciLexerAVS2(parent *qt6.QObject) *QsciLexerAVS { +func NewQsciLexerAVS2() *QsciLexerAVS { - return newQsciLexerAVS(C.QsciLexerAVS_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerAVS(C.QsciLexerAVS_new2()) +} + +// NewQsciLexerAVS3 constructs a new QsciLexerAVS object. +func NewQsciLexerAVS3(parent *qt6.QObject) *QsciLexerAVS { + + return newQsciLexerAVS(C.QsciLexerAVS_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerAVS) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexeravs.h b/qt-restricted-extras/qscintilla6/gen_qscilexeravs.h index 0edff8574..411098765 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexeravs.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexeravs.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerAVS* QsciLexerAVS_new(); -QsciLexerAVS* QsciLexerAVS_new2(QObject* parent); +QsciLexerAVS* QsciLexerAVS_new2(); +QsciLexerAVS* QsciLexerAVS_new3(QObject* parent); void QsciLexerAVS_virtbase(QsciLexerAVS* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerAVS_metaObject(const QsciLexerAVS* self); void* QsciLexerAVS_metacast(QsciLexerAVS* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerbash.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerbash.cpp index bafcf7a6b..f5ae9eebf 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerbash.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerbash.cpp @@ -68,6 +68,7 @@ void miqt_exec_callback_QsciLexerBash_disconnectNotify(QsciLexerBash*, intptr_t, class MiqtVirtualQsciLexerBash final : public QsciLexerBash { public: + MiqtVirtualQsciLexerBash(): QsciLexerBash() {} MiqtVirtualQsciLexerBash(): QsciLexerBash() {} MiqtVirtualQsciLexerBash(QObject* parent): QsciLexerBash(parent) {} @@ -814,7 +815,11 @@ QsciLexerBash* QsciLexerBash_new() { return new (std::nothrow) MiqtVirtualQsciLexerBash(); } -QsciLexerBash* QsciLexerBash_new2(QObject* parent) { +QsciLexerBash* QsciLexerBash_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerBash(); +} + +QsciLexerBash* QsciLexerBash_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerBash(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerbash.go b/qt-restricted-extras/qscintilla6/gen_qscilexerbash.go index 7c3440094..dbbc72b1c 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerbash.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerbash.go @@ -77,9 +77,15 @@ func NewQsciLexerBash() *QsciLexerBash { } // NewQsciLexerBash2 constructs a new QsciLexerBash object. -func NewQsciLexerBash2(parent *qt6.QObject) *QsciLexerBash { +func NewQsciLexerBash2() *QsciLexerBash { - return newQsciLexerBash(C.QsciLexerBash_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerBash(C.QsciLexerBash_new2()) +} + +// NewQsciLexerBash3 constructs a new QsciLexerBash object. +func NewQsciLexerBash3(parent *qt6.QObject) *QsciLexerBash { + + return newQsciLexerBash(C.QsciLexerBash_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerBash) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerbash.h b/qt-restricted-extras/qscintilla6/gen_qscilexerbash.h index f346618fe..a91e74cc6 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerbash.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerbash.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerBash* QsciLexerBash_new(); -QsciLexerBash* QsciLexerBash_new2(QObject* parent); +QsciLexerBash* QsciLexerBash_new2(); +QsciLexerBash* QsciLexerBash_new3(QObject* parent); void QsciLexerBash_virtbase(QsciLexerBash* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerBash_metaObject(const QsciLexerBash* self); void* QsciLexerBash_metacast(QsciLexerBash* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerbatch.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerbatch.cpp index 4e69ef6ff..2f175b49b 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerbatch.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerbatch.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerBatch_disconnectNotify(QsciLexerBatch*, intptr_ class MiqtVirtualQsciLexerBatch final : public QsciLexerBatch { public: + MiqtVirtualQsciLexerBatch(): QsciLexerBatch() {} MiqtVirtualQsciLexerBatch(): QsciLexerBatch() {} MiqtVirtualQsciLexerBatch(QObject* parent): QsciLexerBatch(parent) {} @@ -776,7 +777,11 @@ QsciLexerBatch* QsciLexerBatch_new() { return new (std::nothrow) MiqtVirtualQsciLexerBatch(); } -QsciLexerBatch* QsciLexerBatch_new2(QObject* parent) { +QsciLexerBatch* QsciLexerBatch_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerBatch(); +} + +QsciLexerBatch* QsciLexerBatch_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerBatch(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerbatch.go b/qt-restricted-extras/qscintilla6/gen_qscilexerbatch.go index a8a1eb39f..23d1c2b77 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerbatch.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerbatch.go @@ -71,9 +71,15 @@ func NewQsciLexerBatch() *QsciLexerBatch { } // NewQsciLexerBatch2 constructs a new QsciLexerBatch object. -func NewQsciLexerBatch2(parent *qt6.QObject) *QsciLexerBatch { +func NewQsciLexerBatch2() *QsciLexerBatch { - return newQsciLexerBatch(C.QsciLexerBatch_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerBatch(C.QsciLexerBatch_new2()) +} + +// NewQsciLexerBatch3 constructs a new QsciLexerBatch object. +func NewQsciLexerBatch3(parent *qt6.QObject) *QsciLexerBatch { + + return newQsciLexerBatch(C.QsciLexerBatch_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerBatch) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerbatch.h b/qt-restricted-extras/qscintilla6/gen_qscilexerbatch.h index 2da649206..8c61523cd 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerbatch.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerbatch.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerBatch* QsciLexerBatch_new(); -QsciLexerBatch* QsciLexerBatch_new2(QObject* parent); +QsciLexerBatch* QsciLexerBatch_new2(); +QsciLexerBatch* QsciLexerBatch_new3(QObject* parent); void QsciLexerBatch_virtbase(QsciLexerBatch* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerBatch_metaObject(const QsciLexerBatch* self); void* QsciLexerBatch_metacast(QsciLexerBatch* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexercmake.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexercmake.cpp index c85f00610..88eee0c76 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexercmake.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexercmake.cpp @@ -67,6 +67,7 @@ void miqt_exec_callback_QsciLexerCMake_disconnectNotify(QsciLexerCMake*, intptr_ class MiqtVirtualQsciLexerCMake final : public QsciLexerCMake { public: + MiqtVirtualQsciLexerCMake(): QsciLexerCMake() {} MiqtVirtualQsciLexerCMake(): QsciLexerCMake() {} MiqtVirtualQsciLexerCMake(QObject* parent): QsciLexerCMake(parent) {} @@ -796,7 +797,11 @@ QsciLexerCMake* QsciLexerCMake_new() { return new (std::nothrow) MiqtVirtualQsciLexerCMake(); } -QsciLexerCMake* QsciLexerCMake_new2(QObject* parent) { +QsciLexerCMake* QsciLexerCMake_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerCMake(); +} + +QsciLexerCMake* QsciLexerCMake_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerCMake(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexercmake.go b/qt-restricted-extras/qscintilla6/gen_qscilexercmake.go index 5aacfee36..77b0d1566 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexercmake.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexercmake.go @@ -78,9 +78,15 @@ func NewQsciLexerCMake() *QsciLexerCMake { } // NewQsciLexerCMake2 constructs a new QsciLexerCMake object. -func NewQsciLexerCMake2(parent *qt6.QObject) *QsciLexerCMake { +func NewQsciLexerCMake2() *QsciLexerCMake { - return newQsciLexerCMake(C.QsciLexerCMake_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerCMake(C.QsciLexerCMake_new2()) +} + +// NewQsciLexerCMake3 constructs a new QsciLexerCMake object. +func NewQsciLexerCMake3(parent *qt6.QObject) *QsciLexerCMake { + + return newQsciLexerCMake(C.QsciLexerCMake_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerCMake) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexercmake.h b/qt-restricted-extras/qscintilla6/gen_qscilexercmake.h index f4f5b633d..f5a99a4b3 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexercmake.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexercmake.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerCMake* QsciLexerCMake_new(); -QsciLexerCMake* QsciLexerCMake_new2(QObject* parent); +QsciLexerCMake* QsciLexerCMake_new2(); +QsciLexerCMake* QsciLexerCMake_new3(QObject* parent); void QsciLexerCMake_virtbase(QsciLexerCMake* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerCMake_metaObject(const QsciLexerCMake* self); void* QsciLexerCMake_metacast(QsciLexerCMake* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexercoffeescript.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexercoffeescript.cpp index 1479856b6..a05978f85 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexercoffeescript.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexercoffeescript.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerCoffeeScript_disconnectNotify(QsciLexerCoffeeSc class MiqtVirtualQsciLexerCoffeeScript final : public QsciLexerCoffeeScript { public: + MiqtVirtualQsciLexerCoffeeScript(): QsciLexerCoffeeScript() {} MiqtVirtualQsciLexerCoffeeScript(): QsciLexerCoffeeScript() {} MiqtVirtualQsciLexerCoffeeScript(QObject* parent): QsciLexerCoffeeScript(parent) {} @@ -778,7 +779,11 @@ QsciLexerCoffeeScript* QsciLexerCoffeeScript_new() { return new (std::nothrow) MiqtVirtualQsciLexerCoffeeScript(); } -QsciLexerCoffeeScript* QsciLexerCoffeeScript_new2(QObject* parent) { +QsciLexerCoffeeScript* QsciLexerCoffeeScript_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerCoffeeScript(); +} + +QsciLexerCoffeeScript* QsciLexerCoffeeScript_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerCoffeeScript(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexercoffeescript.go b/qt-restricted-extras/qscintilla6/gen_qscilexercoffeescript.go index 66c1d7b83..0e5106558 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexercoffeescript.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexercoffeescript.go @@ -87,9 +87,15 @@ func NewQsciLexerCoffeeScript() *QsciLexerCoffeeScript { } // NewQsciLexerCoffeeScript2 constructs a new QsciLexerCoffeeScript object. -func NewQsciLexerCoffeeScript2(parent *qt6.QObject) *QsciLexerCoffeeScript { +func NewQsciLexerCoffeeScript2() *QsciLexerCoffeeScript { - return newQsciLexerCoffeeScript(C.QsciLexerCoffeeScript_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerCoffeeScript(C.QsciLexerCoffeeScript_new2()) +} + +// NewQsciLexerCoffeeScript3 constructs a new QsciLexerCoffeeScript object. +func NewQsciLexerCoffeeScript3(parent *qt6.QObject) *QsciLexerCoffeeScript { + + return newQsciLexerCoffeeScript(C.QsciLexerCoffeeScript_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerCoffeeScript) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexercoffeescript.h b/qt-restricted-extras/qscintilla6/gen_qscilexercoffeescript.h index f196d9f26..c3d886320 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexercoffeescript.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexercoffeescript.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerCoffeeScript* QsciLexerCoffeeScript_new(); -QsciLexerCoffeeScript* QsciLexerCoffeeScript_new2(QObject* parent); +QsciLexerCoffeeScript* QsciLexerCoffeeScript_new2(); +QsciLexerCoffeeScript* QsciLexerCoffeeScript_new3(QObject* parent); void QsciLexerCoffeeScript_virtbase(QsciLexerCoffeeScript* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerCoffeeScript_metaObject(const QsciLexerCoffeeScript* self); void* QsciLexerCoffeeScript_metacast(QsciLexerCoffeeScript* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexercpp.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexercpp.cpp index c47ea7527..962d7e09c 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexercpp.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexercpp.cpp @@ -71,6 +71,7 @@ void miqt_exec_callback_QsciLexerCPP_disconnectNotify(QsciLexerCPP*, intptr_t, Q class MiqtVirtualQsciLexerCPP final : public QsciLexerCPP { public: + MiqtVirtualQsciLexerCPP(): QsciLexerCPP() {} MiqtVirtualQsciLexerCPP(): QsciLexerCPP() {} MiqtVirtualQsciLexerCPP(QObject* parent): QsciLexerCPP(parent) {} MiqtVirtualQsciLexerCPP(QObject* parent, bool caseInsensitiveKeywords): QsciLexerCPP(parent, caseInsensitiveKeywords) {} @@ -869,11 +870,15 @@ QsciLexerCPP* QsciLexerCPP_new() { return new (std::nothrow) MiqtVirtualQsciLexerCPP(); } -QsciLexerCPP* QsciLexerCPP_new2(QObject* parent) { +QsciLexerCPP* QsciLexerCPP_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerCPP(); +} + +QsciLexerCPP* QsciLexerCPP_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerCPP(parent); } -QsciLexerCPP* QsciLexerCPP_new3(QObject* parent, bool caseInsensitiveKeywords) { +QsciLexerCPP* QsciLexerCPP_new4(QObject* parent, bool caseInsensitiveKeywords) { return new (std::nothrow) MiqtVirtualQsciLexerCPP(parent, caseInsensitiveKeywords); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexercpp.go b/qt-restricted-extras/qscintilla6/gen_qscilexercpp.go index 95d31ff64..b6bfb3f4c 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexercpp.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexercpp.go @@ -119,15 +119,21 @@ func NewQsciLexerCPP() *QsciLexerCPP { } // NewQsciLexerCPP2 constructs a new QsciLexerCPP object. -func NewQsciLexerCPP2(parent *qt6.QObject) *QsciLexerCPP { +func NewQsciLexerCPP2() *QsciLexerCPP { - return newQsciLexerCPP(C.QsciLexerCPP_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerCPP(C.QsciLexerCPP_new2()) } // NewQsciLexerCPP3 constructs a new QsciLexerCPP object. -func NewQsciLexerCPP3(parent *qt6.QObject, caseInsensitiveKeywords bool) *QsciLexerCPP { +func NewQsciLexerCPP3(parent *qt6.QObject) *QsciLexerCPP { - return newQsciLexerCPP(C.QsciLexerCPP_new3((*C.QObject)(parent.UnsafePointer()), (C.bool)(caseInsensitiveKeywords))) + return newQsciLexerCPP(C.QsciLexerCPP_new3((*C.QObject)(parent.UnsafePointer()))) +} + +// NewQsciLexerCPP4 constructs a new QsciLexerCPP object. +func NewQsciLexerCPP4(parent *qt6.QObject, caseInsensitiveKeywords bool) *QsciLexerCPP { + + return newQsciLexerCPP(C.QsciLexerCPP_new4((*C.QObject)(parent.UnsafePointer()), (C.bool)(caseInsensitiveKeywords))) } func (this *QsciLexerCPP) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexercpp.h b/qt-restricted-extras/qscintilla6/gen_qscilexercpp.h index 1e75d9576..53f2f7048 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexercpp.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexercpp.h @@ -43,8 +43,9 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerCPP* QsciLexerCPP_new(); -QsciLexerCPP* QsciLexerCPP_new2(QObject* parent); -QsciLexerCPP* QsciLexerCPP_new3(QObject* parent, bool caseInsensitiveKeywords); +QsciLexerCPP* QsciLexerCPP_new2(); +QsciLexerCPP* QsciLexerCPP_new3(QObject* parent); +QsciLexerCPP* QsciLexerCPP_new4(QObject* parent, bool caseInsensitiveKeywords); void QsciLexerCPP_virtbase(QsciLexerCPP* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerCPP_metaObject(const QsciLexerCPP* self); void* QsciLexerCPP_metacast(QsciLexerCPP* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexercsharp.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexercsharp.cpp index d63861693..4b94cef94 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexercsharp.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexercsharp.cpp @@ -71,6 +71,7 @@ void miqt_exec_callback_QsciLexerCSharp_disconnectNotify(QsciLexerCSharp*, intpt class MiqtVirtualQsciLexerCSharp final : public QsciLexerCSharp { public: + MiqtVirtualQsciLexerCSharp(): QsciLexerCSharp() {} MiqtVirtualQsciLexerCSharp(): QsciLexerCSharp() {} MiqtVirtualQsciLexerCSharp(QObject* parent): QsciLexerCSharp(parent) {} @@ -868,7 +869,11 @@ QsciLexerCSharp* QsciLexerCSharp_new() { return new (std::nothrow) MiqtVirtualQsciLexerCSharp(); } -QsciLexerCSharp* QsciLexerCSharp_new2(QObject* parent) { +QsciLexerCSharp* QsciLexerCSharp_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerCSharp(); +} + +QsciLexerCSharp* QsciLexerCSharp_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerCSharp(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexercsharp.go b/qt-restricted-extras/qscintilla6/gen_qscilexercsharp.go index b2221b21f..3319fa4b3 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexercsharp.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexercsharp.go @@ -58,9 +58,15 @@ func NewQsciLexerCSharp() *QsciLexerCSharp { } // NewQsciLexerCSharp2 constructs a new QsciLexerCSharp object. -func NewQsciLexerCSharp2(parent *qt6.QObject) *QsciLexerCSharp { +func NewQsciLexerCSharp2() *QsciLexerCSharp { - return newQsciLexerCSharp(C.QsciLexerCSharp_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerCSharp(C.QsciLexerCSharp_new2()) +} + +// NewQsciLexerCSharp3 constructs a new QsciLexerCSharp object. +func NewQsciLexerCSharp3(parent *qt6.QObject) *QsciLexerCSharp { + + return newQsciLexerCSharp(C.QsciLexerCSharp_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerCSharp) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexercsharp.h b/qt-restricted-extras/qscintilla6/gen_qscilexercsharp.h index 482f23914..adb12f67f 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexercsharp.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexercsharp.h @@ -45,7 +45,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerCSharp* QsciLexerCSharp_new(); -QsciLexerCSharp* QsciLexerCSharp_new2(QObject* parent); +QsciLexerCSharp* QsciLexerCSharp_new2(); +QsciLexerCSharp* QsciLexerCSharp_new3(QObject* parent); void QsciLexerCSharp_virtbase(QsciLexerCSharp* src, QsciLexerCPP** outptr_QsciLexerCPP); QMetaObject* QsciLexerCSharp_metaObject(const QsciLexerCSharp* self); void* QsciLexerCSharp_metacast(QsciLexerCSharp* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexercss.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexercss.cpp index b9a895a85..3928e3f67 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexercss.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexercss.cpp @@ -68,6 +68,7 @@ void miqt_exec_callback_QsciLexerCSS_disconnectNotify(QsciLexerCSS*, intptr_t, Q class MiqtVirtualQsciLexerCSS final : public QsciLexerCSS { public: + MiqtVirtualQsciLexerCSS(): QsciLexerCSS() {} MiqtVirtualQsciLexerCSS(): QsciLexerCSS() {} MiqtVirtualQsciLexerCSS(QObject* parent): QsciLexerCSS(parent) {} @@ -814,7 +815,11 @@ QsciLexerCSS* QsciLexerCSS_new() { return new (std::nothrow) MiqtVirtualQsciLexerCSS(); } -QsciLexerCSS* QsciLexerCSS_new2(QObject* parent) { +QsciLexerCSS* QsciLexerCSS_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerCSS(); +} + +QsciLexerCSS* QsciLexerCSS_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerCSS(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexercss.go b/qt-restricted-extras/qscintilla6/gen_qscilexercss.go index 3b7a4a612..b7e58438b 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexercss.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexercss.go @@ -87,9 +87,15 @@ func NewQsciLexerCSS() *QsciLexerCSS { } // NewQsciLexerCSS2 constructs a new QsciLexerCSS object. -func NewQsciLexerCSS2(parent *qt6.QObject) *QsciLexerCSS { +func NewQsciLexerCSS2() *QsciLexerCSS { - return newQsciLexerCSS(C.QsciLexerCSS_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerCSS(C.QsciLexerCSS_new2()) +} + +// NewQsciLexerCSS3 constructs a new QsciLexerCSS object. +func NewQsciLexerCSS3(parent *qt6.QObject) *QsciLexerCSS { + + return newQsciLexerCSS(C.QsciLexerCSS_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerCSS) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexercss.h b/qt-restricted-extras/qscintilla6/gen_qscilexercss.h index 9cf9942ff..f6da51f36 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexercss.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexercss.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerCSS* QsciLexerCSS_new(); -QsciLexerCSS* QsciLexerCSS_new2(QObject* parent); +QsciLexerCSS* QsciLexerCSS_new2(); +QsciLexerCSS* QsciLexerCSS_new3(QObject* parent); void QsciLexerCSS_virtbase(QsciLexerCSS* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerCSS_metaObject(const QsciLexerCSS* self); void* QsciLexerCSS_metacast(QsciLexerCSS* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerd.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerd.cpp index 4acb1b7f2..e8e1efd99 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerd.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerd.cpp @@ -69,6 +69,7 @@ void miqt_exec_callback_QsciLexerD_disconnectNotify(QsciLexerD*, intptr_t, QMeta class MiqtVirtualQsciLexerD final : public QsciLexerD { public: + MiqtVirtualQsciLexerD(): QsciLexerD() {} MiqtVirtualQsciLexerD(): QsciLexerD() {} MiqtVirtualQsciLexerD(QObject* parent): QsciLexerD(parent) {} @@ -832,7 +833,11 @@ QsciLexerD* QsciLexerD_new() { return new (std::nothrow) MiqtVirtualQsciLexerD(); } -QsciLexerD* QsciLexerD_new2(QObject* parent) { +QsciLexerD* QsciLexerD_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerD(); +} + +QsciLexerD* QsciLexerD_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerD(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerd.go b/qt-restricted-extras/qscintilla6/gen_qscilexerd.go index 7f2ab6d9b..001cd849c 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerd.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerd.go @@ -86,9 +86,15 @@ func NewQsciLexerD() *QsciLexerD { } // NewQsciLexerD2 constructs a new QsciLexerD object. -func NewQsciLexerD2(parent *qt6.QObject) *QsciLexerD { +func NewQsciLexerD2() *QsciLexerD { - return newQsciLexerD(C.QsciLexerD_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerD(C.QsciLexerD_new2()) +} + +// NewQsciLexerD3 constructs a new QsciLexerD object. +func NewQsciLexerD3(parent *qt6.QObject) *QsciLexerD { + + return newQsciLexerD(C.QsciLexerD_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerD) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerd.h b/qt-restricted-extras/qscintilla6/gen_qscilexerd.h index ec84ec3e9..a2d720b65 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerd.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerd.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerD* QsciLexerD_new(); -QsciLexerD* QsciLexerD_new2(QObject* parent); +QsciLexerD* QsciLexerD_new2(); +QsciLexerD* QsciLexerD_new3(QObject* parent); void QsciLexerD_virtbase(QsciLexerD* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerD_metaObject(const QsciLexerD* self); void* QsciLexerD_metacast(QsciLexerD* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerdiff.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerdiff.cpp index 9c7d59cf8..ab76c4cc9 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerdiff.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerdiff.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerDiff_disconnectNotify(QsciLexerDiff*, intptr_t, class MiqtVirtualQsciLexerDiff final : public QsciLexerDiff { public: + MiqtVirtualQsciLexerDiff(): QsciLexerDiff() {} MiqtVirtualQsciLexerDiff(): QsciLexerDiff() {} MiqtVirtualQsciLexerDiff(QObject* parent): QsciLexerDiff(parent) {} @@ -776,7 +777,11 @@ QsciLexerDiff* QsciLexerDiff_new() { return new (std::nothrow) MiqtVirtualQsciLexerDiff(); } -QsciLexerDiff* QsciLexerDiff_new2(QObject* parent) { +QsciLexerDiff* QsciLexerDiff_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerDiff(); +} + +QsciLexerDiff* QsciLexerDiff_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerDiff(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerdiff.go b/qt-restricted-extras/qscintilla6/gen_qscilexerdiff.go index f7b5d89da..87aa9b148 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerdiff.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerdiff.go @@ -75,9 +75,15 @@ func NewQsciLexerDiff() *QsciLexerDiff { } // NewQsciLexerDiff2 constructs a new QsciLexerDiff object. -func NewQsciLexerDiff2(parent *qt6.QObject) *QsciLexerDiff { +func NewQsciLexerDiff2() *QsciLexerDiff { - return newQsciLexerDiff(C.QsciLexerDiff_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerDiff(C.QsciLexerDiff_new2()) +} + +// NewQsciLexerDiff3 constructs a new QsciLexerDiff object. +func NewQsciLexerDiff3(parent *qt6.QObject) *QsciLexerDiff { + + return newQsciLexerDiff(C.QsciLexerDiff_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerDiff) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerdiff.h b/qt-restricted-extras/qscintilla6/gen_qscilexerdiff.h index 2bac20e76..8e8d41ab3 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerdiff.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerdiff.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerDiff* QsciLexerDiff_new(); -QsciLexerDiff* QsciLexerDiff_new2(QObject* parent); +QsciLexerDiff* QsciLexerDiff_new2(); +QsciLexerDiff* QsciLexerDiff_new3(QObject* parent); void QsciLexerDiff_virtbase(QsciLexerDiff* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerDiff_metaObject(const QsciLexerDiff* self); void* QsciLexerDiff_metacast(QsciLexerDiff* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexeredifact.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexeredifact.cpp index 97abdd087..8d811920a 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexeredifact.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexeredifact.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerEDIFACT_disconnectNotify(QsciLexerEDIFACT*, int class MiqtVirtualQsciLexerEDIFACT final : public QsciLexerEDIFACT { public: + MiqtVirtualQsciLexerEDIFACT(): QsciLexerEDIFACT() {} MiqtVirtualQsciLexerEDIFACT(): QsciLexerEDIFACT() {} MiqtVirtualQsciLexerEDIFACT(QObject* parent): QsciLexerEDIFACT(parent) {} @@ -776,7 +777,11 @@ QsciLexerEDIFACT* QsciLexerEDIFACT_new() { return new (std::nothrow) MiqtVirtualQsciLexerEDIFACT(); } -QsciLexerEDIFACT* QsciLexerEDIFACT_new2(QObject* parent) { +QsciLexerEDIFACT* QsciLexerEDIFACT_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerEDIFACT(); +} + +QsciLexerEDIFACT* QsciLexerEDIFACT_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerEDIFACT(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexeredifact.go b/qt-restricted-extras/qscintilla6/gen_qscilexeredifact.go index ea06ddb98..d7a718ecd 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexeredifact.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexeredifact.go @@ -72,9 +72,15 @@ func NewQsciLexerEDIFACT() *QsciLexerEDIFACT { } // NewQsciLexerEDIFACT2 constructs a new QsciLexerEDIFACT object. -func NewQsciLexerEDIFACT2(parent *qt6.QObject) *QsciLexerEDIFACT { +func NewQsciLexerEDIFACT2() *QsciLexerEDIFACT { - return newQsciLexerEDIFACT(C.QsciLexerEDIFACT_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerEDIFACT(C.QsciLexerEDIFACT_new2()) +} + +// NewQsciLexerEDIFACT3 constructs a new QsciLexerEDIFACT object. +func NewQsciLexerEDIFACT3(parent *qt6.QObject) *QsciLexerEDIFACT { + + return newQsciLexerEDIFACT(C.QsciLexerEDIFACT_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerEDIFACT) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexeredifact.h b/qt-restricted-extras/qscintilla6/gen_qscilexeredifact.h index be92dce60..eff2a8078 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexeredifact.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexeredifact.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerEDIFACT* QsciLexerEDIFACT_new(); -QsciLexerEDIFACT* QsciLexerEDIFACT_new2(QObject* parent); +QsciLexerEDIFACT* QsciLexerEDIFACT_new2(); +QsciLexerEDIFACT* QsciLexerEDIFACT_new3(QObject* parent); void QsciLexerEDIFACT_virtbase(QsciLexerEDIFACT* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerEDIFACT_metaObject(const QsciLexerEDIFACT* self); void* QsciLexerEDIFACT_metacast(QsciLexerEDIFACT* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerfortran.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerfortran.cpp index 6187ecc25..94407b735 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerfortran.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerfortran.cpp @@ -67,6 +67,7 @@ void miqt_exec_callback_QsciLexerFortran_disconnectNotify(QsciLexerFortran*, int class MiqtVirtualQsciLexerFortran final : public QsciLexerFortran { public: + MiqtVirtualQsciLexerFortran(): QsciLexerFortran() {} MiqtVirtualQsciLexerFortran(): QsciLexerFortran() {} MiqtVirtualQsciLexerFortran(QObject* parent): QsciLexerFortran(parent) {} @@ -796,7 +797,11 @@ QsciLexerFortran* QsciLexerFortran_new() { return new (std::nothrow) MiqtVirtualQsciLexerFortran(); } -QsciLexerFortran* QsciLexerFortran_new2(QObject* parent) { +QsciLexerFortran* QsciLexerFortran_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerFortran(); +} + +QsciLexerFortran* QsciLexerFortran_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerFortran(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerfortran.go b/qt-restricted-extras/qscintilla6/gen_qscilexerfortran.go index 42b54a971..cdf835382 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerfortran.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerfortran.go @@ -58,9 +58,15 @@ func NewQsciLexerFortran() *QsciLexerFortran { } // NewQsciLexerFortran2 constructs a new QsciLexerFortran object. -func NewQsciLexerFortran2(parent *qt6.QObject) *QsciLexerFortran { +func NewQsciLexerFortran2() *QsciLexerFortran { - return newQsciLexerFortran(C.QsciLexerFortran_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerFortran(C.QsciLexerFortran_new2()) +} + +// NewQsciLexerFortran3 constructs a new QsciLexerFortran object. +func NewQsciLexerFortran3(parent *qt6.QObject) *QsciLexerFortran { + + return newQsciLexerFortran(C.QsciLexerFortran_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerFortran) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerfortran.h b/qt-restricted-extras/qscintilla6/gen_qscilexerfortran.h index 88a8eece9..941f5dbf4 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerfortran.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerfortran.h @@ -45,7 +45,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerFortran* QsciLexerFortran_new(); -QsciLexerFortran* QsciLexerFortran_new2(QObject* parent); +QsciLexerFortran* QsciLexerFortran_new2(); +QsciLexerFortran* QsciLexerFortran_new3(QObject* parent); void QsciLexerFortran_virtbase(QsciLexerFortran* src, QsciLexerFortran77** outptr_QsciLexerFortran77); QMetaObject* QsciLexerFortran_metaObject(const QsciLexerFortran* self); void* QsciLexerFortran_metacast(QsciLexerFortran* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerfortran77.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerfortran77.cpp index 100f7cb8f..e96315297 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerfortran77.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerfortran77.cpp @@ -67,6 +67,7 @@ void miqt_exec_callback_QsciLexerFortran77_disconnectNotify(QsciLexerFortran77*, class MiqtVirtualQsciLexerFortran77 final : public QsciLexerFortran77 { public: + MiqtVirtualQsciLexerFortran77(): QsciLexerFortran77() {} MiqtVirtualQsciLexerFortran77(): QsciLexerFortran77() {} MiqtVirtualQsciLexerFortran77(QObject* parent): QsciLexerFortran77(parent) {} @@ -796,7 +797,11 @@ QsciLexerFortran77* QsciLexerFortran77_new() { return new (std::nothrow) MiqtVirtualQsciLexerFortran77(); } -QsciLexerFortran77* QsciLexerFortran77_new2(QObject* parent) { +QsciLexerFortran77* QsciLexerFortran77_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerFortran77(); +} + +QsciLexerFortran77* QsciLexerFortran77_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerFortran77(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerfortran77.go b/qt-restricted-extras/qscintilla6/gen_qscilexerfortran77.go index c89f8e8e9..7178d38f4 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerfortran77.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerfortran77.go @@ -78,9 +78,15 @@ func NewQsciLexerFortran77() *QsciLexerFortran77 { } // NewQsciLexerFortran772 constructs a new QsciLexerFortran77 object. -func NewQsciLexerFortran772(parent *qt6.QObject) *QsciLexerFortran77 { +func NewQsciLexerFortran772() *QsciLexerFortran77 { - return newQsciLexerFortran77(C.QsciLexerFortran77_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerFortran77(C.QsciLexerFortran77_new2()) +} + +// NewQsciLexerFortran773 constructs a new QsciLexerFortran77 object. +func NewQsciLexerFortran773(parent *qt6.QObject) *QsciLexerFortran77 { + + return newQsciLexerFortran77(C.QsciLexerFortran77_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerFortran77) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerfortran77.h b/qt-restricted-extras/qscintilla6/gen_qscilexerfortran77.h index a11791577..bd8798ff5 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerfortran77.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerfortran77.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerFortran77* QsciLexerFortran77_new(); -QsciLexerFortran77* QsciLexerFortran77_new2(QObject* parent); +QsciLexerFortran77* QsciLexerFortran77_new2(); +QsciLexerFortran77* QsciLexerFortran77_new3(QObject* parent); void QsciLexerFortran77_virtbase(QsciLexerFortran77* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerFortran77_metaObject(const QsciLexerFortran77* self); void* QsciLexerFortran77_metacast(QsciLexerFortran77* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerhtml.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerhtml.cpp index 1dbe21bc0..df147f76f 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerhtml.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerhtml.cpp @@ -69,6 +69,7 @@ void miqt_exec_callback_QsciLexerHTML_disconnectNotify(QsciLexerHTML*, intptr_t, class MiqtVirtualQsciLexerHTML final : public QsciLexerHTML { public: + MiqtVirtualQsciLexerHTML(): QsciLexerHTML() {} MiqtVirtualQsciLexerHTML(): QsciLexerHTML() {} MiqtVirtualQsciLexerHTML(QObject* parent): QsciLexerHTML(parent) {} @@ -832,7 +833,11 @@ QsciLexerHTML* QsciLexerHTML_new() { return new (std::nothrow) MiqtVirtualQsciLexerHTML(); } -QsciLexerHTML* QsciLexerHTML_new2(QObject* parent) { +QsciLexerHTML* QsciLexerHTML_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerHTML(); +} + +QsciLexerHTML* QsciLexerHTML_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerHTML(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerhtml.go b/qt-restricted-extras/qscintilla6/gen_qscilexerhtml.go index 28c0aa058..f356555c1 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerhtml.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerhtml.go @@ -173,9 +173,15 @@ func NewQsciLexerHTML() *QsciLexerHTML { } // NewQsciLexerHTML2 constructs a new QsciLexerHTML object. -func NewQsciLexerHTML2(parent *qt6.QObject) *QsciLexerHTML { +func NewQsciLexerHTML2() *QsciLexerHTML { - return newQsciLexerHTML(C.QsciLexerHTML_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerHTML(C.QsciLexerHTML_new2()) +} + +// NewQsciLexerHTML3 constructs a new QsciLexerHTML object. +func NewQsciLexerHTML3(parent *qt6.QObject) *QsciLexerHTML { + + return newQsciLexerHTML(C.QsciLexerHTML_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerHTML) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerhtml.h b/qt-restricted-extras/qscintilla6/gen_qscilexerhtml.h index ba02ffd4b..2cada05cb 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerhtml.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerhtml.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerHTML* QsciLexerHTML_new(); -QsciLexerHTML* QsciLexerHTML_new2(QObject* parent); +QsciLexerHTML* QsciLexerHTML_new2(); +QsciLexerHTML* QsciLexerHTML_new3(QObject* parent); void QsciLexerHTML_virtbase(QsciLexerHTML* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerHTML_metaObject(const QsciLexerHTML* self); void* QsciLexerHTML_metacast(QsciLexerHTML* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexeridl.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexeridl.cpp index 4f0f990ad..4981005a9 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexeridl.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexeridl.cpp @@ -71,6 +71,7 @@ void miqt_exec_callback_QsciLexerIDL_disconnectNotify(QsciLexerIDL*, intptr_t, Q class MiqtVirtualQsciLexerIDL final : public QsciLexerIDL { public: + MiqtVirtualQsciLexerIDL(): QsciLexerIDL() {} MiqtVirtualQsciLexerIDL(): QsciLexerIDL() {} MiqtVirtualQsciLexerIDL(QObject* parent): QsciLexerIDL(parent) {} @@ -868,7 +869,11 @@ QsciLexerIDL* QsciLexerIDL_new() { return new (std::nothrow) MiqtVirtualQsciLexerIDL(); } -QsciLexerIDL* QsciLexerIDL_new2(QObject* parent) { +QsciLexerIDL* QsciLexerIDL_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerIDL(); +} + +QsciLexerIDL* QsciLexerIDL_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerIDL(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexeridl.go b/qt-restricted-extras/qscintilla6/gen_qscilexeridl.go index 214b42e1a..8156009c0 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexeridl.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexeridl.go @@ -58,9 +58,15 @@ func NewQsciLexerIDL() *QsciLexerIDL { } // NewQsciLexerIDL2 constructs a new QsciLexerIDL object. -func NewQsciLexerIDL2(parent *qt6.QObject) *QsciLexerIDL { +func NewQsciLexerIDL2() *QsciLexerIDL { - return newQsciLexerIDL(C.QsciLexerIDL_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerIDL(C.QsciLexerIDL_new2()) +} + +// NewQsciLexerIDL3 constructs a new QsciLexerIDL object. +func NewQsciLexerIDL3(parent *qt6.QObject) *QsciLexerIDL { + + return newQsciLexerIDL(C.QsciLexerIDL_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerIDL) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexeridl.h b/qt-restricted-extras/qscintilla6/gen_qscilexeridl.h index d2e82c536..5de505b60 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexeridl.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexeridl.h @@ -45,7 +45,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerIDL* QsciLexerIDL_new(); -QsciLexerIDL* QsciLexerIDL_new2(QObject* parent); +QsciLexerIDL* QsciLexerIDL_new2(); +QsciLexerIDL* QsciLexerIDL_new3(QObject* parent); void QsciLexerIDL_virtbase(QsciLexerIDL* src, QsciLexerCPP** outptr_QsciLexerCPP); QMetaObject* QsciLexerIDL_metaObject(const QsciLexerIDL* self); void* QsciLexerIDL_metacast(QsciLexerIDL* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerjava.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerjava.cpp index f8086bfeb..16767902d 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerjava.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerjava.cpp @@ -71,6 +71,7 @@ void miqt_exec_callback_QsciLexerJava_disconnectNotify(QsciLexerJava*, intptr_t, class MiqtVirtualQsciLexerJava final : public QsciLexerJava { public: + MiqtVirtualQsciLexerJava(): QsciLexerJava() {} MiqtVirtualQsciLexerJava(): QsciLexerJava() {} MiqtVirtualQsciLexerJava(QObject* parent): QsciLexerJava(parent) {} @@ -868,7 +869,11 @@ QsciLexerJava* QsciLexerJava_new() { return new (std::nothrow) MiqtVirtualQsciLexerJava(); } -QsciLexerJava* QsciLexerJava_new2(QObject* parent) { +QsciLexerJava* QsciLexerJava_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerJava(); +} + +QsciLexerJava* QsciLexerJava_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerJava(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerjava.go b/qt-restricted-extras/qscintilla6/gen_qscilexerjava.go index 34505f50b..b1ade34a4 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerjava.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerjava.go @@ -58,9 +58,15 @@ func NewQsciLexerJava() *QsciLexerJava { } // NewQsciLexerJava2 constructs a new QsciLexerJava object. -func NewQsciLexerJava2(parent *qt6.QObject) *QsciLexerJava { +func NewQsciLexerJava2() *QsciLexerJava { - return newQsciLexerJava(C.QsciLexerJava_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerJava(C.QsciLexerJava_new2()) +} + +// NewQsciLexerJava3 constructs a new QsciLexerJava object. +func NewQsciLexerJava3(parent *qt6.QObject) *QsciLexerJava { + + return newQsciLexerJava(C.QsciLexerJava_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerJava) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerjava.h b/qt-restricted-extras/qscintilla6/gen_qscilexerjava.h index 6a571958a..2b6cd9deb 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerjava.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerjava.h @@ -45,7 +45,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerJava* QsciLexerJava_new(); -QsciLexerJava* QsciLexerJava_new2(QObject* parent); +QsciLexerJava* QsciLexerJava_new2(); +QsciLexerJava* QsciLexerJava_new3(QObject* parent); void QsciLexerJava_virtbase(QsciLexerJava* src, QsciLexerCPP** outptr_QsciLexerCPP); QMetaObject* QsciLexerJava_metaObject(const QsciLexerJava* self); void* QsciLexerJava_metacast(QsciLexerJava* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerjavascript.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerjavascript.cpp index 99826ba7a..1c87a543a 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerjavascript.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerjavascript.cpp @@ -71,6 +71,7 @@ void miqt_exec_callback_QsciLexerJavaScript_disconnectNotify(QsciLexerJavaScript class MiqtVirtualQsciLexerJavaScript final : public QsciLexerJavaScript { public: + MiqtVirtualQsciLexerJavaScript(): QsciLexerJavaScript() {} MiqtVirtualQsciLexerJavaScript(): QsciLexerJavaScript() {} MiqtVirtualQsciLexerJavaScript(QObject* parent): QsciLexerJavaScript(parent) {} @@ -868,7 +869,11 @@ QsciLexerJavaScript* QsciLexerJavaScript_new() { return new (std::nothrow) MiqtVirtualQsciLexerJavaScript(); } -QsciLexerJavaScript* QsciLexerJavaScript_new2(QObject* parent) { +QsciLexerJavaScript* QsciLexerJavaScript_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerJavaScript(); +} + +QsciLexerJavaScript* QsciLexerJavaScript_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerJavaScript(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerjavascript.go b/qt-restricted-extras/qscintilla6/gen_qscilexerjavascript.go index 79c2a1aba..6b2d2dae5 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerjavascript.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerjavascript.go @@ -58,9 +58,15 @@ func NewQsciLexerJavaScript() *QsciLexerJavaScript { } // NewQsciLexerJavaScript2 constructs a new QsciLexerJavaScript object. -func NewQsciLexerJavaScript2(parent *qt6.QObject) *QsciLexerJavaScript { +func NewQsciLexerJavaScript2() *QsciLexerJavaScript { - return newQsciLexerJavaScript(C.QsciLexerJavaScript_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerJavaScript(C.QsciLexerJavaScript_new2()) +} + +// NewQsciLexerJavaScript3 constructs a new QsciLexerJavaScript object. +func NewQsciLexerJavaScript3(parent *qt6.QObject) *QsciLexerJavaScript { + + return newQsciLexerJavaScript(C.QsciLexerJavaScript_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerJavaScript) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerjavascript.h b/qt-restricted-extras/qscintilla6/gen_qscilexerjavascript.h index a8caed408..e21c3dc83 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerjavascript.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerjavascript.h @@ -45,7 +45,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerJavaScript* QsciLexerJavaScript_new(); -QsciLexerJavaScript* QsciLexerJavaScript_new2(QObject* parent); +QsciLexerJavaScript* QsciLexerJavaScript_new2(); +QsciLexerJavaScript* QsciLexerJavaScript_new3(QObject* parent); void QsciLexerJavaScript_virtbase(QsciLexerJavaScript* src, QsciLexerCPP** outptr_QsciLexerCPP); QMetaObject* QsciLexerJavaScript_metaObject(const QsciLexerJavaScript* self); void* QsciLexerJavaScript_metacast(QsciLexerJavaScript* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerjson.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerjson.cpp index c569a5610..37a129f70 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerjson.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerjson.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerJSON_disconnectNotify(QsciLexerJSON*, intptr_t, class MiqtVirtualQsciLexerJSON final : public QsciLexerJSON { public: + MiqtVirtualQsciLexerJSON(): QsciLexerJSON() {} MiqtVirtualQsciLexerJSON(): QsciLexerJSON() {} MiqtVirtualQsciLexerJSON(QObject* parent): QsciLexerJSON(parent) {} @@ -778,7 +779,11 @@ QsciLexerJSON* QsciLexerJSON_new() { return new (std::nothrow) MiqtVirtualQsciLexerJSON(); } -QsciLexerJSON* QsciLexerJSON_new2(QObject* parent) { +QsciLexerJSON* QsciLexerJSON_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerJSON(); +} + +QsciLexerJSON* QsciLexerJSON_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerJSON(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerjson.go b/qt-restricted-extras/qscintilla6/gen_qscilexerjson.go index 9b01f94e7..4f9c4c816 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerjson.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerjson.go @@ -77,9 +77,15 @@ func NewQsciLexerJSON() *QsciLexerJSON { } // NewQsciLexerJSON2 constructs a new QsciLexerJSON object. -func NewQsciLexerJSON2(parent *qt6.QObject) *QsciLexerJSON { +func NewQsciLexerJSON2() *QsciLexerJSON { - return newQsciLexerJSON(C.QsciLexerJSON_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerJSON(C.QsciLexerJSON_new2()) +} + +// NewQsciLexerJSON3 constructs a new QsciLexerJSON object. +func NewQsciLexerJSON3(parent *qt6.QObject) *QsciLexerJSON { + + return newQsciLexerJSON(C.QsciLexerJSON_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerJSON) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerjson.h b/qt-restricted-extras/qscintilla6/gen_qscilexerjson.h index de5a0082b..610a68866 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerjson.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerjson.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerJSON* QsciLexerJSON_new(); -QsciLexerJSON* QsciLexerJSON_new2(QObject* parent); +QsciLexerJSON* QsciLexerJSON_new2(); +QsciLexerJSON* QsciLexerJSON_new3(QObject* parent); void QsciLexerJSON_virtbase(QsciLexerJSON* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerJSON_metaObject(const QsciLexerJSON* self); void* QsciLexerJSON_metacast(QsciLexerJSON* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerlua.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerlua.cpp index 02f2e3620..7f7dc5cb0 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerlua.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerlua.cpp @@ -67,6 +67,7 @@ void miqt_exec_callback_QsciLexerLua_disconnectNotify(QsciLexerLua*, intptr_t, Q class MiqtVirtualQsciLexerLua final : public QsciLexerLua { public: + MiqtVirtualQsciLexerLua(): QsciLexerLua() {} MiqtVirtualQsciLexerLua(): QsciLexerLua() {} MiqtVirtualQsciLexerLua(QObject* parent): QsciLexerLua(parent) {} @@ -796,7 +797,11 @@ QsciLexerLua* QsciLexerLua_new() { return new (std::nothrow) MiqtVirtualQsciLexerLua(); } -QsciLexerLua* QsciLexerLua_new2(QObject* parent) { +QsciLexerLua* QsciLexerLua_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerLua(); +} + +QsciLexerLua* QsciLexerLua_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerLua(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerlua.go b/qt-restricted-extras/qscintilla6/gen_qscilexerlua.go index 470e599db..01a5c5a8c 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerlua.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerlua.go @@ -83,9 +83,15 @@ func NewQsciLexerLua() *QsciLexerLua { } // NewQsciLexerLua2 constructs a new QsciLexerLua object. -func NewQsciLexerLua2(parent *qt6.QObject) *QsciLexerLua { +func NewQsciLexerLua2() *QsciLexerLua { - return newQsciLexerLua(C.QsciLexerLua_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerLua(C.QsciLexerLua_new2()) +} + +// NewQsciLexerLua3 constructs a new QsciLexerLua object. +func NewQsciLexerLua3(parent *qt6.QObject) *QsciLexerLua { + + return newQsciLexerLua(C.QsciLexerLua_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerLua) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerlua.h b/qt-restricted-extras/qscintilla6/gen_qscilexerlua.h index 082ca045a..8a70aca6b 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerlua.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerlua.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerLua* QsciLexerLua_new(); -QsciLexerLua* QsciLexerLua_new2(QObject* parent); +QsciLexerLua* QsciLexerLua_new2(); +QsciLexerLua* QsciLexerLua_new3(QObject* parent); void QsciLexerLua_virtbase(QsciLexerLua* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerLua_metaObject(const QsciLexerLua* self); void* QsciLexerLua_metacast(QsciLexerLua* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexermakefile.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexermakefile.cpp index fdae9eb6c..ef4e3cbb9 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexermakefile.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexermakefile.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerMakefile_disconnectNotify(QsciLexerMakefile*, i class MiqtVirtualQsciLexerMakefile final : public QsciLexerMakefile { public: + MiqtVirtualQsciLexerMakefile(): QsciLexerMakefile() {} MiqtVirtualQsciLexerMakefile(): QsciLexerMakefile() {} MiqtVirtualQsciLexerMakefile(QObject* parent): QsciLexerMakefile(parent) {} @@ -776,7 +777,11 @@ QsciLexerMakefile* QsciLexerMakefile_new() { return new (std::nothrow) MiqtVirtualQsciLexerMakefile(); } -QsciLexerMakefile* QsciLexerMakefile_new2(QObject* parent) { +QsciLexerMakefile* QsciLexerMakefile_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerMakefile(); +} + +QsciLexerMakefile* QsciLexerMakefile_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerMakefile(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexermakefile.go b/qt-restricted-extras/qscintilla6/gen_qscilexermakefile.go index 99e2b7a29..7c8d1c43c 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexermakefile.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexermakefile.go @@ -70,9 +70,15 @@ func NewQsciLexerMakefile() *QsciLexerMakefile { } // NewQsciLexerMakefile2 constructs a new QsciLexerMakefile object. -func NewQsciLexerMakefile2(parent *qt6.QObject) *QsciLexerMakefile { +func NewQsciLexerMakefile2() *QsciLexerMakefile { - return newQsciLexerMakefile(C.QsciLexerMakefile_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerMakefile(C.QsciLexerMakefile_new2()) +} + +// NewQsciLexerMakefile3 constructs a new QsciLexerMakefile object. +func NewQsciLexerMakefile3(parent *qt6.QObject) *QsciLexerMakefile { + + return newQsciLexerMakefile(C.QsciLexerMakefile_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerMakefile) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexermakefile.h b/qt-restricted-extras/qscintilla6/gen_qscilexermakefile.h index 354f42635..4c242666c 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexermakefile.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexermakefile.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerMakefile* QsciLexerMakefile_new(); -QsciLexerMakefile* QsciLexerMakefile_new2(QObject* parent); +QsciLexerMakefile* QsciLexerMakefile_new2(); +QsciLexerMakefile* QsciLexerMakefile_new3(QObject* parent); void QsciLexerMakefile_virtbase(QsciLexerMakefile* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerMakefile_metaObject(const QsciLexerMakefile* self); void* QsciLexerMakefile_metacast(QsciLexerMakefile* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexermarkdown.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexermarkdown.cpp index 1d0442f22..9b44ad531 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexermarkdown.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexermarkdown.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerMarkdown_disconnectNotify(QsciLexerMarkdown*, i class MiqtVirtualQsciLexerMarkdown final : public QsciLexerMarkdown { public: + MiqtVirtualQsciLexerMarkdown(): QsciLexerMarkdown() {} MiqtVirtualQsciLexerMarkdown(): QsciLexerMarkdown() {} MiqtVirtualQsciLexerMarkdown(QObject* parent): QsciLexerMarkdown(parent) {} @@ -776,7 +777,11 @@ QsciLexerMarkdown* QsciLexerMarkdown_new() { return new (std::nothrow) MiqtVirtualQsciLexerMarkdown(); } -QsciLexerMarkdown* QsciLexerMarkdown_new2(QObject* parent) { +QsciLexerMarkdown* QsciLexerMarkdown_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerMarkdown(); +} + +QsciLexerMarkdown* QsciLexerMarkdown_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerMarkdown(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexermarkdown.go b/qt-restricted-extras/qscintilla6/gen_qscilexermarkdown.go index 27b5cba26..a3004fb63 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexermarkdown.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexermarkdown.go @@ -85,9 +85,15 @@ func NewQsciLexerMarkdown() *QsciLexerMarkdown { } // NewQsciLexerMarkdown2 constructs a new QsciLexerMarkdown object. -func NewQsciLexerMarkdown2(parent *qt6.QObject) *QsciLexerMarkdown { +func NewQsciLexerMarkdown2() *QsciLexerMarkdown { - return newQsciLexerMarkdown(C.QsciLexerMarkdown_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerMarkdown(C.QsciLexerMarkdown_new2()) +} + +// NewQsciLexerMarkdown3 constructs a new QsciLexerMarkdown object. +func NewQsciLexerMarkdown3(parent *qt6.QObject) *QsciLexerMarkdown { + + return newQsciLexerMarkdown(C.QsciLexerMarkdown_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerMarkdown) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexermarkdown.h b/qt-restricted-extras/qscintilla6/gen_qscilexermarkdown.h index eb25fda1e..80ab8df6a 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexermarkdown.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexermarkdown.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerMarkdown* QsciLexerMarkdown_new(); -QsciLexerMarkdown* QsciLexerMarkdown_new2(QObject* parent); +QsciLexerMarkdown* QsciLexerMarkdown_new2(); +QsciLexerMarkdown* QsciLexerMarkdown_new3(QObject* parent); void QsciLexerMarkdown_virtbase(QsciLexerMarkdown* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerMarkdown_metaObject(const QsciLexerMarkdown* self); void* QsciLexerMarkdown_metacast(QsciLexerMarkdown* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexermatlab.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexermatlab.cpp index 3fed50cca..6cfadab61 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexermatlab.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexermatlab.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerMatlab_disconnectNotify(QsciLexerMatlab*, intpt class MiqtVirtualQsciLexerMatlab final : public QsciLexerMatlab { public: + MiqtVirtualQsciLexerMatlab(): QsciLexerMatlab() {} MiqtVirtualQsciLexerMatlab(): QsciLexerMatlab() {} MiqtVirtualQsciLexerMatlab(QObject* parent): QsciLexerMatlab(parent) {} @@ -776,7 +777,11 @@ QsciLexerMatlab* QsciLexerMatlab_new() { return new (std::nothrow) MiqtVirtualQsciLexerMatlab(); } -QsciLexerMatlab* QsciLexerMatlab_new2(QObject* parent) { +QsciLexerMatlab* QsciLexerMatlab_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerMatlab(); +} + +QsciLexerMatlab* QsciLexerMatlab_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerMatlab(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexermatlab.go b/qt-restricted-extras/qscintilla6/gen_qscilexermatlab.go index ca886ff96..d84a897d4 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexermatlab.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexermatlab.go @@ -72,9 +72,15 @@ func NewQsciLexerMatlab() *QsciLexerMatlab { } // NewQsciLexerMatlab2 constructs a new QsciLexerMatlab object. -func NewQsciLexerMatlab2(parent *qt6.QObject) *QsciLexerMatlab { +func NewQsciLexerMatlab2() *QsciLexerMatlab { - return newQsciLexerMatlab(C.QsciLexerMatlab_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerMatlab(C.QsciLexerMatlab_new2()) +} + +// NewQsciLexerMatlab3 constructs a new QsciLexerMatlab object. +func NewQsciLexerMatlab3(parent *qt6.QObject) *QsciLexerMatlab { + + return newQsciLexerMatlab(C.QsciLexerMatlab_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerMatlab) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexermatlab.h b/qt-restricted-extras/qscintilla6/gen_qscilexermatlab.h index b7a48b1c4..1df06c4c5 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexermatlab.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexermatlab.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerMatlab* QsciLexerMatlab_new(); -QsciLexerMatlab* QsciLexerMatlab_new2(QObject* parent); +QsciLexerMatlab* QsciLexerMatlab_new2(); +QsciLexerMatlab* QsciLexerMatlab_new3(QObject* parent); void QsciLexerMatlab_virtbase(QsciLexerMatlab* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerMatlab_metaObject(const QsciLexerMatlab* self); void* QsciLexerMatlab_metacast(QsciLexerMatlab* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexeroctave.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexeroctave.cpp index 3f2f7e743..ab0436816 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexeroctave.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexeroctave.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerOctave_disconnectNotify(QsciLexerOctave*, intpt class MiqtVirtualQsciLexerOctave final : public QsciLexerOctave { public: + MiqtVirtualQsciLexerOctave(): QsciLexerOctave() {} MiqtVirtualQsciLexerOctave(): QsciLexerOctave() {} MiqtVirtualQsciLexerOctave(QObject* parent): QsciLexerOctave(parent) {} @@ -776,7 +777,11 @@ QsciLexerOctave* QsciLexerOctave_new() { return new (std::nothrow) MiqtVirtualQsciLexerOctave(); } -QsciLexerOctave* QsciLexerOctave_new2(QObject* parent) { +QsciLexerOctave* QsciLexerOctave_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerOctave(); +} + +QsciLexerOctave* QsciLexerOctave_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerOctave(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexeroctave.go b/qt-restricted-extras/qscintilla6/gen_qscilexeroctave.go index 613208c1a..4d3474116 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexeroctave.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexeroctave.go @@ -58,9 +58,15 @@ func NewQsciLexerOctave() *QsciLexerOctave { } // NewQsciLexerOctave2 constructs a new QsciLexerOctave object. -func NewQsciLexerOctave2(parent *qt6.QObject) *QsciLexerOctave { +func NewQsciLexerOctave2() *QsciLexerOctave { - return newQsciLexerOctave(C.QsciLexerOctave_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerOctave(C.QsciLexerOctave_new2()) +} + +// NewQsciLexerOctave3 constructs a new QsciLexerOctave object. +func NewQsciLexerOctave3(parent *qt6.QObject) *QsciLexerOctave { + + return newQsciLexerOctave(C.QsciLexerOctave_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerOctave) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexeroctave.h b/qt-restricted-extras/qscintilla6/gen_qscilexeroctave.h index 6e751597b..697115a24 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexeroctave.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexeroctave.h @@ -45,7 +45,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerOctave* QsciLexerOctave_new(); -QsciLexerOctave* QsciLexerOctave_new2(QObject* parent); +QsciLexerOctave* QsciLexerOctave_new2(); +QsciLexerOctave* QsciLexerOctave_new3(QObject* parent); void QsciLexerOctave_virtbase(QsciLexerOctave* src, QsciLexerMatlab** outptr_QsciLexerMatlab); QMetaObject* QsciLexerOctave_metaObject(const QsciLexerOctave* self); void* QsciLexerOctave_metacast(QsciLexerOctave* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerpascal.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerpascal.cpp index 18f28a727..4a9e14b95 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerpascal.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerpascal.cpp @@ -69,6 +69,7 @@ void miqt_exec_callback_QsciLexerPascal_disconnectNotify(QsciLexerPascal*, intpt class MiqtVirtualQsciLexerPascal final : public QsciLexerPascal { public: + MiqtVirtualQsciLexerPascal(): QsciLexerPascal() {} MiqtVirtualQsciLexerPascal(): QsciLexerPascal() {} MiqtVirtualQsciLexerPascal(QObject* parent): QsciLexerPascal(parent) {} @@ -832,7 +833,11 @@ QsciLexerPascal* QsciLexerPascal_new() { return new (std::nothrow) MiqtVirtualQsciLexerPascal(); } -QsciLexerPascal* QsciLexerPascal_new2(QObject* parent) { +QsciLexerPascal* QsciLexerPascal_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerPascal(); +} + +QsciLexerPascal* QsciLexerPascal_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerPascal(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerpascal.go b/qt-restricted-extras/qscintilla6/gen_qscilexerpascal.go index 925719067..f0edb1468 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerpascal.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerpascal.go @@ -78,9 +78,15 @@ func NewQsciLexerPascal() *QsciLexerPascal { } // NewQsciLexerPascal2 constructs a new QsciLexerPascal object. -func NewQsciLexerPascal2(parent *qt6.QObject) *QsciLexerPascal { +func NewQsciLexerPascal2() *QsciLexerPascal { - return newQsciLexerPascal(C.QsciLexerPascal_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerPascal(C.QsciLexerPascal_new2()) +} + +// NewQsciLexerPascal3 constructs a new QsciLexerPascal object. +func NewQsciLexerPascal3(parent *qt6.QObject) *QsciLexerPascal { + + return newQsciLexerPascal(C.QsciLexerPascal_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerPascal) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerpascal.h b/qt-restricted-extras/qscintilla6/gen_qscilexerpascal.h index 7cc593fb3..b864c8472 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerpascal.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerpascal.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerPascal* QsciLexerPascal_new(); -QsciLexerPascal* QsciLexerPascal_new2(QObject* parent); +QsciLexerPascal* QsciLexerPascal_new2(); +QsciLexerPascal* QsciLexerPascal_new3(QObject* parent); void QsciLexerPascal_virtbase(QsciLexerPascal* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerPascal_metaObject(const QsciLexerPascal* self); void* QsciLexerPascal_metacast(QsciLexerPascal* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerperl.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerperl.cpp index 453148303..dff219312 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerperl.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerperl.cpp @@ -68,6 +68,7 @@ void miqt_exec_callback_QsciLexerPerl_disconnectNotify(QsciLexerPerl*, intptr_t, class MiqtVirtualQsciLexerPerl final : public QsciLexerPerl { public: + MiqtVirtualQsciLexerPerl(): QsciLexerPerl() {} MiqtVirtualQsciLexerPerl(): QsciLexerPerl() {} MiqtVirtualQsciLexerPerl(QObject* parent): QsciLexerPerl(parent) {} @@ -814,7 +815,11 @@ QsciLexerPerl* QsciLexerPerl_new() { return new (std::nothrow) MiqtVirtualQsciLexerPerl(); } -QsciLexerPerl* QsciLexerPerl_new2(QObject* parent) { +QsciLexerPerl* QsciLexerPerl_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerPerl(); +} + +QsciLexerPerl* QsciLexerPerl_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerPerl(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerperl.go b/qt-restricted-extras/qscintilla6/gen_qscilexerperl.go index 75470187b..4ebc69c3e 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerperl.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerperl.go @@ -104,9 +104,15 @@ func NewQsciLexerPerl() *QsciLexerPerl { } // NewQsciLexerPerl2 constructs a new QsciLexerPerl object. -func NewQsciLexerPerl2(parent *qt6.QObject) *QsciLexerPerl { +func NewQsciLexerPerl2() *QsciLexerPerl { - return newQsciLexerPerl(C.QsciLexerPerl_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerPerl(C.QsciLexerPerl_new2()) +} + +// NewQsciLexerPerl3 constructs a new QsciLexerPerl object. +func NewQsciLexerPerl3(parent *qt6.QObject) *QsciLexerPerl { + + return newQsciLexerPerl(C.QsciLexerPerl_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerPerl) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerperl.h b/qt-restricted-extras/qscintilla6/gen_qscilexerperl.h index 3e8aedd36..cacd32783 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerperl.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerperl.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerPerl* QsciLexerPerl_new(); -QsciLexerPerl* QsciLexerPerl_new2(QObject* parent); +QsciLexerPerl* QsciLexerPerl_new2(); +QsciLexerPerl* QsciLexerPerl_new3(QObject* parent); void QsciLexerPerl_virtbase(QsciLexerPerl* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerPerl_metaObject(const QsciLexerPerl* self); void* QsciLexerPerl_metacast(QsciLexerPerl* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerpo.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerpo.cpp index 72936e063..3509cb23b 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerpo.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerpo.cpp @@ -68,6 +68,7 @@ void miqt_exec_callback_QsciLexerPO_disconnectNotify(QsciLexerPO*, intptr_t, QMe class MiqtVirtualQsciLexerPO final : public QsciLexerPO { public: + MiqtVirtualQsciLexerPO(): QsciLexerPO() {} MiqtVirtualQsciLexerPO(): QsciLexerPO() {} MiqtVirtualQsciLexerPO(QObject* parent): QsciLexerPO(parent) {} @@ -814,7 +815,11 @@ QsciLexerPO* QsciLexerPO_new() { return new (std::nothrow) MiqtVirtualQsciLexerPO(); } -QsciLexerPO* QsciLexerPO_new2(QObject* parent) { +QsciLexerPO* QsciLexerPO_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerPO(); +} + +QsciLexerPO* QsciLexerPO_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerPO(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerpo.go b/qt-restricted-extras/qscintilla6/gen_qscilexerpo.go index 338de1c16..7c0995c86 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerpo.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerpo.go @@ -78,9 +78,15 @@ func NewQsciLexerPO() *QsciLexerPO { } // NewQsciLexerPO2 constructs a new QsciLexerPO object. -func NewQsciLexerPO2(parent *qt6.QObject) *QsciLexerPO { +func NewQsciLexerPO2() *QsciLexerPO { - return newQsciLexerPO(C.QsciLexerPO_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerPO(C.QsciLexerPO_new2()) +} + +// NewQsciLexerPO3 constructs a new QsciLexerPO object. +func NewQsciLexerPO3(parent *qt6.QObject) *QsciLexerPO { + + return newQsciLexerPO(C.QsciLexerPO_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerPO) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerpo.h b/qt-restricted-extras/qscintilla6/gen_qscilexerpo.h index 84f4b19fa..173c4a699 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerpo.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerpo.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerPO* QsciLexerPO_new(); -QsciLexerPO* QsciLexerPO_new2(QObject* parent); +QsciLexerPO* QsciLexerPO_new2(); +QsciLexerPO* QsciLexerPO_new3(QObject* parent); void QsciLexerPO_virtbase(QsciLexerPO* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerPO_metaObject(const QsciLexerPO* self); void* QsciLexerPO_metacast(QsciLexerPO* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerpostscript.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerpostscript.cpp index 36e3a370c..eb97eee98 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerpostscript.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerpostscript.cpp @@ -70,6 +70,7 @@ void miqt_exec_callback_QsciLexerPostScript_disconnectNotify(QsciLexerPostScript class MiqtVirtualQsciLexerPostScript final : public QsciLexerPostScript { public: + MiqtVirtualQsciLexerPostScript(): QsciLexerPostScript() {} MiqtVirtualQsciLexerPostScript(): QsciLexerPostScript() {} MiqtVirtualQsciLexerPostScript(QObject* parent): QsciLexerPostScript(parent) {} @@ -850,7 +851,11 @@ QsciLexerPostScript* QsciLexerPostScript_new() { return new (std::nothrow) MiqtVirtualQsciLexerPostScript(); } -QsciLexerPostScript* QsciLexerPostScript_new2(QObject* parent) { +QsciLexerPostScript* QsciLexerPostScript_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerPostScript(); +} + +QsciLexerPostScript* QsciLexerPostScript_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerPostScript(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerpostscript.go b/qt-restricted-extras/qscintilla6/gen_qscilexerpostscript.go index fbd59aa9d..3e46138a3 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerpostscript.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerpostscript.go @@ -79,9 +79,15 @@ func NewQsciLexerPostScript() *QsciLexerPostScript { } // NewQsciLexerPostScript2 constructs a new QsciLexerPostScript object. -func NewQsciLexerPostScript2(parent *qt6.QObject) *QsciLexerPostScript { +func NewQsciLexerPostScript2() *QsciLexerPostScript { - return newQsciLexerPostScript(C.QsciLexerPostScript_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerPostScript(C.QsciLexerPostScript_new2()) +} + +// NewQsciLexerPostScript3 constructs a new QsciLexerPostScript object. +func NewQsciLexerPostScript3(parent *qt6.QObject) *QsciLexerPostScript { + + return newQsciLexerPostScript(C.QsciLexerPostScript_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerPostScript) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerpostscript.h b/qt-restricted-extras/qscintilla6/gen_qscilexerpostscript.h index 6e3f7f815..8ceed7a82 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerpostscript.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerpostscript.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerPostScript* QsciLexerPostScript_new(); -QsciLexerPostScript* QsciLexerPostScript_new2(QObject* parent); +QsciLexerPostScript* QsciLexerPostScript_new2(); +QsciLexerPostScript* QsciLexerPostScript_new3(QObject* parent); void QsciLexerPostScript_virtbase(QsciLexerPostScript* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerPostScript_metaObject(const QsciLexerPostScript* self); void* QsciLexerPostScript_metacast(QsciLexerPostScript* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerpov.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerpov.cpp index c05c58264..1964d10a4 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerpov.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerpov.cpp @@ -69,6 +69,7 @@ void miqt_exec_callback_QsciLexerPOV_disconnectNotify(QsciLexerPOV*, intptr_t, Q class MiqtVirtualQsciLexerPOV final : public QsciLexerPOV { public: + MiqtVirtualQsciLexerPOV(): QsciLexerPOV() {} MiqtVirtualQsciLexerPOV(): QsciLexerPOV() {} MiqtVirtualQsciLexerPOV(QObject* parent): QsciLexerPOV(parent) {} @@ -832,7 +833,11 @@ QsciLexerPOV* QsciLexerPOV_new() { return new (std::nothrow) MiqtVirtualQsciLexerPOV(); } -QsciLexerPOV* QsciLexerPOV_new2(QObject* parent) { +QsciLexerPOV* QsciLexerPOV_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerPOV(); +} + +QsciLexerPOV* QsciLexerPOV_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerPOV(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerpov.go b/qt-restricted-extras/qscintilla6/gen_qscilexerpov.go index b00725f20..418ba9755 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerpov.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerpov.go @@ -80,9 +80,15 @@ func NewQsciLexerPOV() *QsciLexerPOV { } // NewQsciLexerPOV2 constructs a new QsciLexerPOV object. -func NewQsciLexerPOV2(parent *qt6.QObject) *QsciLexerPOV { +func NewQsciLexerPOV2() *QsciLexerPOV { - return newQsciLexerPOV(C.QsciLexerPOV_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerPOV(C.QsciLexerPOV_new2()) +} + +// NewQsciLexerPOV3 constructs a new QsciLexerPOV object. +func NewQsciLexerPOV3(parent *qt6.QObject) *QsciLexerPOV { + + return newQsciLexerPOV(C.QsciLexerPOV_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerPOV) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerpov.h b/qt-restricted-extras/qscintilla6/gen_qscilexerpov.h index 70fafd6a8..d560b72b8 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerpov.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerpov.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerPOV* QsciLexerPOV_new(); -QsciLexerPOV* QsciLexerPOV_new2(QObject* parent); +QsciLexerPOV* QsciLexerPOV_new2(); +QsciLexerPOV* QsciLexerPOV_new3(QObject* parent); void QsciLexerPOV_virtbase(QsciLexerPOV* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerPOV_metaObject(const QsciLexerPOV* self); void* QsciLexerPOV_metacast(QsciLexerPOV* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerproperties.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerproperties.cpp index 3694063b1..90d76e148 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerproperties.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerproperties.cpp @@ -67,6 +67,7 @@ void miqt_exec_callback_QsciLexerProperties_disconnectNotify(QsciLexerProperties class MiqtVirtualQsciLexerProperties final : public QsciLexerProperties { public: + MiqtVirtualQsciLexerProperties(): QsciLexerProperties() {} MiqtVirtualQsciLexerProperties(): QsciLexerProperties() {} MiqtVirtualQsciLexerProperties(QObject* parent): QsciLexerProperties(parent) {} @@ -796,7 +797,11 @@ QsciLexerProperties* QsciLexerProperties_new() { return new (std::nothrow) MiqtVirtualQsciLexerProperties(); } -QsciLexerProperties* QsciLexerProperties_new2(QObject* parent) { +QsciLexerProperties* QsciLexerProperties_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerProperties(); +} + +QsciLexerProperties* QsciLexerProperties_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerProperties(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerproperties.go b/qt-restricted-extras/qscintilla6/gen_qscilexerproperties.go index fbcdecac2..aa0834e12 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerproperties.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerproperties.go @@ -69,9 +69,15 @@ func NewQsciLexerProperties() *QsciLexerProperties { } // NewQsciLexerProperties2 constructs a new QsciLexerProperties object. -func NewQsciLexerProperties2(parent *qt6.QObject) *QsciLexerProperties { +func NewQsciLexerProperties2() *QsciLexerProperties { - return newQsciLexerProperties(C.QsciLexerProperties_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerProperties(C.QsciLexerProperties_new2()) +} + +// NewQsciLexerProperties3 constructs a new QsciLexerProperties object. +func NewQsciLexerProperties3(parent *qt6.QObject) *QsciLexerProperties { + + return newQsciLexerProperties(C.QsciLexerProperties_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerProperties) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerproperties.h b/qt-restricted-extras/qscintilla6/gen_qscilexerproperties.h index 898b85dad..7c133bbff 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerproperties.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerproperties.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerProperties* QsciLexerProperties_new(); -QsciLexerProperties* QsciLexerProperties_new2(QObject* parent); +QsciLexerProperties* QsciLexerProperties_new2(); +QsciLexerProperties* QsciLexerProperties_new3(QObject* parent); void QsciLexerProperties_virtbase(QsciLexerProperties* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerProperties_metaObject(const QsciLexerProperties* self); void* QsciLexerProperties_metacast(QsciLexerProperties* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerpython.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerpython.cpp index 489aa1000..0cf8c3fba 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerpython.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerpython.cpp @@ -69,6 +69,7 @@ void miqt_exec_callback_QsciLexerPython_disconnectNotify(QsciLexerPython*, intpt class MiqtVirtualQsciLexerPython final : public QsciLexerPython { public: + MiqtVirtualQsciLexerPython(): QsciLexerPython() {} MiqtVirtualQsciLexerPython(): QsciLexerPython() {} MiqtVirtualQsciLexerPython(QObject* parent): QsciLexerPython(parent) {} @@ -833,7 +834,11 @@ QsciLexerPython* QsciLexerPython_new() { return new (std::nothrow) MiqtVirtualQsciLexerPython(); } -QsciLexerPython* QsciLexerPython_new2(QObject* parent) { +QsciLexerPython* QsciLexerPython_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerPython(); +} + +QsciLexerPython* QsciLexerPython_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerPython(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerpython.go b/qt-restricted-extras/qscintilla6/gen_qscilexerpython.go index 255f5c89a..b3b2ce839 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerpython.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerpython.go @@ -93,9 +93,15 @@ func NewQsciLexerPython() *QsciLexerPython { } // NewQsciLexerPython2 constructs a new QsciLexerPython object. -func NewQsciLexerPython2(parent *qt6.QObject) *QsciLexerPython { +func NewQsciLexerPython2() *QsciLexerPython { - return newQsciLexerPython(C.QsciLexerPython_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerPython(C.QsciLexerPython_new2()) +} + +// NewQsciLexerPython3 constructs a new QsciLexerPython object. +func NewQsciLexerPython3(parent *qt6.QObject) *QsciLexerPython { + + return newQsciLexerPython(C.QsciLexerPython_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerPython) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerpython.h b/qt-restricted-extras/qscintilla6/gen_qscilexerpython.h index 59677760d..777e04ecb 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerpython.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerpython.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerPython* QsciLexerPython_new(); -QsciLexerPython* QsciLexerPython_new2(QObject* parent); +QsciLexerPython* QsciLexerPython_new2(); +QsciLexerPython* QsciLexerPython_new3(QObject* parent); void QsciLexerPython_virtbase(QsciLexerPython* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerPython_metaObject(const QsciLexerPython* self); void* QsciLexerPython_metacast(QsciLexerPython* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerruby.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerruby.cpp index 6fa56ad16..a570c0c00 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerruby.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerruby.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerRuby_disconnectNotify(QsciLexerRuby*, intptr_t, class MiqtVirtualQsciLexerRuby final : public QsciLexerRuby { public: + MiqtVirtualQsciLexerRuby(): QsciLexerRuby() {} MiqtVirtualQsciLexerRuby(): QsciLexerRuby() {} MiqtVirtualQsciLexerRuby(QObject* parent): QsciLexerRuby(parent) {} @@ -778,7 +779,11 @@ QsciLexerRuby* QsciLexerRuby_new() { return new (std::nothrow) MiqtVirtualQsciLexerRuby(); } -QsciLexerRuby* QsciLexerRuby_new2(QObject* parent) { +QsciLexerRuby* QsciLexerRuby_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerRuby(); +} + +QsciLexerRuby* QsciLexerRuby_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerRuby(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerruby.go b/qt-restricted-extras/qscintilla6/gen_qscilexerruby.go index 1370193eb..842be0a8e 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerruby.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerruby.go @@ -94,9 +94,15 @@ func NewQsciLexerRuby() *QsciLexerRuby { } // NewQsciLexerRuby2 constructs a new QsciLexerRuby object. -func NewQsciLexerRuby2(parent *qt6.QObject) *QsciLexerRuby { +func NewQsciLexerRuby2() *QsciLexerRuby { - return newQsciLexerRuby(C.QsciLexerRuby_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerRuby(C.QsciLexerRuby_new2()) +} + +// NewQsciLexerRuby3 constructs a new QsciLexerRuby object. +func NewQsciLexerRuby3(parent *qt6.QObject) *QsciLexerRuby { + + return newQsciLexerRuby(C.QsciLexerRuby_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerRuby) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerruby.h b/qt-restricted-extras/qscintilla6/gen_qscilexerruby.h index e15884b2c..9bb716a46 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerruby.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerruby.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerRuby* QsciLexerRuby_new(); -QsciLexerRuby* QsciLexerRuby_new2(QObject* parent); +QsciLexerRuby* QsciLexerRuby_new2(); +QsciLexerRuby* QsciLexerRuby_new3(QObject* parent); void QsciLexerRuby_virtbase(QsciLexerRuby* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerRuby_metaObject(const QsciLexerRuby* self); void* QsciLexerRuby_metacast(QsciLexerRuby* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerspice.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerspice.cpp index f333afd6b..47ecfb76e 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerspice.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerspice.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerSpice_disconnectNotify(QsciLexerSpice*, intptr_ class MiqtVirtualQsciLexerSpice final : public QsciLexerSpice { public: + MiqtVirtualQsciLexerSpice(): QsciLexerSpice() {} MiqtVirtualQsciLexerSpice(): QsciLexerSpice() {} MiqtVirtualQsciLexerSpice(QObject* parent): QsciLexerSpice(parent) {} @@ -776,7 +777,11 @@ QsciLexerSpice* QsciLexerSpice_new() { return new (std::nothrow) MiqtVirtualQsciLexerSpice(); } -QsciLexerSpice* QsciLexerSpice_new2(QObject* parent) { +QsciLexerSpice* QsciLexerSpice_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerSpice(); +} + +QsciLexerSpice* QsciLexerSpice_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerSpice(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerspice.go b/qt-restricted-extras/qscintilla6/gen_qscilexerspice.go index 4b6a27aa6..bf73c8d24 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerspice.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerspice.go @@ -72,9 +72,15 @@ func NewQsciLexerSpice() *QsciLexerSpice { } // NewQsciLexerSpice2 constructs a new QsciLexerSpice object. -func NewQsciLexerSpice2(parent *qt6.QObject) *QsciLexerSpice { +func NewQsciLexerSpice2() *QsciLexerSpice { - return newQsciLexerSpice(C.QsciLexerSpice_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerSpice(C.QsciLexerSpice_new2()) +} + +// NewQsciLexerSpice3 constructs a new QsciLexerSpice object. +func NewQsciLexerSpice3(parent *qt6.QObject) *QsciLexerSpice { + + return newQsciLexerSpice(C.QsciLexerSpice_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerSpice) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerspice.h b/qt-restricted-extras/qscintilla6/gen_qscilexerspice.h index d211ce3d2..86469b005 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerspice.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerspice.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerSpice* QsciLexerSpice_new(); -QsciLexerSpice* QsciLexerSpice_new2(QObject* parent); +QsciLexerSpice* QsciLexerSpice_new2(); +QsciLexerSpice* QsciLexerSpice_new3(QObject* parent); void QsciLexerSpice_virtbase(QsciLexerSpice* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerSpice_metaObject(const QsciLexerSpice* self); void* QsciLexerSpice_metacast(QsciLexerSpice* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexersql.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexersql.cpp index 76fbcafeb..c78c6fe8d 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexersql.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexersql.cpp @@ -69,6 +69,7 @@ void miqt_exec_callback_QsciLexerSQL_disconnectNotify(QsciLexerSQL*, intptr_t, Q class MiqtVirtualQsciLexerSQL final : public QsciLexerSQL { public: + MiqtVirtualQsciLexerSQL(): QsciLexerSQL() {} MiqtVirtualQsciLexerSQL(): QsciLexerSQL() {} MiqtVirtualQsciLexerSQL(QObject* parent): QsciLexerSQL(parent) {} @@ -832,7 +833,11 @@ QsciLexerSQL* QsciLexerSQL_new() { return new (std::nothrow) MiqtVirtualQsciLexerSQL(); } -QsciLexerSQL* QsciLexerSQL_new2(QObject* parent) { +QsciLexerSQL* QsciLexerSQL_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerSQL(); +} + +QsciLexerSQL* QsciLexerSQL_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerSQL(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexersql.go b/qt-restricted-extras/qscintilla6/gen_qscilexersql.go index d7def958f..0a960003c 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexersql.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexersql.go @@ -85,9 +85,15 @@ func NewQsciLexerSQL() *QsciLexerSQL { } // NewQsciLexerSQL2 constructs a new QsciLexerSQL object. -func NewQsciLexerSQL2(parent *qt6.QObject) *QsciLexerSQL { +func NewQsciLexerSQL2() *QsciLexerSQL { - return newQsciLexerSQL(C.QsciLexerSQL_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerSQL(C.QsciLexerSQL_new2()) +} + +// NewQsciLexerSQL3 constructs a new QsciLexerSQL object. +func NewQsciLexerSQL3(parent *qt6.QObject) *QsciLexerSQL { + + return newQsciLexerSQL(C.QsciLexerSQL_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerSQL) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexersql.h b/qt-restricted-extras/qscintilla6/gen_qscilexersql.h index 5ad6d4710..8fb27c771 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexersql.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexersql.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerSQL* QsciLexerSQL_new(); -QsciLexerSQL* QsciLexerSQL_new2(QObject* parent); +QsciLexerSQL* QsciLexerSQL_new2(); +QsciLexerSQL* QsciLexerSQL_new3(QObject* parent); void QsciLexerSQL_virtbase(QsciLexerSQL* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerSQL_metaObject(const QsciLexerSQL* self); void* QsciLexerSQL_metacast(QsciLexerSQL* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexertcl.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexertcl.cpp index fca619004..a7dd779ca 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexertcl.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexertcl.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerTCL_disconnectNotify(QsciLexerTCL*, intptr_t, Q class MiqtVirtualQsciLexerTCL final : public QsciLexerTCL { public: + MiqtVirtualQsciLexerTCL(): QsciLexerTCL() {} MiqtVirtualQsciLexerTCL(): QsciLexerTCL() {} MiqtVirtualQsciLexerTCL(QObject* parent): QsciLexerTCL(parent) {} @@ -778,7 +779,11 @@ QsciLexerTCL* QsciLexerTCL_new() { return new (std::nothrow) MiqtVirtualQsciLexerTCL(); } -QsciLexerTCL* QsciLexerTCL_new2(QObject* parent) { +QsciLexerTCL* QsciLexerTCL_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerTCL(); +} + +QsciLexerTCL* QsciLexerTCL_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerTCL(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexertcl.go b/qt-restricted-extras/qscintilla6/gen_qscilexertcl.go index c45da902c..293e84462 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexertcl.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexertcl.go @@ -85,9 +85,15 @@ func NewQsciLexerTCL() *QsciLexerTCL { } // NewQsciLexerTCL2 constructs a new QsciLexerTCL object. -func NewQsciLexerTCL2(parent *qt6.QObject) *QsciLexerTCL { +func NewQsciLexerTCL2() *QsciLexerTCL { - return newQsciLexerTCL(C.QsciLexerTCL_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerTCL(C.QsciLexerTCL_new2()) +} + +// NewQsciLexerTCL3 constructs a new QsciLexerTCL object. +func NewQsciLexerTCL3(parent *qt6.QObject) *QsciLexerTCL { + + return newQsciLexerTCL(C.QsciLexerTCL_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerTCL) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexertcl.h b/qt-restricted-extras/qscintilla6/gen_qscilexertcl.h index f83a5d76c..098efa9b3 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexertcl.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexertcl.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerTCL* QsciLexerTCL_new(); -QsciLexerTCL* QsciLexerTCL_new2(QObject* parent); +QsciLexerTCL* QsciLexerTCL_new2(); +QsciLexerTCL* QsciLexerTCL_new3(QObject* parent); void QsciLexerTCL_virtbase(QsciLexerTCL* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerTCL_metaObject(const QsciLexerTCL* self); void* QsciLexerTCL_metacast(QsciLexerTCL* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexertex.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexertex.cpp index 5b084b173..8114c1894 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexertex.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexertex.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerTeX_disconnectNotify(QsciLexerTeX*, intptr_t, Q class MiqtVirtualQsciLexerTeX final : public QsciLexerTeX { public: + MiqtVirtualQsciLexerTeX(): QsciLexerTeX() {} MiqtVirtualQsciLexerTeX(): QsciLexerTeX() {} MiqtVirtualQsciLexerTeX(QObject* parent): QsciLexerTeX(parent) {} @@ -778,7 +779,11 @@ QsciLexerTeX* QsciLexerTeX_new() { return new (std::nothrow) MiqtVirtualQsciLexerTeX(); } -QsciLexerTeX* QsciLexerTeX_new2(QObject* parent) { +QsciLexerTeX* QsciLexerTeX_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerTeX(); +} + +QsciLexerTeX* QsciLexerTeX_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerTeX(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexertex.go b/qt-restricted-extras/qscintilla6/gen_qscilexertex.go index 32c7c07fa..5ca838994 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexertex.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexertex.go @@ -69,9 +69,15 @@ func NewQsciLexerTeX() *QsciLexerTeX { } // NewQsciLexerTeX2 constructs a new QsciLexerTeX object. -func NewQsciLexerTeX2(parent *qt6.QObject) *QsciLexerTeX { +func NewQsciLexerTeX2() *QsciLexerTeX { - return newQsciLexerTeX(C.QsciLexerTeX_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerTeX(C.QsciLexerTeX_new2()) +} + +// NewQsciLexerTeX3 constructs a new QsciLexerTeX object. +func NewQsciLexerTeX3(parent *qt6.QObject) *QsciLexerTeX { + + return newQsciLexerTeX(C.QsciLexerTeX_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerTeX) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexertex.h b/qt-restricted-extras/qscintilla6/gen_qscilexertex.h index 13eaa1b68..c316162c7 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexertex.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexertex.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerTeX* QsciLexerTeX_new(); -QsciLexerTeX* QsciLexerTeX_new2(QObject* parent); +QsciLexerTeX* QsciLexerTeX_new2(); +QsciLexerTeX* QsciLexerTeX_new3(QObject* parent); void QsciLexerTeX_virtbase(QsciLexerTeX* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerTeX_metaObject(const QsciLexerTeX* self); void* QsciLexerTeX_metacast(QsciLexerTeX* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerverilog.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerverilog.cpp index 93d226782..dc0f60689 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerverilog.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerverilog.cpp @@ -66,6 +66,7 @@ void miqt_exec_callback_QsciLexerVerilog_disconnectNotify(QsciLexerVerilog*, int class MiqtVirtualQsciLexerVerilog final : public QsciLexerVerilog { public: + MiqtVirtualQsciLexerVerilog(): QsciLexerVerilog() {} MiqtVirtualQsciLexerVerilog(): QsciLexerVerilog() {} MiqtVirtualQsciLexerVerilog(QObject* parent): QsciLexerVerilog(parent) {} @@ -778,7 +779,11 @@ QsciLexerVerilog* QsciLexerVerilog_new() { return new (std::nothrow) MiqtVirtualQsciLexerVerilog(); } -QsciLexerVerilog* QsciLexerVerilog_new2(QObject* parent) { +QsciLexerVerilog* QsciLexerVerilog_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerVerilog(); +} + +QsciLexerVerilog* QsciLexerVerilog_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerVerilog(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerverilog.go b/qt-restricted-extras/qscintilla6/gen_qscilexerverilog.go index 3d63d35ce..354bfbf9c 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerverilog.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerverilog.go @@ -101,9 +101,15 @@ func NewQsciLexerVerilog() *QsciLexerVerilog { } // NewQsciLexerVerilog2 constructs a new QsciLexerVerilog object. -func NewQsciLexerVerilog2(parent *qt6.QObject) *QsciLexerVerilog { +func NewQsciLexerVerilog2() *QsciLexerVerilog { - return newQsciLexerVerilog(C.QsciLexerVerilog_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerVerilog(C.QsciLexerVerilog_new2()) +} + +// NewQsciLexerVerilog3 constructs a new QsciLexerVerilog object. +func NewQsciLexerVerilog3(parent *qt6.QObject) *QsciLexerVerilog { + + return newQsciLexerVerilog(C.QsciLexerVerilog_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerVerilog) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerverilog.h b/qt-restricted-extras/qscintilla6/gen_qscilexerverilog.h index 916147e93..584dcf117 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerverilog.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerverilog.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerVerilog* QsciLexerVerilog_new(); -QsciLexerVerilog* QsciLexerVerilog_new2(QObject* parent); +QsciLexerVerilog* QsciLexerVerilog_new2(); +QsciLexerVerilog* QsciLexerVerilog_new3(QObject* parent); void QsciLexerVerilog_virtbase(QsciLexerVerilog* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerVerilog_metaObject(const QsciLexerVerilog* self); void* QsciLexerVerilog_metacast(QsciLexerVerilog* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexervhdl.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexervhdl.cpp index 34416c751..6d6e36278 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexervhdl.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexervhdl.cpp @@ -71,6 +71,7 @@ void miqt_exec_callback_QsciLexerVHDL_disconnectNotify(QsciLexerVHDL*, intptr_t, class MiqtVirtualQsciLexerVHDL final : public QsciLexerVHDL { public: + MiqtVirtualQsciLexerVHDL(): QsciLexerVHDL() {} MiqtVirtualQsciLexerVHDL(): QsciLexerVHDL() {} MiqtVirtualQsciLexerVHDL(QObject* parent): QsciLexerVHDL(parent) {} @@ -868,7 +869,11 @@ QsciLexerVHDL* QsciLexerVHDL_new() { return new (std::nothrow) MiqtVirtualQsciLexerVHDL(); } -QsciLexerVHDL* QsciLexerVHDL_new2(QObject* parent) { +QsciLexerVHDL* QsciLexerVHDL_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerVHDL(); +} + +QsciLexerVHDL* QsciLexerVHDL_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerVHDL(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexervhdl.go b/qt-restricted-extras/qscintilla6/gen_qscilexervhdl.go index 54cf80972..817afeb8c 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexervhdl.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexervhdl.go @@ -79,9 +79,15 @@ func NewQsciLexerVHDL() *QsciLexerVHDL { } // NewQsciLexerVHDL2 constructs a new QsciLexerVHDL object. -func NewQsciLexerVHDL2(parent *qt6.QObject) *QsciLexerVHDL { +func NewQsciLexerVHDL2() *QsciLexerVHDL { - return newQsciLexerVHDL(C.QsciLexerVHDL_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerVHDL(C.QsciLexerVHDL_new2()) +} + +// NewQsciLexerVHDL3 constructs a new QsciLexerVHDL object. +func NewQsciLexerVHDL3(parent *qt6.QObject) *QsciLexerVHDL { + + return newQsciLexerVHDL(C.QsciLexerVHDL_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerVHDL) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexervhdl.h b/qt-restricted-extras/qscintilla6/gen_qscilexervhdl.h index e073d687e..052d36382 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexervhdl.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexervhdl.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerVHDL* QsciLexerVHDL_new(); -QsciLexerVHDL* QsciLexerVHDL_new2(QObject* parent); +QsciLexerVHDL* QsciLexerVHDL_new2(); +QsciLexerVHDL* QsciLexerVHDL_new3(QObject* parent); void QsciLexerVHDL_virtbase(QsciLexerVHDL* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerVHDL_metaObject(const QsciLexerVHDL* self); void* QsciLexerVHDL_metacast(QsciLexerVHDL* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerxml.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexerxml.cpp index 024de6894..c175881bd 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerxml.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerxml.cpp @@ -69,6 +69,7 @@ void miqt_exec_callback_QsciLexerXML_disconnectNotify(QsciLexerXML*, intptr_t, Q class MiqtVirtualQsciLexerXML final : public QsciLexerXML { public: + MiqtVirtualQsciLexerXML(): QsciLexerXML() {} MiqtVirtualQsciLexerXML(): QsciLexerXML() {} MiqtVirtualQsciLexerXML(QObject* parent): QsciLexerXML(parent) {} @@ -832,7 +833,11 @@ QsciLexerXML* QsciLexerXML_new() { return new (std::nothrow) MiqtVirtualQsciLexerXML(); } -QsciLexerXML* QsciLexerXML_new2(QObject* parent) { +QsciLexerXML* QsciLexerXML_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerXML(); +} + +QsciLexerXML* QsciLexerXML_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerXML(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerxml.go b/qt-restricted-extras/qscintilla6/gen_qscilexerxml.go index e951b4021..1f4c4c10f 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerxml.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerxml.go @@ -58,9 +58,15 @@ func NewQsciLexerXML() *QsciLexerXML { } // NewQsciLexerXML2 constructs a new QsciLexerXML object. -func NewQsciLexerXML2(parent *qt6.QObject) *QsciLexerXML { +func NewQsciLexerXML2() *QsciLexerXML { - return newQsciLexerXML(C.QsciLexerXML_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerXML(C.QsciLexerXML_new2()) +} + +// NewQsciLexerXML3 constructs a new QsciLexerXML object. +func NewQsciLexerXML3(parent *qt6.QObject) *QsciLexerXML { + + return newQsciLexerXML(C.QsciLexerXML_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerXML) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexerxml.h b/qt-restricted-extras/qscintilla6/gen_qscilexerxml.h index d0fee1f28..58e555812 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexerxml.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexerxml.h @@ -45,7 +45,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerXML* QsciLexerXML_new(); -QsciLexerXML* QsciLexerXML_new2(QObject* parent); +QsciLexerXML* QsciLexerXML_new2(); +QsciLexerXML* QsciLexerXML_new3(QObject* parent); void QsciLexerXML_virtbase(QsciLexerXML* src, QsciLexerHTML** outptr_QsciLexerHTML); QMetaObject* QsciLexerXML_metaObject(const QsciLexerXML* self); void* QsciLexerXML_metacast(QsciLexerXML* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexeryaml.cpp b/qt-restricted-extras/qscintilla6/gen_qscilexeryaml.cpp index 0df581a7d..f12df24a6 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexeryaml.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscilexeryaml.cpp @@ -67,6 +67,7 @@ void miqt_exec_callback_QsciLexerYAML_disconnectNotify(QsciLexerYAML*, intptr_t, class MiqtVirtualQsciLexerYAML final : public QsciLexerYAML { public: + MiqtVirtualQsciLexerYAML(): QsciLexerYAML() {} MiqtVirtualQsciLexerYAML(): QsciLexerYAML() {} MiqtVirtualQsciLexerYAML(QObject* parent): QsciLexerYAML(parent) {} @@ -796,7 +797,11 @@ QsciLexerYAML* QsciLexerYAML_new() { return new (std::nothrow) MiqtVirtualQsciLexerYAML(); } -QsciLexerYAML* QsciLexerYAML_new2(QObject* parent) { +QsciLexerYAML* QsciLexerYAML_new2() { + return new (std::nothrow) MiqtVirtualQsciLexerYAML(); +} + +QsciLexerYAML* QsciLexerYAML_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQsciLexerYAML(parent); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexeryaml.go b/qt-restricted-extras/qscintilla6/gen_qscilexeryaml.go index c4c6c7a10..9b787c89c 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexeryaml.go +++ b/qt-restricted-extras/qscintilla6/gen_qscilexeryaml.go @@ -73,9 +73,15 @@ func NewQsciLexerYAML() *QsciLexerYAML { } // NewQsciLexerYAML2 constructs a new QsciLexerYAML object. -func NewQsciLexerYAML2(parent *qt6.QObject) *QsciLexerYAML { +func NewQsciLexerYAML2() *QsciLexerYAML { - return newQsciLexerYAML(C.QsciLexerYAML_new2((*C.QObject)(parent.UnsafePointer()))) + return newQsciLexerYAML(C.QsciLexerYAML_new2()) +} + +// NewQsciLexerYAML3 constructs a new QsciLexerYAML object. +func NewQsciLexerYAML3(parent *qt6.QObject) *QsciLexerYAML { + + return newQsciLexerYAML(C.QsciLexerYAML_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QsciLexerYAML) MetaObject() *qt6.QMetaObject { diff --git a/qt-restricted-extras/qscintilla6/gen_qscilexeryaml.h b/qt-restricted-extras/qscintilla6/gen_qscilexeryaml.h index 714d9f827..4728b1889 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscilexeryaml.h +++ b/qt-restricted-extras/qscintilla6/gen_qscilexeryaml.h @@ -43,7 +43,8 @@ typedef struct QsciScintilla QsciScintilla; #endif QsciLexerYAML* QsciLexerYAML_new(); -QsciLexerYAML* QsciLexerYAML_new2(QObject* parent); +QsciLexerYAML* QsciLexerYAML_new2(); +QsciLexerYAML* QsciLexerYAML_new3(QObject* parent); void QsciLexerYAML_virtbase(QsciLexerYAML* src, QsciLexer** outptr_QsciLexer); QMetaObject* QsciLexerYAML_metaObject(const QsciLexerYAML* self); void* QsciLexerYAML_metacast(QsciLexerYAML* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qsciprinter.cpp b/qt-restricted-extras/qscintilla6/gen_qsciprinter.cpp index 4297b9daa..0308a62a3 100644 --- a/qt-restricted-extras/qscintilla6/gen_qsciprinter.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qsciprinter.cpp @@ -41,6 +41,7 @@ QPainter* miqt_exec_callback_QsciPrinter_sharedPainter(const QsciPrinter*, intpt class MiqtVirtualQsciPrinter final : public QsciPrinter { public: + MiqtVirtualQsciPrinter(): QsciPrinter() {} MiqtVirtualQsciPrinter(): QsciPrinter() {} MiqtVirtualQsciPrinter(QPrinter::PrinterMode mode): QsciPrinter(mode) {} @@ -354,7 +355,11 @@ QsciPrinter* QsciPrinter_new() { return new (std::nothrow) MiqtVirtualQsciPrinter(); } -QsciPrinter* QsciPrinter_new2(int mode) { +QsciPrinter* QsciPrinter_new2() { + return new (std::nothrow) MiqtVirtualQsciPrinter(); +} + +QsciPrinter* QsciPrinter_new3(int mode) { return new (std::nothrow) MiqtVirtualQsciPrinter(static_cast(mode)); } diff --git a/qt-restricted-extras/qscintilla6/gen_qsciprinter.go b/qt-restricted-extras/qscintilla6/gen_qsciprinter.go index 5cd2e4ad2..7e86c5ae4 100644 --- a/qt-restricted-extras/qscintilla6/gen_qsciprinter.go +++ b/qt-restricted-extras/qscintilla6/gen_qsciprinter.go @@ -59,9 +59,15 @@ func NewQsciPrinter() *QsciPrinter { } // NewQsciPrinter2 constructs a new QsciPrinter object. -func NewQsciPrinter2(mode printsupport.QPrinter__PrinterMode) *QsciPrinter { +func NewQsciPrinter2() *QsciPrinter { - return newQsciPrinter(C.QsciPrinter_new2((C.int)(mode))) + return newQsciPrinter(C.QsciPrinter_new2()) +} + +// NewQsciPrinter3 constructs a new QsciPrinter object. +func NewQsciPrinter3(mode printsupport.QPrinter__PrinterMode) *QsciPrinter { + + return newQsciPrinter(C.QsciPrinter_new3((C.int)(mode))) } func (this *QsciPrinter) FormatPage(painter *qt6.QPainter, drawing bool, area *qt6.QRect, pagenr int) { diff --git a/qt-restricted-extras/qscintilla6/gen_qsciprinter.h b/qt-restricted-extras/qscintilla6/gen_qsciprinter.h index 0c140f66f..fc2e1ac48 100644 --- a/qt-restricted-extras/qscintilla6/gen_qsciprinter.h +++ b/qt-restricted-extras/qscintilla6/gen_qsciprinter.h @@ -47,7 +47,8 @@ typedef struct QsciScintillaBase QsciScintillaBase; #endif QsciPrinter* QsciPrinter_new(); -QsciPrinter* QsciPrinter_new2(int mode); +QsciPrinter* QsciPrinter_new2(); +QsciPrinter* QsciPrinter_new3(int mode); void QsciPrinter_virtbase(QsciPrinter* src, QPrinter** outptr_QPrinter); void QsciPrinter_formatPage(QsciPrinter* self, QPainter* painter, bool drawing, QRect* area, int pagenr); int QsciPrinter_magnification(const QsciPrinter* self); diff --git a/qt-restricted-extras/qscintilla6/gen_qsciscintilla.cpp b/qt-restricted-extras/qscintilla6/gen_qsciscintilla.cpp index 31c540309..e2de5124c 100644 --- a/qt-restricted-extras/qscintilla6/gen_qsciscintilla.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qsciscintilla.cpp @@ -212,6 +212,7 @@ class MiqtVirtualQsciScintilla final : public QsciScintilla { MiqtVirtualQsciScintilla(QWidget* parent): QsciScintilla(parent) {} MiqtVirtualQsciScintilla(): QsciScintilla() {} + MiqtVirtualQsciScintilla(): QsciScintilla() {} virtual ~MiqtVirtualQsciScintilla() override = default; @@ -2695,6 +2696,10 @@ QsciScintilla* QsciScintilla_new2() { return new (std::nothrow) MiqtVirtualQsciScintilla(); } +QsciScintilla* QsciScintilla_new3() { + return new (std::nothrow) MiqtVirtualQsciScintilla(); +} + void QsciScintilla_virtbase(QsciScintilla* src, QsciScintillaBase** outptr_QsciScintillaBase) { *outptr_QsciScintillaBase = static_cast(src); } diff --git a/qt-restricted-extras/qscintilla6/gen_qsciscintilla.go b/qt-restricted-extras/qscintilla6/gen_qsciscintilla.go index fd0b3d553..c21bf5177 100644 --- a/qt-restricted-extras/qscintilla6/gen_qsciscintilla.go +++ b/qt-restricted-extras/qscintilla6/gen_qsciscintilla.go @@ -267,6 +267,12 @@ func NewQsciScintilla2() *QsciScintilla { return newQsciScintilla(C.QsciScintilla_new2()) } +// NewQsciScintilla3 constructs a new QsciScintilla object. +func NewQsciScintilla3() *QsciScintilla { + + return newQsciScintilla(C.QsciScintilla_new3()) +} + func (this *QsciScintilla) MetaObject() *qt6.QMetaObject { return qt6.UnsafeNewQMetaObject(unsafe.Pointer(C.QsciScintilla_metaObject(this.h))) } diff --git a/qt-restricted-extras/qscintilla6/gen_qsciscintilla.h b/qt-restricted-extras/qscintilla6/gen_qsciscintilla.h index 62cb0c9eb..26b8585d8 100644 --- a/qt-restricted-extras/qscintilla6/gen_qsciscintilla.h +++ b/qt-restricted-extras/qscintilla6/gen_qsciscintilla.h @@ -120,6 +120,7 @@ typedef struct QsciStyledText QsciStyledText; QsciScintilla* QsciScintilla_new(QWidget* parent); QsciScintilla* QsciScintilla_new2(); +QsciScintilla* QsciScintilla_new3(); void QsciScintilla_virtbase(QsciScintilla* src, QsciScintillaBase** outptr_QsciScintillaBase); QMetaObject* QsciScintilla_metaObject(const QsciScintilla* self); void* QsciScintilla_metacast(QsciScintilla* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qsciscintillabase.cpp b/qt-restricted-extras/qscintilla6/gen_qsciscintillabase.cpp index 8b79083cc..6dd4e54ce 100644 --- a/qt-restricted-extras/qscintilla6/gen_qsciscintillabase.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qsciscintillabase.cpp @@ -152,6 +152,7 @@ class MiqtVirtualQsciScintillaBase final : public QsciScintillaBase { MiqtVirtualQsciScintillaBase(QWidget* parent): QsciScintillaBase(parent) {} MiqtVirtualQsciScintillaBase(): QsciScintillaBase() {} + MiqtVirtualQsciScintillaBase(): QsciScintillaBase() {} virtual ~MiqtVirtualQsciScintillaBase() override = default; @@ -1115,6 +1116,10 @@ QsciScintillaBase* QsciScintillaBase_new2() { return new (std::nothrow) MiqtVirtualQsciScintillaBase(); } +QsciScintillaBase* QsciScintillaBase_new3() { + return new (std::nothrow) MiqtVirtualQsciScintillaBase(); +} + void QsciScintillaBase_virtbase(QsciScintillaBase* src, QAbstractScrollArea** outptr_QAbstractScrollArea) { *outptr_QAbstractScrollArea = static_cast(src); } diff --git a/qt-restricted-extras/qscintilla6/gen_qsciscintillabase.go b/qt-restricted-extras/qscintilla6/gen_qsciscintillabase.go index 81138a5c5..8cfe448f6 100644 --- a/qt-restricted-extras/qscintilla6/gen_qsciscintillabase.go +++ b/qt-restricted-extras/qscintilla6/gen_qsciscintillabase.go @@ -1233,6 +1233,12 @@ func NewQsciScintillaBase2() *QsciScintillaBase { return newQsciScintillaBase(C.QsciScintillaBase_new2()) } +// NewQsciScintillaBase3 constructs a new QsciScintillaBase object. +func NewQsciScintillaBase3() *QsciScintillaBase { + + return newQsciScintillaBase(C.QsciScintillaBase_new3()) +} + func (this *QsciScintillaBase) MetaObject() *qt6.QMetaObject { return qt6.UnsafeNewQMetaObject(unsafe.Pointer(C.QsciScintillaBase_metaObject(this.h))) } diff --git a/qt-restricted-extras/qscintilla6/gen_qsciscintillabase.h b/qt-restricted-extras/qscintilla6/gen_qsciscintillabase.h index 273d30fdd..7cdc818b9 100644 --- a/qt-restricted-extras/qscintilla6/gen_qsciscintillabase.h +++ b/qt-restricted-extras/qscintilla6/gen_qsciscintillabase.h @@ -108,6 +108,7 @@ typedef struct QsciScintillaBase QsciScintillaBase; QsciScintillaBase* QsciScintillaBase_new(QWidget* parent); QsciScintillaBase* QsciScintillaBase_new2(); +QsciScintillaBase* QsciScintillaBase_new3(); void QsciScintillaBase_virtbase(QsciScintillaBase* src, QAbstractScrollArea** outptr_QAbstractScrollArea); QMetaObject* QsciScintillaBase_metaObject(const QsciScintillaBase* self); void* QsciScintillaBase_metacast(QsciScintillaBase* self, const char* param1); diff --git a/qt-restricted-extras/qscintilla6/gen_qscistyle.cpp b/qt-restricted-extras/qscintilla6/gen_qscistyle.cpp index e0ddc8dfb..b791c02e8 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscistyle.cpp +++ b/qt-restricted-extras/qscintilla6/gen_qscistyle.cpp @@ -27,11 +27,15 @@ QsciStyle* QsciStyle_new3(QsciStyle* param1) { return new (std::nothrow) QsciStyle(*param1); } -QsciStyle* QsciStyle_new4(int style) { +QsciStyle* QsciStyle_new4() { + return new (std::nothrow) QsciStyle(); +} + +QsciStyle* QsciStyle_new5(int style) { return new (std::nothrow) QsciStyle(static_cast(style)); } -QsciStyle* QsciStyle_new5(int style, struct miqt_string description, QColor* color, QColor* paper, QFont* font, bool eolFill) { +QsciStyle* QsciStyle_new6(int style, struct miqt_string description, QColor* color, QColor* paper, QFont* font, bool eolFill) { QString description_QString = QString::fromUtf8(description.data, description.len); return new (std::nothrow) QsciStyle(static_cast(style), description_QString, *color, *paper, *font, eolFill); } diff --git a/qt-restricted-extras/qscintilla6/gen_qscistyle.go b/qt-restricted-extras/qscintilla6/gen_qscistyle.go index 3201652fd..c0a5a22b1 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscistyle.go +++ b/qt-restricted-extras/qscintilla6/gen_qscistyle.go @@ -77,19 +77,25 @@ func NewQsciStyle3(param1 *QsciStyle) *QsciStyle { } // NewQsciStyle4 constructs a new QsciStyle object. -func NewQsciStyle4(style int) *QsciStyle { +func NewQsciStyle4() *QsciStyle { - return newQsciStyle(C.QsciStyle_new4((C.int)(style))) + return newQsciStyle(C.QsciStyle_new4()) } // NewQsciStyle5 constructs a new QsciStyle object. -func NewQsciStyle5(style int, description string, color *qt6.QColor, paper *qt6.QColor, font *qt6.QFont, eolFill bool) *QsciStyle { +func NewQsciStyle5(style int) *QsciStyle { + + return newQsciStyle(C.QsciStyle_new5((C.int)(style))) +} + +// NewQsciStyle6 constructs a new QsciStyle object. +func NewQsciStyle6(style int, description string, color *qt6.QColor, paper *qt6.QColor, font *qt6.QFont, eolFill bool) *QsciStyle { description_ms := C.struct_miqt_string{} description_ms.data = C.CString(description) description_ms.len = C.size_t(len(description)) defer C.free(unsafe.Pointer(description_ms.data)) - return newQsciStyle(C.QsciStyle_new5((C.int)(style), description_ms, (*C.QColor)(color.UnsafePointer()), (*C.QColor)(paper.UnsafePointer()), (*C.QFont)(font.UnsafePointer()), (C.bool)(eolFill))) + return newQsciStyle(C.QsciStyle_new6((C.int)(style), description_ms, (*C.QColor)(color.UnsafePointer()), (*C.QColor)(paper.UnsafePointer()), (*C.QFont)(font.UnsafePointer()), (C.bool)(eolFill))) } func (this *QsciStyle) Apply(sci *QsciScintillaBase) { diff --git a/qt-restricted-extras/qscintilla6/gen_qscistyle.h b/qt-restricted-extras/qscintilla6/gen_qscistyle.h index 12ae56d63..572debd73 100644 --- a/qt-restricted-extras/qscintilla6/gen_qscistyle.h +++ b/qt-restricted-extras/qscintilla6/gen_qscistyle.h @@ -29,8 +29,9 @@ typedef struct QsciStyle QsciStyle; QsciStyle* QsciStyle_new(); QsciStyle* QsciStyle_new2(int style, struct miqt_string description, QColor* color, QColor* paper, QFont* font); QsciStyle* QsciStyle_new3(QsciStyle* param1); -QsciStyle* QsciStyle_new4(int style); -QsciStyle* QsciStyle_new5(int style, struct miqt_string description, QColor* color, QColor* paper, QFont* font, bool eolFill); +QsciStyle* QsciStyle_new4(); +QsciStyle* QsciStyle_new5(int style); +QsciStyle* QsciStyle_new6(int style, struct miqt_string description, QColor* color, QColor* paper, QFont* font, bool eolFill); void QsciStyle_apply(const QsciStyle* self, QsciScintillaBase* sci); void QsciStyle_setStyle(QsciStyle* self, int style); int QsciStyle_style(const QsciStyle* self); diff --git a/qt/designer/gen_abstractformeditor.cpp b/qt/designer/gen_abstractformeditor.cpp index 5f2e9bb6f..fddce3204 100644 --- a/qt/designer/gen_abstractformeditor.cpp +++ b/qt/designer/gen_abstractformeditor.cpp @@ -45,6 +45,7 @@ void miqt_exec_callback_QDesignerFormEditorInterface_disconnectNotify(QDesignerF class MiqtVirtualQDesignerFormEditorInterface final : public QDesignerFormEditorInterface { public: + MiqtVirtualQDesignerFormEditorInterface(): QDesignerFormEditorInterface() {} MiqtVirtualQDesignerFormEditorInterface(): QDesignerFormEditorInterface() {} MiqtVirtualQDesignerFormEditorInterface(QObject* parent): QDesignerFormEditorInterface(parent) {} @@ -189,7 +190,11 @@ QDesignerFormEditorInterface* QDesignerFormEditorInterface_new() { return new (std::nothrow) MiqtVirtualQDesignerFormEditorInterface(); } -QDesignerFormEditorInterface* QDesignerFormEditorInterface_new2(QObject* parent) { +QDesignerFormEditorInterface* QDesignerFormEditorInterface_new2() { + return new (std::nothrow) MiqtVirtualQDesignerFormEditorInterface(); +} + +QDesignerFormEditorInterface* QDesignerFormEditorInterface_new3(QObject* parent) { return new (std::nothrow) MiqtVirtualQDesignerFormEditorInterface(parent); } diff --git a/qt/designer/gen_abstractformeditor.go b/qt/designer/gen_abstractformeditor.go index e90d352b2..68387ddfd 100644 --- a/qt/designer/gen_abstractformeditor.go +++ b/qt/designer/gen_abstractformeditor.go @@ -58,9 +58,15 @@ func NewQDesignerFormEditorInterface() *QDesignerFormEditorInterface { } // NewQDesignerFormEditorInterface2 constructs a new QDesignerFormEditorInterface object. -func NewQDesignerFormEditorInterface2(parent *qt.QObject) *QDesignerFormEditorInterface { +func NewQDesignerFormEditorInterface2() *QDesignerFormEditorInterface { - return newQDesignerFormEditorInterface(C.QDesignerFormEditorInterface_new2((*C.QObject)(parent.UnsafePointer()))) + return newQDesignerFormEditorInterface(C.QDesignerFormEditorInterface_new2()) +} + +// NewQDesignerFormEditorInterface3 constructs a new QDesignerFormEditorInterface object. +func NewQDesignerFormEditorInterface3(parent *qt.QObject) *QDesignerFormEditorInterface { + + return newQDesignerFormEditorInterface(C.QDesignerFormEditorInterface_new3((*C.QObject)(parent.UnsafePointer()))) } func (this *QDesignerFormEditorInterface) MetaObject() *qt.QMetaObject { diff --git a/qt/designer/gen_abstractformeditor.h b/qt/designer/gen_abstractformeditor.h index fd597c536..c2954d99a 100644 --- a/qt/designer/gen_abstractformeditor.h +++ b/qt/designer/gen_abstractformeditor.h @@ -63,7 +63,8 @@ typedef struct QWidget QWidget; #endif QDesignerFormEditorInterface* QDesignerFormEditorInterface_new(); -QDesignerFormEditorInterface* QDesignerFormEditorInterface_new2(QObject* parent); +QDesignerFormEditorInterface* QDesignerFormEditorInterface_new2(); +QDesignerFormEditorInterface* QDesignerFormEditorInterface_new3(QObject* parent); void QDesignerFormEditorInterface_virtbase(QDesignerFormEditorInterface* src, QObject** outptr_QObject); QMetaObject* QDesignerFormEditorInterface_metaObject(const QDesignerFormEditorInterface* self); void* QDesignerFormEditorInterface_metacast(QDesignerFormEditorInterface* self, const char* param1); diff --git a/qt/designer/gen_abstractwidgetbox.cpp b/qt/designer/gen_abstractwidgetbox.cpp index 834f4d75c..b95139178 100644 --- a/qt/designer/gen_abstractwidgetbox.cpp +++ b/qt/designer/gen_abstractwidgetbox.cpp @@ -2189,25 +2189,29 @@ QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new2(QD return new (std::nothrow) QDesignerWidgetBoxInterface::Widget(*w); } -QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new3(struct miqt_string aname) { +QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new3() { + return new (std::nothrow) QDesignerWidgetBoxInterface::Widget(); +} + +QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new4(struct miqt_string aname) { QString aname_QString = QString::fromUtf8(aname.data, aname.len); return new (std::nothrow) QDesignerWidgetBoxInterface::Widget(aname_QString); } -QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new4(struct miqt_string aname, struct miqt_string xml) { +QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new5(struct miqt_string aname, struct miqt_string xml) { QString aname_QString = QString::fromUtf8(aname.data, aname.len); QString xml_QString = QString::fromUtf8(xml.data, xml.len); return new (std::nothrow) QDesignerWidgetBoxInterface::Widget(aname_QString, xml_QString); } -QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new5(struct miqt_string aname, struct miqt_string xml, struct miqt_string icon_name) { +QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new6(struct miqt_string aname, struct miqt_string xml, struct miqt_string icon_name) { QString aname_QString = QString::fromUtf8(aname.data, aname.len); QString xml_QString = QString::fromUtf8(xml.data, xml.len); QString icon_name_QString = QString::fromUtf8(icon_name.data, icon_name.len); return new (std::nothrow) QDesignerWidgetBoxInterface::Widget(aname_QString, xml_QString, icon_name_QString); } -QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new6(struct miqt_string aname, struct miqt_string xml, struct miqt_string icon_name, int atype) { +QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new7(struct miqt_string aname, struct miqt_string xml, struct miqt_string icon_name, int atype) { QString aname_QString = QString::fromUtf8(aname.data, aname.len); QString xml_QString = QString::fromUtf8(xml.data, xml.len); QString icon_name_QString = QString::fromUtf8(icon_name.data, icon_name.len); @@ -2291,12 +2295,16 @@ QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new return new (std::nothrow) QDesignerWidgetBoxInterface::Category(*param1); } -QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new3(struct miqt_string aname) { +QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new3() { + return new (std::nothrow) QDesignerWidgetBoxInterface::Category(); +} + +QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new4(struct miqt_string aname) { QString aname_QString = QString::fromUtf8(aname.data, aname.len); return new (std::nothrow) QDesignerWidgetBoxInterface::Category(aname_QString); } -QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new4(struct miqt_string aname, int atype) { +QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new5(struct miqt_string aname, int atype) { QString aname_QString = QString::fromUtf8(aname.data, aname.len); return new (std::nothrow) QDesignerWidgetBoxInterface::Category(aname_QString, static_cast(atype)); } diff --git a/qt/designer/gen_abstractwidgetbox.go b/qt/designer/gen_abstractwidgetbox.go index 3cb38c6ba..896ea870f 100644 --- a/qt/designer/gen_abstractwidgetbox.go +++ b/qt/designer/gen_abstractwidgetbox.go @@ -1949,17 +1949,23 @@ func NewQDesignerWidgetBoxInterface__Widget2(w *QDesignerWidgetBoxInterface__Wid } // NewQDesignerWidgetBoxInterface__Widget3 constructs a new QDesignerWidgetBoxInterface::Widget object. -func NewQDesignerWidgetBoxInterface__Widget3(aname string) *QDesignerWidgetBoxInterface__Widget { +func NewQDesignerWidgetBoxInterface__Widget3() *QDesignerWidgetBoxInterface__Widget { + + return newQDesignerWidgetBoxInterface__Widget(C.QDesignerWidgetBoxInterface__Widget_new3()) +} + +// NewQDesignerWidgetBoxInterface__Widget4 constructs a new QDesignerWidgetBoxInterface::Widget object. +func NewQDesignerWidgetBoxInterface__Widget4(aname string) *QDesignerWidgetBoxInterface__Widget { aname_ms := C.struct_miqt_string{} aname_ms.data = C.CString(aname) aname_ms.len = C.size_t(len(aname)) defer C.free(unsafe.Pointer(aname_ms.data)) - return newQDesignerWidgetBoxInterface__Widget(C.QDesignerWidgetBoxInterface__Widget_new3(aname_ms)) + return newQDesignerWidgetBoxInterface__Widget(C.QDesignerWidgetBoxInterface__Widget_new4(aname_ms)) } -// NewQDesignerWidgetBoxInterface__Widget4 constructs a new QDesignerWidgetBoxInterface::Widget object. -func NewQDesignerWidgetBoxInterface__Widget4(aname string, xml string) *QDesignerWidgetBoxInterface__Widget { +// NewQDesignerWidgetBoxInterface__Widget5 constructs a new QDesignerWidgetBoxInterface::Widget object. +func NewQDesignerWidgetBoxInterface__Widget5(aname string, xml string) *QDesignerWidgetBoxInterface__Widget { aname_ms := C.struct_miqt_string{} aname_ms.data = C.CString(aname) aname_ms.len = C.size_t(len(aname)) @@ -1969,11 +1975,11 @@ func NewQDesignerWidgetBoxInterface__Widget4(aname string, xml string) *QDesigne xml_ms.len = C.size_t(len(xml)) defer C.free(unsafe.Pointer(xml_ms.data)) - return newQDesignerWidgetBoxInterface__Widget(C.QDesignerWidgetBoxInterface__Widget_new4(aname_ms, xml_ms)) + return newQDesignerWidgetBoxInterface__Widget(C.QDesignerWidgetBoxInterface__Widget_new5(aname_ms, xml_ms)) } -// NewQDesignerWidgetBoxInterface__Widget5 constructs a new QDesignerWidgetBoxInterface::Widget object. -func NewQDesignerWidgetBoxInterface__Widget5(aname string, xml string, icon_name string) *QDesignerWidgetBoxInterface__Widget { +// NewQDesignerWidgetBoxInterface__Widget6 constructs a new QDesignerWidgetBoxInterface::Widget object. +func NewQDesignerWidgetBoxInterface__Widget6(aname string, xml string, icon_name string) *QDesignerWidgetBoxInterface__Widget { aname_ms := C.struct_miqt_string{} aname_ms.data = C.CString(aname) aname_ms.len = C.size_t(len(aname)) @@ -1987,11 +1993,11 @@ func NewQDesignerWidgetBoxInterface__Widget5(aname string, xml string, icon_name icon_name_ms.len = C.size_t(len(icon_name)) defer C.free(unsafe.Pointer(icon_name_ms.data)) - return newQDesignerWidgetBoxInterface__Widget(C.QDesignerWidgetBoxInterface__Widget_new5(aname_ms, xml_ms, icon_name_ms)) + return newQDesignerWidgetBoxInterface__Widget(C.QDesignerWidgetBoxInterface__Widget_new6(aname_ms, xml_ms, icon_name_ms)) } -// NewQDesignerWidgetBoxInterface__Widget6 constructs a new QDesignerWidgetBoxInterface::Widget object. -func NewQDesignerWidgetBoxInterface__Widget6(aname string, xml string, icon_name string, atype QDesignerWidgetBoxInterface__Widget__Type) *QDesignerWidgetBoxInterface__Widget { +// NewQDesignerWidgetBoxInterface__Widget7 constructs a new QDesignerWidgetBoxInterface::Widget object. +func NewQDesignerWidgetBoxInterface__Widget7(aname string, xml string, icon_name string, atype QDesignerWidgetBoxInterface__Widget__Type) *QDesignerWidgetBoxInterface__Widget { aname_ms := C.struct_miqt_string{} aname_ms.data = C.CString(aname) aname_ms.len = C.size_t(len(aname)) @@ -2005,7 +2011,7 @@ func NewQDesignerWidgetBoxInterface__Widget6(aname string, xml string, icon_name icon_name_ms.len = C.size_t(len(icon_name)) defer C.free(unsafe.Pointer(icon_name_ms.data)) - return newQDesignerWidgetBoxInterface__Widget(C.QDesignerWidgetBoxInterface__Widget_new6(aname_ms, xml_ms, icon_name_ms, (C.int)(atype))) + return newQDesignerWidgetBoxInterface__Widget(C.QDesignerWidgetBoxInterface__Widget_new7(aname_ms, xml_ms, icon_name_ms, (C.int)(atype))) } func (this *QDesignerWidgetBoxInterface__Widget) OperatorAssign(w *QDesignerWidgetBoxInterface__Widget) { @@ -2128,23 +2134,29 @@ func NewQDesignerWidgetBoxInterface__Category2(param1 *QDesignerWidgetBoxInterfa } // NewQDesignerWidgetBoxInterface__Category3 constructs a new QDesignerWidgetBoxInterface::Category object. -func NewQDesignerWidgetBoxInterface__Category3(aname string) *QDesignerWidgetBoxInterface__Category { +func NewQDesignerWidgetBoxInterface__Category3() *QDesignerWidgetBoxInterface__Category { + + return newQDesignerWidgetBoxInterface__Category(C.QDesignerWidgetBoxInterface__Category_new3()) +} + +// NewQDesignerWidgetBoxInterface__Category4 constructs a new QDesignerWidgetBoxInterface::Category object. +func NewQDesignerWidgetBoxInterface__Category4(aname string) *QDesignerWidgetBoxInterface__Category { aname_ms := C.struct_miqt_string{} aname_ms.data = C.CString(aname) aname_ms.len = C.size_t(len(aname)) defer C.free(unsafe.Pointer(aname_ms.data)) - return newQDesignerWidgetBoxInterface__Category(C.QDesignerWidgetBoxInterface__Category_new3(aname_ms)) + return newQDesignerWidgetBoxInterface__Category(C.QDesignerWidgetBoxInterface__Category_new4(aname_ms)) } -// NewQDesignerWidgetBoxInterface__Category4 constructs a new QDesignerWidgetBoxInterface::Category object. -func NewQDesignerWidgetBoxInterface__Category4(aname string, atype QDesignerWidgetBoxInterface__Category__Type) *QDesignerWidgetBoxInterface__Category { +// NewQDesignerWidgetBoxInterface__Category5 constructs a new QDesignerWidgetBoxInterface::Category object. +func NewQDesignerWidgetBoxInterface__Category5(aname string, atype QDesignerWidgetBoxInterface__Category__Type) *QDesignerWidgetBoxInterface__Category { aname_ms := C.struct_miqt_string{} aname_ms.data = C.CString(aname) aname_ms.len = C.size_t(len(aname)) defer C.free(unsafe.Pointer(aname_ms.data)) - return newQDesignerWidgetBoxInterface__Category(C.QDesignerWidgetBoxInterface__Category_new4(aname_ms, (C.int)(atype))) + return newQDesignerWidgetBoxInterface__Category(C.QDesignerWidgetBoxInterface__Category_new5(aname_ms, (C.int)(atype))) } func (this *QDesignerWidgetBoxInterface__Category) Name() string { diff --git a/qt/designer/gen_abstractwidgetbox.h b/qt/designer/gen_abstractwidgetbox.h index e6088dd4b..39d2d8bc4 100644 --- a/qt/designer/gen_abstractwidgetbox.h +++ b/qt/designer/gen_abstractwidgetbox.h @@ -258,10 +258,11 @@ void QDesignerWidgetBoxInterface_delete(QDesignerWidgetBoxInterface* self); QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new(); QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new2(QDesignerWidgetBoxInterface__Widget* w); -QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new3(struct miqt_string aname); -QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new4(struct miqt_string aname, struct miqt_string xml); -QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new5(struct miqt_string aname, struct miqt_string xml, struct miqt_string icon_name); -QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new6(struct miqt_string aname, struct miqt_string xml, struct miqt_string icon_name, int atype); +QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new3(); +QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new4(struct miqt_string aname); +QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new5(struct miqt_string aname, struct miqt_string xml); +QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new6(struct miqt_string aname, struct miqt_string xml, struct miqt_string icon_name); +QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new7(struct miqt_string aname, struct miqt_string xml, struct miqt_string icon_name, int atype); void QDesignerWidgetBoxInterface__Widget_operatorAssign(QDesignerWidgetBoxInterface__Widget* self, QDesignerWidgetBoxInterface__Widget* w); struct miqt_string QDesignerWidgetBoxInterface__Widget_name(const QDesignerWidgetBoxInterface__Widget* self); void QDesignerWidgetBoxInterface__Widget_setName(QDesignerWidgetBoxInterface__Widget* self, struct miqt_string aname); @@ -277,8 +278,9 @@ void QDesignerWidgetBoxInterface__Widget_delete(QDesignerWidgetBoxInterface__Wid QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new(); QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new2(QDesignerWidgetBoxInterface__Category* param1); -QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new3(struct miqt_string aname); -QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new4(struct miqt_string aname, int atype); +QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new3(); +QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new4(struct miqt_string aname); +QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new5(struct miqt_string aname, int atype); struct miqt_string QDesignerWidgetBoxInterface__Category_name(const QDesignerWidgetBoxInterface__Category* self); void QDesignerWidgetBoxInterface__Category_setName(QDesignerWidgetBoxInterface__Category* self, struct miqt_string aname); int QDesignerWidgetBoxInterface__Category_widgetCount(const QDesignerWidgetBoxInterface__Category* self); diff --git a/qt/gen_qabstracttextdocumentlayout.cpp b/qt/gen_qabstracttextdocumentlayout.cpp index 7fcd06b4d..60684042a 100644 --- a/qt/gen_qabstracttextdocumentlayout.cpp +++ b/qt/gen_qabstracttextdocumentlayout.cpp @@ -894,6 +894,10 @@ QAbstractTextDocumentLayout__Selection* QAbstractTextDocumentLayout__Selection_n return new (std::nothrow) QAbstractTextDocumentLayout::Selection(*param1); } +QAbstractTextDocumentLayout__Selection* QAbstractTextDocumentLayout__Selection_new2() { + return new (std::nothrow) QAbstractTextDocumentLayout::Selection(); +} + QTextCursor* QAbstractTextDocumentLayout__Selection_cursor(const QAbstractTextDocumentLayout__Selection* self) { return new QTextCursor(self->cursor); } diff --git a/qt/gen_qabstracttextdocumentlayout.go b/qt/gen_qabstracttextdocumentlayout.go index 10f52731c..84c3d9d59 100644 --- a/qt/gen_qabstracttextdocumentlayout.go +++ b/qt/gen_qabstracttextdocumentlayout.go @@ -949,6 +949,12 @@ func NewQAbstractTextDocumentLayout__Selection(param1 *QAbstractTextDocumentLayo return newQAbstractTextDocumentLayout__Selection(C.QAbstractTextDocumentLayout__Selection_new(param1.cPointer())) } +// NewQAbstractTextDocumentLayout__Selection2 constructs a new QAbstractTextDocumentLayout::Selection object. +func NewQAbstractTextDocumentLayout__Selection2() *QAbstractTextDocumentLayout__Selection { + + return newQAbstractTextDocumentLayout__Selection(C.QAbstractTextDocumentLayout__Selection_new2()) +} + func (this *QAbstractTextDocumentLayout__Selection) Cursor() *QTextCursor { cursor_goptr := newQTextCursor(C.QAbstractTextDocumentLayout__Selection_cursor(this.h)) cursor_goptr.GoGC() // Qt uses pass-by-value semantics for this type. Mimic with finalizer diff --git a/qt/gen_qabstracttextdocumentlayout.h b/qt/gen_qabstracttextdocumentlayout.h index db62e09eb..e19f7851e 100644 --- a/qt/gen_qabstracttextdocumentlayout.h +++ b/qt/gen_qabstracttextdocumentlayout.h @@ -165,6 +165,7 @@ void QTextObjectInterface_operatorAssign(QTextObjectInterface* self, QTextObject void QTextObjectInterface_delete(QTextObjectInterface* self); QAbstractTextDocumentLayout__Selection* QAbstractTextDocumentLayout__Selection_new(QAbstractTextDocumentLayout__Selection* param1); +QAbstractTextDocumentLayout__Selection* QAbstractTextDocumentLayout__Selection_new2(); QTextCursor* QAbstractTextDocumentLayout__Selection_cursor(const QAbstractTextDocumentLayout__Selection* self); void QAbstractTextDocumentLayout__Selection_setCursor(QAbstractTextDocumentLayout__Selection* self, QTextCursor* cursor); QTextCharFormat* QAbstractTextDocumentLayout__Selection_format(const QAbstractTextDocumentLayout__Selection* self); diff --git a/qt/gen_qbrush.cpp b/qt/gen_qbrush.cpp index 887686631..3774f5b3a 100644 --- a/qt/gen_qbrush.cpp +++ b/qt/gen_qbrush.cpp @@ -455,6 +455,10 @@ QGradient__QGradientData* QGradient__QGradientData_new(QGradient__QGradientData* return new (std::nothrow) QGradient::QGradientData(*param1); } +QGradient__QGradientData* QGradient__QGradientData_new2() { + return new (std::nothrow) QGradient::QGradientData(); +} + void QGradient__QGradientData_operatorAssign(QGradient__QGradientData* self, QGradient__QGradientData* param1) { self->operator=(*param1); } diff --git a/qt/gen_qbrush.go b/qt/gen_qbrush.go index 480ba9421..e3e0a54fc 100644 --- a/qt/gen_qbrush.go +++ b/qt/gen_qbrush.go @@ -976,6 +976,12 @@ func NewQGradient__QGradientData(param1 *QGradient__QGradientData) *QGradient__Q return newQGradient__QGradientData(C.QGradient__QGradientData_new(param1.cPointer())) } +// NewQGradient__QGradientData2 constructs a new QGradient::QGradientData object. +func NewQGradient__QGradientData2() *QGradient__QGradientData { + + return newQGradient__QGradientData(C.QGradient__QGradientData_new2()) +} + func (this *QGradient__QGradientData) OperatorAssign(param1 *QGradient__QGradientData) { C.QGradient__QGradientData_operatorAssign(this.h, param1.cPointer()) } diff --git a/qt/gen_qbrush.h b/qt/gen_qbrush.h index 59d0c8228..044c2d3d0 100644 --- a/qt/gen_qbrush.h +++ b/qt/gen_qbrush.h @@ -155,6 +155,7 @@ void QConicalGradient_setAngle(QConicalGradient* self, double angle); void QConicalGradient_delete(QConicalGradient* self); QGradient__QGradientData* QGradient__QGradientData_new(QGradient__QGradientData* param1); +QGradient__QGradientData* QGradient__QGradientData_new2(); void QGradient__QGradientData_operatorAssign(QGradient__QGradientData* self, QGradient__QGradientData* param1); void QGradient__QGradientData_delete(QGradient__QGradientData* self); diff --git a/qt/gen_qdeadlinetimer.cpp b/qt/gen_qdeadlinetimer.cpp index b647ac818..4eae9e1d9 100644 --- a/qt/gen_qdeadlinetimer.cpp +++ b/qt/gen_qdeadlinetimer.cpp @@ -26,15 +26,19 @@ QDeadlineTimer* QDeadlineTimer_new4(QDeadlineTimer* param1) { return new (std::nothrow) QDeadlineTimer(*param1); } -QDeadlineTimer* QDeadlineTimer_new5(int type_) { +QDeadlineTimer* QDeadlineTimer_new5() { + return new (std::nothrow) QDeadlineTimer(); +} + +QDeadlineTimer* QDeadlineTimer_new6(int type_) { return new (std::nothrow) QDeadlineTimer(static_cast(type_)); } -QDeadlineTimer* QDeadlineTimer_new6(int param1, int type_) { +QDeadlineTimer* QDeadlineTimer_new7(int param1, int type_) { return new (std::nothrow) QDeadlineTimer(static_cast(param1), static_cast(type_)); } -QDeadlineTimer* QDeadlineTimer_new7(long long msecs, int type) { +QDeadlineTimer* QDeadlineTimer_new8(long long msecs, int type) { return new (std::nothrow) QDeadlineTimer(static_cast(msecs), static_cast(type)); } diff --git a/qt/gen_qdeadlinetimer.go b/qt/gen_qdeadlinetimer.go index 5c0c2697f..ad3948fa7 100644 --- a/qt/gen_qdeadlinetimer.go +++ b/qt/gen_qdeadlinetimer.go @@ -76,21 +76,27 @@ func NewQDeadlineTimer4(param1 *QDeadlineTimer) *QDeadlineTimer { } // NewQDeadlineTimer5 constructs a new QDeadlineTimer object. -func NewQDeadlineTimer5(type_ TimerType) *QDeadlineTimer { +func NewQDeadlineTimer5() *QDeadlineTimer { - return newQDeadlineTimer(C.QDeadlineTimer_new5((C.int)(type_))) + return newQDeadlineTimer(C.QDeadlineTimer_new5()) } // NewQDeadlineTimer6 constructs a new QDeadlineTimer object. -func NewQDeadlineTimer6(param1 QDeadlineTimer__ForeverConstant, type_ TimerType) *QDeadlineTimer { +func NewQDeadlineTimer6(type_ TimerType) *QDeadlineTimer { - return newQDeadlineTimer(C.QDeadlineTimer_new6((C.int)(param1), (C.int)(type_))) + return newQDeadlineTimer(C.QDeadlineTimer_new6((C.int)(type_))) } // NewQDeadlineTimer7 constructs a new QDeadlineTimer object. -func NewQDeadlineTimer7(msecs int64, typeVal TimerType) *QDeadlineTimer { +func NewQDeadlineTimer7(param1 QDeadlineTimer__ForeverConstant, type_ TimerType) *QDeadlineTimer { - return newQDeadlineTimer(C.QDeadlineTimer_new7((C.longlong)(msecs), (C.int)(typeVal))) + return newQDeadlineTimer(C.QDeadlineTimer_new7((C.int)(param1), (C.int)(type_))) +} + +// NewQDeadlineTimer8 constructs a new QDeadlineTimer object. +func NewQDeadlineTimer8(msecs int64, typeVal TimerType) *QDeadlineTimer { + + return newQDeadlineTimer(C.QDeadlineTimer_new8((C.longlong)(msecs), (C.int)(typeVal))) } func (this *QDeadlineTimer) Swap(other *QDeadlineTimer) { diff --git a/qt/gen_qdeadlinetimer.h b/qt/gen_qdeadlinetimer.h index 5be730750..c421d3c3f 100644 --- a/qt/gen_qdeadlinetimer.h +++ b/qt/gen_qdeadlinetimer.h @@ -24,9 +24,10 @@ QDeadlineTimer* QDeadlineTimer_new(); QDeadlineTimer* QDeadlineTimer_new2(int param1); QDeadlineTimer* QDeadlineTimer_new3(long long msecs); QDeadlineTimer* QDeadlineTimer_new4(QDeadlineTimer* param1); -QDeadlineTimer* QDeadlineTimer_new5(int type_); -QDeadlineTimer* QDeadlineTimer_new6(int param1, int type_); -QDeadlineTimer* QDeadlineTimer_new7(long long msecs, int type); +QDeadlineTimer* QDeadlineTimer_new5(); +QDeadlineTimer* QDeadlineTimer_new6(int type_); +QDeadlineTimer* QDeadlineTimer_new7(int param1, int type_); +QDeadlineTimer* QDeadlineTimer_new8(long long msecs, int type); void QDeadlineTimer_swap(QDeadlineTimer* self, QDeadlineTimer* other); bool QDeadlineTimer_isForever(const QDeadlineTimer* self); bool QDeadlineTimer_hasExpired(const QDeadlineTimer* self); diff --git a/qt/gen_qdir.cpp b/qt/gen_qdir.cpp index 2056ad654..d10dd995e 100644 --- a/qt/gen_qdir.cpp +++ b/qt/gen_qdir.cpp @@ -30,18 +30,22 @@ QDir* QDir_new3(struct miqt_string path, struct miqt_string nameFilter) { return new (std::nothrow) QDir(path_QString, nameFilter_QString); } -QDir* QDir_new4(struct miqt_string path) { +QDir* QDir_new4() { + return new (std::nothrow) QDir(); +} + +QDir* QDir_new5(struct miqt_string path) { QString path_QString = QString::fromUtf8(path.data, path.len); return new (std::nothrow) QDir(path_QString); } -QDir* QDir_new5(struct miqt_string path, struct miqt_string nameFilter, int sort) { +QDir* QDir_new6(struct miqt_string path, struct miqt_string nameFilter, int sort) { QString path_QString = QString::fromUtf8(path.data, path.len); QString nameFilter_QString = QString::fromUtf8(nameFilter.data, nameFilter.len); return new (std::nothrow) QDir(path_QString, nameFilter_QString, static_cast(sort)); } -QDir* QDir_new6(struct miqt_string path, struct miqt_string nameFilter, int sort, int filter) { +QDir* QDir_new7(struct miqt_string path, struct miqt_string nameFilter, int sort, int filter) { QString path_QString = QString::fromUtf8(path.data, path.len); QString nameFilter_QString = QString::fromUtf8(nameFilter.data, nameFilter.len); return new (std::nothrow) QDir(path_QString, nameFilter_QString, static_cast(sort), static_cast(filter)); diff --git a/qt/gen_qdir.go b/qt/gen_qdir.go index 6633b43c7..97ad5732b 100644 --- a/qt/gen_qdir.go +++ b/qt/gen_qdir.go @@ -114,17 +114,23 @@ func NewQDir3(path string, nameFilter string) *QDir { } // NewQDir4 constructs a new QDir object. -func NewQDir4(path string) *QDir { +func NewQDir4() *QDir { + + return newQDir(C.QDir_new4()) +} + +// NewQDir5 constructs a new QDir object. +func NewQDir5(path string) *QDir { path_ms := C.struct_miqt_string{} path_ms.data = C.CString(path) path_ms.len = C.size_t(len(path)) defer C.free(unsafe.Pointer(path_ms.data)) - return newQDir(C.QDir_new4(path_ms)) + return newQDir(C.QDir_new5(path_ms)) } -// NewQDir5 constructs a new QDir object. -func NewQDir5(path string, nameFilter string, sort QDir__SortFlag) *QDir { +// NewQDir6 constructs a new QDir object. +func NewQDir6(path string, nameFilter string, sort QDir__SortFlag) *QDir { path_ms := C.struct_miqt_string{} path_ms.data = C.CString(path) path_ms.len = C.size_t(len(path)) @@ -134,11 +140,11 @@ func NewQDir5(path string, nameFilter string, sort QDir__SortFlag) *QDir { nameFilter_ms.len = C.size_t(len(nameFilter)) defer C.free(unsafe.Pointer(nameFilter_ms.data)) - return newQDir(C.QDir_new5(path_ms, nameFilter_ms, (C.int)(sort))) + return newQDir(C.QDir_new6(path_ms, nameFilter_ms, (C.int)(sort))) } -// NewQDir6 constructs a new QDir object. -func NewQDir6(path string, nameFilter string, sort QDir__SortFlag, filter QDir__Filter) *QDir { +// NewQDir7 constructs a new QDir object. +func NewQDir7(path string, nameFilter string, sort QDir__SortFlag, filter QDir__Filter) *QDir { path_ms := C.struct_miqt_string{} path_ms.data = C.CString(path) path_ms.len = C.size_t(len(path)) @@ -148,7 +154,7 @@ func NewQDir6(path string, nameFilter string, sort QDir__SortFlag, filter QDir__ nameFilter_ms.len = C.size_t(len(nameFilter)) defer C.free(unsafe.Pointer(nameFilter_ms.data)) - return newQDir(C.QDir_new6(path_ms, nameFilter_ms, (C.int)(sort), (C.int)(filter))) + return newQDir(C.QDir_new7(path_ms, nameFilter_ms, (C.int)(sort), (C.int)(filter))) } func (this *QDir) OperatorAssign(param1 *QDir) { diff --git a/qt/gen_qdir.h b/qt/gen_qdir.h index dc0639b7a..782f70303 100644 --- a/qt/gen_qdir.h +++ b/qt/gen_qdir.h @@ -27,9 +27,10 @@ typedef struct QFileInfo QFileInfo; QDir* QDir_new(QDir* param1); QDir* QDir_new2(); QDir* QDir_new3(struct miqt_string path, struct miqt_string nameFilter); -QDir* QDir_new4(struct miqt_string path); -QDir* QDir_new5(struct miqt_string path, struct miqt_string nameFilter, int sort); -QDir* QDir_new6(struct miqt_string path, struct miqt_string nameFilter, int sort, int filter); +QDir* QDir_new4(); +QDir* QDir_new5(struct miqt_string path); +QDir* QDir_new6(struct miqt_string path, struct miqt_string nameFilter, int sort); +QDir* QDir_new7(struct miqt_string path, struct miqt_string nameFilter, int sort, int filter); void QDir_operatorAssign(QDir* self, QDir* param1); void QDir_operatorAssignWithPath(QDir* self, struct miqt_string path); void QDir_swap(QDir* self, QDir* other); diff --git a/qt/gen_qdrawutil.cpp b/qt/gen_qdrawutil.cpp index 582f328fc..cd8585646 100644 --- a/qt/gen_qdrawutil.cpp +++ b/qt/gen_qdrawutil.cpp @@ -22,7 +22,11 @@ QTileRules* QTileRules_new3(QTileRules* param1) { return new (std::nothrow) QTileRules(*param1); } -QTileRules* QTileRules_new4(int rule) { +QTileRules* QTileRules_new4() { + return new (std::nothrow) QTileRules(); +} + +QTileRules* QTileRules_new5(int rule) { return new (std::nothrow) QTileRules(static_cast(rule)); } diff --git a/qt/gen_qdrawutil.go b/qt/gen_qdrawutil.go index ab480ced3..9b8e8284c 100644 --- a/qt/gen_qdrawutil.go +++ b/qt/gen_qdrawutil.go @@ -82,9 +82,15 @@ func NewQTileRules3(param1 *QTileRules) *QTileRules { } // NewQTileRules4 constructs a new QTileRules object. -func NewQTileRules4(rule TileRule) *QTileRules { +func NewQTileRules4() *QTileRules { - return newQTileRules(C.QTileRules_new4((C.int)(rule))) + return newQTileRules(C.QTileRules_new4()) +} + +// NewQTileRules5 constructs a new QTileRules object. +func NewQTileRules5(rule TileRule) *QTileRules { + + return newQTileRules(C.QTileRules_new5((C.int)(rule))) } func (this *QTileRules) Horizontal() TileRule { diff --git a/qt/gen_qdrawutil.h b/qt/gen_qdrawutil.h index 2c4f35d7f..8c4067b7d 100644 --- a/qt/gen_qdrawutil.h +++ b/qt/gen_qdrawutil.h @@ -23,7 +23,8 @@ typedef struct QTileRules QTileRules; QTileRules* QTileRules_new(int horizontalRule, int verticalRule); QTileRules* QTileRules_new2(); QTileRules* QTileRules_new3(QTileRules* param1); -QTileRules* QTileRules_new4(int rule); +QTileRules* QTileRules_new4(); +QTileRules* QTileRules_new5(int rule); int QTileRules_horizontal(const QTileRules* self); void QTileRules_setHorizontal(QTileRules* self, int horizontal); int QTileRules_vertical(const QTileRules* self); diff --git a/qt/gen_qeasingcurve.cpp b/qt/gen_qeasingcurve.cpp index 615052118..1e6fb9c10 100644 --- a/qt/gen_qeasingcurve.cpp +++ b/qt/gen_qeasingcurve.cpp @@ -20,7 +20,11 @@ QEasingCurve* QEasingCurve_new2(QEasingCurve* other) { return new (std::nothrow) QEasingCurve(*other); } -QEasingCurve* QEasingCurve_new3(int type) { +QEasingCurve* QEasingCurve_new3() { + return new (std::nothrow) QEasingCurve(); +} + +QEasingCurve* QEasingCurve_new4(int type) { return new (std::nothrow) QEasingCurve(static_cast(type)); } diff --git a/qt/gen_qeasingcurve.go b/qt/gen_qeasingcurve.go index 062d30742..0dce64df0 100644 --- a/qt/gen_qeasingcurve.go +++ b/qt/gen_qeasingcurve.go @@ -112,9 +112,15 @@ func NewQEasingCurve2(other *QEasingCurve) *QEasingCurve { } // NewQEasingCurve3 constructs a new QEasingCurve object. -func NewQEasingCurve3(typeVal QEasingCurve__Type) *QEasingCurve { +func NewQEasingCurve3() *QEasingCurve { - return newQEasingCurve(C.QEasingCurve_new3((C.int)(typeVal))) + return newQEasingCurve(C.QEasingCurve_new3()) +} + +// NewQEasingCurve4 constructs a new QEasingCurve object. +func NewQEasingCurve4(typeVal QEasingCurve__Type) *QEasingCurve { + + return newQEasingCurve(C.QEasingCurve_new4((C.int)(typeVal))) } func (this *QEasingCurve) OperatorAssign(other *QEasingCurve) { diff --git a/qt/gen_qeasingcurve.h b/qt/gen_qeasingcurve.h index 42054006f..eab733b6c 100644 --- a/qt/gen_qeasingcurve.h +++ b/qt/gen_qeasingcurve.h @@ -24,7 +24,8 @@ typedef struct QPointF QPointF; QEasingCurve* QEasingCurve_new(); QEasingCurve* QEasingCurve_new2(QEasingCurve* other); -QEasingCurve* QEasingCurve_new3(int type); +QEasingCurve* QEasingCurve_new3(); +QEasingCurve* QEasingCurve_new4(int type); void QEasingCurve_operatorAssign(QEasingCurve* self, QEasingCurve* other); void QEasingCurve_swap(QEasingCurve* self, QEasingCurve* other); bool QEasingCurve_operatorEqual(const QEasingCurve* self, QEasingCurve* other); diff --git a/qt/gen_qevent.cpp b/qt/gen_qevent.cpp index 4f592e94b..c60de1771 100644 --- a/qt/gen_qevent.cpp +++ b/qt/gen_qevent.cpp @@ -1959,7 +1959,11 @@ QTouchEvent__TouchPoint* QTouchEvent__TouchPoint_new2(QTouchEvent__TouchPoint* o return new (std::nothrow) QTouchEvent::TouchPoint(*other); } -QTouchEvent__TouchPoint* QTouchEvent__TouchPoint_new3(int id) { +QTouchEvent__TouchPoint* QTouchEvent__TouchPoint_new3() { + return new (std::nothrow) QTouchEvent::TouchPoint(); +} + +QTouchEvent__TouchPoint* QTouchEvent__TouchPoint_new4(int id) { return new (std::nothrow) QTouchEvent::TouchPoint(static_cast(id)); } diff --git a/qt/gen_qevent.go b/qt/gen_qevent.go index 7f8083dab..144821858 100644 --- a/qt/gen_qevent.go +++ b/qt/gen_qevent.go @@ -3891,9 +3891,15 @@ func NewQTouchEvent__TouchPoint2(other *QTouchEvent__TouchPoint) *QTouchEvent__T } // NewQTouchEvent__TouchPoint3 constructs a new QTouchEvent::TouchPoint object. -func NewQTouchEvent__TouchPoint3(id int) *QTouchEvent__TouchPoint { +func NewQTouchEvent__TouchPoint3() *QTouchEvent__TouchPoint { - return newQTouchEvent__TouchPoint(C.QTouchEvent__TouchPoint_new3((C.int)(id))) + return newQTouchEvent__TouchPoint(C.QTouchEvent__TouchPoint_new3()) +} + +// NewQTouchEvent__TouchPoint4 constructs a new QTouchEvent::TouchPoint object. +func NewQTouchEvent__TouchPoint4(id int) *QTouchEvent__TouchPoint { + + return newQTouchEvent__TouchPoint(C.QTouchEvent__TouchPoint_new4((C.int)(id))) } func (this *QTouchEvent__TouchPoint) OperatorAssign(other *QTouchEvent__TouchPoint) { diff --git a/qt/gen_qevent.h b/qt/gen_qevent.h index 7735da0f5..5eb90ee92 100644 --- a/qt/gen_qevent.h +++ b/qt/gen_qevent.h @@ -650,7 +650,8 @@ void QInputMethodEvent__Attribute_delete(QInputMethodEvent__Attribute* self); QTouchEvent__TouchPoint* QTouchEvent__TouchPoint_new(); QTouchEvent__TouchPoint* QTouchEvent__TouchPoint_new2(QTouchEvent__TouchPoint* other); -QTouchEvent__TouchPoint* QTouchEvent__TouchPoint_new3(int id); +QTouchEvent__TouchPoint* QTouchEvent__TouchPoint_new3(); +QTouchEvent__TouchPoint* QTouchEvent__TouchPoint_new4(int id); void QTouchEvent__TouchPoint_operatorAssign(QTouchEvent__TouchPoint* self, QTouchEvent__TouchPoint* other); void QTouchEvent__TouchPoint_swap(QTouchEvent__TouchPoint* self, QTouchEvent__TouchPoint* other); int QTouchEvent__TouchPoint_id(const QTouchEvent__TouchPoint* self); diff --git a/qt/gen_qfutureinterface.cpp b/qt/gen_qfutureinterface.cpp index d1f46fe0a..2be95dd54 100644 --- a/qt/gen_qfutureinterface.cpp +++ b/qt/gen_qfutureinterface.cpp @@ -24,7 +24,11 @@ QFutureInterfaceBase* QFutureInterfaceBase_new2(QFutureInterfaceBase* other) { return new (std::nothrow) QFutureInterfaceBase(*other); } -QFutureInterfaceBase* QFutureInterfaceBase_new3(int initialState) { +QFutureInterfaceBase* QFutureInterfaceBase_new3() { + return new (std::nothrow) QFutureInterfaceBase(); +} + +QFutureInterfaceBase* QFutureInterfaceBase_new4(int initialState) { return new (std::nothrow) QFutureInterfaceBase(static_cast(initialState)); } diff --git a/qt/gen_qfutureinterface.go b/qt/gen_qfutureinterface.go index 0387534c3..5f157e5d6 100644 --- a/qt/gen_qfutureinterface.go +++ b/qt/gen_qfutureinterface.go @@ -70,9 +70,15 @@ func NewQFutureInterfaceBase2(other *QFutureInterfaceBase) *QFutureInterfaceBase } // NewQFutureInterfaceBase3 constructs a new QFutureInterfaceBase object. -func NewQFutureInterfaceBase3(initialState QFutureInterfaceBase__State) *QFutureInterfaceBase { +func NewQFutureInterfaceBase3() *QFutureInterfaceBase { - return newQFutureInterfaceBase(C.QFutureInterfaceBase_new3((C.int)(initialState))) + return newQFutureInterfaceBase(C.QFutureInterfaceBase_new3()) +} + +// NewQFutureInterfaceBase4 constructs a new QFutureInterfaceBase object. +func NewQFutureInterfaceBase4(initialState QFutureInterfaceBase__State) *QFutureInterfaceBase { + + return newQFutureInterfaceBase(C.QFutureInterfaceBase_new4((C.int)(initialState))) } func (this *QFutureInterfaceBase) ReportStarted() { diff --git a/qt/gen_qfutureinterface.h b/qt/gen_qfutureinterface.h index 49ed435f3..33f00e553 100644 --- a/qt/gen_qfutureinterface.h +++ b/qt/gen_qfutureinterface.h @@ -28,7 +28,8 @@ typedef struct QThreadPool QThreadPool; QFutureInterfaceBase* QFutureInterfaceBase_new(); QFutureInterfaceBase* QFutureInterfaceBase_new2(QFutureInterfaceBase* other); -QFutureInterfaceBase* QFutureInterfaceBase_new3(int initialState); +QFutureInterfaceBase* QFutureInterfaceBase_new3(); +QFutureInterfaceBase* QFutureInterfaceBase_new4(int initialState); void QFutureInterfaceBase_reportStarted(QFutureInterfaceBase* self); void QFutureInterfaceBase_reportFinished(QFutureInterfaceBase* self); void QFutureInterfaceBase_reportCanceled(QFutureInterfaceBase* self); diff --git a/qt/gen_qiconengine.cpp b/qt/gen_qiconengine.cpp index 61e98461e..2d31a510a 100644 --- a/qt/gen_qiconengine.cpp +++ b/qt/gen_qiconengine.cpp @@ -566,6 +566,10 @@ QIconEngine__AvailableSizesArgument* QIconEngine__AvailableSizesArgument_new(QIc return new (std::nothrow) QIconEngine::AvailableSizesArgument(*param1); } +QIconEngine__AvailableSizesArgument* QIconEngine__AvailableSizesArgument_new2() { + return new (std::nothrow) QIconEngine::AvailableSizesArgument(); +} + int QIconEngine__AvailableSizesArgument_mode(const QIconEngine__AvailableSizesArgument* self) { QIcon::Mode mode_ret = self->mode; return static_cast(mode_ret); @@ -619,6 +623,10 @@ QIconEngine__ScaledPixmapArgument* QIconEngine__ScaledPixmapArgument_new(QIconEn return new (std::nothrow) QIconEngine::ScaledPixmapArgument(*param1); } +QIconEngine__ScaledPixmapArgument* QIconEngine__ScaledPixmapArgument_new2() { + return new (std::nothrow) QIconEngine::ScaledPixmapArgument(); +} + QSize* QIconEngine__ScaledPixmapArgument_size(const QIconEngine__ScaledPixmapArgument* self) { return new QSize(self->size); } diff --git a/qt/gen_qiconengine.go b/qt/gen_qiconengine.go index 0ef3bee9b..0fbc39198 100644 --- a/qt/gen_qiconengine.go +++ b/qt/gen_qiconengine.go @@ -570,6 +570,12 @@ func NewQIconEngine__AvailableSizesArgument(param1 *QIconEngine__AvailableSizesA return newQIconEngine__AvailableSizesArgument(C.QIconEngine__AvailableSizesArgument_new(param1.cPointer())) } +// NewQIconEngine__AvailableSizesArgument2 constructs a new QIconEngine::AvailableSizesArgument object. +func NewQIconEngine__AvailableSizesArgument2() *QIconEngine__AvailableSizesArgument { + + return newQIconEngine__AvailableSizesArgument(C.QIconEngine__AvailableSizesArgument_new2()) +} + func (this *QIconEngine__AvailableSizesArgument) Mode() QIcon__Mode { return (QIcon__Mode)(C.QIconEngine__AvailableSizesArgument_mode(this.h)) } @@ -664,6 +670,12 @@ func NewQIconEngine__ScaledPixmapArgument(param1 *QIconEngine__ScaledPixmapArgum return newQIconEngine__ScaledPixmapArgument(C.QIconEngine__ScaledPixmapArgument_new(param1.cPointer())) } +// NewQIconEngine__ScaledPixmapArgument2 constructs a new QIconEngine::ScaledPixmapArgument object. +func NewQIconEngine__ScaledPixmapArgument2() *QIconEngine__ScaledPixmapArgument { + + return newQIconEngine__ScaledPixmapArgument(C.QIconEngine__ScaledPixmapArgument_new2()) +} + func (this *QIconEngine__ScaledPixmapArgument) Size() *QSize { size_goptr := newQSize(C.QIconEngine__ScaledPixmapArgument_size(this.h)) size_goptr.GoGC() // Qt uses pass-by-value semantics for this type. Mimic with finalizer diff --git a/qt/gen_qiconengine.h b/qt/gen_qiconengine.h index dbdaaf0f6..0d3a23207 100644 --- a/qt/gen_qiconengine.h +++ b/qt/gen_qiconengine.h @@ -87,6 +87,7 @@ void QIconEngine_virtualbase_virtualHook(void* self, int id, void* data); void QIconEngine_delete(QIconEngine* self); QIconEngine__AvailableSizesArgument* QIconEngine__AvailableSizesArgument_new(QIconEngine__AvailableSizesArgument* param1); +QIconEngine__AvailableSizesArgument* QIconEngine__AvailableSizesArgument_new2(); int QIconEngine__AvailableSizesArgument_mode(const QIconEngine__AvailableSizesArgument* self); void QIconEngine__AvailableSizesArgument_setMode(QIconEngine__AvailableSizesArgument* self, int mode); int QIconEngine__AvailableSizesArgument_state(const QIconEngine__AvailableSizesArgument* self); @@ -98,6 +99,7 @@ void QIconEngine__AvailableSizesArgument_operatorAssign(QIconEngine__AvailableSi void QIconEngine__AvailableSizesArgument_delete(QIconEngine__AvailableSizesArgument* self); QIconEngine__ScaledPixmapArgument* QIconEngine__ScaledPixmapArgument_new(QIconEngine__ScaledPixmapArgument* param1); +QIconEngine__ScaledPixmapArgument* QIconEngine__ScaledPixmapArgument_new2(); QSize* QIconEngine__ScaledPixmapArgument_size(const QIconEngine__ScaledPixmapArgument* self); void QIconEngine__ScaledPixmapArgument_setSize(QIconEngine__ScaledPixmapArgument* self, QSize* size); int QIconEngine__ScaledPixmapArgument_mode(const QIconEngine__ScaledPixmapArgument* self); diff --git a/qt/gen_qlistwidget.cpp b/qt/gen_qlistwidget.cpp index a9debdf79..38211288e 100644 --- a/qt/gen_qlistwidget.cpp +++ b/qt/gen_qlistwidget.cpp @@ -182,6 +182,7 @@ class MiqtVirtualQListWidgetItem final : public QListWidgetItem { MiqtVirtualQListWidgetItem(const QString& text): QListWidgetItem(text) {} MiqtVirtualQListWidgetItem(const QIcon& icon, const QString& text): QListWidgetItem(icon, text) {} MiqtVirtualQListWidgetItem(const QListWidgetItem& other): QListWidgetItem(other) {} + MiqtVirtualQListWidgetItem(): QListWidgetItem() {} MiqtVirtualQListWidgetItem(QListWidget* listview): QListWidgetItem(listview) {} MiqtVirtualQListWidgetItem(QListWidget* listview, int type): QListWidgetItem(listview, type) {} MiqtVirtualQListWidgetItem(const QString& text, QListWidget* listview): QListWidgetItem(text, listview) {} @@ -337,30 +338,34 @@ QListWidgetItem* QListWidgetItem_new4(QListWidgetItem* other) { return new (std::nothrow) MiqtVirtualQListWidgetItem(*other); } -QListWidgetItem* QListWidgetItem_new5(QListWidget* listview) { +QListWidgetItem* QListWidgetItem_new5() { + return new (std::nothrow) MiqtVirtualQListWidgetItem(); +} + +QListWidgetItem* QListWidgetItem_new6(QListWidget* listview) { return new (std::nothrow) MiqtVirtualQListWidgetItem(listview); } -QListWidgetItem* QListWidgetItem_new6(QListWidget* listview, int type) { +QListWidgetItem* QListWidgetItem_new7(QListWidget* listview, int type) { return new (std::nothrow) MiqtVirtualQListWidgetItem(listview, static_cast(type)); } -QListWidgetItem* QListWidgetItem_new7(struct miqt_string text, QListWidget* listview) { +QListWidgetItem* QListWidgetItem_new8(struct miqt_string text, QListWidget* listview) { QString text_QString = QString::fromUtf8(text.data, text.len); return new (std::nothrow) MiqtVirtualQListWidgetItem(text_QString, listview); } -QListWidgetItem* QListWidgetItem_new8(struct miqt_string text, QListWidget* listview, int type) { +QListWidgetItem* QListWidgetItem_new9(struct miqt_string text, QListWidget* listview, int type) { QString text_QString = QString::fromUtf8(text.data, text.len); return new (std::nothrow) MiqtVirtualQListWidgetItem(text_QString, listview, static_cast(type)); } -QListWidgetItem* QListWidgetItem_new9(QIcon* icon, struct miqt_string text, QListWidget* listview) { +QListWidgetItem* QListWidgetItem_new10(QIcon* icon, struct miqt_string text, QListWidget* listview) { QString text_QString = QString::fromUtf8(text.data, text.len); return new (std::nothrow) MiqtVirtualQListWidgetItem(*icon, text_QString, listview); } -QListWidgetItem* QListWidgetItem_new10(QIcon* icon, struct miqt_string text, QListWidget* listview, int type) { +QListWidgetItem* QListWidgetItem_new11(QIcon* icon, struct miqt_string text, QListWidget* listview, int type) { QString text_QString = QString::fromUtf8(text.data, text.len); return new (std::nothrow) MiqtVirtualQListWidgetItem(*icon, text_QString, listview, static_cast(type)); } diff --git a/qt/gen_qlistwidget.go b/qt/gen_qlistwidget.go index 3c4af9442..b4e40e552 100644 --- a/qt/gen_qlistwidget.go +++ b/qt/gen_qlistwidget.go @@ -86,55 +86,61 @@ func NewQListWidgetItem4(other *QListWidgetItem) *QListWidgetItem { } // NewQListWidgetItem5 constructs a new QListWidgetItem object. -func NewQListWidgetItem5(listview *QListWidget) *QListWidgetItem { +func NewQListWidgetItem5() *QListWidgetItem { - return newQListWidgetItem(C.QListWidgetItem_new5(listview.cPointer())) + return newQListWidgetItem(C.QListWidgetItem_new5()) } // NewQListWidgetItem6 constructs a new QListWidgetItem object. -func NewQListWidgetItem6(listview *QListWidget, typeVal int) *QListWidgetItem { +func NewQListWidgetItem6(listview *QListWidget) *QListWidgetItem { - return newQListWidgetItem(C.QListWidgetItem_new6(listview.cPointer(), (C.int)(typeVal))) + return newQListWidgetItem(C.QListWidgetItem_new6(listview.cPointer())) } // NewQListWidgetItem7 constructs a new QListWidgetItem object. -func NewQListWidgetItem7(text string, listview *QListWidget) *QListWidgetItem { +func NewQListWidgetItem7(listview *QListWidget, typeVal int) *QListWidgetItem { + + return newQListWidgetItem(C.QListWidgetItem_new7(listview.cPointer(), (C.int)(typeVal))) +} + +// NewQListWidgetItem8 constructs a new QListWidgetItem object. +func NewQListWidgetItem8(text string, listview *QListWidget) *QListWidgetItem { text_ms := C.struct_miqt_string{} text_ms.data = C.CString(text) text_ms.len = C.size_t(len(text)) defer C.free(unsafe.Pointer(text_ms.data)) - return newQListWidgetItem(C.QListWidgetItem_new7(text_ms, listview.cPointer())) + return newQListWidgetItem(C.QListWidgetItem_new8(text_ms, listview.cPointer())) } -// NewQListWidgetItem8 constructs a new QListWidgetItem object. -func NewQListWidgetItem8(text string, listview *QListWidget, typeVal int) *QListWidgetItem { +// NewQListWidgetItem9 constructs a new QListWidgetItem object. +func NewQListWidgetItem9(text string, listview *QListWidget, typeVal int) *QListWidgetItem { text_ms := C.struct_miqt_string{} text_ms.data = C.CString(text) text_ms.len = C.size_t(len(text)) defer C.free(unsafe.Pointer(text_ms.data)) - return newQListWidgetItem(C.QListWidgetItem_new8(text_ms, listview.cPointer(), (C.int)(typeVal))) + return newQListWidgetItem(C.QListWidgetItem_new9(text_ms, listview.cPointer(), (C.int)(typeVal))) } -// NewQListWidgetItem9 constructs a new QListWidgetItem object. -func NewQListWidgetItem9(icon *QIcon, text string, listview *QListWidget) *QListWidgetItem { +// NewQListWidgetItem10 constructs a new QListWidgetItem object. +func NewQListWidgetItem10(icon *QIcon, text string, listview *QListWidget) *QListWidgetItem { text_ms := C.struct_miqt_string{} text_ms.data = C.CString(text) text_ms.len = C.size_t(len(text)) defer C.free(unsafe.Pointer(text_ms.data)) - return newQListWidgetItem(C.QListWidgetItem_new9(icon.cPointer(), text_ms, listview.cPointer())) + return newQListWidgetItem(C.QListWidgetItem_new10(icon.cPointer(), text_ms, listview.cPointer())) } -// NewQListWidgetItem10 constructs a new QListWidgetItem object. -func NewQListWidgetItem10(icon *QIcon, text string, listview *QListWidget, typeVal int) *QListWidgetItem { +// NewQListWidgetItem11 constructs a new QListWidgetItem object. +func NewQListWidgetItem11(icon *QIcon, text string, listview *QListWidget, typeVal int) *QListWidgetItem { text_ms := C.struct_miqt_string{} text_ms.data = C.CString(text) text_ms.len = C.size_t(len(text)) defer C.free(unsafe.Pointer(text_ms.data)) - return newQListWidgetItem(C.QListWidgetItem_new10(icon.cPointer(), text_ms, listview.cPointer(), (C.int)(typeVal))) + return newQListWidgetItem(C.QListWidgetItem_new11(icon.cPointer(), text_ms, listview.cPointer(), (C.int)(typeVal))) } func (this *QListWidgetItem) Clone() *QListWidgetItem { diff --git a/qt/gen_qlistwidget.h b/qt/gen_qlistwidget.h index 27989d54e..0d23ab879 100644 --- a/qt/gen_qlistwidget.h +++ b/qt/gen_qlistwidget.h @@ -124,12 +124,13 @@ QListWidgetItem* QListWidgetItem_new(); QListWidgetItem* QListWidgetItem_new2(struct miqt_string text); QListWidgetItem* QListWidgetItem_new3(QIcon* icon, struct miqt_string text); QListWidgetItem* QListWidgetItem_new4(QListWidgetItem* other); -QListWidgetItem* QListWidgetItem_new5(QListWidget* listview); -QListWidgetItem* QListWidgetItem_new6(QListWidget* listview, int type); -QListWidgetItem* QListWidgetItem_new7(struct miqt_string text, QListWidget* listview); -QListWidgetItem* QListWidgetItem_new8(struct miqt_string text, QListWidget* listview, int type); -QListWidgetItem* QListWidgetItem_new9(QIcon* icon, struct miqt_string text, QListWidget* listview); -QListWidgetItem* QListWidgetItem_new10(QIcon* icon, struct miqt_string text, QListWidget* listview, int type); +QListWidgetItem* QListWidgetItem_new5(); +QListWidgetItem* QListWidgetItem_new6(QListWidget* listview); +QListWidgetItem* QListWidgetItem_new7(QListWidget* listview, int type); +QListWidgetItem* QListWidgetItem_new8(struct miqt_string text, QListWidget* listview); +QListWidgetItem* QListWidgetItem_new9(struct miqt_string text, QListWidget* listview, int type); +QListWidgetItem* QListWidgetItem_new10(QIcon* icon, struct miqt_string text, QListWidget* listview); +QListWidgetItem* QListWidgetItem_new11(QIcon* icon, struct miqt_string text, QListWidget* listview, int type); QListWidgetItem* QListWidgetItem_clone(const QListWidgetItem* self); QListWidget* QListWidgetItem_listWidget(const QListWidgetItem* self); void QListWidgetItem_setSelected(QListWidgetItem* self, bool select); diff --git a/qt/gen_qmetatype.cpp b/qt/gen_qmetatype.cpp index a6514e7c9..b3b35013d 100644 --- a/qt/gen_qmetatype.cpp +++ b/qt/gen_qmetatype.cpp @@ -18,7 +18,11 @@ QMetaType* QMetaType_new() { return new (std::nothrow) QMetaType(); } -QMetaType* QMetaType_new2(const int type) { +QMetaType* QMetaType_new2() { + return new (std::nothrow) QMetaType(); +} + +QMetaType* QMetaType_new3(const int type) { return new (std::nothrow) QMetaType(static_cast(type)); } diff --git a/qt/gen_qmetatype.go b/qt/gen_qmetatype.go index 8986a5666..22e7965af 100644 --- a/qt/gen_qmetatype.go +++ b/qt/gen_qmetatype.go @@ -186,9 +186,15 @@ func NewQMetaType() *QMetaType { } // NewQMetaType2 constructs a new QMetaType object. -func NewQMetaType2(typeVal int) *QMetaType { +func NewQMetaType2() *QMetaType { - return newQMetaType(C.QMetaType_new2((C.int)(typeVal))) + return newQMetaType(C.QMetaType_new2()) +} + +// NewQMetaType3 constructs a new QMetaType object. +func NewQMetaType3(typeVal int) *QMetaType { + + return newQMetaType(C.QMetaType_new3((C.int)(typeVal))) } func QMetaType_UnregisterType(typeVal int) bool { diff --git a/qt/gen_qmetatype.h b/qt/gen_qmetatype.h index 2091e7a44..065fd56b1 100644 --- a/qt/gen_qmetatype.h +++ b/qt/gen_qmetatype.h @@ -27,7 +27,8 @@ typedef struct QMetaType QMetaType; #endif QMetaType* QMetaType_new(); -QMetaType* QMetaType_new2(const int type); +QMetaType* QMetaType_new2(); +QMetaType* QMetaType_new3(const int type); bool QMetaType_unregisterType(int type); int QMetaType_registerTypedef(const char* typeName, int aliasId); int QMetaType_registerNormalizedTypedef(struct miqt_string normalizedTypeName, int aliasId); diff --git a/qt/gen_qobjectdefs.cpp b/qt/gen_qobjectdefs.cpp index a426dbbdb..af868c2c7 100644 --- a/qt/gen_qobjectdefs.cpp +++ b/qt/gen_qobjectdefs.cpp @@ -31,11 +31,15 @@ QGenericArgument* QGenericArgument_new2(QGenericArgument* param1) { return new (std::nothrow) QGenericArgument(*param1); } -QGenericArgument* QGenericArgument_new3(const char* aName) { +QGenericArgument* QGenericArgument_new3() { + return new (std::nothrow) QGenericArgument(); +} + +QGenericArgument* QGenericArgument_new4(const char* aName) { return new (std::nothrow) QGenericArgument(aName); } -QGenericArgument* QGenericArgument_new4(const char* aName, const void* aData) { +QGenericArgument* QGenericArgument_new5(const char* aName, const void* aData) { return new (std::nothrow) QGenericArgument(aName, aData); } @@ -59,11 +63,15 @@ QGenericReturnArgument* QGenericReturnArgument_new2(QGenericReturnArgument* para return new (std::nothrow) QGenericReturnArgument(*param1); } -QGenericReturnArgument* QGenericReturnArgument_new3(const char* aName) { +QGenericReturnArgument* QGenericReturnArgument_new3() { + return new (std::nothrow) QGenericReturnArgument(); +} + +QGenericReturnArgument* QGenericReturnArgument_new4(const char* aName) { return new (std::nothrow) QGenericReturnArgument(aName); } -QGenericReturnArgument* QGenericReturnArgument_new4(const char* aName, void* aData) { +QGenericReturnArgument* QGenericReturnArgument_new5(const char* aName, void* aData) { return new (std::nothrow) QGenericReturnArgument(aName, aData); } diff --git a/qt/gen_qobjectdefs.go b/qt/gen_qobjectdefs.go index 4ad9f76ef..b7f270eb0 100644 --- a/qt/gen_qobjectdefs.go +++ b/qt/gen_qobjectdefs.go @@ -76,19 +76,25 @@ func NewQGenericArgument2(param1 *QGenericArgument) *QGenericArgument { } // NewQGenericArgument3 constructs a new QGenericArgument object. -func NewQGenericArgument3(aName string) *QGenericArgument { +func NewQGenericArgument3() *QGenericArgument { + + return newQGenericArgument(C.QGenericArgument_new3()) +} + +// NewQGenericArgument4 constructs a new QGenericArgument object. +func NewQGenericArgument4(aName string) *QGenericArgument { aName_Cstring := C.CString(aName) defer C.free(unsafe.Pointer(aName_Cstring)) - return newQGenericArgument(C.QGenericArgument_new3(aName_Cstring)) + return newQGenericArgument(C.QGenericArgument_new4(aName_Cstring)) } -// NewQGenericArgument4 constructs a new QGenericArgument object. -func NewQGenericArgument4(aName string, aData unsafe.Pointer) *QGenericArgument { +// NewQGenericArgument5 constructs a new QGenericArgument object. +func NewQGenericArgument5(aName string, aData unsafe.Pointer) *QGenericArgument { aName_Cstring := C.CString(aName) defer C.free(unsafe.Pointer(aName_Cstring)) - return newQGenericArgument(C.QGenericArgument_new4(aName_Cstring, aData)) + return newQGenericArgument(C.QGenericArgument_new5(aName_Cstring, aData)) } func (this *QGenericArgument) Data() unsafe.Pointer { @@ -163,19 +169,25 @@ func NewQGenericReturnArgument2(param1 *QGenericReturnArgument) *QGenericReturnA } // NewQGenericReturnArgument3 constructs a new QGenericReturnArgument object. -func NewQGenericReturnArgument3(aName string) *QGenericReturnArgument { +func NewQGenericReturnArgument3() *QGenericReturnArgument { + + return newQGenericReturnArgument(C.QGenericReturnArgument_new3()) +} + +// NewQGenericReturnArgument4 constructs a new QGenericReturnArgument object. +func NewQGenericReturnArgument4(aName string) *QGenericReturnArgument { aName_Cstring := C.CString(aName) defer C.free(unsafe.Pointer(aName_Cstring)) - return newQGenericReturnArgument(C.QGenericReturnArgument_new3(aName_Cstring)) + return newQGenericReturnArgument(C.QGenericReturnArgument_new4(aName_Cstring)) } -// NewQGenericReturnArgument4 constructs a new QGenericReturnArgument object. -func NewQGenericReturnArgument4(aName string, aData unsafe.Pointer) *QGenericReturnArgument { +// NewQGenericReturnArgument5 constructs a new QGenericReturnArgument object. +func NewQGenericReturnArgument5(aName string, aData unsafe.Pointer) *QGenericReturnArgument { aName_Cstring := C.CString(aName) defer C.free(unsafe.Pointer(aName_Cstring)) - return newQGenericReturnArgument(C.QGenericReturnArgument_new4(aName_Cstring, aData)) + return newQGenericReturnArgument(C.QGenericReturnArgument_new5(aName_Cstring, aData)) } // Delete this object from C++ memory. diff --git a/qt/gen_qobjectdefs.h b/qt/gen_qobjectdefs.h index 2e9a6d49c..8f53bf84e 100644 --- a/qt/gen_qobjectdefs.h +++ b/qt/gen_qobjectdefs.h @@ -48,8 +48,9 @@ typedef struct QObject QObject; QGenericArgument* QGenericArgument_new(); QGenericArgument* QGenericArgument_new2(QGenericArgument* param1); -QGenericArgument* QGenericArgument_new3(const char* aName); -QGenericArgument* QGenericArgument_new4(const char* aName, const void* aData); +QGenericArgument* QGenericArgument_new3(); +QGenericArgument* QGenericArgument_new4(const char* aName); +QGenericArgument* QGenericArgument_new5(const char* aName, const void* aData); void* QGenericArgument_data(const QGenericArgument* self); const char* QGenericArgument_name(const QGenericArgument* self); @@ -57,8 +58,9 @@ void QGenericArgument_delete(QGenericArgument* self); QGenericReturnArgument* QGenericReturnArgument_new(); QGenericReturnArgument* QGenericReturnArgument_new2(QGenericReturnArgument* param1); -QGenericReturnArgument* QGenericReturnArgument_new3(const char* aName); -QGenericReturnArgument* QGenericReturnArgument_new4(const char* aName, void* aData); +QGenericReturnArgument* QGenericReturnArgument_new3(); +QGenericReturnArgument* QGenericReturnArgument_new4(const char* aName); +QGenericReturnArgument* QGenericReturnArgument_new5(const char* aName, void* aData); void QGenericReturnArgument_virtbase(QGenericReturnArgument* src, QGenericArgument** outptr_QGenericArgument); void QGenericReturnArgument_delete(QGenericReturnArgument* self); diff --git a/qt/gen_qpicture.cpp b/qt/gen_qpicture.cpp index 93dcdb780..e3c2385a8 100644 --- a/qt/gen_qpicture.cpp +++ b/qt/gen_qpicture.cpp @@ -34,6 +34,7 @@ class MiqtVirtualQPicture final : public QPicture { MiqtVirtualQPicture(): QPicture() {} MiqtVirtualQPicture(const QPicture& param1): QPicture(param1) {} + MiqtVirtualQPicture(): QPicture() {} MiqtVirtualQPicture(int formatVersion): QPicture(formatVersion) {} virtual ~MiqtVirtualQPicture() override = default; @@ -162,7 +163,11 @@ QPicture* QPicture_new2(QPicture* param1) { return new (std::nothrow) MiqtVirtualQPicture(*param1); } -QPicture* QPicture_new3(int formatVersion) { +QPicture* QPicture_new3() { + return new (std::nothrow) MiqtVirtualQPicture(); +} + +QPicture* QPicture_new4(int formatVersion) { return new (std::nothrow) MiqtVirtualQPicture(static_cast(formatVersion)); } diff --git a/qt/gen_qpicture.go b/qt/gen_qpicture.go index aeaeae88e..114b469e2 100644 --- a/qt/gen_qpicture.go +++ b/qt/gen_qpicture.go @@ -63,9 +63,15 @@ func NewQPicture2(param1 *QPicture) *QPicture { } // NewQPicture3 constructs a new QPicture object. -func NewQPicture3(formatVersion int) *QPicture { +func NewQPicture3() *QPicture { - return newQPicture(C.QPicture_new3((C.int)(formatVersion))) + return newQPicture(C.QPicture_new3()) +} + +// NewQPicture4 constructs a new QPicture object. +func NewQPicture4(formatVersion int) *QPicture { + + return newQPicture(C.QPicture_new4((C.int)(formatVersion))) } func (this *QPicture) IsNull() bool { diff --git a/qt/gen_qpicture.h b/qt/gen_qpicture.h index c244d6e5c..3b18e0d61 100644 --- a/qt/gen_qpicture.h +++ b/qt/gen_qpicture.h @@ -36,7 +36,8 @@ typedef struct QRect QRect; QPicture* QPicture_new(); QPicture* QPicture_new2(QPicture* param1); -QPicture* QPicture_new3(int formatVersion); +QPicture* QPicture_new3(); +QPicture* QPicture_new4(int formatVersion); void QPicture_virtbase(QPicture* src, QPaintDevice** outptr_QPaintDevice); bool QPicture_isNull(const QPicture* self); int QPicture_devType(const QPicture* self); diff --git a/qt/gen_qrandom.cpp b/qt/gen_qrandom.cpp index 4b8dd1da4..2db7ca164 100644 --- a/qt/gen_qrandom.cpp +++ b/qt/gen_qrandom.cpp @@ -27,7 +27,11 @@ QRandomGenerator* QRandomGenerator_new4(QRandomGenerator* other) { return new (std::nothrow) QRandomGenerator(*other); } -QRandomGenerator* QRandomGenerator_new5(unsigned int seedValue) { +QRandomGenerator* QRandomGenerator_new5() { + return new (std::nothrow) QRandomGenerator(); +} + +QRandomGenerator* QRandomGenerator_new6(unsigned int seedValue) { return new (std::nothrow) QRandomGenerator(static_cast(seedValue)); } @@ -138,7 +142,11 @@ QRandomGenerator64* QRandomGenerator64_new5(QRandomGenerator64* param1) { return new (std::nothrow) QRandomGenerator64(*param1); } -QRandomGenerator64* QRandomGenerator64_new6(unsigned int seedValue) { +QRandomGenerator64* QRandomGenerator64_new6() { + return new (std::nothrow) QRandomGenerator64(); +} + +QRandomGenerator64* QRandomGenerator64_new7(unsigned int seedValue) { return new (std::nothrow) QRandomGenerator64(static_cast(seedValue)); } diff --git a/qt/gen_qrandom.go b/qt/gen_qrandom.go index dd807dfde..b8cc150d5 100644 --- a/qt/gen_qrandom.go +++ b/qt/gen_qrandom.go @@ -70,9 +70,15 @@ func NewQRandomGenerator4(other *QRandomGenerator) *QRandomGenerator { } // NewQRandomGenerator5 constructs a new QRandomGenerator object. -func NewQRandomGenerator5(seedValue uint) *QRandomGenerator { +func NewQRandomGenerator5() *QRandomGenerator { - return newQRandomGenerator(C.QRandomGenerator_new5((C.uint)(seedValue))) + return newQRandomGenerator(C.QRandomGenerator_new5()) +} + +// NewQRandomGenerator6 constructs a new QRandomGenerator object. +func NewQRandomGenerator6(seedValue uint) *QRandomGenerator { + + return newQRandomGenerator(C.QRandomGenerator_new6((C.uint)(seedValue))) } func (this *QRandomGenerator) OperatorAssign(other *QRandomGenerator) { @@ -234,9 +240,15 @@ func NewQRandomGenerator645(param1 *QRandomGenerator64) *QRandomGenerator64 { } // NewQRandomGenerator646 constructs a new QRandomGenerator64 object. -func NewQRandomGenerator646(seedValue uint) *QRandomGenerator64 { +func NewQRandomGenerator646() *QRandomGenerator64 { + + return newQRandomGenerator64(C.QRandomGenerator64_new6()) +} + +// NewQRandomGenerator647 constructs a new QRandomGenerator64 object. +func NewQRandomGenerator647(seedValue uint) *QRandomGenerator64 { - return newQRandomGenerator64(C.QRandomGenerator64_new6((C.uint)(seedValue))) + return newQRandomGenerator64(C.QRandomGenerator64_new7((C.uint)(seedValue))) } func (this *QRandomGenerator64) Generate() uint64 { diff --git a/qt/gen_qrandom.h b/qt/gen_qrandom.h index cc1363801..1cabcb557 100644 --- a/qt/gen_qrandom.h +++ b/qt/gen_qrandom.h @@ -26,7 +26,8 @@ QRandomGenerator* QRandomGenerator_new(); QRandomGenerator* QRandomGenerator_new2(const unsigned int* seedBuffer, ptrdiff_t len); QRandomGenerator* QRandomGenerator_new3(const unsigned int* begin, const unsigned int* end); QRandomGenerator* QRandomGenerator_new4(QRandomGenerator* other); -QRandomGenerator* QRandomGenerator_new5(unsigned int seedValue); +QRandomGenerator* QRandomGenerator_new5(); +QRandomGenerator* QRandomGenerator_new6(unsigned int seedValue); void QRandomGenerator_operatorAssign(QRandomGenerator* self, QRandomGenerator* other); unsigned int QRandomGenerator_generate(QRandomGenerator* self); unsigned long long QRandomGenerator_generate64(QRandomGenerator* self); @@ -54,7 +55,8 @@ QRandomGenerator64* QRandomGenerator64_new2(const unsigned int* seedBuffer, ptrd QRandomGenerator64* QRandomGenerator64_new3(const unsigned int* begin, const unsigned int* end); QRandomGenerator64* QRandomGenerator64_new4(QRandomGenerator* other); QRandomGenerator64* QRandomGenerator64_new5(QRandomGenerator64* param1); -QRandomGenerator64* QRandomGenerator64_new6(unsigned int seedValue); +QRandomGenerator64* QRandomGenerator64_new6(); +QRandomGenerator64* QRandomGenerator64_new7(unsigned int seedValue); void QRandomGenerator64_virtbase(QRandomGenerator64* src, QRandomGenerator** outptr_QRandomGenerator); unsigned long long QRandomGenerator64_generate(QRandomGenerator64* self); unsigned long long QRandomGenerator64_operatorCall(QRandomGenerator64* self); diff --git a/qt/gen_qsocketnotifier.cpp b/qt/gen_qsocketnotifier.cpp index e84b2aaa8..54d64e3e0 100644 --- a/qt/gen_qsocketnotifier.cpp +++ b/qt/gen_qsocketnotifier.cpp @@ -436,7 +436,11 @@ QSocketDescriptor* QSocketDescriptor_new2(QSocketDescriptor* param1) { return new (std::nothrow) QSocketDescriptor(*param1); } -QSocketDescriptor* QSocketDescriptor_new3(int descriptor) { +QSocketDescriptor* QSocketDescriptor_new3() { + return new (std::nothrow) QSocketDescriptor(); +} + +QSocketDescriptor* QSocketDescriptor_new4(int descriptor) { #if defined(Q_OS_LINUX) return new (std::nothrow) QSocketDescriptor(static_cast(descriptor)); #else diff --git a/qt/gen_qsocketnotifier.go b/qt/gen_qsocketnotifier.go index 7e6eda985..145ce0fcc 100644 --- a/qt/gen_qsocketnotifier.go +++ b/qt/gen_qsocketnotifier.go @@ -487,13 +487,19 @@ func NewQSocketDescriptor2(param1 *QSocketDescriptor) *QSocketDescriptor { } // NewQSocketDescriptor3 constructs a new QSocketDescriptor object. -func NewQSocketDescriptor3(descriptor int) *QSocketDescriptor { +func NewQSocketDescriptor3() *QSocketDescriptor { + + return newQSocketDescriptor(C.QSocketDescriptor_new3()) +} + +// NewQSocketDescriptor4 constructs a new QSocketDescriptor object. +func NewQSocketDescriptor4(descriptor int) *QSocketDescriptor { if runtime.GOOS != "linux" { panic("Unsupported OS") } - return newQSocketDescriptor(C.QSocketDescriptor_new3((C.int)(descriptor))) + return newQSocketDescriptor(C.QSocketDescriptor_new4((C.int)(descriptor))) } func (this *QSocketDescriptor) ToInt() int { diff --git a/qt/gen_qsocketnotifier.h b/qt/gen_qsocketnotifier.h index 704aa3fa9..d051e26b7 100644 --- a/qt/gen_qsocketnotifier.h +++ b/qt/gen_qsocketnotifier.h @@ -77,7 +77,8 @@ void QSocketNotifier_delete(QSocketNotifier* self); QSocketDescriptor* QSocketDescriptor_new(); QSocketDescriptor* QSocketDescriptor_new2(QSocketDescriptor* param1); -QSocketDescriptor* QSocketDescriptor_new3(int descriptor); +QSocketDescriptor* QSocketDescriptor_new3(); +QSocketDescriptor* QSocketDescriptor_new4(int descriptor); int QSocketDescriptor_ToInt(const QSocketDescriptor* self); bool QSocketDescriptor_isValid(const QSocketDescriptor* self); diff --git a/qt/gen_qstyleoption.cpp b/qt/gen_qstyleoption.cpp index c609cc13d..aad58f291 100644 --- a/qt/gen_qstyleoption.cpp +++ b/qt/gen_qstyleoption.cpp @@ -66,11 +66,15 @@ QStyleOption* QStyleOption_new2(QStyleOption* other) { return new (std::nothrow) QStyleOption(*other); } -QStyleOption* QStyleOption_new3(int version) { +QStyleOption* QStyleOption_new3() { + return new (std::nothrow) QStyleOption(); +} + +QStyleOption* QStyleOption_new4(int version) { return new (std::nothrow) QStyleOption(static_cast(version)); } -QStyleOption* QStyleOption_new4(int version, int type) { +QStyleOption* QStyleOption_new5(int version, int type) { return new (std::nothrow) QStyleOption(static_cast(version), static_cast(type)); } @@ -1322,11 +1326,15 @@ QStyleOptionComplex* QStyleOptionComplex_new2(QStyleOptionComplex* other) { return new (std::nothrow) QStyleOptionComplex(*other); } -QStyleOptionComplex* QStyleOptionComplex_new3(int version) { +QStyleOptionComplex* QStyleOptionComplex_new3() { + return new (std::nothrow) QStyleOptionComplex(); +} + +QStyleOptionComplex* QStyleOptionComplex_new4(int version) { return new (std::nothrow) QStyleOptionComplex(static_cast(version)); } -QStyleOptionComplex* QStyleOptionComplex_new4(int version, int type) { +QStyleOptionComplex* QStyleOptionComplex_new5(int version, int type) { return new (std::nothrow) QStyleOptionComplex(static_cast(version), static_cast(type)); } @@ -1922,11 +1930,15 @@ QStyleHintReturn* QStyleHintReturn_new2(QStyleHintReturn* param1) { return new (std::nothrow) QStyleHintReturn(*param1); } -QStyleHintReturn* QStyleHintReturn_new3(int version) { +QStyleHintReturn* QStyleHintReturn_new3() { + return new (std::nothrow) QStyleHintReturn(); +} + +QStyleHintReturn* QStyleHintReturn_new4(int version) { return new (std::nothrow) QStyleHintReturn(static_cast(version)); } -QStyleHintReturn* QStyleHintReturn_new4(int version, int type) { +QStyleHintReturn* QStyleHintReturn_new5(int version, int type) { return new (std::nothrow) QStyleHintReturn(static_cast(version), static_cast(type)); } diff --git a/qt/gen_qstyleoption.go b/qt/gen_qstyleoption.go index 8c0e896b9..e1b9b47a3 100644 --- a/qt/gen_qstyleoption.go +++ b/qt/gen_qstyleoption.go @@ -599,15 +599,21 @@ func NewQStyleOption2(other *QStyleOption) *QStyleOption { } // NewQStyleOption3 constructs a new QStyleOption object. -func NewQStyleOption3(version int) *QStyleOption { +func NewQStyleOption3() *QStyleOption { - return newQStyleOption(C.QStyleOption_new3((C.int)(version))) + return newQStyleOption(C.QStyleOption_new3()) } // NewQStyleOption4 constructs a new QStyleOption object. -func NewQStyleOption4(version int, typeVal int) *QStyleOption { +func NewQStyleOption4(version int) *QStyleOption { - return newQStyleOption(C.QStyleOption_new4((C.int)(version), (C.int)(typeVal))) + return newQStyleOption(C.QStyleOption_new4((C.int)(version))) +} + +// NewQStyleOption5 constructs a new QStyleOption object. +func NewQStyleOption5(version int, typeVal int) *QStyleOption { + + return newQStyleOption(C.QStyleOption_new5((C.int)(version), (C.int)(typeVal))) } func (this *QStyleOption) Version() int { @@ -2611,15 +2617,21 @@ func NewQStyleOptionComplex2(other *QStyleOptionComplex) *QStyleOptionComplex { } // NewQStyleOptionComplex3 constructs a new QStyleOptionComplex object. -func NewQStyleOptionComplex3(version int) *QStyleOptionComplex { +func NewQStyleOptionComplex3() *QStyleOptionComplex { - return newQStyleOptionComplex(C.QStyleOptionComplex_new3((C.int)(version))) + return newQStyleOptionComplex(C.QStyleOptionComplex_new3()) } // NewQStyleOptionComplex4 constructs a new QStyleOptionComplex object. -func NewQStyleOptionComplex4(version int, typeVal int) *QStyleOptionComplex { +func NewQStyleOptionComplex4(version int) *QStyleOptionComplex { - return newQStyleOptionComplex(C.QStyleOptionComplex_new4((C.int)(version), (C.int)(typeVal))) + return newQStyleOptionComplex(C.QStyleOptionComplex_new4((C.int)(version))) +} + +// NewQStyleOptionComplex5 constructs a new QStyleOptionComplex object. +func NewQStyleOptionComplex5(version int, typeVal int) *QStyleOptionComplex { + + return newQStyleOptionComplex(C.QStyleOptionComplex_new5((C.int)(version), (C.int)(typeVal))) } func (this *QStyleOptionComplex) SubControls() QStyle__SubControl { @@ -3627,15 +3639,21 @@ func NewQStyleHintReturn2(param1 *QStyleHintReturn) *QStyleHintReturn { } // NewQStyleHintReturn3 constructs a new QStyleHintReturn object. -func NewQStyleHintReturn3(version int) *QStyleHintReturn { +func NewQStyleHintReturn3() *QStyleHintReturn { - return newQStyleHintReturn(C.QStyleHintReturn_new3((C.int)(version))) + return newQStyleHintReturn(C.QStyleHintReturn_new3()) } // NewQStyleHintReturn4 constructs a new QStyleHintReturn object. -func NewQStyleHintReturn4(version int, typeVal int) *QStyleHintReturn { +func NewQStyleHintReturn4(version int) *QStyleHintReturn { + + return newQStyleHintReturn(C.QStyleHintReturn_new4((C.int)(version))) +} + +// NewQStyleHintReturn5 constructs a new QStyleHintReturn object. +func NewQStyleHintReturn5(version int, typeVal int) *QStyleHintReturn { - return newQStyleHintReturn(C.QStyleHintReturn_new4((C.int)(version), (C.int)(typeVal))) + return newQStyleHintReturn(C.QStyleHintReturn_new5((C.int)(version), (C.int)(typeVal))) } func (this *QStyleHintReturn) Version() int { diff --git a/qt/gen_qstyleoption.h b/qt/gen_qstyleoption.h index 4004a8a1d..a15558b54 100644 --- a/qt/gen_qstyleoption.h +++ b/qt/gen_qstyleoption.h @@ -112,8 +112,9 @@ typedef struct QWidget QWidget; QStyleOption* QStyleOption_new(); QStyleOption* QStyleOption_new2(QStyleOption* other); -QStyleOption* QStyleOption_new3(int version); -QStyleOption* QStyleOption_new4(int version, int type); +QStyleOption* QStyleOption_new3(); +QStyleOption* QStyleOption_new4(int version); +QStyleOption* QStyleOption_new5(int version, int type); int QStyleOption_version(const QStyleOption* self); void QStyleOption_setVersion(QStyleOption* self, int version); int QStyleOption_type(const QStyleOption* self); @@ -433,8 +434,9 @@ void QStyleOptionRubberBand_delete(QStyleOptionRubberBand* self); QStyleOptionComplex* QStyleOptionComplex_new(); QStyleOptionComplex* QStyleOptionComplex_new2(QStyleOptionComplex* other); -QStyleOptionComplex* QStyleOptionComplex_new3(int version); -QStyleOptionComplex* QStyleOptionComplex_new4(int version, int type); +QStyleOptionComplex* QStyleOptionComplex_new3(); +QStyleOptionComplex* QStyleOptionComplex_new4(int version); +QStyleOptionComplex* QStyleOptionComplex_new5(int version, int type); void QStyleOptionComplex_virtbase(QStyleOptionComplex* src, QStyleOption** outptr_QStyleOption); int QStyleOptionComplex_subControls(const QStyleOptionComplex* self); void QStyleOptionComplex_setSubControls(QStyleOptionComplex* self, int subControls); @@ -589,8 +591,9 @@ void QStyleOptionGraphicsItem_delete(QStyleOptionGraphicsItem* self); QStyleHintReturn* QStyleHintReturn_new(); QStyleHintReturn* QStyleHintReturn_new2(QStyleHintReturn* param1); -QStyleHintReturn* QStyleHintReturn_new3(int version); -QStyleHintReturn* QStyleHintReturn_new4(int version, int type); +QStyleHintReturn* QStyleHintReturn_new3(); +QStyleHintReturn* QStyleHintReturn_new4(int version); +QStyleHintReturn* QStyleHintReturn_new5(int version, int type); int QStyleHintReturn_version(const QStyleHintReturn* self); void QStyleHintReturn_setVersion(QStyleHintReturn* self, int version); int QStyleHintReturn_type(const QStyleHintReturn* self); diff --git a/qt/gen_qtablewidget.cpp b/qt/gen_qtablewidget.cpp index 2d98b0f35..d3ddd2529 100644 --- a/qt/gen_qtablewidget.cpp +++ b/qt/gen_qtablewidget.cpp @@ -231,6 +231,7 @@ class MiqtVirtualQTableWidgetItem final : public QTableWidgetItem { MiqtVirtualQTableWidgetItem(const QString& text): QTableWidgetItem(text) {} MiqtVirtualQTableWidgetItem(const QIcon& icon, const QString& text): QTableWidgetItem(icon, text) {} MiqtVirtualQTableWidgetItem(const QTableWidgetItem& other): QTableWidgetItem(other) {} + MiqtVirtualQTableWidgetItem(): QTableWidgetItem() {} MiqtVirtualQTableWidgetItem(int type): QTableWidgetItem(type) {} MiqtVirtualQTableWidgetItem(const QString& text, int type): QTableWidgetItem(text, type) {} MiqtVirtualQTableWidgetItem(const QIcon& icon, const QString& text, int type): QTableWidgetItem(icon, text, type) {} @@ -364,16 +365,20 @@ QTableWidgetItem* QTableWidgetItem_new4(QTableWidgetItem* other) { return new (std::nothrow) MiqtVirtualQTableWidgetItem(*other); } -QTableWidgetItem* QTableWidgetItem_new5(int type) { +QTableWidgetItem* QTableWidgetItem_new5() { + return new (std::nothrow) MiqtVirtualQTableWidgetItem(); +} + +QTableWidgetItem* QTableWidgetItem_new6(int type) { return new (std::nothrow) MiqtVirtualQTableWidgetItem(static_cast(type)); } -QTableWidgetItem* QTableWidgetItem_new6(struct miqt_string text, int type) { +QTableWidgetItem* QTableWidgetItem_new7(struct miqt_string text, int type) { QString text_QString = QString::fromUtf8(text.data, text.len); return new (std::nothrow) MiqtVirtualQTableWidgetItem(text_QString, static_cast(type)); } -QTableWidgetItem* QTableWidgetItem_new7(QIcon* icon, struct miqt_string text, int type) { +QTableWidgetItem* QTableWidgetItem_new8(QIcon* icon, struct miqt_string text, int type) { QString text_QString = QString::fromUtf8(text.data, text.len); return new (std::nothrow) MiqtVirtualQTableWidgetItem(*icon, text_QString, static_cast(type)); } diff --git a/qt/gen_qtablewidget.go b/qt/gen_qtablewidget.go index ff1a70cfb..bb532d6e4 100644 --- a/qt/gen_qtablewidget.go +++ b/qt/gen_qtablewidget.go @@ -178,29 +178,35 @@ func NewQTableWidgetItem4(other *QTableWidgetItem) *QTableWidgetItem { } // NewQTableWidgetItem5 constructs a new QTableWidgetItem object. -func NewQTableWidgetItem5(typeVal int) *QTableWidgetItem { +func NewQTableWidgetItem5() *QTableWidgetItem { - return newQTableWidgetItem(C.QTableWidgetItem_new5((C.int)(typeVal))) + return newQTableWidgetItem(C.QTableWidgetItem_new5()) } // NewQTableWidgetItem6 constructs a new QTableWidgetItem object. -func NewQTableWidgetItem6(text string, typeVal int) *QTableWidgetItem { +func NewQTableWidgetItem6(typeVal int) *QTableWidgetItem { + + return newQTableWidgetItem(C.QTableWidgetItem_new6((C.int)(typeVal))) +} + +// NewQTableWidgetItem7 constructs a new QTableWidgetItem object. +func NewQTableWidgetItem7(text string, typeVal int) *QTableWidgetItem { text_ms := C.struct_miqt_string{} text_ms.data = C.CString(text) text_ms.len = C.size_t(len(text)) defer C.free(unsafe.Pointer(text_ms.data)) - return newQTableWidgetItem(C.QTableWidgetItem_new6(text_ms, (C.int)(typeVal))) + return newQTableWidgetItem(C.QTableWidgetItem_new7(text_ms, (C.int)(typeVal))) } -// NewQTableWidgetItem7 constructs a new QTableWidgetItem object. -func NewQTableWidgetItem7(icon *QIcon, text string, typeVal int) *QTableWidgetItem { +// NewQTableWidgetItem8 constructs a new QTableWidgetItem object. +func NewQTableWidgetItem8(icon *QIcon, text string, typeVal int) *QTableWidgetItem { text_ms := C.struct_miqt_string{} text_ms.data = C.CString(text) text_ms.len = C.size_t(len(text)) defer C.free(unsafe.Pointer(text_ms.data)) - return newQTableWidgetItem(C.QTableWidgetItem_new7(icon.cPointer(), text_ms, (C.int)(typeVal))) + return newQTableWidgetItem(C.QTableWidgetItem_new8(icon.cPointer(), text_ms, (C.int)(typeVal))) } func (this *QTableWidgetItem) Clone() *QTableWidgetItem { diff --git a/qt/gen_qtablewidget.h b/qt/gen_qtablewidget.h index b9ea161b3..86dd4483a 100644 --- a/qt/gen_qtablewidget.h +++ b/qt/gen_qtablewidget.h @@ -139,9 +139,10 @@ QTableWidgetItem* QTableWidgetItem_new(); QTableWidgetItem* QTableWidgetItem_new2(struct miqt_string text); QTableWidgetItem* QTableWidgetItem_new3(QIcon* icon, struct miqt_string text); QTableWidgetItem* QTableWidgetItem_new4(QTableWidgetItem* other); -QTableWidgetItem* QTableWidgetItem_new5(int type); -QTableWidgetItem* QTableWidgetItem_new6(struct miqt_string text, int type); -QTableWidgetItem* QTableWidgetItem_new7(QIcon* icon, struct miqt_string text, int type); +QTableWidgetItem* QTableWidgetItem_new5(); +QTableWidgetItem* QTableWidgetItem_new6(int type); +QTableWidgetItem* QTableWidgetItem_new7(struct miqt_string text, int type); +QTableWidgetItem* QTableWidgetItem_new8(QIcon* icon, struct miqt_string text, int type); QTableWidgetItem* QTableWidgetItem_clone(const QTableWidgetItem* self); QTableWidget* QTableWidgetItem_tableWidget(const QTableWidgetItem* self); int QTableWidgetItem_row(const QTableWidgetItem* self); diff --git a/qt/gen_qtextedit.cpp b/qt/gen_qtextedit.cpp index 50230f09e..fae5342bd 100644 --- a/qt/gen_qtextedit.cpp +++ b/qt/gen_qtextedit.cpp @@ -2708,6 +2708,10 @@ QTextEdit__ExtraSelection* QTextEdit__ExtraSelection_new(QTextEdit__ExtraSelecti return new (std::nothrow) QTextEdit::ExtraSelection(*param1); } +QTextEdit__ExtraSelection* QTextEdit__ExtraSelection_new2() { + return new (std::nothrow) QTextEdit::ExtraSelection(); +} + QTextCursor* QTextEdit__ExtraSelection_cursor(const QTextEdit__ExtraSelection* self) { return new QTextCursor(self->cursor); } diff --git a/qt/gen_qtextedit.go b/qt/gen_qtextedit.go index ece69a065..96e27bdfe 100644 --- a/qt/gen_qtextedit.go +++ b/qt/gen_qtextedit.go @@ -2550,6 +2550,12 @@ func NewQTextEdit__ExtraSelection(param1 *QTextEdit__ExtraSelection) *QTextEdit_ return newQTextEdit__ExtraSelection(C.QTextEdit__ExtraSelection_new(param1.cPointer())) } +// NewQTextEdit__ExtraSelection2 constructs a new QTextEdit::ExtraSelection object. +func NewQTextEdit__ExtraSelection2() *QTextEdit__ExtraSelection { + + return newQTextEdit__ExtraSelection(C.QTextEdit__ExtraSelection_new2()) +} + func (this *QTextEdit__ExtraSelection) Cursor() *QTextCursor { cursor_goptr := newQTextCursor(C.QTextEdit__ExtraSelection_cursor(this.h)) cursor_goptr.GoGC() // Qt uses pass-by-value semantics for this type. Mimic with finalizer diff --git a/qt/gen_qtextedit.h b/qt/gen_qtextedit.h index f27975194..3b34ccda0 100644 --- a/qt/gen_qtextedit.h +++ b/qt/gen_qtextedit.h @@ -406,6 +406,7 @@ bool QTextEdit_protectedbase_isSignalConnected(bool* _dynamic_cast_ok, const voi void QTextEdit_delete(QTextEdit* self); QTextEdit__ExtraSelection* QTextEdit__ExtraSelection_new(QTextEdit__ExtraSelection* param1); +QTextEdit__ExtraSelection* QTextEdit__ExtraSelection_new2(); QTextCursor* QTextEdit__ExtraSelection_cursor(const QTextEdit__ExtraSelection* self); void QTextEdit__ExtraSelection_setCursor(QTextEdit__ExtraSelection* self, QTextCursor* cursor); QTextCharFormat* QTextEdit__ExtraSelection_format(const QTextEdit__ExtraSelection* self); diff --git a/qt/gen_qtimezone.cpp b/qt/gen_qtimezone.cpp index b40781455..9e126c0d4 100644 --- a/qt/gen_qtimezone.cpp +++ b/qt/gen_qtimezone.cpp @@ -373,6 +373,10 @@ QTimeZone__OffsetData* QTimeZone__OffsetData_new(QTimeZone__OffsetData* param1) return new (std::nothrow) QTimeZone::OffsetData(*param1); } +QTimeZone__OffsetData* QTimeZone__OffsetData_new2() { + return new (std::nothrow) QTimeZone::OffsetData(); +} + struct miqt_string QTimeZone__OffsetData_abbreviation(const QTimeZone__OffsetData* self) { QString abbreviation_ret = self->abbreviation; // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory diff --git a/qt/gen_qtimezone.go b/qt/gen_qtimezone.go index 1ce1548f9..0ef01e4cb 100644 --- a/qt/gen_qtimezone.go +++ b/qt/gen_qtimezone.go @@ -503,6 +503,12 @@ func NewQTimeZone__OffsetData(param1 *QTimeZone__OffsetData) *QTimeZone__OffsetD return newQTimeZone__OffsetData(C.QTimeZone__OffsetData_new(param1.cPointer())) } +// NewQTimeZone__OffsetData2 constructs a new QTimeZone::OffsetData object. +func NewQTimeZone__OffsetData2() *QTimeZone__OffsetData { + + return newQTimeZone__OffsetData(C.QTimeZone__OffsetData_new2()) +} + func (this *QTimeZone__OffsetData) Abbreviation() string { var abbreviation_ms C.struct_miqt_string = C.QTimeZone__OffsetData_abbreviation(this.h) abbreviation_ret := C.GoStringN(abbreviation_ms.data, C.int(int64(abbreviation_ms.len))) diff --git a/qt/gen_qtimezone.h b/qt/gen_qtimezone.h index 424bbb6cc..20403246c 100644 --- a/qt/gen_qtimezone.h +++ b/qt/gen_qtimezone.h @@ -76,6 +76,7 @@ struct miqt_string QTimeZone_displayName5(const QTimeZone* self, int timeType, i void QTimeZone_delete(QTimeZone* self); QTimeZone__OffsetData* QTimeZone__OffsetData_new(QTimeZone__OffsetData* param1); +QTimeZone__OffsetData* QTimeZone__OffsetData_new2(); struct miqt_string QTimeZone__OffsetData_abbreviation(const QTimeZone__OffsetData* self); void QTimeZone__OffsetData_setAbbreviation(QTimeZone__OffsetData* self, struct miqt_string abbreviation); QDateTime* QTimeZone__OffsetData_atUtc(const QTimeZone__OffsetData* self); diff --git a/qt/gen_qtreewidget.cpp b/qt/gen_qtreewidget.cpp index e9436dd37..bf108c0a2 100644 --- a/qt/gen_qtreewidget.cpp +++ b/qt/gen_qtreewidget.cpp @@ -188,6 +188,7 @@ class MiqtVirtualQTreeWidgetItem final : public QTreeWidgetItem { MiqtVirtualQTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings): QTreeWidgetItem(parent, strings) {} MiqtVirtualQTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* after): QTreeWidgetItem(parent, after) {} MiqtVirtualQTreeWidgetItem(const QTreeWidgetItem& other): QTreeWidgetItem(other) {} + MiqtVirtualQTreeWidgetItem(): QTreeWidgetItem() {} MiqtVirtualQTreeWidgetItem(int type): QTreeWidgetItem(type) {} MiqtVirtualQTreeWidgetItem(const QStringList& strings, int type): QTreeWidgetItem(strings, type) {} MiqtVirtualQTreeWidgetItem(QTreeWidget* treeview, int type): QTreeWidgetItem(treeview, type) {} @@ -369,11 +370,15 @@ QTreeWidgetItem* QTreeWidgetItem_new9(QTreeWidgetItem* other) { return new (std::nothrow) MiqtVirtualQTreeWidgetItem(*other); } -QTreeWidgetItem* QTreeWidgetItem_new10(int type) { +QTreeWidgetItem* QTreeWidgetItem_new10() { + return new (std::nothrow) MiqtVirtualQTreeWidgetItem(); +} + +QTreeWidgetItem* QTreeWidgetItem_new11(int type) { return new (std::nothrow) MiqtVirtualQTreeWidgetItem(static_cast(type)); } -QTreeWidgetItem* QTreeWidgetItem_new11(struct miqt_array /* of struct miqt_string */ strings, int type) { +QTreeWidgetItem* QTreeWidgetItem_new12(struct miqt_array /* of struct miqt_string */ strings, int type) { QStringList strings_QList; strings_QList.reserve(strings.len); struct miqt_string* strings_arr = static_cast(strings.data); @@ -384,11 +389,11 @@ QTreeWidgetItem* QTreeWidgetItem_new11(struct miqt_array /* of struct miqt_strin return new (std::nothrow) MiqtVirtualQTreeWidgetItem(strings_QList, static_cast(type)); } -QTreeWidgetItem* QTreeWidgetItem_new12(QTreeWidget* treeview, int type) { +QTreeWidgetItem* QTreeWidgetItem_new13(QTreeWidget* treeview, int type) { return new (std::nothrow) MiqtVirtualQTreeWidgetItem(treeview, static_cast(type)); } -QTreeWidgetItem* QTreeWidgetItem_new13(QTreeWidget* treeview, struct miqt_array /* of struct miqt_string */ strings, int type) { +QTreeWidgetItem* QTreeWidgetItem_new14(QTreeWidget* treeview, struct miqt_array /* of struct miqt_string */ strings, int type) { QStringList strings_QList; strings_QList.reserve(strings.len); struct miqt_string* strings_arr = static_cast(strings.data); @@ -399,15 +404,15 @@ QTreeWidgetItem* QTreeWidgetItem_new13(QTreeWidget* treeview, struct miqt_array return new (std::nothrow) MiqtVirtualQTreeWidgetItem(treeview, strings_QList, static_cast(type)); } -QTreeWidgetItem* QTreeWidgetItem_new14(QTreeWidget* treeview, QTreeWidgetItem* after, int type) { +QTreeWidgetItem* QTreeWidgetItem_new15(QTreeWidget* treeview, QTreeWidgetItem* after, int type) { return new (std::nothrow) MiqtVirtualQTreeWidgetItem(treeview, after, static_cast(type)); } -QTreeWidgetItem* QTreeWidgetItem_new15(QTreeWidgetItem* parent, int type) { +QTreeWidgetItem* QTreeWidgetItem_new16(QTreeWidgetItem* parent, int type) { return new (std::nothrow) MiqtVirtualQTreeWidgetItem(parent, static_cast(type)); } -QTreeWidgetItem* QTreeWidgetItem_new16(QTreeWidgetItem* parent, struct miqt_array /* of struct miqt_string */ strings, int type) { +QTreeWidgetItem* QTreeWidgetItem_new17(QTreeWidgetItem* parent, struct miqt_array /* of struct miqt_string */ strings, int type) { QStringList strings_QList; strings_QList.reserve(strings.len); struct miqt_string* strings_arr = static_cast(strings.data); @@ -418,7 +423,7 @@ QTreeWidgetItem* QTreeWidgetItem_new16(QTreeWidgetItem* parent, struct miqt_arra return new (std::nothrow) MiqtVirtualQTreeWidgetItem(parent, strings_QList, static_cast(type)); } -QTreeWidgetItem* QTreeWidgetItem_new17(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type) { +QTreeWidgetItem* QTreeWidgetItem_new18(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type) { return new (std::nothrow) MiqtVirtualQTreeWidgetItem(parent, after, static_cast(type)); } diff --git a/qt/gen_qtreewidget.go b/qt/gen_qtreewidget.go index af90053e5..eef664a44 100644 --- a/qt/gen_qtreewidget.go +++ b/qt/gen_qtreewidget.go @@ -146,13 +146,19 @@ func NewQTreeWidgetItem9(other *QTreeWidgetItem) *QTreeWidgetItem { } // NewQTreeWidgetItem10 constructs a new QTreeWidgetItem object. -func NewQTreeWidgetItem10(typeVal int) *QTreeWidgetItem { +func NewQTreeWidgetItem10() *QTreeWidgetItem { - return newQTreeWidgetItem(C.QTreeWidgetItem_new10((C.int)(typeVal))) + return newQTreeWidgetItem(C.QTreeWidgetItem_new10()) } // NewQTreeWidgetItem11 constructs a new QTreeWidgetItem object. -func NewQTreeWidgetItem11(strings []string, typeVal int) *QTreeWidgetItem { +func NewQTreeWidgetItem11(typeVal int) *QTreeWidgetItem { + + return newQTreeWidgetItem(C.QTreeWidgetItem_new11((C.int)(typeVal))) +} + +// NewQTreeWidgetItem12 constructs a new QTreeWidgetItem object. +func NewQTreeWidgetItem12(strings []string, typeVal int) *QTreeWidgetItem { strings_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(strings)))) defer C.free(unsafe.Pointer(strings_CArray)) for i := range strings { @@ -164,17 +170,17 @@ func NewQTreeWidgetItem11(strings []string, typeVal int) *QTreeWidgetItem { } strings_ma := C.struct_miqt_array{len: C.size_t(len(strings)), data: unsafe.Pointer(strings_CArray)} - return newQTreeWidgetItem(C.QTreeWidgetItem_new11(strings_ma, (C.int)(typeVal))) + return newQTreeWidgetItem(C.QTreeWidgetItem_new12(strings_ma, (C.int)(typeVal))) } -// NewQTreeWidgetItem12 constructs a new QTreeWidgetItem object. -func NewQTreeWidgetItem12(treeview *QTreeWidget, typeVal int) *QTreeWidgetItem { +// NewQTreeWidgetItem13 constructs a new QTreeWidgetItem object. +func NewQTreeWidgetItem13(treeview *QTreeWidget, typeVal int) *QTreeWidgetItem { - return newQTreeWidgetItem(C.QTreeWidgetItem_new12(treeview.cPointer(), (C.int)(typeVal))) + return newQTreeWidgetItem(C.QTreeWidgetItem_new13(treeview.cPointer(), (C.int)(typeVal))) } -// NewQTreeWidgetItem13 constructs a new QTreeWidgetItem object. -func NewQTreeWidgetItem13(treeview *QTreeWidget, strings []string, typeVal int) *QTreeWidgetItem { +// NewQTreeWidgetItem14 constructs a new QTreeWidgetItem object. +func NewQTreeWidgetItem14(treeview *QTreeWidget, strings []string, typeVal int) *QTreeWidgetItem { strings_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(strings)))) defer C.free(unsafe.Pointer(strings_CArray)) for i := range strings { @@ -186,23 +192,23 @@ func NewQTreeWidgetItem13(treeview *QTreeWidget, strings []string, typeVal int) } strings_ma := C.struct_miqt_array{len: C.size_t(len(strings)), data: unsafe.Pointer(strings_CArray)} - return newQTreeWidgetItem(C.QTreeWidgetItem_new13(treeview.cPointer(), strings_ma, (C.int)(typeVal))) + return newQTreeWidgetItem(C.QTreeWidgetItem_new14(treeview.cPointer(), strings_ma, (C.int)(typeVal))) } -// NewQTreeWidgetItem14 constructs a new QTreeWidgetItem object. -func NewQTreeWidgetItem14(treeview *QTreeWidget, after *QTreeWidgetItem, typeVal int) *QTreeWidgetItem { +// NewQTreeWidgetItem15 constructs a new QTreeWidgetItem object. +func NewQTreeWidgetItem15(treeview *QTreeWidget, after *QTreeWidgetItem, typeVal int) *QTreeWidgetItem { - return newQTreeWidgetItem(C.QTreeWidgetItem_new14(treeview.cPointer(), after.cPointer(), (C.int)(typeVal))) + return newQTreeWidgetItem(C.QTreeWidgetItem_new15(treeview.cPointer(), after.cPointer(), (C.int)(typeVal))) } -// NewQTreeWidgetItem15 constructs a new QTreeWidgetItem object. -func NewQTreeWidgetItem15(parent *QTreeWidgetItem, typeVal int) *QTreeWidgetItem { +// NewQTreeWidgetItem16 constructs a new QTreeWidgetItem object. +func NewQTreeWidgetItem16(parent *QTreeWidgetItem, typeVal int) *QTreeWidgetItem { - return newQTreeWidgetItem(C.QTreeWidgetItem_new15(parent.cPointer(), (C.int)(typeVal))) + return newQTreeWidgetItem(C.QTreeWidgetItem_new16(parent.cPointer(), (C.int)(typeVal))) } -// NewQTreeWidgetItem16 constructs a new QTreeWidgetItem object. -func NewQTreeWidgetItem16(parent *QTreeWidgetItem, strings []string, typeVal int) *QTreeWidgetItem { +// NewQTreeWidgetItem17 constructs a new QTreeWidgetItem object. +func NewQTreeWidgetItem17(parent *QTreeWidgetItem, strings []string, typeVal int) *QTreeWidgetItem { strings_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(strings)))) defer C.free(unsafe.Pointer(strings_CArray)) for i := range strings { @@ -214,13 +220,13 @@ func NewQTreeWidgetItem16(parent *QTreeWidgetItem, strings []string, typeVal int } strings_ma := C.struct_miqt_array{len: C.size_t(len(strings)), data: unsafe.Pointer(strings_CArray)} - return newQTreeWidgetItem(C.QTreeWidgetItem_new16(parent.cPointer(), strings_ma, (C.int)(typeVal))) + return newQTreeWidgetItem(C.QTreeWidgetItem_new17(parent.cPointer(), strings_ma, (C.int)(typeVal))) } -// NewQTreeWidgetItem17 constructs a new QTreeWidgetItem object. -func NewQTreeWidgetItem17(parent *QTreeWidgetItem, after *QTreeWidgetItem, typeVal int) *QTreeWidgetItem { +// NewQTreeWidgetItem18 constructs a new QTreeWidgetItem object. +func NewQTreeWidgetItem18(parent *QTreeWidgetItem, after *QTreeWidgetItem, typeVal int) *QTreeWidgetItem { - return newQTreeWidgetItem(C.QTreeWidgetItem_new17(parent.cPointer(), after.cPointer(), (C.int)(typeVal))) + return newQTreeWidgetItem(C.QTreeWidgetItem_new18(parent.cPointer(), after.cPointer(), (C.int)(typeVal))) } func (this *QTreeWidgetItem) Clone() *QTreeWidgetItem { diff --git a/qt/gen_qtreewidget.h b/qt/gen_qtreewidget.h index e4bd666a2..fa4465bb6 100644 --- a/qt/gen_qtreewidget.h +++ b/qt/gen_qtreewidget.h @@ -129,14 +129,15 @@ QTreeWidgetItem* QTreeWidgetItem_new6(QTreeWidgetItem* parent); QTreeWidgetItem* QTreeWidgetItem_new7(QTreeWidgetItem* parent, struct miqt_array /* of struct miqt_string */ strings); QTreeWidgetItem* QTreeWidgetItem_new8(QTreeWidgetItem* parent, QTreeWidgetItem* after); QTreeWidgetItem* QTreeWidgetItem_new9(QTreeWidgetItem* other); -QTreeWidgetItem* QTreeWidgetItem_new10(int type); -QTreeWidgetItem* QTreeWidgetItem_new11(struct miqt_array /* of struct miqt_string */ strings, int type); -QTreeWidgetItem* QTreeWidgetItem_new12(QTreeWidget* treeview, int type); -QTreeWidgetItem* QTreeWidgetItem_new13(QTreeWidget* treeview, struct miqt_array /* of struct miqt_string */ strings, int type); -QTreeWidgetItem* QTreeWidgetItem_new14(QTreeWidget* treeview, QTreeWidgetItem* after, int type); -QTreeWidgetItem* QTreeWidgetItem_new15(QTreeWidgetItem* parent, int type); -QTreeWidgetItem* QTreeWidgetItem_new16(QTreeWidgetItem* parent, struct miqt_array /* of struct miqt_string */ strings, int type); -QTreeWidgetItem* QTreeWidgetItem_new17(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type); +QTreeWidgetItem* QTreeWidgetItem_new10(); +QTreeWidgetItem* QTreeWidgetItem_new11(int type); +QTreeWidgetItem* QTreeWidgetItem_new12(struct miqt_array /* of struct miqt_string */ strings, int type); +QTreeWidgetItem* QTreeWidgetItem_new13(QTreeWidget* treeview, int type); +QTreeWidgetItem* QTreeWidgetItem_new14(QTreeWidget* treeview, struct miqt_array /* of struct miqt_string */ strings, int type); +QTreeWidgetItem* QTreeWidgetItem_new15(QTreeWidget* treeview, QTreeWidgetItem* after, int type); +QTreeWidgetItem* QTreeWidgetItem_new16(QTreeWidgetItem* parent, int type); +QTreeWidgetItem* QTreeWidgetItem_new17(QTreeWidgetItem* parent, struct miqt_array /* of struct miqt_string */ strings, int type); +QTreeWidgetItem* QTreeWidgetItem_new18(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type); QTreeWidgetItem* QTreeWidgetItem_clone(const QTreeWidgetItem* self); QTreeWidget* QTreeWidgetItem_treeWidget(const QTreeWidgetItem* self); void QTreeWidgetItem_setSelected(QTreeWidgetItem* self, bool select); diff --git a/qt/multimedia/gen_qcamerainfo.cpp b/qt/multimedia/gen_qcamerainfo.cpp index 9562de370..bd056e31c 100644 --- a/qt/multimedia/gen_qcamerainfo.cpp +++ b/qt/multimedia/gen_qcamerainfo.cpp @@ -28,7 +28,11 @@ QCameraInfo* QCameraInfo_new3(QCameraInfo* other) { return new (std::nothrow) QCameraInfo(*other); } -QCameraInfo* QCameraInfo_new4(struct miqt_string name) { +QCameraInfo* QCameraInfo_new4() { + return new (std::nothrow) QCameraInfo(); +} + +QCameraInfo* QCameraInfo_new5(struct miqt_string name) { QByteArray name_QByteArray(name.data, name.len); return new (std::nothrow) QCameraInfo(name_QByteArray); } diff --git a/qt/multimedia/gen_qcamerainfo.go b/qt/multimedia/gen_qcamerainfo.go index cd054b61a..9ad7d8e24 100644 --- a/qt/multimedia/gen_qcamerainfo.go +++ b/qt/multimedia/gen_qcamerainfo.go @@ -64,7 +64,13 @@ func NewQCameraInfo3(other *QCameraInfo) *QCameraInfo { } // NewQCameraInfo4 constructs a new QCameraInfo object. -func NewQCameraInfo4(name []byte) *QCameraInfo { +func NewQCameraInfo4() *QCameraInfo { + + return newQCameraInfo(C.QCameraInfo_new4()) +} + +// NewQCameraInfo5 constructs a new QCameraInfo object. +func NewQCameraInfo5(name []byte) *QCameraInfo { name_alias := C.struct_miqt_string{} if len(name) > 0 { name_alias.data = (*C.char)(unsafe.Pointer(&name[0])) @@ -73,7 +79,7 @@ func NewQCameraInfo4(name []byte) *QCameraInfo { } name_alias.len = C.size_t(len(name)) - return newQCameraInfo(C.QCameraInfo_new4(name_alias)) + return newQCameraInfo(C.QCameraInfo_new5(name_alias)) } func (this *QCameraInfo) OperatorAssign(other *QCameraInfo) { diff --git a/qt/multimedia/gen_qcamerainfo.h b/qt/multimedia/gen_qcamerainfo.h index 3bf23b56e..8efafae51 100644 --- a/qt/multimedia/gen_qcamerainfo.h +++ b/qt/multimedia/gen_qcamerainfo.h @@ -25,7 +25,8 @@ typedef struct QCameraInfo QCameraInfo; QCameraInfo* QCameraInfo_new(); QCameraInfo* QCameraInfo_new2(QCamera* camera); QCameraInfo* QCameraInfo_new3(QCameraInfo* other); -QCameraInfo* QCameraInfo_new4(struct miqt_string name); +QCameraInfo* QCameraInfo_new4(); +QCameraInfo* QCameraInfo_new5(struct miqt_string name); void QCameraInfo_operatorAssign(QCameraInfo* self, QCameraInfo* other); bool QCameraInfo_operatorEqual(const QCameraInfo* self, QCameraInfo* other); bool QCameraInfo_operatorNotEqual(const QCameraInfo* self, QCameraInfo* other); diff --git a/qt/network/gen_qhostinfo.cpp b/qt/network/gen_qhostinfo.cpp index bfd0930ea..c1fda6083 100644 --- a/qt/network/gen_qhostinfo.cpp +++ b/qt/network/gen_qhostinfo.cpp @@ -23,7 +23,11 @@ QHostInfo* QHostInfo_new2(QHostInfo* d) { return new (std::nothrow) QHostInfo(*d); } -QHostInfo* QHostInfo_new3(int lookupId) { +QHostInfo* QHostInfo_new3() { + return new (std::nothrow) QHostInfo(); +} + +QHostInfo* QHostInfo_new4(int lookupId) { return new (std::nothrow) QHostInfo(static_cast(lookupId)); } diff --git a/qt/network/gen_qhostinfo.go b/qt/network/gen_qhostinfo.go index 740fa4321..da74cee24 100644 --- a/qt/network/gen_qhostinfo.go +++ b/qt/network/gen_qhostinfo.go @@ -66,9 +66,15 @@ func NewQHostInfo2(d *QHostInfo) *QHostInfo { } // NewQHostInfo3 constructs a new QHostInfo object. -func NewQHostInfo3(lookupId int) *QHostInfo { +func NewQHostInfo3() *QHostInfo { - return newQHostInfo(C.QHostInfo_new3((C.int)(lookupId))) + return newQHostInfo(C.QHostInfo_new3()) +} + +// NewQHostInfo4 constructs a new QHostInfo object. +func NewQHostInfo4(lookupId int) *QHostInfo { + + return newQHostInfo(C.QHostInfo_new4((C.int)(lookupId))) } func (this *QHostInfo) OperatorAssign(d *QHostInfo) { diff --git a/qt/network/gen_qhostinfo.h b/qt/network/gen_qhostinfo.h index b2db57a03..8df7b9bf9 100644 --- a/qt/network/gen_qhostinfo.h +++ b/qt/network/gen_qhostinfo.h @@ -24,7 +24,8 @@ typedef struct QHostInfo QHostInfo; QHostInfo* QHostInfo_new(); QHostInfo* QHostInfo_new2(QHostInfo* d); -QHostInfo* QHostInfo_new3(int lookupId); +QHostInfo* QHostInfo_new3(); +QHostInfo* QHostInfo_new4(int lookupId); void QHostInfo_operatorAssign(QHostInfo* self, QHostInfo* d); void QHostInfo_swap(QHostInfo* self, QHostInfo* other); struct miqt_string QHostInfo_hostName(const QHostInfo* self); diff --git a/qt/network/gen_qnetworkcookie.cpp b/qt/network/gen_qnetworkcookie.cpp index 410a5b987..efdf5f3d1 100644 --- a/qt/network/gen_qnetworkcookie.cpp +++ b/qt/network/gen_qnetworkcookie.cpp @@ -25,12 +25,16 @@ QNetworkCookie* QNetworkCookie_new2(QNetworkCookie* other) { return new (std::nothrow) QNetworkCookie(*other); } -QNetworkCookie* QNetworkCookie_new3(struct miqt_string name) { +QNetworkCookie* QNetworkCookie_new3() { + return new (std::nothrow) QNetworkCookie(); +} + +QNetworkCookie* QNetworkCookie_new4(struct miqt_string name) { QByteArray name_QByteArray(name.data, name.len); return new (std::nothrow) QNetworkCookie(name_QByteArray); } -QNetworkCookie* QNetworkCookie_new4(struct miqt_string name, struct miqt_string value) { +QNetworkCookie* QNetworkCookie_new5(struct miqt_string name, struct miqt_string value) { QByteArray name_QByteArray(name.data, name.len); QByteArray value_QByteArray(value.data, value.len); return new (std::nothrow) QNetworkCookie(name_QByteArray, value_QByteArray); diff --git a/qt/network/gen_qnetworkcookie.go b/qt/network/gen_qnetworkcookie.go index 1b52b7519..89bb749cc 100644 --- a/qt/network/gen_qnetworkcookie.go +++ b/qt/network/gen_qnetworkcookie.go @@ -66,7 +66,13 @@ func NewQNetworkCookie2(other *QNetworkCookie) *QNetworkCookie { } // NewQNetworkCookie3 constructs a new QNetworkCookie object. -func NewQNetworkCookie3(name []byte) *QNetworkCookie { +func NewQNetworkCookie3() *QNetworkCookie { + + return newQNetworkCookie(C.QNetworkCookie_new3()) +} + +// NewQNetworkCookie4 constructs a new QNetworkCookie object. +func NewQNetworkCookie4(name []byte) *QNetworkCookie { name_alias := C.struct_miqt_string{} if len(name) > 0 { name_alias.data = (*C.char)(unsafe.Pointer(&name[0])) @@ -75,11 +81,11 @@ func NewQNetworkCookie3(name []byte) *QNetworkCookie { } name_alias.len = C.size_t(len(name)) - return newQNetworkCookie(C.QNetworkCookie_new3(name_alias)) + return newQNetworkCookie(C.QNetworkCookie_new4(name_alias)) } -// NewQNetworkCookie4 constructs a new QNetworkCookie object. -func NewQNetworkCookie4(name []byte, value []byte) *QNetworkCookie { +// NewQNetworkCookie5 constructs a new QNetworkCookie object. +func NewQNetworkCookie5(name []byte, value []byte) *QNetworkCookie { name_alias := C.struct_miqt_string{} if len(name) > 0 { name_alias.data = (*C.char)(unsafe.Pointer(&name[0])) @@ -95,7 +101,7 @@ func NewQNetworkCookie4(name []byte, value []byte) *QNetworkCookie { } value_alias.len = C.size_t(len(value)) - return newQNetworkCookie(C.QNetworkCookie_new4(name_alias, value_alias)) + return newQNetworkCookie(C.QNetworkCookie_new5(name_alias, value_alias)) } func (this *QNetworkCookie) OperatorAssign(other *QNetworkCookie) { diff --git a/qt/network/gen_qnetworkcookie.h b/qt/network/gen_qnetworkcookie.h index 2d4fc7311..7d9c0e048 100644 --- a/qt/network/gen_qnetworkcookie.h +++ b/qt/network/gen_qnetworkcookie.h @@ -26,8 +26,9 @@ typedef struct QUrl QUrl; QNetworkCookie* QNetworkCookie_new(); QNetworkCookie* QNetworkCookie_new2(QNetworkCookie* other); -QNetworkCookie* QNetworkCookie_new3(struct miqt_string name); -QNetworkCookie* QNetworkCookie_new4(struct miqt_string name, struct miqt_string value); +QNetworkCookie* QNetworkCookie_new3(); +QNetworkCookie* QNetworkCookie_new4(struct miqt_string name); +QNetworkCookie* QNetworkCookie_new5(struct miqt_string name, struct miqt_string value); void QNetworkCookie_operatorAssign(QNetworkCookie* self, QNetworkCookie* other); void QNetworkCookie_swap(QNetworkCookie* self, QNetworkCookie* other); bool QNetworkCookie_operatorEqual(const QNetworkCookie* self, QNetworkCookie* other); diff --git a/qt/network/gen_qsslcertificate.cpp b/qt/network/gen_qsslcertificate.cpp index 21861f128..275577384 100644 --- a/qt/network/gen_qsslcertificate.cpp +++ b/qt/network/gen_qsslcertificate.cpp @@ -32,16 +32,20 @@ QSslCertificate* QSslCertificate_new3(QSslCertificate* other) { return new (std::nothrow) QSslCertificate(*other); } -QSslCertificate* QSslCertificate_new4(QIODevice* device, int format) { +QSslCertificate* QSslCertificate_new4() { + return new (std::nothrow) QSslCertificate(); +} + +QSslCertificate* QSslCertificate_new5(QIODevice* device, int format) { return new (std::nothrow) QSslCertificate(device, static_cast(format)); } -QSslCertificate* QSslCertificate_new5(struct miqt_string data) { +QSslCertificate* QSslCertificate_new6(struct miqt_string data) { QByteArray data_QByteArray(data.data, data.len); return new (std::nothrow) QSslCertificate(data_QByteArray); } -QSslCertificate* QSslCertificate_new6(struct miqt_string data, int format) { +QSslCertificate* QSslCertificate_new7(struct miqt_string data, int format) { QByteArray data_QByteArray(data.data, data.len); return new (std::nothrow) QSslCertificate(data_QByteArray, static_cast(format)); } diff --git a/qt/network/gen_qsslcertificate.go b/qt/network/gen_qsslcertificate.go index 366735d5a..2ba402b76 100644 --- a/qt/network/gen_qsslcertificate.go +++ b/qt/network/gen_qsslcertificate.go @@ -87,13 +87,19 @@ func NewQSslCertificate3(other *QSslCertificate) *QSslCertificate { } // NewQSslCertificate4 constructs a new QSslCertificate object. -func NewQSslCertificate4(device *qt.QIODevice, format QSsl__EncodingFormat) *QSslCertificate { +func NewQSslCertificate4() *QSslCertificate { - return newQSslCertificate(C.QSslCertificate_new4((*C.QIODevice)(device.UnsafePointer()), (C.int)(format))) + return newQSslCertificate(C.QSslCertificate_new4()) } // NewQSslCertificate5 constructs a new QSslCertificate object. -func NewQSslCertificate5(data []byte) *QSslCertificate { +func NewQSslCertificate5(device *qt.QIODevice, format QSsl__EncodingFormat) *QSslCertificate { + + return newQSslCertificate(C.QSslCertificate_new5((*C.QIODevice)(device.UnsafePointer()), (C.int)(format))) +} + +// NewQSslCertificate6 constructs a new QSslCertificate object. +func NewQSslCertificate6(data []byte) *QSslCertificate { data_alias := C.struct_miqt_string{} if len(data) > 0 { data_alias.data = (*C.char)(unsafe.Pointer(&data[0])) @@ -102,11 +108,11 @@ func NewQSslCertificate5(data []byte) *QSslCertificate { } data_alias.len = C.size_t(len(data)) - return newQSslCertificate(C.QSslCertificate_new5(data_alias)) + return newQSslCertificate(C.QSslCertificate_new6(data_alias)) } -// NewQSslCertificate6 constructs a new QSslCertificate object. -func NewQSslCertificate6(data []byte, format QSsl__EncodingFormat) *QSslCertificate { +// NewQSslCertificate7 constructs a new QSslCertificate object. +func NewQSslCertificate7(data []byte, format QSsl__EncodingFormat) *QSslCertificate { data_alias := C.struct_miqt_string{} if len(data) > 0 { data_alias.data = (*C.char)(unsafe.Pointer(&data[0])) @@ -115,7 +121,7 @@ func NewQSslCertificate6(data []byte, format QSsl__EncodingFormat) *QSslCertific } data_alias.len = C.size_t(len(data)) - return newQSslCertificate(C.QSslCertificate_new6(data_alias, (C.int)(format))) + return newQSslCertificate(C.QSslCertificate_new7(data_alias, (C.int)(format))) } func (this *QSslCertificate) OperatorAssign(other *QSslCertificate) { diff --git a/qt/network/gen_qsslcertificate.h b/qt/network/gen_qsslcertificate.h index 522152bc0..75e6eb8a1 100644 --- a/qt/network/gen_qsslcertificate.h +++ b/qt/network/gen_qsslcertificate.h @@ -33,9 +33,10 @@ typedef struct QSslKey QSslKey; QSslCertificate* QSslCertificate_new(QIODevice* device); QSslCertificate* QSslCertificate_new2(); QSslCertificate* QSslCertificate_new3(QSslCertificate* other); -QSslCertificate* QSslCertificate_new4(QIODevice* device, int format); -QSslCertificate* QSslCertificate_new5(struct miqt_string data); -QSslCertificate* QSslCertificate_new6(struct miqt_string data, int format); +QSslCertificate* QSslCertificate_new4(); +QSslCertificate* QSslCertificate_new5(QIODevice* device, int format); +QSslCertificate* QSslCertificate_new6(struct miqt_string data); +QSslCertificate* QSslCertificate_new7(struct miqt_string data, int format); void QSslCertificate_operatorAssign(QSslCertificate* self, QSslCertificate* other); void QSslCertificate_swap(QSslCertificate* self, QSslCertificate* other); bool QSslCertificate_operatorEqual(const QSslCertificate* self, QSslCertificate* other); diff --git a/qt/positioning/gen_qgeoareamonitorinfo.cpp b/qt/positioning/gen_qgeoareamonitorinfo.cpp index 635013ff5..382a48960 100644 --- a/qt/positioning/gen_qgeoareamonitorinfo.cpp +++ b/qt/positioning/gen_qgeoareamonitorinfo.cpp @@ -25,7 +25,11 @@ QGeoAreaMonitorInfo* QGeoAreaMonitorInfo_new2(QGeoAreaMonitorInfo* other) { return new (std::nothrow) QGeoAreaMonitorInfo(*other); } -QGeoAreaMonitorInfo* QGeoAreaMonitorInfo_new3(struct miqt_string name) { +QGeoAreaMonitorInfo* QGeoAreaMonitorInfo_new3() { + return new (std::nothrow) QGeoAreaMonitorInfo(); +} + +QGeoAreaMonitorInfo* QGeoAreaMonitorInfo_new4(struct miqt_string name) { QString name_QString = QString::fromUtf8(name.data, name.len); return new (std::nothrow) QGeoAreaMonitorInfo(name_QString); } diff --git a/qt/positioning/gen_qgeoareamonitorinfo.go b/qt/positioning/gen_qgeoareamonitorinfo.go index 7f0e148dc..740eeba32 100644 --- a/qt/positioning/gen_qgeoareamonitorinfo.go +++ b/qt/positioning/gen_qgeoareamonitorinfo.go @@ -59,13 +59,19 @@ func NewQGeoAreaMonitorInfo2(other *QGeoAreaMonitorInfo) *QGeoAreaMonitorInfo { } // NewQGeoAreaMonitorInfo3 constructs a new QGeoAreaMonitorInfo object. -func NewQGeoAreaMonitorInfo3(name string) *QGeoAreaMonitorInfo { +func NewQGeoAreaMonitorInfo3() *QGeoAreaMonitorInfo { + + return newQGeoAreaMonitorInfo(C.QGeoAreaMonitorInfo_new3()) +} + +// NewQGeoAreaMonitorInfo4 constructs a new QGeoAreaMonitorInfo object. +func NewQGeoAreaMonitorInfo4(name string) *QGeoAreaMonitorInfo { name_ms := C.struct_miqt_string{} name_ms.data = C.CString(name) name_ms.len = C.size_t(len(name)) defer C.free(unsafe.Pointer(name_ms.data)) - return newQGeoAreaMonitorInfo(C.QGeoAreaMonitorInfo_new3(name_ms)) + return newQGeoAreaMonitorInfo(C.QGeoAreaMonitorInfo_new4(name_ms)) } func (this *QGeoAreaMonitorInfo) OperatorAssign(other *QGeoAreaMonitorInfo) { diff --git a/qt/positioning/gen_qgeoareamonitorinfo.h b/qt/positioning/gen_qgeoareamonitorinfo.h index 7b44a4e52..f61c786df 100644 --- a/qt/positioning/gen_qgeoareamonitorinfo.h +++ b/qt/positioning/gen_qgeoareamonitorinfo.h @@ -28,7 +28,8 @@ typedef struct QVariant QVariant; QGeoAreaMonitorInfo* QGeoAreaMonitorInfo_new(); QGeoAreaMonitorInfo* QGeoAreaMonitorInfo_new2(QGeoAreaMonitorInfo* other); -QGeoAreaMonitorInfo* QGeoAreaMonitorInfo_new3(struct miqt_string name); +QGeoAreaMonitorInfo* QGeoAreaMonitorInfo_new3(); +QGeoAreaMonitorInfo* QGeoAreaMonitorInfo_new4(struct miqt_string name); void QGeoAreaMonitorInfo_operatorAssign(QGeoAreaMonitorInfo* self, QGeoAreaMonitorInfo* other); bool QGeoAreaMonitorInfo_operatorEqual(const QGeoAreaMonitorInfo* self, QGeoAreaMonitorInfo* other); bool QGeoAreaMonitorInfo_operatorNotEqual(const QGeoAreaMonitorInfo* self, QGeoAreaMonitorInfo* other); diff --git a/qt/sql/gen_qsqlerror.cpp b/qt/sql/gen_qsqlerror.cpp index 0f5ce9d74..ae29dfa91 100644 --- a/qt/sql/gen_qsqlerror.cpp +++ b/qt/sql/gen_qsqlerror.cpp @@ -27,24 +27,28 @@ QSqlError* QSqlError_new3(QSqlError* other) { return new (std::nothrow) QSqlError(*other); } -QSqlError* QSqlError_new4(struct miqt_string driverText) { +QSqlError* QSqlError_new4() { + return new (std::nothrow) QSqlError(); +} + +QSqlError* QSqlError_new5(struct miqt_string driverText) { QString driverText_QString = QString::fromUtf8(driverText.data, driverText.len); return new (std::nothrow) QSqlError(driverText_QString); } -QSqlError* QSqlError_new5(struct miqt_string driverText, struct miqt_string databaseText) { +QSqlError* QSqlError_new6(struct miqt_string driverText, struct miqt_string databaseText) { QString driverText_QString = QString::fromUtf8(driverText.data, driverText.len); QString databaseText_QString = QString::fromUtf8(databaseText.data, databaseText.len); return new (std::nothrow) QSqlError(driverText_QString, databaseText_QString); } -QSqlError* QSqlError_new6(struct miqt_string driverText, struct miqt_string databaseText, int type) { +QSqlError* QSqlError_new7(struct miqt_string driverText, struct miqt_string databaseText, int type) { QString driverText_QString = QString::fromUtf8(driverText.data, driverText.len); QString databaseText_QString = QString::fromUtf8(databaseText.data, databaseText.len); return new (std::nothrow) QSqlError(driverText_QString, databaseText_QString, static_cast(type)); } -QSqlError* QSqlError_new7(struct miqt_string driverText, struct miqt_string databaseText, int type, struct miqt_string errorCode) { +QSqlError* QSqlError_new8(struct miqt_string driverText, struct miqt_string databaseText, int type, struct miqt_string errorCode) { QString driverText_QString = QString::fromUtf8(driverText.data, driverText.len); QString databaseText_QString = QString::fromUtf8(databaseText.data, databaseText.len); QString errorCode_QString = QString::fromUtf8(errorCode.data, errorCode.len); diff --git a/qt/sql/gen_qsqlerror.go b/qt/sql/gen_qsqlerror.go index 464f4c59c..7d4fa718c 100644 --- a/qt/sql/gen_qsqlerror.go +++ b/qt/sql/gen_qsqlerror.go @@ -82,17 +82,23 @@ func NewQSqlError3(other *QSqlError) *QSqlError { } // NewQSqlError4 constructs a new QSqlError object. -func NewQSqlError4(driverText string) *QSqlError { +func NewQSqlError4() *QSqlError { + + return newQSqlError(C.QSqlError_new4()) +} + +// NewQSqlError5 constructs a new QSqlError object. +func NewQSqlError5(driverText string) *QSqlError { driverText_ms := C.struct_miqt_string{} driverText_ms.data = C.CString(driverText) driverText_ms.len = C.size_t(len(driverText)) defer C.free(unsafe.Pointer(driverText_ms.data)) - return newQSqlError(C.QSqlError_new4(driverText_ms)) + return newQSqlError(C.QSqlError_new5(driverText_ms)) } -// NewQSqlError5 constructs a new QSqlError object. -func NewQSqlError5(driverText string, databaseText string) *QSqlError { +// NewQSqlError6 constructs a new QSqlError object. +func NewQSqlError6(driverText string, databaseText string) *QSqlError { driverText_ms := C.struct_miqt_string{} driverText_ms.data = C.CString(driverText) driverText_ms.len = C.size_t(len(driverText)) @@ -102,11 +108,11 @@ func NewQSqlError5(driverText string, databaseText string) *QSqlError { databaseText_ms.len = C.size_t(len(databaseText)) defer C.free(unsafe.Pointer(databaseText_ms.data)) - return newQSqlError(C.QSqlError_new5(driverText_ms, databaseText_ms)) + return newQSqlError(C.QSqlError_new6(driverText_ms, databaseText_ms)) } -// NewQSqlError6 constructs a new QSqlError object. -func NewQSqlError6(driverText string, databaseText string, typeVal QSqlError__ErrorType) *QSqlError { +// NewQSqlError7 constructs a new QSqlError object. +func NewQSqlError7(driverText string, databaseText string, typeVal QSqlError__ErrorType) *QSqlError { driverText_ms := C.struct_miqt_string{} driverText_ms.data = C.CString(driverText) driverText_ms.len = C.size_t(len(driverText)) @@ -116,11 +122,11 @@ func NewQSqlError6(driverText string, databaseText string, typeVal QSqlError__Er databaseText_ms.len = C.size_t(len(databaseText)) defer C.free(unsafe.Pointer(databaseText_ms.data)) - return newQSqlError(C.QSqlError_new6(driverText_ms, databaseText_ms, (C.int)(typeVal))) + return newQSqlError(C.QSqlError_new7(driverText_ms, databaseText_ms, (C.int)(typeVal))) } -// NewQSqlError7 constructs a new QSqlError object. -func NewQSqlError7(driverText string, databaseText string, typeVal QSqlError__ErrorType, errorCode string) *QSqlError { +// NewQSqlError8 constructs a new QSqlError object. +func NewQSqlError8(driverText string, databaseText string, typeVal QSqlError__ErrorType, errorCode string) *QSqlError { driverText_ms := C.struct_miqt_string{} driverText_ms.data = C.CString(driverText) driverText_ms.len = C.size_t(len(driverText)) @@ -134,7 +140,7 @@ func NewQSqlError7(driverText string, databaseText string, typeVal QSqlError__Er errorCode_ms.len = C.size_t(len(errorCode)) defer C.free(unsafe.Pointer(errorCode_ms.data)) - return newQSqlError(C.QSqlError_new7(driverText_ms, databaseText_ms, (C.int)(typeVal), errorCode_ms)) + return newQSqlError(C.QSqlError_new8(driverText_ms, databaseText_ms, (C.int)(typeVal), errorCode_ms)) } func (this *QSqlError) OperatorAssign(other *QSqlError) { diff --git a/qt/sql/gen_qsqlerror.h b/qt/sql/gen_qsqlerror.h index 5ba340eb4..a63c42e47 100644 --- a/qt/sql/gen_qsqlerror.h +++ b/qt/sql/gen_qsqlerror.h @@ -23,10 +23,11 @@ typedef struct QSqlError QSqlError; QSqlError* QSqlError_new(struct miqt_string driverText, struct miqt_string databaseText, int type, int number); QSqlError* QSqlError_new2(); QSqlError* QSqlError_new3(QSqlError* other); -QSqlError* QSqlError_new4(struct miqt_string driverText); -QSqlError* QSqlError_new5(struct miqt_string driverText, struct miqt_string databaseText); -QSqlError* QSqlError_new6(struct miqt_string driverText, struct miqt_string databaseText, int type); -QSqlError* QSqlError_new7(struct miqt_string driverText, struct miqt_string databaseText, int type, struct miqt_string errorCode); +QSqlError* QSqlError_new4(); +QSqlError* QSqlError_new5(struct miqt_string driverText); +QSqlError* QSqlError_new6(struct miqt_string driverText, struct miqt_string databaseText); +QSqlError* QSqlError_new7(struct miqt_string driverText, struct miqt_string databaseText, int type); +QSqlError* QSqlError_new8(struct miqt_string driverText, struct miqt_string databaseText, int type, struct miqt_string errorCode); void QSqlError_operatorAssign(QSqlError* self, QSqlError* other); bool QSqlError_operatorEqual(const QSqlError* self, QSqlError* other); bool QSqlError_operatorNotEqual(const QSqlError* self, QSqlError* other); diff --git a/qt/sql/gen_qsqlfield.cpp b/qt/sql/gen_qsqlfield.cpp index c4fcfd4ac..6d7d13d97 100644 --- a/qt/sql/gen_qsqlfield.cpp +++ b/qt/sql/gen_qsqlfield.cpp @@ -28,12 +28,16 @@ QSqlField* QSqlField_new3(QSqlField* other) { return new (std::nothrow) QSqlField(*other); } -QSqlField* QSqlField_new4(struct miqt_string fieldName) { +QSqlField* QSqlField_new4() { + return new (std::nothrow) QSqlField(); +} + +QSqlField* QSqlField_new5(struct miqt_string fieldName) { QString fieldName_QString = QString::fromUtf8(fieldName.data, fieldName.len); return new (std::nothrow) QSqlField(fieldName_QString); } -QSqlField* QSqlField_new5(struct miqt_string fieldName, int type) { +QSqlField* QSqlField_new6(struct miqt_string fieldName, int type) { QString fieldName_QString = QString::fromUtf8(fieldName.data, fieldName.len); return new (std::nothrow) QSqlField(fieldName_QString, static_cast(type)); } diff --git a/qt/sql/gen_qsqlfield.go b/qt/sql/gen_qsqlfield.go index b2f95cb65..581a85870 100644 --- a/qt/sql/gen_qsqlfield.go +++ b/qt/sql/gen_qsqlfield.go @@ -81,23 +81,29 @@ func NewQSqlField3(other *QSqlField) *QSqlField { } // NewQSqlField4 constructs a new QSqlField object. -func NewQSqlField4(fieldName string) *QSqlField { +func NewQSqlField4() *QSqlField { + + return newQSqlField(C.QSqlField_new4()) +} + +// NewQSqlField5 constructs a new QSqlField object. +func NewQSqlField5(fieldName string) *QSqlField { fieldName_ms := C.struct_miqt_string{} fieldName_ms.data = C.CString(fieldName) fieldName_ms.len = C.size_t(len(fieldName)) defer C.free(unsafe.Pointer(fieldName_ms.data)) - return newQSqlField(C.QSqlField_new4(fieldName_ms)) + return newQSqlField(C.QSqlField_new5(fieldName_ms)) } -// NewQSqlField5 constructs a new QSqlField object. -func NewQSqlField5(fieldName string, typeVal qt.QVariant__Type) *QSqlField { +// NewQSqlField6 constructs a new QSqlField object. +func NewQSqlField6(fieldName string, typeVal qt.QVariant__Type) *QSqlField { fieldName_ms := C.struct_miqt_string{} fieldName_ms.data = C.CString(fieldName) fieldName_ms.len = C.size_t(len(fieldName)) defer C.free(unsafe.Pointer(fieldName_ms.data)) - return newQSqlField(C.QSqlField_new5(fieldName_ms, (C.int)(typeVal))) + return newQSqlField(C.QSqlField_new6(fieldName_ms, (C.int)(typeVal))) } func (this *QSqlField) OperatorAssign(other *QSqlField) { diff --git a/qt/sql/gen_qsqlfield.h b/qt/sql/gen_qsqlfield.h index e4f79a984..f4c86f4ae 100644 --- a/qt/sql/gen_qsqlfield.h +++ b/qt/sql/gen_qsqlfield.h @@ -25,8 +25,9 @@ typedef struct QVariant QVariant; QSqlField* QSqlField_new(); QSqlField* QSqlField_new2(struct miqt_string fieldName, int type, struct miqt_string tableName); QSqlField* QSqlField_new3(QSqlField* other); -QSqlField* QSqlField_new4(struct miqt_string fieldName); -QSqlField* QSqlField_new5(struct miqt_string fieldName, int type); +QSqlField* QSqlField_new4(); +QSqlField* QSqlField_new5(struct miqt_string fieldName); +QSqlField* QSqlField_new6(struct miqt_string fieldName, int type); void QSqlField_operatorAssign(QSqlField* self, QSqlField* other); bool QSqlField_operatorEqual(const QSqlField* self, QSqlField* other); bool QSqlField_operatorNotEqual(const QSqlField* self, QSqlField* other); diff --git a/qt/sql/gen_qsqlindex.cpp b/qt/sql/gen_qsqlindex.cpp index a0a7c6a61..b94ec6144 100644 --- a/qt/sql/gen_qsqlindex.cpp +++ b/qt/sql/gen_qsqlindex.cpp @@ -23,12 +23,16 @@ QSqlIndex* QSqlIndex_new2(QSqlIndex* other) { return new (std::nothrow) QSqlIndex(*other); } -QSqlIndex* QSqlIndex_new3(struct miqt_string cursorName) { +QSqlIndex* QSqlIndex_new3() { + return new (std::nothrow) QSqlIndex(); +} + +QSqlIndex* QSqlIndex_new4(struct miqt_string cursorName) { QString cursorName_QString = QString::fromUtf8(cursorName.data, cursorName.len); return new (std::nothrow) QSqlIndex(cursorName_QString); } -QSqlIndex* QSqlIndex_new4(struct miqt_string cursorName, struct miqt_string name) { +QSqlIndex* QSqlIndex_new5(struct miqt_string cursorName, struct miqt_string name) { QString cursorName_QString = QString::fromUtf8(cursorName.data, cursorName.len); QString name_QString = QString::fromUtf8(name.data, name.len); return new (std::nothrow) QSqlIndex(cursorName_QString, name_QString); diff --git a/qt/sql/gen_qsqlindex.go b/qt/sql/gen_qsqlindex.go index cd41424af..3270b1beb 100644 --- a/qt/sql/gen_qsqlindex.go +++ b/qt/sql/gen_qsqlindex.go @@ -62,17 +62,23 @@ func NewQSqlIndex2(other *QSqlIndex) *QSqlIndex { } // NewQSqlIndex3 constructs a new QSqlIndex object. -func NewQSqlIndex3(cursorName string) *QSqlIndex { +func NewQSqlIndex3() *QSqlIndex { + + return newQSqlIndex(C.QSqlIndex_new3()) +} + +// NewQSqlIndex4 constructs a new QSqlIndex object. +func NewQSqlIndex4(cursorName string) *QSqlIndex { cursorName_ms := C.struct_miqt_string{} cursorName_ms.data = C.CString(cursorName) cursorName_ms.len = C.size_t(len(cursorName)) defer C.free(unsafe.Pointer(cursorName_ms.data)) - return newQSqlIndex(C.QSqlIndex_new3(cursorName_ms)) + return newQSqlIndex(C.QSqlIndex_new4(cursorName_ms)) } -// NewQSqlIndex4 constructs a new QSqlIndex object. -func NewQSqlIndex4(cursorName string, name string) *QSqlIndex { +// NewQSqlIndex5 constructs a new QSqlIndex object. +func NewQSqlIndex5(cursorName string, name string) *QSqlIndex { cursorName_ms := C.struct_miqt_string{} cursorName_ms.data = C.CString(cursorName) cursorName_ms.len = C.size_t(len(cursorName)) @@ -82,7 +88,7 @@ func NewQSqlIndex4(cursorName string, name string) *QSqlIndex { name_ms.len = C.size_t(len(name)) defer C.free(unsafe.Pointer(name_ms.data)) - return newQSqlIndex(C.QSqlIndex_new4(cursorName_ms, name_ms)) + return newQSqlIndex(C.QSqlIndex_new5(cursorName_ms, name_ms)) } func (this *QSqlIndex) OperatorAssign(other *QSqlIndex) { diff --git a/qt/sql/gen_qsqlindex.h b/qt/sql/gen_qsqlindex.h index 28b4e4803..0947791b1 100644 --- a/qt/sql/gen_qsqlindex.h +++ b/qt/sql/gen_qsqlindex.h @@ -26,8 +26,9 @@ typedef struct QSqlRecord QSqlRecord; QSqlIndex* QSqlIndex_new(); QSqlIndex* QSqlIndex_new2(QSqlIndex* other); -QSqlIndex* QSqlIndex_new3(struct miqt_string cursorName); -QSqlIndex* QSqlIndex_new4(struct miqt_string cursorName, struct miqt_string name); +QSqlIndex* QSqlIndex_new3(); +QSqlIndex* QSqlIndex_new4(struct miqt_string cursorName); +QSqlIndex* QSqlIndex_new5(struct miqt_string cursorName, struct miqt_string name); void QSqlIndex_virtbase(QSqlIndex* src, QSqlRecord** outptr_QSqlRecord); void QSqlIndex_operatorAssign(QSqlIndex* self, QSqlIndex* other); void QSqlIndex_setCursorName(QSqlIndex* self, struct miqt_string cursorName); diff --git a/qt/sql/gen_qsqlquery.cpp b/qt/sql/gen_qsqlquery.cpp index 1ecd73e32..72b2449f5 100644 --- a/qt/sql/gen_qsqlquery.cpp +++ b/qt/sql/gen_qsqlquery.cpp @@ -36,12 +36,16 @@ QSqlQuery* QSqlQuery_new4(QSqlQuery* other) { return new (std::nothrow) QSqlQuery(*other); } -QSqlQuery* QSqlQuery_new5(struct miqt_string query) { +QSqlQuery* QSqlQuery_new5() { + return new (std::nothrow) QSqlQuery(); +} + +QSqlQuery* QSqlQuery_new6(struct miqt_string query) { QString query_QString = QString::fromUtf8(query.data, query.len); return new (std::nothrow) QSqlQuery(query_QString); } -QSqlQuery* QSqlQuery_new6(struct miqt_string query, QSqlDatabase* db) { +QSqlQuery* QSqlQuery_new7(struct miqt_string query, QSqlDatabase* db) { QString query_QString = QString::fromUtf8(query.data, query.len); return new (std::nothrow) QSqlQuery(query_QString, *db); } diff --git a/qt/sql/gen_qsqlquery.go b/qt/sql/gen_qsqlquery.go index 4fa3653d4..34e41a409 100644 --- a/qt/sql/gen_qsqlquery.go +++ b/qt/sql/gen_qsqlquery.go @@ -78,23 +78,29 @@ func NewQSqlQuery4(other *QSqlQuery) *QSqlQuery { } // NewQSqlQuery5 constructs a new QSqlQuery object. -func NewQSqlQuery5(query string) *QSqlQuery { +func NewQSqlQuery5() *QSqlQuery { + + return newQSqlQuery(C.QSqlQuery_new5()) +} + +// NewQSqlQuery6 constructs a new QSqlQuery object. +func NewQSqlQuery6(query string) *QSqlQuery { query_ms := C.struct_miqt_string{} query_ms.data = C.CString(query) query_ms.len = C.size_t(len(query)) defer C.free(unsafe.Pointer(query_ms.data)) - return newQSqlQuery(C.QSqlQuery_new5(query_ms)) + return newQSqlQuery(C.QSqlQuery_new6(query_ms)) } -// NewQSqlQuery6 constructs a new QSqlQuery object. -func NewQSqlQuery6(query string, db QSqlDatabase) *QSqlQuery { +// NewQSqlQuery7 constructs a new QSqlQuery object. +func NewQSqlQuery7(query string, db QSqlDatabase) *QSqlQuery { query_ms := C.struct_miqt_string{} query_ms.data = C.CString(query) query_ms.len = C.size_t(len(query)) defer C.free(unsafe.Pointer(query_ms.data)) - return newQSqlQuery(C.QSqlQuery_new6(query_ms, db.cPointer())) + return newQSqlQuery(C.QSqlQuery_new7(query_ms, db.cPointer())) } func (this *QSqlQuery) OperatorAssign(other *QSqlQuery) { diff --git a/qt/sql/gen_qsqlquery.h b/qt/sql/gen_qsqlquery.h index c5202e5e7..6f0f044d9 100644 --- a/qt/sql/gen_qsqlquery.h +++ b/qt/sql/gen_qsqlquery.h @@ -36,8 +36,9 @@ QSqlQuery* QSqlQuery_new(QSqlResult* r); QSqlQuery* QSqlQuery_new2(); QSqlQuery* QSqlQuery_new3(QSqlDatabase* db); QSqlQuery* QSqlQuery_new4(QSqlQuery* other); -QSqlQuery* QSqlQuery_new5(struct miqt_string query); -QSqlQuery* QSqlQuery_new6(struct miqt_string query, QSqlDatabase* db); +QSqlQuery* QSqlQuery_new5(); +QSqlQuery* QSqlQuery_new6(struct miqt_string query); +QSqlQuery* QSqlQuery_new7(struct miqt_string query, QSqlDatabase* db); void QSqlQuery_operatorAssign(QSqlQuery* self, QSqlQuery* other); bool QSqlQuery_isValid(const QSqlQuery* self); bool QSqlQuery_isActive(const QSqlQuery* self); diff --git a/qt/webengine/gen_qwebenginecookiestore.cpp b/qt/webengine/gen_qwebenginecookiestore.cpp index 552282460..a9c9d4bf7 100644 --- a/qt/webengine/gen_qwebenginecookiestore.cpp +++ b/qt/webengine/gen_qwebenginecookiestore.cpp @@ -161,6 +161,10 @@ QWebEngineCookieStore__FilterRequest* QWebEngineCookieStore__FilterRequest_new(Q return new (std::nothrow) QWebEngineCookieStore::FilterRequest(*param1); } +QWebEngineCookieStore__FilterRequest* QWebEngineCookieStore__FilterRequest_new2() { + return new (std::nothrow) QWebEngineCookieStore::FilterRequest(); +} + QUrl* QWebEngineCookieStore__FilterRequest_firstPartyUrl(const QWebEngineCookieStore__FilterRequest* self) { return new QUrl(self->firstPartyUrl); } diff --git a/qt/webengine/gen_qwebenginecookiestore.go b/qt/webengine/gen_qwebenginecookiestore.go index 4bc34ff94..d364d5b73 100644 --- a/qt/webengine/gen_qwebenginecookiestore.go +++ b/qt/webengine/gen_qwebenginecookiestore.go @@ -244,6 +244,12 @@ func NewQWebEngineCookieStore__FilterRequest(param1 *QWebEngineCookieStore__Filt return newQWebEngineCookieStore__FilterRequest(C.QWebEngineCookieStore__FilterRequest_new(param1.cPointer())) } +// NewQWebEngineCookieStore__FilterRequest2 constructs a new QWebEngineCookieStore::FilterRequest object. +func NewQWebEngineCookieStore__FilterRequest2() *QWebEngineCookieStore__FilterRequest { + + return newQWebEngineCookieStore__FilterRequest(C.QWebEngineCookieStore__FilterRequest_new2()) +} + func (this *QWebEngineCookieStore__FilterRequest) FirstPartyUrl() *qt.QUrl { firstPartyUrl_goptr := qt.UnsafeNewQUrl(unsafe.Pointer(C.QWebEngineCookieStore__FilterRequest_firstPartyUrl(this.h))) firstPartyUrl_goptr.GoGC() // Qt uses pass-by-value semantics for this type. Mimic with finalizer diff --git a/qt/webengine/gen_qwebenginecookiestore.h b/qt/webengine/gen_qwebenginecookiestore.h index e8ed759ca..4370bd4eb 100644 --- a/qt/webengine/gen_qwebenginecookiestore.h +++ b/qt/webengine/gen_qwebenginecookiestore.h @@ -60,6 +60,7 @@ void QWebEngineCookieStore_deleteCookie2(QWebEngineCookieStore* self, QNetworkCo void QWebEngineCookieStore_delete(QWebEngineCookieStore* self); QWebEngineCookieStore__FilterRequest* QWebEngineCookieStore__FilterRequest_new(QWebEngineCookieStore__FilterRequest* param1); +QWebEngineCookieStore__FilterRequest* QWebEngineCookieStore__FilterRequest_new2(); QUrl* QWebEngineCookieStore__FilterRequest_firstPartyUrl(const QWebEngineCookieStore__FilterRequest* self); void QWebEngineCookieStore__FilterRequest_setFirstPartyUrl(QWebEngineCookieStore__FilterRequest* self, QUrl* firstPartyUrl); QUrl* QWebEngineCookieStore__FilterRequest_origin(const QWebEngineCookieStore__FilterRequest* self); diff --git a/qt/webengine/gen_qwebenginehttprequest.cpp b/qt/webengine/gen_qwebenginehttprequest.cpp index 8822e811f..3060061e2 100644 --- a/qt/webengine/gen_qwebenginehttprequest.cpp +++ b/qt/webengine/gen_qwebenginehttprequest.cpp @@ -25,11 +25,15 @@ QWebEngineHttpRequest* QWebEngineHttpRequest_new2(QWebEngineHttpRequest* other) return new (std::nothrow) QWebEngineHttpRequest(*other); } -QWebEngineHttpRequest* QWebEngineHttpRequest_new3(QUrl* url) { +QWebEngineHttpRequest* QWebEngineHttpRequest_new3() { + return new (std::nothrow) QWebEngineHttpRequest(); +} + +QWebEngineHttpRequest* QWebEngineHttpRequest_new4(QUrl* url) { return new (std::nothrow) QWebEngineHttpRequest(*url); } -QWebEngineHttpRequest* QWebEngineHttpRequest_new4(QUrl* url, int* method) { +QWebEngineHttpRequest* QWebEngineHttpRequest_new5(QUrl* url, int* method) { return new (std::nothrow) QWebEngineHttpRequest(*url, (const QWebEngineHttpRequest::Method&)(*method)); } diff --git a/qt/webengine/gen_qwebenginehttprequest.go b/qt/webengine/gen_qwebenginehttprequest.go index 5d5e047d3..2f531152f 100644 --- a/qt/webengine/gen_qwebenginehttprequest.go +++ b/qt/webengine/gen_qwebenginehttprequest.go @@ -66,15 +66,21 @@ func NewQWebEngineHttpRequest2(other *QWebEngineHttpRequest) *QWebEngineHttpRequ } // NewQWebEngineHttpRequest3 constructs a new QWebEngineHttpRequest object. -func NewQWebEngineHttpRequest3(url *qt.QUrl) *QWebEngineHttpRequest { +func NewQWebEngineHttpRequest3() *QWebEngineHttpRequest { - return newQWebEngineHttpRequest(C.QWebEngineHttpRequest_new3((*C.QUrl)(url.UnsafePointer()))) + return newQWebEngineHttpRequest(C.QWebEngineHttpRequest_new3()) } // NewQWebEngineHttpRequest4 constructs a new QWebEngineHttpRequest object. -func NewQWebEngineHttpRequest4(url *qt.QUrl, method *QWebEngineHttpRequest__Method) *QWebEngineHttpRequest { +func NewQWebEngineHttpRequest4(url *qt.QUrl) *QWebEngineHttpRequest { - return newQWebEngineHttpRequest(C.QWebEngineHttpRequest_new4((*C.QUrl)(url.UnsafePointer()), (*C.int)(unsafe.Pointer(method)))) + return newQWebEngineHttpRequest(C.QWebEngineHttpRequest_new4((*C.QUrl)(url.UnsafePointer()))) +} + +// NewQWebEngineHttpRequest5 constructs a new QWebEngineHttpRequest object. +func NewQWebEngineHttpRequest5(url *qt.QUrl, method *QWebEngineHttpRequest__Method) *QWebEngineHttpRequest { + + return newQWebEngineHttpRequest(C.QWebEngineHttpRequest_new5((*C.QUrl)(url.UnsafePointer()), (*C.int)(unsafe.Pointer(method)))) } func (this *QWebEngineHttpRequest) OperatorAssign(other *QWebEngineHttpRequest) { diff --git a/qt/webengine/gen_qwebenginehttprequest.h b/qt/webengine/gen_qwebenginehttprequest.h index e213c173c..7ac967d68 100644 --- a/qt/webengine/gen_qwebenginehttprequest.h +++ b/qt/webengine/gen_qwebenginehttprequest.h @@ -24,8 +24,9 @@ typedef struct QWebEngineHttpRequest QWebEngineHttpRequest; QWebEngineHttpRequest* QWebEngineHttpRequest_new(); QWebEngineHttpRequest* QWebEngineHttpRequest_new2(QWebEngineHttpRequest* other); -QWebEngineHttpRequest* QWebEngineHttpRequest_new3(QUrl* url); -QWebEngineHttpRequest* QWebEngineHttpRequest_new4(QUrl* url, int* method); +QWebEngineHttpRequest* QWebEngineHttpRequest_new3(); +QWebEngineHttpRequest* QWebEngineHttpRequest_new4(QUrl* url); +QWebEngineHttpRequest* QWebEngineHttpRequest_new5(QUrl* url, int* method); void QWebEngineHttpRequest_operatorAssign(QWebEngineHttpRequest* self, QWebEngineHttpRequest* other); QWebEngineHttpRequest* QWebEngineHttpRequest_postRequest(QUrl* url, struct miqt_map /* of struct miqt_string to struct miqt_string */ postData); void QWebEngineHttpRequest_swap(QWebEngineHttpRequest* self, QWebEngineHttpRequest* other); diff --git a/qt/webkit/gen_qwebkitplatformplugin.cpp b/qt/webkit/gen_qwebkitplatformplugin.cpp index a2e3a2270..a9b8ccab4 100644 --- a/qt/webkit/gen_qwebkitplatformplugin.cpp +++ b/qt/webkit/gen_qwebkitplatformplugin.cpp @@ -707,6 +707,10 @@ QWebSpellChecker__GrammarDetail* QWebSpellChecker__GrammarDetail_new(QWebSpellCh return new (std::nothrow) QWebSpellChecker::GrammarDetail(*param1); } +QWebSpellChecker__GrammarDetail* QWebSpellChecker__GrammarDetail_new2() { + return new (std::nothrow) QWebSpellChecker::GrammarDetail(); +} + int QWebSpellChecker__GrammarDetail_location(const QWebSpellChecker__GrammarDetail* self) { return self->location; } diff --git a/qt/webkit/gen_qwebkitplatformplugin.go b/qt/webkit/gen_qwebkitplatformplugin.go index 93ddf045a..12524d8c2 100644 --- a/qt/webkit/gen_qwebkitplatformplugin.go +++ b/qt/webkit/gen_qwebkitplatformplugin.go @@ -1143,6 +1143,12 @@ func NewQWebSpellChecker__GrammarDetail(param1 *QWebSpellChecker__GrammarDetail) return newQWebSpellChecker__GrammarDetail(C.QWebSpellChecker__GrammarDetail_new(param1.cPointer())) } +// NewQWebSpellChecker__GrammarDetail2 constructs a new QWebSpellChecker::GrammarDetail object. +func NewQWebSpellChecker__GrammarDetail2() *QWebSpellChecker__GrammarDetail { + + return newQWebSpellChecker__GrammarDetail(C.QWebSpellChecker__GrammarDetail_new2()) +} + func (this *QWebSpellChecker__GrammarDetail) Location() int { return (int)(C.QWebSpellChecker__GrammarDetail_location(this.h)) } diff --git a/qt/webkit/gen_qwebkitplatformplugin.h b/qt/webkit/gen_qwebkitplatformplugin.h index 2c9c01d4c..c737c9cb4 100644 --- a/qt/webkit/gen_qwebkitplatformplugin.h +++ b/qt/webkit/gen_qwebkitplatformplugin.h @@ -169,6 +169,7 @@ void QWebKitPlatformPlugin_operatorAssign(QWebKitPlatformPlugin* self, QWebKitPl void QWebKitPlatformPlugin_delete(QWebKitPlatformPlugin* self); QWebSpellChecker__GrammarDetail* QWebSpellChecker__GrammarDetail_new(QWebSpellChecker__GrammarDetail* param1); +QWebSpellChecker__GrammarDetail* QWebSpellChecker__GrammarDetail_new2(); int QWebSpellChecker__GrammarDetail_location(const QWebSpellChecker__GrammarDetail* self); void QWebSpellChecker__GrammarDetail_setLocation(QWebSpellChecker__GrammarDetail* self, int location); int QWebSpellChecker__GrammarDetail_length(const QWebSpellChecker__GrammarDetail* self); diff --git a/qt/webkit/gen_qwebpage.cpp b/qt/webkit/gen_qwebpage.cpp index 3d8f0fa6d..65001f513 100644 --- a/qt/webkit/gen_qwebpage.cpp +++ b/qt/webkit/gen_qwebpage.cpp @@ -1699,6 +1699,10 @@ QWebPage__ExtensionOption* QWebPage__ExtensionOption_new(QWebPage__ExtensionOpti return new (std::nothrow) QWebPage::ExtensionOption(*param1); } +QWebPage__ExtensionOption* QWebPage__ExtensionOption_new2() { + return new (std::nothrow) QWebPage::ExtensionOption(); +} + void QWebPage__ExtensionOption_operatorAssign(QWebPage__ExtensionOption* self, QWebPage__ExtensionOption* param1) { self->operator=(*param1); } @@ -1813,6 +1817,10 @@ QWebPage__ErrorPageExtensionOption* QWebPage__ErrorPageExtensionOption_new(QWebP return new (std::nothrow) QWebPage::ErrorPageExtensionOption(*param1); } +QWebPage__ErrorPageExtensionOption* QWebPage__ErrorPageExtensionOption_new2() { + return new (std::nothrow) QWebPage::ErrorPageExtensionOption(); +} + void QWebPage__ErrorPageExtensionOption_virtbase(QWebPage__ErrorPageExtensionOption* src, QWebPage::ExtensionOption** outptr_QWebPage__ExtensionOption) { *outptr_QWebPage__ExtensionOption = static_cast(src); } diff --git a/qt/webkit/gen_qwebpage.go b/qt/webkit/gen_qwebpage.go index 9651521f0..b3c9128b9 100644 --- a/qt/webkit/gen_qwebpage.go +++ b/qt/webkit/gen_qwebpage.go @@ -2095,6 +2095,12 @@ func NewQWebPage__ExtensionOption(param1 *QWebPage__ExtensionOption) *QWebPage__ return newQWebPage__ExtensionOption(C.QWebPage__ExtensionOption_new(param1.cPointer())) } +// NewQWebPage__ExtensionOption2 constructs a new QWebPage::ExtensionOption object. +func NewQWebPage__ExtensionOption2() *QWebPage__ExtensionOption { + + return newQWebPage__ExtensionOption(C.QWebPage__ExtensionOption_new2()) +} + func (this *QWebPage__ExtensionOption) OperatorAssign(param1 *QWebPage__ExtensionOption) { C.QWebPage__ExtensionOption_operatorAssign(this.h, param1.cPointer()) } @@ -2379,6 +2385,12 @@ func NewQWebPage__ErrorPageExtensionOption(param1 *QWebPage__ErrorPageExtensionO return newQWebPage__ErrorPageExtensionOption(C.QWebPage__ErrorPageExtensionOption_new(param1.cPointer())) } +// NewQWebPage__ErrorPageExtensionOption2 constructs a new QWebPage::ErrorPageExtensionOption object. +func NewQWebPage__ErrorPageExtensionOption2() *QWebPage__ErrorPageExtensionOption { + + return newQWebPage__ErrorPageExtensionOption(C.QWebPage__ErrorPageExtensionOption_new2()) +} + func (this *QWebPage__ErrorPageExtensionOption) Url() *qt.QUrl { url_goptr := qt.UnsafeNewQUrl(unsafe.Pointer(C.QWebPage__ErrorPageExtensionOption_url(this.h))) url_goptr.GoGC() // Qt uses pass-by-value semantics for this type. Mimic with finalizer diff --git a/qt/webkit/gen_qwebpage.h b/qt/webkit/gen_qwebpage.h index 1061646f7..bcdb8f1b1 100644 --- a/qt/webkit/gen_qwebpage.h +++ b/qt/webkit/gen_qwebpage.h @@ -317,6 +317,7 @@ QSizeF* QWebPage__ViewportAttributes_size(const QWebPage__ViewportAttributes* se void QWebPage__ViewportAttributes_delete(QWebPage__ViewportAttributes* self); QWebPage__ExtensionOption* QWebPage__ExtensionOption_new(QWebPage__ExtensionOption* param1); +QWebPage__ExtensionOption* QWebPage__ExtensionOption_new2(); void QWebPage__ExtensionOption_operatorAssign(QWebPage__ExtensionOption* self, QWebPage__ExtensionOption* param1); void QWebPage__ExtensionOption_delete(QWebPage__ExtensionOption* self); @@ -342,6 +343,7 @@ void QWebPage__ChooseMultipleFilesExtensionReturn_setFileNames(QWebPage__ChooseM void QWebPage__ChooseMultipleFilesExtensionReturn_delete(QWebPage__ChooseMultipleFilesExtensionReturn* self); QWebPage__ErrorPageExtensionOption* QWebPage__ErrorPageExtensionOption_new(QWebPage__ErrorPageExtensionOption* param1); +QWebPage__ErrorPageExtensionOption* QWebPage__ErrorPageExtensionOption_new2(); void QWebPage__ErrorPageExtensionOption_virtbase(QWebPage__ErrorPageExtensionOption* src, QWebPage__ExtensionOption** outptr_QWebPage__ExtensionOption); QUrl* QWebPage__ErrorPageExtensionOption_url(const QWebPage__ErrorPageExtensionOption* self); void QWebPage__ErrorPageExtensionOption_setUrl(QWebPage__ErrorPageExtensionOption* self, QUrl* url); diff --git a/qt/webkit/gen_qwebpluginfactory.cpp b/qt/webkit/gen_qwebpluginfactory.cpp index e1bc656cc..6e73fcf12 100644 --- a/qt/webkit/gen_qwebpluginfactory.cpp +++ b/qt/webkit/gen_qwebpluginfactory.cpp @@ -645,6 +645,10 @@ QWebPluginFactory__MimeType* QWebPluginFactory__MimeType_new(QWebPluginFactory__ return new (std::nothrow) QWebPluginFactory::MimeType(*param1); } +QWebPluginFactory__MimeType* QWebPluginFactory__MimeType_new2() { + return new (std::nothrow) QWebPluginFactory::MimeType(); +} + struct miqt_string QWebPluginFactory__MimeType_name(const QWebPluginFactory__MimeType* self) { QString name_ret = self->name; // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory @@ -728,6 +732,10 @@ QWebPluginFactory__Plugin* QWebPluginFactory__Plugin_new(QWebPluginFactory__Plug return new (std::nothrow) QWebPluginFactory::Plugin(*param1); } +QWebPluginFactory__Plugin* QWebPluginFactory__Plugin_new2() { + return new (std::nothrow) QWebPluginFactory::Plugin(); +} + struct miqt_string QWebPluginFactory__Plugin_name(const QWebPluginFactory__Plugin* self) { QString name_ret = self->name; // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory diff --git a/qt/webkit/gen_qwebpluginfactory.go b/qt/webkit/gen_qwebpluginfactory.go index eb13f5e91..f215784a1 100644 --- a/qt/webkit/gen_qwebpluginfactory.go +++ b/qt/webkit/gen_qwebpluginfactory.go @@ -641,6 +641,12 @@ func NewQWebPluginFactory__MimeType(param1 *QWebPluginFactory__MimeType) *QWebPl return newQWebPluginFactory__MimeType(C.QWebPluginFactory__MimeType_new(param1.cPointer())) } +// NewQWebPluginFactory__MimeType2 constructs a new QWebPluginFactory::MimeType object. +func NewQWebPluginFactory__MimeType2() *QWebPluginFactory__MimeType { + + return newQWebPluginFactory__MimeType(C.QWebPluginFactory__MimeType_new2()) +} + func (this *QWebPluginFactory__MimeType) Name() string { var name_ms C.struct_miqt_string = C.QWebPluginFactory__MimeType_name(this.h) name_ret := C.GoStringN(name_ms.data, C.int(int64(name_ms.len))) @@ -762,6 +768,12 @@ func NewQWebPluginFactory__Plugin(param1 *QWebPluginFactory__Plugin) *QWebPlugin return newQWebPluginFactory__Plugin(C.QWebPluginFactory__Plugin_new(param1.cPointer())) } +// NewQWebPluginFactory__Plugin2 constructs a new QWebPluginFactory::Plugin object. +func NewQWebPluginFactory__Plugin2() *QWebPluginFactory__Plugin { + + return newQWebPluginFactory__Plugin(C.QWebPluginFactory__Plugin_new2()) +} + func (this *QWebPluginFactory__Plugin) Name() string { var name_ms C.struct_miqt_string = C.QWebPluginFactory__Plugin_name(this.h) name_ret := C.GoStringN(name_ms.data, C.int(int64(name_ms.len))) diff --git a/qt/webkit/gen_qwebpluginfactory.h b/qt/webkit/gen_qwebpluginfactory.h index 5e8d11f7e..531b0f26f 100644 --- a/qt/webkit/gen_qwebpluginfactory.h +++ b/qt/webkit/gen_qwebpluginfactory.h @@ -108,6 +108,7 @@ bool QWebPluginFactory_protectedbase_isSignalConnected(bool* _dynamic_cast_ok, c void QWebPluginFactory_delete(QWebPluginFactory* self); QWebPluginFactory__MimeType* QWebPluginFactory__MimeType_new(QWebPluginFactory__MimeType* param1); +QWebPluginFactory__MimeType* QWebPluginFactory__MimeType_new2(); struct miqt_string QWebPluginFactory__MimeType_name(const QWebPluginFactory__MimeType* self); void QWebPluginFactory__MimeType_setName(QWebPluginFactory__MimeType* self, struct miqt_string name); struct miqt_string QWebPluginFactory__MimeType_description(const QWebPluginFactory__MimeType* self); @@ -121,6 +122,7 @@ void QWebPluginFactory__MimeType_operatorAssign(QWebPluginFactory__MimeType* sel void QWebPluginFactory__MimeType_delete(QWebPluginFactory__MimeType* self); QWebPluginFactory__Plugin* QWebPluginFactory__Plugin_new(QWebPluginFactory__Plugin* param1); +QWebPluginFactory__Plugin* QWebPluginFactory__Plugin_new2(); struct miqt_string QWebPluginFactory__Plugin_name(const QWebPluginFactory__Plugin* self); void QWebPluginFactory__Plugin_setName(QWebPluginFactory__Plugin* self, struct miqt_string name); struct miqt_string QWebPluginFactory__Plugin_description(const QWebPluginFactory__Plugin* self); diff --git a/qt6/designer/gen_abstractwidgetbox.cpp b/qt6/designer/gen_abstractwidgetbox.cpp index d06356b77..9e2bb34b2 100644 --- a/qt6/designer/gen_abstractwidgetbox.cpp +++ b/qt6/designer/gen_abstractwidgetbox.cpp @@ -2158,25 +2158,29 @@ QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new2(QD return new (std::nothrow) QDesignerWidgetBoxInterface::Widget(*w); } -QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new3(struct miqt_string aname) { +QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new3() { + return new (std::nothrow) QDesignerWidgetBoxInterface::Widget(); +} + +QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new4(struct miqt_string aname) { QString aname_QString = QString::fromUtf8(aname.data, aname.len); return new (std::nothrow) QDesignerWidgetBoxInterface::Widget(aname_QString); } -QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new4(struct miqt_string aname, struct miqt_string xml) { +QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new5(struct miqt_string aname, struct miqt_string xml) { QString aname_QString = QString::fromUtf8(aname.data, aname.len); QString xml_QString = QString::fromUtf8(xml.data, xml.len); return new (std::nothrow) QDesignerWidgetBoxInterface::Widget(aname_QString, xml_QString); } -QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new5(struct miqt_string aname, struct miqt_string xml, struct miqt_string icon_name) { +QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new6(struct miqt_string aname, struct miqt_string xml, struct miqt_string icon_name) { QString aname_QString = QString::fromUtf8(aname.data, aname.len); QString xml_QString = QString::fromUtf8(xml.data, xml.len); QString icon_name_QString = QString::fromUtf8(icon_name.data, icon_name.len); return new (std::nothrow) QDesignerWidgetBoxInterface::Widget(aname_QString, xml_QString, icon_name_QString); } -QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new6(struct miqt_string aname, struct miqt_string xml, struct miqt_string icon_name, int atype) { +QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new7(struct miqt_string aname, struct miqt_string xml, struct miqt_string icon_name, int atype) { QString aname_QString = QString::fromUtf8(aname.data, aname.len); QString xml_QString = QString::fromUtf8(xml.data, xml.len); QString icon_name_QString = QString::fromUtf8(icon_name.data, icon_name.len); @@ -2260,12 +2264,16 @@ QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new return new (std::nothrow) QDesignerWidgetBoxInterface::Category(*param1); } -QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new3(struct miqt_string aname) { +QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new3() { + return new (std::nothrow) QDesignerWidgetBoxInterface::Category(); +} + +QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new4(struct miqt_string aname) { QString aname_QString = QString::fromUtf8(aname.data, aname.len); return new (std::nothrow) QDesignerWidgetBoxInterface::Category(aname_QString); } -QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new4(struct miqt_string aname, int atype) { +QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new5(struct miqt_string aname, int atype) { QString aname_QString = QString::fromUtf8(aname.data, aname.len); return new (std::nothrow) QDesignerWidgetBoxInterface::Category(aname_QString, static_cast(atype)); } diff --git a/qt6/designer/gen_abstractwidgetbox.go b/qt6/designer/gen_abstractwidgetbox.go index 56f3a16ef..4fc301669 100644 --- a/qt6/designer/gen_abstractwidgetbox.go +++ b/qt6/designer/gen_abstractwidgetbox.go @@ -1918,17 +1918,23 @@ func NewQDesignerWidgetBoxInterface__Widget2(w *QDesignerWidgetBoxInterface__Wid } // NewQDesignerWidgetBoxInterface__Widget3 constructs a new QDesignerWidgetBoxInterface::Widget object. -func NewQDesignerWidgetBoxInterface__Widget3(aname string) *QDesignerWidgetBoxInterface__Widget { +func NewQDesignerWidgetBoxInterface__Widget3() *QDesignerWidgetBoxInterface__Widget { + + return newQDesignerWidgetBoxInterface__Widget(C.QDesignerWidgetBoxInterface__Widget_new3()) +} + +// NewQDesignerWidgetBoxInterface__Widget4 constructs a new QDesignerWidgetBoxInterface::Widget object. +func NewQDesignerWidgetBoxInterface__Widget4(aname string) *QDesignerWidgetBoxInterface__Widget { aname_ms := C.struct_miqt_string{} aname_ms.data = C.CString(aname) aname_ms.len = C.size_t(len(aname)) defer C.free(unsafe.Pointer(aname_ms.data)) - return newQDesignerWidgetBoxInterface__Widget(C.QDesignerWidgetBoxInterface__Widget_new3(aname_ms)) + return newQDesignerWidgetBoxInterface__Widget(C.QDesignerWidgetBoxInterface__Widget_new4(aname_ms)) } -// NewQDesignerWidgetBoxInterface__Widget4 constructs a new QDesignerWidgetBoxInterface::Widget object. -func NewQDesignerWidgetBoxInterface__Widget4(aname string, xml string) *QDesignerWidgetBoxInterface__Widget { +// NewQDesignerWidgetBoxInterface__Widget5 constructs a new QDesignerWidgetBoxInterface::Widget object. +func NewQDesignerWidgetBoxInterface__Widget5(aname string, xml string) *QDesignerWidgetBoxInterface__Widget { aname_ms := C.struct_miqt_string{} aname_ms.data = C.CString(aname) aname_ms.len = C.size_t(len(aname)) @@ -1938,11 +1944,11 @@ func NewQDesignerWidgetBoxInterface__Widget4(aname string, xml string) *QDesigne xml_ms.len = C.size_t(len(xml)) defer C.free(unsafe.Pointer(xml_ms.data)) - return newQDesignerWidgetBoxInterface__Widget(C.QDesignerWidgetBoxInterface__Widget_new4(aname_ms, xml_ms)) + return newQDesignerWidgetBoxInterface__Widget(C.QDesignerWidgetBoxInterface__Widget_new5(aname_ms, xml_ms)) } -// NewQDesignerWidgetBoxInterface__Widget5 constructs a new QDesignerWidgetBoxInterface::Widget object. -func NewQDesignerWidgetBoxInterface__Widget5(aname string, xml string, icon_name string) *QDesignerWidgetBoxInterface__Widget { +// NewQDesignerWidgetBoxInterface__Widget6 constructs a new QDesignerWidgetBoxInterface::Widget object. +func NewQDesignerWidgetBoxInterface__Widget6(aname string, xml string, icon_name string) *QDesignerWidgetBoxInterface__Widget { aname_ms := C.struct_miqt_string{} aname_ms.data = C.CString(aname) aname_ms.len = C.size_t(len(aname)) @@ -1956,11 +1962,11 @@ func NewQDesignerWidgetBoxInterface__Widget5(aname string, xml string, icon_name icon_name_ms.len = C.size_t(len(icon_name)) defer C.free(unsafe.Pointer(icon_name_ms.data)) - return newQDesignerWidgetBoxInterface__Widget(C.QDesignerWidgetBoxInterface__Widget_new5(aname_ms, xml_ms, icon_name_ms)) + return newQDesignerWidgetBoxInterface__Widget(C.QDesignerWidgetBoxInterface__Widget_new6(aname_ms, xml_ms, icon_name_ms)) } -// NewQDesignerWidgetBoxInterface__Widget6 constructs a new QDesignerWidgetBoxInterface::Widget object. -func NewQDesignerWidgetBoxInterface__Widget6(aname string, xml string, icon_name string, atype QDesignerWidgetBoxInterface__Widget__Type) *QDesignerWidgetBoxInterface__Widget { +// NewQDesignerWidgetBoxInterface__Widget7 constructs a new QDesignerWidgetBoxInterface::Widget object. +func NewQDesignerWidgetBoxInterface__Widget7(aname string, xml string, icon_name string, atype QDesignerWidgetBoxInterface__Widget__Type) *QDesignerWidgetBoxInterface__Widget { aname_ms := C.struct_miqt_string{} aname_ms.data = C.CString(aname) aname_ms.len = C.size_t(len(aname)) @@ -1974,7 +1980,7 @@ func NewQDesignerWidgetBoxInterface__Widget6(aname string, xml string, icon_name icon_name_ms.len = C.size_t(len(icon_name)) defer C.free(unsafe.Pointer(icon_name_ms.data)) - return newQDesignerWidgetBoxInterface__Widget(C.QDesignerWidgetBoxInterface__Widget_new6(aname_ms, xml_ms, icon_name_ms, (C.int)(atype))) + return newQDesignerWidgetBoxInterface__Widget(C.QDesignerWidgetBoxInterface__Widget_new7(aname_ms, xml_ms, icon_name_ms, (C.int)(atype))) } func (this *QDesignerWidgetBoxInterface__Widget) OperatorAssign(w *QDesignerWidgetBoxInterface__Widget) { @@ -2097,23 +2103,29 @@ func NewQDesignerWidgetBoxInterface__Category2(param1 *QDesignerWidgetBoxInterfa } // NewQDesignerWidgetBoxInterface__Category3 constructs a new QDesignerWidgetBoxInterface::Category object. -func NewQDesignerWidgetBoxInterface__Category3(aname string) *QDesignerWidgetBoxInterface__Category { +func NewQDesignerWidgetBoxInterface__Category3() *QDesignerWidgetBoxInterface__Category { + + return newQDesignerWidgetBoxInterface__Category(C.QDesignerWidgetBoxInterface__Category_new3()) +} + +// NewQDesignerWidgetBoxInterface__Category4 constructs a new QDesignerWidgetBoxInterface::Category object. +func NewQDesignerWidgetBoxInterface__Category4(aname string) *QDesignerWidgetBoxInterface__Category { aname_ms := C.struct_miqt_string{} aname_ms.data = C.CString(aname) aname_ms.len = C.size_t(len(aname)) defer C.free(unsafe.Pointer(aname_ms.data)) - return newQDesignerWidgetBoxInterface__Category(C.QDesignerWidgetBoxInterface__Category_new3(aname_ms)) + return newQDesignerWidgetBoxInterface__Category(C.QDesignerWidgetBoxInterface__Category_new4(aname_ms)) } -// NewQDesignerWidgetBoxInterface__Category4 constructs a new QDesignerWidgetBoxInterface::Category object. -func NewQDesignerWidgetBoxInterface__Category4(aname string, atype QDesignerWidgetBoxInterface__Category__Type) *QDesignerWidgetBoxInterface__Category { +// NewQDesignerWidgetBoxInterface__Category5 constructs a new QDesignerWidgetBoxInterface::Category object. +func NewQDesignerWidgetBoxInterface__Category5(aname string, atype QDesignerWidgetBoxInterface__Category__Type) *QDesignerWidgetBoxInterface__Category { aname_ms := C.struct_miqt_string{} aname_ms.data = C.CString(aname) aname_ms.len = C.size_t(len(aname)) defer C.free(unsafe.Pointer(aname_ms.data)) - return newQDesignerWidgetBoxInterface__Category(C.QDesignerWidgetBoxInterface__Category_new4(aname_ms, (C.int)(atype))) + return newQDesignerWidgetBoxInterface__Category(C.QDesignerWidgetBoxInterface__Category_new5(aname_ms, (C.int)(atype))) } func (this *QDesignerWidgetBoxInterface__Category) Name() string { diff --git a/qt6/designer/gen_abstractwidgetbox.h b/qt6/designer/gen_abstractwidgetbox.h index ac90ee25f..7b4c97573 100644 --- a/qt6/designer/gen_abstractwidgetbox.h +++ b/qt6/designer/gen_abstractwidgetbox.h @@ -257,10 +257,11 @@ void QDesignerWidgetBoxInterface_delete(QDesignerWidgetBoxInterface* self); QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new(); QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new2(QDesignerWidgetBoxInterface__Widget* w); -QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new3(struct miqt_string aname); -QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new4(struct miqt_string aname, struct miqt_string xml); -QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new5(struct miqt_string aname, struct miqt_string xml, struct miqt_string icon_name); -QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new6(struct miqt_string aname, struct miqt_string xml, struct miqt_string icon_name, int atype); +QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new3(); +QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new4(struct miqt_string aname); +QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new5(struct miqt_string aname, struct miqt_string xml); +QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new6(struct miqt_string aname, struct miqt_string xml, struct miqt_string icon_name); +QDesignerWidgetBoxInterface__Widget* QDesignerWidgetBoxInterface__Widget_new7(struct miqt_string aname, struct miqt_string xml, struct miqt_string icon_name, int atype); void QDesignerWidgetBoxInterface__Widget_operatorAssign(QDesignerWidgetBoxInterface__Widget* self, QDesignerWidgetBoxInterface__Widget* w); struct miqt_string QDesignerWidgetBoxInterface__Widget_name(const QDesignerWidgetBoxInterface__Widget* self); void QDesignerWidgetBoxInterface__Widget_setName(QDesignerWidgetBoxInterface__Widget* self, struct miqt_string aname); @@ -276,8 +277,9 @@ void QDesignerWidgetBoxInterface__Widget_delete(QDesignerWidgetBoxInterface__Wid QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new(); QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new2(QDesignerWidgetBoxInterface__Category* param1); -QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new3(struct miqt_string aname); -QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new4(struct miqt_string aname, int atype); +QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new3(); +QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new4(struct miqt_string aname); +QDesignerWidgetBoxInterface__Category* QDesignerWidgetBoxInterface__Category_new5(struct miqt_string aname, int atype); struct miqt_string QDesignerWidgetBoxInterface__Category_name(const QDesignerWidgetBoxInterface__Category* self); void QDesignerWidgetBoxInterface__Category_setName(QDesignerWidgetBoxInterface__Category* self, struct miqt_string aname); int QDesignerWidgetBoxInterface__Category_widgetCount(const QDesignerWidgetBoxInterface__Category* self); diff --git a/qt6/gen_qabstracttextdocumentlayout.cpp b/qt6/gen_qabstracttextdocumentlayout.cpp index c68e3dc06..443a53a58 100644 --- a/qt6/gen_qabstracttextdocumentlayout.cpp +++ b/qt6/gen_qabstracttextdocumentlayout.cpp @@ -861,6 +861,10 @@ QAbstractTextDocumentLayout__Selection* QAbstractTextDocumentLayout__Selection_n return new (std::nothrow) QAbstractTextDocumentLayout::Selection(*param1); } +QAbstractTextDocumentLayout__Selection* QAbstractTextDocumentLayout__Selection_new2() { + return new (std::nothrow) QAbstractTextDocumentLayout::Selection(); +} + QTextCursor* QAbstractTextDocumentLayout__Selection_cursor(const QAbstractTextDocumentLayout__Selection* self) { return new QTextCursor(self->cursor); } diff --git a/qt6/gen_qabstracttextdocumentlayout.go b/qt6/gen_qabstracttextdocumentlayout.go index 0bc999a12..61d534319 100644 --- a/qt6/gen_qabstracttextdocumentlayout.go +++ b/qt6/gen_qabstracttextdocumentlayout.go @@ -918,6 +918,12 @@ func NewQAbstractTextDocumentLayout__Selection(param1 *QAbstractTextDocumentLayo return newQAbstractTextDocumentLayout__Selection(C.QAbstractTextDocumentLayout__Selection_new(param1.cPointer())) } +// NewQAbstractTextDocumentLayout__Selection2 constructs a new QAbstractTextDocumentLayout::Selection object. +func NewQAbstractTextDocumentLayout__Selection2() *QAbstractTextDocumentLayout__Selection { + + return newQAbstractTextDocumentLayout__Selection(C.QAbstractTextDocumentLayout__Selection_new2()) +} + func (this *QAbstractTextDocumentLayout__Selection) Cursor() *QTextCursor { cursor_goptr := newQTextCursor(C.QAbstractTextDocumentLayout__Selection_cursor(this.h)) cursor_goptr.GoGC() // Qt uses pass-by-value semantics for this type. Mimic with finalizer diff --git a/qt6/gen_qabstracttextdocumentlayout.h b/qt6/gen_qabstracttextdocumentlayout.h index 1935bac11..411ccb256 100644 --- a/qt6/gen_qabstracttextdocumentlayout.h +++ b/qt6/gen_qabstracttextdocumentlayout.h @@ -162,6 +162,7 @@ void QTextObjectInterface_operatorAssign(QTextObjectInterface* self, QTextObject void QTextObjectInterface_delete(QTextObjectInterface* self); QAbstractTextDocumentLayout__Selection* QAbstractTextDocumentLayout__Selection_new(QAbstractTextDocumentLayout__Selection* param1); +QAbstractTextDocumentLayout__Selection* QAbstractTextDocumentLayout__Selection_new2(); QTextCursor* QAbstractTextDocumentLayout__Selection_cursor(const QAbstractTextDocumentLayout__Selection* self); void QAbstractTextDocumentLayout__Selection_setCursor(QAbstractTextDocumentLayout__Selection* self, QTextCursor* cursor); QTextCharFormat* QAbstractTextDocumentLayout__Selection_format(const QAbstractTextDocumentLayout__Selection* self); diff --git a/qt6/gen_qbrush.cpp b/qt6/gen_qbrush.cpp index ed95a3ad6..80f0d81c9 100644 --- a/qt6/gen_qbrush.cpp +++ b/qt6/gen_qbrush.cpp @@ -440,6 +440,10 @@ QGradient__QGradientData* QGradient__QGradientData_new(QGradient__QGradientData* return new (std::nothrow) QGradient::QGradientData(*param1); } +QGradient__QGradientData* QGradient__QGradientData_new2() { + return new (std::nothrow) QGradient::QGradientData(); +} + void QGradient__QGradientData_delete(QGradient__QGradientData* self) { delete self; } diff --git a/qt6/gen_qbrush.go b/qt6/gen_qbrush.go index 25edf0c27..156b173ee 100644 --- a/qt6/gen_qbrush.go +++ b/qt6/gen_qbrush.go @@ -964,6 +964,12 @@ func NewQGradient__QGradientData(param1 *QGradient__QGradientData) *QGradient__Q return newQGradient__QGradientData(C.QGradient__QGradientData_new(param1.cPointer())) } +// NewQGradient__QGradientData2 constructs a new QGradient::QGradientData object. +func NewQGradient__QGradientData2() *QGradient__QGradientData { + + return newQGradient__QGradientData(C.QGradient__QGradientData_new2()) +} + // Delete this object from C++ memory. func (this *QGradient__QGradientData) Delete() { C.QGradient__QGradientData_delete(this.h) diff --git a/qt6/gen_qbrush.h b/qt6/gen_qbrush.h index 894cc57ef..ba1cdb56b 100644 --- a/qt6/gen_qbrush.h +++ b/qt6/gen_qbrush.h @@ -150,6 +150,7 @@ void QConicalGradient_setAngle(QConicalGradient* self, double angle); void QConicalGradient_delete(QConicalGradient* self); QGradient__QGradientData* QGradient__QGradientData_new(QGradient__QGradientData* param1); +QGradient__QGradientData* QGradient__QGradientData_new2(); void QGradient__QGradientData_delete(QGradient__QGradientData* self); #ifdef __cplusplus diff --git a/qt6/gen_qdeadlinetimer.cpp b/qt6/gen_qdeadlinetimer.cpp index b647ac818..4eae9e1d9 100644 --- a/qt6/gen_qdeadlinetimer.cpp +++ b/qt6/gen_qdeadlinetimer.cpp @@ -26,15 +26,19 @@ QDeadlineTimer* QDeadlineTimer_new4(QDeadlineTimer* param1) { return new (std::nothrow) QDeadlineTimer(*param1); } -QDeadlineTimer* QDeadlineTimer_new5(int type_) { +QDeadlineTimer* QDeadlineTimer_new5() { + return new (std::nothrow) QDeadlineTimer(); +} + +QDeadlineTimer* QDeadlineTimer_new6(int type_) { return new (std::nothrow) QDeadlineTimer(static_cast(type_)); } -QDeadlineTimer* QDeadlineTimer_new6(int param1, int type_) { +QDeadlineTimer* QDeadlineTimer_new7(int param1, int type_) { return new (std::nothrow) QDeadlineTimer(static_cast(param1), static_cast(type_)); } -QDeadlineTimer* QDeadlineTimer_new7(long long msecs, int type) { +QDeadlineTimer* QDeadlineTimer_new8(long long msecs, int type) { return new (std::nothrow) QDeadlineTimer(static_cast(msecs), static_cast(type)); } diff --git a/qt6/gen_qdeadlinetimer.go b/qt6/gen_qdeadlinetimer.go index 021bc28c9..1f630a501 100644 --- a/qt6/gen_qdeadlinetimer.go +++ b/qt6/gen_qdeadlinetimer.go @@ -76,21 +76,27 @@ func NewQDeadlineTimer4(param1 *QDeadlineTimer) *QDeadlineTimer { } // NewQDeadlineTimer5 constructs a new QDeadlineTimer object. -func NewQDeadlineTimer5(type_ TimerType) *QDeadlineTimer { +func NewQDeadlineTimer5() *QDeadlineTimer { - return newQDeadlineTimer(C.QDeadlineTimer_new5((C.int)(type_))) + return newQDeadlineTimer(C.QDeadlineTimer_new5()) } // NewQDeadlineTimer6 constructs a new QDeadlineTimer object. -func NewQDeadlineTimer6(param1 QDeadlineTimer__ForeverConstant, type_ TimerType) *QDeadlineTimer { +func NewQDeadlineTimer6(type_ TimerType) *QDeadlineTimer { - return newQDeadlineTimer(C.QDeadlineTimer_new6((C.int)(param1), (C.int)(type_))) + return newQDeadlineTimer(C.QDeadlineTimer_new6((C.int)(type_))) } // NewQDeadlineTimer7 constructs a new QDeadlineTimer object. -func NewQDeadlineTimer7(msecs int64, typeVal TimerType) *QDeadlineTimer { +func NewQDeadlineTimer7(param1 QDeadlineTimer__ForeverConstant, type_ TimerType) *QDeadlineTimer { - return newQDeadlineTimer(C.QDeadlineTimer_new7((C.longlong)(msecs), (C.int)(typeVal))) + return newQDeadlineTimer(C.QDeadlineTimer_new7((C.int)(param1), (C.int)(type_))) +} + +// NewQDeadlineTimer8 constructs a new QDeadlineTimer object. +func NewQDeadlineTimer8(msecs int64, typeVal TimerType) *QDeadlineTimer { + + return newQDeadlineTimer(C.QDeadlineTimer_new8((C.longlong)(msecs), (C.int)(typeVal))) } func (this *QDeadlineTimer) Swap(other *QDeadlineTimer) { diff --git a/qt6/gen_qdeadlinetimer.h b/qt6/gen_qdeadlinetimer.h index 0235369e9..1d10ec299 100644 --- a/qt6/gen_qdeadlinetimer.h +++ b/qt6/gen_qdeadlinetimer.h @@ -24,9 +24,10 @@ QDeadlineTimer* QDeadlineTimer_new(); QDeadlineTimer* QDeadlineTimer_new2(int param1); QDeadlineTimer* QDeadlineTimer_new3(long long msecs); QDeadlineTimer* QDeadlineTimer_new4(QDeadlineTimer* param1); -QDeadlineTimer* QDeadlineTimer_new5(int type_); -QDeadlineTimer* QDeadlineTimer_new6(int param1, int type_); -QDeadlineTimer* QDeadlineTimer_new7(long long msecs, int type); +QDeadlineTimer* QDeadlineTimer_new5(); +QDeadlineTimer* QDeadlineTimer_new6(int type_); +QDeadlineTimer* QDeadlineTimer_new7(int param1, int type_); +QDeadlineTimer* QDeadlineTimer_new8(long long msecs, int type); void QDeadlineTimer_swap(QDeadlineTimer* self, QDeadlineTimer* other); bool QDeadlineTimer_isForever(const QDeadlineTimer* self); bool QDeadlineTimer_hasExpired(const QDeadlineTimer* self); diff --git a/qt6/gen_qdir.cpp b/qt6/gen_qdir.cpp index 69d9c4ecc..7215b13ca 100644 --- a/qt6/gen_qdir.cpp +++ b/qt6/gen_qdir.cpp @@ -30,18 +30,22 @@ QDir* QDir_new3(struct miqt_string path, struct miqt_string nameFilter) { return new (std::nothrow) QDir(path_QString, nameFilter_QString); } -QDir* QDir_new4(struct miqt_string path) { +QDir* QDir_new4() { + return new (std::nothrow) QDir(); +} + +QDir* QDir_new5(struct miqt_string path) { QString path_QString = QString::fromUtf8(path.data, path.len); return new (std::nothrow) QDir(path_QString); } -QDir* QDir_new5(struct miqt_string path, struct miqt_string nameFilter, int sort) { +QDir* QDir_new6(struct miqt_string path, struct miqt_string nameFilter, int sort) { QString path_QString = QString::fromUtf8(path.data, path.len); QString nameFilter_QString = QString::fromUtf8(nameFilter.data, nameFilter.len); return new (std::nothrow) QDir(path_QString, nameFilter_QString, static_cast(sort)); } -QDir* QDir_new6(struct miqt_string path, struct miqt_string nameFilter, int sort, int filter) { +QDir* QDir_new7(struct miqt_string path, struct miqt_string nameFilter, int sort, int filter) { QString path_QString = QString::fromUtf8(path.data, path.len); QString nameFilter_QString = QString::fromUtf8(nameFilter.data, nameFilter.len); return new (std::nothrow) QDir(path_QString, nameFilter_QString, static_cast(sort), static_cast(filter)); diff --git a/qt6/gen_qdir.go b/qt6/gen_qdir.go index 9779486dd..3ab91046f 100644 --- a/qt6/gen_qdir.go +++ b/qt6/gen_qdir.go @@ -114,17 +114,23 @@ func NewQDir3(path string, nameFilter string) *QDir { } // NewQDir4 constructs a new QDir object. -func NewQDir4(path string) *QDir { +func NewQDir4() *QDir { + + return newQDir(C.QDir_new4()) +} + +// NewQDir5 constructs a new QDir object. +func NewQDir5(path string) *QDir { path_ms := C.struct_miqt_string{} path_ms.data = C.CString(path) path_ms.len = C.size_t(len(path)) defer C.free(unsafe.Pointer(path_ms.data)) - return newQDir(C.QDir_new4(path_ms)) + return newQDir(C.QDir_new5(path_ms)) } -// NewQDir5 constructs a new QDir object. -func NewQDir5(path string, nameFilter string, sort QDir__SortFlag) *QDir { +// NewQDir6 constructs a new QDir object. +func NewQDir6(path string, nameFilter string, sort QDir__SortFlag) *QDir { path_ms := C.struct_miqt_string{} path_ms.data = C.CString(path) path_ms.len = C.size_t(len(path)) @@ -134,11 +140,11 @@ func NewQDir5(path string, nameFilter string, sort QDir__SortFlag) *QDir { nameFilter_ms.len = C.size_t(len(nameFilter)) defer C.free(unsafe.Pointer(nameFilter_ms.data)) - return newQDir(C.QDir_new5(path_ms, nameFilter_ms, (C.int)(sort))) + return newQDir(C.QDir_new6(path_ms, nameFilter_ms, (C.int)(sort))) } -// NewQDir6 constructs a new QDir object. -func NewQDir6(path string, nameFilter string, sort QDir__SortFlag, filter QDir__Filter) *QDir { +// NewQDir7 constructs a new QDir object. +func NewQDir7(path string, nameFilter string, sort QDir__SortFlag, filter QDir__Filter) *QDir { path_ms := C.struct_miqt_string{} path_ms.data = C.CString(path) path_ms.len = C.size_t(len(path)) @@ -148,7 +154,7 @@ func NewQDir6(path string, nameFilter string, sort QDir__SortFlag, filter QDir__ nameFilter_ms.len = C.size_t(len(nameFilter)) defer C.free(unsafe.Pointer(nameFilter_ms.data)) - return newQDir(C.QDir_new6(path_ms, nameFilter_ms, (C.int)(sort), (C.int)(filter))) + return newQDir(C.QDir_new7(path_ms, nameFilter_ms, (C.int)(sort), (C.int)(filter))) } func (this *QDir) OperatorAssign(param1 *QDir) { diff --git a/qt6/gen_qdir.h b/qt6/gen_qdir.h index 4628c02fa..526cd0016 100644 --- a/qt6/gen_qdir.h +++ b/qt6/gen_qdir.h @@ -27,9 +27,10 @@ typedef struct QFileInfo QFileInfo; QDir* QDir_new(QDir* param1); QDir* QDir_new2(); QDir* QDir_new3(struct miqt_string path, struct miqt_string nameFilter); -QDir* QDir_new4(struct miqt_string path); -QDir* QDir_new5(struct miqt_string path, struct miqt_string nameFilter, int sort); -QDir* QDir_new6(struct miqt_string path, struct miqt_string nameFilter, int sort, int filter); +QDir* QDir_new4(); +QDir* QDir_new5(struct miqt_string path); +QDir* QDir_new6(struct miqt_string path, struct miqt_string nameFilter, int sort); +QDir* QDir_new7(struct miqt_string path, struct miqt_string nameFilter, int sort, int filter); void QDir_operatorAssign(QDir* self, QDir* param1); void QDir_swap(QDir* self, QDir* other); void QDir_setPath(QDir* self, struct miqt_string path); diff --git a/qt6/gen_qdrawutil.cpp b/qt6/gen_qdrawutil.cpp index 582f328fc..cd8585646 100644 --- a/qt6/gen_qdrawutil.cpp +++ b/qt6/gen_qdrawutil.cpp @@ -22,7 +22,11 @@ QTileRules* QTileRules_new3(QTileRules* param1) { return new (std::nothrow) QTileRules(*param1); } -QTileRules* QTileRules_new4(int rule) { +QTileRules* QTileRules_new4() { + return new (std::nothrow) QTileRules(); +} + +QTileRules* QTileRules_new5(int rule) { return new (std::nothrow) QTileRules(static_cast(rule)); } diff --git a/qt6/gen_qdrawutil.go b/qt6/gen_qdrawutil.go index 4b091f7b4..244f9ed77 100644 --- a/qt6/gen_qdrawutil.go +++ b/qt6/gen_qdrawutil.go @@ -82,9 +82,15 @@ func NewQTileRules3(param1 *QTileRules) *QTileRules { } // NewQTileRules4 constructs a new QTileRules object. -func NewQTileRules4(rule TileRule) *QTileRules { +func NewQTileRules4() *QTileRules { - return newQTileRules(C.QTileRules_new4((C.int)(rule))) + return newQTileRules(C.QTileRules_new4()) +} + +// NewQTileRules5 constructs a new QTileRules object. +func NewQTileRules5(rule TileRule) *QTileRules { + + return newQTileRules(C.QTileRules_new5((C.int)(rule))) } func (this *QTileRules) Horizontal() TileRule { diff --git a/qt6/gen_qdrawutil.h b/qt6/gen_qdrawutil.h index 2e710b785..6f2a94475 100644 --- a/qt6/gen_qdrawutil.h +++ b/qt6/gen_qdrawutil.h @@ -23,7 +23,8 @@ typedef struct QTileRules QTileRules; QTileRules* QTileRules_new(int horizontalRule, int verticalRule); QTileRules* QTileRules_new2(); QTileRules* QTileRules_new3(QTileRules* param1); -QTileRules* QTileRules_new4(int rule); +QTileRules* QTileRules_new4(); +QTileRules* QTileRules_new5(int rule); int QTileRules_horizontal(const QTileRules* self); void QTileRules_setHorizontal(QTileRules* self, int horizontal); int QTileRules_vertical(const QTileRules* self); diff --git a/qt6/gen_qeasingcurve.cpp b/qt6/gen_qeasingcurve.cpp index 3251d40e3..c828bc18c 100644 --- a/qt6/gen_qeasingcurve.cpp +++ b/qt6/gen_qeasingcurve.cpp @@ -20,7 +20,11 @@ QEasingCurve* QEasingCurve_new2(QEasingCurve* other) { return new (std::nothrow) QEasingCurve(*other); } -QEasingCurve* QEasingCurve_new3(int type) { +QEasingCurve* QEasingCurve_new3() { + return new (std::nothrow) QEasingCurve(); +} + +QEasingCurve* QEasingCurve_new4(int type) { return new (std::nothrow) QEasingCurve(static_cast(type)); } diff --git a/qt6/gen_qeasingcurve.go b/qt6/gen_qeasingcurve.go index 2173d7a53..c20d9a4f0 100644 --- a/qt6/gen_qeasingcurve.go +++ b/qt6/gen_qeasingcurve.go @@ -112,9 +112,15 @@ func NewQEasingCurve2(other *QEasingCurve) *QEasingCurve { } // NewQEasingCurve3 constructs a new QEasingCurve object. -func NewQEasingCurve3(typeVal QEasingCurve__Type) *QEasingCurve { +func NewQEasingCurve3() *QEasingCurve { - return newQEasingCurve(C.QEasingCurve_new3((C.int)(typeVal))) + return newQEasingCurve(C.QEasingCurve_new3()) +} + +// NewQEasingCurve4 constructs a new QEasingCurve object. +func NewQEasingCurve4(typeVal QEasingCurve__Type) *QEasingCurve { + + return newQEasingCurve(C.QEasingCurve_new4((C.int)(typeVal))) } func (this *QEasingCurve) OperatorAssign(other *QEasingCurve) { diff --git a/qt6/gen_qeasingcurve.h b/qt6/gen_qeasingcurve.h index 3748d7d87..9770dbe57 100644 --- a/qt6/gen_qeasingcurve.h +++ b/qt6/gen_qeasingcurve.h @@ -24,7 +24,8 @@ typedef struct QPointF QPointF; QEasingCurve* QEasingCurve_new(); QEasingCurve* QEasingCurve_new2(QEasingCurve* other); -QEasingCurve* QEasingCurve_new3(int type); +QEasingCurve* QEasingCurve_new3(); +QEasingCurve* QEasingCurve_new4(int type); void QEasingCurve_operatorAssign(QEasingCurve* self, QEasingCurve* other); void QEasingCurve_swap(QEasingCurve* self, QEasingCurve* other); bool QEasingCurve_operatorEqual(const QEasingCurve* self, QEasingCurve* other); diff --git a/qt6/gen_qeventpoint.cpp b/qt6/gen_qeventpoint.cpp index d672e43a3..952e86eff 100644 --- a/qt6/gen_qeventpoint.cpp +++ b/qt6/gen_qeventpoint.cpp @@ -27,11 +27,15 @@ QEventPoint* QEventPoint_new3(QEventPoint* other) { return new (std::nothrow) QEventPoint(*other); } -QEventPoint* QEventPoint_new4(int id) { +QEventPoint* QEventPoint_new4() { + return new (std::nothrow) QEventPoint(); +} + +QEventPoint* QEventPoint_new5(int id) { return new (std::nothrow) QEventPoint(static_cast(id)); } -QEventPoint* QEventPoint_new5(int id, QPointingDevice* device) { +QEventPoint* QEventPoint_new6(int id, QPointingDevice* device) { return new (std::nothrow) QEventPoint(static_cast(id), device); } diff --git a/qt6/gen_qeventpoint.go b/qt6/gen_qeventpoint.go index 81e249d93..a0f81d42d 100644 --- a/qt6/gen_qeventpoint.go +++ b/qt6/gen_qeventpoint.go @@ -74,15 +74,21 @@ func NewQEventPoint3(other *QEventPoint) *QEventPoint { } // NewQEventPoint4 constructs a new QEventPoint object. -func NewQEventPoint4(id int) *QEventPoint { +func NewQEventPoint4() *QEventPoint { - return newQEventPoint(C.QEventPoint_new4((C.int)(id))) + return newQEventPoint(C.QEventPoint_new4()) } // NewQEventPoint5 constructs a new QEventPoint object. -func NewQEventPoint5(id int, device *QPointingDevice) *QEventPoint { +func NewQEventPoint5(id int) *QEventPoint { - return newQEventPoint(C.QEventPoint_new5((C.int)(id), device.cPointer())) + return newQEventPoint(C.QEventPoint_new5((C.int)(id))) +} + +// NewQEventPoint6 constructs a new QEventPoint object. +func NewQEventPoint6(id int, device *QPointingDevice) *QEventPoint { + + return newQEventPoint(C.QEventPoint_new6((C.int)(id), device.cPointer())) } func (this *QEventPoint) OperatorAssign(other *QEventPoint) { diff --git a/qt6/gen_qeventpoint.h b/qt6/gen_qeventpoint.h index fd3849f77..e6ffc6ae8 100644 --- a/qt6/gen_qeventpoint.h +++ b/qt6/gen_qeventpoint.h @@ -33,8 +33,9 @@ typedef struct QVector2D QVector2D; QEventPoint* QEventPoint_new(); QEventPoint* QEventPoint_new2(int pointId, uint8_t state, QPointF* scenePosition, QPointF* globalPosition); QEventPoint* QEventPoint_new3(QEventPoint* other); -QEventPoint* QEventPoint_new4(int id); -QEventPoint* QEventPoint_new5(int id, QPointingDevice* device); +QEventPoint* QEventPoint_new4(); +QEventPoint* QEventPoint_new5(int id); +QEventPoint* QEventPoint_new6(int id, QPointingDevice* device); void QEventPoint_operatorAssign(QEventPoint* self, QEventPoint* other); bool QEventPoint_operatorEqual(const QEventPoint* self, QEventPoint* other); bool QEventPoint_operatorNotEqual(const QEventPoint* self, QEventPoint* other); diff --git a/qt6/gen_qfutureinterface.cpp b/qt6/gen_qfutureinterface.cpp index c61c471c4..98090bbb5 100644 --- a/qt6/gen_qfutureinterface.cpp +++ b/qt6/gen_qfutureinterface.cpp @@ -24,7 +24,11 @@ QFutureInterfaceBase* QFutureInterfaceBase_new2(QFutureInterfaceBase* other) { return new (std::nothrow) QFutureInterfaceBase(*other); } -QFutureInterfaceBase* QFutureInterfaceBase_new3(int initialState) { +QFutureInterfaceBase* QFutureInterfaceBase_new3() { + return new (std::nothrow) QFutureInterfaceBase(); +} + +QFutureInterfaceBase* QFutureInterfaceBase_new4(int initialState) { return new (std::nothrow) QFutureInterfaceBase(static_cast(initialState)); } diff --git a/qt6/gen_qfutureinterface.go b/qt6/gen_qfutureinterface.go index 79708e862..4119f0ac6 100644 --- a/qt6/gen_qfutureinterface.go +++ b/qt6/gen_qfutureinterface.go @@ -79,9 +79,15 @@ func NewQFutureInterfaceBase2(other *QFutureInterfaceBase) *QFutureInterfaceBase } // NewQFutureInterfaceBase3 constructs a new QFutureInterfaceBase object. -func NewQFutureInterfaceBase3(initialState QFutureInterfaceBase__State) *QFutureInterfaceBase { +func NewQFutureInterfaceBase3() *QFutureInterfaceBase { - return newQFutureInterfaceBase(C.QFutureInterfaceBase_new3((C.int)(initialState))) + return newQFutureInterfaceBase(C.QFutureInterfaceBase_new3()) +} + +// NewQFutureInterfaceBase4 constructs a new QFutureInterfaceBase object. +func NewQFutureInterfaceBase4(initialState QFutureInterfaceBase__State) *QFutureInterfaceBase { + + return newQFutureInterfaceBase(C.QFutureInterfaceBase_new4((C.int)(initialState))) } func (this *QFutureInterfaceBase) OperatorAssign(other *QFutureInterfaceBase) { diff --git a/qt6/gen_qfutureinterface.h b/qt6/gen_qfutureinterface.h index d6341d072..92e9de903 100644 --- a/qt6/gen_qfutureinterface.h +++ b/qt6/gen_qfutureinterface.h @@ -28,7 +28,8 @@ typedef struct QThreadPool QThreadPool; QFutureInterfaceBase* QFutureInterfaceBase_new(); QFutureInterfaceBase* QFutureInterfaceBase_new2(QFutureInterfaceBase* other); -QFutureInterfaceBase* QFutureInterfaceBase_new3(int initialState); +QFutureInterfaceBase* QFutureInterfaceBase_new3(); +QFutureInterfaceBase* QFutureInterfaceBase_new4(int initialState); void QFutureInterfaceBase_operatorAssign(QFutureInterfaceBase* self, QFutureInterfaceBase* other); void QFutureInterfaceBase_reportStarted(QFutureInterfaceBase* self); void QFutureInterfaceBase_reportFinished(QFutureInterfaceBase* self); diff --git a/qt6/gen_qhashfunctions.cpp b/qt6/gen_qhashfunctions.cpp index 0b7300f90..96597fda1 100644 --- a/qt6/gen_qhashfunctions.cpp +++ b/qt6/gen_qhashfunctions.cpp @@ -14,7 +14,11 @@ QHashSeed* QHashSeed_new() { return new (std::nothrow) QHashSeed(); } -QHashSeed* QHashSeed_new2(size_t d) { +QHashSeed* QHashSeed_new2() { + return new (std::nothrow) QHashSeed(); +} + +QHashSeed* QHashSeed_new3(size_t d) { return new (std::nothrow) QHashSeed(static_cast(d)); } diff --git a/qt6/gen_qhashfunctions.go b/qt6/gen_qhashfunctions.go index a038a9900..3f9ee2961 100644 --- a/qt6/gen_qhashfunctions.go +++ b/qt6/gen_qhashfunctions.go @@ -52,9 +52,15 @@ func NewQHashSeed() *QHashSeed { } // NewQHashSeed2 constructs a new QHashSeed object. -func NewQHashSeed2(d uint64) *QHashSeed { +func NewQHashSeed2() *QHashSeed { - return newQHashSeed(C.QHashSeed_new2((C.size_t)(d))) + return newQHashSeed(C.QHashSeed_new2()) +} + +// NewQHashSeed3 constructs a new QHashSeed object. +func NewQHashSeed3(d uint64) *QHashSeed { + + return newQHashSeed(C.QHashSeed_new3((C.size_t)(d))) } func QHashSeed_GlobalSeed() *QHashSeed { diff --git a/qt6/gen_qhashfunctions.h b/qt6/gen_qhashfunctions.h index e7177d3f7..8308765b0 100644 --- a/qt6/gen_qhashfunctions.h +++ b/qt6/gen_qhashfunctions.h @@ -21,7 +21,8 @@ typedef struct QHashSeed QHashSeed; #endif QHashSeed* QHashSeed_new(); -QHashSeed* QHashSeed_new2(size_t d); +QHashSeed* QHashSeed_new2(); +QHashSeed* QHashSeed_new3(size_t d); QHashSeed* QHashSeed_globalSeed(); void QHashSeed_setDeterministicGlobalSeed(); void QHashSeed_resetRandomGlobalSeed(); diff --git a/qt6/gen_qiconengine.cpp b/qt6/gen_qiconengine.cpp index 0228a894a..9f718bea8 100644 --- a/qt6/gen_qiconengine.cpp +++ b/qt6/gen_qiconengine.cpp @@ -629,6 +629,10 @@ QIconEngine__ScaledPixmapArgument* QIconEngine__ScaledPixmapArgument_new(QIconEn return new (std::nothrow) QIconEngine::ScaledPixmapArgument(*param1); } +QIconEngine__ScaledPixmapArgument* QIconEngine__ScaledPixmapArgument_new2() { + return new (std::nothrow) QIconEngine::ScaledPixmapArgument(); +} + QSize* QIconEngine__ScaledPixmapArgument_size(const QIconEngine__ScaledPixmapArgument* self) { return new QSize(self->size); } diff --git a/qt6/gen_qiconengine.go b/qt6/gen_qiconengine.go index 0a9e15ca7..89c6aca94 100644 --- a/qt6/gen_qiconengine.go +++ b/qt6/gen_qiconengine.go @@ -623,6 +623,12 @@ func NewQIconEngine__ScaledPixmapArgument(param1 *QIconEngine__ScaledPixmapArgum return newQIconEngine__ScaledPixmapArgument(C.QIconEngine__ScaledPixmapArgument_new(param1.cPointer())) } +// NewQIconEngine__ScaledPixmapArgument2 constructs a new QIconEngine::ScaledPixmapArgument object. +func NewQIconEngine__ScaledPixmapArgument2() *QIconEngine__ScaledPixmapArgument { + + return newQIconEngine__ScaledPixmapArgument(C.QIconEngine__ScaledPixmapArgument_new2()) +} + func (this *QIconEngine__ScaledPixmapArgument) Size() *QSize { size_goptr := newQSize(C.QIconEngine__ScaledPixmapArgument_size(this.h)) size_goptr.GoGC() // Qt uses pass-by-value semantics for this type. Mimic with finalizer diff --git a/qt6/gen_qiconengine.h b/qt6/gen_qiconengine.h index 4b401b012..423e00b34 100644 --- a/qt6/gen_qiconengine.h +++ b/qt6/gen_qiconengine.h @@ -84,6 +84,7 @@ void QIconEngine_virtualbase_virtualHook(void* self, int id, void* data); void QIconEngine_delete(QIconEngine* self); QIconEngine__ScaledPixmapArgument* QIconEngine__ScaledPixmapArgument_new(QIconEngine__ScaledPixmapArgument* param1); +QIconEngine__ScaledPixmapArgument* QIconEngine__ScaledPixmapArgument_new2(); QSize* QIconEngine__ScaledPixmapArgument_size(const QIconEngine__ScaledPixmapArgument* self); void QIconEngine__ScaledPixmapArgument_setSize(QIconEngine__ScaledPixmapArgument* self, QSize* size); int QIconEngine__ScaledPixmapArgument_mode(const QIconEngine__ScaledPixmapArgument* self); diff --git a/qt6/gen_qlistwidget.cpp b/qt6/gen_qlistwidget.cpp index c52ced4e2..1e1a83d23 100644 --- a/qt6/gen_qlistwidget.cpp +++ b/qt6/gen_qlistwidget.cpp @@ -183,6 +183,7 @@ class MiqtVirtualQListWidgetItem final : public QListWidgetItem { MiqtVirtualQListWidgetItem(const QString& text): QListWidgetItem(text) {} MiqtVirtualQListWidgetItem(const QIcon& icon, const QString& text): QListWidgetItem(icon, text) {} MiqtVirtualQListWidgetItem(const QListWidgetItem& other): QListWidgetItem(other) {} + MiqtVirtualQListWidgetItem(): QListWidgetItem() {} MiqtVirtualQListWidgetItem(QListWidget* listview): QListWidgetItem(listview) {} MiqtVirtualQListWidgetItem(QListWidget* listview, int type): QListWidgetItem(listview, type) {} MiqtVirtualQListWidgetItem(const QString& text, QListWidget* listview): QListWidgetItem(text, listview) {} @@ -319,30 +320,34 @@ QListWidgetItem* QListWidgetItem_new4(QListWidgetItem* other) { return new (std::nothrow) MiqtVirtualQListWidgetItem(*other); } -QListWidgetItem* QListWidgetItem_new5(QListWidget* listview) { +QListWidgetItem* QListWidgetItem_new5() { + return new (std::nothrow) MiqtVirtualQListWidgetItem(); +} + +QListWidgetItem* QListWidgetItem_new6(QListWidget* listview) { return new (std::nothrow) MiqtVirtualQListWidgetItem(listview); } -QListWidgetItem* QListWidgetItem_new6(QListWidget* listview, int type) { +QListWidgetItem* QListWidgetItem_new7(QListWidget* listview, int type) { return new (std::nothrow) MiqtVirtualQListWidgetItem(listview, static_cast(type)); } -QListWidgetItem* QListWidgetItem_new7(struct miqt_string text, QListWidget* listview) { +QListWidgetItem* QListWidgetItem_new8(struct miqt_string text, QListWidget* listview) { QString text_QString = QString::fromUtf8(text.data, text.len); return new (std::nothrow) MiqtVirtualQListWidgetItem(text_QString, listview); } -QListWidgetItem* QListWidgetItem_new8(struct miqt_string text, QListWidget* listview, int type) { +QListWidgetItem* QListWidgetItem_new9(struct miqt_string text, QListWidget* listview, int type) { QString text_QString = QString::fromUtf8(text.data, text.len); return new (std::nothrow) MiqtVirtualQListWidgetItem(text_QString, listview, static_cast(type)); } -QListWidgetItem* QListWidgetItem_new9(QIcon* icon, struct miqt_string text, QListWidget* listview) { +QListWidgetItem* QListWidgetItem_new10(QIcon* icon, struct miqt_string text, QListWidget* listview) { QString text_QString = QString::fromUtf8(text.data, text.len); return new (std::nothrow) MiqtVirtualQListWidgetItem(*icon, text_QString, listview); } -QListWidgetItem* QListWidgetItem_new10(QIcon* icon, struct miqt_string text, QListWidget* listview, int type) { +QListWidgetItem* QListWidgetItem_new11(QIcon* icon, struct miqt_string text, QListWidget* listview, int type) { QString text_QString = QString::fromUtf8(text.data, text.len); return new (std::nothrow) MiqtVirtualQListWidgetItem(*icon, text_QString, listview, static_cast(type)); } diff --git a/qt6/gen_qlistwidget.go b/qt6/gen_qlistwidget.go index 70dbd30de..aee90c6bd 100644 --- a/qt6/gen_qlistwidget.go +++ b/qt6/gen_qlistwidget.go @@ -86,55 +86,61 @@ func NewQListWidgetItem4(other *QListWidgetItem) *QListWidgetItem { } // NewQListWidgetItem5 constructs a new QListWidgetItem object. -func NewQListWidgetItem5(listview *QListWidget) *QListWidgetItem { +func NewQListWidgetItem5() *QListWidgetItem { - return newQListWidgetItem(C.QListWidgetItem_new5(listview.cPointer())) + return newQListWidgetItem(C.QListWidgetItem_new5()) } // NewQListWidgetItem6 constructs a new QListWidgetItem object. -func NewQListWidgetItem6(listview *QListWidget, typeVal int) *QListWidgetItem { +func NewQListWidgetItem6(listview *QListWidget) *QListWidgetItem { - return newQListWidgetItem(C.QListWidgetItem_new6(listview.cPointer(), (C.int)(typeVal))) + return newQListWidgetItem(C.QListWidgetItem_new6(listview.cPointer())) } // NewQListWidgetItem7 constructs a new QListWidgetItem object. -func NewQListWidgetItem7(text string, listview *QListWidget) *QListWidgetItem { +func NewQListWidgetItem7(listview *QListWidget, typeVal int) *QListWidgetItem { + + return newQListWidgetItem(C.QListWidgetItem_new7(listview.cPointer(), (C.int)(typeVal))) +} + +// NewQListWidgetItem8 constructs a new QListWidgetItem object. +func NewQListWidgetItem8(text string, listview *QListWidget) *QListWidgetItem { text_ms := C.struct_miqt_string{} text_ms.data = C.CString(text) text_ms.len = C.size_t(len(text)) defer C.free(unsafe.Pointer(text_ms.data)) - return newQListWidgetItem(C.QListWidgetItem_new7(text_ms, listview.cPointer())) + return newQListWidgetItem(C.QListWidgetItem_new8(text_ms, listview.cPointer())) } -// NewQListWidgetItem8 constructs a new QListWidgetItem object. -func NewQListWidgetItem8(text string, listview *QListWidget, typeVal int) *QListWidgetItem { +// NewQListWidgetItem9 constructs a new QListWidgetItem object. +func NewQListWidgetItem9(text string, listview *QListWidget, typeVal int) *QListWidgetItem { text_ms := C.struct_miqt_string{} text_ms.data = C.CString(text) text_ms.len = C.size_t(len(text)) defer C.free(unsafe.Pointer(text_ms.data)) - return newQListWidgetItem(C.QListWidgetItem_new8(text_ms, listview.cPointer(), (C.int)(typeVal))) + return newQListWidgetItem(C.QListWidgetItem_new9(text_ms, listview.cPointer(), (C.int)(typeVal))) } -// NewQListWidgetItem9 constructs a new QListWidgetItem object. -func NewQListWidgetItem9(icon *QIcon, text string, listview *QListWidget) *QListWidgetItem { +// NewQListWidgetItem10 constructs a new QListWidgetItem object. +func NewQListWidgetItem10(icon *QIcon, text string, listview *QListWidget) *QListWidgetItem { text_ms := C.struct_miqt_string{} text_ms.data = C.CString(text) text_ms.len = C.size_t(len(text)) defer C.free(unsafe.Pointer(text_ms.data)) - return newQListWidgetItem(C.QListWidgetItem_new9(icon.cPointer(), text_ms, listview.cPointer())) + return newQListWidgetItem(C.QListWidgetItem_new10(icon.cPointer(), text_ms, listview.cPointer())) } -// NewQListWidgetItem10 constructs a new QListWidgetItem object. -func NewQListWidgetItem10(icon *QIcon, text string, listview *QListWidget, typeVal int) *QListWidgetItem { +// NewQListWidgetItem11 constructs a new QListWidgetItem object. +func NewQListWidgetItem11(icon *QIcon, text string, listview *QListWidget, typeVal int) *QListWidgetItem { text_ms := C.struct_miqt_string{} text_ms.data = C.CString(text) text_ms.len = C.size_t(len(text)) defer C.free(unsafe.Pointer(text_ms.data)) - return newQListWidgetItem(C.QListWidgetItem_new10(icon.cPointer(), text_ms, listview.cPointer(), (C.int)(typeVal))) + return newQListWidgetItem(C.QListWidgetItem_new11(icon.cPointer(), text_ms, listview.cPointer(), (C.int)(typeVal))) } func (this *QListWidgetItem) Clone() *QListWidgetItem { diff --git a/qt6/gen_qlistwidget.h b/qt6/gen_qlistwidget.h index 9c9c66175..afba60f5e 100644 --- a/qt6/gen_qlistwidget.h +++ b/qt6/gen_qlistwidget.h @@ -126,12 +126,13 @@ QListWidgetItem* QListWidgetItem_new(); QListWidgetItem* QListWidgetItem_new2(struct miqt_string text); QListWidgetItem* QListWidgetItem_new3(QIcon* icon, struct miqt_string text); QListWidgetItem* QListWidgetItem_new4(QListWidgetItem* other); -QListWidgetItem* QListWidgetItem_new5(QListWidget* listview); -QListWidgetItem* QListWidgetItem_new6(QListWidget* listview, int type); -QListWidgetItem* QListWidgetItem_new7(struct miqt_string text, QListWidget* listview); -QListWidgetItem* QListWidgetItem_new8(struct miqt_string text, QListWidget* listview, int type); -QListWidgetItem* QListWidgetItem_new9(QIcon* icon, struct miqt_string text, QListWidget* listview); -QListWidgetItem* QListWidgetItem_new10(QIcon* icon, struct miqt_string text, QListWidget* listview, int type); +QListWidgetItem* QListWidgetItem_new5(); +QListWidgetItem* QListWidgetItem_new6(QListWidget* listview); +QListWidgetItem* QListWidgetItem_new7(QListWidget* listview, int type); +QListWidgetItem* QListWidgetItem_new8(struct miqt_string text, QListWidget* listview); +QListWidgetItem* QListWidgetItem_new9(struct miqt_string text, QListWidget* listview, int type); +QListWidgetItem* QListWidgetItem_new10(QIcon* icon, struct miqt_string text, QListWidget* listview); +QListWidgetItem* QListWidgetItem_new11(QIcon* icon, struct miqt_string text, QListWidget* listview, int type); QListWidgetItem* QListWidgetItem_clone(const QListWidgetItem* self); QListWidget* QListWidgetItem_listWidget(const QListWidgetItem* self); void QListWidgetItem_setSelected(QListWidgetItem* self, bool select); diff --git a/qt6/gen_qnamespace.cpp b/qt6/gen_qnamespace.cpp index 5abe7765a..5776481b4 100644 --- a/qt6/gen_qnamespace.cpp +++ b/qt6/gen_qnamespace.cpp @@ -26,15 +26,19 @@ QKeyCombination* QKeyCombination_new4(QKeyCombination* param1) { return new (std::nothrow) QKeyCombination(*param1); } -QKeyCombination* QKeyCombination_new5(int key) { +QKeyCombination* QKeyCombination_new5() { + return new (std::nothrow) QKeyCombination(); +} + +QKeyCombination* QKeyCombination_new6(int key) { return new (std::nothrow) QKeyCombination(static_cast(key)); } -QKeyCombination* QKeyCombination_new6(int modifiers, int key) { +QKeyCombination* QKeyCombination_new7(int modifiers, int key) { return new (std::nothrow) QKeyCombination(static_cast(modifiers), static_cast(key)); } -QKeyCombination* QKeyCombination_new7(int modifiers, int key) { +QKeyCombination* QKeyCombination_new8(int modifiers, int key) { return new (std::nothrow) QKeyCombination(static_cast(modifiers), static_cast(key)); } diff --git a/qt6/gen_qnamespace.go b/qt6/gen_qnamespace.go index ee10198de..88b5a0a87 100644 --- a/qt6/gen_qnamespace.go +++ b/qt6/gen_qnamespace.go @@ -1722,23 +1722,29 @@ func NewQKeyCombination4(param1 *QKeyCombination) *QKeyCombination { } // NewQKeyCombination5 constructs a new QKeyCombination object. -func NewQKeyCombination5(key Key) *QKeyCombination { +func NewQKeyCombination5() *QKeyCombination { - return newQKeyCombination(C.QKeyCombination_new5((C.int)(key))) + return newQKeyCombination(C.QKeyCombination_new5()) } // NewQKeyCombination6 constructs a new QKeyCombination object. -func NewQKeyCombination6(modifiers Modifier, key Key) *QKeyCombination { +func NewQKeyCombination6(key Key) *QKeyCombination { - return newQKeyCombination(C.QKeyCombination_new6((C.int)(modifiers), (C.int)(key))) + return newQKeyCombination(C.QKeyCombination_new6((C.int)(key))) } // NewQKeyCombination7 constructs a new QKeyCombination object. -func NewQKeyCombination7(modifiers KeyboardModifier, key Key) *QKeyCombination { +func NewQKeyCombination7(modifiers Modifier, key Key) *QKeyCombination { return newQKeyCombination(C.QKeyCombination_new7((C.int)(modifiers), (C.int)(key))) } +// NewQKeyCombination8 constructs a new QKeyCombination object. +func NewQKeyCombination8(modifiers KeyboardModifier, key Key) *QKeyCombination { + + return newQKeyCombination(C.QKeyCombination_new8((C.int)(modifiers), (C.int)(key))) +} + func (this *QKeyCombination) KeyboardModifiers() KeyboardModifier { return (KeyboardModifier)(C.QKeyCombination_keyboardModifiers(this.h)) } diff --git a/qt6/gen_qnamespace.h b/qt6/gen_qnamespace.h index 67cf991b1..e75755217 100644 --- a/qt6/gen_qnamespace.h +++ b/qt6/gen_qnamespace.h @@ -24,9 +24,10 @@ QKeyCombination* QKeyCombination_new(); QKeyCombination* QKeyCombination_new2(int modifiers); QKeyCombination* QKeyCombination_new3(int modifiers); QKeyCombination* QKeyCombination_new4(QKeyCombination* param1); -QKeyCombination* QKeyCombination_new5(int key); -QKeyCombination* QKeyCombination_new6(int modifiers, int key); +QKeyCombination* QKeyCombination_new5(); +QKeyCombination* QKeyCombination_new6(int key); QKeyCombination* QKeyCombination_new7(int modifiers, int key); +QKeyCombination* QKeyCombination_new8(int modifiers, int key); int QKeyCombination_keyboardModifiers(const QKeyCombination* self); int QKeyCombination_key(const QKeyCombination* self); QKeyCombination* QKeyCombination_fromCombined(int combined); diff --git a/qt6/gen_qobjectdefs.cpp b/qt6/gen_qobjectdefs.cpp index 12b1dae9a..78fa7d8a0 100644 --- a/qt6/gen_qobjectdefs.cpp +++ b/qt6/gen_qobjectdefs.cpp @@ -38,11 +38,15 @@ QGenericArgument* QGenericArgument_new2(QGenericArgument* param1) { return new (std::nothrow) QGenericArgument(*param1); } -QGenericArgument* QGenericArgument_new3(const char* aName) { +QGenericArgument* QGenericArgument_new3() { + return new (std::nothrow) QGenericArgument(); +} + +QGenericArgument* QGenericArgument_new4(const char* aName) { return new (std::nothrow) QGenericArgument(aName); } -QGenericArgument* QGenericArgument_new4(const char* aName, const void* aData) { +QGenericArgument* QGenericArgument_new5(const char* aName, const void* aData) { return new (std::nothrow) QGenericArgument(aName, aData); } @@ -66,11 +70,15 @@ QGenericReturnArgument* QGenericReturnArgument_new2(QGenericReturnArgument* para return new (std::nothrow) QGenericReturnArgument(*param1); } -QGenericReturnArgument* QGenericReturnArgument_new3(const char* aName) { +QGenericReturnArgument* QGenericReturnArgument_new3() { + return new (std::nothrow) QGenericReturnArgument(); +} + +QGenericReturnArgument* QGenericReturnArgument_new4(const char* aName) { return new (std::nothrow) QGenericReturnArgument(aName); } -QGenericReturnArgument* QGenericReturnArgument_new4(const char* aName, void* aData) { +QGenericReturnArgument* QGenericReturnArgument_new5(const char* aName, void* aData) { return new (std::nothrow) QGenericReturnArgument(aName, aData); } diff --git a/qt6/gen_qobjectdefs.go b/qt6/gen_qobjectdefs.go index ab3579f0a..6e31ac0d2 100644 --- a/qt6/gen_qobjectdefs.go +++ b/qt6/gen_qobjectdefs.go @@ -119,19 +119,25 @@ func NewQGenericArgument2(param1 *QGenericArgument) *QGenericArgument { } // NewQGenericArgument3 constructs a new QGenericArgument object. -func NewQGenericArgument3(aName string) *QGenericArgument { +func NewQGenericArgument3() *QGenericArgument { + + return newQGenericArgument(C.QGenericArgument_new3()) +} + +// NewQGenericArgument4 constructs a new QGenericArgument object. +func NewQGenericArgument4(aName string) *QGenericArgument { aName_Cstring := C.CString(aName) defer C.free(unsafe.Pointer(aName_Cstring)) - return newQGenericArgument(C.QGenericArgument_new3(aName_Cstring)) + return newQGenericArgument(C.QGenericArgument_new4(aName_Cstring)) } -// NewQGenericArgument4 constructs a new QGenericArgument object. -func NewQGenericArgument4(aName string, aData unsafe.Pointer) *QGenericArgument { +// NewQGenericArgument5 constructs a new QGenericArgument object. +func NewQGenericArgument5(aName string, aData unsafe.Pointer) *QGenericArgument { aName_Cstring := C.CString(aName) defer C.free(unsafe.Pointer(aName_Cstring)) - return newQGenericArgument(C.QGenericArgument_new4(aName_Cstring, aData)) + return newQGenericArgument(C.QGenericArgument_new5(aName_Cstring, aData)) } func (this *QGenericArgument) Data() unsafe.Pointer { @@ -206,19 +212,25 @@ func NewQGenericReturnArgument2(param1 *QGenericReturnArgument) *QGenericReturnA } // NewQGenericReturnArgument3 constructs a new QGenericReturnArgument object. -func NewQGenericReturnArgument3(aName string) *QGenericReturnArgument { +func NewQGenericReturnArgument3() *QGenericReturnArgument { + + return newQGenericReturnArgument(C.QGenericReturnArgument_new3()) +} + +// NewQGenericReturnArgument4 constructs a new QGenericReturnArgument object. +func NewQGenericReturnArgument4(aName string) *QGenericReturnArgument { aName_Cstring := C.CString(aName) defer C.free(unsafe.Pointer(aName_Cstring)) - return newQGenericReturnArgument(C.QGenericReturnArgument_new3(aName_Cstring)) + return newQGenericReturnArgument(C.QGenericReturnArgument_new4(aName_Cstring)) } -// NewQGenericReturnArgument4 constructs a new QGenericReturnArgument object. -func NewQGenericReturnArgument4(aName string, aData unsafe.Pointer) *QGenericReturnArgument { +// NewQGenericReturnArgument5 constructs a new QGenericReturnArgument object. +func NewQGenericReturnArgument5(aName string, aData unsafe.Pointer) *QGenericReturnArgument { aName_Cstring := C.CString(aName) defer C.free(unsafe.Pointer(aName_Cstring)) - return newQGenericReturnArgument(C.QGenericReturnArgument_new4(aName_Cstring, aData)) + return newQGenericReturnArgument(C.QGenericReturnArgument_new5(aName_Cstring, aData)) } // Delete this object from C++ memory. diff --git a/qt6/gen_qobjectdefs.h b/qt6/gen_qobjectdefs.h index 4ad08462a..de801f4be 100644 --- a/qt6/gen_qobjectdefs.h +++ b/qt6/gen_qobjectdefs.h @@ -60,8 +60,9 @@ void QMethodRawArguments_delete(QMethodRawArguments* self); QGenericArgument* QGenericArgument_new(); QGenericArgument* QGenericArgument_new2(QGenericArgument* param1); -QGenericArgument* QGenericArgument_new3(const char* aName); -QGenericArgument* QGenericArgument_new4(const char* aName, const void* aData); +QGenericArgument* QGenericArgument_new3(); +QGenericArgument* QGenericArgument_new4(const char* aName); +QGenericArgument* QGenericArgument_new5(const char* aName, const void* aData); void* QGenericArgument_data(const QGenericArgument* self); const char* QGenericArgument_name(const QGenericArgument* self); @@ -69,8 +70,9 @@ void QGenericArgument_delete(QGenericArgument* self); QGenericReturnArgument* QGenericReturnArgument_new(); QGenericReturnArgument* QGenericReturnArgument_new2(QGenericReturnArgument* param1); -QGenericReturnArgument* QGenericReturnArgument_new3(const char* aName); -QGenericReturnArgument* QGenericReturnArgument_new4(const char* aName, void* aData); +QGenericReturnArgument* QGenericReturnArgument_new3(); +QGenericReturnArgument* QGenericReturnArgument_new4(const char* aName); +QGenericReturnArgument* QGenericReturnArgument_new5(const char* aName, void* aData); void QGenericReturnArgument_virtbase(QGenericReturnArgument* src, QGenericArgument** outptr_QGenericArgument); void QGenericReturnArgument_delete(QGenericReturnArgument* self); diff --git a/qt6/gen_qpicture.cpp b/qt6/gen_qpicture.cpp index 29b3b1a32..0fa69edee 100644 --- a/qt6/gen_qpicture.cpp +++ b/qt6/gen_qpicture.cpp @@ -31,6 +31,7 @@ class MiqtVirtualQPicture final : public QPicture { MiqtVirtualQPicture(): QPicture() {} MiqtVirtualQPicture(const QPicture& param1): QPicture(param1) {} + MiqtVirtualQPicture(): QPicture() {} MiqtVirtualQPicture(int formatVersion): QPicture(formatVersion) {} virtual ~MiqtVirtualQPicture() override = default; @@ -159,7 +160,11 @@ QPicture* QPicture_new2(QPicture* param1) { return new (std::nothrow) MiqtVirtualQPicture(*param1); } -QPicture* QPicture_new3(int formatVersion) { +QPicture* QPicture_new3() { + return new (std::nothrow) MiqtVirtualQPicture(); +} + +QPicture* QPicture_new4(int formatVersion) { return new (std::nothrow) MiqtVirtualQPicture(static_cast(formatVersion)); } diff --git a/qt6/gen_qpicture.go b/qt6/gen_qpicture.go index 2726a57f4..8107c30fc 100644 --- a/qt6/gen_qpicture.go +++ b/qt6/gen_qpicture.go @@ -63,9 +63,15 @@ func NewQPicture2(param1 *QPicture) *QPicture { } // NewQPicture3 constructs a new QPicture object. -func NewQPicture3(formatVersion int) *QPicture { +func NewQPicture3() *QPicture { - return newQPicture(C.QPicture_new3((C.int)(formatVersion))) + return newQPicture(C.QPicture_new3()) +} + +// NewQPicture4 constructs a new QPicture object. +func NewQPicture4(formatVersion int) *QPicture { + + return newQPicture(C.QPicture_new4((C.int)(formatVersion))) } func (this *QPicture) IsNull() bool { diff --git a/qt6/gen_qpicture.h b/qt6/gen_qpicture.h index 0324b1c14..348d08e1f 100644 --- a/qt6/gen_qpicture.h +++ b/qt6/gen_qpicture.h @@ -34,7 +34,8 @@ typedef struct QRect QRect; QPicture* QPicture_new(); QPicture* QPicture_new2(QPicture* param1); -QPicture* QPicture_new3(int formatVersion); +QPicture* QPicture_new3(); +QPicture* QPicture_new4(int formatVersion); void QPicture_virtbase(QPicture* src, QPaintDevice** outptr_QPaintDevice); bool QPicture_isNull(const QPicture* self); int QPicture_devType(const QPicture* self); diff --git a/qt6/gen_qrandom.cpp b/qt6/gen_qrandom.cpp index a9ef11e2d..701592625 100644 --- a/qt6/gen_qrandom.cpp +++ b/qt6/gen_qrandom.cpp @@ -27,7 +27,11 @@ QRandomGenerator* QRandomGenerator_new4(QRandomGenerator* other) { return new (std::nothrow) QRandomGenerator(*other); } -QRandomGenerator* QRandomGenerator_new5(unsigned int seedValue) { +QRandomGenerator* QRandomGenerator_new5() { + return new (std::nothrow) QRandomGenerator(); +} + +QRandomGenerator* QRandomGenerator_new6(unsigned int seedValue) { return new (std::nothrow) QRandomGenerator(static_cast(seedValue)); } @@ -178,7 +182,11 @@ QRandomGenerator64* QRandomGenerator64_new5(QRandomGenerator64* param1) { return new (std::nothrow) QRandomGenerator64(*param1); } -QRandomGenerator64* QRandomGenerator64_new6(unsigned int seedValue) { +QRandomGenerator64* QRandomGenerator64_new6() { + return new (std::nothrow) QRandomGenerator64(); +} + +QRandomGenerator64* QRandomGenerator64_new7(unsigned int seedValue) { return new (std::nothrow) QRandomGenerator64(static_cast(seedValue)); } diff --git a/qt6/gen_qrandom.go b/qt6/gen_qrandom.go index 8c844824f..91f69e68e 100644 --- a/qt6/gen_qrandom.go +++ b/qt6/gen_qrandom.go @@ -70,9 +70,15 @@ func NewQRandomGenerator4(other *QRandomGenerator) *QRandomGenerator { } // NewQRandomGenerator5 constructs a new QRandomGenerator object. -func NewQRandomGenerator5(seedValue uint) *QRandomGenerator { +func NewQRandomGenerator5() *QRandomGenerator { - return newQRandomGenerator(C.QRandomGenerator_new5((C.uint)(seedValue))) + return newQRandomGenerator(C.QRandomGenerator_new5()) +} + +// NewQRandomGenerator6 constructs a new QRandomGenerator object. +func NewQRandomGenerator6(seedValue uint) *QRandomGenerator { + + return newQRandomGenerator(C.QRandomGenerator_new6((C.uint)(seedValue))) } func (this *QRandomGenerator) OperatorAssign(other *QRandomGenerator) { @@ -266,9 +272,15 @@ func NewQRandomGenerator645(param1 *QRandomGenerator64) *QRandomGenerator64 { } // NewQRandomGenerator646 constructs a new QRandomGenerator64 object. -func NewQRandomGenerator646(seedValue uint) *QRandomGenerator64 { +func NewQRandomGenerator646() *QRandomGenerator64 { + + return newQRandomGenerator64(C.QRandomGenerator64_new6()) +} + +// NewQRandomGenerator647 constructs a new QRandomGenerator64 object. +func NewQRandomGenerator647(seedValue uint) *QRandomGenerator64 { - return newQRandomGenerator64(C.QRandomGenerator64_new6((C.uint)(seedValue))) + return newQRandomGenerator64(C.QRandomGenerator64_new7((C.uint)(seedValue))) } func (this *QRandomGenerator64) Generate() uint64 { diff --git a/qt6/gen_qrandom.h b/qt6/gen_qrandom.h index 9b73f61f3..fb5bfba00 100644 --- a/qt6/gen_qrandom.h +++ b/qt6/gen_qrandom.h @@ -26,7 +26,8 @@ QRandomGenerator* QRandomGenerator_new(); QRandomGenerator* QRandomGenerator_new2(const unsigned int* seedBuffer, ptrdiff_t len); QRandomGenerator* QRandomGenerator_new3(const unsigned int* begin, const unsigned int* end); QRandomGenerator* QRandomGenerator_new4(QRandomGenerator* other); -QRandomGenerator* QRandomGenerator_new5(unsigned int seedValue); +QRandomGenerator* QRandomGenerator_new5(); +QRandomGenerator* QRandomGenerator_new6(unsigned int seedValue); void QRandomGenerator_operatorAssign(QRandomGenerator* self, QRandomGenerator* other); unsigned int QRandomGenerator_generate(QRandomGenerator* self); unsigned long long QRandomGenerator_generate64(QRandomGenerator* self); @@ -62,7 +63,8 @@ QRandomGenerator64* QRandomGenerator64_new2(const unsigned int* seedBuffer, ptrd QRandomGenerator64* QRandomGenerator64_new3(const unsigned int* begin, const unsigned int* end); QRandomGenerator64* QRandomGenerator64_new4(QRandomGenerator* other); QRandomGenerator64* QRandomGenerator64_new5(QRandomGenerator64* param1); -QRandomGenerator64* QRandomGenerator64_new6(unsigned int seedValue); +QRandomGenerator64* QRandomGenerator64_new6(); +QRandomGenerator64* QRandomGenerator64_new7(unsigned int seedValue); void QRandomGenerator64_virtbase(QRandomGenerator64* src, QRandomGenerator** outptr_QRandomGenerator); unsigned long long QRandomGenerator64_generate(QRandomGenerator64* self); unsigned long long QRandomGenerator64_operatorCall(QRandomGenerator64* self); diff --git a/qt6/gen_qsocketnotifier.cpp b/qt6/gen_qsocketnotifier.cpp index 3c844a528..2f31880ab 100644 --- a/qt6/gen_qsocketnotifier.cpp +++ b/qt6/gen_qsocketnotifier.cpp @@ -421,7 +421,11 @@ QSocketDescriptor* QSocketDescriptor_new2(QSocketDescriptor* param1) { return new (std::nothrow) QSocketDescriptor(*param1); } -QSocketDescriptor* QSocketDescriptor_new3(int descriptor) { +QSocketDescriptor* QSocketDescriptor_new3() { + return new (std::nothrow) QSocketDescriptor(); +} + +QSocketDescriptor* QSocketDescriptor_new4(int descriptor) { #if defined(Q_OS_LINUX) return new (std::nothrow) QSocketDescriptor(static_cast(descriptor)); #else diff --git a/qt6/gen_qsocketnotifier.go b/qt6/gen_qsocketnotifier.go index 4a1bf5018..38252fa83 100644 --- a/qt6/gen_qsocketnotifier.go +++ b/qt6/gen_qsocketnotifier.go @@ -476,13 +476,19 @@ func NewQSocketDescriptor2(param1 *QSocketDescriptor) *QSocketDescriptor { } // NewQSocketDescriptor3 constructs a new QSocketDescriptor object. -func NewQSocketDescriptor3(descriptor int) *QSocketDescriptor { +func NewQSocketDescriptor3() *QSocketDescriptor { + + return newQSocketDescriptor(C.QSocketDescriptor_new3()) +} + +// NewQSocketDescriptor4 constructs a new QSocketDescriptor object. +func NewQSocketDescriptor4(descriptor int) *QSocketDescriptor { if runtime.GOOS != "linux" { panic("Unsupported OS") } - return newQSocketDescriptor(C.QSocketDescriptor_new3((C.int)(descriptor))) + return newQSocketDescriptor(C.QSocketDescriptor_new4((C.int)(descriptor))) } func (this *QSocketDescriptor) ToInt() int { diff --git a/qt6/gen_qsocketnotifier.h b/qt6/gen_qsocketnotifier.h index 53edacfa5..907dbeaad 100644 --- a/qt6/gen_qsocketnotifier.h +++ b/qt6/gen_qsocketnotifier.h @@ -78,7 +78,8 @@ void QSocketNotifier_delete(QSocketNotifier* self); QSocketDescriptor* QSocketDescriptor_new(); QSocketDescriptor* QSocketDescriptor_new2(QSocketDescriptor* param1); -QSocketDescriptor* QSocketDescriptor_new3(int descriptor); +QSocketDescriptor* QSocketDescriptor_new3(); +QSocketDescriptor* QSocketDescriptor_new4(int descriptor); int QSocketDescriptor_ToInt(const QSocketDescriptor* self); bool QSocketDescriptor_isValid(const QSocketDescriptor* self); diff --git a/qt6/gen_qstyleoption.cpp b/qt6/gen_qstyleoption.cpp index 67f04d180..e081bf5ca 100644 --- a/qt6/gen_qstyleoption.cpp +++ b/qt6/gen_qstyleoption.cpp @@ -65,11 +65,15 @@ QStyleOption* QStyleOption_new2(QStyleOption* other) { return new (std::nothrow) QStyleOption(*other); } -QStyleOption* QStyleOption_new3(int version) { +QStyleOption* QStyleOption_new3() { + return new (std::nothrow) QStyleOption(); +} + +QStyleOption* QStyleOption_new4(int version) { return new (std::nothrow) QStyleOption(static_cast(version)); } -QStyleOption* QStyleOption_new4(int version, int type) { +QStyleOption* QStyleOption_new5(int version, int type) { return new (std::nothrow) QStyleOption(static_cast(version), static_cast(type)); } @@ -1333,11 +1337,15 @@ QStyleOptionComplex* QStyleOptionComplex_new2(QStyleOptionComplex* other) { return new (std::nothrow) QStyleOptionComplex(*other); } -QStyleOptionComplex* QStyleOptionComplex_new3(int version) { +QStyleOptionComplex* QStyleOptionComplex_new3() { + return new (std::nothrow) QStyleOptionComplex(); +} + +QStyleOptionComplex* QStyleOptionComplex_new4(int version) { return new (std::nothrow) QStyleOptionComplex(static_cast(version)); } -QStyleOptionComplex* QStyleOptionComplex_new4(int version, int type) { +QStyleOptionComplex* QStyleOptionComplex_new5(int version, int type) { return new (std::nothrow) QStyleOptionComplex(static_cast(version), static_cast(type)); } @@ -1934,11 +1942,15 @@ QStyleHintReturn* QStyleHintReturn_new2(QStyleHintReturn* param1) { return new (std::nothrow) QStyleHintReturn(*param1); } -QStyleHintReturn* QStyleHintReturn_new3(int version) { +QStyleHintReturn* QStyleHintReturn_new3() { + return new (std::nothrow) QStyleHintReturn(); +} + +QStyleHintReturn* QStyleHintReturn_new4(int version) { return new (std::nothrow) QStyleHintReturn(static_cast(version)); } -QStyleHintReturn* QStyleHintReturn_new4(int version, int type) { +QStyleHintReturn* QStyleHintReturn_new5(int version, int type) { return new (std::nothrow) QStyleHintReturn(static_cast(version), static_cast(type)); } diff --git a/qt6/gen_qstyleoption.go b/qt6/gen_qstyleoption.go index 4b3beea65..6e5047e84 100644 --- a/qt6/gen_qstyleoption.go +++ b/qt6/gen_qstyleoption.go @@ -605,15 +605,21 @@ func NewQStyleOption2(other *QStyleOption) *QStyleOption { } // NewQStyleOption3 constructs a new QStyleOption object. -func NewQStyleOption3(version int) *QStyleOption { +func NewQStyleOption3() *QStyleOption { - return newQStyleOption(C.QStyleOption_new3((C.int)(version))) + return newQStyleOption(C.QStyleOption_new3()) } // NewQStyleOption4 constructs a new QStyleOption object. -func NewQStyleOption4(version int, typeVal int) *QStyleOption { +func NewQStyleOption4(version int) *QStyleOption { - return newQStyleOption(C.QStyleOption_new4((C.int)(version), (C.int)(typeVal))) + return newQStyleOption(C.QStyleOption_new4((C.int)(version))) +} + +// NewQStyleOption5 constructs a new QStyleOption object. +func NewQStyleOption5(version int, typeVal int) *QStyleOption { + + return newQStyleOption(C.QStyleOption_new5((C.int)(version), (C.int)(typeVal))) } func (this *QStyleOption) Version() int { @@ -2629,15 +2635,21 @@ func NewQStyleOptionComplex2(other *QStyleOptionComplex) *QStyleOptionComplex { } // NewQStyleOptionComplex3 constructs a new QStyleOptionComplex object. -func NewQStyleOptionComplex3(version int) *QStyleOptionComplex { +func NewQStyleOptionComplex3() *QStyleOptionComplex { - return newQStyleOptionComplex(C.QStyleOptionComplex_new3((C.int)(version))) + return newQStyleOptionComplex(C.QStyleOptionComplex_new3()) } // NewQStyleOptionComplex4 constructs a new QStyleOptionComplex object. -func NewQStyleOptionComplex4(version int, typeVal int) *QStyleOptionComplex { +func NewQStyleOptionComplex4(version int) *QStyleOptionComplex { - return newQStyleOptionComplex(C.QStyleOptionComplex_new4((C.int)(version), (C.int)(typeVal))) + return newQStyleOptionComplex(C.QStyleOptionComplex_new4((C.int)(version))) +} + +// NewQStyleOptionComplex5 constructs a new QStyleOptionComplex object. +func NewQStyleOptionComplex5(version int, typeVal int) *QStyleOptionComplex { + + return newQStyleOptionComplex(C.QStyleOptionComplex_new5((C.int)(version), (C.int)(typeVal))) } func (this *QStyleOptionComplex) SubControls() QStyle__SubControl { @@ -3643,15 +3655,21 @@ func NewQStyleHintReturn2(param1 *QStyleHintReturn) *QStyleHintReturn { } // NewQStyleHintReturn3 constructs a new QStyleHintReturn object. -func NewQStyleHintReturn3(version int) *QStyleHintReturn { +func NewQStyleHintReturn3() *QStyleHintReturn { - return newQStyleHintReturn(C.QStyleHintReturn_new3((C.int)(version))) + return newQStyleHintReturn(C.QStyleHintReturn_new3()) } // NewQStyleHintReturn4 constructs a new QStyleHintReturn object. -func NewQStyleHintReturn4(version int, typeVal int) *QStyleHintReturn { +func NewQStyleHintReturn4(version int) *QStyleHintReturn { + + return newQStyleHintReturn(C.QStyleHintReturn_new4((C.int)(version))) +} + +// NewQStyleHintReturn5 constructs a new QStyleHintReturn object. +func NewQStyleHintReturn5(version int, typeVal int) *QStyleHintReturn { - return newQStyleHintReturn(C.QStyleHintReturn_new4((C.int)(version), (C.int)(typeVal))) + return newQStyleHintReturn(C.QStyleHintReturn_new5((C.int)(version), (C.int)(typeVal))) } func (this *QStyleHintReturn) Version() int { diff --git a/qt6/gen_qstyleoption.h b/qt6/gen_qstyleoption.h index b762e5798..2843e096d 100644 --- a/qt6/gen_qstyleoption.h +++ b/qt6/gen_qstyleoption.h @@ -110,8 +110,9 @@ typedef struct QWidget QWidget; QStyleOption* QStyleOption_new(); QStyleOption* QStyleOption_new2(QStyleOption* other); -QStyleOption* QStyleOption_new3(int version); -QStyleOption* QStyleOption_new4(int version, int type); +QStyleOption* QStyleOption_new3(); +QStyleOption* QStyleOption_new4(int version); +QStyleOption* QStyleOption_new5(int version, int type); int QStyleOption_version(const QStyleOption* self); void QStyleOption_setVersion(QStyleOption* self, int version); int QStyleOption_type(const QStyleOption* self); @@ -434,8 +435,9 @@ void QStyleOptionRubberBand_delete(QStyleOptionRubberBand* self); QStyleOptionComplex* QStyleOptionComplex_new(); QStyleOptionComplex* QStyleOptionComplex_new2(QStyleOptionComplex* other); -QStyleOptionComplex* QStyleOptionComplex_new3(int version); -QStyleOptionComplex* QStyleOptionComplex_new4(int version, int type); +QStyleOptionComplex* QStyleOptionComplex_new3(); +QStyleOptionComplex* QStyleOptionComplex_new4(int version); +QStyleOptionComplex* QStyleOptionComplex_new5(int version, int type); void QStyleOptionComplex_virtbase(QStyleOptionComplex* src, QStyleOption** outptr_QStyleOption); int QStyleOptionComplex_subControls(const QStyleOptionComplex* self); void QStyleOptionComplex_setSubControls(QStyleOptionComplex* self, int subControls); @@ -590,8 +592,9 @@ void QStyleOptionGraphicsItem_delete(QStyleOptionGraphicsItem* self); QStyleHintReturn* QStyleHintReturn_new(); QStyleHintReturn* QStyleHintReturn_new2(QStyleHintReturn* param1); -QStyleHintReturn* QStyleHintReturn_new3(int version); -QStyleHintReturn* QStyleHintReturn_new4(int version, int type); +QStyleHintReturn* QStyleHintReturn_new3(); +QStyleHintReturn* QStyleHintReturn_new4(int version); +QStyleHintReturn* QStyleHintReturn_new5(int version, int type); int QStyleHintReturn_version(const QStyleHintReturn* self); void QStyleHintReturn_setVersion(QStyleHintReturn* self, int version); int QStyleHintReturn_type(const QStyleHintReturn* self); diff --git a/qt6/gen_qtablewidget.cpp b/qt6/gen_qtablewidget.cpp index e30411136..90816da68 100644 --- a/qt6/gen_qtablewidget.cpp +++ b/qt6/gen_qtablewidget.cpp @@ -225,6 +225,7 @@ class MiqtVirtualQTableWidgetItem final : public QTableWidgetItem { MiqtVirtualQTableWidgetItem(const QString& text): QTableWidgetItem(text) {} MiqtVirtualQTableWidgetItem(const QIcon& icon, const QString& text): QTableWidgetItem(icon, text) {} MiqtVirtualQTableWidgetItem(const QTableWidgetItem& other): QTableWidgetItem(other) {} + MiqtVirtualQTableWidgetItem(): QTableWidgetItem() {} MiqtVirtualQTableWidgetItem(int type): QTableWidgetItem(type) {} MiqtVirtualQTableWidgetItem(const QString& text, int type): QTableWidgetItem(text, type) {} MiqtVirtualQTableWidgetItem(const QIcon& icon, const QString& text, int type): QTableWidgetItem(icon, text, type) {} @@ -358,16 +359,20 @@ QTableWidgetItem* QTableWidgetItem_new4(QTableWidgetItem* other) { return new (std::nothrow) MiqtVirtualQTableWidgetItem(*other); } -QTableWidgetItem* QTableWidgetItem_new5(int type) { +QTableWidgetItem* QTableWidgetItem_new5() { + return new (std::nothrow) MiqtVirtualQTableWidgetItem(); +} + +QTableWidgetItem* QTableWidgetItem_new6(int type) { return new (std::nothrow) MiqtVirtualQTableWidgetItem(static_cast(type)); } -QTableWidgetItem* QTableWidgetItem_new6(struct miqt_string text, int type) { +QTableWidgetItem* QTableWidgetItem_new7(struct miqt_string text, int type) { QString text_QString = QString::fromUtf8(text.data, text.len); return new (std::nothrow) MiqtVirtualQTableWidgetItem(text_QString, static_cast(type)); } -QTableWidgetItem* QTableWidgetItem_new7(QIcon* icon, struct miqt_string text, int type) { +QTableWidgetItem* QTableWidgetItem_new8(QIcon* icon, struct miqt_string text, int type) { QString text_QString = QString::fromUtf8(text.data, text.len); return new (std::nothrow) MiqtVirtualQTableWidgetItem(*icon, text_QString, static_cast(type)); } diff --git a/qt6/gen_qtablewidget.go b/qt6/gen_qtablewidget.go index c74de65e5..e3ed005d5 100644 --- a/qt6/gen_qtablewidget.go +++ b/qt6/gen_qtablewidget.go @@ -168,29 +168,35 @@ func NewQTableWidgetItem4(other *QTableWidgetItem) *QTableWidgetItem { } // NewQTableWidgetItem5 constructs a new QTableWidgetItem object. -func NewQTableWidgetItem5(typeVal int) *QTableWidgetItem { +func NewQTableWidgetItem5() *QTableWidgetItem { - return newQTableWidgetItem(C.QTableWidgetItem_new5((C.int)(typeVal))) + return newQTableWidgetItem(C.QTableWidgetItem_new5()) } // NewQTableWidgetItem6 constructs a new QTableWidgetItem object. -func NewQTableWidgetItem6(text string, typeVal int) *QTableWidgetItem { +func NewQTableWidgetItem6(typeVal int) *QTableWidgetItem { + + return newQTableWidgetItem(C.QTableWidgetItem_new6((C.int)(typeVal))) +} + +// NewQTableWidgetItem7 constructs a new QTableWidgetItem object. +func NewQTableWidgetItem7(text string, typeVal int) *QTableWidgetItem { text_ms := C.struct_miqt_string{} text_ms.data = C.CString(text) text_ms.len = C.size_t(len(text)) defer C.free(unsafe.Pointer(text_ms.data)) - return newQTableWidgetItem(C.QTableWidgetItem_new6(text_ms, (C.int)(typeVal))) + return newQTableWidgetItem(C.QTableWidgetItem_new7(text_ms, (C.int)(typeVal))) } -// NewQTableWidgetItem7 constructs a new QTableWidgetItem object. -func NewQTableWidgetItem7(icon *QIcon, text string, typeVal int) *QTableWidgetItem { +// NewQTableWidgetItem8 constructs a new QTableWidgetItem object. +func NewQTableWidgetItem8(icon *QIcon, text string, typeVal int) *QTableWidgetItem { text_ms := C.struct_miqt_string{} text_ms.data = C.CString(text) text_ms.len = C.size_t(len(text)) defer C.free(unsafe.Pointer(text_ms.data)) - return newQTableWidgetItem(C.QTableWidgetItem_new7(icon.cPointer(), text_ms, (C.int)(typeVal))) + return newQTableWidgetItem(C.QTableWidgetItem_new8(icon.cPointer(), text_ms, (C.int)(typeVal))) } func (this *QTableWidgetItem) Clone() *QTableWidgetItem { diff --git a/qt6/gen_qtablewidget.h b/qt6/gen_qtablewidget.h index 1cafe9f1a..8b161111d 100644 --- a/qt6/gen_qtablewidget.h +++ b/qt6/gen_qtablewidget.h @@ -139,9 +139,10 @@ QTableWidgetItem* QTableWidgetItem_new(); QTableWidgetItem* QTableWidgetItem_new2(struct miqt_string text); QTableWidgetItem* QTableWidgetItem_new3(QIcon* icon, struct miqt_string text); QTableWidgetItem* QTableWidgetItem_new4(QTableWidgetItem* other); -QTableWidgetItem* QTableWidgetItem_new5(int type); -QTableWidgetItem* QTableWidgetItem_new6(struct miqt_string text, int type); -QTableWidgetItem* QTableWidgetItem_new7(QIcon* icon, struct miqt_string text, int type); +QTableWidgetItem* QTableWidgetItem_new5(); +QTableWidgetItem* QTableWidgetItem_new6(int type); +QTableWidgetItem* QTableWidgetItem_new7(struct miqt_string text, int type); +QTableWidgetItem* QTableWidgetItem_new8(QIcon* icon, struct miqt_string text, int type); QTableWidgetItem* QTableWidgetItem_clone(const QTableWidgetItem* self); QTableWidget* QTableWidgetItem_tableWidget(const QTableWidgetItem* self); int QTableWidgetItem_row(const QTableWidgetItem* self); diff --git a/qt6/gen_qtextedit.cpp b/qt6/gen_qtextedit.cpp index 0f665cef9..7107537d7 100644 --- a/qt6/gen_qtextedit.cpp +++ b/qt6/gen_qtextedit.cpp @@ -2680,6 +2680,10 @@ QTextEdit__ExtraSelection* QTextEdit__ExtraSelection_new(QTextEdit__ExtraSelecti return new (std::nothrow) QTextEdit::ExtraSelection(*param1); } +QTextEdit__ExtraSelection* QTextEdit__ExtraSelection_new2() { + return new (std::nothrow) QTextEdit::ExtraSelection(); +} + QTextCursor* QTextEdit__ExtraSelection_cursor(const QTextEdit__ExtraSelection* self) { return new QTextCursor(self->cursor); } diff --git a/qt6/gen_qtextedit.go b/qt6/gen_qtextedit.go index 59d4cce99..e3d61ace5 100644 --- a/qt6/gen_qtextedit.go +++ b/qt6/gen_qtextedit.go @@ -2517,6 +2517,12 @@ func NewQTextEdit__ExtraSelection(param1 *QTextEdit__ExtraSelection) *QTextEdit_ return newQTextEdit__ExtraSelection(C.QTextEdit__ExtraSelection_new(param1.cPointer())) } +// NewQTextEdit__ExtraSelection2 constructs a new QTextEdit::ExtraSelection object. +func NewQTextEdit__ExtraSelection2() *QTextEdit__ExtraSelection { + + return newQTextEdit__ExtraSelection(C.QTextEdit__ExtraSelection_new2()) +} + func (this *QTextEdit__ExtraSelection) Cursor() *QTextCursor { cursor_goptr := newQTextCursor(C.QTextEdit__ExtraSelection_cursor(this.h)) cursor_goptr.GoGC() // Qt uses pass-by-value semantics for this type. Mimic with finalizer diff --git a/qt6/gen_qtextedit.h b/qt6/gen_qtextedit.h index 2deda55eb..3f8e0901c 100644 --- a/qt6/gen_qtextedit.h +++ b/qt6/gen_qtextedit.h @@ -400,6 +400,7 @@ bool QTextEdit_protectedbase_isSignalConnected(bool* _dynamic_cast_ok, const voi void QTextEdit_delete(QTextEdit* self); QTextEdit__ExtraSelection* QTextEdit__ExtraSelection_new(QTextEdit__ExtraSelection* param1); +QTextEdit__ExtraSelection* QTextEdit__ExtraSelection_new2(); QTextCursor* QTextEdit__ExtraSelection_cursor(const QTextEdit__ExtraSelection* self); void QTextEdit__ExtraSelection_setCursor(QTextEdit__ExtraSelection* self, QTextCursor* cursor); QTextCharFormat* QTextEdit__ExtraSelection_format(const QTextEdit__ExtraSelection* self); diff --git a/qt6/gen_qtextlayout.cpp b/qt6/gen_qtextlayout.cpp index 3b28b5bb3..9699bccc8 100644 --- a/qt6/gen_qtextlayout.cpp +++ b/qt6/gen_qtextlayout.cpp @@ -555,6 +555,10 @@ QTextLayout__FormatRange* QTextLayout__FormatRange_new(QTextLayout__FormatRange* return new (std::nothrow) QTextLayout::FormatRange(*param1); } +QTextLayout__FormatRange* QTextLayout__FormatRange_new2() { + return new (std::nothrow) QTextLayout::FormatRange(); +} + int QTextLayout__FormatRange_start(const QTextLayout__FormatRange* self) { return self->start; } diff --git a/qt6/gen_qtextlayout.go b/qt6/gen_qtextlayout.go index e96a48883..af0ddb9b2 100644 --- a/qt6/gen_qtextlayout.go +++ b/qt6/gen_qtextlayout.go @@ -734,6 +734,12 @@ func NewQTextLayout__FormatRange(param1 *QTextLayout__FormatRange) *QTextLayout_ return newQTextLayout__FormatRange(C.QTextLayout__FormatRange_new(param1.cPointer())) } +// NewQTextLayout__FormatRange2 constructs a new QTextLayout::FormatRange object. +func NewQTextLayout__FormatRange2() *QTextLayout__FormatRange { + + return newQTextLayout__FormatRange(C.QTextLayout__FormatRange_new2()) +} + func (this *QTextLayout__FormatRange) Start() int { return (int)(C.QTextLayout__FormatRange_start(this.h)) } diff --git a/qt6/gen_qtextlayout.h b/qt6/gen_qtextlayout.h index 4c60906e2..6de120d54 100644 --- a/qt6/gen_qtextlayout.h +++ b/qt6/gen_qtextlayout.h @@ -159,6 +159,7 @@ struct miqt_array /* of QGlyphRun* */ QTextLine_glyphRuns2(const QTextLine* sel void QTextLine_delete(QTextLine* self); QTextLayout__FormatRange* QTextLayout__FormatRange_new(QTextLayout__FormatRange* param1); +QTextLayout__FormatRange* QTextLayout__FormatRange_new2(); int QTextLayout__FormatRange_start(const QTextLayout__FormatRange* self); void QTextLayout__FormatRange_setStart(QTextLayout__FormatRange* self, int start); int QTextLayout__FormatRange_length(const QTextLayout__FormatRange* self); diff --git a/qt6/gen_qtimezone.cpp b/qt6/gen_qtimezone.cpp index 46870c521..6fb811e6d 100644 --- a/qt6/gen_qtimezone.cpp +++ b/qt6/gen_qtimezone.cpp @@ -377,6 +377,10 @@ QTimeZone__OffsetData* QTimeZone__OffsetData_new(QTimeZone__OffsetData* param1) return new (std::nothrow) QTimeZone::OffsetData(*param1); } +QTimeZone__OffsetData* QTimeZone__OffsetData_new2() { + return new (std::nothrow) QTimeZone::OffsetData(); +} + struct miqt_string QTimeZone__OffsetData_abbreviation(const QTimeZone__OffsetData* self) { QString abbreviation_ret = self->abbreviation; // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory diff --git a/qt6/gen_qtimezone.go b/qt6/gen_qtimezone.go index a56e3ef4e..fc07077d4 100644 --- a/qt6/gen_qtimezone.go +++ b/qt6/gen_qtimezone.go @@ -507,6 +507,12 @@ func NewQTimeZone__OffsetData(param1 *QTimeZone__OffsetData) *QTimeZone__OffsetD return newQTimeZone__OffsetData(C.QTimeZone__OffsetData_new(param1.cPointer())) } +// NewQTimeZone__OffsetData2 constructs a new QTimeZone::OffsetData object. +func NewQTimeZone__OffsetData2() *QTimeZone__OffsetData { + + return newQTimeZone__OffsetData(C.QTimeZone__OffsetData_new2()) +} + func (this *QTimeZone__OffsetData) Abbreviation() string { var abbreviation_ms C.struct_miqt_string = C.QTimeZone__OffsetData_abbreviation(this.h) abbreviation_ret := C.GoStringN(abbreviation_ms.data, C.int(int64(abbreviation_ms.len))) diff --git a/qt6/gen_qtimezone.h b/qt6/gen_qtimezone.h index 36f024a8e..bf87e7d89 100644 --- a/qt6/gen_qtimezone.h +++ b/qt6/gen_qtimezone.h @@ -77,6 +77,7 @@ struct miqt_string QTimeZone_displayName5(const QTimeZone* self, int timeType, i void QTimeZone_delete(QTimeZone* self); QTimeZone__OffsetData* QTimeZone__OffsetData_new(QTimeZone__OffsetData* param1); +QTimeZone__OffsetData* QTimeZone__OffsetData_new2(); struct miqt_string QTimeZone__OffsetData_abbreviation(const QTimeZone__OffsetData* self); void QTimeZone__OffsetData_setAbbreviation(QTimeZone__OffsetData* self, struct miqt_string abbreviation); QDateTime* QTimeZone__OffsetData_atUtc(const QTimeZone__OffsetData* self); diff --git a/qt6/gen_qtreewidget.cpp b/qt6/gen_qtreewidget.cpp index 92a4cf1da..6ea2797b1 100644 --- a/qt6/gen_qtreewidget.cpp +++ b/qt6/gen_qtreewidget.cpp @@ -190,6 +190,7 @@ class MiqtVirtualQTreeWidgetItem final : public QTreeWidgetItem { MiqtVirtualQTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings): QTreeWidgetItem(parent, strings) {} MiqtVirtualQTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* after): QTreeWidgetItem(parent, after) {} MiqtVirtualQTreeWidgetItem(const QTreeWidgetItem& other): QTreeWidgetItem(other) {} + MiqtVirtualQTreeWidgetItem(): QTreeWidgetItem() {} MiqtVirtualQTreeWidgetItem(int type): QTreeWidgetItem(type) {} MiqtVirtualQTreeWidgetItem(const QStringList& strings, int type): QTreeWidgetItem(strings, type) {} MiqtVirtualQTreeWidgetItem(QTreeWidget* treeview, int type): QTreeWidgetItem(treeview, type) {} @@ -371,11 +372,15 @@ QTreeWidgetItem* QTreeWidgetItem_new9(QTreeWidgetItem* other) { return new (std::nothrow) MiqtVirtualQTreeWidgetItem(*other); } -QTreeWidgetItem* QTreeWidgetItem_new10(int type) { +QTreeWidgetItem* QTreeWidgetItem_new10() { + return new (std::nothrow) MiqtVirtualQTreeWidgetItem(); +} + +QTreeWidgetItem* QTreeWidgetItem_new11(int type) { return new (std::nothrow) MiqtVirtualQTreeWidgetItem(static_cast(type)); } -QTreeWidgetItem* QTreeWidgetItem_new11(struct miqt_array /* of struct miqt_string */ strings, int type) { +QTreeWidgetItem* QTreeWidgetItem_new12(struct miqt_array /* of struct miqt_string */ strings, int type) { QStringList strings_QList; strings_QList.reserve(strings.len); struct miqt_string* strings_arr = static_cast(strings.data); @@ -386,11 +391,11 @@ QTreeWidgetItem* QTreeWidgetItem_new11(struct miqt_array /* of struct miqt_strin return new (std::nothrow) MiqtVirtualQTreeWidgetItem(strings_QList, static_cast(type)); } -QTreeWidgetItem* QTreeWidgetItem_new12(QTreeWidget* treeview, int type) { +QTreeWidgetItem* QTreeWidgetItem_new13(QTreeWidget* treeview, int type) { return new (std::nothrow) MiqtVirtualQTreeWidgetItem(treeview, static_cast(type)); } -QTreeWidgetItem* QTreeWidgetItem_new13(QTreeWidget* treeview, struct miqt_array /* of struct miqt_string */ strings, int type) { +QTreeWidgetItem* QTreeWidgetItem_new14(QTreeWidget* treeview, struct miqt_array /* of struct miqt_string */ strings, int type) { QStringList strings_QList; strings_QList.reserve(strings.len); struct miqt_string* strings_arr = static_cast(strings.data); @@ -401,15 +406,15 @@ QTreeWidgetItem* QTreeWidgetItem_new13(QTreeWidget* treeview, struct miqt_array return new (std::nothrow) MiqtVirtualQTreeWidgetItem(treeview, strings_QList, static_cast(type)); } -QTreeWidgetItem* QTreeWidgetItem_new14(QTreeWidget* treeview, QTreeWidgetItem* after, int type) { +QTreeWidgetItem* QTreeWidgetItem_new15(QTreeWidget* treeview, QTreeWidgetItem* after, int type) { return new (std::nothrow) MiqtVirtualQTreeWidgetItem(treeview, after, static_cast(type)); } -QTreeWidgetItem* QTreeWidgetItem_new15(QTreeWidgetItem* parent, int type) { +QTreeWidgetItem* QTreeWidgetItem_new16(QTreeWidgetItem* parent, int type) { return new (std::nothrow) MiqtVirtualQTreeWidgetItem(parent, static_cast(type)); } -QTreeWidgetItem* QTreeWidgetItem_new16(QTreeWidgetItem* parent, struct miqt_array /* of struct miqt_string */ strings, int type) { +QTreeWidgetItem* QTreeWidgetItem_new17(QTreeWidgetItem* parent, struct miqt_array /* of struct miqt_string */ strings, int type) { QStringList strings_QList; strings_QList.reserve(strings.len); struct miqt_string* strings_arr = static_cast(strings.data); @@ -420,7 +425,7 @@ QTreeWidgetItem* QTreeWidgetItem_new16(QTreeWidgetItem* parent, struct miqt_arra return new (std::nothrow) MiqtVirtualQTreeWidgetItem(parent, strings_QList, static_cast(type)); } -QTreeWidgetItem* QTreeWidgetItem_new17(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type) { +QTreeWidgetItem* QTreeWidgetItem_new18(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type) { return new (std::nothrow) MiqtVirtualQTreeWidgetItem(parent, after, static_cast(type)); } diff --git a/qt6/gen_qtreewidget.go b/qt6/gen_qtreewidget.go index 00885abdb..13239adf9 100644 --- a/qt6/gen_qtreewidget.go +++ b/qt6/gen_qtreewidget.go @@ -146,13 +146,19 @@ func NewQTreeWidgetItem9(other *QTreeWidgetItem) *QTreeWidgetItem { } // NewQTreeWidgetItem10 constructs a new QTreeWidgetItem object. -func NewQTreeWidgetItem10(typeVal int) *QTreeWidgetItem { +func NewQTreeWidgetItem10() *QTreeWidgetItem { - return newQTreeWidgetItem(C.QTreeWidgetItem_new10((C.int)(typeVal))) + return newQTreeWidgetItem(C.QTreeWidgetItem_new10()) } // NewQTreeWidgetItem11 constructs a new QTreeWidgetItem object. -func NewQTreeWidgetItem11(strings []string, typeVal int) *QTreeWidgetItem { +func NewQTreeWidgetItem11(typeVal int) *QTreeWidgetItem { + + return newQTreeWidgetItem(C.QTreeWidgetItem_new11((C.int)(typeVal))) +} + +// NewQTreeWidgetItem12 constructs a new QTreeWidgetItem object. +func NewQTreeWidgetItem12(strings []string, typeVal int) *QTreeWidgetItem { strings_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(strings)))) defer C.free(unsafe.Pointer(strings_CArray)) for i := range strings { @@ -164,17 +170,17 @@ func NewQTreeWidgetItem11(strings []string, typeVal int) *QTreeWidgetItem { } strings_ma := C.struct_miqt_array{len: C.size_t(len(strings)), data: unsafe.Pointer(strings_CArray)} - return newQTreeWidgetItem(C.QTreeWidgetItem_new11(strings_ma, (C.int)(typeVal))) + return newQTreeWidgetItem(C.QTreeWidgetItem_new12(strings_ma, (C.int)(typeVal))) } -// NewQTreeWidgetItem12 constructs a new QTreeWidgetItem object. -func NewQTreeWidgetItem12(treeview *QTreeWidget, typeVal int) *QTreeWidgetItem { +// NewQTreeWidgetItem13 constructs a new QTreeWidgetItem object. +func NewQTreeWidgetItem13(treeview *QTreeWidget, typeVal int) *QTreeWidgetItem { - return newQTreeWidgetItem(C.QTreeWidgetItem_new12(treeview.cPointer(), (C.int)(typeVal))) + return newQTreeWidgetItem(C.QTreeWidgetItem_new13(treeview.cPointer(), (C.int)(typeVal))) } -// NewQTreeWidgetItem13 constructs a new QTreeWidgetItem object. -func NewQTreeWidgetItem13(treeview *QTreeWidget, strings []string, typeVal int) *QTreeWidgetItem { +// NewQTreeWidgetItem14 constructs a new QTreeWidgetItem object. +func NewQTreeWidgetItem14(treeview *QTreeWidget, strings []string, typeVal int) *QTreeWidgetItem { strings_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(strings)))) defer C.free(unsafe.Pointer(strings_CArray)) for i := range strings { @@ -186,23 +192,23 @@ func NewQTreeWidgetItem13(treeview *QTreeWidget, strings []string, typeVal int) } strings_ma := C.struct_miqt_array{len: C.size_t(len(strings)), data: unsafe.Pointer(strings_CArray)} - return newQTreeWidgetItem(C.QTreeWidgetItem_new13(treeview.cPointer(), strings_ma, (C.int)(typeVal))) + return newQTreeWidgetItem(C.QTreeWidgetItem_new14(treeview.cPointer(), strings_ma, (C.int)(typeVal))) } -// NewQTreeWidgetItem14 constructs a new QTreeWidgetItem object. -func NewQTreeWidgetItem14(treeview *QTreeWidget, after *QTreeWidgetItem, typeVal int) *QTreeWidgetItem { +// NewQTreeWidgetItem15 constructs a new QTreeWidgetItem object. +func NewQTreeWidgetItem15(treeview *QTreeWidget, after *QTreeWidgetItem, typeVal int) *QTreeWidgetItem { - return newQTreeWidgetItem(C.QTreeWidgetItem_new14(treeview.cPointer(), after.cPointer(), (C.int)(typeVal))) + return newQTreeWidgetItem(C.QTreeWidgetItem_new15(treeview.cPointer(), after.cPointer(), (C.int)(typeVal))) } -// NewQTreeWidgetItem15 constructs a new QTreeWidgetItem object. -func NewQTreeWidgetItem15(parent *QTreeWidgetItem, typeVal int) *QTreeWidgetItem { +// NewQTreeWidgetItem16 constructs a new QTreeWidgetItem object. +func NewQTreeWidgetItem16(parent *QTreeWidgetItem, typeVal int) *QTreeWidgetItem { - return newQTreeWidgetItem(C.QTreeWidgetItem_new15(parent.cPointer(), (C.int)(typeVal))) + return newQTreeWidgetItem(C.QTreeWidgetItem_new16(parent.cPointer(), (C.int)(typeVal))) } -// NewQTreeWidgetItem16 constructs a new QTreeWidgetItem object. -func NewQTreeWidgetItem16(parent *QTreeWidgetItem, strings []string, typeVal int) *QTreeWidgetItem { +// NewQTreeWidgetItem17 constructs a new QTreeWidgetItem object. +func NewQTreeWidgetItem17(parent *QTreeWidgetItem, strings []string, typeVal int) *QTreeWidgetItem { strings_CArray := (*[0xffff]C.struct_miqt_string)(C.malloc(C.size_t(int(unsafe.Sizeof(C.struct_miqt_string{})) * len(strings)))) defer C.free(unsafe.Pointer(strings_CArray)) for i := range strings { @@ -214,13 +220,13 @@ func NewQTreeWidgetItem16(parent *QTreeWidgetItem, strings []string, typeVal int } strings_ma := C.struct_miqt_array{len: C.size_t(len(strings)), data: unsafe.Pointer(strings_CArray)} - return newQTreeWidgetItem(C.QTreeWidgetItem_new16(parent.cPointer(), strings_ma, (C.int)(typeVal))) + return newQTreeWidgetItem(C.QTreeWidgetItem_new17(parent.cPointer(), strings_ma, (C.int)(typeVal))) } -// NewQTreeWidgetItem17 constructs a new QTreeWidgetItem object. -func NewQTreeWidgetItem17(parent *QTreeWidgetItem, after *QTreeWidgetItem, typeVal int) *QTreeWidgetItem { +// NewQTreeWidgetItem18 constructs a new QTreeWidgetItem object. +func NewQTreeWidgetItem18(parent *QTreeWidgetItem, after *QTreeWidgetItem, typeVal int) *QTreeWidgetItem { - return newQTreeWidgetItem(C.QTreeWidgetItem_new17(parent.cPointer(), after.cPointer(), (C.int)(typeVal))) + return newQTreeWidgetItem(C.QTreeWidgetItem_new18(parent.cPointer(), after.cPointer(), (C.int)(typeVal))) } func (this *QTreeWidgetItem) Clone() *QTreeWidgetItem { diff --git a/qt6/gen_qtreewidget.h b/qt6/gen_qtreewidget.h index acb270fbc..224a3f71f 100644 --- a/qt6/gen_qtreewidget.h +++ b/qt6/gen_qtreewidget.h @@ -131,14 +131,15 @@ QTreeWidgetItem* QTreeWidgetItem_new6(QTreeWidgetItem* parent); QTreeWidgetItem* QTreeWidgetItem_new7(QTreeWidgetItem* parent, struct miqt_array /* of struct miqt_string */ strings); QTreeWidgetItem* QTreeWidgetItem_new8(QTreeWidgetItem* parent, QTreeWidgetItem* after); QTreeWidgetItem* QTreeWidgetItem_new9(QTreeWidgetItem* other); -QTreeWidgetItem* QTreeWidgetItem_new10(int type); -QTreeWidgetItem* QTreeWidgetItem_new11(struct miqt_array /* of struct miqt_string */ strings, int type); -QTreeWidgetItem* QTreeWidgetItem_new12(QTreeWidget* treeview, int type); -QTreeWidgetItem* QTreeWidgetItem_new13(QTreeWidget* treeview, struct miqt_array /* of struct miqt_string */ strings, int type); -QTreeWidgetItem* QTreeWidgetItem_new14(QTreeWidget* treeview, QTreeWidgetItem* after, int type); -QTreeWidgetItem* QTreeWidgetItem_new15(QTreeWidgetItem* parent, int type); -QTreeWidgetItem* QTreeWidgetItem_new16(QTreeWidgetItem* parent, struct miqt_array /* of struct miqt_string */ strings, int type); -QTreeWidgetItem* QTreeWidgetItem_new17(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type); +QTreeWidgetItem* QTreeWidgetItem_new10(); +QTreeWidgetItem* QTreeWidgetItem_new11(int type); +QTreeWidgetItem* QTreeWidgetItem_new12(struct miqt_array /* of struct miqt_string */ strings, int type); +QTreeWidgetItem* QTreeWidgetItem_new13(QTreeWidget* treeview, int type); +QTreeWidgetItem* QTreeWidgetItem_new14(QTreeWidget* treeview, struct miqt_array /* of struct miqt_string */ strings, int type); +QTreeWidgetItem* QTreeWidgetItem_new15(QTreeWidget* treeview, QTreeWidgetItem* after, int type); +QTreeWidgetItem* QTreeWidgetItem_new16(QTreeWidgetItem* parent, int type); +QTreeWidgetItem* QTreeWidgetItem_new17(QTreeWidgetItem* parent, struct miqt_array /* of struct miqt_string */ strings, int type); +QTreeWidgetItem* QTreeWidgetItem_new18(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type); QTreeWidgetItem* QTreeWidgetItem_clone(const QTreeWidgetItem* self); QTreeWidget* QTreeWidgetItem_treeWidget(const QTreeWidgetItem* self); void QTreeWidgetItem_setSelected(QTreeWidgetItem* self, bool select); diff --git a/qt6/multimedia/gen_qmediaformat.cpp b/qt6/multimedia/gen_qmediaformat.cpp index da41c74cd..bbacd7d1c 100644 --- a/qt6/multimedia/gen_qmediaformat.cpp +++ b/qt6/multimedia/gen_qmediaformat.cpp @@ -23,7 +23,11 @@ QMediaFormat* QMediaFormat_new2(QMediaFormat* other) { return new (std::nothrow) QMediaFormat(*other); } -QMediaFormat* QMediaFormat_new3(int format) { +QMediaFormat* QMediaFormat_new3() { + return new (std::nothrow) QMediaFormat(); +} + +QMediaFormat* QMediaFormat_new4(int format) { return new (std::nothrow) QMediaFormat(static_cast(format)); } diff --git a/qt6/multimedia/gen_qmediaformat.go b/qt6/multimedia/gen_qmediaformat.go index ef3341d70..4d7ae67e0 100644 --- a/qt6/multimedia/gen_qmediaformat.go +++ b/qt6/multimedia/gen_qmediaformat.go @@ -129,9 +129,15 @@ func NewQMediaFormat2(other *QMediaFormat) *QMediaFormat { } // NewQMediaFormat3 constructs a new QMediaFormat object. -func NewQMediaFormat3(format QMediaFormat__FileFormat) *QMediaFormat { +func NewQMediaFormat3() *QMediaFormat { - return newQMediaFormat(C.QMediaFormat_new3((C.int)(format))) + return newQMediaFormat(C.QMediaFormat_new3()) +} + +// NewQMediaFormat4 constructs a new QMediaFormat object. +func NewQMediaFormat4(format QMediaFormat__FileFormat) *QMediaFormat { + + return newQMediaFormat(C.QMediaFormat_new4((C.int)(format))) } func (this *QMediaFormat) OperatorAssign(other *QMediaFormat) { diff --git a/qt6/multimedia/gen_qmediaformat.h b/qt6/multimedia/gen_qmediaformat.h index 9dd3dee7a..001309244 100644 --- a/qt6/multimedia/gen_qmediaformat.h +++ b/qt6/multimedia/gen_qmediaformat.h @@ -24,7 +24,8 @@ typedef struct QMimeType QMimeType; QMediaFormat* QMediaFormat_new(); QMediaFormat* QMediaFormat_new2(QMediaFormat* other); -QMediaFormat* QMediaFormat_new3(int format); +QMediaFormat* QMediaFormat_new3(); +QMediaFormat* QMediaFormat_new4(int format); void QMediaFormat_operatorAssign(QMediaFormat* self, QMediaFormat* other); void QMediaFormat_swap(QMediaFormat* self, QMediaFormat* other); int QMediaFormat_fileFormat(const QMediaFormat* self); diff --git a/qt6/network/gen_qhostinfo.cpp b/qt6/network/gen_qhostinfo.cpp index bfd0930ea..c1fda6083 100644 --- a/qt6/network/gen_qhostinfo.cpp +++ b/qt6/network/gen_qhostinfo.cpp @@ -23,7 +23,11 @@ QHostInfo* QHostInfo_new2(QHostInfo* d) { return new (std::nothrow) QHostInfo(*d); } -QHostInfo* QHostInfo_new3(int lookupId) { +QHostInfo* QHostInfo_new3() { + return new (std::nothrow) QHostInfo(); +} + +QHostInfo* QHostInfo_new4(int lookupId) { return new (std::nothrow) QHostInfo(static_cast(lookupId)); } diff --git a/qt6/network/gen_qhostinfo.go b/qt6/network/gen_qhostinfo.go index 740fa4321..da74cee24 100644 --- a/qt6/network/gen_qhostinfo.go +++ b/qt6/network/gen_qhostinfo.go @@ -66,9 +66,15 @@ func NewQHostInfo2(d *QHostInfo) *QHostInfo { } // NewQHostInfo3 constructs a new QHostInfo object. -func NewQHostInfo3(lookupId int) *QHostInfo { +func NewQHostInfo3() *QHostInfo { - return newQHostInfo(C.QHostInfo_new3((C.int)(lookupId))) + return newQHostInfo(C.QHostInfo_new3()) +} + +// NewQHostInfo4 constructs a new QHostInfo object. +func NewQHostInfo4(lookupId int) *QHostInfo { + + return newQHostInfo(C.QHostInfo_new4((C.int)(lookupId))) } func (this *QHostInfo) OperatorAssign(d *QHostInfo) { diff --git a/qt6/network/gen_qhostinfo.h b/qt6/network/gen_qhostinfo.h index 73583941c..b3b13b91a 100644 --- a/qt6/network/gen_qhostinfo.h +++ b/qt6/network/gen_qhostinfo.h @@ -24,7 +24,8 @@ typedef struct QHostInfo QHostInfo; QHostInfo* QHostInfo_new(); QHostInfo* QHostInfo_new2(QHostInfo* d); -QHostInfo* QHostInfo_new3(int lookupId); +QHostInfo* QHostInfo_new3(); +QHostInfo* QHostInfo_new4(int lookupId); void QHostInfo_operatorAssign(QHostInfo* self, QHostInfo* d); void QHostInfo_swap(QHostInfo* self, QHostInfo* other); struct miqt_string QHostInfo_hostName(const QHostInfo* self); diff --git a/qt6/network/gen_qnetworkcookie.cpp b/qt6/network/gen_qnetworkcookie.cpp index cd378fdaa..3c981a719 100644 --- a/qt6/network/gen_qnetworkcookie.cpp +++ b/qt6/network/gen_qnetworkcookie.cpp @@ -25,12 +25,16 @@ QNetworkCookie* QNetworkCookie_new2(QNetworkCookie* other) { return new (std::nothrow) QNetworkCookie(*other); } -QNetworkCookie* QNetworkCookie_new3(struct miqt_string name) { +QNetworkCookie* QNetworkCookie_new3() { + return new (std::nothrow) QNetworkCookie(); +} + +QNetworkCookie* QNetworkCookie_new4(struct miqt_string name) { QByteArray name_QByteArray(name.data, name.len); return new (std::nothrow) QNetworkCookie(name_QByteArray); } -QNetworkCookie* QNetworkCookie_new4(struct miqt_string name, struct miqt_string value) { +QNetworkCookie* QNetworkCookie_new5(struct miqt_string name, struct miqt_string value) { QByteArray name_QByteArray(name.data, name.len); QByteArray value_QByteArray(value.data, value.len); return new (std::nothrow) QNetworkCookie(name_QByteArray, value_QByteArray); diff --git a/qt6/network/gen_qnetworkcookie.go b/qt6/network/gen_qnetworkcookie.go index 1583f50f8..b7dd4c3d3 100644 --- a/qt6/network/gen_qnetworkcookie.go +++ b/qt6/network/gen_qnetworkcookie.go @@ -75,7 +75,13 @@ func NewQNetworkCookie2(other *QNetworkCookie) *QNetworkCookie { } // NewQNetworkCookie3 constructs a new QNetworkCookie object. -func NewQNetworkCookie3(name []byte) *QNetworkCookie { +func NewQNetworkCookie3() *QNetworkCookie { + + return newQNetworkCookie(C.QNetworkCookie_new3()) +} + +// NewQNetworkCookie4 constructs a new QNetworkCookie object. +func NewQNetworkCookie4(name []byte) *QNetworkCookie { name_alias := C.struct_miqt_string{} if len(name) > 0 { name_alias.data = (*C.char)(unsafe.Pointer(&name[0])) @@ -84,11 +90,11 @@ func NewQNetworkCookie3(name []byte) *QNetworkCookie { } name_alias.len = C.size_t(len(name)) - return newQNetworkCookie(C.QNetworkCookie_new3(name_alias)) + return newQNetworkCookie(C.QNetworkCookie_new4(name_alias)) } -// NewQNetworkCookie4 constructs a new QNetworkCookie object. -func NewQNetworkCookie4(name []byte, value []byte) *QNetworkCookie { +// NewQNetworkCookie5 constructs a new QNetworkCookie object. +func NewQNetworkCookie5(name []byte, value []byte) *QNetworkCookie { name_alias := C.struct_miqt_string{} if len(name) > 0 { name_alias.data = (*C.char)(unsafe.Pointer(&name[0])) @@ -104,7 +110,7 @@ func NewQNetworkCookie4(name []byte, value []byte) *QNetworkCookie { } value_alias.len = C.size_t(len(value)) - return newQNetworkCookie(C.QNetworkCookie_new4(name_alias, value_alias)) + return newQNetworkCookie(C.QNetworkCookie_new5(name_alias, value_alias)) } func (this *QNetworkCookie) OperatorAssign(other *QNetworkCookie) { diff --git a/qt6/network/gen_qnetworkcookie.h b/qt6/network/gen_qnetworkcookie.h index 1e49b9a8b..614d1930f 100644 --- a/qt6/network/gen_qnetworkcookie.h +++ b/qt6/network/gen_qnetworkcookie.h @@ -26,8 +26,9 @@ typedef struct QUrl QUrl; QNetworkCookie* QNetworkCookie_new(); QNetworkCookie* QNetworkCookie_new2(QNetworkCookie* other); -QNetworkCookie* QNetworkCookie_new3(struct miqt_string name); -QNetworkCookie* QNetworkCookie_new4(struct miqt_string name, struct miqt_string value); +QNetworkCookie* QNetworkCookie_new3(); +QNetworkCookie* QNetworkCookie_new4(struct miqt_string name); +QNetworkCookie* QNetworkCookie_new5(struct miqt_string name, struct miqt_string value); void QNetworkCookie_operatorAssign(QNetworkCookie* self, QNetworkCookie* other); void QNetworkCookie_swap(QNetworkCookie* self, QNetworkCookie* other); bool QNetworkCookie_operatorEqual(const QNetworkCookie* self, QNetworkCookie* other); diff --git a/qt6/network/gen_qsslcertificate.cpp b/qt6/network/gen_qsslcertificate.cpp index 3968282f2..8f1719416 100644 --- a/qt6/network/gen_qsslcertificate.cpp +++ b/qt6/network/gen_qsslcertificate.cpp @@ -32,16 +32,20 @@ QSslCertificate* QSslCertificate_new3(QSslCertificate* other) { return new (std::nothrow) QSslCertificate(*other); } -QSslCertificate* QSslCertificate_new4(QIODevice* device, int format) { +QSslCertificate* QSslCertificate_new4() { + return new (std::nothrow) QSslCertificate(); +} + +QSslCertificate* QSslCertificate_new5(QIODevice* device, int format) { return new (std::nothrow) QSslCertificate(device, static_cast(format)); } -QSslCertificate* QSslCertificate_new5(struct miqt_string data) { +QSslCertificate* QSslCertificate_new6(struct miqt_string data) { QByteArray data_QByteArray(data.data, data.len); return new (std::nothrow) QSslCertificate(data_QByteArray); } -QSslCertificate* QSslCertificate_new6(struct miqt_string data, int format) { +QSslCertificate* QSslCertificate_new7(struct miqt_string data, int format) { QByteArray data_QByteArray(data.data, data.len); return new (std::nothrow) QSslCertificate(data_QByteArray, static_cast(format)); } diff --git a/qt6/network/gen_qsslcertificate.go b/qt6/network/gen_qsslcertificate.go index f64fbeb60..ff3e84b8f 100644 --- a/qt6/network/gen_qsslcertificate.go +++ b/qt6/network/gen_qsslcertificate.go @@ -87,13 +87,19 @@ func NewQSslCertificate3(other *QSslCertificate) *QSslCertificate { } // NewQSslCertificate4 constructs a new QSslCertificate object. -func NewQSslCertificate4(device *qt6.QIODevice, format QSsl__EncodingFormat) *QSslCertificate { +func NewQSslCertificate4() *QSslCertificate { - return newQSslCertificate(C.QSslCertificate_new4((*C.QIODevice)(device.UnsafePointer()), (C.int)(format))) + return newQSslCertificate(C.QSslCertificate_new4()) } // NewQSslCertificate5 constructs a new QSslCertificate object. -func NewQSslCertificate5(data []byte) *QSslCertificate { +func NewQSslCertificate5(device *qt6.QIODevice, format QSsl__EncodingFormat) *QSslCertificate { + + return newQSslCertificate(C.QSslCertificate_new5((*C.QIODevice)(device.UnsafePointer()), (C.int)(format))) +} + +// NewQSslCertificate6 constructs a new QSslCertificate object. +func NewQSslCertificate6(data []byte) *QSslCertificate { data_alias := C.struct_miqt_string{} if len(data) > 0 { data_alias.data = (*C.char)(unsafe.Pointer(&data[0])) @@ -102,11 +108,11 @@ func NewQSslCertificate5(data []byte) *QSslCertificate { } data_alias.len = C.size_t(len(data)) - return newQSslCertificate(C.QSslCertificate_new5(data_alias)) + return newQSslCertificate(C.QSslCertificate_new6(data_alias)) } -// NewQSslCertificate6 constructs a new QSslCertificate object. -func NewQSslCertificate6(data []byte, format QSsl__EncodingFormat) *QSslCertificate { +// NewQSslCertificate7 constructs a new QSslCertificate object. +func NewQSslCertificate7(data []byte, format QSsl__EncodingFormat) *QSslCertificate { data_alias := C.struct_miqt_string{} if len(data) > 0 { data_alias.data = (*C.char)(unsafe.Pointer(&data[0])) @@ -115,7 +121,7 @@ func NewQSslCertificate6(data []byte, format QSsl__EncodingFormat) *QSslCertific } data_alias.len = C.size_t(len(data)) - return newQSslCertificate(C.QSslCertificate_new6(data_alias, (C.int)(format))) + return newQSslCertificate(C.QSslCertificate_new7(data_alias, (C.int)(format))) } func (this *QSslCertificate) OperatorAssign(other *QSslCertificate) { diff --git a/qt6/network/gen_qsslcertificate.h b/qt6/network/gen_qsslcertificate.h index fb7c1e689..7b25b12f0 100644 --- a/qt6/network/gen_qsslcertificate.h +++ b/qt6/network/gen_qsslcertificate.h @@ -33,9 +33,10 @@ typedef struct QSslKey QSslKey; QSslCertificate* QSslCertificate_new(QIODevice* device); QSslCertificate* QSslCertificate_new2(); QSslCertificate* QSslCertificate_new3(QSslCertificate* other); -QSslCertificate* QSslCertificate_new4(QIODevice* device, int format); -QSslCertificate* QSslCertificate_new5(struct miqt_string data); -QSslCertificate* QSslCertificate_new6(struct miqt_string data, int format); +QSslCertificate* QSslCertificate_new4(); +QSslCertificate* QSslCertificate_new5(QIODevice* device, int format); +QSslCertificate* QSslCertificate_new6(struct miqt_string data); +QSslCertificate* QSslCertificate_new7(struct miqt_string data, int format); void QSslCertificate_operatorAssign(QSslCertificate* self, QSslCertificate* other); void QSslCertificate_swap(QSslCertificate* self, QSslCertificate* other); bool QSslCertificate_operatorEqual(const QSslCertificate* self, QSslCertificate* other); diff --git a/qt6/positioning/gen_qgeoareamonitorinfo.cpp b/qt6/positioning/gen_qgeoareamonitorinfo.cpp index 41dd6aa6b..3f32f5aff 100644 --- a/qt6/positioning/gen_qgeoareamonitorinfo.cpp +++ b/qt6/positioning/gen_qgeoareamonitorinfo.cpp @@ -25,7 +25,11 @@ QGeoAreaMonitorInfo* QGeoAreaMonitorInfo_new2(QGeoAreaMonitorInfo* other) { return new (std::nothrow) QGeoAreaMonitorInfo(*other); } -QGeoAreaMonitorInfo* QGeoAreaMonitorInfo_new3(struct miqt_string name) { +QGeoAreaMonitorInfo* QGeoAreaMonitorInfo_new3() { + return new (std::nothrow) QGeoAreaMonitorInfo(); +} + +QGeoAreaMonitorInfo* QGeoAreaMonitorInfo_new4(struct miqt_string name) { QString name_QString = QString::fromUtf8(name.data, name.len); return new (std::nothrow) QGeoAreaMonitorInfo(name_QString); } diff --git a/qt6/positioning/gen_qgeoareamonitorinfo.go b/qt6/positioning/gen_qgeoareamonitorinfo.go index ad7f31316..53826dcf1 100644 --- a/qt6/positioning/gen_qgeoareamonitorinfo.go +++ b/qt6/positioning/gen_qgeoareamonitorinfo.go @@ -59,13 +59,19 @@ func NewQGeoAreaMonitorInfo2(other *QGeoAreaMonitorInfo) *QGeoAreaMonitorInfo { } // NewQGeoAreaMonitorInfo3 constructs a new QGeoAreaMonitorInfo object. -func NewQGeoAreaMonitorInfo3(name string) *QGeoAreaMonitorInfo { +func NewQGeoAreaMonitorInfo3() *QGeoAreaMonitorInfo { + + return newQGeoAreaMonitorInfo(C.QGeoAreaMonitorInfo_new3()) +} + +// NewQGeoAreaMonitorInfo4 constructs a new QGeoAreaMonitorInfo object. +func NewQGeoAreaMonitorInfo4(name string) *QGeoAreaMonitorInfo { name_ms := C.struct_miqt_string{} name_ms.data = C.CString(name) name_ms.len = C.size_t(len(name)) defer C.free(unsafe.Pointer(name_ms.data)) - return newQGeoAreaMonitorInfo(C.QGeoAreaMonitorInfo_new3(name_ms)) + return newQGeoAreaMonitorInfo(C.QGeoAreaMonitorInfo_new4(name_ms)) } func (this *QGeoAreaMonitorInfo) OperatorAssign(other *QGeoAreaMonitorInfo) { diff --git a/qt6/positioning/gen_qgeoareamonitorinfo.h b/qt6/positioning/gen_qgeoareamonitorinfo.h index 2d67c8215..d5236bb92 100644 --- a/qt6/positioning/gen_qgeoareamonitorinfo.h +++ b/qt6/positioning/gen_qgeoareamonitorinfo.h @@ -28,7 +28,8 @@ typedef struct QVariant QVariant; QGeoAreaMonitorInfo* QGeoAreaMonitorInfo_new(); QGeoAreaMonitorInfo* QGeoAreaMonitorInfo_new2(QGeoAreaMonitorInfo* other); -QGeoAreaMonitorInfo* QGeoAreaMonitorInfo_new3(struct miqt_string name); +QGeoAreaMonitorInfo* QGeoAreaMonitorInfo_new3(); +QGeoAreaMonitorInfo* QGeoAreaMonitorInfo_new4(struct miqt_string name); void QGeoAreaMonitorInfo_operatorAssign(QGeoAreaMonitorInfo* self, QGeoAreaMonitorInfo* other); void QGeoAreaMonitorInfo_swap(QGeoAreaMonitorInfo* self, QGeoAreaMonitorInfo* other); struct miqt_string QGeoAreaMonitorInfo_name(const QGeoAreaMonitorInfo* self); diff --git a/qt6/qml/gen_qqmlcontext.cpp b/qt6/qml/gen_qqmlcontext.cpp index 2ab4e82ff..e8ce6f70b 100644 --- a/qt6/qml/gen_qqmlcontext.cpp +++ b/qt6/qml/gen_qqmlcontext.cpp @@ -460,6 +460,10 @@ QQmlContext__PropertyPair* QQmlContext__PropertyPair_new(QQmlContext__PropertyPa return new (std::nothrow) QQmlContext::PropertyPair(*param1); } +QQmlContext__PropertyPair* QQmlContext__PropertyPair_new2() { + return new (std::nothrow) QQmlContext::PropertyPair(); +} + struct miqt_string QQmlContext__PropertyPair_name(const QQmlContext__PropertyPair* self) { QString name_ret = self->name; // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory diff --git a/qt6/qml/gen_qqmlcontext.go b/qt6/qml/gen_qqmlcontext.go index d7e25d0c9..4e65e6287 100644 --- a/qt6/qml/gen_qqmlcontext.go +++ b/qt6/qml/gen_qqmlcontext.go @@ -511,6 +511,12 @@ func NewQQmlContext__PropertyPair(param1 *QQmlContext__PropertyPair) *QQmlContex return newQQmlContext__PropertyPair(C.QQmlContext__PropertyPair_new(param1.cPointer())) } +// NewQQmlContext__PropertyPair2 constructs a new QQmlContext::PropertyPair object. +func NewQQmlContext__PropertyPair2() *QQmlContext__PropertyPair { + + return newQQmlContext__PropertyPair(C.QQmlContext__PropertyPair_new2()) +} + func (this *QQmlContext__PropertyPair) Name() string { var name_ms C.struct_miqt_string = C.QQmlContext__PropertyPair_name(this.h) name_ret := C.GoStringN(name_ms.data, C.int(int64(name_ms.len))) diff --git a/qt6/qml/gen_qqmlcontext.h b/qt6/qml/gen_qqmlcontext.h index 30455f79b..764441b14 100644 --- a/qt6/qml/gen_qqmlcontext.h +++ b/qt6/qml/gen_qqmlcontext.h @@ -95,6 +95,7 @@ bool QQmlContext_protectedbase_isSignalConnected(bool* _dynamic_cast_ok, const v void QQmlContext_delete(QQmlContext* self); QQmlContext__PropertyPair* QQmlContext__PropertyPair_new(QQmlContext__PropertyPair* param1); +QQmlContext__PropertyPair* QQmlContext__PropertyPair_new2(); struct miqt_string QQmlContext__PropertyPair_name(const QQmlContext__PropertyPair* self); void QQmlContext__PropertyPair_setName(QQmlContext__PropertyPair* self, struct miqt_string name); QVariant* QQmlContext__PropertyPair_value(const QQmlContext__PropertyPair* self); diff --git a/qt6/qml/gen_qqmldebug.cpp b/qt6/qml/gen_qqmldebug.cpp index e17683fc2..195899503 100644 --- a/qt6/qml/gen_qqmldebug.cpp +++ b/qt6/qml/gen_qqmldebug.cpp @@ -20,7 +20,11 @@ QQmlDebuggingEnabler* QQmlDebuggingEnabler_new() { return new (std::nothrow) QQmlDebuggingEnabler(); } -QQmlDebuggingEnabler* QQmlDebuggingEnabler_new2(bool printWarning) { +QQmlDebuggingEnabler* QQmlDebuggingEnabler_new2() { + return new (std::nothrow) QQmlDebuggingEnabler(); +} + +QQmlDebuggingEnabler* QQmlDebuggingEnabler_new3(bool printWarning) { return new (std::nothrow) QQmlDebuggingEnabler(printWarning); } diff --git a/qt6/qml/gen_qqmldebug.go b/qt6/qml/gen_qqmldebug.go index 6bd381952..3fdc24fc2 100644 --- a/qt6/qml/gen_qqmldebug.go +++ b/qt6/qml/gen_qqmldebug.go @@ -60,9 +60,15 @@ func NewQQmlDebuggingEnabler() *QQmlDebuggingEnabler { } // NewQQmlDebuggingEnabler2 constructs a new QQmlDebuggingEnabler object. -func NewQQmlDebuggingEnabler2(printWarning bool) *QQmlDebuggingEnabler { +func NewQQmlDebuggingEnabler2() *QQmlDebuggingEnabler { - return newQQmlDebuggingEnabler(C.QQmlDebuggingEnabler_new2((C.bool)(printWarning))) + return newQQmlDebuggingEnabler(C.QQmlDebuggingEnabler_new2()) +} + +// NewQQmlDebuggingEnabler3 constructs a new QQmlDebuggingEnabler object. +func NewQQmlDebuggingEnabler3(printWarning bool) *QQmlDebuggingEnabler { + + return newQQmlDebuggingEnabler(C.QQmlDebuggingEnabler_new3((C.bool)(printWarning))) } func QQmlDebuggingEnabler_EnableDebugging(printWarning bool) { diff --git a/qt6/qml/gen_qqmldebug.h b/qt6/qml/gen_qqmldebug.h index 1e8e31a5c..b7f661ea5 100644 --- a/qt6/qml/gen_qqmldebug.h +++ b/qt6/qml/gen_qqmldebug.h @@ -23,7 +23,8 @@ typedef struct QVariant QVariant; #endif QQmlDebuggingEnabler* QQmlDebuggingEnabler_new(); -QQmlDebuggingEnabler* QQmlDebuggingEnabler_new2(bool printWarning); +QQmlDebuggingEnabler* QQmlDebuggingEnabler_new2(); +QQmlDebuggingEnabler* QQmlDebuggingEnabler_new3(bool printWarning); void QQmlDebuggingEnabler_enableDebugging(bool printWarning); struct miqt_array /* of struct miqt_string */ QQmlDebuggingEnabler_debuggerServices(); struct miqt_array /* of struct miqt_string */ QQmlDebuggingEnabler_inspectorServices(); diff --git a/qt6/sql/gen_qsqlerror.cpp b/qt6/sql/gen_qsqlerror.cpp index 98f8ea4c0..4a269dd93 100644 --- a/qt6/sql/gen_qsqlerror.cpp +++ b/qt6/sql/gen_qsqlerror.cpp @@ -21,24 +21,28 @@ QSqlError* QSqlError_new2(QSqlError* other) { return new (std::nothrow) QSqlError(*other); } -QSqlError* QSqlError_new3(struct miqt_string driverText) { +QSqlError* QSqlError_new3() { + return new (std::nothrow) QSqlError(); +} + +QSqlError* QSqlError_new4(struct miqt_string driverText) { QString driverText_QString = QString::fromUtf8(driverText.data, driverText.len); return new (std::nothrow) QSqlError(driverText_QString); } -QSqlError* QSqlError_new4(struct miqt_string driverText, struct miqt_string databaseText) { +QSqlError* QSqlError_new5(struct miqt_string driverText, struct miqt_string databaseText) { QString driverText_QString = QString::fromUtf8(driverText.data, driverText.len); QString databaseText_QString = QString::fromUtf8(databaseText.data, databaseText.len); return new (std::nothrow) QSqlError(driverText_QString, databaseText_QString); } -QSqlError* QSqlError_new5(struct miqt_string driverText, struct miqt_string databaseText, int type) { +QSqlError* QSqlError_new6(struct miqt_string driverText, struct miqt_string databaseText, int type) { QString driverText_QString = QString::fromUtf8(driverText.data, driverText.len); QString databaseText_QString = QString::fromUtf8(databaseText.data, databaseText.len); return new (std::nothrow) QSqlError(driverText_QString, databaseText_QString, static_cast(type)); } -QSqlError* QSqlError_new6(struct miqt_string driverText, struct miqt_string databaseText, int type, struct miqt_string errorCode) { +QSqlError* QSqlError_new7(struct miqt_string driverText, struct miqt_string databaseText, int type, struct miqt_string errorCode) { QString driverText_QString = QString::fromUtf8(driverText.data, driverText.len); QString databaseText_QString = QString::fromUtf8(databaseText.data, databaseText.len); QString errorCode_QString = QString::fromUtf8(errorCode.data, errorCode.len); diff --git a/qt6/sql/gen_qsqlerror.go b/qt6/sql/gen_qsqlerror.go index aba856f6a..a00bcdae8 100644 --- a/qt6/sql/gen_qsqlerror.go +++ b/qt6/sql/gen_qsqlerror.go @@ -68,17 +68,23 @@ func NewQSqlError2(other *QSqlError) *QSqlError { } // NewQSqlError3 constructs a new QSqlError object. -func NewQSqlError3(driverText string) *QSqlError { +func NewQSqlError3() *QSqlError { + + return newQSqlError(C.QSqlError_new3()) +} + +// NewQSqlError4 constructs a new QSqlError object. +func NewQSqlError4(driverText string) *QSqlError { driverText_ms := C.struct_miqt_string{} driverText_ms.data = C.CString(driverText) driverText_ms.len = C.size_t(len(driverText)) defer C.free(unsafe.Pointer(driverText_ms.data)) - return newQSqlError(C.QSqlError_new3(driverText_ms)) + return newQSqlError(C.QSqlError_new4(driverText_ms)) } -// NewQSqlError4 constructs a new QSqlError object. -func NewQSqlError4(driverText string, databaseText string) *QSqlError { +// NewQSqlError5 constructs a new QSqlError object. +func NewQSqlError5(driverText string, databaseText string) *QSqlError { driverText_ms := C.struct_miqt_string{} driverText_ms.data = C.CString(driverText) driverText_ms.len = C.size_t(len(driverText)) @@ -88,11 +94,11 @@ func NewQSqlError4(driverText string, databaseText string) *QSqlError { databaseText_ms.len = C.size_t(len(databaseText)) defer C.free(unsafe.Pointer(databaseText_ms.data)) - return newQSqlError(C.QSqlError_new4(driverText_ms, databaseText_ms)) + return newQSqlError(C.QSqlError_new5(driverText_ms, databaseText_ms)) } -// NewQSqlError5 constructs a new QSqlError object. -func NewQSqlError5(driverText string, databaseText string, typeVal QSqlError__ErrorType) *QSqlError { +// NewQSqlError6 constructs a new QSqlError object. +func NewQSqlError6(driverText string, databaseText string, typeVal QSqlError__ErrorType) *QSqlError { driverText_ms := C.struct_miqt_string{} driverText_ms.data = C.CString(driverText) driverText_ms.len = C.size_t(len(driverText)) @@ -102,11 +108,11 @@ func NewQSqlError5(driverText string, databaseText string, typeVal QSqlError__Er databaseText_ms.len = C.size_t(len(databaseText)) defer C.free(unsafe.Pointer(databaseText_ms.data)) - return newQSqlError(C.QSqlError_new5(driverText_ms, databaseText_ms, (C.int)(typeVal))) + return newQSqlError(C.QSqlError_new6(driverText_ms, databaseText_ms, (C.int)(typeVal))) } -// NewQSqlError6 constructs a new QSqlError object. -func NewQSqlError6(driverText string, databaseText string, typeVal QSqlError__ErrorType, errorCode string) *QSqlError { +// NewQSqlError7 constructs a new QSqlError object. +func NewQSqlError7(driverText string, databaseText string, typeVal QSqlError__ErrorType, errorCode string) *QSqlError { driverText_ms := C.struct_miqt_string{} driverText_ms.data = C.CString(driverText) driverText_ms.len = C.size_t(len(driverText)) @@ -120,7 +126,7 @@ func NewQSqlError6(driverText string, databaseText string, typeVal QSqlError__Er errorCode_ms.len = C.size_t(len(errorCode)) defer C.free(unsafe.Pointer(errorCode_ms.data)) - return newQSqlError(C.QSqlError_new6(driverText_ms, databaseText_ms, (C.int)(typeVal), errorCode_ms)) + return newQSqlError(C.QSqlError_new7(driverText_ms, databaseText_ms, (C.int)(typeVal), errorCode_ms)) } func (this *QSqlError) OperatorAssign(other *QSqlError) { diff --git a/qt6/sql/gen_qsqlerror.h b/qt6/sql/gen_qsqlerror.h index 6fee20415..34c63ccfe 100644 --- a/qt6/sql/gen_qsqlerror.h +++ b/qt6/sql/gen_qsqlerror.h @@ -22,10 +22,11 @@ typedef struct QSqlError QSqlError; QSqlError* QSqlError_new(); QSqlError* QSqlError_new2(QSqlError* other); -QSqlError* QSqlError_new3(struct miqt_string driverText); -QSqlError* QSqlError_new4(struct miqt_string driverText, struct miqt_string databaseText); -QSqlError* QSqlError_new5(struct miqt_string driverText, struct miqt_string databaseText, int type); -QSqlError* QSqlError_new6(struct miqt_string driverText, struct miqt_string databaseText, int type, struct miqt_string errorCode); +QSqlError* QSqlError_new3(); +QSqlError* QSqlError_new4(struct miqt_string driverText); +QSqlError* QSqlError_new5(struct miqt_string driverText, struct miqt_string databaseText); +QSqlError* QSqlError_new6(struct miqt_string driverText, struct miqt_string databaseText, int type); +QSqlError* QSqlError_new7(struct miqt_string driverText, struct miqt_string databaseText, int type, struct miqt_string errorCode); void QSqlError_operatorAssign(QSqlError* self, QSqlError* other); bool QSqlError_operatorEqual(const QSqlError* self, QSqlError* other); bool QSqlError_operatorNotEqual(const QSqlError* self, QSqlError* other); diff --git a/qt6/sql/gen_qsqlfield.cpp b/qt6/sql/gen_qsqlfield.cpp index 627a74f3b..b41cad2a4 100644 --- a/qt6/sql/gen_qsqlfield.cpp +++ b/qt6/sql/gen_qsqlfield.cpp @@ -28,23 +28,27 @@ QSqlField* QSqlField_new3(struct miqt_string fieldName, int type) { return new (std::nothrow) QSqlField(fieldName_QString, static_cast(type)); } -QSqlField* QSqlField_new4(struct miqt_string fieldName) { +QSqlField* QSqlField_new4() { + return new (std::nothrow) QSqlField(); +} + +QSqlField* QSqlField_new5(struct miqt_string fieldName) { QString fieldName_QString = QString::fromUtf8(fieldName.data, fieldName.len); return new (std::nothrow) QSqlField(fieldName_QString); } -QSqlField* QSqlField_new5(struct miqt_string fieldName, QMetaType* type) { +QSqlField* QSqlField_new6(struct miqt_string fieldName, QMetaType* type) { QString fieldName_QString = QString::fromUtf8(fieldName.data, fieldName.len); return new (std::nothrow) QSqlField(fieldName_QString, *type); } -QSqlField* QSqlField_new6(struct miqt_string fieldName, QMetaType* type, struct miqt_string tableName) { +QSqlField* QSqlField_new7(struct miqt_string fieldName, QMetaType* type, struct miqt_string tableName) { QString fieldName_QString = QString::fromUtf8(fieldName.data, fieldName.len); QString tableName_QString = QString::fromUtf8(tableName.data, tableName.len); return new (std::nothrow) QSqlField(fieldName_QString, *type, tableName_QString); } -QSqlField* QSqlField_new7(struct miqt_string fieldName, int type, struct miqt_string tableName) { +QSqlField* QSqlField_new8(struct miqt_string fieldName, int type, struct miqt_string tableName) { QString fieldName_QString = QString::fromUtf8(fieldName.data, fieldName.len); QString tableName_QString = QString::fromUtf8(tableName.data, tableName.len); return new (std::nothrow) QSqlField(fieldName_QString, static_cast(type), tableName_QString); diff --git a/qt6/sql/gen_qsqlfield.go b/qt6/sql/gen_qsqlfield.go index b067f6c51..f28940c23 100644 --- a/qt6/sql/gen_qsqlfield.go +++ b/qt6/sql/gen_qsqlfield.go @@ -77,27 +77,33 @@ func NewQSqlField3(fieldName string, typeVal qt6.QVariant__Type) *QSqlField { } // NewQSqlField4 constructs a new QSqlField object. -func NewQSqlField4(fieldName string) *QSqlField { +func NewQSqlField4() *QSqlField { + + return newQSqlField(C.QSqlField_new4()) +} + +// NewQSqlField5 constructs a new QSqlField object. +func NewQSqlField5(fieldName string) *QSqlField { fieldName_ms := C.struct_miqt_string{} fieldName_ms.data = C.CString(fieldName) fieldName_ms.len = C.size_t(len(fieldName)) defer C.free(unsafe.Pointer(fieldName_ms.data)) - return newQSqlField(C.QSqlField_new4(fieldName_ms)) + return newQSqlField(C.QSqlField_new5(fieldName_ms)) } -// NewQSqlField5 constructs a new QSqlField object. -func NewQSqlField5(fieldName string, typeVal qt6.QMetaType) *QSqlField { +// NewQSqlField6 constructs a new QSqlField object. +func NewQSqlField6(fieldName string, typeVal qt6.QMetaType) *QSqlField { fieldName_ms := C.struct_miqt_string{} fieldName_ms.data = C.CString(fieldName) fieldName_ms.len = C.size_t(len(fieldName)) defer C.free(unsafe.Pointer(fieldName_ms.data)) - return newQSqlField(C.QSqlField_new5(fieldName_ms, (*C.QMetaType)(typeVal.UnsafePointer()))) + return newQSqlField(C.QSqlField_new6(fieldName_ms, (*C.QMetaType)(typeVal.UnsafePointer()))) } -// NewQSqlField6 constructs a new QSqlField object. -func NewQSqlField6(fieldName string, typeVal qt6.QMetaType, tableName string) *QSqlField { +// NewQSqlField7 constructs a new QSqlField object. +func NewQSqlField7(fieldName string, typeVal qt6.QMetaType, tableName string) *QSqlField { fieldName_ms := C.struct_miqt_string{} fieldName_ms.data = C.CString(fieldName) fieldName_ms.len = C.size_t(len(fieldName)) @@ -107,11 +113,11 @@ func NewQSqlField6(fieldName string, typeVal qt6.QMetaType, tableName string) *Q tableName_ms.len = C.size_t(len(tableName)) defer C.free(unsafe.Pointer(tableName_ms.data)) - return newQSqlField(C.QSqlField_new6(fieldName_ms, (*C.QMetaType)(typeVal.UnsafePointer()), tableName_ms)) + return newQSqlField(C.QSqlField_new7(fieldName_ms, (*C.QMetaType)(typeVal.UnsafePointer()), tableName_ms)) } -// NewQSqlField7 constructs a new QSqlField object. -func NewQSqlField7(fieldName string, typeVal qt6.QVariant__Type, tableName string) *QSqlField { +// NewQSqlField8 constructs a new QSqlField object. +func NewQSqlField8(fieldName string, typeVal qt6.QVariant__Type, tableName string) *QSqlField { fieldName_ms := C.struct_miqt_string{} fieldName_ms.data = C.CString(fieldName) fieldName_ms.len = C.size_t(len(fieldName)) @@ -121,7 +127,7 @@ func NewQSqlField7(fieldName string, typeVal qt6.QVariant__Type, tableName strin tableName_ms.len = C.size_t(len(tableName)) defer C.free(unsafe.Pointer(tableName_ms.data)) - return newQSqlField(C.QSqlField_new7(fieldName_ms, (C.int)(typeVal), tableName_ms)) + return newQSqlField(C.QSqlField_new8(fieldName_ms, (C.int)(typeVal), tableName_ms)) } func (this *QSqlField) OperatorAssign(other *QSqlField) { diff --git a/qt6/sql/gen_qsqlfield.h b/qt6/sql/gen_qsqlfield.h index f65a60951..0302da426 100644 --- a/qt6/sql/gen_qsqlfield.h +++ b/qt6/sql/gen_qsqlfield.h @@ -27,10 +27,11 @@ typedef struct QVariant QVariant; QSqlField* QSqlField_new(); QSqlField* QSqlField_new2(QSqlField* other); QSqlField* QSqlField_new3(struct miqt_string fieldName, int type); -QSqlField* QSqlField_new4(struct miqt_string fieldName); -QSqlField* QSqlField_new5(struct miqt_string fieldName, QMetaType* type); -QSqlField* QSqlField_new6(struct miqt_string fieldName, QMetaType* type, struct miqt_string tableName); -QSqlField* QSqlField_new7(struct miqt_string fieldName, int type, struct miqt_string tableName); +QSqlField* QSqlField_new4(); +QSqlField* QSqlField_new5(struct miqt_string fieldName); +QSqlField* QSqlField_new6(struct miqt_string fieldName, QMetaType* type); +QSqlField* QSqlField_new7(struct miqt_string fieldName, QMetaType* type, struct miqt_string tableName); +QSqlField* QSqlField_new8(struct miqt_string fieldName, int type, struct miqt_string tableName); void QSqlField_operatorAssign(QSqlField* self, QSqlField* other); bool QSqlField_operatorEqual(const QSqlField* self, QSqlField* other); bool QSqlField_operatorNotEqual(const QSqlField* self, QSqlField* other); diff --git a/qt6/sql/gen_qsqlindex.cpp b/qt6/sql/gen_qsqlindex.cpp index a0a7c6a61..b94ec6144 100644 --- a/qt6/sql/gen_qsqlindex.cpp +++ b/qt6/sql/gen_qsqlindex.cpp @@ -23,12 +23,16 @@ QSqlIndex* QSqlIndex_new2(QSqlIndex* other) { return new (std::nothrow) QSqlIndex(*other); } -QSqlIndex* QSqlIndex_new3(struct miqt_string cursorName) { +QSqlIndex* QSqlIndex_new3() { + return new (std::nothrow) QSqlIndex(); +} + +QSqlIndex* QSqlIndex_new4(struct miqt_string cursorName) { QString cursorName_QString = QString::fromUtf8(cursorName.data, cursorName.len); return new (std::nothrow) QSqlIndex(cursorName_QString); } -QSqlIndex* QSqlIndex_new4(struct miqt_string cursorName, struct miqt_string name) { +QSqlIndex* QSqlIndex_new5(struct miqt_string cursorName, struct miqt_string name) { QString cursorName_QString = QString::fromUtf8(cursorName.data, cursorName.len); QString name_QString = QString::fromUtf8(name.data, name.len); return new (std::nothrow) QSqlIndex(cursorName_QString, name_QString); diff --git a/qt6/sql/gen_qsqlindex.go b/qt6/sql/gen_qsqlindex.go index cd41424af..3270b1beb 100644 --- a/qt6/sql/gen_qsqlindex.go +++ b/qt6/sql/gen_qsqlindex.go @@ -62,17 +62,23 @@ func NewQSqlIndex2(other *QSqlIndex) *QSqlIndex { } // NewQSqlIndex3 constructs a new QSqlIndex object. -func NewQSqlIndex3(cursorName string) *QSqlIndex { +func NewQSqlIndex3() *QSqlIndex { + + return newQSqlIndex(C.QSqlIndex_new3()) +} + +// NewQSqlIndex4 constructs a new QSqlIndex object. +func NewQSqlIndex4(cursorName string) *QSqlIndex { cursorName_ms := C.struct_miqt_string{} cursorName_ms.data = C.CString(cursorName) cursorName_ms.len = C.size_t(len(cursorName)) defer C.free(unsafe.Pointer(cursorName_ms.data)) - return newQSqlIndex(C.QSqlIndex_new3(cursorName_ms)) + return newQSqlIndex(C.QSqlIndex_new4(cursorName_ms)) } -// NewQSqlIndex4 constructs a new QSqlIndex object. -func NewQSqlIndex4(cursorName string, name string) *QSqlIndex { +// NewQSqlIndex5 constructs a new QSqlIndex object. +func NewQSqlIndex5(cursorName string, name string) *QSqlIndex { cursorName_ms := C.struct_miqt_string{} cursorName_ms.data = C.CString(cursorName) cursorName_ms.len = C.size_t(len(cursorName)) @@ -82,7 +88,7 @@ func NewQSqlIndex4(cursorName string, name string) *QSqlIndex { name_ms.len = C.size_t(len(name)) defer C.free(unsafe.Pointer(name_ms.data)) - return newQSqlIndex(C.QSqlIndex_new4(cursorName_ms, name_ms)) + return newQSqlIndex(C.QSqlIndex_new5(cursorName_ms, name_ms)) } func (this *QSqlIndex) OperatorAssign(other *QSqlIndex) { diff --git a/qt6/sql/gen_qsqlindex.h b/qt6/sql/gen_qsqlindex.h index 046b6f9ed..42d2b4df1 100644 --- a/qt6/sql/gen_qsqlindex.h +++ b/qt6/sql/gen_qsqlindex.h @@ -26,8 +26,9 @@ typedef struct QSqlRecord QSqlRecord; QSqlIndex* QSqlIndex_new(); QSqlIndex* QSqlIndex_new2(QSqlIndex* other); -QSqlIndex* QSqlIndex_new3(struct miqt_string cursorName); -QSqlIndex* QSqlIndex_new4(struct miqt_string cursorName, struct miqt_string name); +QSqlIndex* QSqlIndex_new3(); +QSqlIndex* QSqlIndex_new4(struct miqt_string cursorName); +QSqlIndex* QSqlIndex_new5(struct miqt_string cursorName, struct miqt_string name); void QSqlIndex_virtbase(QSqlIndex* src, QSqlRecord** outptr_QSqlRecord); void QSqlIndex_operatorAssign(QSqlIndex* self, QSqlIndex* other); void QSqlIndex_setCursorName(QSqlIndex* self, struct miqt_string cursorName); diff --git a/qt6/sql/gen_qsqlquery.cpp b/qt6/sql/gen_qsqlquery.cpp index 6bd629592..e2a60434d 100644 --- a/qt6/sql/gen_qsqlquery.cpp +++ b/qt6/sql/gen_qsqlquery.cpp @@ -36,12 +36,16 @@ QSqlQuery* QSqlQuery_new4(QSqlQuery* other) { return new (std::nothrow) QSqlQuery(*other); } -QSqlQuery* QSqlQuery_new5(struct miqt_string query) { +QSqlQuery* QSqlQuery_new5() { + return new (std::nothrow) QSqlQuery(); +} + +QSqlQuery* QSqlQuery_new6(struct miqt_string query) { QString query_QString = QString::fromUtf8(query.data, query.len); return new (std::nothrow) QSqlQuery(query_QString); } -QSqlQuery* QSqlQuery_new6(struct miqt_string query, QSqlDatabase* db) { +QSqlQuery* QSqlQuery_new7(struct miqt_string query, QSqlDatabase* db) { QString query_QString = QString::fromUtf8(query.data, query.len); return new (std::nothrow) QSqlQuery(query_QString, *db); } diff --git a/qt6/sql/gen_qsqlquery.go b/qt6/sql/gen_qsqlquery.go index 5abe16f12..02651bc4e 100644 --- a/qt6/sql/gen_qsqlquery.go +++ b/qt6/sql/gen_qsqlquery.go @@ -78,23 +78,29 @@ func NewQSqlQuery4(other *QSqlQuery) *QSqlQuery { } // NewQSqlQuery5 constructs a new QSqlQuery object. -func NewQSqlQuery5(query string) *QSqlQuery { +func NewQSqlQuery5() *QSqlQuery { + + return newQSqlQuery(C.QSqlQuery_new5()) +} + +// NewQSqlQuery6 constructs a new QSqlQuery object. +func NewQSqlQuery6(query string) *QSqlQuery { query_ms := C.struct_miqt_string{} query_ms.data = C.CString(query) query_ms.len = C.size_t(len(query)) defer C.free(unsafe.Pointer(query_ms.data)) - return newQSqlQuery(C.QSqlQuery_new5(query_ms)) + return newQSqlQuery(C.QSqlQuery_new6(query_ms)) } -// NewQSqlQuery6 constructs a new QSqlQuery object. -func NewQSqlQuery6(query string, db *QSqlDatabase) *QSqlQuery { +// NewQSqlQuery7 constructs a new QSqlQuery object. +func NewQSqlQuery7(query string, db *QSqlDatabase) *QSqlQuery { query_ms := C.struct_miqt_string{} query_ms.data = C.CString(query) query_ms.len = C.size_t(len(query)) defer C.free(unsafe.Pointer(query_ms.data)) - return newQSqlQuery(C.QSqlQuery_new6(query_ms, db.cPointer())) + return newQSqlQuery(C.QSqlQuery_new7(query_ms, db.cPointer())) } func (this *QSqlQuery) OperatorAssign(other *QSqlQuery) { diff --git a/qt6/sql/gen_qsqlquery.h b/qt6/sql/gen_qsqlquery.h index b4720ceb1..6e5ff7b85 100644 --- a/qt6/sql/gen_qsqlquery.h +++ b/qt6/sql/gen_qsqlquery.h @@ -36,8 +36,9 @@ QSqlQuery* QSqlQuery_new(QSqlResult* r); QSqlQuery* QSqlQuery_new2(); QSqlQuery* QSqlQuery_new3(QSqlDatabase* db); QSqlQuery* QSqlQuery_new4(QSqlQuery* other); -QSqlQuery* QSqlQuery_new5(struct miqt_string query); -QSqlQuery* QSqlQuery_new6(struct miqt_string query, QSqlDatabase* db); +QSqlQuery* QSqlQuery_new5(); +QSqlQuery* QSqlQuery_new6(struct miqt_string query); +QSqlQuery* QSqlQuery_new7(struct miqt_string query, QSqlDatabase* db); void QSqlQuery_operatorAssign(QSqlQuery* self, QSqlQuery* other); void QSqlQuery_swap(QSqlQuery* self, QSqlQuery* other); bool QSqlQuery_isValid(const QSqlQuery* self); diff --git a/qt6/webengine/gen_qwebenginecookiestore.cpp b/qt6/webengine/gen_qwebenginecookiestore.cpp index 9a661c378..843de4af6 100644 --- a/qt6/webengine/gen_qwebenginecookiestore.cpp +++ b/qt6/webengine/gen_qwebenginecookiestore.cpp @@ -128,6 +128,10 @@ QWebEngineCookieStore__FilterRequest* QWebEngineCookieStore__FilterRequest_new(Q return new (std::nothrow) QWebEngineCookieStore::FilterRequest(*param1); } +QWebEngineCookieStore__FilterRequest* QWebEngineCookieStore__FilterRequest_new2() { + return new (std::nothrow) QWebEngineCookieStore::FilterRequest(); +} + QUrl* QWebEngineCookieStore__FilterRequest_firstPartyUrl(const QWebEngineCookieStore__FilterRequest* self) { return new QUrl(self->firstPartyUrl); } diff --git a/qt6/webengine/gen_qwebenginecookiestore.go b/qt6/webengine/gen_qwebenginecookiestore.go index 1129d3ec4..42f41104d 100644 --- a/qt6/webengine/gen_qwebenginecookiestore.go +++ b/qt6/webengine/gen_qwebenginecookiestore.go @@ -213,6 +213,12 @@ func NewQWebEngineCookieStore__FilterRequest(param1 *QWebEngineCookieStore__Filt return newQWebEngineCookieStore__FilterRequest(C.QWebEngineCookieStore__FilterRequest_new(param1.cPointer())) } +// NewQWebEngineCookieStore__FilterRequest2 constructs a new QWebEngineCookieStore::FilterRequest object. +func NewQWebEngineCookieStore__FilterRequest2() *QWebEngineCookieStore__FilterRequest { + + return newQWebEngineCookieStore__FilterRequest(C.QWebEngineCookieStore__FilterRequest_new2()) +} + func (this *QWebEngineCookieStore__FilterRequest) FirstPartyUrl() *qt6.QUrl { firstPartyUrl_goptr := qt6.UnsafeNewQUrl(unsafe.Pointer(C.QWebEngineCookieStore__FilterRequest_firstPartyUrl(this.h))) firstPartyUrl_goptr.GoGC() // Qt uses pass-by-value semantics for this type. Mimic with finalizer diff --git a/qt6/webengine/gen_qwebenginecookiestore.h b/qt6/webengine/gen_qwebenginecookiestore.h index 3e4e2172a..d575bc079 100644 --- a/qt6/webengine/gen_qwebenginecookiestore.h +++ b/qt6/webengine/gen_qwebenginecookiestore.h @@ -57,6 +57,7 @@ void QWebEngineCookieStore_deleteCookie2(QWebEngineCookieStore* self, QNetworkCo void QWebEngineCookieStore_delete(QWebEngineCookieStore* self); QWebEngineCookieStore__FilterRequest* QWebEngineCookieStore__FilterRequest_new(QWebEngineCookieStore__FilterRequest* param1); +QWebEngineCookieStore__FilterRequest* QWebEngineCookieStore__FilterRequest_new2(); QUrl* QWebEngineCookieStore__FilterRequest_firstPartyUrl(const QWebEngineCookieStore__FilterRequest* self); void QWebEngineCookieStore__FilterRequest_setFirstPartyUrl(QWebEngineCookieStore__FilterRequest* self, QUrl* firstPartyUrl); QUrl* QWebEngineCookieStore__FilterRequest_origin(const QWebEngineCookieStore__FilterRequest* self); diff --git a/qt6/webengine/gen_qwebenginehttprequest.cpp b/qt6/webengine/gen_qwebenginehttprequest.cpp index 410e69941..34479a5c0 100644 --- a/qt6/webengine/gen_qwebenginehttprequest.cpp +++ b/qt6/webengine/gen_qwebenginehttprequest.cpp @@ -25,11 +25,15 @@ QWebEngineHttpRequest* QWebEngineHttpRequest_new2(QWebEngineHttpRequest* other) return new (std::nothrow) QWebEngineHttpRequest(*other); } -QWebEngineHttpRequest* QWebEngineHttpRequest_new3(QUrl* url) { +QWebEngineHttpRequest* QWebEngineHttpRequest_new3() { + return new (std::nothrow) QWebEngineHttpRequest(); +} + +QWebEngineHttpRequest* QWebEngineHttpRequest_new4(QUrl* url) { return new (std::nothrow) QWebEngineHttpRequest(*url); } -QWebEngineHttpRequest* QWebEngineHttpRequest_new4(QUrl* url, int* method) { +QWebEngineHttpRequest* QWebEngineHttpRequest_new5(QUrl* url, int* method) { return new (std::nothrow) QWebEngineHttpRequest(*url, (const QWebEngineHttpRequest::Method&)(*method)); } diff --git a/qt6/webengine/gen_qwebenginehttprequest.go b/qt6/webengine/gen_qwebenginehttprequest.go index efd9e5311..f00a15c44 100644 --- a/qt6/webengine/gen_qwebenginehttprequest.go +++ b/qt6/webengine/gen_qwebenginehttprequest.go @@ -66,15 +66,21 @@ func NewQWebEngineHttpRequest2(other *QWebEngineHttpRequest) *QWebEngineHttpRequ } // NewQWebEngineHttpRequest3 constructs a new QWebEngineHttpRequest object. -func NewQWebEngineHttpRequest3(url *qt6.QUrl) *QWebEngineHttpRequest { +func NewQWebEngineHttpRequest3() *QWebEngineHttpRequest { - return newQWebEngineHttpRequest(C.QWebEngineHttpRequest_new3((*C.QUrl)(url.UnsafePointer()))) + return newQWebEngineHttpRequest(C.QWebEngineHttpRequest_new3()) } // NewQWebEngineHttpRequest4 constructs a new QWebEngineHttpRequest object. -func NewQWebEngineHttpRequest4(url *qt6.QUrl, method *QWebEngineHttpRequest__Method) *QWebEngineHttpRequest { +func NewQWebEngineHttpRequest4(url *qt6.QUrl) *QWebEngineHttpRequest { - return newQWebEngineHttpRequest(C.QWebEngineHttpRequest_new4((*C.QUrl)(url.UnsafePointer()), (*C.int)(unsafe.Pointer(method)))) + return newQWebEngineHttpRequest(C.QWebEngineHttpRequest_new4((*C.QUrl)(url.UnsafePointer()))) +} + +// NewQWebEngineHttpRequest5 constructs a new QWebEngineHttpRequest object. +func NewQWebEngineHttpRequest5(url *qt6.QUrl, method *QWebEngineHttpRequest__Method) *QWebEngineHttpRequest { + + return newQWebEngineHttpRequest(C.QWebEngineHttpRequest_new5((*C.QUrl)(url.UnsafePointer()), (*C.int)(unsafe.Pointer(method)))) } func (this *QWebEngineHttpRequest) OperatorAssign(other *QWebEngineHttpRequest) { diff --git a/qt6/webengine/gen_qwebenginehttprequest.h b/qt6/webengine/gen_qwebenginehttprequest.h index b7383263d..ceff56f5c 100644 --- a/qt6/webengine/gen_qwebenginehttprequest.h +++ b/qt6/webengine/gen_qwebenginehttprequest.h @@ -24,8 +24,9 @@ typedef struct QWebEngineHttpRequest QWebEngineHttpRequest; QWebEngineHttpRequest* QWebEngineHttpRequest_new(); QWebEngineHttpRequest* QWebEngineHttpRequest_new2(QWebEngineHttpRequest* other); -QWebEngineHttpRequest* QWebEngineHttpRequest_new3(QUrl* url); -QWebEngineHttpRequest* QWebEngineHttpRequest_new4(QUrl* url, int* method); +QWebEngineHttpRequest* QWebEngineHttpRequest_new3(); +QWebEngineHttpRequest* QWebEngineHttpRequest_new4(QUrl* url); +QWebEngineHttpRequest* QWebEngineHttpRequest_new5(QUrl* url, int* method); void QWebEngineHttpRequest_operatorAssign(QWebEngineHttpRequest* self, QWebEngineHttpRequest* other); QWebEngineHttpRequest* QWebEngineHttpRequest_postRequest(QUrl* url, struct miqt_map /* of struct miqt_string to struct miqt_string */ postData); void QWebEngineHttpRequest_swap(QWebEngineHttpRequest* self, QWebEngineHttpRequest* other);