qt: rebuild (reorder constructor overloads)

This commit is contained in:
mappu 2024-10-26 13:46:42 +13:00
parent ecab4f1d09
commit 4be5863d5e
429 changed files with 2139 additions and 2139 deletions

View File

@ -922,12 +922,12 @@ void SCNotification_Delete(SCNotification* self) {
delete self;
}
ScintillaEditBase* ScintillaEditBase_new() {
return new ScintillaEditBase();
ScintillaEditBase* ScintillaEditBase_new(QWidget* parent) {
return new ScintillaEditBase(parent);
}
ScintillaEditBase* ScintillaEditBase_new2(QWidget* parent) {
return new ScintillaEditBase(parent);
ScintillaEditBase* ScintillaEditBase_new2() {
return new ScintillaEditBase();
}
QMetaObject* ScintillaEditBase_MetaObject(const ScintillaEditBase* self) {
@ -1852,12 +1852,12 @@ void ScintillaDocument_Delete(ScintillaDocument* self) {
delete self;
}
ScintillaEdit* ScintillaEdit_new() {
return new ScintillaEdit();
ScintillaEdit* ScintillaEdit_new(QWidget* parent) {
return new ScintillaEdit(parent);
}
ScintillaEdit* ScintillaEdit_new2(QWidget* parent) {
return new ScintillaEdit(parent);
ScintillaEdit* ScintillaEdit_new2() {
return new ScintillaEdit();
}
QMetaObject* ScintillaEdit_MetaObject(const ScintillaEdit* self) {

View File

@ -4413,14 +4413,14 @@ func UnsafeNewScintillaEditBase(h unsafe.Pointer) *ScintillaEditBase {
}
// NewScintillaEditBase constructs a new ScintillaEditBase object.
func NewScintillaEditBase() *ScintillaEditBase {
ret := C.ScintillaEditBase_new()
func NewScintillaEditBase(parent *qt.QWidget) *ScintillaEditBase {
ret := C.ScintillaEditBase_new((*C.QWidget)(parent.UnsafePointer()))
return newScintillaEditBase(ret)
}
// NewScintillaEditBase2 constructs a new ScintillaEditBase object.
func NewScintillaEditBase2(parent *qt.QWidget) *ScintillaEditBase {
ret := C.ScintillaEditBase_new2((*C.QWidget)(parent.UnsafePointer()))
func NewScintillaEditBase2() *ScintillaEditBase {
ret := C.ScintillaEditBase_new2()
return newScintillaEditBase(ret)
}
@ -5785,14 +5785,14 @@ func UnsafeNewScintillaEdit(h unsafe.Pointer) *ScintillaEdit {
}
// NewScintillaEdit constructs a new ScintillaEdit object.
func NewScintillaEdit() *ScintillaEdit {
ret := C.ScintillaEdit_new()
func NewScintillaEdit(parent *qt.QWidget) *ScintillaEdit {
ret := C.ScintillaEdit_new((*C.QWidget)(parent.UnsafePointer()))
return newScintillaEdit(ret)
}
// NewScintillaEdit2 constructs a new ScintillaEdit object.
func NewScintillaEdit2(parent *qt.QWidget) *ScintillaEdit {
ret := C.ScintillaEdit_new2((*C.QWidget)(parent.UnsafePointer()))
func NewScintillaEdit2() *ScintillaEdit {
ret := C.ScintillaEdit_new2()
return newScintillaEdit(ret)
}

View File

@ -506,8 +506,8 @@ void Sci_NotifyHeader_Delete(Sci_NotifyHeader* self);
void SCNotification_Delete(SCNotification* self);
ScintillaEditBase* ScintillaEditBase_new();
ScintillaEditBase* ScintillaEditBase_new2(QWidget* parent);
ScintillaEditBase* ScintillaEditBase_new(QWidget* parent);
ScintillaEditBase* ScintillaEditBase_new2();
QMetaObject* ScintillaEditBase_MetaObject(const ScintillaEditBase* self);
void* ScintillaEditBase_Metacast(ScintillaEditBase* self, const char* param1);
struct miqt_string ScintillaEditBase_Tr(const char* s);
@ -666,8 +666,8 @@ struct miqt_string ScintillaDocument_TrUtf83(const char* s, const char* c, int n
void ScintillaDocument_BeginUndoAction1(ScintillaDocument* self, bool coalesceWithPrior);
void ScintillaDocument_Delete(ScintillaDocument* self);
ScintillaEdit* ScintillaEdit_new();
ScintillaEdit* ScintillaEdit_new2(QWidget* parent);
ScintillaEdit* ScintillaEdit_new(QWidget* parent);
ScintillaEdit* ScintillaEdit_new2();
QMetaObject* ScintillaEdit_MetaObject(const ScintillaEdit* self);
void* ScintillaEdit_Metacast(ScintillaEdit* self, const char* param1);
struct miqt_string ScintillaEdit_Tr(const char* s);

View File

@ -16,12 +16,12 @@
#include "gen_qsciscintilla.h"
#include "_cgo_export.h"
QsciScintilla* QsciScintilla_new() {
return new QsciScintilla();
QsciScintilla* QsciScintilla_new(QWidget* parent) {
return new QsciScintilla(parent);
}
QsciScintilla* QsciScintilla_new2(QWidget* parent) {
return new QsciScintilla(parent);
QsciScintilla* QsciScintilla_new2() {
return new QsciScintilla();
}
QMetaObject* QsciScintilla_MetaObject(const QsciScintilla* self) {

View File

@ -250,14 +250,14 @@ func UnsafeNewQsciScintilla(h unsafe.Pointer) *QsciScintilla {
}
// NewQsciScintilla constructs a new QsciScintilla object.
func NewQsciScintilla() *QsciScintilla {
ret := C.QsciScintilla_new()
func NewQsciScintilla(parent *qt.QWidget) *QsciScintilla {
ret := C.QsciScintilla_new((*C.QWidget)(parent.UnsafePointer()))
return newQsciScintilla(ret)
}
// NewQsciScintilla2 constructs a new QsciScintilla object.
func NewQsciScintilla2(parent *qt.QWidget) *QsciScintilla {
ret := C.QsciScintilla_new2((*C.QWidget)(parent.UnsafePointer()))
func NewQsciScintilla2() *QsciScintilla {
ret := C.QsciScintilla_new2()
return newQsciScintilla(ret)
}

View File

@ -49,8 +49,8 @@ typedef struct QsciStyle QsciStyle;
typedef struct QsciStyledText QsciStyledText;
#endif
QsciScintilla* QsciScintilla_new();
QsciScintilla* QsciScintilla_new2(QWidget* parent);
QsciScintilla* QsciScintilla_new(QWidget* parent);
QsciScintilla* QsciScintilla_new2();
QMetaObject* QsciScintilla_MetaObject(const QsciScintilla* self);
void* QsciScintilla_Metacast(QsciScintilla* self, const char* param1);
struct miqt_string QsciScintilla_Tr(const char* s);

View File

@ -14,12 +14,12 @@
#include "gen_qsciscintillabase.h"
#include "_cgo_export.h"
QsciScintillaBase* QsciScintillaBase_new() {
return new QsciScintillaBase();
QsciScintillaBase* QsciScintillaBase_new(QWidget* parent) {
return new QsciScintillaBase(parent);
}
QsciScintillaBase* QsciScintillaBase_new2(QWidget* parent) {
return new QsciScintillaBase(parent);
QsciScintillaBase* QsciScintillaBase_new2() {
return new QsciScintillaBase();
}
QMetaObject* QsciScintillaBase_MetaObject(const QsciScintillaBase* self) {

View File

@ -1217,14 +1217,14 @@ func UnsafeNewQsciScintillaBase(h unsafe.Pointer) *QsciScintillaBase {
}
// NewQsciScintillaBase constructs a new QsciScintillaBase object.
func NewQsciScintillaBase() *QsciScintillaBase {
ret := C.QsciScintillaBase_new()
func NewQsciScintillaBase(parent *qt.QWidget) *QsciScintillaBase {
ret := C.QsciScintillaBase_new((*C.QWidget)(parent.UnsafePointer()))
return newQsciScintillaBase(ret)
}
// NewQsciScintillaBase2 constructs a new QsciScintillaBase object.
func NewQsciScintillaBase2(parent *qt.QWidget) *QsciScintillaBase {
ret := C.QsciScintillaBase_new2((*C.QWidget)(parent.UnsafePointer()))
func NewQsciScintillaBase2() *QsciScintillaBase {
ret := C.QsciScintillaBase_new2()
return newQsciScintillaBase(ret)
}

View File

@ -37,8 +37,8 @@ typedef struct QWidget QWidget;
typedef struct QsciScintillaBase QsciScintillaBase;
#endif
QsciScintillaBase* QsciScintillaBase_new();
QsciScintillaBase* QsciScintillaBase_new2(QWidget* parent);
QsciScintillaBase* QsciScintillaBase_new(QWidget* parent);
QsciScintillaBase* QsciScintillaBase_new2();
QMetaObject* QsciScintillaBase_MetaObject(const QsciScintillaBase* self);
void* QsciScintillaBase_Metacast(QsciScintillaBase* self, const char* param1);
struct miqt_string QsciScintillaBase_Tr(const char* s);

View File

@ -11,12 +11,12 @@
#include "gen_qabstractscrollarea.h"
#include "_cgo_export.h"
QAbstractScrollArea* QAbstractScrollArea_new() {
return new QAbstractScrollArea();
QAbstractScrollArea* QAbstractScrollArea_new(QWidget* parent) {
return new QAbstractScrollArea(parent);
}
QAbstractScrollArea* QAbstractScrollArea_new2(QWidget* parent) {
return new QAbstractScrollArea(parent);
QAbstractScrollArea* QAbstractScrollArea_new2() {
return new QAbstractScrollArea();
}
QMetaObject* QAbstractScrollArea_MetaObject(const QAbstractScrollArea* self) {

View File

@ -52,14 +52,14 @@ func UnsafeNewQAbstractScrollArea(h unsafe.Pointer) *QAbstractScrollArea {
}
// NewQAbstractScrollArea constructs a new QAbstractScrollArea object.
func NewQAbstractScrollArea() *QAbstractScrollArea {
ret := C.QAbstractScrollArea_new()
func NewQAbstractScrollArea(parent *QWidget) *QAbstractScrollArea {
ret := C.QAbstractScrollArea_new(parent.cPointer())
return newQAbstractScrollArea(ret)
}
// NewQAbstractScrollArea2 constructs a new QAbstractScrollArea object.
func NewQAbstractScrollArea2(parent *QWidget) *QAbstractScrollArea {
ret := C.QAbstractScrollArea_new2(parent.cPointer())
func NewQAbstractScrollArea2() *QAbstractScrollArea {
ret := C.QAbstractScrollArea_new2()
return newQAbstractScrollArea(ret)
}

View File

@ -27,8 +27,8 @@ typedef struct QSize QSize;
typedef struct QWidget QWidget;
#endif
QAbstractScrollArea* QAbstractScrollArea_new();
QAbstractScrollArea* QAbstractScrollArea_new2(QWidget* parent);
QAbstractScrollArea* QAbstractScrollArea_new(QWidget* parent);
QAbstractScrollArea* QAbstractScrollArea_new2();
QMetaObject* QAbstractScrollArea_MetaObject(const QAbstractScrollArea* self);
void* QAbstractScrollArea_Metacast(QAbstractScrollArea* self, const char* param1);
struct miqt_string QAbstractScrollArea_Tr(const char* s);

View File

@ -8,12 +8,12 @@
#include "gen_qabstractslider.h"
#include "_cgo_export.h"
QAbstractSlider* QAbstractSlider_new() {
return new QAbstractSlider();
QAbstractSlider* QAbstractSlider_new(QWidget* parent) {
return new QAbstractSlider(parent);
}
QAbstractSlider* QAbstractSlider_new2(QWidget* parent) {
return new QAbstractSlider(parent);
QAbstractSlider* QAbstractSlider_new2() {
return new QAbstractSlider();
}
QMetaObject* QAbstractSlider_MetaObject(const QAbstractSlider* self) {

View File

@ -58,14 +58,14 @@ func UnsafeNewQAbstractSlider(h unsafe.Pointer) *QAbstractSlider {
}
// NewQAbstractSlider constructs a new QAbstractSlider object.
func NewQAbstractSlider() *QAbstractSlider {
ret := C.QAbstractSlider_new()
func NewQAbstractSlider(parent *QWidget) *QAbstractSlider {
ret := C.QAbstractSlider_new(parent.cPointer())
return newQAbstractSlider(ret)
}
// NewQAbstractSlider2 constructs a new QAbstractSlider object.
func NewQAbstractSlider2(parent *QWidget) *QAbstractSlider {
ret := C.QAbstractSlider_new2(parent.cPointer())
func NewQAbstractSlider2() *QAbstractSlider {
ret := C.QAbstractSlider_new2()
return newQAbstractSlider(ret)
}

View File

@ -23,8 +23,8 @@ typedef struct QMetaObject QMetaObject;
typedef struct QWidget QWidget;
#endif
QAbstractSlider* QAbstractSlider_new();
QAbstractSlider* QAbstractSlider_new2(QWidget* parent);
QAbstractSlider* QAbstractSlider_new(QWidget* parent);
QAbstractSlider* QAbstractSlider_new2();
QMetaObject* QAbstractSlider_MetaObject(const QAbstractSlider* self);
void* QAbstractSlider_Metacast(QAbstractSlider* self, const char* param1);
struct miqt_string QAbstractSlider_Tr(const char* s);

View File

@ -11,12 +11,12 @@
#include "gen_qabstractspinbox.h"
#include "_cgo_export.h"
QAbstractSpinBox* QAbstractSpinBox_new() {
return new QAbstractSpinBox();
QAbstractSpinBox* QAbstractSpinBox_new(QWidget* parent) {
return new QAbstractSpinBox(parent);
}
QAbstractSpinBox* QAbstractSpinBox_new2(QWidget* parent) {
return new QAbstractSpinBox(parent);
QAbstractSpinBox* QAbstractSpinBox_new2() {
return new QAbstractSpinBox();
}
QMetaObject* QAbstractSpinBox_MetaObject(const QAbstractSpinBox* self) {

View File

@ -75,14 +75,14 @@ func UnsafeNewQAbstractSpinBox(h unsafe.Pointer) *QAbstractSpinBox {
}
// NewQAbstractSpinBox constructs a new QAbstractSpinBox object.
func NewQAbstractSpinBox() *QAbstractSpinBox {
ret := C.QAbstractSpinBox_new()
func NewQAbstractSpinBox(parent *QWidget) *QAbstractSpinBox {
ret := C.QAbstractSpinBox_new(parent.cPointer())
return newQAbstractSpinBox(ret)
}
// NewQAbstractSpinBox2 constructs a new QAbstractSpinBox object.
func NewQAbstractSpinBox2(parent *QWidget) *QAbstractSpinBox {
ret := C.QAbstractSpinBox_new2(parent.cPointer())
func NewQAbstractSpinBox2() *QAbstractSpinBox {
ret := C.QAbstractSpinBox_new2()
return newQAbstractSpinBox(ret)
}

View File

@ -29,8 +29,8 @@ typedef struct QVariant QVariant;
typedef struct QWidget QWidget;
#endif
QAbstractSpinBox* QAbstractSpinBox_new();
QAbstractSpinBox* QAbstractSpinBox_new2(QWidget* parent);
QAbstractSpinBox* QAbstractSpinBox_new(QWidget* parent);
QAbstractSpinBox* QAbstractSpinBox_new2();
QMetaObject* QAbstractSpinBox_MetaObject(const QAbstractSpinBox* self);
void* QAbstractSpinBox_Metacast(QAbstractSpinBox* self, const char* param1);
struct miqt_string QAbstractSpinBox_Tr(const char* s);

View File

@ -267,12 +267,12 @@ void QBoxLayout_Delete(QBoxLayout* self) {
delete self;
}
QHBoxLayout* QHBoxLayout_new() {
return new QHBoxLayout();
QHBoxLayout* QHBoxLayout_new(QWidget* parent) {
return new QHBoxLayout(parent);
}
QHBoxLayout* QHBoxLayout_new2(QWidget* parent) {
return new QHBoxLayout(parent);
QHBoxLayout* QHBoxLayout_new2() {
return new QHBoxLayout();
}
QMetaObject* QHBoxLayout_MetaObject(const QHBoxLayout* self) {
@ -353,12 +353,12 @@ void QHBoxLayout_Delete(QHBoxLayout* self) {
delete self;
}
QVBoxLayout* QVBoxLayout_new() {
return new QVBoxLayout();
QVBoxLayout* QVBoxLayout_new(QWidget* parent) {
return new QVBoxLayout(parent);
}
QVBoxLayout* QVBoxLayout_new2(QWidget* parent) {
return new QVBoxLayout(parent);
QVBoxLayout* QVBoxLayout_new2() {
return new QVBoxLayout();
}
QMetaObject* QVBoxLayout_MetaObject(const QVBoxLayout* self) {

View File

@ -356,14 +356,14 @@ func UnsafeNewQHBoxLayout(h unsafe.Pointer) *QHBoxLayout {
}
// NewQHBoxLayout constructs a new QHBoxLayout object.
func NewQHBoxLayout() *QHBoxLayout {
ret := C.QHBoxLayout_new()
func NewQHBoxLayout(parent *QWidget) *QHBoxLayout {
ret := C.QHBoxLayout_new(parent.cPointer())
return newQHBoxLayout(ret)
}
// NewQHBoxLayout2 constructs a new QHBoxLayout object.
func NewQHBoxLayout2(parent *QWidget) *QHBoxLayout {
ret := C.QHBoxLayout_new2(parent.cPointer())
func NewQHBoxLayout2() *QHBoxLayout {
ret := C.QHBoxLayout_new2()
return newQHBoxLayout(ret)
}
@ -484,14 +484,14 @@ func UnsafeNewQVBoxLayout(h unsafe.Pointer) *QVBoxLayout {
}
// NewQVBoxLayout constructs a new QVBoxLayout object.
func NewQVBoxLayout() *QVBoxLayout {
ret := C.QVBoxLayout_new()
func NewQVBoxLayout(parent *QWidget) *QVBoxLayout {
ret := C.QVBoxLayout_new(parent.cPointer())
return newQVBoxLayout(ret)
}
// NewQVBoxLayout2 constructs a new QVBoxLayout object.
func NewQVBoxLayout2(parent *QWidget) *QVBoxLayout {
ret := C.QVBoxLayout_new2(parent.cPointer())
func NewQVBoxLayout2() *QVBoxLayout {
ret := C.QVBoxLayout_new2()
return newQVBoxLayout(ret)
}

View File

@ -90,8 +90,8 @@ void QBoxLayout_InsertWidget4(QBoxLayout* self, int index, QWidget* widget, int
void QBoxLayout_InsertLayout3(QBoxLayout* self, int index, QLayout* layout, int stretch);
void QBoxLayout_Delete(QBoxLayout* self);
QHBoxLayout* QHBoxLayout_new();
QHBoxLayout* QHBoxLayout_new2(QWidget* parent);
QHBoxLayout* QHBoxLayout_new(QWidget* parent);
QHBoxLayout* QHBoxLayout_new2();
QMetaObject* QHBoxLayout_MetaObject(const QHBoxLayout* self);
void* QHBoxLayout_Metacast(QHBoxLayout* self, const char* param1);
struct miqt_string QHBoxLayout_Tr(const char* s);
@ -102,8 +102,8 @@ struct miqt_string QHBoxLayout_TrUtf82(const char* s, const char* c);
struct miqt_string QHBoxLayout_TrUtf83(const char* s, const char* c, int n);
void QHBoxLayout_Delete(QHBoxLayout* self);
QVBoxLayout* QVBoxLayout_new();
QVBoxLayout* QVBoxLayout_new2(QWidget* parent);
QVBoxLayout* QVBoxLayout_new(QWidget* parent);
QVBoxLayout* QVBoxLayout_new2();
QMetaObject* QVBoxLayout_MetaObject(const QVBoxLayout* self);
void* QVBoxLayout_Metacast(QVBoxLayout* self, const char* param1);
struct miqt_string QVBoxLayout_Tr(const char* s);

View File

@ -12,12 +12,12 @@
#include "gen_qcalendarwidget.h"
#include "_cgo_export.h"
QCalendarWidget* QCalendarWidget_new() {
return new QCalendarWidget();
QCalendarWidget* QCalendarWidget_new(QWidget* parent) {
return new QCalendarWidget(parent);
}
QCalendarWidget* QCalendarWidget_new2(QWidget* parent) {
return new QCalendarWidget(parent);
QCalendarWidget* QCalendarWidget_new2() {
return new QCalendarWidget();
}
QMetaObject* QCalendarWidget_MetaObject(const QCalendarWidget* self) {

View File

@ -68,14 +68,14 @@ func UnsafeNewQCalendarWidget(h unsafe.Pointer) *QCalendarWidget {
}
// NewQCalendarWidget constructs a new QCalendarWidget object.
func NewQCalendarWidget() *QCalendarWidget {
ret := C.QCalendarWidget_new()
func NewQCalendarWidget(parent *QWidget) *QCalendarWidget {
ret := C.QCalendarWidget_new(parent.cPointer())
return newQCalendarWidget(ret)
}
// NewQCalendarWidget2 constructs a new QCalendarWidget object.
func NewQCalendarWidget2(parent *QWidget) *QCalendarWidget {
ret := C.QCalendarWidget_new2(parent.cPointer())
func NewQCalendarWidget2() *QCalendarWidget {
ret := C.QCalendarWidget_new2()
return newQCalendarWidget(ret)
}

View File

@ -31,8 +31,8 @@ typedef struct QTextCharFormat QTextCharFormat;
typedef struct QWidget QWidget;
#endif
QCalendarWidget* QCalendarWidget_new();
QCalendarWidget* QCalendarWidget_new2(QWidget* parent);
QCalendarWidget* QCalendarWidget_new(QWidget* parent);
QCalendarWidget* QCalendarWidget_new2();
QMetaObject* QCalendarWidget_MetaObject(const QCalendarWidget* self);
void* QCalendarWidget_Metacast(QCalendarWidget* self, const char* param1);
struct miqt_string QCalendarWidget_Tr(const char* s);

View File

@ -9,19 +9,19 @@
#include "gen_qcheckbox.h"
#include "_cgo_export.h"
QCheckBox* QCheckBox_new() {
QCheckBox* QCheckBox_new(QWidget* parent) {
return new QCheckBox(parent);
}
QCheckBox* QCheckBox_new2() {
return new QCheckBox();
}
QCheckBox* QCheckBox_new2(struct miqt_string text) {
QCheckBox* QCheckBox_new3(struct miqt_string text) {
QString text_QString = QString::fromUtf8(text.data, text.len);
return new QCheckBox(text_QString);
}
QCheckBox* QCheckBox_new3(QWidget* parent) {
return new QCheckBox(parent);
}
QCheckBox* QCheckBox_new4(struct miqt_string text, QWidget* parent) {
QString text_QString = QString::fromUtf8(text.data, text.len);
return new QCheckBox(text_QString, parent);

View File

@ -45,24 +45,24 @@ func UnsafeNewQCheckBox(h unsafe.Pointer) *QCheckBox {
}
// NewQCheckBox constructs a new QCheckBox object.
func NewQCheckBox() *QCheckBox {
ret := C.QCheckBox_new()
func NewQCheckBox(parent *QWidget) *QCheckBox {
ret := C.QCheckBox_new(parent.cPointer())
return newQCheckBox(ret)
}
// NewQCheckBox2 constructs a new QCheckBox object.
func NewQCheckBox2(text string) *QCheckBox {
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))
ret := C.QCheckBox_new2(text_ms)
func NewQCheckBox2() *QCheckBox {
ret := C.QCheckBox_new2()
return newQCheckBox(ret)
}
// NewQCheckBox3 constructs a new QCheckBox object.
func NewQCheckBox3(parent *QWidget) *QCheckBox {
ret := C.QCheckBox_new3(parent.cPointer())
func NewQCheckBox3(text string) *QCheckBox {
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))
ret := C.QCheckBox_new3(text_ms)
return newQCheckBox(ret)
}

View File

@ -25,9 +25,9 @@ typedef struct QSize QSize;
typedef struct QWidget QWidget;
#endif
QCheckBox* QCheckBox_new();
QCheckBox* QCheckBox_new2(struct miqt_string text);
QCheckBox* QCheckBox_new3(QWidget* parent);
QCheckBox* QCheckBox_new(QWidget* parent);
QCheckBox* QCheckBox_new2();
QCheckBox* QCheckBox_new3(struct miqt_string text);
QCheckBox* QCheckBox_new4(struct miqt_string text, QWidget* parent);
QMetaObject* QCheckBox_MetaObject(const QCheckBox* self);
void* QCheckBox_Metacast(QCheckBox* self, const char* param1);

View File

@ -9,18 +9,18 @@
#include "gen_qcolordialog.h"
#include "_cgo_export.h"
QColorDialog* QColorDialog_new() {
QColorDialog* QColorDialog_new(QWidget* parent) {
return new QColorDialog(parent);
}
QColorDialog* QColorDialog_new2() {
return new QColorDialog();
}
QColorDialog* QColorDialog_new2(QColor* initial) {
QColorDialog* QColorDialog_new3(QColor* initial) {
return new QColorDialog(*initial);
}
QColorDialog* QColorDialog_new3(QWidget* parent) {
return new QColorDialog(parent);
}
QColorDialog* QColorDialog_new4(QColor* initial, QWidget* parent) {
return new QColorDialog(*initial, parent);
}

View File

@ -53,20 +53,20 @@ func UnsafeNewQColorDialog(h unsafe.Pointer) *QColorDialog {
}
// NewQColorDialog constructs a new QColorDialog object.
func NewQColorDialog() *QColorDialog {
ret := C.QColorDialog_new()
func NewQColorDialog(parent *QWidget) *QColorDialog {
ret := C.QColorDialog_new(parent.cPointer())
return newQColorDialog(ret)
}
// NewQColorDialog2 constructs a new QColorDialog object.
func NewQColorDialog2(initial *QColor) *QColorDialog {
ret := C.QColorDialog_new2(initial.cPointer())
func NewQColorDialog2() *QColorDialog {
ret := C.QColorDialog_new2()
return newQColorDialog(ret)
}
// NewQColorDialog3 constructs a new QColorDialog object.
func NewQColorDialog3(parent *QWidget) *QColorDialog {
ret := C.QColorDialog_new3(parent.cPointer())
func NewQColorDialog3(initial *QColor) *QColorDialog {
ret := C.QColorDialog_new3(initial.cPointer())
return newQColorDialog(ret)
}

View File

@ -25,9 +25,9 @@ typedef struct QMetaObject QMetaObject;
typedef struct QWidget QWidget;
#endif
QColorDialog* QColorDialog_new();
QColorDialog* QColorDialog_new2(QColor* initial);
QColorDialog* QColorDialog_new3(QWidget* parent);
QColorDialog* QColorDialog_new(QWidget* parent);
QColorDialog* QColorDialog_new2();
QColorDialog* QColorDialog_new3(QColor* initial);
QColorDialog* QColorDialog_new4(QColor* initial, QWidget* parent);
QMetaObject* QColorDialog_MetaObject(const QColorDialog* self);
void* QColorDialog_Metacast(QColorDialog* self, const char* param1);

View File

@ -15,12 +15,12 @@
#include "gen_qcolumnview.h"
#include "_cgo_export.h"
QColumnView* QColumnView_new() {
return new QColumnView();
QColumnView* QColumnView_new(QWidget* parent) {
return new QColumnView(parent);
}
QColumnView* QColumnView_new2(QWidget* parent) {
return new QColumnView(parent);
QColumnView* QColumnView_new2() {
return new QColumnView();
}
QMetaObject* QColumnView_MetaObject(const QColumnView* self) {

View File

@ -45,14 +45,14 @@ func UnsafeNewQColumnView(h unsafe.Pointer) *QColumnView {
}
// NewQColumnView constructs a new QColumnView object.
func NewQColumnView() *QColumnView {
ret := C.QColumnView_new()
func NewQColumnView(parent *QWidget) *QColumnView {
ret := C.QColumnView_new(parent.cPointer())
return newQColumnView(ret)
}
// NewQColumnView2 constructs a new QColumnView object.
func NewQColumnView2(parent *QWidget) *QColumnView {
ret := C.QColumnView_new2(parent.cPointer())
func NewQColumnView2() *QColumnView {
ret := C.QColumnView_new2()
return newQColumnView(ret)
}

View File

@ -35,8 +35,8 @@ typedef struct QSize QSize;
typedef struct QWidget QWidget;
#endif
QColumnView* QColumnView_new();
QColumnView* QColumnView_new2(QWidget* parent);
QColumnView* QColumnView_new(QWidget* parent);
QColumnView* QColumnView_new2();
QMetaObject* QColumnView_MetaObject(const QColumnView* self);
void* QColumnView_Metacast(QColumnView* self, const char* param1);
struct miqt_string QColumnView_Tr(const char* s);

View File

@ -20,12 +20,12 @@
#include "gen_qcombobox.h"
#include "_cgo_export.h"
QComboBox* QComboBox_new() {
return new QComboBox();
QComboBox* QComboBox_new(QWidget* parent) {
return new QComboBox(parent);
}
QComboBox* QComboBox_new2(QWidget* parent) {
return new QComboBox(parent);
QComboBox* QComboBox_new2() {
return new QComboBox();
}
QMetaObject* QComboBox_MetaObject(const QComboBox* self) {

View File

@ -66,14 +66,14 @@ func UnsafeNewQComboBox(h unsafe.Pointer) *QComboBox {
}
// NewQComboBox constructs a new QComboBox object.
func NewQComboBox() *QComboBox {
ret := C.QComboBox_new()
func NewQComboBox(parent *QWidget) *QComboBox {
ret := C.QComboBox_new(parent.cPointer())
return newQComboBox(ret)
}
// NewQComboBox2 constructs a new QComboBox object.
func NewQComboBox2(parent *QWidget) *QComboBox {
ret := C.QComboBox_new2(parent.cPointer())
func NewQComboBox2() *QComboBox {
ret := C.QComboBox_new2()
return newQComboBox(ret)
}

View File

@ -45,8 +45,8 @@ typedef struct QVariant QVariant;
typedef struct QWidget QWidget;
#endif
QComboBox* QComboBox_new();
QComboBox* QComboBox_new2(QWidget* parent);
QComboBox* QComboBox_new(QWidget* parent);
QComboBox* QComboBox_new2();
QMetaObject* QComboBox_MetaObject(const QComboBox* self);
void* QComboBox_Metacast(QComboBox* self, const char* param1);
struct miqt_string QComboBox_Tr(const char* s);

View File

@ -8,25 +8,25 @@
#include "gen_qcommandlinkbutton.h"
#include "_cgo_export.h"
QCommandLinkButton* QCommandLinkButton_new() {
QCommandLinkButton* QCommandLinkButton_new(QWidget* parent) {
return new QCommandLinkButton(parent);
}
QCommandLinkButton* QCommandLinkButton_new2() {
return new QCommandLinkButton();
}
QCommandLinkButton* QCommandLinkButton_new2(struct miqt_string text) {
QCommandLinkButton* QCommandLinkButton_new3(struct miqt_string text) {
QString text_QString = QString::fromUtf8(text.data, text.len);
return new QCommandLinkButton(text_QString);
}
QCommandLinkButton* QCommandLinkButton_new3(struct miqt_string text, struct miqt_string description) {
QCommandLinkButton* QCommandLinkButton_new4(struct miqt_string text, struct miqt_string description) {
QString text_QString = QString::fromUtf8(text.data, text.len);
QString description_QString = QString::fromUtf8(description.data, description.len);
return new QCommandLinkButton(text_QString, description_QString);
}
QCommandLinkButton* QCommandLinkButton_new4(QWidget* parent) {
return new QCommandLinkButton(parent);
}
QCommandLinkButton* QCommandLinkButton_new5(struct miqt_string text, QWidget* parent) {
QString text_QString = QString::fromUtf8(text.data, text.len);
return new QCommandLinkButton(text_QString, parent);

View File

@ -44,23 +44,29 @@ func UnsafeNewQCommandLinkButton(h unsafe.Pointer) *QCommandLinkButton {
}
// NewQCommandLinkButton constructs a new QCommandLinkButton object.
func NewQCommandLinkButton() *QCommandLinkButton {
ret := C.QCommandLinkButton_new()
func NewQCommandLinkButton(parent *QWidget) *QCommandLinkButton {
ret := C.QCommandLinkButton_new(parent.cPointer())
return newQCommandLinkButton(ret)
}
// NewQCommandLinkButton2 constructs a new QCommandLinkButton object.
func NewQCommandLinkButton2(text string) *QCommandLinkButton {
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))
ret := C.QCommandLinkButton_new2(text_ms)
func NewQCommandLinkButton2() *QCommandLinkButton {
ret := C.QCommandLinkButton_new2()
return newQCommandLinkButton(ret)
}
// NewQCommandLinkButton3 constructs a new QCommandLinkButton object.
func NewQCommandLinkButton3(text string, description string) *QCommandLinkButton {
func NewQCommandLinkButton3(text string) *QCommandLinkButton {
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))
ret := C.QCommandLinkButton_new3(text_ms)
return newQCommandLinkButton(ret)
}
// NewQCommandLinkButton4 constructs a new QCommandLinkButton object.
func NewQCommandLinkButton4(text string, description string) *QCommandLinkButton {
text_ms := C.struct_miqt_string{}
text_ms.data = C.CString(text)
text_ms.len = C.size_t(len(text))
@ -69,13 +75,7 @@ func NewQCommandLinkButton3(text string, description string) *QCommandLinkButton
description_ms.data = C.CString(description)
description_ms.len = C.size_t(len(description))
defer C.free(unsafe.Pointer(description_ms.data))
ret := C.QCommandLinkButton_new3(text_ms, description_ms)
return newQCommandLinkButton(ret)
}
// NewQCommandLinkButton4 constructs a new QCommandLinkButton object.
func NewQCommandLinkButton4(parent *QWidget) *QCommandLinkButton {
ret := C.QCommandLinkButton_new4(parent.cPointer())
ret := C.QCommandLinkButton_new4(text_ms, description_ms)
return newQCommandLinkButton(ret)
}

View File

@ -23,10 +23,10 @@ typedef struct QMetaObject QMetaObject;
typedef struct QWidget QWidget;
#endif
QCommandLinkButton* QCommandLinkButton_new();
QCommandLinkButton* QCommandLinkButton_new2(struct miqt_string text);
QCommandLinkButton* QCommandLinkButton_new3(struct miqt_string text, struct miqt_string description);
QCommandLinkButton* QCommandLinkButton_new4(QWidget* parent);
QCommandLinkButton* QCommandLinkButton_new(QWidget* parent);
QCommandLinkButton* QCommandLinkButton_new2();
QCommandLinkButton* QCommandLinkButton_new3(struct miqt_string text);
QCommandLinkButton* QCommandLinkButton_new4(struct miqt_string text, struct miqt_string description);
QCommandLinkButton* QCommandLinkButton_new5(struct miqt_string text, QWidget* parent);
QCommandLinkButton* QCommandLinkButton_new6(struct miqt_string text, struct miqt_string description, QWidget* parent);
QMetaObject* QCommandLinkButton_MetaObject(const QCommandLinkButton* self);

View File

@ -17,26 +17,26 @@
#include "gen_qdatetimeedit.h"
#include "_cgo_export.h"
QDateTimeEdit* QDateTimeEdit_new() {
QDateTimeEdit* QDateTimeEdit_new(QWidget* parent) {
return new QDateTimeEdit(parent);
}
QDateTimeEdit* QDateTimeEdit_new2() {
return new QDateTimeEdit();
}
QDateTimeEdit* QDateTimeEdit_new2(QDateTime* dt) {
QDateTimeEdit* QDateTimeEdit_new3(QDateTime* dt) {
return new QDateTimeEdit(*dt);
}
QDateTimeEdit* QDateTimeEdit_new3(QDate* d) {
QDateTimeEdit* QDateTimeEdit_new4(QDate* d) {
return new QDateTimeEdit(*d);
}
QDateTimeEdit* QDateTimeEdit_new4(QTime* t) {
QDateTimeEdit* QDateTimeEdit_new5(QTime* t) {
return new QDateTimeEdit(*t);
}
QDateTimeEdit* QDateTimeEdit_new5(QWidget* parent) {
return new QDateTimeEdit(parent);
}
QDateTimeEdit* QDateTimeEdit_new6(QDateTime* dt, QWidget* parent) {
return new QDateTimeEdit(*dt, parent);
}
@ -385,18 +385,18 @@ void QDateTimeEdit_Delete(QDateTimeEdit* self) {
delete self;
}
QTimeEdit* QTimeEdit_new() {
QTimeEdit* QTimeEdit_new(QWidget* parent) {
return new QTimeEdit(parent);
}
QTimeEdit* QTimeEdit_new2() {
return new QTimeEdit();
}
QTimeEdit* QTimeEdit_new2(QTime* time) {
QTimeEdit* QTimeEdit_new3(QTime* time) {
return new QTimeEdit(*time);
}
QTimeEdit* QTimeEdit_new3(QWidget* parent) {
return new QTimeEdit(parent);
}
QTimeEdit* QTimeEdit_new4(QTime* time, QWidget* parent) {
return new QTimeEdit(*time, parent);
}
@ -492,18 +492,18 @@ void QTimeEdit_Delete(QTimeEdit* self) {
delete self;
}
QDateEdit* QDateEdit_new() {
QDateEdit* QDateEdit_new(QWidget* parent) {
return new QDateEdit(parent);
}
QDateEdit* QDateEdit_new2() {
return new QDateEdit();
}
QDateEdit* QDateEdit_new2(QDate* date) {
QDateEdit* QDateEdit_new3(QDate* date) {
return new QDateEdit(*date);
}
QDateEdit* QDateEdit_new3(QWidget* parent) {
return new QDateEdit(parent);
}
QDateEdit* QDateEdit_new4(QDate* date, QWidget* parent) {
return new QDateEdit(*date, parent);
}

View File

@ -61,32 +61,32 @@ func UnsafeNewQDateTimeEdit(h unsafe.Pointer) *QDateTimeEdit {
}
// NewQDateTimeEdit constructs a new QDateTimeEdit object.
func NewQDateTimeEdit() *QDateTimeEdit {
ret := C.QDateTimeEdit_new()
func NewQDateTimeEdit(parent *QWidget) *QDateTimeEdit {
ret := C.QDateTimeEdit_new(parent.cPointer())
return newQDateTimeEdit(ret)
}
// NewQDateTimeEdit2 constructs a new QDateTimeEdit object.
func NewQDateTimeEdit2(dt *QDateTime) *QDateTimeEdit {
ret := C.QDateTimeEdit_new2(dt.cPointer())
func NewQDateTimeEdit2() *QDateTimeEdit {
ret := C.QDateTimeEdit_new2()
return newQDateTimeEdit(ret)
}
// NewQDateTimeEdit3 constructs a new QDateTimeEdit object.
func NewQDateTimeEdit3(d *QDate) *QDateTimeEdit {
ret := C.QDateTimeEdit_new3(d.cPointer())
func NewQDateTimeEdit3(dt *QDateTime) *QDateTimeEdit {
ret := C.QDateTimeEdit_new3(dt.cPointer())
return newQDateTimeEdit(ret)
}
// NewQDateTimeEdit4 constructs a new QDateTimeEdit object.
func NewQDateTimeEdit4(t *QTime) *QDateTimeEdit {
ret := C.QDateTimeEdit_new4(t.cPointer())
func NewQDateTimeEdit4(d *QDate) *QDateTimeEdit {
ret := C.QDateTimeEdit_new4(d.cPointer())
return newQDateTimeEdit(ret)
}
// NewQDateTimeEdit5 constructs a new QDateTimeEdit object.
func NewQDateTimeEdit5(parent *QWidget) *QDateTimeEdit {
ret := C.QDateTimeEdit_new5(parent.cPointer())
func NewQDateTimeEdit5(t *QTime) *QDateTimeEdit {
ret := C.QDateTimeEdit_new5(t.cPointer())
return newQDateTimeEdit(ret)
}
@ -528,20 +528,20 @@ func UnsafeNewQTimeEdit(h unsafe.Pointer) *QTimeEdit {
}
// NewQTimeEdit constructs a new QTimeEdit object.
func NewQTimeEdit() *QTimeEdit {
ret := C.QTimeEdit_new()
func NewQTimeEdit(parent *QWidget) *QTimeEdit {
ret := C.QTimeEdit_new(parent.cPointer())
return newQTimeEdit(ret)
}
// NewQTimeEdit2 constructs a new QTimeEdit object.
func NewQTimeEdit2(time *QTime) *QTimeEdit {
ret := C.QTimeEdit_new2(time.cPointer())
func NewQTimeEdit2() *QTimeEdit {
ret := C.QTimeEdit_new2()
return newQTimeEdit(ret)
}
// NewQTimeEdit3 constructs a new QTimeEdit object.
func NewQTimeEdit3(parent *QWidget) *QTimeEdit {
ret := C.QTimeEdit_new3(parent.cPointer())
func NewQTimeEdit3(time *QTime) *QTimeEdit {
ret := C.QTimeEdit_new3(time.cPointer())
return newQTimeEdit(ret)
}
@ -688,20 +688,20 @@ func UnsafeNewQDateEdit(h unsafe.Pointer) *QDateEdit {
}
// NewQDateEdit constructs a new QDateEdit object.
func NewQDateEdit() *QDateEdit {
ret := C.QDateEdit_new()
func NewQDateEdit(parent *QWidget) *QDateEdit {
ret := C.QDateEdit_new(parent.cPointer())
return newQDateEdit(ret)
}
// NewQDateEdit2 constructs a new QDateEdit object.
func NewQDateEdit2(date *QDate) *QDateEdit {
ret := C.QDateEdit_new2(date.cPointer())
func NewQDateEdit2() *QDateEdit {
ret := C.QDateEdit_new2()
return newQDateEdit(ret)
}
// NewQDateEdit3 constructs a new QDateEdit object.
func NewQDateEdit3(parent *QWidget) *QDateEdit {
ret := C.QDateEdit_new3(parent.cPointer())
func NewQDateEdit3(date *QDate) *QDateEdit {
ret := C.QDateEdit_new3(date.cPointer())
return newQDateEdit(ret)
}

View File

@ -41,11 +41,11 @@ typedef struct QTimeEdit QTimeEdit;
typedef struct QWidget QWidget;
#endif
QDateTimeEdit* QDateTimeEdit_new();
QDateTimeEdit* QDateTimeEdit_new2(QDateTime* dt);
QDateTimeEdit* QDateTimeEdit_new3(QDate* d);
QDateTimeEdit* QDateTimeEdit_new4(QTime* t);
QDateTimeEdit* QDateTimeEdit_new5(QWidget* parent);
QDateTimeEdit* QDateTimeEdit_new(QWidget* parent);
QDateTimeEdit* QDateTimeEdit_new2();
QDateTimeEdit* QDateTimeEdit_new3(QDateTime* dt);
QDateTimeEdit* QDateTimeEdit_new4(QDate* d);
QDateTimeEdit* QDateTimeEdit_new5(QTime* t);
QDateTimeEdit* QDateTimeEdit_new6(QDateTime* dt, QWidget* parent);
QDateTimeEdit* QDateTimeEdit_new7(QDate* d, QWidget* parent);
QDateTimeEdit* QDateTimeEdit_new8(QTime* t, QWidget* parent);
@ -115,9 +115,9 @@ struct miqt_string QDateTimeEdit_TrUtf82(const char* s, const char* c);
struct miqt_string QDateTimeEdit_TrUtf83(const char* s, const char* c, int n);
void QDateTimeEdit_Delete(QDateTimeEdit* self);
QTimeEdit* QTimeEdit_new();
QTimeEdit* QTimeEdit_new2(QTime* time);
QTimeEdit* QTimeEdit_new3(QWidget* parent);
QTimeEdit* QTimeEdit_new(QWidget* parent);
QTimeEdit* QTimeEdit_new2();
QTimeEdit* QTimeEdit_new3(QTime* time);
QTimeEdit* QTimeEdit_new4(QTime* time, QWidget* parent);
QMetaObject* QTimeEdit_MetaObject(const QTimeEdit* self);
void* QTimeEdit_Metacast(QTimeEdit* self, const char* param1);
@ -131,9 +131,9 @@ struct miqt_string QTimeEdit_TrUtf82(const char* s, const char* c);
struct miqt_string QTimeEdit_TrUtf83(const char* s, const char* c, int n);
void QTimeEdit_Delete(QTimeEdit* self);
QDateEdit* QDateEdit_new();
QDateEdit* QDateEdit_new2(QDate* date);
QDateEdit* QDateEdit_new3(QWidget* parent);
QDateEdit* QDateEdit_new(QWidget* parent);
QDateEdit* QDateEdit_new2();
QDateEdit* QDateEdit_new3(QDate* date);
QDateEdit* QDateEdit_new4(QDate* date, QWidget* parent);
QMetaObject* QDateEdit_MetaObject(const QDateEdit* self);
void* QDateEdit_Metacast(QDateEdit* self, const char* param1);

View File

@ -9,12 +9,12 @@
#include "gen_qdial.h"
#include "_cgo_export.h"
QDial* QDial_new() {
return new QDial();
QDial* QDial_new(QWidget* parent) {
return new QDial(parent);
}
QDial* QDial_new2(QWidget* parent) {
return new QDial(parent);
QDial* QDial_new2() {
return new QDial();
}
QMetaObject* QDial_MetaObject(const QDial* self) {

View File

@ -44,14 +44,14 @@ func UnsafeNewQDial(h unsafe.Pointer) *QDial {
}
// NewQDial constructs a new QDial object.
func NewQDial() *QDial {
ret := C.QDial_new()
func NewQDial(parent *QWidget) *QDial {
ret := C.QDial_new(parent.cPointer())
return newQDial(ret)
}
// NewQDial2 constructs a new QDial object.
func NewQDial2(parent *QWidget) *QDial {
ret := C.QDial_new2(parent.cPointer())
func NewQDial2() *QDial {
ret := C.QDial_new2()
return newQDial(ret)
}

View File

@ -25,8 +25,8 @@ typedef struct QSize QSize;
typedef struct QWidget QWidget;
#endif
QDial* QDial_new();
QDial* QDial_new2(QWidget* parent);
QDial* QDial_new(QWidget* parent);
QDial* QDial_new2();
QMetaObject* QDial_MetaObject(const QDial* self);
void* QDial_Metacast(QDial* self, const char* param1);
struct miqt_string QDial_Tr(const char* s);

View File

@ -9,12 +9,12 @@
#include "gen_qdialog.h"
#include "_cgo_export.h"
QDialog* QDialog_new() {
return new QDialog();
QDialog* QDialog_new(QWidget* parent) {
return new QDialog(parent);
}
QDialog* QDialog_new2(QWidget* parent) {
return new QDialog(parent);
QDialog* QDialog_new2() {
return new QDialog();
}
QDialog* QDialog_new3(QWidget* parent, int f) {

View File

@ -52,14 +52,14 @@ func UnsafeNewQDialog(h unsafe.Pointer) *QDialog {
}
// NewQDialog constructs a new QDialog object.
func NewQDialog() *QDialog {
ret := C.QDialog_new()
func NewQDialog(parent *QWidget) *QDialog {
ret := C.QDialog_new(parent.cPointer())
return newQDialog(ret)
}
// NewQDialog2 constructs a new QDialog object.
func NewQDialog2(parent *QWidget) *QDialog {
ret := C.QDialog_new2(parent.cPointer())
func NewQDialog2() *QDialog {
ret := C.QDialog_new2()
return newQDialog(ret)
}

View File

@ -25,8 +25,8 @@ typedef struct QSize QSize;
typedef struct QWidget QWidget;
#endif
QDialog* QDialog_new();
QDialog* QDialog_new2(QWidget* parent);
QDialog* QDialog_new(QWidget* parent);
QDialog* QDialog_new2();
QDialog* QDialog_new3(QWidget* parent, int f);
QMetaObject* QDialog_MetaObject(const QDialog* self);
void* QDialog_Metacast(QDialog* self, const char* param1);

View File

@ -11,26 +11,26 @@
#include "gen_qdialogbuttonbox.h"
#include "_cgo_export.h"
QDialogButtonBox* QDialogButtonBox_new() {
QDialogButtonBox* QDialogButtonBox_new(QWidget* parent) {
return new QDialogButtonBox(parent);
}
QDialogButtonBox* QDialogButtonBox_new2() {
return new QDialogButtonBox();
}
QDialogButtonBox* QDialogButtonBox_new2(int orientation) {
QDialogButtonBox* QDialogButtonBox_new3(int orientation) {
return new QDialogButtonBox(static_cast<Qt::Orientation>(orientation));
}
QDialogButtonBox* QDialogButtonBox_new3(int buttons) {
QDialogButtonBox* QDialogButtonBox_new4(int buttons) {
return new QDialogButtonBox(static_cast<QDialogButtonBox::StandardButtons>(buttons));
}
QDialogButtonBox* QDialogButtonBox_new4(int buttons, int orientation) {
QDialogButtonBox* QDialogButtonBox_new5(int buttons, int orientation) {
return new QDialogButtonBox(static_cast<QDialogButtonBox::StandardButtons>(buttons), static_cast<Qt::Orientation>(orientation));
}
QDialogButtonBox* QDialogButtonBox_new5(QWidget* parent) {
return new QDialogButtonBox(parent);
}
QDialogButtonBox* QDialogButtonBox_new6(int orientation, QWidget* parent) {
return new QDialogButtonBox(static_cast<Qt::Orientation>(orientation), parent);
}

View File

@ -97,32 +97,32 @@ func UnsafeNewQDialogButtonBox(h unsafe.Pointer) *QDialogButtonBox {
}
// NewQDialogButtonBox constructs a new QDialogButtonBox object.
func NewQDialogButtonBox() *QDialogButtonBox {
ret := C.QDialogButtonBox_new()
func NewQDialogButtonBox(parent *QWidget) *QDialogButtonBox {
ret := C.QDialogButtonBox_new(parent.cPointer())
return newQDialogButtonBox(ret)
}
// NewQDialogButtonBox2 constructs a new QDialogButtonBox object.
func NewQDialogButtonBox2(orientation Orientation) *QDialogButtonBox {
ret := C.QDialogButtonBox_new2((C.int)(orientation))
func NewQDialogButtonBox2() *QDialogButtonBox {
ret := C.QDialogButtonBox_new2()
return newQDialogButtonBox(ret)
}
// NewQDialogButtonBox3 constructs a new QDialogButtonBox object.
func NewQDialogButtonBox3(buttons QDialogButtonBox__StandardButton) *QDialogButtonBox {
ret := C.QDialogButtonBox_new3((C.int)(buttons))
func NewQDialogButtonBox3(orientation Orientation) *QDialogButtonBox {
ret := C.QDialogButtonBox_new3((C.int)(orientation))
return newQDialogButtonBox(ret)
}
// NewQDialogButtonBox4 constructs a new QDialogButtonBox object.
func NewQDialogButtonBox4(buttons QDialogButtonBox__StandardButton, orientation Orientation) *QDialogButtonBox {
ret := C.QDialogButtonBox_new4((C.int)(buttons), (C.int)(orientation))
func NewQDialogButtonBox4(buttons QDialogButtonBox__StandardButton) *QDialogButtonBox {
ret := C.QDialogButtonBox_new4((C.int)(buttons))
return newQDialogButtonBox(ret)
}
// NewQDialogButtonBox5 constructs a new QDialogButtonBox object.
func NewQDialogButtonBox5(parent *QWidget) *QDialogButtonBox {
ret := C.QDialogButtonBox_new5(parent.cPointer())
func NewQDialogButtonBox5(buttons QDialogButtonBox__StandardButton, orientation Orientation) *QDialogButtonBox {
ret := C.QDialogButtonBox_new5((C.int)(buttons), (C.int)(orientation))
return newQDialogButtonBox(ret)
}

View File

@ -27,11 +27,11 @@ typedef struct QPushButton QPushButton;
typedef struct QWidget QWidget;
#endif
QDialogButtonBox* QDialogButtonBox_new();
QDialogButtonBox* QDialogButtonBox_new2(int orientation);
QDialogButtonBox* QDialogButtonBox_new3(int buttons);
QDialogButtonBox* QDialogButtonBox_new4(int buttons, int orientation);
QDialogButtonBox* QDialogButtonBox_new5(QWidget* parent);
QDialogButtonBox* QDialogButtonBox_new(QWidget* parent);
QDialogButtonBox* QDialogButtonBox_new2();
QDialogButtonBox* QDialogButtonBox_new3(int orientation);
QDialogButtonBox* QDialogButtonBox_new4(int buttons);
QDialogButtonBox* QDialogButtonBox_new5(int buttons, int orientation);
QDialogButtonBox* QDialogButtonBox_new6(int orientation, QWidget* parent);
QDialogButtonBox* QDialogButtonBox_new7(int buttons, QWidget* parent);
QDialogButtonBox* QDialogButtonBox_new8(int buttons, int orientation, QWidget* parent);

View File

@ -9,29 +9,29 @@
#include "gen_qdockwidget.h"
#include "_cgo_export.h"
QDockWidget* QDockWidget_new(struct miqt_string title) {
QDockWidget* QDockWidget_new(QWidget* parent) {
return new QDockWidget(parent);
}
QDockWidget* QDockWidget_new2(struct miqt_string title) {
QString title_QString = QString::fromUtf8(title.data, title.len);
return new QDockWidget(title_QString);
}
QDockWidget* QDockWidget_new2() {
QDockWidget* QDockWidget_new3() {
return new QDockWidget();
}
QDockWidget* QDockWidget_new3(struct miqt_string title, QWidget* parent) {
QDockWidget* QDockWidget_new4(struct miqt_string title, QWidget* parent) {
QString title_QString = QString::fromUtf8(title.data, title.len);
return new QDockWidget(title_QString, parent);
}
QDockWidget* QDockWidget_new4(struct miqt_string title, QWidget* parent, int flags) {
QDockWidget* QDockWidget_new5(struct miqt_string title, QWidget* parent, int flags) {
QString title_QString = QString::fromUtf8(title.data, title.len);
return new QDockWidget(title_QString, parent, static_cast<Qt::WindowFlags>(flags));
}
QDockWidget* QDockWidget_new5(QWidget* parent) {
return new QDockWidget(parent);
}
QDockWidget* QDockWidget_new6(QWidget* parent, int flags) {
return new QDockWidget(parent, static_cast<Qt::WindowFlags>(flags));
}

View File

@ -58,44 +58,44 @@ func UnsafeNewQDockWidget(h unsafe.Pointer) *QDockWidget {
}
// NewQDockWidget constructs a new QDockWidget object.
func NewQDockWidget(title string) *QDockWidget {
title_ms := C.struct_miqt_string{}
title_ms.data = C.CString(title)
title_ms.len = C.size_t(len(title))
defer C.free(unsafe.Pointer(title_ms.data))
ret := C.QDockWidget_new(title_ms)
func NewQDockWidget(parent *QWidget) *QDockWidget {
ret := C.QDockWidget_new(parent.cPointer())
return newQDockWidget(ret)
}
// NewQDockWidget2 constructs a new QDockWidget object.
func NewQDockWidget2() *QDockWidget {
ret := C.QDockWidget_new2()
func NewQDockWidget2(title string) *QDockWidget {
title_ms := C.struct_miqt_string{}
title_ms.data = C.CString(title)
title_ms.len = C.size_t(len(title))
defer C.free(unsafe.Pointer(title_ms.data))
ret := C.QDockWidget_new2(title_ms)
return newQDockWidget(ret)
}
// NewQDockWidget3 constructs a new QDockWidget object.
func NewQDockWidget3(title string, parent *QWidget) *QDockWidget {
title_ms := C.struct_miqt_string{}
title_ms.data = C.CString(title)
title_ms.len = C.size_t(len(title))
defer C.free(unsafe.Pointer(title_ms.data))
ret := C.QDockWidget_new3(title_ms, parent.cPointer())
func NewQDockWidget3() *QDockWidget {
ret := C.QDockWidget_new3()
return newQDockWidget(ret)
}
// NewQDockWidget4 constructs a new QDockWidget object.
func NewQDockWidget4(title string, parent *QWidget, flags WindowType) *QDockWidget {
func NewQDockWidget4(title string, parent *QWidget) *QDockWidget {
title_ms := C.struct_miqt_string{}
title_ms.data = C.CString(title)
title_ms.len = C.size_t(len(title))
defer C.free(unsafe.Pointer(title_ms.data))
ret := C.QDockWidget_new4(title_ms, parent.cPointer(), (C.int)(flags))
ret := C.QDockWidget_new4(title_ms, parent.cPointer())
return newQDockWidget(ret)
}
// NewQDockWidget5 constructs a new QDockWidget object.
func NewQDockWidget5(parent *QWidget) *QDockWidget {
ret := C.QDockWidget_new5(parent.cPointer())
func NewQDockWidget5(title string, parent *QWidget, flags WindowType) *QDockWidget {
title_ms := C.struct_miqt_string{}
title_ms.data = C.CString(title)
title_ms.len = C.size_t(len(title))
defer C.free(unsafe.Pointer(title_ms.data))
ret := C.QDockWidget_new5(title_ms, parent.cPointer(), (C.int)(flags))
return newQDockWidget(ret)
}

View File

@ -25,11 +25,11 @@ typedef struct QMetaObject QMetaObject;
typedef struct QWidget QWidget;
#endif
QDockWidget* QDockWidget_new(struct miqt_string title);
QDockWidget* QDockWidget_new2();
QDockWidget* QDockWidget_new3(struct miqt_string title, QWidget* parent);
QDockWidget* QDockWidget_new4(struct miqt_string title, QWidget* parent, int flags);
QDockWidget* QDockWidget_new5(QWidget* parent);
QDockWidget* QDockWidget_new(QWidget* parent);
QDockWidget* QDockWidget_new2(struct miqt_string title);
QDockWidget* QDockWidget_new3();
QDockWidget* QDockWidget_new4(struct miqt_string title, QWidget* parent);
QDockWidget* QDockWidget_new5(struct miqt_string title, QWidget* parent, int flags);
QDockWidget* QDockWidget_new6(QWidget* parent, int flags);
QMetaObject* QDockWidget_MetaObject(const QDockWidget* self);
void* QDockWidget_Metacast(QDockWidget* self, const char* param1);

View File

@ -8,12 +8,12 @@
#include "gen_qerrormessage.h"
#include "_cgo_export.h"
QErrorMessage* QErrorMessage_new() {
return new QErrorMessage();
QErrorMessage* QErrorMessage_new(QWidget* parent) {
return new QErrorMessage(parent);
}
QErrorMessage* QErrorMessage_new2(QWidget* parent) {
return new QErrorMessage(parent);
QErrorMessage* QErrorMessage_new2() {
return new QErrorMessage();
}
QMetaObject* QErrorMessage_MetaObject(const QErrorMessage* self) {

View File

@ -44,14 +44,14 @@ func UnsafeNewQErrorMessage(h unsafe.Pointer) *QErrorMessage {
}
// NewQErrorMessage constructs a new QErrorMessage object.
func NewQErrorMessage() *QErrorMessage {
ret := C.QErrorMessage_new()
func NewQErrorMessage(parent *QWidget) *QErrorMessage {
ret := C.QErrorMessage_new(parent.cPointer())
return newQErrorMessage(ret)
}
// NewQErrorMessage2 constructs a new QErrorMessage object.
func NewQErrorMessage2(parent *QWidget) *QErrorMessage {
ret := C.QErrorMessage_new2(parent.cPointer())
func NewQErrorMessage2() *QErrorMessage {
ret := C.QErrorMessage_new2()
return newQErrorMessage(ret)
}

View File

@ -23,8 +23,8 @@ typedef struct QMetaObject QMetaObject;
typedef struct QWidget QWidget;
#endif
QErrorMessage* QErrorMessage_new();
QErrorMessage* QErrorMessage_new2(QWidget* parent);
QErrorMessage* QErrorMessage_new(QWidget* parent);
QErrorMessage* QErrorMessage_new2();
QMetaObject* QErrorMessage_MetaObject(const QErrorMessage* self);
void* QErrorMessage_Metacast(QErrorMessage* self, const char* param1);
struct miqt_string QErrorMessage_Tr(const char* s);

View File

@ -15,18 +15,18 @@
#include "gen_qfiledialog.h"
#include "_cgo_export.h"
QFileDialog* QFileDialog_new(QWidget* parent, int f) {
QFileDialog* QFileDialog_new(QWidget* parent) {
return new QFileDialog(parent);
}
QFileDialog* QFileDialog_new2(QWidget* parent, int f) {
return new QFileDialog(parent, static_cast<Qt::WindowFlags>(f));
}
QFileDialog* QFileDialog_new2() {
QFileDialog* QFileDialog_new3() {
return new QFileDialog();
}
QFileDialog* QFileDialog_new3(QWidget* parent) {
return new QFileDialog(parent);
}
QFileDialog* QFileDialog_new4(QWidget* parent, struct miqt_string caption) {
QString caption_QString = QString::fromUtf8(caption.data, caption.len);
return new QFileDialog(parent, caption_QString);

View File

@ -92,20 +92,20 @@ func UnsafeNewQFileDialog(h unsafe.Pointer) *QFileDialog {
}
// NewQFileDialog constructs a new QFileDialog object.
func NewQFileDialog(parent *QWidget, f WindowType) *QFileDialog {
ret := C.QFileDialog_new(parent.cPointer(), (C.int)(f))
func NewQFileDialog(parent *QWidget) *QFileDialog {
ret := C.QFileDialog_new(parent.cPointer())
return newQFileDialog(ret)
}
// NewQFileDialog2 constructs a new QFileDialog object.
func NewQFileDialog2() *QFileDialog {
ret := C.QFileDialog_new2()
func NewQFileDialog2(parent *QWidget, f WindowType) *QFileDialog {
ret := C.QFileDialog_new2(parent.cPointer(), (C.int)(f))
return newQFileDialog(ret)
}
// NewQFileDialog3 constructs a new QFileDialog object.
func NewQFileDialog3(parent *QWidget) *QFileDialog {
ret := C.QFileDialog_new3(parent.cPointer())
func NewQFileDialog3() *QFileDialog {
ret := C.QFileDialog_new3()
return newQFileDialog(ret)
}

View File

@ -35,9 +35,9 @@ typedef struct QUrl QUrl;
typedef struct QWidget QWidget;
#endif
QFileDialog* QFileDialog_new(QWidget* parent, int f);
QFileDialog* QFileDialog_new2();
QFileDialog* QFileDialog_new3(QWidget* parent);
QFileDialog* QFileDialog_new(QWidget* parent);
QFileDialog* QFileDialog_new2(QWidget* parent, int f);
QFileDialog* QFileDialog_new3();
QFileDialog* QFileDialog_new4(QWidget* parent, struct miqt_string caption);
QFileDialog* QFileDialog_new5(QWidget* parent, struct miqt_string caption, struct miqt_string directory);
QFileDialog* QFileDialog_new6(QWidget* parent, struct miqt_string caption, struct miqt_string directory, struct miqt_string filter);

View File

@ -8,12 +8,12 @@
#include "gen_qfocusframe.h"
#include "_cgo_export.h"
QFocusFrame* QFocusFrame_new() {
return new QFocusFrame();
QFocusFrame* QFocusFrame_new(QWidget* parent) {
return new QFocusFrame(parent);
}
QFocusFrame* QFocusFrame_new2(QWidget* parent) {
return new QFocusFrame(parent);
QFocusFrame* QFocusFrame_new2() {
return new QFocusFrame();
}
QMetaObject* QFocusFrame_MetaObject(const QFocusFrame* self) {

View File

@ -44,14 +44,14 @@ func UnsafeNewQFocusFrame(h unsafe.Pointer) *QFocusFrame {
}
// NewQFocusFrame constructs a new QFocusFrame object.
func NewQFocusFrame() *QFocusFrame {
ret := C.QFocusFrame_new()
func NewQFocusFrame(parent *QWidget) *QFocusFrame {
ret := C.QFocusFrame_new(parent.cPointer())
return newQFocusFrame(ret)
}
// NewQFocusFrame2 constructs a new QFocusFrame object.
func NewQFocusFrame2(parent *QWidget) *QFocusFrame {
ret := C.QFocusFrame_new2(parent.cPointer())
func NewQFocusFrame2() *QFocusFrame {
ret := C.QFocusFrame_new2()
return newQFocusFrame(ret)
}

View File

@ -23,8 +23,8 @@ typedef struct QMetaObject QMetaObject;
typedef struct QWidget QWidget;
#endif
QFocusFrame* QFocusFrame_new();
QFocusFrame* QFocusFrame_new2(QWidget* parent);
QFocusFrame* QFocusFrame_new(QWidget* parent);
QFocusFrame* QFocusFrame_new2();
QMetaObject* QFocusFrame_MetaObject(const QFocusFrame* self);
void* QFocusFrame_Metacast(QFocusFrame* self, const char* param1);
struct miqt_string QFocusFrame_Tr(const char* s);

View File

@ -10,12 +10,12 @@
#include "gen_qfontcombobox.h"
#include "_cgo_export.h"
QFontComboBox* QFontComboBox_new() {
return new QFontComboBox();
QFontComboBox* QFontComboBox_new(QWidget* parent) {
return new QFontComboBox(parent);
}
QFontComboBox* QFontComboBox_new2(QWidget* parent) {
return new QFontComboBox(parent);
QFontComboBox* QFontComboBox_new2() {
return new QFontComboBox();
}
QMetaObject* QFontComboBox_MetaObject(const QFontComboBox* self) {

View File

@ -55,14 +55,14 @@ func UnsafeNewQFontComboBox(h unsafe.Pointer) *QFontComboBox {
}
// NewQFontComboBox constructs a new QFontComboBox object.
func NewQFontComboBox() *QFontComboBox {
ret := C.QFontComboBox_new()
func NewQFontComboBox(parent *QWidget) *QFontComboBox {
ret := C.QFontComboBox_new(parent.cPointer())
return newQFontComboBox(ret)
}
// NewQFontComboBox2 constructs a new QFontComboBox object.
func NewQFontComboBox2(parent *QWidget) *QFontComboBox {
ret := C.QFontComboBox_new2(parent.cPointer())
func NewQFontComboBox2() *QFontComboBox {
ret := C.QFontComboBox_new2()
return newQFontComboBox(ret)
}

View File

@ -27,8 +27,8 @@ typedef struct QSize QSize;
typedef struct QWidget QWidget;
#endif
QFontComboBox* QFontComboBox_new();
QFontComboBox* QFontComboBox_new2(QWidget* parent);
QFontComboBox* QFontComboBox_new(QWidget* parent);
QFontComboBox* QFontComboBox_new2();
QMetaObject* QFontComboBox_MetaObject(const QFontComboBox* self);
void* QFontComboBox_Metacast(QFontComboBox* self, const char* param1);
struct miqt_string QFontComboBox_Tr(const char* s);

View File

@ -9,18 +9,18 @@
#include "gen_qfontdialog.h"
#include "_cgo_export.h"
QFontDialog* QFontDialog_new() {
QFontDialog* QFontDialog_new(QWidget* parent) {
return new QFontDialog(parent);
}
QFontDialog* QFontDialog_new2() {
return new QFontDialog();
}
QFontDialog* QFontDialog_new2(QFont* initial) {
QFontDialog* QFontDialog_new3(QFont* initial) {
return new QFontDialog(*initial);
}
QFontDialog* QFontDialog_new3(QWidget* parent) {
return new QFontDialog(parent);
}
QFontDialog* QFontDialog_new4(QFont* initial, QWidget* parent) {
return new QFontDialog(*initial, parent);
}

View File

@ -56,20 +56,20 @@ func UnsafeNewQFontDialog(h unsafe.Pointer) *QFontDialog {
}
// NewQFontDialog constructs a new QFontDialog object.
func NewQFontDialog() *QFontDialog {
ret := C.QFontDialog_new()
func NewQFontDialog(parent *QWidget) *QFontDialog {
ret := C.QFontDialog_new(parent.cPointer())
return newQFontDialog(ret)
}
// NewQFontDialog2 constructs a new QFontDialog object.
func NewQFontDialog2(initial *QFont) *QFontDialog {
ret := C.QFontDialog_new2(initial.cPointer())
func NewQFontDialog2() *QFontDialog {
ret := C.QFontDialog_new2()
return newQFontDialog(ret)
}
// NewQFontDialog3 constructs a new QFontDialog object.
func NewQFontDialog3(parent *QWidget) *QFontDialog {
ret := C.QFontDialog_new3(parent.cPointer())
func NewQFontDialog3(initial *QFont) *QFontDialog {
ret := C.QFontDialog_new3(initial.cPointer())
return newQFontDialog(ret)
}

View File

@ -25,9 +25,9 @@ typedef struct QMetaObject QMetaObject;
typedef struct QWidget QWidget;
#endif
QFontDialog* QFontDialog_new();
QFontDialog* QFontDialog_new2(QFont* initial);
QFontDialog* QFontDialog_new3(QWidget* parent);
QFontDialog* QFontDialog_new(QWidget* parent);
QFontDialog* QFontDialog_new2();
QFontDialog* QFontDialog_new3(QFont* initial);
QFontDialog* QFontDialog_new4(QFont* initial, QWidget* parent);
QMetaObject* QFontDialog_MetaObject(const QFontDialog* self);
void* QFontDialog_Metacast(QFontDialog* self, const char* param1);

View File

@ -13,12 +13,12 @@
#include "gen_qformlayout.h"
#include "_cgo_export.h"
QFormLayout* QFormLayout_new() {
return new QFormLayout();
QFormLayout* QFormLayout_new(QWidget* parent) {
return new QFormLayout(parent);
}
QFormLayout* QFormLayout_new2(QWidget* parent) {
return new QFormLayout(parent);
QFormLayout* QFormLayout_new2() {
return new QFormLayout();
}
QMetaObject* QFormLayout_MetaObject(const QFormLayout* self) {

View File

@ -68,14 +68,14 @@ func UnsafeNewQFormLayout(h unsafe.Pointer) *QFormLayout {
}
// NewQFormLayout constructs a new QFormLayout object.
func NewQFormLayout() *QFormLayout {
ret := C.QFormLayout_new()
func NewQFormLayout(parent *QWidget) *QFormLayout {
ret := C.QFormLayout_new(parent.cPointer())
return newQFormLayout(ret)
}
// NewQFormLayout2 constructs a new QFormLayout object.
func NewQFormLayout2(parent *QWidget) *QFormLayout {
ret := C.QFormLayout_new2(parent.cPointer())
func NewQFormLayout2() *QFormLayout {
ret := C.QFormLayout_new2()
return newQFormLayout(ret)
}

View File

@ -37,8 +37,8 @@ typedef struct QSize QSize;
typedef struct QWidget QWidget;
#endif
QFormLayout* QFormLayout_new();
QFormLayout* QFormLayout_new2(QWidget* parent);
QFormLayout* QFormLayout_new(QWidget* parent);
QFormLayout* QFormLayout_new2();
QMetaObject* QFormLayout_MetaObject(const QFormLayout* self);
void* QFormLayout_Metacast(QFormLayout* self, const char* param1);
struct miqt_string QFormLayout_Tr(const char* s);

View File

@ -10,12 +10,12 @@
#include "gen_qframe.h"
#include "_cgo_export.h"
QFrame* QFrame_new() {
return new QFrame();
QFrame* QFrame_new(QWidget* parent) {
return new QFrame(parent);
}
QFrame* QFrame_new2(QWidget* parent) {
return new QFrame(parent);
QFrame* QFrame_new2() {
return new QFrame();
}
QFrame* QFrame_new3(QWidget* parent, int f) {

View File

@ -71,14 +71,14 @@ func UnsafeNewQFrame(h unsafe.Pointer) *QFrame {
}
// NewQFrame constructs a new QFrame object.
func NewQFrame() *QFrame {
ret := C.QFrame_new()
func NewQFrame(parent *QWidget) *QFrame {
ret := C.QFrame_new(parent.cPointer())
return newQFrame(ret)
}
// NewQFrame2 constructs a new QFrame object.
func NewQFrame2(parent *QWidget) *QFrame {
ret := C.QFrame_new2(parent.cPointer())
func NewQFrame2() *QFrame {
ret := C.QFrame_new2()
return newQFrame(ret)
}

View File

@ -27,8 +27,8 @@ typedef struct QSize QSize;
typedef struct QWidget QWidget;
#endif
QFrame* QFrame_new();
QFrame* QFrame_new2(QWidget* parent);
QFrame* QFrame_new(QWidget* parent);
QFrame* QFrame_new2();
QFrame* QFrame_new3(QWidget* parent, int f);
QMetaObject* QFrame_MetaObject(const QFrame* self);
void* QFrame_Metacast(QFrame* self, const char* param1);

View File

@ -22,18 +22,18 @@
#include "gen_qgraphicsview.h"
#include "_cgo_export.h"
QGraphicsView* QGraphicsView_new() {
QGraphicsView* QGraphicsView_new(QWidget* parent) {
return new QGraphicsView(parent);
}
QGraphicsView* QGraphicsView_new2() {
return new QGraphicsView();
}
QGraphicsView* QGraphicsView_new2(QGraphicsScene* scene) {
QGraphicsView* QGraphicsView_new3(QGraphicsScene* scene) {
return new QGraphicsView(scene);
}
QGraphicsView* QGraphicsView_new3(QWidget* parent) {
return new QGraphicsView(parent);
}
QGraphicsView* QGraphicsView_new4(QGraphicsScene* scene, QWidget* parent) {
return new QGraphicsView(scene, parent);
}

View File

@ -87,20 +87,20 @@ func UnsafeNewQGraphicsView(h unsafe.Pointer) *QGraphicsView {
}
// NewQGraphicsView constructs a new QGraphicsView object.
func NewQGraphicsView() *QGraphicsView {
ret := C.QGraphicsView_new()
func NewQGraphicsView(parent *QWidget) *QGraphicsView {
ret := C.QGraphicsView_new(parent.cPointer())
return newQGraphicsView(ret)
}
// NewQGraphicsView2 constructs a new QGraphicsView object.
func NewQGraphicsView2(scene *QGraphicsScene) *QGraphicsView {
ret := C.QGraphicsView_new2(scene.cPointer())
func NewQGraphicsView2() *QGraphicsView {
ret := C.QGraphicsView_new2()
return newQGraphicsView(ret)
}
// NewQGraphicsView3 constructs a new QGraphicsView object.
func NewQGraphicsView3(parent *QWidget) *QGraphicsView {
ret := C.QGraphicsView_new3(parent.cPointer())
func NewQGraphicsView3(scene *QGraphicsScene) *QGraphicsView {
ret := C.QGraphicsView_new3(scene.cPointer())
return newQGraphicsView(ret)
}

View File

@ -49,9 +49,9 @@ typedef struct QVariant QVariant;
typedef struct QWidget QWidget;
#endif
QGraphicsView* QGraphicsView_new();
QGraphicsView* QGraphicsView_new2(QGraphicsScene* scene);
QGraphicsView* QGraphicsView_new3(QWidget* parent);
QGraphicsView* QGraphicsView_new(QWidget* parent);
QGraphicsView* QGraphicsView_new2();
QGraphicsView* QGraphicsView_new3(QGraphicsScene* scene);
QGraphicsView* QGraphicsView_new4(QGraphicsScene* scene, QWidget* parent);
QMetaObject* QGraphicsView_MetaObject(const QGraphicsView* self);
void* QGraphicsView_Metacast(QGraphicsView* self, const char* param1);

View File

@ -9,19 +9,19 @@
#include "gen_qgroupbox.h"
#include "_cgo_export.h"
QGroupBox* QGroupBox_new() {
QGroupBox* QGroupBox_new(QWidget* parent) {
return new QGroupBox(parent);
}
QGroupBox* QGroupBox_new2() {
return new QGroupBox();
}
QGroupBox* QGroupBox_new2(struct miqt_string title) {
QGroupBox* QGroupBox_new3(struct miqt_string title) {
QString title_QString = QString::fromUtf8(title.data, title.len);
return new QGroupBox(title_QString);
}
QGroupBox* QGroupBox_new3(QWidget* parent) {
return new QGroupBox(parent);
}
QGroupBox* QGroupBox_new4(struct miqt_string title, QWidget* parent) {
QString title_QString = QString::fromUtf8(title.data, title.len);
return new QGroupBox(title_QString, parent);

View File

@ -45,24 +45,24 @@ func UnsafeNewQGroupBox(h unsafe.Pointer) *QGroupBox {
}
// NewQGroupBox constructs a new QGroupBox object.
func NewQGroupBox() *QGroupBox {
ret := C.QGroupBox_new()
func NewQGroupBox(parent *QWidget) *QGroupBox {
ret := C.QGroupBox_new(parent.cPointer())
return newQGroupBox(ret)
}
// NewQGroupBox2 constructs a new QGroupBox object.
func NewQGroupBox2(title string) *QGroupBox {
title_ms := C.struct_miqt_string{}
title_ms.data = C.CString(title)
title_ms.len = C.size_t(len(title))
defer C.free(unsafe.Pointer(title_ms.data))
ret := C.QGroupBox_new2(title_ms)
func NewQGroupBox2() *QGroupBox {
ret := C.QGroupBox_new2()
return newQGroupBox(ret)
}
// NewQGroupBox3 constructs a new QGroupBox object.
func NewQGroupBox3(parent *QWidget) *QGroupBox {
ret := C.QGroupBox_new3(parent.cPointer())
func NewQGroupBox3(title string) *QGroupBox {
title_ms := C.struct_miqt_string{}
title_ms.data = C.CString(title)
title_ms.len = C.size_t(len(title))
defer C.free(unsafe.Pointer(title_ms.data))
ret := C.QGroupBox_new3(title_ms)
return newQGroupBox(ret)
}

View File

@ -25,9 +25,9 @@ typedef struct QSize QSize;
typedef struct QWidget QWidget;
#endif
QGroupBox* QGroupBox_new();
QGroupBox* QGroupBox_new2(struct miqt_string title);
QGroupBox* QGroupBox_new3(QWidget* parent);
QGroupBox* QGroupBox_new(QWidget* parent);
QGroupBox* QGroupBox_new2();
QGroupBox* QGroupBox_new3(struct miqt_string title);
QGroupBox* QGroupBox_new4(struct miqt_string title, QWidget* parent);
QMetaObject* QGroupBox_MetaObject(const QGroupBox* self);
void* QGroupBox_Metacast(QGroupBox* self, const char* param1);

View File

@ -10,12 +10,12 @@
#include "gen_qinputdialog.h"
#include "_cgo_export.h"
QInputDialog* QInputDialog_new() {
return new QInputDialog();
QInputDialog* QInputDialog_new(QWidget* parent) {
return new QInputDialog(parent);
}
QInputDialog* QInputDialog_new2(QWidget* parent) {
return new QInputDialog(parent);
QInputDialog* QInputDialog_new2() {
return new QInputDialog();
}
QInputDialog* QInputDialog_new3(QWidget* parent, int flags) {

View File

@ -61,14 +61,14 @@ func UnsafeNewQInputDialog(h unsafe.Pointer) *QInputDialog {
}
// NewQInputDialog constructs a new QInputDialog object.
func NewQInputDialog() *QInputDialog {
ret := C.QInputDialog_new()
func NewQInputDialog(parent *QWidget) *QInputDialog {
ret := C.QInputDialog_new(parent.cPointer())
return newQInputDialog(ret)
}
// NewQInputDialog2 constructs a new QInputDialog object.
func NewQInputDialog2(parent *QWidget) *QInputDialog {
ret := C.QInputDialog_new2(parent.cPointer())
func NewQInputDialog2() *QInputDialog {
ret := C.QInputDialog_new2()
return newQInputDialog(ret)
}

View File

@ -25,8 +25,8 @@ typedef struct QSize QSize;
typedef struct QWidget QWidget;
#endif
QInputDialog* QInputDialog_new();
QInputDialog* QInputDialog_new2(QWidget* parent);
QInputDialog* QInputDialog_new(QWidget* parent);
QInputDialog* QInputDialog_new2();
QInputDialog* QInputDialog_new3(QWidget* parent, int flags);
QMetaObject* QInputDialog_MetaObject(const QInputDialog* self);
void* QInputDialog_Metacast(QInputDialog* self, const char* param1);

View File

@ -9,18 +9,18 @@
#include "gen_qkeysequenceedit.h"
#include "_cgo_export.h"
QKeySequenceEdit* QKeySequenceEdit_new() {
QKeySequenceEdit* QKeySequenceEdit_new(QWidget* parent) {
return new QKeySequenceEdit(parent);
}
QKeySequenceEdit* QKeySequenceEdit_new2() {
return new QKeySequenceEdit();
}
QKeySequenceEdit* QKeySequenceEdit_new2(QKeySequence* keySequence) {
QKeySequenceEdit* QKeySequenceEdit_new3(QKeySequence* keySequence) {
return new QKeySequenceEdit(*keySequence);
}
QKeySequenceEdit* QKeySequenceEdit_new3(QWidget* parent) {
return new QKeySequenceEdit(parent);
}
QKeySequenceEdit* QKeySequenceEdit_new4(QKeySequence* keySequence, QWidget* parent) {
return new QKeySequenceEdit(*keySequence, parent);
}

View File

@ -45,20 +45,20 @@ func UnsafeNewQKeySequenceEdit(h unsafe.Pointer) *QKeySequenceEdit {
}
// NewQKeySequenceEdit constructs a new QKeySequenceEdit object.
func NewQKeySequenceEdit() *QKeySequenceEdit {
ret := C.QKeySequenceEdit_new()
func NewQKeySequenceEdit(parent *QWidget) *QKeySequenceEdit {
ret := C.QKeySequenceEdit_new(parent.cPointer())
return newQKeySequenceEdit(ret)
}
// NewQKeySequenceEdit2 constructs a new QKeySequenceEdit object.
func NewQKeySequenceEdit2(keySequence *QKeySequence) *QKeySequenceEdit {
ret := C.QKeySequenceEdit_new2(keySequence.cPointer())
func NewQKeySequenceEdit2() *QKeySequenceEdit {
ret := C.QKeySequenceEdit_new2()
return newQKeySequenceEdit(ret)
}
// NewQKeySequenceEdit3 constructs a new QKeySequenceEdit object.
func NewQKeySequenceEdit3(parent *QWidget) *QKeySequenceEdit {
ret := C.QKeySequenceEdit_new3(parent.cPointer())
func NewQKeySequenceEdit3(keySequence *QKeySequence) *QKeySequenceEdit {
ret := C.QKeySequenceEdit_new3(keySequence.cPointer())
return newQKeySequenceEdit(ret)
}

View File

@ -25,9 +25,9 @@ typedef struct QMetaObject QMetaObject;
typedef struct QWidget QWidget;
#endif
QKeySequenceEdit* QKeySequenceEdit_new();
QKeySequenceEdit* QKeySequenceEdit_new2(QKeySequence* keySequence);
QKeySequenceEdit* QKeySequenceEdit_new3(QWidget* parent);
QKeySequenceEdit* QKeySequenceEdit_new(QWidget* parent);
QKeySequenceEdit* QKeySequenceEdit_new2();
QKeySequenceEdit* QKeySequenceEdit_new3(QKeySequence* keySequence);
QKeySequenceEdit* QKeySequenceEdit_new4(QKeySequence* keySequence, QWidget* parent);
QMetaObject* QKeySequenceEdit_MetaObject(const QKeySequenceEdit* self);
void* QKeySequenceEdit_Metacast(QKeySequenceEdit* self, const char* param1);

View File

@ -12,19 +12,19 @@
#include "gen_qlabel.h"
#include "_cgo_export.h"
QLabel* QLabel_new() {
QLabel* QLabel_new(QWidget* parent) {
return new QLabel(parent);
}
QLabel* QLabel_new2() {
return new QLabel();
}
QLabel* QLabel_new2(struct miqt_string text) {
QLabel* QLabel_new3(struct miqt_string text) {
QString text_QString = QString::fromUtf8(text.data, text.len);
return new QLabel(text_QString);
}
QLabel* QLabel_new3(QWidget* parent) {
return new QLabel(parent);
}
QLabel* QLabel_new4(QWidget* parent, int f) {
return new QLabel(parent, static_cast<Qt::WindowFlags>(f));
}

View File

@ -45,24 +45,24 @@ func UnsafeNewQLabel(h unsafe.Pointer) *QLabel {
}
// NewQLabel constructs a new QLabel object.
func NewQLabel() *QLabel {
ret := C.QLabel_new()
func NewQLabel(parent *QWidget) *QLabel {
ret := C.QLabel_new(parent.cPointer())
return newQLabel(ret)
}
// NewQLabel2 constructs a new QLabel object.
func NewQLabel2(text string) *QLabel {
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))
ret := C.QLabel_new2(text_ms)
func NewQLabel2() *QLabel {
ret := C.QLabel_new2()
return newQLabel(ret)
}
// NewQLabel3 constructs a new QLabel object.
func NewQLabel3(parent *QWidget) *QLabel {
ret := C.QLabel_new3(parent.cPointer())
func NewQLabel3(text string) *QLabel {
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))
ret := C.QLabel_new3(text_ms)
return newQLabel(ret)
}

View File

@ -31,9 +31,9 @@ typedef struct QSize QSize;
typedef struct QWidget QWidget;
#endif
QLabel* QLabel_new();
QLabel* QLabel_new2(struct miqt_string text);
QLabel* QLabel_new3(QWidget* parent);
QLabel* QLabel_new(QWidget* parent);
QLabel* QLabel_new2();
QLabel* QLabel_new3(struct miqt_string text);
QLabel* QLabel_new4(QWidget* parent, int f);
QLabel* QLabel_new5(struct miqt_string text, QWidget* parent);
QLabel* QLabel_new6(struct miqt_string text, QWidget* parent, int f);

View File

@ -9,18 +9,18 @@
#include "gen_qlcdnumber.h"
#include "_cgo_export.h"
QLCDNumber* QLCDNumber_new() {
QLCDNumber* QLCDNumber_new(QWidget* parent) {
return new QLCDNumber(parent);
}
QLCDNumber* QLCDNumber_new2() {
return new QLCDNumber();
}
QLCDNumber* QLCDNumber_new2(unsigned int numDigits) {
QLCDNumber* QLCDNumber_new3(unsigned int numDigits) {
return new QLCDNumber(static_cast<uint>(numDigits));
}
QLCDNumber* QLCDNumber_new3(QWidget* parent) {
return new QLCDNumber(parent);
}
QLCDNumber* QLCDNumber_new4(unsigned int numDigits, QWidget* parent) {
return new QLCDNumber(static_cast<uint>(numDigits), parent);
}

View File

@ -62,20 +62,20 @@ func UnsafeNewQLCDNumber(h unsafe.Pointer) *QLCDNumber {
}
// NewQLCDNumber constructs a new QLCDNumber object.
func NewQLCDNumber() *QLCDNumber {
ret := C.QLCDNumber_new()
func NewQLCDNumber(parent *QWidget) *QLCDNumber {
ret := C.QLCDNumber_new(parent.cPointer())
return newQLCDNumber(ret)
}
// NewQLCDNumber2 constructs a new QLCDNumber object.
func NewQLCDNumber2(numDigits uint) *QLCDNumber {
ret := C.QLCDNumber_new2((C.uint)(numDigits))
func NewQLCDNumber2() *QLCDNumber {
ret := C.QLCDNumber_new2()
return newQLCDNumber(ret)
}
// NewQLCDNumber3 constructs a new QLCDNumber object.
func NewQLCDNumber3(parent *QWidget) *QLCDNumber {
ret := C.QLCDNumber_new3(parent.cPointer())
func NewQLCDNumber3(numDigits uint) *QLCDNumber {
ret := C.QLCDNumber_new3((C.uint)(numDigits))
return newQLCDNumber(ret)
}

View File

@ -25,9 +25,9 @@ typedef struct QSize QSize;
typedef struct QWidget QWidget;
#endif
QLCDNumber* QLCDNumber_new();
QLCDNumber* QLCDNumber_new2(unsigned int numDigits);
QLCDNumber* QLCDNumber_new3(QWidget* parent);
QLCDNumber* QLCDNumber_new(QWidget* parent);
QLCDNumber* QLCDNumber_new2();
QLCDNumber* QLCDNumber_new3(unsigned int numDigits);
QLCDNumber* QLCDNumber_new4(unsigned int numDigits, QWidget* parent);
QMetaObject* QLCDNumber_MetaObject(const QLCDNumber* self);
void* QLCDNumber_Metacast(QLCDNumber* self, const char* param1);

View File

@ -18,19 +18,19 @@
#include "gen_qlineedit.h"
#include "_cgo_export.h"
QLineEdit* QLineEdit_new() {
QLineEdit* QLineEdit_new(QWidget* parent) {
return new QLineEdit(parent);
}
QLineEdit* QLineEdit_new2() {
return new QLineEdit();
}
QLineEdit* QLineEdit_new2(struct miqt_string param1) {
QLineEdit* QLineEdit_new3(struct miqt_string param1) {
QString param1_QString = QString::fromUtf8(param1.data, param1.len);
return new QLineEdit(param1_QString);
}
QLineEdit* QLineEdit_new3(QWidget* parent) {
return new QLineEdit(parent);
}
QLineEdit* QLineEdit_new4(struct miqt_string param1, QWidget* parent) {
QString param1_QString = QString::fromUtf8(param1.data, param1.len);
return new QLineEdit(param1_QString, parent);

View File

@ -61,24 +61,24 @@ func UnsafeNewQLineEdit(h unsafe.Pointer) *QLineEdit {
}
// NewQLineEdit constructs a new QLineEdit object.
func NewQLineEdit() *QLineEdit {
ret := C.QLineEdit_new()
func NewQLineEdit(parent *QWidget) *QLineEdit {
ret := C.QLineEdit_new(parent.cPointer())
return newQLineEdit(ret)
}
// NewQLineEdit2 constructs a new QLineEdit object.
func NewQLineEdit2(param1 string) *QLineEdit {
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))
ret := C.QLineEdit_new2(param1_ms)
func NewQLineEdit2() *QLineEdit {
ret := C.QLineEdit_new2()
return newQLineEdit(ret)
}
// NewQLineEdit3 constructs a new QLineEdit object.
func NewQLineEdit3(parent *QWidget) *QLineEdit {
ret := C.QLineEdit_new3(parent.cPointer())
func NewQLineEdit3(param1 string) *QLineEdit {
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))
ret := C.QLineEdit_new3(param1_ms)
return newQLineEdit(ret)
}

View File

@ -43,9 +43,9 @@ typedef struct QVariant QVariant;
typedef struct QWidget QWidget;
#endif
QLineEdit* QLineEdit_new();
QLineEdit* QLineEdit_new2(struct miqt_string param1);
QLineEdit* QLineEdit_new3(QWidget* parent);
QLineEdit* QLineEdit_new(QWidget* parent);
QLineEdit* QLineEdit_new2();
QLineEdit* QLineEdit_new3(struct miqt_string param1);
QLineEdit* QLineEdit_new4(struct miqt_string param1, QWidget* parent);
QMetaObject* QLineEdit_MetaObject(const QLineEdit* self);
void* QLineEdit_Metacast(QLineEdit* self, const char* param1);

View File

@ -13,12 +13,12 @@
#include "gen_qlistview.h"
#include "_cgo_export.h"
QListView* QListView_new() {
return new QListView();
QListView* QListView_new(QWidget* parent) {
return new QListView(parent);
}
QListView* QListView_new2(QWidget* parent) {
return new QListView(parent);
QListView* QListView_new2() {
return new QListView();
}
QMetaObject* QListView_MetaObject(const QListView* self) {

View File

@ -81,14 +81,14 @@ func UnsafeNewQListView(h unsafe.Pointer) *QListView {
}
// NewQListView constructs a new QListView object.
func NewQListView() *QListView {
ret := C.QListView_new()
func NewQListView(parent *QWidget) *QListView {
ret := C.QListView_new(parent.cPointer())
return newQListView(ret)
}
// NewQListView2 constructs a new QListView object.
func NewQListView2(parent *QWidget) *QListView {
ret := C.QListView_new2(parent.cPointer())
func NewQListView2() *QListView {
ret := C.QListView_new2()
return newQListView(ret)
}

View File

@ -31,8 +31,8 @@ typedef struct QSize QSize;
typedef struct QWidget QWidget;
#endif
QListView* QListView_new();
QListView* QListView_new2(QWidget* parent);
QListView* QListView_new(QWidget* parent);
QListView* QListView_new2();
QMetaObject* QListView_MetaObject(const QListView* self);
void* QListView_Metacast(QListView* self, const char* param1);
struct miqt_string QListView_Tr(const char* s);

View File

@ -269,12 +269,12 @@ void QListWidgetItem_Delete(QListWidgetItem* self) {
delete self;
}
QListWidget* QListWidget_new() {
return new QListWidget();
QListWidget* QListWidget_new(QWidget* parent) {
return new QListWidget(parent);
}
QListWidget* QListWidget_new2(QWidget* parent) {
return new QListWidget(parent);
QListWidget* QListWidget_new2() {
return new QListWidget();
}
QMetaObject* QListWidget_MetaObject(const QListWidget* self) {

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