qt: rebuild (base class pointers)

This commit is contained in:
mappu 2024-12-07 17:15:57 +13:00
parent 5a7a46e28f
commit 26d3e8170e
3145 changed files with 37192 additions and 60556 deletions

View File

@ -64,24 +64,20 @@
#include "gen_ScintillaEdit.h" #include "gen_ScintillaEdit.h"
#include "_cgo_export.h" #include "_cgo_export.h"
void Scintilla__Internal__Point_new(Scintilla__Internal__Point** outptr_Scintilla__Internal__Point) { Scintilla__Internal__Point* Scintilla__Internal__Point_new() {
Scintilla::Internal::Point* ret = new Scintilla::Internal::Point(); return new Scintilla::Internal::Point();
*outptr_Scintilla__Internal__Point = ret;
} }
void Scintilla__Internal__Point_new2(Scintilla__Internal__Point* param1, Scintilla__Internal__Point** outptr_Scintilla__Internal__Point) { Scintilla__Internal__Point* Scintilla__Internal__Point_new2(Scintilla__Internal__Point* param1) {
Scintilla::Internal::Point* ret = new Scintilla::Internal::Point(*param1); return new Scintilla::Internal::Point(*param1);
*outptr_Scintilla__Internal__Point = ret;
} }
void Scintilla__Internal__Point_new3(double x_, Scintilla__Internal__Point** outptr_Scintilla__Internal__Point) { Scintilla__Internal__Point* Scintilla__Internal__Point_new3(double x_) {
Scintilla::Internal::Point* ret = new Scintilla::Internal::Point(static_cast<Scintilla::Internal::XYPOSITION>(x_)); return new Scintilla::Internal::Point(static_cast<Scintilla::Internal::XYPOSITION>(x_));
*outptr_Scintilla__Internal__Point = ret;
} }
void Scintilla__Internal__Point_new4(double x_, double y_, Scintilla__Internal__Point** outptr_Scintilla__Internal__Point) { Scintilla__Internal__Point* Scintilla__Internal__Point_new4(double x_, double y_) {
Scintilla::Internal::Point* ret = new Scintilla::Internal::Point(static_cast<Scintilla::Internal::XYPOSITION>(x_), static_cast<Scintilla::Internal::XYPOSITION>(y_)); return new Scintilla::Internal::Point(static_cast<Scintilla::Internal::XYPOSITION>(x_), static_cast<Scintilla::Internal::XYPOSITION>(y_));
*outptr_Scintilla__Internal__Point = ret;
} }
Scintilla__Internal__Point* Scintilla__Internal__Point_FromInts(int x_, int y_) { Scintilla__Internal__Point* Scintilla__Internal__Point_FromInts(int x_, int y_) {
@ -141,34 +137,28 @@ void Scintilla__Internal__Interval_Delete(Scintilla__Internal__Interval* self, b
} }
} }
void Scintilla__Internal__PRectangle_new(Scintilla__Internal__PRectangle** outptr_Scintilla__Internal__PRectangle) { Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new() {
Scintilla::Internal::PRectangle* ret = new Scintilla::Internal::PRectangle(); return new Scintilla::Internal::PRectangle();
*outptr_Scintilla__Internal__PRectangle = ret;
} }
void Scintilla__Internal__PRectangle_new2(Scintilla__Internal__PRectangle* param1, Scintilla__Internal__PRectangle** outptr_Scintilla__Internal__PRectangle) { Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new2(Scintilla__Internal__PRectangle* param1) {
Scintilla::Internal::PRectangle* ret = new Scintilla::Internal::PRectangle(*param1); return new Scintilla::Internal::PRectangle(*param1);
*outptr_Scintilla__Internal__PRectangle = ret;
} }
void Scintilla__Internal__PRectangle_new3(double left_, Scintilla__Internal__PRectangle** outptr_Scintilla__Internal__PRectangle) { Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new3(double left_) {
Scintilla::Internal::PRectangle* ret = new Scintilla::Internal::PRectangle(static_cast<Scintilla::Internal::XYPOSITION>(left_)); return new Scintilla::Internal::PRectangle(static_cast<Scintilla::Internal::XYPOSITION>(left_));
*outptr_Scintilla__Internal__PRectangle = ret;
} }
void Scintilla__Internal__PRectangle_new4(double left_, double top_, Scintilla__Internal__PRectangle** outptr_Scintilla__Internal__PRectangle) { Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new4(double left_, double top_) {
Scintilla::Internal::PRectangle* ret = new Scintilla::Internal::PRectangle(static_cast<Scintilla::Internal::XYPOSITION>(left_), static_cast<Scintilla::Internal::XYPOSITION>(top_)); return new Scintilla::Internal::PRectangle(static_cast<Scintilla::Internal::XYPOSITION>(left_), static_cast<Scintilla::Internal::XYPOSITION>(top_));
*outptr_Scintilla__Internal__PRectangle = ret;
} }
void Scintilla__Internal__PRectangle_new5(double left_, double top_, double right_, Scintilla__Internal__PRectangle** outptr_Scintilla__Internal__PRectangle) { Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new5(double left_, double top_, double right_) {
Scintilla::Internal::PRectangle* ret = new Scintilla::Internal::PRectangle(static_cast<Scintilla::Internal::XYPOSITION>(left_), static_cast<Scintilla::Internal::XYPOSITION>(top_), static_cast<Scintilla::Internal::XYPOSITION>(right_)); return new Scintilla::Internal::PRectangle(static_cast<Scintilla::Internal::XYPOSITION>(left_), static_cast<Scintilla::Internal::XYPOSITION>(top_), static_cast<Scintilla::Internal::XYPOSITION>(right_));
*outptr_Scintilla__Internal__PRectangle = ret;
} }
void Scintilla__Internal__PRectangle_new6(double left_, double top_, double right_, double bottom_, Scintilla__Internal__PRectangle** outptr_Scintilla__Internal__PRectangle) { Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new6(double left_, double top_, double right_, double bottom_) {
Scintilla::Internal::PRectangle* ret = new Scintilla::Internal::PRectangle(static_cast<Scintilla::Internal::XYPOSITION>(left_), static_cast<Scintilla::Internal::XYPOSITION>(top_), static_cast<Scintilla::Internal::XYPOSITION>(right_), static_cast<Scintilla::Internal::XYPOSITION>(bottom_)); return new Scintilla::Internal::PRectangle(static_cast<Scintilla::Internal::XYPOSITION>(left_), static_cast<Scintilla::Internal::XYPOSITION>(top_), static_cast<Scintilla::Internal::XYPOSITION>(right_), static_cast<Scintilla::Internal::XYPOSITION>(bottom_));
*outptr_Scintilla__Internal__PRectangle = ret;
} }
Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_FromInts(int left_, int top_, int right_, int bottom_) { Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_FromInts(int left_, int top_, int right_, int bottom_) {
@ -241,34 +231,28 @@ void Scintilla__Internal__PRectangle_Delete(Scintilla__Internal__PRectangle* sel
} }
} }
void Scintilla__Internal__ColourRGBA_new(Scintilla__Internal__ColourRGBA** outptr_Scintilla__Internal__ColourRGBA) { Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new() {
Scintilla::Internal::ColourRGBA* ret = new Scintilla::Internal::ColourRGBA(); return new Scintilla::Internal::ColourRGBA();
*outptr_Scintilla__Internal__ColourRGBA = ret;
} }
void Scintilla__Internal__ColourRGBA_new2(unsigned int red, unsigned int green, unsigned int blue, Scintilla__Internal__ColourRGBA** outptr_Scintilla__Internal__ColourRGBA) { Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new2(unsigned int red, unsigned int green, unsigned int blue) {
Scintilla::Internal::ColourRGBA* ret = new Scintilla::Internal::ColourRGBA(static_cast<unsigned int>(red), static_cast<unsigned int>(green), static_cast<unsigned int>(blue)); return new Scintilla::Internal::ColourRGBA(static_cast<unsigned int>(red), static_cast<unsigned int>(green), static_cast<unsigned int>(blue));
*outptr_Scintilla__Internal__ColourRGBA = ret;
} }
void Scintilla__Internal__ColourRGBA_new3(Scintilla__Internal__ColourRGBA* cd, unsigned int alpha, Scintilla__Internal__ColourRGBA** outptr_Scintilla__Internal__ColourRGBA) { Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new3(Scintilla__Internal__ColourRGBA* cd, unsigned int alpha) {
Scintilla::Internal::ColourRGBA* ret = new Scintilla::Internal::ColourRGBA(*cd, static_cast<unsigned int>(alpha)); return new Scintilla::Internal::ColourRGBA(*cd, static_cast<unsigned int>(alpha));
*outptr_Scintilla__Internal__ColourRGBA = ret;
} }
void Scintilla__Internal__ColourRGBA_new4(Scintilla__Internal__ColourRGBA* param1, Scintilla__Internal__ColourRGBA** outptr_Scintilla__Internal__ColourRGBA) { Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new4(Scintilla__Internal__ColourRGBA* param1) {
Scintilla::Internal::ColourRGBA* ret = new Scintilla::Internal::ColourRGBA(*param1); return new Scintilla::Internal::ColourRGBA(*param1);
*outptr_Scintilla__Internal__ColourRGBA = ret;
} }
void Scintilla__Internal__ColourRGBA_new5(int co_, Scintilla__Internal__ColourRGBA** outptr_Scintilla__Internal__ColourRGBA) { Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new5(int co_) {
Scintilla::Internal::ColourRGBA* ret = new Scintilla::Internal::ColourRGBA(static_cast<int>(co_)); return new Scintilla::Internal::ColourRGBA(static_cast<int>(co_));
*outptr_Scintilla__Internal__ColourRGBA = ret;
} }
void Scintilla__Internal__ColourRGBA_new6(unsigned int red, unsigned int green, unsigned int blue, unsigned int alpha, Scintilla__Internal__ColourRGBA** outptr_Scintilla__Internal__ColourRGBA) { Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new6(unsigned int red, unsigned int green, unsigned int blue, unsigned int alpha) {
Scintilla::Internal::ColourRGBA* ret = new Scintilla::Internal::ColourRGBA(static_cast<unsigned int>(red), static_cast<unsigned int>(green), static_cast<unsigned int>(blue), static_cast<unsigned int>(alpha)); return new Scintilla::Internal::ColourRGBA(static_cast<unsigned int>(red), static_cast<unsigned int>(green), static_cast<unsigned int>(blue), static_cast<unsigned int>(alpha));
*outptr_Scintilla__Internal__ColourRGBA = ret;
} }
Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_FromRGB(int co_) { Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_FromRGB(int co_) {
@ -363,19 +347,16 @@ void Scintilla__Internal__ColourRGBA_Delete(Scintilla__Internal__ColourRGBA* sel
} }
} }
void Scintilla__Internal__Stroke_new(Scintilla__Internal__ColourRGBA* colour_, Scintilla__Internal__Stroke** outptr_Scintilla__Internal__Stroke) { Scintilla__Internal__Stroke* Scintilla__Internal__Stroke_new(Scintilla__Internal__ColourRGBA* colour_) {
Scintilla::Internal::Stroke* ret = new Scintilla::Internal::Stroke(*colour_); return new Scintilla::Internal::Stroke(*colour_);
*outptr_Scintilla__Internal__Stroke = ret;
} }
void Scintilla__Internal__Stroke_new2(Scintilla__Internal__Stroke* param1, Scintilla__Internal__Stroke** outptr_Scintilla__Internal__Stroke) { Scintilla__Internal__Stroke* Scintilla__Internal__Stroke_new2(Scintilla__Internal__Stroke* param1) {
Scintilla::Internal::Stroke* ret = new Scintilla::Internal::Stroke(*param1); return new Scintilla::Internal::Stroke(*param1);
*outptr_Scintilla__Internal__Stroke = ret;
} }
void Scintilla__Internal__Stroke_new3(Scintilla__Internal__ColourRGBA* colour_, double width_, Scintilla__Internal__Stroke** outptr_Scintilla__Internal__Stroke) { Scintilla__Internal__Stroke* Scintilla__Internal__Stroke_new3(Scintilla__Internal__ColourRGBA* colour_, double width_) {
Scintilla::Internal::Stroke* ret = new Scintilla::Internal::Stroke(*colour_, static_cast<Scintilla::Internal::XYPOSITION>(width_)); return new Scintilla::Internal::Stroke(*colour_, static_cast<Scintilla::Internal::XYPOSITION>(width_));
*outptr_Scintilla__Internal__Stroke = ret;
} }
float Scintilla__Internal__Stroke_WidthF(const Scintilla__Internal__Stroke* self) { float Scintilla__Internal__Stroke_WidthF(const Scintilla__Internal__Stroke* self) {
@ -390,14 +371,12 @@ void Scintilla__Internal__Stroke_Delete(Scintilla__Internal__Stroke* self, bool
} }
} }
void Scintilla__Internal__Fill_new(Scintilla__Internal__ColourRGBA* colour_, Scintilla__Internal__Fill** outptr_Scintilla__Internal__Fill) { Scintilla__Internal__Fill* Scintilla__Internal__Fill_new(Scintilla__Internal__ColourRGBA* colour_) {
Scintilla::Internal::Fill* ret = new Scintilla::Internal::Fill(*colour_); return new Scintilla::Internal::Fill(*colour_);
*outptr_Scintilla__Internal__Fill = ret;
} }
void Scintilla__Internal__Fill_new2(Scintilla__Internal__Fill* param1, Scintilla__Internal__Fill** outptr_Scintilla__Internal__Fill) { Scintilla__Internal__Fill* Scintilla__Internal__Fill_new2(Scintilla__Internal__Fill* param1) {
Scintilla::Internal::Fill* ret = new Scintilla::Internal::Fill(*param1); return new Scintilla::Internal::Fill(*param1);
*outptr_Scintilla__Internal__Fill = ret;
} }
void Scintilla__Internal__Fill_Delete(Scintilla__Internal__Fill* self, bool isSubclass) { void Scintilla__Internal__Fill_Delete(Scintilla__Internal__Fill* self, bool isSubclass) {
@ -408,24 +387,20 @@ void Scintilla__Internal__Fill_Delete(Scintilla__Internal__Fill* self, bool isSu
} }
} }
void Scintilla__Internal__FillStroke_new(Scintilla__Internal__ColourRGBA* colourFill_, Scintilla__Internal__ColourRGBA* colourStroke_, Scintilla__Internal__FillStroke** outptr_Scintilla__Internal__FillStroke) { Scintilla__Internal__FillStroke* Scintilla__Internal__FillStroke_new(Scintilla__Internal__ColourRGBA* colourFill_, Scintilla__Internal__ColourRGBA* colourStroke_) {
Scintilla::Internal::FillStroke* ret = new Scintilla::Internal::FillStroke(*colourFill_, *colourStroke_); return new Scintilla::Internal::FillStroke(*colourFill_, *colourStroke_);
*outptr_Scintilla__Internal__FillStroke = ret;
} }
void Scintilla__Internal__FillStroke_new2(Scintilla__Internal__ColourRGBA* colourBoth, Scintilla__Internal__FillStroke** outptr_Scintilla__Internal__FillStroke) { Scintilla__Internal__FillStroke* Scintilla__Internal__FillStroke_new2(Scintilla__Internal__ColourRGBA* colourBoth) {
Scintilla::Internal::FillStroke* ret = new Scintilla::Internal::FillStroke(*colourBoth); return new Scintilla::Internal::FillStroke(*colourBoth);
*outptr_Scintilla__Internal__FillStroke = ret;
} }
void Scintilla__Internal__FillStroke_new3(Scintilla__Internal__ColourRGBA* colourFill_, Scintilla__Internal__ColourRGBA* colourStroke_, double widthStroke_, Scintilla__Internal__FillStroke** outptr_Scintilla__Internal__FillStroke) { Scintilla__Internal__FillStroke* Scintilla__Internal__FillStroke_new3(Scintilla__Internal__ColourRGBA* colourFill_, Scintilla__Internal__ColourRGBA* colourStroke_, double widthStroke_) {
Scintilla::Internal::FillStroke* ret = new Scintilla::Internal::FillStroke(*colourFill_, *colourStroke_, static_cast<Scintilla::Internal::XYPOSITION>(widthStroke_)); return new Scintilla::Internal::FillStroke(*colourFill_, *colourStroke_, static_cast<Scintilla::Internal::XYPOSITION>(widthStroke_));
*outptr_Scintilla__Internal__FillStroke = ret;
} }
void Scintilla__Internal__FillStroke_new4(Scintilla__Internal__ColourRGBA* colourBoth, double widthStroke_, Scintilla__Internal__FillStroke** outptr_Scintilla__Internal__FillStroke) { Scintilla__Internal__FillStroke* Scintilla__Internal__FillStroke_new4(Scintilla__Internal__ColourRGBA* colourBoth, double widthStroke_) {
Scintilla::Internal::FillStroke* ret = new Scintilla::Internal::FillStroke(*colourBoth, static_cast<Scintilla::Internal::XYPOSITION>(widthStroke_)); return new Scintilla::Internal::FillStroke(*colourBoth, static_cast<Scintilla::Internal::XYPOSITION>(widthStroke_));
*outptr_Scintilla__Internal__FillStroke = ret;
} }
void Scintilla__Internal__FillStroke_Delete(Scintilla__Internal__FillStroke* self, bool isSubclass) { void Scintilla__Internal__FillStroke_Delete(Scintilla__Internal__FillStroke* self, bool isSubclass) {
@ -436,9 +411,8 @@ void Scintilla__Internal__FillStroke_Delete(Scintilla__Internal__FillStroke* sel
} }
} }
void Scintilla__Internal__ColourStop_new(double position_, Scintilla__Internal__ColourRGBA* colour_, Scintilla__Internal__ColourStop** outptr_Scintilla__Internal__ColourStop) { Scintilla__Internal__ColourStop* Scintilla__Internal__ColourStop_new(double position_, Scintilla__Internal__ColourRGBA* colour_) {
Scintilla::Internal::ColourStop* ret = new Scintilla::Internal::ColourStop(static_cast<Scintilla::Internal::XYPOSITION>(position_), *colour_); return new Scintilla::Internal::ColourStop(static_cast<Scintilla::Internal::XYPOSITION>(position_), *colour_);
*outptr_Scintilla__Internal__ColourStop = ret;
} }
void Scintilla__Internal__ColourStop_Delete(Scintilla__Internal__ColourStop* self, bool isSubclass) { void Scintilla__Internal__ColourStop_Delete(Scintilla__Internal__ColourStop* self, bool isSubclass) {
@ -537,49 +511,40 @@ void Scintilla__NotificationData_Delete(Scintilla__NotificationData* self, bool
} }
} }
void Scintilla__Internal__FontParameters_new(const char* faceName_, Scintilla__Internal__FontParameters** outptr_Scintilla__Internal__FontParameters) { Scintilla__Internal__FontParameters* Scintilla__Internal__FontParameters_new(const char* faceName_) {
Scintilla::Internal::FontParameters* ret = new Scintilla::Internal::FontParameters(faceName_); return new Scintilla::Internal::FontParameters(faceName_);
*outptr_Scintilla__Internal__FontParameters = ret;
} }
void Scintilla__Internal__FontParameters_new2(const char* faceName_, double size_, Scintilla__Internal__FontParameters** outptr_Scintilla__Internal__FontParameters) { Scintilla__Internal__FontParameters* Scintilla__Internal__FontParameters_new2(const char* faceName_, double size_) {
Scintilla::Internal::FontParameters* ret = new Scintilla::Internal::FontParameters(faceName_, static_cast<Scintilla::Internal::XYPOSITION>(size_)); return new Scintilla::Internal::FontParameters(faceName_, static_cast<Scintilla::Internal::XYPOSITION>(size_));
*outptr_Scintilla__Internal__FontParameters = ret;
} }
void Scintilla__Internal__FontParameters_new3(const char* faceName_, double size_, int weight_, Scintilla__Internal__FontParameters** outptr_Scintilla__Internal__FontParameters) { Scintilla__Internal__FontParameters* Scintilla__Internal__FontParameters_new3(const char* faceName_, double size_, int weight_) {
Scintilla::Internal::FontParameters* ret = new Scintilla::Internal::FontParameters(faceName_, static_cast<Scintilla::Internal::XYPOSITION>(size_), static_cast<Scintilla::FontWeight>(weight_)); return new Scintilla::Internal::FontParameters(faceName_, static_cast<Scintilla::Internal::XYPOSITION>(size_), static_cast<Scintilla::FontWeight>(weight_));
*outptr_Scintilla__Internal__FontParameters = ret;
} }
void Scintilla__Internal__FontParameters_new4(const char* faceName_, double size_, int weight_, bool italic_, Scintilla__Internal__FontParameters** outptr_Scintilla__Internal__FontParameters) { Scintilla__Internal__FontParameters* Scintilla__Internal__FontParameters_new4(const char* faceName_, double size_, int weight_, bool italic_) {
Scintilla::Internal::FontParameters* ret = new Scintilla::Internal::FontParameters(faceName_, static_cast<Scintilla::Internal::XYPOSITION>(size_), static_cast<Scintilla::FontWeight>(weight_), italic_); return new Scintilla::Internal::FontParameters(faceName_, static_cast<Scintilla::Internal::XYPOSITION>(size_), static_cast<Scintilla::FontWeight>(weight_), italic_);
*outptr_Scintilla__Internal__FontParameters = ret;
} }
void Scintilla__Internal__FontParameters_new5(const char* faceName_, double size_, int weight_, bool italic_, int extraFontFlag_, Scintilla__Internal__FontParameters** outptr_Scintilla__Internal__FontParameters) { Scintilla__Internal__FontParameters* Scintilla__Internal__FontParameters_new5(const char* faceName_, double size_, int weight_, bool italic_, int extraFontFlag_) {
Scintilla::Internal::FontParameters* ret = new Scintilla::Internal::FontParameters(faceName_, static_cast<Scintilla::Internal::XYPOSITION>(size_), static_cast<Scintilla::FontWeight>(weight_), italic_, static_cast<Scintilla::FontQuality>(extraFontFlag_)); return new Scintilla::Internal::FontParameters(faceName_, static_cast<Scintilla::Internal::XYPOSITION>(size_), static_cast<Scintilla::FontWeight>(weight_), italic_, static_cast<Scintilla::FontQuality>(extraFontFlag_));
*outptr_Scintilla__Internal__FontParameters = ret;
} }
void Scintilla__Internal__FontParameters_new6(const char* faceName_, double size_, int weight_, bool italic_, int extraFontFlag_, int technology_, Scintilla__Internal__FontParameters** outptr_Scintilla__Internal__FontParameters) { Scintilla__Internal__FontParameters* Scintilla__Internal__FontParameters_new6(const char* faceName_, double size_, int weight_, bool italic_, int extraFontFlag_, int technology_) {
Scintilla::Internal::FontParameters* ret = new Scintilla::Internal::FontParameters(faceName_, static_cast<Scintilla::Internal::XYPOSITION>(size_), static_cast<Scintilla::FontWeight>(weight_), italic_, static_cast<Scintilla::FontQuality>(extraFontFlag_), static_cast<Scintilla::Technology>(technology_)); return new Scintilla::Internal::FontParameters(faceName_, static_cast<Scintilla::Internal::XYPOSITION>(size_), static_cast<Scintilla::FontWeight>(weight_), italic_, static_cast<Scintilla::FontQuality>(extraFontFlag_), static_cast<Scintilla::Technology>(technology_));
*outptr_Scintilla__Internal__FontParameters = ret;
} }
void Scintilla__Internal__FontParameters_new7(const char* faceName_, double size_, int weight_, bool italic_, int extraFontFlag_, int technology_, int characterSet_, Scintilla__Internal__FontParameters** outptr_Scintilla__Internal__FontParameters) { Scintilla__Internal__FontParameters* Scintilla__Internal__FontParameters_new7(const char* faceName_, double size_, int weight_, bool italic_, int extraFontFlag_, int technology_, int characterSet_) {
Scintilla::Internal::FontParameters* ret = new Scintilla::Internal::FontParameters(faceName_, static_cast<Scintilla::Internal::XYPOSITION>(size_), static_cast<Scintilla::FontWeight>(weight_), italic_, static_cast<Scintilla::FontQuality>(extraFontFlag_), static_cast<Scintilla::Technology>(technology_), static_cast<Scintilla::CharacterSet>(characterSet_)); return new Scintilla::Internal::FontParameters(faceName_, static_cast<Scintilla::Internal::XYPOSITION>(size_), static_cast<Scintilla::FontWeight>(weight_), italic_, static_cast<Scintilla::FontQuality>(extraFontFlag_), static_cast<Scintilla::Technology>(technology_), static_cast<Scintilla::CharacterSet>(characterSet_));
*outptr_Scintilla__Internal__FontParameters = ret;
} }
void Scintilla__Internal__FontParameters_new8(const char* faceName_, double size_, int weight_, bool italic_, int extraFontFlag_, int technology_, int characterSet_, const char* localeName_, Scintilla__Internal__FontParameters** outptr_Scintilla__Internal__FontParameters) { Scintilla__Internal__FontParameters* Scintilla__Internal__FontParameters_new8(const char* faceName_, double size_, int weight_, bool italic_, int extraFontFlag_, int technology_, int characterSet_, const char* localeName_) {
Scintilla::Internal::FontParameters* ret = new Scintilla::Internal::FontParameters(faceName_, static_cast<Scintilla::Internal::XYPOSITION>(size_), static_cast<Scintilla::FontWeight>(weight_), italic_, static_cast<Scintilla::FontQuality>(extraFontFlag_), static_cast<Scintilla::Technology>(technology_), static_cast<Scintilla::CharacterSet>(characterSet_), localeName_); return new Scintilla::Internal::FontParameters(faceName_, static_cast<Scintilla::Internal::XYPOSITION>(size_), static_cast<Scintilla::FontWeight>(weight_), italic_, static_cast<Scintilla::FontQuality>(extraFontFlag_), static_cast<Scintilla::Technology>(technology_), static_cast<Scintilla::CharacterSet>(characterSet_), localeName_);
*outptr_Scintilla__Internal__FontParameters = ret;
} }
void Scintilla__Internal__FontParameters_new9(const char* faceName_, double size_, int weight_, bool italic_, int extraFontFlag_, int technology_, int characterSet_, const char* localeName_, int stretch_, Scintilla__Internal__FontParameters** outptr_Scintilla__Internal__FontParameters) { Scintilla__Internal__FontParameters* Scintilla__Internal__FontParameters_new9(const char* faceName_, double size_, int weight_, bool italic_, int extraFontFlag_, int technology_, int characterSet_, const char* localeName_, int stretch_) {
Scintilla::Internal::FontParameters* ret = new Scintilla::Internal::FontParameters(faceName_, static_cast<Scintilla::Internal::XYPOSITION>(size_), static_cast<Scintilla::FontWeight>(weight_), italic_, static_cast<Scintilla::FontQuality>(extraFontFlag_), static_cast<Scintilla::Technology>(technology_), static_cast<Scintilla::CharacterSet>(characterSet_), localeName_, static_cast<Scintilla::FontStretch>(stretch_)); return new Scintilla::Internal::FontParameters(faceName_, static_cast<Scintilla::Internal::XYPOSITION>(size_), static_cast<Scintilla::FontWeight>(weight_), italic_, static_cast<Scintilla::FontQuality>(extraFontFlag_), static_cast<Scintilla::Technology>(technology_), static_cast<Scintilla::CharacterSet>(characterSet_), localeName_, static_cast<Scintilla::FontStretch>(stretch_));
*outptr_Scintilla__Internal__FontParameters = ret;
} }
void Scintilla__Internal__FontParameters_Delete(Scintilla__Internal__FontParameters* self, bool isSubclass) { void Scintilla__Internal__FontParameters_Delete(Scintilla__Internal__FontParameters* self, bool isSubclass) {
@ -590,9 +555,8 @@ void Scintilla__Internal__FontParameters_Delete(Scintilla__Internal__FontParamet
} }
} }
void Scintilla__Internal__Font_new(Scintilla__Internal__Font** outptr_Scintilla__Internal__Font) { Scintilla__Internal__Font* Scintilla__Internal__Font_new() {
Scintilla::Internal::Font* ret = new Scintilla::Internal::Font(); return new Scintilla::Internal::Font();
*outptr_Scintilla__Internal__Font = ret;
} }
void Scintilla__Internal__Font_Delete(Scintilla__Internal__Font* self, bool isSubclass) { void Scintilla__Internal__Font_Delete(Scintilla__Internal__Font* self, bool isSubclass) {
@ -678,14 +642,12 @@ void Scintilla__Internal__IScreenLineLayout_Delete(Scintilla__Internal__IScreenL
} }
} }
void Scintilla__Internal__SurfaceMode_new(Scintilla__Internal__SurfaceMode** outptr_Scintilla__Internal__SurfaceMode) { Scintilla__Internal__SurfaceMode* Scintilla__Internal__SurfaceMode_new() {
Scintilla::Internal::SurfaceMode* ret = new Scintilla::Internal::SurfaceMode(); return new Scintilla::Internal::SurfaceMode();
*outptr_Scintilla__Internal__SurfaceMode = ret;
} }
void Scintilla__Internal__SurfaceMode_new2(int codePage_, bool bidiR2L_, Scintilla__Internal__SurfaceMode** outptr_Scintilla__Internal__SurfaceMode) { Scintilla__Internal__SurfaceMode* Scintilla__Internal__SurfaceMode_new2(int codePage_, bool bidiR2L_) {
Scintilla::Internal::SurfaceMode* ret = new Scintilla::Internal::SurfaceMode(static_cast<int>(codePage_), bidiR2L_); return new Scintilla::Internal::SurfaceMode(static_cast<int>(codePage_), bidiR2L_);
*outptr_Scintilla__Internal__SurfaceMode = ret;
} }
void Scintilla__Internal__SurfaceMode_Delete(Scintilla__Internal__SurfaceMode* self, bool isSubclass) { void Scintilla__Internal__SurfaceMode_Delete(Scintilla__Internal__SurfaceMode* self, bool isSubclass) {
@ -1243,9 +1205,8 @@ public:
}; };
void Scintilla__Internal__Surface_new(Scintilla__Internal__Surface** outptr_Scintilla__Internal__Surface) { Scintilla__Internal__Surface* Scintilla__Internal__Surface_new() {
MiqtVirtualScintillaInternalSurface* ret = new MiqtVirtualScintillaInternalSurface(); return new MiqtVirtualScintillaInternalSurface();
*outptr_Scintilla__Internal__Surface = ret;
} }
void Scintilla__Internal__Surface_Init(Scintilla__Internal__Surface* self, void* wid) { void Scintilla__Internal__Surface_Init(Scintilla__Internal__Surface* self, void* wid) {
@ -1517,9 +1478,8 @@ void Scintilla__Internal__Surface_Delete(Scintilla__Internal__Surface* self, boo
} }
} }
void Scintilla__Internal__Window_new(Scintilla__Internal__Window** outptr_Scintilla__Internal__Window) { Scintilla__Internal__Window* Scintilla__Internal__Window_new() {
Scintilla::Internal::Window* ret = new Scintilla::Internal::Window(); return new Scintilla::Internal::Window();
*outptr_Scintilla__Internal__Window = ret;
} }
void Scintilla__Internal__Window_OperatorAssign(Scintilla__Internal__Window* self, void* wid_) { void Scintilla__Internal__Window_OperatorAssign(Scintilla__Internal__Window* self, void* wid_) {
@ -1587,9 +1547,8 @@ void Scintilla__Internal__Window_Delete(Scintilla__Internal__Window* self, bool
} }
} }
void Scintilla__Internal__ListBoxEvent_new(int event_, Scintilla__Internal__ListBoxEvent** outptr_Scintilla__Internal__ListBoxEvent) { Scintilla__Internal__ListBoxEvent* Scintilla__Internal__ListBoxEvent_new(int event_) {
Scintilla::Internal::ListBoxEvent* ret = new Scintilla::Internal::ListBoxEvent(static_cast<Scintilla::Internal::ListBoxEvent::EventType>(event_)); return new Scintilla::Internal::ListBoxEvent(static_cast<Scintilla::Internal::ListBoxEvent::EventType>(event_));
*outptr_Scintilla__Internal__ListBoxEvent = ret;
} }
void Scintilla__Internal__ListBoxEvent_Delete(Scintilla__Internal__ListBoxEvent* self, bool isSubclass) { void Scintilla__Internal__ListBoxEvent_Delete(Scintilla__Internal__ListBoxEvent* self, bool isSubclass) {
@ -1945,10 +1904,12 @@ public:
}; };
void Scintilla__Internal__ListBox_new(Scintilla__Internal__ListBox** outptr_Scintilla__Internal__ListBox, Scintilla__Internal__Window** outptr_Scintilla__Internal__Window) { Scintilla__Internal__ListBox* Scintilla__Internal__ListBox_new() {
MiqtVirtualScintillaInternalListBox* ret = new MiqtVirtualScintillaInternalListBox(); return new MiqtVirtualScintillaInternalListBox();
*outptr_Scintilla__Internal__ListBox = ret; }
*outptr_Scintilla__Internal__Window = static_cast<Scintilla::Internal::Window*>(ret);
void Scintilla__Internal__ListBox_virtbase(Scintilla__Internal__ListBox* src, Scintilla::Internal::Window** outptr_Scintilla__Internal__Window) {
*outptr_Scintilla__Internal__Window = static_cast<Scintilla::Internal::Window*>(src);
} }
void Scintilla__Internal__ListBox_SetFont(Scintilla__Internal__ListBox* self, Scintilla__Internal__Font* font) { void Scintilla__Internal__ListBox_SetFont(Scintilla__Internal__ListBox* self, Scintilla__Internal__Font* font) {
@ -2111,9 +2072,8 @@ void Scintilla__Internal__ListBox_Delete(Scintilla__Internal__ListBox* self, boo
} }
} }
void Scintilla__Internal__Menu_new(Scintilla__Internal__Menu** outptr_Scintilla__Internal__Menu) { Scintilla__Internal__Menu* Scintilla__Internal__Menu_new() {
Scintilla::Internal::Menu* ret = new Scintilla::Internal::Menu(); return new Scintilla::Internal::Menu();
*outptr_Scintilla__Internal__Menu = ret;
} }
void* Scintilla__Internal__Menu_GetID(const Scintilla__Internal__Menu* self) { void* Scintilla__Internal__Menu_GetID(const Scintilla__Internal__Menu* self) {
@ -2887,24 +2847,16 @@ public:
}; };
void ScintillaEditBase_new(QWidget* parent, ScintillaEditBase** outptr_ScintillaEditBase, QAbstractScrollArea** outptr_QAbstractScrollArea, QFrame** outptr_QFrame, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice) { ScintillaEditBase* ScintillaEditBase_new(QWidget* parent) {
MiqtVirtualScintillaEditBase* ret = new MiqtVirtualScintillaEditBase(parent); return new MiqtVirtualScintillaEditBase(parent);
*outptr_ScintillaEditBase = ret;
*outptr_QAbstractScrollArea = static_cast<QAbstractScrollArea*>(ret);
*outptr_QFrame = static_cast<QFrame*>(ret);
*outptr_QWidget = static_cast<QWidget*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
*outptr_QPaintDevice = static_cast<QPaintDevice*>(ret);
} }
void ScintillaEditBase_new2(ScintillaEditBase** outptr_ScintillaEditBase, QAbstractScrollArea** outptr_QAbstractScrollArea, QFrame** outptr_QFrame, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice) { ScintillaEditBase* ScintillaEditBase_new2() {
MiqtVirtualScintillaEditBase* ret = new MiqtVirtualScintillaEditBase(); return new MiqtVirtualScintillaEditBase();
*outptr_ScintillaEditBase = ret; }
*outptr_QAbstractScrollArea = static_cast<QAbstractScrollArea*>(ret);
*outptr_QFrame = static_cast<QFrame*>(ret); void ScintillaEditBase_virtbase(ScintillaEditBase* src, QAbstractScrollArea** outptr_QAbstractScrollArea) {
*outptr_QWidget = static_cast<QWidget*>(ret); *outptr_QAbstractScrollArea = static_cast<QAbstractScrollArea*>(src);
*outptr_QObject = static_cast<QObject*>(ret);
*outptr_QPaintDevice = static_cast<QPaintDevice*>(ret);
} }
QMetaObject* ScintillaEditBase_MetaObject(const ScintillaEditBase* self) { QMetaObject* ScintillaEditBase_MetaObject(const ScintillaEditBase* self) {
@ -3884,22 +3836,20 @@ public:
}; };
void ScintillaDocument_new(ScintillaDocument** outptr_ScintillaDocument, QObject** outptr_QObject) { ScintillaDocument* ScintillaDocument_new() {
MiqtVirtualScintillaDocument* ret = new MiqtVirtualScintillaDocument(); return new MiqtVirtualScintillaDocument();
*outptr_ScintillaDocument = ret;
*outptr_QObject = static_cast<QObject*>(ret);
} }
void ScintillaDocument_new2(QObject* parent, ScintillaDocument** outptr_ScintillaDocument, QObject** outptr_QObject) { ScintillaDocument* ScintillaDocument_new2(QObject* parent) {
MiqtVirtualScintillaDocument* ret = new MiqtVirtualScintillaDocument(parent); return new MiqtVirtualScintillaDocument(parent);
*outptr_ScintillaDocument = ret;
*outptr_QObject = static_cast<QObject*>(ret);
} }
void ScintillaDocument_new3(QObject* parent, void* pdoc_, ScintillaDocument** outptr_ScintillaDocument, QObject** outptr_QObject) { ScintillaDocument* ScintillaDocument_new3(QObject* parent, void* pdoc_) {
MiqtVirtualScintillaDocument* ret = new MiqtVirtualScintillaDocument(parent, pdoc_); return new MiqtVirtualScintillaDocument(parent, pdoc_);
*outptr_ScintillaDocument = ret; }
*outptr_QObject = static_cast<QObject*>(ret);
void ScintillaDocument_virtbase(ScintillaDocument* src, QObject** outptr_QObject) {
*outptr_QObject = static_cast<QObject*>(src);
} }
QMetaObject* ScintillaDocument_MetaObject(const ScintillaDocument* self) { QMetaObject* ScintillaDocument_MetaObject(const ScintillaDocument* self) {
@ -4798,26 +4748,16 @@ public:
}; };
void ScintillaEdit_new(QWidget* parent, ScintillaEdit** outptr_ScintillaEdit, ScintillaEditBase** outptr_ScintillaEditBase, QAbstractScrollArea** outptr_QAbstractScrollArea, QFrame** outptr_QFrame, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice) { ScintillaEdit* ScintillaEdit_new(QWidget* parent) {
MiqtVirtualScintillaEdit* ret = new MiqtVirtualScintillaEdit(parent); return new MiqtVirtualScintillaEdit(parent);
*outptr_ScintillaEdit = ret;
*outptr_ScintillaEditBase = static_cast<ScintillaEditBase*>(ret);
*outptr_QAbstractScrollArea = static_cast<QAbstractScrollArea*>(ret);
*outptr_QFrame = static_cast<QFrame*>(ret);
*outptr_QWidget = static_cast<QWidget*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
*outptr_QPaintDevice = static_cast<QPaintDevice*>(ret);
} }
void ScintillaEdit_new2(ScintillaEdit** outptr_ScintillaEdit, ScintillaEditBase** outptr_ScintillaEditBase, QAbstractScrollArea** outptr_QAbstractScrollArea, QFrame** outptr_QFrame, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice) { ScintillaEdit* ScintillaEdit_new2() {
MiqtVirtualScintillaEdit* ret = new MiqtVirtualScintillaEdit(); return new MiqtVirtualScintillaEdit();
*outptr_ScintillaEdit = ret; }
*outptr_ScintillaEditBase = static_cast<ScintillaEditBase*>(ret);
*outptr_QAbstractScrollArea = static_cast<QAbstractScrollArea*>(ret); void ScintillaEdit_virtbase(ScintillaEdit* src, ScintillaEditBase** outptr_ScintillaEditBase) {
*outptr_QFrame = static_cast<QFrame*>(ret); *outptr_ScintillaEditBase = static_cast<ScintillaEditBase*>(src);
*outptr_QWidget = static_cast<QWidget*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
*outptr_QPaintDevice = static_cast<QPaintDevice*>(ret);
} }
QMetaObject* ScintillaEdit_MetaObject(const ScintillaEdit* self) { QMetaObject* ScintillaEdit_MetaObject(const ScintillaEdit* self) {

File diff suppressed because it is too large Load Diff

View File

@ -284,10 +284,10 @@ typedef struct ScintillaEdit ScintillaEdit;
typedef struct ScintillaEditBase ScintillaEditBase; typedef struct ScintillaEditBase ScintillaEditBase;
#endif #endif
void Scintilla__Internal__Point_new(Scintilla__Internal__Point** outptr_Scintilla__Internal__Point); Scintilla__Internal__Point* Scintilla__Internal__Point_new();
void Scintilla__Internal__Point_new2(Scintilla__Internal__Point* param1, Scintilla__Internal__Point** outptr_Scintilla__Internal__Point); Scintilla__Internal__Point* Scintilla__Internal__Point_new2(Scintilla__Internal__Point* param1);
void Scintilla__Internal__Point_new3(double x_, Scintilla__Internal__Point** outptr_Scintilla__Internal__Point); Scintilla__Internal__Point* Scintilla__Internal__Point_new3(double x_);
void Scintilla__Internal__Point_new4(double x_, double y_, Scintilla__Internal__Point** outptr_Scintilla__Internal__Point); Scintilla__Internal__Point* Scintilla__Internal__Point_new4(double x_, double y_);
Scintilla__Internal__Point* Scintilla__Internal__Point_FromInts(int x_, int y_); Scintilla__Internal__Point* Scintilla__Internal__Point_FromInts(int x_, int y_);
bool Scintilla__Internal__Point_OperatorEqual(const Scintilla__Internal__Point* self, Scintilla__Internal__Point* other); bool Scintilla__Internal__Point_OperatorEqual(const Scintilla__Internal__Point* self, Scintilla__Internal__Point* other);
bool Scintilla__Internal__Point_OperatorNotEqual(const Scintilla__Internal__Point* self, Scintilla__Internal__Point* other); bool Scintilla__Internal__Point_OperatorNotEqual(const Scintilla__Internal__Point* self, Scintilla__Internal__Point* other);
@ -302,12 +302,12 @@ bool Scintilla__Internal__Interval_Intersects(const Scintilla__Internal__Interva
Scintilla__Internal__Interval* Scintilla__Internal__Interval_Offset(const Scintilla__Internal__Interval* self, double offset); Scintilla__Internal__Interval* Scintilla__Internal__Interval_Offset(const Scintilla__Internal__Interval* self, double offset);
void Scintilla__Internal__Interval_Delete(Scintilla__Internal__Interval* self, bool isSubclass); void Scintilla__Internal__Interval_Delete(Scintilla__Internal__Interval* self, bool isSubclass);
void Scintilla__Internal__PRectangle_new(Scintilla__Internal__PRectangle** outptr_Scintilla__Internal__PRectangle); Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new();
void Scintilla__Internal__PRectangle_new2(Scintilla__Internal__PRectangle* param1, Scintilla__Internal__PRectangle** outptr_Scintilla__Internal__PRectangle); Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new2(Scintilla__Internal__PRectangle* param1);
void Scintilla__Internal__PRectangle_new3(double left_, Scintilla__Internal__PRectangle** outptr_Scintilla__Internal__PRectangle); Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new3(double left_);
void Scintilla__Internal__PRectangle_new4(double left_, double top_, Scintilla__Internal__PRectangle** outptr_Scintilla__Internal__PRectangle); Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new4(double left_, double top_);
void Scintilla__Internal__PRectangle_new5(double left_, double top_, double right_, Scintilla__Internal__PRectangle** outptr_Scintilla__Internal__PRectangle); Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new5(double left_, double top_, double right_);
void Scintilla__Internal__PRectangle_new6(double left_, double top_, double right_, double bottom_, Scintilla__Internal__PRectangle** outptr_Scintilla__Internal__PRectangle); Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_new6(double left_, double top_, double right_, double bottom_);
Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_FromInts(int left_, int top_, int right_, int bottom_); Scintilla__Internal__PRectangle* Scintilla__Internal__PRectangle_FromInts(int left_, int top_, int right_, int bottom_);
bool Scintilla__Internal__PRectangle_OperatorEqual(const Scintilla__Internal__PRectangle* self, Scintilla__Internal__PRectangle* rc); bool Scintilla__Internal__PRectangle_OperatorEqual(const Scintilla__Internal__PRectangle* self, Scintilla__Internal__PRectangle* rc);
bool Scintilla__Internal__PRectangle_Contains(const Scintilla__Internal__PRectangle* self, Scintilla__Internal__Point* pt); bool Scintilla__Internal__PRectangle_Contains(const Scintilla__Internal__PRectangle* self, Scintilla__Internal__Point* pt);
@ -325,12 +325,12 @@ double Scintilla__Internal__PRectangle_Height(const Scintilla__Internal__PRectan
bool Scintilla__Internal__PRectangle_Empty(const Scintilla__Internal__PRectangle* self); bool Scintilla__Internal__PRectangle_Empty(const Scintilla__Internal__PRectangle* self);
void Scintilla__Internal__PRectangle_Delete(Scintilla__Internal__PRectangle* self, bool isSubclass); void Scintilla__Internal__PRectangle_Delete(Scintilla__Internal__PRectangle* self, bool isSubclass);
void Scintilla__Internal__ColourRGBA_new(Scintilla__Internal__ColourRGBA** outptr_Scintilla__Internal__ColourRGBA); Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new();
void Scintilla__Internal__ColourRGBA_new2(unsigned int red, unsigned int green, unsigned int blue, Scintilla__Internal__ColourRGBA** outptr_Scintilla__Internal__ColourRGBA); Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new2(unsigned int red, unsigned int green, unsigned int blue);
void Scintilla__Internal__ColourRGBA_new3(Scintilla__Internal__ColourRGBA* cd, unsigned int alpha, Scintilla__Internal__ColourRGBA** outptr_Scintilla__Internal__ColourRGBA); Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new3(Scintilla__Internal__ColourRGBA* cd, unsigned int alpha);
void Scintilla__Internal__ColourRGBA_new4(Scintilla__Internal__ColourRGBA* param1, Scintilla__Internal__ColourRGBA** outptr_Scintilla__Internal__ColourRGBA); Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new4(Scintilla__Internal__ColourRGBA* param1);
void Scintilla__Internal__ColourRGBA_new5(int co_, Scintilla__Internal__ColourRGBA** outptr_Scintilla__Internal__ColourRGBA); Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_new5(int co_);
void Scintilla__Internal__ColourRGBA_new6(unsigned int red, unsigned int green, unsigned int blue, unsigned int alpha, Scintilla__Internal__ColourRGBA** outptr_Scintilla__Internal__ColourRGBA); 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_FromRGB(int co_); 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_Grey(unsigned int grey);
Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_FromIpRGB(intptr_t co_); Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_FromIpRGB(intptr_t co_);
@ -354,23 +354,23 @@ void Scintilla__Internal__ColourRGBA_OperatorAssign(Scintilla__Internal__ColourR
Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_Grey2(unsigned int grey, unsigned int alpha); Scintilla__Internal__ColourRGBA* Scintilla__Internal__ColourRGBA_Grey2(unsigned int grey, unsigned int alpha);
void Scintilla__Internal__ColourRGBA_Delete(Scintilla__Internal__ColourRGBA* self, bool isSubclass); void Scintilla__Internal__ColourRGBA_Delete(Scintilla__Internal__ColourRGBA* self, bool isSubclass);
void Scintilla__Internal__Stroke_new(Scintilla__Internal__ColourRGBA* colour_, Scintilla__Internal__Stroke** outptr_Scintilla__Internal__Stroke); Scintilla__Internal__Stroke* Scintilla__Internal__Stroke_new(Scintilla__Internal__ColourRGBA* colour_);
void Scintilla__Internal__Stroke_new2(Scintilla__Internal__Stroke* param1, Scintilla__Internal__Stroke** outptr_Scintilla__Internal__Stroke); Scintilla__Internal__Stroke* Scintilla__Internal__Stroke_new2(Scintilla__Internal__Stroke* param1);
void Scintilla__Internal__Stroke_new3(Scintilla__Internal__ColourRGBA* colour_, double width_, Scintilla__Internal__Stroke** outptr_Scintilla__Internal__Stroke); Scintilla__Internal__Stroke* Scintilla__Internal__Stroke_new3(Scintilla__Internal__ColourRGBA* colour_, double width_);
float Scintilla__Internal__Stroke_WidthF(const Scintilla__Internal__Stroke* self); float Scintilla__Internal__Stroke_WidthF(const Scintilla__Internal__Stroke* self);
void Scintilla__Internal__Stroke_Delete(Scintilla__Internal__Stroke* self, bool isSubclass); void Scintilla__Internal__Stroke_Delete(Scintilla__Internal__Stroke* self, bool isSubclass);
void Scintilla__Internal__Fill_new(Scintilla__Internal__ColourRGBA* colour_, Scintilla__Internal__Fill** outptr_Scintilla__Internal__Fill); Scintilla__Internal__Fill* Scintilla__Internal__Fill_new(Scintilla__Internal__ColourRGBA* colour_);
void Scintilla__Internal__Fill_new2(Scintilla__Internal__Fill* param1, Scintilla__Internal__Fill** outptr_Scintilla__Internal__Fill); Scintilla__Internal__Fill* Scintilla__Internal__Fill_new2(Scintilla__Internal__Fill* param1);
void Scintilla__Internal__Fill_Delete(Scintilla__Internal__Fill* self, bool isSubclass); void Scintilla__Internal__Fill_Delete(Scintilla__Internal__Fill* self, bool isSubclass);
void Scintilla__Internal__FillStroke_new(Scintilla__Internal__ColourRGBA* colourFill_, Scintilla__Internal__ColourRGBA* colourStroke_, Scintilla__Internal__FillStroke** outptr_Scintilla__Internal__FillStroke); Scintilla__Internal__FillStroke* Scintilla__Internal__FillStroke_new(Scintilla__Internal__ColourRGBA* colourFill_, Scintilla__Internal__ColourRGBA* colourStroke_);
void Scintilla__Internal__FillStroke_new2(Scintilla__Internal__ColourRGBA* colourBoth, Scintilla__Internal__FillStroke** outptr_Scintilla__Internal__FillStroke); Scintilla__Internal__FillStroke* Scintilla__Internal__FillStroke_new2(Scintilla__Internal__ColourRGBA* colourBoth);
void Scintilla__Internal__FillStroke_new3(Scintilla__Internal__ColourRGBA* colourFill_, Scintilla__Internal__ColourRGBA* colourStroke_, double widthStroke_, Scintilla__Internal__FillStroke** outptr_Scintilla__Internal__FillStroke); Scintilla__Internal__FillStroke* Scintilla__Internal__FillStroke_new3(Scintilla__Internal__ColourRGBA* colourFill_, Scintilla__Internal__ColourRGBA* colourStroke_, double widthStroke_);
void Scintilla__Internal__FillStroke_new4(Scintilla__Internal__ColourRGBA* colourBoth, double widthStroke_, Scintilla__Internal__FillStroke** outptr_Scintilla__Internal__FillStroke); Scintilla__Internal__FillStroke* Scintilla__Internal__FillStroke_new4(Scintilla__Internal__ColourRGBA* colourBoth, double widthStroke_);
void Scintilla__Internal__FillStroke_Delete(Scintilla__Internal__FillStroke* self, bool isSubclass); void Scintilla__Internal__FillStroke_Delete(Scintilla__Internal__FillStroke* self, bool isSubclass);
void Scintilla__Internal__ColourStop_new(double position_, Scintilla__Internal__ColourRGBA* colour_, Scintilla__Internal__ColourStop** outptr_Scintilla__Internal__ColourStop); Scintilla__Internal__ColourStop* Scintilla__Internal__ColourStop_new(double position_, Scintilla__Internal__ColourRGBA* colour_);
void Scintilla__Internal__ColourStop_Delete(Scintilla__Internal__ColourStop* self, bool isSubclass); void Scintilla__Internal__ColourStop_Delete(Scintilla__Internal__ColourStop* self, bool isSubclass);
void Scintilla__CharacterRange_Delete(Scintilla__CharacterRange* self, bool isSubclass); void Scintilla__CharacterRange_Delete(Scintilla__CharacterRange* self, bool isSubclass);
@ -395,18 +395,18 @@ void Scintilla__NotifyHeader_Delete(Scintilla__NotifyHeader* self, bool isSubcla
void Scintilla__NotificationData_Delete(Scintilla__NotificationData* self, bool isSubclass); void Scintilla__NotificationData_Delete(Scintilla__NotificationData* self, bool isSubclass);
void Scintilla__Internal__FontParameters_new(const char* faceName_, Scintilla__Internal__FontParameters** outptr_Scintilla__Internal__FontParameters); Scintilla__Internal__FontParameters* Scintilla__Internal__FontParameters_new(const char* faceName_);
void Scintilla__Internal__FontParameters_new2(const char* faceName_, double size_, Scintilla__Internal__FontParameters** outptr_Scintilla__Internal__FontParameters); Scintilla__Internal__FontParameters* Scintilla__Internal__FontParameters_new2(const char* faceName_, double size_);
void Scintilla__Internal__FontParameters_new3(const char* faceName_, double size_, int weight_, Scintilla__Internal__FontParameters** outptr_Scintilla__Internal__FontParameters); Scintilla__Internal__FontParameters* Scintilla__Internal__FontParameters_new3(const char* faceName_, double size_, int weight_);
void Scintilla__Internal__FontParameters_new4(const char* faceName_, double size_, int weight_, bool italic_, Scintilla__Internal__FontParameters** outptr_Scintilla__Internal__FontParameters); Scintilla__Internal__FontParameters* Scintilla__Internal__FontParameters_new4(const char* faceName_, double size_, int weight_, bool italic_);
void Scintilla__Internal__FontParameters_new5(const char* faceName_, double size_, int weight_, bool italic_, int extraFontFlag_, Scintilla__Internal__FontParameters** outptr_Scintilla__Internal__FontParameters); Scintilla__Internal__FontParameters* Scintilla__Internal__FontParameters_new5(const char* faceName_, double size_, int weight_, bool italic_, int extraFontFlag_);
void Scintilla__Internal__FontParameters_new6(const char* faceName_, double size_, int weight_, bool italic_, int extraFontFlag_, int technology_, Scintilla__Internal__FontParameters** outptr_Scintilla__Internal__FontParameters); Scintilla__Internal__FontParameters* Scintilla__Internal__FontParameters_new6(const char* faceName_, double size_, int weight_, bool italic_, int extraFontFlag_, int technology_);
void Scintilla__Internal__FontParameters_new7(const char* faceName_, double size_, int weight_, bool italic_, int extraFontFlag_, int technology_, int characterSet_, Scintilla__Internal__FontParameters** outptr_Scintilla__Internal__FontParameters); Scintilla__Internal__FontParameters* Scintilla__Internal__FontParameters_new7(const char* faceName_, double size_, int weight_, bool italic_, int extraFontFlag_, int technology_, int characterSet_);
void Scintilla__Internal__FontParameters_new8(const char* faceName_, double size_, int weight_, bool italic_, int extraFontFlag_, int technology_, int characterSet_, const char* localeName_, Scintilla__Internal__FontParameters** outptr_Scintilla__Internal__FontParameters); Scintilla__Internal__FontParameters* Scintilla__Internal__FontParameters_new8(const char* faceName_, double size_, int weight_, bool italic_, int extraFontFlag_, int technology_, int characterSet_, const char* localeName_);
void Scintilla__Internal__FontParameters_new9(const char* faceName_, double size_, int weight_, bool italic_, int extraFontFlag_, int technology_, int characterSet_, const char* localeName_, int stretch_, Scintilla__Internal__FontParameters** outptr_Scintilla__Internal__FontParameters); Scintilla__Internal__FontParameters* Scintilla__Internal__FontParameters_new9(const char* faceName_, double size_, int weight_, bool italic_, int extraFontFlag_, int technology_, int characterSet_, const char* localeName_, int stretch_);
void Scintilla__Internal__FontParameters_Delete(Scintilla__Internal__FontParameters* self, bool isSubclass); void Scintilla__Internal__FontParameters_Delete(Scintilla__Internal__FontParameters* self, bool isSubclass);
void Scintilla__Internal__Font_new(Scintilla__Internal__Font** outptr_Scintilla__Internal__Font); Scintilla__Internal__Font* Scintilla__Internal__Font_new();
void Scintilla__Internal__Font_Delete(Scintilla__Internal__Font* self, bool isSubclass); void Scintilla__Internal__Font_Delete(Scintilla__Internal__Font* self, bool isSubclass);
size_t Scintilla__Internal__IScreenLine_Length(const Scintilla__Internal__IScreenLine* self); size_t Scintilla__Internal__IScreenLine_Length(const Scintilla__Internal__IScreenLine* self);
@ -426,11 +426,11 @@ double Scintilla__Internal__IScreenLineLayout_XFromPosition(Scintilla__Internal_
void Scintilla__Internal__IScreenLineLayout_OperatorAssign(Scintilla__Internal__IScreenLineLayout* self, Scintilla__Internal__IScreenLineLayout* param1); void Scintilla__Internal__IScreenLineLayout_OperatorAssign(Scintilla__Internal__IScreenLineLayout* self, Scintilla__Internal__IScreenLineLayout* param1);
void Scintilla__Internal__IScreenLineLayout_Delete(Scintilla__Internal__IScreenLineLayout* self, bool isSubclass); void Scintilla__Internal__IScreenLineLayout_Delete(Scintilla__Internal__IScreenLineLayout* self, bool isSubclass);
void Scintilla__Internal__SurfaceMode_new(Scintilla__Internal__SurfaceMode** outptr_Scintilla__Internal__SurfaceMode); Scintilla__Internal__SurfaceMode* Scintilla__Internal__SurfaceMode_new();
void Scintilla__Internal__SurfaceMode_new2(int codePage_, bool bidiR2L_, Scintilla__Internal__SurfaceMode** outptr_Scintilla__Internal__SurfaceMode); Scintilla__Internal__SurfaceMode* Scintilla__Internal__SurfaceMode_new2(int codePage_, bool bidiR2L_);
void Scintilla__Internal__SurfaceMode_Delete(Scintilla__Internal__SurfaceMode* self, bool isSubclass); void Scintilla__Internal__SurfaceMode_Delete(Scintilla__Internal__SurfaceMode* self, bool isSubclass);
void Scintilla__Internal__Surface_new(Scintilla__Internal__Surface** outptr_Scintilla__Internal__Surface); Scintilla__Internal__Surface* Scintilla__Internal__Surface_new();
void Scintilla__Internal__Surface_Init(Scintilla__Internal__Surface* self, void* wid); void Scintilla__Internal__Surface_Init(Scintilla__Internal__Surface* self, void* wid);
void Scintilla__Internal__Surface_Init2(Scintilla__Internal__Surface* self, void* sid, void* wid); void Scintilla__Internal__Surface_Init2(Scintilla__Internal__Surface* self, void* sid, void* wid);
void Scintilla__Internal__Surface_SetMode(Scintilla__Internal__Surface* self, Scintilla__Internal__SurfaceMode* mode); void Scintilla__Internal__Surface_SetMode(Scintilla__Internal__Surface* self, Scintilla__Internal__SurfaceMode* mode);
@ -529,7 +529,7 @@ void Scintilla__Internal__Surface_override_virtual_FlushDrawing(void* self, intp
void Scintilla__Internal__Surface_virtualbase_FlushDrawing(void* self); void Scintilla__Internal__Surface_virtualbase_FlushDrawing(void* self);
void Scintilla__Internal__Surface_Delete(Scintilla__Internal__Surface* self, bool isSubclass); void Scintilla__Internal__Surface_Delete(Scintilla__Internal__Surface* self, bool isSubclass);
void Scintilla__Internal__Window_new(Scintilla__Internal__Window** outptr_Scintilla__Internal__Window); Scintilla__Internal__Window* Scintilla__Internal__Window_new();
void Scintilla__Internal__Window_OperatorAssign(Scintilla__Internal__Window* self, void* wid_); void Scintilla__Internal__Window_OperatorAssign(Scintilla__Internal__Window* self, void* wid_);
void* Scintilla__Internal__Window_GetID(const Scintilla__Internal__Window* self); void* Scintilla__Internal__Window_GetID(const Scintilla__Internal__Window* self);
bool Scintilla__Internal__Window_Created(const Scintilla__Internal__Window* self); bool Scintilla__Internal__Window_Created(const Scintilla__Internal__Window* self);
@ -546,7 +546,7 @@ Scintilla__Internal__PRectangle* Scintilla__Internal__Window_GetMonitorRect(Scin
void Scintilla__Internal__Window_Show1(Scintilla__Internal__Window* self, bool show); void Scintilla__Internal__Window_Show1(Scintilla__Internal__Window* self, bool show);
void Scintilla__Internal__Window_Delete(Scintilla__Internal__Window* self, bool isSubclass); void Scintilla__Internal__Window_Delete(Scintilla__Internal__Window* self, bool isSubclass);
void Scintilla__Internal__ListBoxEvent_new(int event_, Scintilla__Internal__ListBoxEvent** outptr_Scintilla__Internal__ListBoxEvent); Scintilla__Internal__ListBoxEvent* Scintilla__Internal__ListBoxEvent_new(int event_);
void Scintilla__Internal__ListBoxEvent_Delete(Scintilla__Internal__ListBoxEvent* self, bool isSubclass); void Scintilla__Internal__ListBoxEvent_Delete(Scintilla__Internal__ListBoxEvent* self, bool isSubclass);
void Scintilla__Internal__IListBoxDelegate_ListNotify(Scintilla__Internal__IListBoxDelegate* self, Scintilla__Internal__ListBoxEvent* plbe); void Scintilla__Internal__IListBoxDelegate_ListNotify(Scintilla__Internal__IListBoxDelegate* self, Scintilla__Internal__ListBoxEvent* plbe);
@ -555,7 +555,8 @@ void Scintilla__Internal__IListBoxDelegate_Delete(Scintilla__Internal__IListBoxD
void Scintilla__Internal__ListOptions_Delete(Scintilla__Internal__ListOptions* self, bool isSubclass); void Scintilla__Internal__ListOptions_Delete(Scintilla__Internal__ListOptions* self, bool isSubclass);
void Scintilla__Internal__ListBox_new(Scintilla__Internal__ListBox** outptr_Scintilla__Internal__ListBox, Scintilla__Internal__Window** outptr_Scintilla__Internal__Window); Scintilla__Internal__ListBox* Scintilla__Internal__ListBox_new();
void Scintilla__Internal__ListBox_virtbase(Scintilla__Internal__ListBox* src, Scintilla__Internal__Window** outptr_Scintilla__Internal__Window);
void Scintilla__Internal__ListBox_SetFont(Scintilla__Internal__ListBox* self, Scintilla__Internal__Font* font); void Scintilla__Internal__ListBox_SetFont(Scintilla__Internal__ListBox* self, Scintilla__Internal__Font* font);
void Scintilla__Internal__ListBox_Create(Scintilla__Internal__ListBox* self, Scintilla__Internal__Window* parent, int ctrlID, Scintilla__Internal__Point* location, int lineHeight_, bool unicodeMode_, int technology_); void Scintilla__Internal__ListBox_Create(Scintilla__Internal__ListBox* self, Scintilla__Internal__Window* parent, int ctrlID, Scintilla__Internal__Point* location, int lineHeight_, bool unicodeMode_, int technology_);
void Scintilla__Internal__ListBox_SetAverageCharWidth(Scintilla__Internal__ListBox* self, int width); void Scintilla__Internal__ListBox_SetAverageCharWidth(Scintilla__Internal__ListBox* self, int width);
@ -615,7 +616,7 @@ void Scintilla__Internal__ListBox_override_virtual_SetOptions(void* self, intptr
void Scintilla__Internal__ListBox_virtualbase_SetOptions(void* self, Scintilla__Internal__ListOptions* options_); void Scintilla__Internal__ListBox_virtualbase_SetOptions(void* self, Scintilla__Internal__ListOptions* options_);
void Scintilla__Internal__ListBox_Delete(Scintilla__Internal__ListBox* self, bool isSubclass); void Scintilla__Internal__ListBox_Delete(Scintilla__Internal__ListBox* self, bool isSubclass);
void Scintilla__Internal__Menu_new(Scintilla__Internal__Menu** outptr_Scintilla__Internal__Menu); Scintilla__Internal__Menu* Scintilla__Internal__Menu_new();
void* Scintilla__Internal__Menu_GetID(const Scintilla__Internal__Menu* self); void* Scintilla__Internal__Menu_GetID(const Scintilla__Internal__Menu* self);
void Scintilla__Internal__Menu_CreatePopUp(Scintilla__Internal__Menu* self); void Scintilla__Internal__Menu_CreatePopUp(Scintilla__Internal__Menu* self);
void Scintilla__Internal__Menu_Destroy(Scintilla__Internal__Menu* self); void Scintilla__Internal__Menu_Destroy(Scintilla__Internal__Menu* self);
@ -644,8 +645,9 @@ void Sci_NotifyHeader_Delete(Sci_NotifyHeader* self, bool isSubclass);
void SCNotification_Delete(SCNotification* self, bool isSubclass); void SCNotification_Delete(SCNotification* self, bool isSubclass);
void ScintillaEditBase_new(QWidget* parent, ScintillaEditBase** outptr_ScintillaEditBase, QAbstractScrollArea** outptr_QAbstractScrollArea, QFrame** outptr_QFrame, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice); ScintillaEditBase* ScintillaEditBase_new(QWidget* parent);
void ScintillaEditBase_new2(ScintillaEditBase** outptr_ScintillaEditBase, QAbstractScrollArea** outptr_QAbstractScrollArea, QFrame** outptr_QFrame, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice); ScintillaEditBase* ScintillaEditBase_new2();
void ScintillaEditBase_virtbase(ScintillaEditBase* src, QAbstractScrollArea** outptr_QAbstractScrollArea);
QMetaObject* ScintillaEditBase_MetaObject(const ScintillaEditBase* self); QMetaObject* ScintillaEditBase_MetaObject(const ScintillaEditBase* self);
void* ScintillaEditBase_Metacast(ScintillaEditBase* self, const char* param1); void* ScintillaEditBase_Metacast(ScintillaEditBase* self, const char* param1);
struct miqt_string ScintillaEditBase_Tr(const char* s); struct miqt_string ScintillaEditBase_Tr(const char* s);
@ -809,9 +811,10 @@ void ScintillaEditBase_override_virtual_ViewportSizeHint(void* self, intptr_t sl
QSize* ScintillaEditBase_virtualbase_ViewportSizeHint(const void* self); QSize* ScintillaEditBase_virtualbase_ViewportSizeHint(const void* self);
void ScintillaEditBase_Delete(ScintillaEditBase* self, bool isSubclass); void ScintillaEditBase_Delete(ScintillaEditBase* self, bool isSubclass);
void ScintillaDocument_new(ScintillaDocument** outptr_ScintillaDocument, QObject** outptr_QObject); ScintillaDocument* ScintillaDocument_new();
void ScintillaDocument_new2(QObject* parent, ScintillaDocument** outptr_ScintillaDocument, QObject** outptr_QObject); ScintillaDocument* ScintillaDocument_new2(QObject* parent);
void ScintillaDocument_new3(QObject* parent, void* pdoc_, ScintillaDocument** outptr_ScintillaDocument, QObject** outptr_QObject); ScintillaDocument* ScintillaDocument_new3(QObject* parent, void* pdoc_);
void ScintillaDocument_virtbase(ScintillaDocument* src, QObject** outptr_QObject);
QMetaObject* ScintillaDocument_MetaObject(const ScintillaDocument* self); QMetaObject* ScintillaDocument_MetaObject(const ScintillaDocument* self);
void* ScintillaDocument_Metacast(ScintillaDocument* self, const char* param1); void* ScintillaDocument_Metacast(ScintillaDocument* self, const char* param1);
struct miqt_string ScintillaDocument_Tr(const char* s); struct miqt_string ScintillaDocument_Tr(const char* s);
@ -887,8 +890,9 @@ void ScintillaDocument_override_virtual_DisconnectNotify(void* self, intptr_t sl
void ScintillaDocument_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal); void ScintillaDocument_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
void ScintillaDocument_Delete(ScintillaDocument* self, bool isSubclass); void ScintillaDocument_Delete(ScintillaDocument* self, bool isSubclass);
void ScintillaEdit_new(QWidget* parent, ScintillaEdit** outptr_ScintillaEdit, ScintillaEditBase** outptr_ScintillaEditBase, QAbstractScrollArea** outptr_QAbstractScrollArea, QFrame** outptr_QFrame, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice); ScintillaEdit* ScintillaEdit_new(QWidget* parent);
void ScintillaEdit_new2(ScintillaEdit** outptr_ScintillaEdit, ScintillaEditBase** outptr_ScintillaEditBase, QAbstractScrollArea** outptr_QAbstractScrollArea, QFrame** outptr_QFrame, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice); ScintillaEdit* ScintillaEdit_new2();
void ScintillaEdit_virtbase(ScintillaEdit* src, ScintillaEditBase** outptr_ScintillaEditBase);
QMetaObject* ScintillaEdit_MetaObject(const ScintillaEdit* self); QMetaObject* ScintillaEdit_MetaObject(const ScintillaEdit* self);
void* ScintillaEdit_Metacast(ScintillaEdit* self, const char* param1); void* ScintillaEdit_Metacast(ScintillaEdit* self, const char* param1);
struct miqt_string ScintillaEdit_Tr(const char* s); struct miqt_string ScintillaEdit_Tr(const char* s);

View File

@ -325,10 +325,12 @@ public:
}; };
void QsciAbstractAPIs_new(QsciLexer* lexer, QsciAbstractAPIs** outptr_QsciAbstractAPIs, QObject** outptr_QObject) { QsciAbstractAPIs* QsciAbstractAPIs_new(QsciLexer* lexer) {
MiqtVirtualQsciAbstractAPIs* ret = new MiqtVirtualQsciAbstractAPIs(lexer); return new MiqtVirtualQsciAbstractAPIs(lexer);
*outptr_QsciAbstractAPIs = ret; }
*outptr_QObject = static_cast<QObject*>(ret);
void QsciAbstractAPIs_virtbase(QsciAbstractAPIs* src, QObject** outptr_QObject) {
*outptr_QObject = static_cast<QObject*>(src);
} }
QMetaObject* QsciAbstractAPIs_MetaObject(const QsciAbstractAPIs* self) { QMetaObject* QsciAbstractAPIs_MetaObject(const QsciAbstractAPIs* self) {

View File

@ -36,31 +36,26 @@ func (this *QsciAbstractAPIs) UnsafePointer() unsafe.Pointer {
} }
// newQsciAbstractAPIs constructs the type using only CGO pointers. // newQsciAbstractAPIs constructs the type using only CGO pointers.
func newQsciAbstractAPIs(h *C.QsciAbstractAPIs, h_QObject *C.QObject) *QsciAbstractAPIs { func newQsciAbstractAPIs(h *C.QsciAbstractAPIs) *QsciAbstractAPIs {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QObject *C.QObject = nil
C.QsciAbstractAPIs_virtbase(h, &outptr_QObject)
return &QsciAbstractAPIs{h: h, return &QsciAbstractAPIs{h: h,
QObject: qt.UnsafeNewQObject(unsafe.Pointer(h_QObject))} QObject: qt.UnsafeNewQObject(unsafe.Pointer(outptr_QObject))}
} }
// UnsafeNewQsciAbstractAPIs constructs the type using only unsafe pointers. // UnsafeNewQsciAbstractAPIs constructs the type using only unsafe pointers.
func UnsafeNewQsciAbstractAPIs(h unsafe.Pointer, h_QObject unsafe.Pointer) *QsciAbstractAPIs { func UnsafeNewQsciAbstractAPIs(h unsafe.Pointer) *QsciAbstractAPIs {
if h == nil { return newQsciAbstractAPIs((*C.QsciAbstractAPIs)(h))
return nil
}
return &QsciAbstractAPIs{h: (*C.QsciAbstractAPIs)(h),
QObject: qt.UnsafeNewQObject(h_QObject)}
} }
// NewQsciAbstractAPIs constructs a new QsciAbstractAPIs object. // NewQsciAbstractAPIs constructs a new QsciAbstractAPIs object.
func NewQsciAbstractAPIs(lexer *QsciLexer) *QsciAbstractAPIs { func NewQsciAbstractAPIs(lexer *QsciLexer) *QsciAbstractAPIs {
var outptr_QsciAbstractAPIs *C.QsciAbstractAPIs = nil
var outptr_QObject *C.QObject = nil
C.QsciAbstractAPIs_new(lexer.cPointer(), &outptr_QsciAbstractAPIs, &outptr_QObject) ret := newQsciAbstractAPIs(C.QsciAbstractAPIs_new(lexer.cPointer()))
ret := newQsciAbstractAPIs(outptr_QsciAbstractAPIs, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
@ -94,7 +89,7 @@ func QsciAbstractAPIs_TrUtf8(s string) string {
} }
func (this *QsciAbstractAPIs) Lexer() *QsciLexer { func (this *QsciAbstractAPIs) Lexer() *QsciLexer {
return newQsciLexer(C.QsciAbstractAPIs_Lexer(this.h), nil) return newQsciLexer(C.QsciAbstractAPIs_Lexer(this.h))
} }
func (this *QsciAbstractAPIs) UpdateAutoCompletionList(context []string, list []string) { func (this *QsciAbstractAPIs) UpdateAutoCompletionList(context []string, list []string) {
@ -406,7 +401,7 @@ func miqt_exec_callback_QsciAbstractAPIs_TimerEvent(self *C.QsciAbstractAPIs, cb
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQTimerEvent(unsafe.Pointer(event), nil) slotval1 := qt.UnsafeNewQTimerEvent(unsafe.Pointer(event))
gofunc((&QsciAbstractAPIs{h: self}).callVirtualBase_TimerEvent, slotval1) gofunc((&QsciAbstractAPIs{h: self}).callVirtualBase_TimerEvent, slotval1)
@ -432,7 +427,7 @@ func miqt_exec_callback_QsciAbstractAPIs_ChildEvent(self *C.QsciAbstractAPIs, cb
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQChildEvent(unsafe.Pointer(event), nil) slotval1 := qt.UnsafeNewQChildEvent(unsafe.Pointer(event))
gofunc((&QsciAbstractAPIs{h: self}).callVirtualBase_ChildEvent, slotval1) gofunc((&QsciAbstractAPIs{h: self}).callVirtualBase_ChildEvent, slotval1)

View File

@ -34,7 +34,8 @@ typedef struct QsciAbstractAPIs QsciAbstractAPIs;
typedef struct QsciLexer QsciLexer; typedef struct QsciLexer QsciLexer;
#endif #endif
void QsciAbstractAPIs_new(QsciLexer* lexer, QsciAbstractAPIs** outptr_QsciAbstractAPIs, QObject** outptr_QObject); QsciAbstractAPIs* QsciAbstractAPIs_new(QsciLexer* lexer);
void QsciAbstractAPIs_virtbase(QsciAbstractAPIs* src, QObject** outptr_QObject);
QMetaObject* QsciAbstractAPIs_MetaObject(const QsciAbstractAPIs* self); QMetaObject* QsciAbstractAPIs_MetaObject(const QsciAbstractAPIs* self);
void* QsciAbstractAPIs_Metacast(QsciAbstractAPIs* self, const char* param1); void* QsciAbstractAPIs_Metacast(QsciAbstractAPIs* self, const char* param1);
struct miqt_string QsciAbstractAPIs_Tr(const char* s); struct miqt_string QsciAbstractAPIs_Tr(const char* s);

View File

@ -232,11 +232,12 @@ public:
}; };
void QsciAPIs_new(QsciLexer* lexer, QsciAPIs** outptr_QsciAPIs, QsciAbstractAPIs** outptr_QsciAbstractAPIs, QObject** outptr_QObject) { QsciAPIs* QsciAPIs_new(QsciLexer* lexer) {
MiqtVirtualQsciAPIs* ret = new MiqtVirtualQsciAPIs(lexer); return new MiqtVirtualQsciAPIs(lexer);
*outptr_QsciAPIs = ret; }
*outptr_QsciAbstractAPIs = static_cast<QsciAbstractAPIs*>(ret);
*outptr_QObject = static_cast<QObject*>(ret); void QsciAPIs_virtbase(QsciAPIs* src, QsciAbstractAPIs** outptr_QsciAbstractAPIs) {
*outptr_QsciAbstractAPIs = static_cast<QsciAbstractAPIs*>(src);
} }
QMetaObject* QsciAPIs_MetaObject(const QsciAPIs* self) { QMetaObject* QsciAPIs_MetaObject(const QsciAPIs* self) {

View File

@ -36,32 +36,26 @@ func (this *QsciAPIs) UnsafePointer() unsafe.Pointer {
} }
// newQsciAPIs constructs the type using only CGO pointers. // newQsciAPIs constructs the type using only CGO pointers.
func newQsciAPIs(h *C.QsciAPIs, h_QsciAbstractAPIs *C.QsciAbstractAPIs, h_QObject *C.QObject) *QsciAPIs { func newQsciAPIs(h *C.QsciAPIs) *QsciAPIs {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciAbstractAPIs *C.QsciAbstractAPIs = nil
C.QsciAPIs_virtbase(h, &outptr_QsciAbstractAPIs)
return &QsciAPIs{h: h, return &QsciAPIs{h: h,
QsciAbstractAPIs: newQsciAbstractAPIs(h_QsciAbstractAPIs, h_QObject)} QsciAbstractAPIs: newQsciAbstractAPIs(outptr_QsciAbstractAPIs)}
} }
// UnsafeNewQsciAPIs constructs the type using only unsafe pointers. // UnsafeNewQsciAPIs constructs the type using only unsafe pointers.
func UnsafeNewQsciAPIs(h unsafe.Pointer, h_QsciAbstractAPIs unsafe.Pointer, h_QObject unsafe.Pointer) *QsciAPIs { func UnsafeNewQsciAPIs(h unsafe.Pointer) *QsciAPIs {
if h == nil { return newQsciAPIs((*C.QsciAPIs)(h))
return nil
}
return &QsciAPIs{h: (*C.QsciAPIs)(h),
QsciAbstractAPIs: UnsafeNewQsciAbstractAPIs(h_QsciAbstractAPIs, h_QObject)}
} }
// NewQsciAPIs constructs a new QsciAPIs object. // NewQsciAPIs constructs a new QsciAPIs object.
func NewQsciAPIs(lexer *QsciLexer) *QsciAPIs { func NewQsciAPIs(lexer *QsciLexer) *QsciAPIs {
var outptr_QsciAPIs *C.QsciAPIs = nil
var outptr_QsciAbstractAPIs *C.QsciAbstractAPIs = nil
var outptr_QObject *C.QObject = nil
C.QsciAPIs_new(lexer.cPointer(), &outptr_QsciAPIs, &outptr_QsciAbstractAPIs, &outptr_QObject) ret := newQsciAPIs(C.QsciAPIs_new(lexer.cPointer()))
ret := newQsciAPIs(outptr_QsciAPIs, outptr_QsciAbstractAPIs, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }

View File

@ -30,7 +30,8 @@ typedef struct QsciAbstractAPIs QsciAbstractAPIs;
typedef struct QsciLexer QsciLexer; typedef struct QsciLexer QsciLexer;
#endif #endif
void QsciAPIs_new(QsciLexer* lexer, QsciAPIs** outptr_QsciAPIs, QsciAbstractAPIs** outptr_QsciAbstractAPIs, QObject** outptr_QObject); QsciAPIs* QsciAPIs_new(QsciLexer* lexer);
void QsciAPIs_virtbase(QsciAPIs* src, QsciAbstractAPIs** outptr_QsciAbstractAPIs);
QMetaObject* QsciAPIs_MetaObject(const QsciAPIs* self); QMetaObject* QsciAPIs_MetaObject(const QsciAPIs* self);
void* QsciAPIs_Metacast(QsciAPIs* self, const char* param1); void* QsciAPIs_Metacast(QsciAPIs* self, const char* param1);
struct miqt_string QsciAPIs_Tr(const char* s); struct miqt_string QsciAPIs_Tr(const char* s);

View File

@ -141,16 +141,13 @@ func newQsciCommand(h *C.QsciCommand) *QsciCommand {
if h == nil { if h == nil {
return nil return nil
} }
return &QsciCommand{h: h} return &QsciCommand{h: h}
} }
// UnsafeNewQsciCommand constructs the type using only unsafe pointers. // UnsafeNewQsciCommand constructs the type using only unsafe pointers.
func UnsafeNewQsciCommand(h unsafe.Pointer) *QsciCommand { func UnsafeNewQsciCommand(h unsafe.Pointer) *QsciCommand {
if h == nil { return newQsciCommand((*C.QsciCommand)(h))
return nil
}
return &QsciCommand{h: (*C.QsciCommand)(h)}
} }
func (this *QsciCommand) Command() QsciCommand__Command { func (this *QsciCommand) Command() QsciCommand__Command {

View File

@ -37,16 +37,13 @@ func newQsciCommandSet(h *C.QsciCommandSet) *QsciCommandSet {
if h == nil { if h == nil {
return nil return nil
} }
return &QsciCommandSet{h: h} return &QsciCommandSet{h: h}
} }
// UnsafeNewQsciCommandSet constructs the type using only unsafe pointers. // UnsafeNewQsciCommandSet constructs the type using only unsafe pointers.
func UnsafeNewQsciCommandSet(h unsafe.Pointer) *QsciCommandSet { func UnsafeNewQsciCommandSet(h unsafe.Pointer) *QsciCommandSet {
if h == nil { return newQsciCommandSet((*C.QsciCommandSet)(h))
return nil
}
return &QsciCommandSet{h: (*C.QsciCommandSet)(h)}
} }
func (this *QsciCommandSet) ReadSettings(qs *qt.QSettings) bool { func (this *QsciCommandSet) ReadSettings(qs *qt.QSettings) bool {

View File

@ -2,14 +2,12 @@
#include "gen_qscidocument.h" #include "gen_qscidocument.h"
#include "_cgo_export.h" #include "_cgo_export.h"
void QsciDocument_new(QsciDocument** outptr_QsciDocument) { QsciDocument* QsciDocument_new() {
QsciDocument* ret = new QsciDocument(); return new QsciDocument();
*outptr_QsciDocument = ret;
} }
void QsciDocument_new2(QsciDocument* param1, QsciDocument** outptr_QsciDocument) { QsciDocument* QsciDocument_new2(QsciDocument* param1) {
QsciDocument* ret = new QsciDocument(*param1); return new QsciDocument(*param1);
*outptr_QsciDocument = ret;
} }
void QsciDocument_OperatorAssign(QsciDocument* self, QsciDocument* param1) { void QsciDocument_OperatorAssign(QsciDocument* self, QsciDocument* param1) {

View File

@ -37,34 +37,27 @@ func newQsciDocument(h *C.QsciDocument) *QsciDocument {
if h == nil { if h == nil {
return nil return nil
} }
return &QsciDocument{h: h} return &QsciDocument{h: h}
} }
// UnsafeNewQsciDocument constructs the type using only unsafe pointers. // UnsafeNewQsciDocument constructs the type using only unsafe pointers.
func UnsafeNewQsciDocument(h unsafe.Pointer) *QsciDocument { func UnsafeNewQsciDocument(h unsafe.Pointer) *QsciDocument {
if h == nil { return newQsciDocument((*C.QsciDocument)(h))
return nil
}
return &QsciDocument{h: (*C.QsciDocument)(h)}
} }
// NewQsciDocument constructs a new QsciDocument object. // NewQsciDocument constructs a new QsciDocument object.
func NewQsciDocument() *QsciDocument { func NewQsciDocument() *QsciDocument {
var outptr_QsciDocument *C.QsciDocument = nil
C.QsciDocument_new(&outptr_QsciDocument) ret := newQsciDocument(C.QsciDocument_new())
ret := newQsciDocument(outptr_QsciDocument)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciDocument2 constructs a new QsciDocument object. // NewQsciDocument2 constructs a new QsciDocument object.
func NewQsciDocument2(param1 *QsciDocument) *QsciDocument { func NewQsciDocument2(param1 *QsciDocument) *QsciDocument {
var outptr_QsciDocument *C.QsciDocument = nil
C.QsciDocument_new2(param1.cPointer(), &outptr_QsciDocument) ret := newQsciDocument(C.QsciDocument_new2(param1.cPointer()))
ret := newQsciDocument(outptr_QsciDocument)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }

View File

@ -20,8 +20,8 @@ class QsciDocument;
typedef struct QsciDocument QsciDocument; typedef struct QsciDocument QsciDocument;
#endif #endif
void QsciDocument_new(QsciDocument** outptr_QsciDocument); QsciDocument* QsciDocument_new();
void QsciDocument_new2(QsciDocument* param1, QsciDocument** outptr_QsciDocument); QsciDocument* QsciDocument_new2(QsciDocument* param1);
void QsciDocument_OperatorAssign(QsciDocument* self, QsciDocument* param1); void QsciDocument_OperatorAssign(QsciDocument* self, QsciDocument* param1);
void QsciDocument_Delete(QsciDocument* self, bool isSubclass); void QsciDocument_Delete(QsciDocument* self, bool isSubclass);

View File

@ -1014,16 +1014,16 @@ public:
}; };
void QsciLexer_new(QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexer* QsciLexer_new() {
MiqtVirtualQsciLexer* ret = new MiqtVirtualQsciLexer(); return new MiqtVirtualQsciLexer();
*outptr_QsciLexer = ret;
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexer_new2(QObject* parent, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexer* QsciLexer_new2(QObject* parent) {
MiqtVirtualQsciLexer* ret = new MiqtVirtualQsciLexer(parent); return new MiqtVirtualQsciLexer(parent);
*outptr_QsciLexer = ret; }
*outptr_QObject = static_cast<QObject*>(ret);
void QsciLexer_virtbase(QsciLexer* src, QObject** outptr_QObject) {
*outptr_QObject = static_cast<QObject*>(src);
} }
QMetaObject* QsciLexer_MetaObject(const QsciLexer* self) { QMetaObject* QsciLexer_MetaObject(const QsciLexer* self) {

View File

@ -36,42 +36,34 @@ func (this *QsciLexer) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexer constructs the type using only CGO pointers. // newQsciLexer constructs the type using only CGO pointers.
func newQsciLexer(h *C.QsciLexer, h_QObject *C.QObject) *QsciLexer { func newQsciLexer(h *C.QsciLexer) *QsciLexer {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QObject *C.QObject = nil
C.QsciLexer_virtbase(h, &outptr_QObject)
return &QsciLexer{h: h, return &QsciLexer{h: h,
QObject: qt.UnsafeNewQObject(unsafe.Pointer(h_QObject))} QObject: qt.UnsafeNewQObject(unsafe.Pointer(outptr_QObject))}
} }
// UnsafeNewQsciLexer constructs the type using only unsafe pointers. // UnsafeNewQsciLexer constructs the type using only unsafe pointers.
func UnsafeNewQsciLexer(h unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexer { func UnsafeNewQsciLexer(h unsafe.Pointer) *QsciLexer {
if h == nil { return newQsciLexer((*C.QsciLexer)(h))
return nil
}
return &QsciLexer{h: (*C.QsciLexer)(h),
QObject: qt.UnsafeNewQObject(h_QObject)}
} }
// NewQsciLexer constructs a new QsciLexer object. // NewQsciLexer constructs a new QsciLexer object.
func NewQsciLexer() *QsciLexer { func NewQsciLexer() *QsciLexer {
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexer_new(&outptr_QsciLexer, &outptr_QObject) ret := newQsciLexer(C.QsciLexer_new())
ret := newQsciLexer(outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexer2 constructs a new QsciLexer object. // NewQsciLexer2 constructs a new QsciLexer object.
func NewQsciLexer2(parent *qt.QObject) *QsciLexer { func NewQsciLexer2(parent *qt.QObject) *QsciLexer {
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexer_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexer(C.QsciLexer_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexer(outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
@ -119,7 +111,7 @@ func (this *QsciLexer) LexerId() int {
} }
func (this *QsciLexer) Apis() *QsciAbstractAPIs { func (this *QsciLexer) Apis() *QsciAbstractAPIs {
return newQsciAbstractAPIs(C.QsciLexer_Apis(this.h), nil) return newQsciAbstractAPIs(C.QsciLexer_Apis(this.h))
} }
func (this *QsciLexer) AutoCompletionFillups() string { func (this *QsciLexer) AutoCompletionFillups() string {
@ -254,7 +246,7 @@ func (this *QsciLexer) DefaultPaperWithStyle(style int) *qt.QColor {
} }
func (this *QsciLexer) Editor() *QsciScintilla { func (this *QsciLexer) Editor() *QsciScintilla {
return newQsciScintilla(C.QsciLexer_Editor(this.h), nil, nil, nil, nil, nil, nil) return newQsciScintilla(C.QsciLexer_Editor(this.h))
} }
func (this *QsciLexer) SetAPIs(apis *QsciAbstractAPIs) { func (this *QsciLexer) SetAPIs(apis *QsciAbstractAPIs) {
@ -1167,7 +1159,7 @@ func miqt_exec_callback_QsciLexer_SetEditor(self *C.QsciLexer, cb C.intptr_t, ed
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := newQsciScintilla(editor, nil, nil, nil, nil, nil, nil) slotval1 := newQsciScintilla(editor)
gofunc((&QsciLexer{h: self}).callVirtualBase_SetEditor, slotval1) gofunc((&QsciLexer{h: self}).callVirtualBase_SetEditor, slotval1)
@ -1411,7 +1403,7 @@ func miqt_exec_callback_QsciLexer_ReadProperties(self *C.QsciLexer, cb C.intptr_
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))
@ -1448,7 +1440,7 @@ func miqt_exec_callback_QsciLexer_WriteProperties(self *C.QsciLexer, cb C.intptr
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))
@ -1539,7 +1531,7 @@ func miqt_exec_callback_QsciLexer_TimerEvent(self *C.QsciLexer, cb C.intptr_t, e
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQTimerEvent(unsafe.Pointer(event), nil) slotval1 := qt.UnsafeNewQTimerEvent(unsafe.Pointer(event))
gofunc((&QsciLexer{h: self}).callVirtualBase_TimerEvent, slotval1) gofunc((&QsciLexer{h: self}).callVirtualBase_TimerEvent, slotval1)
@ -1565,7 +1557,7 @@ func miqt_exec_callback_QsciLexer_ChildEvent(self *C.QsciLexer, cb C.intptr_t, e
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQChildEvent(unsafe.Pointer(event), nil) slotval1 := qt.UnsafeNewQChildEvent(unsafe.Pointer(event))
gofunc((&QsciLexer{h: self}).callVirtualBase_ChildEvent, slotval1) gofunc((&QsciLexer{h: self}).callVirtualBase_ChildEvent, slotval1)

View File

@ -42,8 +42,9 @@ typedef struct QsciLexer QsciLexer;
typedef struct QsciScintilla QsciScintilla; typedef struct QsciScintilla QsciScintilla;
#endif #endif
void QsciLexer_new(QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexer* QsciLexer_new();
void QsciLexer_new2(QObject* parent, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexer* QsciLexer_new2(QObject* parent);
void QsciLexer_virtbase(QsciLexer* src, QObject** outptr_QObject);
QMetaObject* QsciLexer_MetaObject(const QsciLexer* self); QMetaObject* QsciLexer_MetaObject(const QsciLexer* self);
void* QsciLexer_Metacast(QsciLexer* self, const char* param1); void* QsciLexer_Metacast(QsciLexer* self, const char* param1);
struct miqt_string QsciLexer_Tr(const char* s); struct miqt_string QsciLexer_Tr(const char* s);

View File

@ -887,18 +887,16 @@ public:
}; };
void QsciLexerAVS_new(QsciLexerAVS** outptr_QsciLexerAVS, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerAVS* QsciLexerAVS_new() {
MiqtVirtualQsciLexerAVS* ret = new MiqtVirtualQsciLexerAVS(); return new MiqtVirtualQsciLexerAVS();
*outptr_QsciLexerAVS = ret;
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerAVS_new2(QObject* parent, QsciLexerAVS** outptr_QsciLexerAVS, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerAVS* QsciLexerAVS_new2(QObject* parent) {
MiqtVirtualQsciLexerAVS* ret = new MiqtVirtualQsciLexerAVS(parent); return new MiqtVirtualQsciLexerAVS(parent);
*outptr_QsciLexerAVS = ret; }
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret); void QsciLexerAVS_virtbase(QsciLexerAVS* src, QsciLexer** outptr_QsciLexer) {
*outptr_QsciLexer = static_cast<QsciLexer*>(src);
} }
QMetaObject* QsciLexerAVS_MetaObject(const QsciLexerAVS* self) { QMetaObject* QsciLexerAVS_MetaObject(const QsciLexerAVS* self) {

View File

@ -56,44 +56,34 @@ func (this *QsciLexerAVS) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerAVS constructs the type using only CGO pointers. // newQsciLexerAVS constructs the type using only CGO pointers.
func newQsciLexerAVS(h *C.QsciLexerAVS, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerAVS { func newQsciLexerAVS(h *C.QsciLexerAVS) *QsciLexerAVS {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexer *C.QsciLexer = nil
C.QsciLexerAVS_virtbase(h, &outptr_QsciLexer)
return &QsciLexerAVS{h: h, return &QsciLexerAVS{h: h,
QsciLexer: newQsciLexer(h_QsciLexer, h_QObject)} QsciLexer: newQsciLexer(outptr_QsciLexer)}
} }
// UnsafeNewQsciLexerAVS constructs the type using only unsafe pointers. // UnsafeNewQsciLexerAVS constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerAVS(h unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerAVS { func UnsafeNewQsciLexerAVS(h unsafe.Pointer) *QsciLexerAVS {
if h == nil { return newQsciLexerAVS((*C.QsciLexerAVS)(h))
return nil
}
return &QsciLexerAVS{h: (*C.QsciLexerAVS)(h),
QsciLexer: UnsafeNewQsciLexer(h_QsciLexer, h_QObject)}
} }
// NewQsciLexerAVS constructs a new QsciLexerAVS object. // NewQsciLexerAVS constructs a new QsciLexerAVS object.
func NewQsciLexerAVS() *QsciLexerAVS { func NewQsciLexerAVS() *QsciLexerAVS {
var outptr_QsciLexerAVS *C.QsciLexerAVS = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerAVS_new(&outptr_QsciLexerAVS, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerAVS(C.QsciLexerAVS_new())
ret := newQsciLexerAVS(outptr_QsciLexerAVS, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerAVS2 constructs a new QsciLexerAVS object. // NewQsciLexerAVS2 constructs a new QsciLexerAVS object.
func NewQsciLexerAVS2(parent *qt.QObject) *QsciLexerAVS { func NewQsciLexerAVS2(parent *qt.QObject) *QsciLexerAVS {
var outptr_QsciLexerAVS *C.QsciLexerAVS = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerAVS_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerAVS, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerAVS(C.QsciLexerAVS_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerAVS(outptr_QsciLexerAVS, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
@ -962,7 +952,7 @@ func miqt_exec_callback_QsciLexerAVS_SetEditor(self *C.QsciLexerAVS, cb C.intptr
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := newQsciScintilla(editor, nil, nil, nil, nil, nil, nil) slotval1 := newQsciScintilla(editor)
gofunc((&QsciLexerAVS{h: self}).callVirtualBase_SetEditor, slotval1) gofunc((&QsciLexerAVS{h: self}).callVirtualBase_SetEditor, slotval1)
@ -1206,7 +1196,7 @@ func miqt_exec_callback_QsciLexerAVS_ReadProperties(self *C.QsciLexerAVS, cb C.i
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))
@ -1243,7 +1233,7 @@ func miqt_exec_callback_QsciLexerAVS_WriteProperties(self *C.QsciLexerAVS, cb C.
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))

View File

@ -34,8 +34,9 @@ typedef struct QsciLexerAVS QsciLexerAVS;
typedef struct QsciScintilla QsciScintilla; typedef struct QsciScintilla QsciScintilla;
#endif #endif
void QsciLexerAVS_new(QsciLexerAVS** outptr_QsciLexerAVS, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerAVS* QsciLexerAVS_new();
void QsciLexerAVS_new2(QObject* parent, QsciLexerAVS** outptr_QsciLexerAVS, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerAVS* QsciLexerAVS_new2(QObject* parent);
void QsciLexerAVS_virtbase(QsciLexerAVS* src, QsciLexer** outptr_QsciLexer);
QMetaObject* QsciLexerAVS_MetaObject(const QsciLexerAVS* self); QMetaObject* QsciLexerAVS_MetaObject(const QsciLexerAVS* self);
void* QsciLexerAVS_Metacast(QsciLexerAVS* self, const char* param1); void* QsciLexerAVS_Metacast(QsciLexerAVS* self, const char* param1);
struct miqt_string QsciLexerAVS_Tr(const char* s); struct miqt_string QsciLexerAVS_Tr(const char* s);

View File

@ -887,18 +887,16 @@ public:
}; };
void QsciLexerBash_new(QsciLexerBash** outptr_QsciLexerBash, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerBash* QsciLexerBash_new() {
MiqtVirtualQsciLexerBash* ret = new MiqtVirtualQsciLexerBash(); return new MiqtVirtualQsciLexerBash();
*outptr_QsciLexerBash = ret;
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerBash_new2(QObject* parent, QsciLexerBash** outptr_QsciLexerBash, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerBash* QsciLexerBash_new2(QObject* parent) {
MiqtVirtualQsciLexerBash* ret = new MiqtVirtualQsciLexerBash(parent); return new MiqtVirtualQsciLexerBash(parent);
*outptr_QsciLexerBash = ret; }
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret); void QsciLexerBash_virtbase(QsciLexerBash* src, QsciLexer** outptr_QsciLexer) {
*outptr_QsciLexer = static_cast<QsciLexer*>(src);
} }
QMetaObject* QsciLexerBash_MetaObject(const QsciLexerBash* self) { QMetaObject* QsciLexerBash_MetaObject(const QsciLexerBash* self) {

View File

@ -55,44 +55,34 @@ func (this *QsciLexerBash) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerBash constructs the type using only CGO pointers. // newQsciLexerBash constructs the type using only CGO pointers.
func newQsciLexerBash(h *C.QsciLexerBash, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerBash { func newQsciLexerBash(h *C.QsciLexerBash) *QsciLexerBash {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexer *C.QsciLexer = nil
C.QsciLexerBash_virtbase(h, &outptr_QsciLexer)
return &QsciLexerBash{h: h, return &QsciLexerBash{h: h,
QsciLexer: newQsciLexer(h_QsciLexer, h_QObject)} QsciLexer: newQsciLexer(outptr_QsciLexer)}
} }
// UnsafeNewQsciLexerBash constructs the type using only unsafe pointers. // UnsafeNewQsciLexerBash constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerBash(h unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerBash { func UnsafeNewQsciLexerBash(h unsafe.Pointer) *QsciLexerBash {
if h == nil { return newQsciLexerBash((*C.QsciLexerBash)(h))
return nil
}
return &QsciLexerBash{h: (*C.QsciLexerBash)(h),
QsciLexer: UnsafeNewQsciLexer(h_QsciLexer, h_QObject)}
} }
// NewQsciLexerBash constructs a new QsciLexerBash object. // NewQsciLexerBash constructs a new QsciLexerBash object.
func NewQsciLexerBash() *QsciLexerBash { func NewQsciLexerBash() *QsciLexerBash {
var outptr_QsciLexerBash *C.QsciLexerBash = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerBash_new(&outptr_QsciLexerBash, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerBash(C.QsciLexerBash_new())
ret := newQsciLexerBash(outptr_QsciLexerBash, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerBash2 constructs a new QsciLexerBash object. // NewQsciLexerBash2 constructs a new QsciLexerBash object.
func NewQsciLexerBash2(parent *qt.QObject) *QsciLexerBash { func NewQsciLexerBash2(parent *qt.QObject) *QsciLexerBash {
var outptr_QsciLexerBash *C.QsciLexerBash = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerBash_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerBash, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerBash(C.QsciLexerBash_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerBash(outptr_QsciLexerBash, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
@ -971,7 +961,7 @@ func miqt_exec_callback_QsciLexerBash_SetEditor(self *C.QsciLexerBash, cb C.intp
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := newQsciScintilla(editor, nil, nil, nil, nil, nil, nil) slotval1 := newQsciScintilla(editor)
gofunc((&QsciLexerBash{h: self}).callVirtualBase_SetEditor, slotval1) gofunc((&QsciLexerBash{h: self}).callVirtualBase_SetEditor, slotval1)
@ -1215,7 +1205,7 @@ func miqt_exec_callback_QsciLexerBash_ReadProperties(self *C.QsciLexerBash, cb C
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))
@ -1252,7 +1242,7 @@ func miqt_exec_callback_QsciLexerBash_WriteProperties(self *C.QsciLexerBash, cb
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))

View File

@ -34,8 +34,9 @@ typedef struct QsciLexerBash QsciLexerBash;
typedef struct QsciScintilla QsciScintilla; typedef struct QsciScintilla QsciScintilla;
#endif #endif
void QsciLexerBash_new(QsciLexerBash** outptr_QsciLexerBash, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerBash* QsciLexerBash_new();
void QsciLexerBash_new2(QObject* parent, QsciLexerBash** outptr_QsciLexerBash, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerBash* QsciLexerBash_new2(QObject* parent);
void QsciLexerBash_virtbase(QsciLexerBash* src, QsciLexer** outptr_QsciLexer);
QMetaObject* QsciLexerBash_MetaObject(const QsciLexerBash* self); QMetaObject* QsciLexerBash_MetaObject(const QsciLexerBash* self);
void* QsciLexerBash_Metacast(QsciLexerBash* self, const char* param1); void* QsciLexerBash_Metacast(QsciLexerBash* self, const char* param1);
struct miqt_string QsciLexerBash_Tr(const char* s); struct miqt_string QsciLexerBash_Tr(const char* s);

View File

@ -839,18 +839,16 @@ public:
}; };
void QsciLexerBatch_new(QsciLexerBatch** outptr_QsciLexerBatch, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerBatch* QsciLexerBatch_new() {
MiqtVirtualQsciLexerBatch* ret = new MiqtVirtualQsciLexerBatch(); return new MiqtVirtualQsciLexerBatch();
*outptr_QsciLexerBatch = ret;
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerBatch_new2(QObject* parent, QsciLexerBatch** outptr_QsciLexerBatch, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerBatch* QsciLexerBatch_new2(QObject* parent) {
MiqtVirtualQsciLexerBatch* ret = new MiqtVirtualQsciLexerBatch(parent); return new MiqtVirtualQsciLexerBatch(parent);
*outptr_QsciLexerBatch = ret; }
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret); void QsciLexerBatch_virtbase(QsciLexerBatch* src, QsciLexer** outptr_QsciLexer) {
*outptr_QsciLexer = static_cast<QsciLexer*>(src);
} }
QMetaObject* QsciLexerBatch_MetaObject(const QsciLexerBatch* self) { QMetaObject* QsciLexerBatch_MetaObject(const QsciLexerBatch* self) {

View File

@ -49,44 +49,34 @@ func (this *QsciLexerBatch) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerBatch constructs the type using only CGO pointers. // newQsciLexerBatch constructs the type using only CGO pointers.
func newQsciLexerBatch(h *C.QsciLexerBatch, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerBatch { func newQsciLexerBatch(h *C.QsciLexerBatch) *QsciLexerBatch {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexer *C.QsciLexer = nil
C.QsciLexerBatch_virtbase(h, &outptr_QsciLexer)
return &QsciLexerBatch{h: h, return &QsciLexerBatch{h: h,
QsciLexer: newQsciLexer(h_QsciLexer, h_QObject)} QsciLexer: newQsciLexer(outptr_QsciLexer)}
} }
// UnsafeNewQsciLexerBatch constructs the type using only unsafe pointers. // UnsafeNewQsciLexerBatch constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerBatch(h unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerBatch { func UnsafeNewQsciLexerBatch(h unsafe.Pointer) *QsciLexerBatch {
if h == nil { return newQsciLexerBatch((*C.QsciLexerBatch)(h))
return nil
}
return &QsciLexerBatch{h: (*C.QsciLexerBatch)(h),
QsciLexer: UnsafeNewQsciLexer(h_QsciLexer, h_QObject)}
} }
// NewQsciLexerBatch constructs a new QsciLexerBatch object. // NewQsciLexerBatch constructs a new QsciLexerBatch object.
func NewQsciLexerBatch() *QsciLexerBatch { func NewQsciLexerBatch() *QsciLexerBatch {
var outptr_QsciLexerBatch *C.QsciLexerBatch = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerBatch_new(&outptr_QsciLexerBatch, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerBatch(C.QsciLexerBatch_new())
ret := newQsciLexerBatch(outptr_QsciLexerBatch, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerBatch2 constructs a new QsciLexerBatch object. // NewQsciLexerBatch2 constructs a new QsciLexerBatch object.
func NewQsciLexerBatch2(parent *qt.QObject) *QsciLexerBatch { func NewQsciLexerBatch2(parent *qt.QObject) *QsciLexerBatch {
var outptr_QsciLexerBatch *C.QsciLexerBatch = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerBatch_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerBatch, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerBatch(C.QsciLexerBatch_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerBatch(outptr_QsciLexerBatch, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
@ -893,7 +883,7 @@ func miqt_exec_callback_QsciLexerBatch_SetEditor(self *C.QsciLexerBatch, cb C.in
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := newQsciScintilla(editor, nil, nil, nil, nil, nil, nil) slotval1 := newQsciScintilla(editor)
gofunc((&QsciLexerBatch{h: self}).callVirtualBase_SetEditor, slotval1) gofunc((&QsciLexerBatch{h: self}).callVirtualBase_SetEditor, slotval1)
@ -1137,7 +1127,7 @@ func miqt_exec_callback_QsciLexerBatch_ReadProperties(self *C.QsciLexerBatch, cb
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))
@ -1174,7 +1164,7 @@ func miqt_exec_callback_QsciLexerBatch_WriteProperties(self *C.QsciLexerBatch, c
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))

View File

@ -34,8 +34,9 @@ typedef struct QsciLexerBatch QsciLexerBatch;
typedef struct QsciScintilla QsciScintilla; typedef struct QsciScintilla QsciScintilla;
#endif #endif
void QsciLexerBatch_new(QsciLexerBatch** outptr_QsciLexerBatch, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerBatch* QsciLexerBatch_new();
void QsciLexerBatch_new2(QObject* parent, QsciLexerBatch** outptr_QsciLexerBatch, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerBatch* QsciLexerBatch_new2(QObject* parent);
void QsciLexerBatch_virtbase(QsciLexerBatch* src, QsciLexer** outptr_QsciLexer);
QMetaObject* QsciLexerBatch_MetaObject(const QsciLexerBatch* self); QMetaObject* QsciLexerBatch_MetaObject(const QsciLexerBatch* self);
void* QsciLexerBatch_Metacast(QsciLexerBatch* self, const char* param1); void* QsciLexerBatch_Metacast(QsciLexerBatch* self, const char* param1);
struct miqt_string QsciLexerBatch_Tr(const char* s); struct miqt_string QsciLexerBatch_Tr(const char* s);

View File

@ -863,18 +863,16 @@ public:
}; };
void QsciLexerCMake_new(QsciLexerCMake** outptr_QsciLexerCMake, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerCMake* QsciLexerCMake_new() {
MiqtVirtualQsciLexerCMake* ret = new MiqtVirtualQsciLexerCMake(); return new MiqtVirtualQsciLexerCMake();
*outptr_QsciLexerCMake = ret;
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerCMake_new2(QObject* parent, QsciLexerCMake** outptr_QsciLexerCMake, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerCMake* QsciLexerCMake_new2(QObject* parent) {
MiqtVirtualQsciLexerCMake* ret = new MiqtVirtualQsciLexerCMake(parent); return new MiqtVirtualQsciLexerCMake(parent);
*outptr_QsciLexerCMake = ret; }
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret); void QsciLexerCMake_virtbase(QsciLexerCMake* src, QsciLexer** outptr_QsciLexer) {
*outptr_QsciLexer = static_cast<QsciLexer*>(src);
} }
QMetaObject* QsciLexerCMake_MetaObject(const QsciLexerCMake* self) { QMetaObject* QsciLexerCMake_MetaObject(const QsciLexerCMake* self) {

View File

@ -56,44 +56,34 @@ func (this *QsciLexerCMake) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerCMake constructs the type using only CGO pointers. // newQsciLexerCMake constructs the type using only CGO pointers.
func newQsciLexerCMake(h *C.QsciLexerCMake, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerCMake { func newQsciLexerCMake(h *C.QsciLexerCMake) *QsciLexerCMake {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexer *C.QsciLexer = nil
C.QsciLexerCMake_virtbase(h, &outptr_QsciLexer)
return &QsciLexerCMake{h: h, return &QsciLexerCMake{h: h,
QsciLexer: newQsciLexer(h_QsciLexer, h_QObject)} QsciLexer: newQsciLexer(outptr_QsciLexer)}
} }
// UnsafeNewQsciLexerCMake constructs the type using only unsafe pointers. // UnsafeNewQsciLexerCMake constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerCMake(h unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerCMake { func UnsafeNewQsciLexerCMake(h unsafe.Pointer) *QsciLexerCMake {
if h == nil { return newQsciLexerCMake((*C.QsciLexerCMake)(h))
return nil
}
return &QsciLexerCMake{h: (*C.QsciLexerCMake)(h),
QsciLexer: UnsafeNewQsciLexer(h_QsciLexer, h_QObject)}
} }
// NewQsciLexerCMake constructs a new QsciLexerCMake object. // NewQsciLexerCMake constructs a new QsciLexerCMake object.
func NewQsciLexerCMake() *QsciLexerCMake { func NewQsciLexerCMake() *QsciLexerCMake {
var outptr_QsciLexerCMake *C.QsciLexerCMake = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerCMake_new(&outptr_QsciLexerCMake, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerCMake(C.QsciLexerCMake_new())
ret := newQsciLexerCMake(outptr_QsciLexerCMake, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerCMake2 constructs a new QsciLexerCMake object. // NewQsciLexerCMake2 constructs a new QsciLexerCMake object.
func NewQsciLexerCMake2(parent *qt.QObject) *QsciLexerCMake { func NewQsciLexerCMake2(parent *qt.QObject) *QsciLexerCMake {
var outptr_QsciLexerCMake *C.QsciLexerCMake = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerCMake_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerCMake, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerCMake(C.QsciLexerCMake_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerCMake(outptr_QsciLexerCMake, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
@ -925,7 +915,7 @@ func miqt_exec_callback_QsciLexerCMake_SetEditor(self *C.QsciLexerCMake, cb C.in
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := newQsciScintilla(editor, nil, nil, nil, nil, nil, nil) slotval1 := newQsciScintilla(editor)
gofunc((&QsciLexerCMake{h: self}).callVirtualBase_SetEditor, slotval1) gofunc((&QsciLexerCMake{h: self}).callVirtualBase_SetEditor, slotval1)
@ -1169,7 +1159,7 @@ func miqt_exec_callback_QsciLexerCMake_ReadProperties(self *C.QsciLexerCMake, cb
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))
@ -1206,7 +1196,7 @@ func miqt_exec_callback_QsciLexerCMake_WriteProperties(self *C.QsciLexerCMake, c
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))

View File

@ -34,8 +34,9 @@ typedef struct QsciLexerCMake QsciLexerCMake;
typedef struct QsciScintilla QsciScintilla; typedef struct QsciScintilla QsciScintilla;
#endif #endif
void QsciLexerCMake_new(QsciLexerCMake** outptr_QsciLexerCMake, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerCMake* QsciLexerCMake_new();
void QsciLexerCMake_new2(QObject* parent, QsciLexerCMake** outptr_QsciLexerCMake, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerCMake* QsciLexerCMake_new2(QObject* parent);
void QsciLexerCMake_virtbase(QsciLexerCMake* src, QsciLexer** outptr_QsciLexer);
QMetaObject* QsciLexerCMake_MetaObject(const QsciLexerCMake* self); QMetaObject* QsciLexerCMake_MetaObject(const QsciLexerCMake* self);
void* QsciLexerCMake_Metacast(QsciLexerCMake* self, const char* param1); void* QsciLexerCMake_Metacast(QsciLexerCMake* self, const char* param1);
struct miqt_string QsciLexerCMake_Tr(const char* s); struct miqt_string QsciLexerCMake_Tr(const char* s);

View File

@ -839,18 +839,16 @@ public:
}; };
void QsciLexerCoffeeScript_new(QsciLexerCoffeeScript** outptr_QsciLexerCoffeeScript, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerCoffeeScript* QsciLexerCoffeeScript_new() {
MiqtVirtualQsciLexerCoffeeScript* ret = new MiqtVirtualQsciLexerCoffeeScript(); return new MiqtVirtualQsciLexerCoffeeScript();
*outptr_QsciLexerCoffeeScript = ret;
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerCoffeeScript_new2(QObject* parent, QsciLexerCoffeeScript** outptr_QsciLexerCoffeeScript, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerCoffeeScript* QsciLexerCoffeeScript_new2(QObject* parent) {
MiqtVirtualQsciLexerCoffeeScript* ret = new MiqtVirtualQsciLexerCoffeeScript(parent); return new MiqtVirtualQsciLexerCoffeeScript(parent);
*outptr_QsciLexerCoffeeScript = ret; }
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret); void QsciLexerCoffeeScript_virtbase(QsciLexerCoffeeScript* src, QsciLexer** outptr_QsciLexer) {
*outptr_QsciLexer = static_cast<QsciLexer*>(src);
} }
QMetaObject* QsciLexerCoffeeScript_MetaObject(const QsciLexerCoffeeScript* self) { QMetaObject* QsciLexerCoffeeScript_MetaObject(const QsciLexerCoffeeScript* self) {

View File

@ -65,44 +65,34 @@ func (this *QsciLexerCoffeeScript) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerCoffeeScript constructs the type using only CGO pointers. // newQsciLexerCoffeeScript constructs the type using only CGO pointers.
func newQsciLexerCoffeeScript(h *C.QsciLexerCoffeeScript, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerCoffeeScript { func newQsciLexerCoffeeScript(h *C.QsciLexerCoffeeScript) *QsciLexerCoffeeScript {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexer *C.QsciLexer = nil
C.QsciLexerCoffeeScript_virtbase(h, &outptr_QsciLexer)
return &QsciLexerCoffeeScript{h: h, return &QsciLexerCoffeeScript{h: h,
QsciLexer: newQsciLexer(h_QsciLexer, h_QObject)} QsciLexer: newQsciLexer(outptr_QsciLexer)}
} }
// UnsafeNewQsciLexerCoffeeScript constructs the type using only unsafe pointers. // UnsafeNewQsciLexerCoffeeScript constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerCoffeeScript(h unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerCoffeeScript { func UnsafeNewQsciLexerCoffeeScript(h unsafe.Pointer) *QsciLexerCoffeeScript {
if h == nil { return newQsciLexerCoffeeScript((*C.QsciLexerCoffeeScript)(h))
return nil
}
return &QsciLexerCoffeeScript{h: (*C.QsciLexerCoffeeScript)(h),
QsciLexer: UnsafeNewQsciLexer(h_QsciLexer, h_QObject)}
} }
// NewQsciLexerCoffeeScript constructs a new QsciLexerCoffeeScript object. // NewQsciLexerCoffeeScript constructs a new QsciLexerCoffeeScript object.
func NewQsciLexerCoffeeScript() *QsciLexerCoffeeScript { func NewQsciLexerCoffeeScript() *QsciLexerCoffeeScript {
var outptr_QsciLexerCoffeeScript *C.QsciLexerCoffeeScript = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerCoffeeScript_new(&outptr_QsciLexerCoffeeScript, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerCoffeeScript(C.QsciLexerCoffeeScript_new())
ret := newQsciLexerCoffeeScript(outptr_QsciLexerCoffeeScript, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerCoffeeScript2 constructs a new QsciLexerCoffeeScript object. // NewQsciLexerCoffeeScript2 constructs a new QsciLexerCoffeeScript object.
func NewQsciLexerCoffeeScript2(parent *qt.QObject) *QsciLexerCoffeeScript { func NewQsciLexerCoffeeScript2(parent *qt.QObject) *QsciLexerCoffeeScript {
var outptr_QsciLexerCoffeeScript *C.QsciLexerCoffeeScript = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerCoffeeScript_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerCoffeeScript, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerCoffeeScript(C.QsciLexerCoffeeScript_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerCoffeeScript(outptr_QsciLexerCoffeeScript, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
@ -988,7 +978,7 @@ func miqt_exec_callback_QsciLexerCoffeeScript_SetEditor(self *C.QsciLexerCoffeeS
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := newQsciScintilla(editor, nil, nil, nil, nil, nil, nil) slotval1 := newQsciScintilla(editor)
gofunc((&QsciLexerCoffeeScript{h: self}).callVirtualBase_SetEditor, slotval1) gofunc((&QsciLexerCoffeeScript{h: self}).callVirtualBase_SetEditor, slotval1)
@ -1232,7 +1222,7 @@ func miqt_exec_callback_QsciLexerCoffeeScript_ReadProperties(self *C.QsciLexerCo
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))
@ -1269,7 +1259,7 @@ func miqt_exec_callback_QsciLexerCoffeeScript_WriteProperties(self *C.QsciLexerC
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))

View File

@ -34,8 +34,9 @@ typedef struct QsciLexerCoffeeScript QsciLexerCoffeeScript;
typedef struct QsciScintilla QsciScintilla; typedef struct QsciScintilla QsciScintilla;
#endif #endif
void QsciLexerCoffeeScript_new(QsciLexerCoffeeScript** outptr_QsciLexerCoffeeScript, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerCoffeeScript* QsciLexerCoffeeScript_new();
void QsciLexerCoffeeScript_new2(QObject* parent, QsciLexerCoffeeScript** outptr_QsciLexerCoffeeScript, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerCoffeeScript* QsciLexerCoffeeScript_new2(QObject* parent);
void QsciLexerCoffeeScript_virtbase(QsciLexerCoffeeScript* src, QsciLexer** outptr_QsciLexer);
QMetaObject* QsciLexerCoffeeScript_MetaObject(const QsciLexerCoffeeScript* self); QMetaObject* QsciLexerCoffeeScript_MetaObject(const QsciLexerCoffeeScript* self);
void* QsciLexerCoffeeScript_Metacast(QsciLexerCoffeeScript* self, const char* param1); void* QsciLexerCoffeeScript_Metacast(QsciLexerCoffeeScript* self, const char* param1);
struct miqt_string QsciLexerCoffeeScript_Tr(const char* s); struct miqt_string QsciLexerCoffeeScript_Tr(const char* s);

View File

@ -960,25 +960,20 @@ public:
}; };
void QsciLexerCPP_new(QsciLexerCPP** outptr_QsciLexerCPP, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerCPP* QsciLexerCPP_new() {
MiqtVirtualQsciLexerCPP* ret = new MiqtVirtualQsciLexerCPP(); return new MiqtVirtualQsciLexerCPP();
*outptr_QsciLexerCPP = ret;
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerCPP_new2(QObject* parent, QsciLexerCPP** outptr_QsciLexerCPP, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerCPP* QsciLexerCPP_new2(QObject* parent) {
MiqtVirtualQsciLexerCPP* ret = new MiqtVirtualQsciLexerCPP(parent); return new MiqtVirtualQsciLexerCPP(parent);
*outptr_QsciLexerCPP = ret;
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerCPP_new3(QObject* parent, bool caseInsensitiveKeywords, QsciLexerCPP** outptr_QsciLexerCPP, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerCPP* QsciLexerCPP_new3(QObject* parent, bool caseInsensitiveKeywords) {
MiqtVirtualQsciLexerCPP* ret = new MiqtVirtualQsciLexerCPP(parent, caseInsensitiveKeywords); return new MiqtVirtualQsciLexerCPP(parent, caseInsensitiveKeywords);
*outptr_QsciLexerCPP = ret; }
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret); void QsciLexerCPP_virtbase(QsciLexerCPP* src, QsciLexer** outptr_QsciLexer) {
*outptr_QsciLexer = static_cast<QsciLexer*>(src);
} }
QMetaObject* QsciLexerCPP_MetaObject(const QsciLexerCPP* self) { QMetaObject* QsciLexerCPP_MetaObject(const QsciLexerCPP* self) {

View File

@ -97,56 +97,42 @@ func (this *QsciLexerCPP) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerCPP constructs the type using only CGO pointers. // newQsciLexerCPP constructs the type using only CGO pointers.
func newQsciLexerCPP(h *C.QsciLexerCPP, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerCPP { func newQsciLexerCPP(h *C.QsciLexerCPP) *QsciLexerCPP {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexer *C.QsciLexer = nil
C.QsciLexerCPP_virtbase(h, &outptr_QsciLexer)
return &QsciLexerCPP{h: h, return &QsciLexerCPP{h: h,
QsciLexer: newQsciLexer(h_QsciLexer, h_QObject)} QsciLexer: newQsciLexer(outptr_QsciLexer)}
} }
// UnsafeNewQsciLexerCPP constructs the type using only unsafe pointers. // UnsafeNewQsciLexerCPP constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerCPP(h unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerCPP { func UnsafeNewQsciLexerCPP(h unsafe.Pointer) *QsciLexerCPP {
if h == nil { return newQsciLexerCPP((*C.QsciLexerCPP)(h))
return nil
}
return &QsciLexerCPP{h: (*C.QsciLexerCPP)(h),
QsciLexer: UnsafeNewQsciLexer(h_QsciLexer, h_QObject)}
} }
// NewQsciLexerCPP constructs a new QsciLexerCPP object. // NewQsciLexerCPP constructs a new QsciLexerCPP object.
func NewQsciLexerCPP() *QsciLexerCPP { func NewQsciLexerCPP() *QsciLexerCPP {
var outptr_QsciLexerCPP *C.QsciLexerCPP = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerCPP_new(&outptr_QsciLexerCPP, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerCPP(C.QsciLexerCPP_new())
ret := newQsciLexerCPP(outptr_QsciLexerCPP, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerCPP2 constructs a new QsciLexerCPP object. // NewQsciLexerCPP2 constructs a new QsciLexerCPP object.
func NewQsciLexerCPP2(parent *qt.QObject) *QsciLexerCPP { func NewQsciLexerCPP2(parent *qt.QObject) *QsciLexerCPP {
var outptr_QsciLexerCPP *C.QsciLexerCPP = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerCPP_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerCPP, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerCPP(C.QsciLexerCPP_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerCPP(outptr_QsciLexerCPP, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerCPP3 constructs a new QsciLexerCPP object. // NewQsciLexerCPP3 constructs a new QsciLexerCPP object.
func NewQsciLexerCPP3(parent *qt.QObject, caseInsensitiveKeywords bool) *QsciLexerCPP { func NewQsciLexerCPP3(parent *qt.QObject, caseInsensitiveKeywords bool) *QsciLexerCPP {
var outptr_QsciLexerCPP *C.QsciLexerCPP = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerCPP_new3((*C.QObject)(parent.UnsafePointer()), (C.bool)(caseInsensitiveKeywords), &outptr_QsciLexerCPP, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerCPP(C.QsciLexerCPP_new3((*C.QObject)(parent.UnsafePointer()), (C.bool)(caseInsensitiveKeywords)))
ret := newQsciLexerCPP(outptr_QsciLexerCPP, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
@ -1218,7 +1204,7 @@ func miqt_exec_callback_QsciLexerCPP_SetEditor(self *C.QsciLexerCPP, cb C.intptr
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := newQsciScintilla(editor, nil, nil, nil, nil, nil, nil) slotval1 := newQsciScintilla(editor)
gofunc((&QsciLexerCPP{h: self}).callVirtualBase_SetEditor, slotval1) gofunc((&QsciLexerCPP{h: self}).callVirtualBase_SetEditor, slotval1)
@ -1462,7 +1448,7 @@ func miqt_exec_callback_QsciLexerCPP_ReadProperties(self *C.QsciLexerCPP, cb C.i
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))
@ -1499,7 +1485,7 @@ func miqt_exec_callback_QsciLexerCPP_WriteProperties(self *C.QsciLexerCPP, cb C.
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))

View File

@ -34,9 +34,10 @@ typedef struct QsciLexerCPP QsciLexerCPP;
typedef struct QsciScintilla QsciScintilla; typedef struct QsciScintilla QsciScintilla;
#endif #endif
void QsciLexerCPP_new(QsciLexerCPP** outptr_QsciLexerCPP, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerCPP* QsciLexerCPP_new();
void QsciLexerCPP_new2(QObject* parent, QsciLexerCPP** outptr_QsciLexerCPP, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerCPP* QsciLexerCPP_new2(QObject* parent);
void QsciLexerCPP_new3(QObject* parent, bool caseInsensitiveKeywords, QsciLexerCPP** outptr_QsciLexerCPP, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerCPP* QsciLexerCPP_new3(QObject* parent, bool caseInsensitiveKeywords);
void QsciLexerCPP_virtbase(QsciLexerCPP* src, QsciLexer** outptr_QsciLexer);
QMetaObject* QsciLexerCPP_MetaObject(const QsciLexerCPP* self); QMetaObject* QsciLexerCPP_MetaObject(const QsciLexerCPP* self);
void* QsciLexerCPP_Metacast(QsciLexerCPP* self, const char* param1); void* QsciLexerCPP_Metacast(QsciLexerCPP* self, const char* param1);
struct miqt_string QsciLexerCPP_Tr(const char* s); struct miqt_string QsciLexerCPP_Tr(const char* s);

View File

@ -139,20 +139,16 @@ public:
}; };
void QsciLexerCSharp_new(QsciLexerCSharp** outptr_QsciLexerCSharp, QsciLexerCPP** outptr_QsciLexerCPP, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerCSharp* QsciLexerCSharp_new() {
MiqtVirtualQsciLexerCSharp* ret = new MiqtVirtualQsciLexerCSharp(); return new MiqtVirtualQsciLexerCSharp();
*outptr_QsciLexerCSharp = ret;
*outptr_QsciLexerCPP = static_cast<QsciLexerCPP*>(ret);
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerCSharp_new2(QObject* parent, QsciLexerCSharp** outptr_QsciLexerCSharp, QsciLexerCPP** outptr_QsciLexerCPP, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerCSharp* QsciLexerCSharp_new2(QObject* parent) {
MiqtVirtualQsciLexerCSharp* ret = new MiqtVirtualQsciLexerCSharp(parent); return new MiqtVirtualQsciLexerCSharp(parent);
*outptr_QsciLexerCSharp = ret; }
*outptr_QsciLexerCPP = static_cast<QsciLexerCPP*>(ret);
*outptr_QsciLexer = static_cast<QsciLexer*>(ret); void QsciLexerCSharp_virtbase(QsciLexerCSharp* src, QsciLexerCPP** outptr_QsciLexerCPP) {
*outptr_QObject = static_cast<QObject*>(ret); *outptr_QsciLexerCPP = static_cast<QsciLexerCPP*>(src);
} }
QMetaObject* QsciLexerCSharp_MetaObject(const QsciLexerCSharp* self) { QMetaObject* QsciLexerCSharp_MetaObject(const QsciLexerCSharp* self) {

View File

@ -36,46 +36,34 @@ func (this *QsciLexerCSharp) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerCSharp constructs the type using only CGO pointers. // newQsciLexerCSharp constructs the type using only CGO pointers.
func newQsciLexerCSharp(h *C.QsciLexerCSharp, h_QsciLexerCPP *C.QsciLexerCPP, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerCSharp { func newQsciLexerCSharp(h *C.QsciLexerCSharp) *QsciLexerCSharp {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexerCPP *C.QsciLexerCPP = nil
C.QsciLexerCSharp_virtbase(h, &outptr_QsciLexerCPP)
return &QsciLexerCSharp{h: h, return &QsciLexerCSharp{h: h,
QsciLexerCPP: newQsciLexerCPP(h_QsciLexerCPP, h_QsciLexer, h_QObject)} QsciLexerCPP: newQsciLexerCPP(outptr_QsciLexerCPP)}
} }
// UnsafeNewQsciLexerCSharp constructs the type using only unsafe pointers. // UnsafeNewQsciLexerCSharp constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerCSharp(h unsafe.Pointer, h_QsciLexerCPP unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerCSharp { func UnsafeNewQsciLexerCSharp(h unsafe.Pointer) *QsciLexerCSharp {
if h == nil { return newQsciLexerCSharp((*C.QsciLexerCSharp)(h))
return nil
}
return &QsciLexerCSharp{h: (*C.QsciLexerCSharp)(h),
QsciLexerCPP: UnsafeNewQsciLexerCPP(h_QsciLexerCPP, h_QsciLexer, h_QObject)}
} }
// NewQsciLexerCSharp constructs a new QsciLexerCSharp object. // NewQsciLexerCSharp constructs a new QsciLexerCSharp object.
func NewQsciLexerCSharp() *QsciLexerCSharp { func NewQsciLexerCSharp() *QsciLexerCSharp {
var outptr_QsciLexerCSharp *C.QsciLexerCSharp = nil
var outptr_QsciLexerCPP *C.QsciLexerCPP = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerCSharp_new(&outptr_QsciLexerCSharp, &outptr_QsciLexerCPP, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerCSharp(C.QsciLexerCSharp_new())
ret := newQsciLexerCSharp(outptr_QsciLexerCSharp, outptr_QsciLexerCPP, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerCSharp2 constructs a new QsciLexerCSharp object. // NewQsciLexerCSharp2 constructs a new QsciLexerCSharp object.
func NewQsciLexerCSharp2(parent *qt.QObject) *QsciLexerCSharp { func NewQsciLexerCSharp2(parent *qt.QObject) *QsciLexerCSharp {
var outptr_QsciLexerCSharp *C.QsciLexerCSharp = nil
var outptr_QsciLexerCPP *C.QsciLexerCPP = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerCSharp_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerCSharp, &outptr_QsciLexerCPP, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerCSharp(C.QsciLexerCSharp_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerCSharp(outptr_QsciLexerCSharp, outptr_QsciLexerCPP, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }

View File

@ -32,8 +32,9 @@ typedef struct QsciLexerCPP QsciLexerCPP;
typedef struct QsciLexerCSharp QsciLexerCSharp; typedef struct QsciLexerCSharp QsciLexerCSharp;
#endif #endif
void QsciLexerCSharp_new(QsciLexerCSharp** outptr_QsciLexerCSharp, QsciLexerCPP** outptr_QsciLexerCPP, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerCSharp* QsciLexerCSharp_new();
void QsciLexerCSharp_new2(QObject* parent, QsciLexerCSharp** outptr_QsciLexerCSharp, QsciLexerCPP** outptr_QsciLexerCPP, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerCSharp* QsciLexerCSharp_new2(QObject* parent);
void QsciLexerCSharp_virtbase(QsciLexerCSharp* src, QsciLexerCPP** outptr_QsciLexerCPP);
QMetaObject* QsciLexerCSharp_MetaObject(const QsciLexerCSharp* self); QMetaObject* QsciLexerCSharp_MetaObject(const QsciLexerCSharp* self);
void* QsciLexerCSharp_Metacast(QsciLexerCSharp* self, const char* param1); void* QsciLexerCSharp_Metacast(QsciLexerCSharp* self, const char* param1);
struct miqt_string QsciLexerCSharp_Tr(const char* s); struct miqt_string QsciLexerCSharp_Tr(const char* s);

View File

@ -887,18 +887,16 @@ public:
}; };
void QsciLexerCSS_new(QsciLexerCSS** outptr_QsciLexerCSS, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerCSS* QsciLexerCSS_new() {
MiqtVirtualQsciLexerCSS* ret = new MiqtVirtualQsciLexerCSS(); return new MiqtVirtualQsciLexerCSS();
*outptr_QsciLexerCSS = ret;
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerCSS_new2(QObject* parent, QsciLexerCSS** outptr_QsciLexerCSS, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerCSS* QsciLexerCSS_new2(QObject* parent) {
MiqtVirtualQsciLexerCSS* ret = new MiqtVirtualQsciLexerCSS(parent); return new MiqtVirtualQsciLexerCSS(parent);
*outptr_QsciLexerCSS = ret; }
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret); void QsciLexerCSS_virtbase(QsciLexerCSS* src, QsciLexer** outptr_QsciLexer) {
*outptr_QsciLexer = static_cast<QsciLexer*>(src);
} }
QMetaObject* QsciLexerCSS_MetaObject(const QsciLexerCSS* self) { QMetaObject* QsciLexerCSS_MetaObject(const QsciLexerCSS* self) {

View File

@ -65,44 +65,34 @@ func (this *QsciLexerCSS) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerCSS constructs the type using only CGO pointers. // newQsciLexerCSS constructs the type using only CGO pointers.
func newQsciLexerCSS(h *C.QsciLexerCSS, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerCSS { func newQsciLexerCSS(h *C.QsciLexerCSS) *QsciLexerCSS {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexer *C.QsciLexer = nil
C.QsciLexerCSS_virtbase(h, &outptr_QsciLexer)
return &QsciLexerCSS{h: h, return &QsciLexerCSS{h: h,
QsciLexer: newQsciLexer(h_QsciLexer, h_QObject)} QsciLexer: newQsciLexer(outptr_QsciLexer)}
} }
// UnsafeNewQsciLexerCSS constructs the type using only unsafe pointers. // UnsafeNewQsciLexerCSS constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerCSS(h unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerCSS { func UnsafeNewQsciLexerCSS(h unsafe.Pointer) *QsciLexerCSS {
if h == nil { return newQsciLexerCSS((*C.QsciLexerCSS)(h))
return nil
}
return &QsciLexerCSS{h: (*C.QsciLexerCSS)(h),
QsciLexer: UnsafeNewQsciLexer(h_QsciLexer, h_QObject)}
} }
// NewQsciLexerCSS constructs a new QsciLexerCSS object. // NewQsciLexerCSS constructs a new QsciLexerCSS object.
func NewQsciLexerCSS() *QsciLexerCSS { func NewQsciLexerCSS() *QsciLexerCSS {
var outptr_QsciLexerCSS *C.QsciLexerCSS = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerCSS_new(&outptr_QsciLexerCSS, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerCSS(C.QsciLexerCSS_new())
ret := newQsciLexerCSS(outptr_QsciLexerCSS, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerCSS2 constructs a new QsciLexerCSS object. // NewQsciLexerCSS2 constructs a new QsciLexerCSS object.
func NewQsciLexerCSS2(parent *qt.QObject) *QsciLexerCSS { func NewQsciLexerCSS2(parent *qt.QObject) *QsciLexerCSS {
var outptr_QsciLexerCSS *C.QsciLexerCSS = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerCSS_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerCSS, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerCSS(C.QsciLexerCSS_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerCSS(outptr_QsciLexerCSS, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
@ -1011,7 +1001,7 @@ func miqt_exec_callback_QsciLexerCSS_SetEditor(self *C.QsciLexerCSS, cb C.intptr
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := newQsciScintilla(editor, nil, nil, nil, nil, nil, nil) slotval1 := newQsciScintilla(editor)
gofunc((&QsciLexerCSS{h: self}).callVirtualBase_SetEditor, slotval1) gofunc((&QsciLexerCSS{h: self}).callVirtualBase_SetEditor, slotval1)
@ -1255,7 +1245,7 @@ func miqt_exec_callback_QsciLexerCSS_ReadProperties(self *C.QsciLexerCSS, cb C.i
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))
@ -1292,7 +1282,7 @@ func miqt_exec_callback_QsciLexerCSS_WriteProperties(self *C.QsciLexerCSS, cb C.
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))

View File

@ -34,8 +34,9 @@ typedef struct QsciLexerCSS QsciLexerCSS;
typedef struct QsciScintilla QsciScintilla; typedef struct QsciScintilla QsciScintilla;
#endif #endif
void QsciLexerCSS_new(QsciLexerCSS** outptr_QsciLexerCSS, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerCSS* QsciLexerCSS_new();
void QsciLexerCSS_new2(QObject* parent, QsciLexerCSS** outptr_QsciLexerCSS, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerCSS* QsciLexerCSS_new2(QObject* parent);
void QsciLexerCSS_virtbase(QsciLexerCSS* src, QsciLexer** outptr_QsciLexer);
QMetaObject* QsciLexerCSS_MetaObject(const QsciLexerCSS* self); QMetaObject* QsciLexerCSS_MetaObject(const QsciLexerCSS* self);
void* QsciLexerCSS_Metacast(QsciLexerCSS* self, const char* param1); void* QsciLexerCSS_Metacast(QsciLexerCSS* self, const char* param1);
struct miqt_string QsciLexerCSS_Tr(const char* s); struct miqt_string QsciLexerCSS_Tr(const char* s);

View File

@ -856,18 +856,16 @@ public:
}; };
void QsciLexerCustom_new(QsciLexerCustom** outptr_QsciLexerCustom, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerCustom* QsciLexerCustom_new() {
MiqtVirtualQsciLexerCustom* ret = new MiqtVirtualQsciLexerCustom(); return new MiqtVirtualQsciLexerCustom();
*outptr_QsciLexerCustom = ret;
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerCustom_new2(QObject* parent, QsciLexerCustom** outptr_QsciLexerCustom, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerCustom* QsciLexerCustom_new2(QObject* parent) {
MiqtVirtualQsciLexerCustom* ret = new MiqtVirtualQsciLexerCustom(parent); return new MiqtVirtualQsciLexerCustom(parent);
*outptr_QsciLexerCustom = ret; }
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret); void QsciLexerCustom_virtbase(QsciLexerCustom* src, QsciLexer** outptr_QsciLexer) {
*outptr_QsciLexer = static_cast<QsciLexer*>(src);
} }
QMetaObject* QsciLexerCustom_MetaObject(const QsciLexerCustom* self) { QMetaObject* QsciLexerCustom_MetaObject(const QsciLexerCustom* self) {

View File

@ -36,44 +36,34 @@ func (this *QsciLexerCustom) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerCustom constructs the type using only CGO pointers. // newQsciLexerCustom constructs the type using only CGO pointers.
func newQsciLexerCustom(h *C.QsciLexerCustom, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerCustom { func newQsciLexerCustom(h *C.QsciLexerCustom) *QsciLexerCustom {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexer *C.QsciLexer = nil
C.QsciLexerCustom_virtbase(h, &outptr_QsciLexer)
return &QsciLexerCustom{h: h, return &QsciLexerCustom{h: h,
QsciLexer: newQsciLexer(h_QsciLexer, h_QObject)} QsciLexer: newQsciLexer(outptr_QsciLexer)}
} }
// UnsafeNewQsciLexerCustom constructs the type using only unsafe pointers. // UnsafeNewQsciLexerCustom constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerCustom(h unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerCustom { func UnsafeNewQsciLexerCustom(h unsafe.Pointer) *QsciLexerCustom {
if h == nil { return newQsciLexerCustom((*C.QsciLexerCustom)(h))
return nil
}
return &QsciLexerCustom{h: (*C.QsciLexerCustom)(h),
QsciLexer: UnsafeNewQsciLexer(h_QsciLexer, h_QObject)}
} }
// NewQsciLexerCustom constructs a new QsciLexerCustom object. // NewQsciLexerCustom constructs a new QsciLexerCustom object.
func NewQsciLexerCustom() *QsciLexerCustom { func NewQsciLexerCustom() *QsciLexerCustom {
var outptr_QsciLexerCustom *C.QsciLexerCustom = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerCustom_new(&outptr_QsciLexerCustom, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerCustom(C.QsciLexerCustom_new())
ret := newQsciLexerCustom(outptr_QsciLexerCustom, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerCustom2 constructs a new QsciLexerCustom object. // NewQsciLexerCustom2 constructs a new QsciLexerCustom object.
func NewQsciLexerCustom2(parent *qt.QObject) *QsciLexerCustom { func NewQsciLexerCustom2(parent *qt.QObject) *QsciLexerCustom {
var outptr_QsciLexerCustom *C.QsciLexerCustom = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerCustom_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerCustom, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerCustom(C.QsciLexerCustom_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerCustom(outptr_QsciLexerCustom, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
@ -220,7 +210,7 @@ func miqt_exec_callback_QsciLexerCustom_SetEditor(self *C.QsciLexerCustom, cb C.
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := newQsciScintilla(editor, nil, nil, nil, nil, nil, nil) slotval1 := newQsciScintilla(editor)
gofunc((&QsciLexerCustom{h: self}).callVirtualBase_SetEditor, slotval1) gofunc((&QsciLexerCustom{h: self}).callVirtualBase_SetEditor, slotval1)
@ -1121,7 +1111,7 @@ func miqt_exec_callback_QsciLexerCustom_ReadProperties(self *C.QsciLexerCustom,
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))
@ -1158,7 +1148,7 @@ func miqt_exec_callback_QsciLexerCustom_WriteProperties(self *C.QsciLexerCustom,
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))

View File

@ -36,8 +36,9 @@ typedef struct QsciScintilla QsciScintilla;
typedef struct QsciStyle QsciStyle; typedef struct QsciStyle QsciStyle;
#endif #endif
void QsciLexerCustom_new(QsciLexerCustom** outptr_QsciLexerCustom, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerCustom* QsciLexerCustom_new();
void QsciLexerCustom_new2(QObject* parent, QsciLexerCustom** outptr_QsciLexerCustom, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerCustom* QsciLexerCustom_new2(QObject* parent);
void QsciLexerCustom_virtbase(QsciLexerCustom* src, QsciLexer** outptr_QsciLexer);
QMetaObject* QsciLexerCustom_MetaObject(const QsciLexerCustom* self); QMetaObject* QsciLexerCustom_MetaObject(const QsciLexerCustom* self);
void* QsciLexerCustom_Metacast(QsciLexerCustom* self, const char* param1); void* QsciLexerCustom_Metacast(QsciLexerCustom* self, const char* param1);
struct miqt_string QsciLexerCustom_Tr(const char* s); struct miqt_string QsciLexerCustom_Tr(const char* s);

View File

@ -911,18 +911,16 @@ public:
}; };
void QsciLexerD_new(QsciLexerD** outptr_QsciLexerD, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerD* QsciLexerD_new() {
MiqtVirtualQsciLexerD* ret = new MiqtVirtualQsciLexerD(); return new MiqtVirtualQsciLexerD();
*outptr_QsciLexerD = ret;
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerD_new2(QObject* parent, QsciLexerD** outptr_QsciLexerD, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerD* QsciLexerD_new2(QObject* parent) {
MiqtVirtualQsciLexerD* ret = new MiqtVirtualQsciLexerD(parent); return new MiqtVirtualQsciLexerD(parent);
*outptr_QsciLexerD = ret; }
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret); void QsciLexerD_virtbase(QsciLexerD* src, QsciLexer** outptr_QsciLexer) {
*outptr_QsciLexer = static_cast<QsciLexer*>(src);
} }
QMetaObject* QsciLexerD_MetaObject(const QsciLexerD* self) { QMetaObject* QsciLexerD_MetaObject(const QsciLexerD* self) {

View File

@ -64,44 +64,34 @@ func (this *QsciLexerD) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerD constructs the type using only CGO pointers. // newQsciLexerD constructs the type using only CGO pointers.
func newQsciLexerD(h *C.QsciLexerD, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerD { func newQsciLexerD(h *C.QsciLexerD) *QsciLexerD {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexer *C.QsciLexer = nil
C.QsciLexerD_virtbase(h, &outptr_QsciLexer)
return &QsciLexerD{h: h, return &QsciLexerD{h: h,
QsciLexer: newQsciLexer(h_QsciLexer, h_QObject)} QsciLexer: newQsciLexer(outptr_QsciLexer)}
} }
// UnsafeNewQsciLexerD constructs the type using only unsafe pointers. // UnsafeNewQsciLexerD constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerD(h unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerD { func UnsafeNewQsciLexerD(h unsafe.Pointer) *QsciLexerD {
if h == nil { return newQsciLexerD((*C.QsciLexerD)(h))
return nil
}
return &QsciLexerD{h: (*C.QsciLexerD)(h),
QsciLexer: UnsafeNewQsciLexer(h_QsciLexer, h_QObject)}
} }
// NewQsciLexerD constructs a new QsciLexerD object. // NewQsciLexerD constructs a new QsciLexerD object.
func NewQsciLexerD() *QsciLexerD { func NewQsciLexerD() *QsciLexerD {
var outptr_QsciLexerD *C.QsciLexerD = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerD_new(&outptr_QsciLexerD, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerD(C.QsciLexerD_new())
ret := newQsciLexerD(outptr_QsciLexerD, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerD2 constructs a new QsciLexerD object. // NewQsciLexerD2 constructs a new QsciLexerD object.
func NewQsciLexerD2(parent *qt.QObject) *QsciLexerD { func NewQsciLexerD2(parent *qt.QObject) *QsciLexerD {
var outptr_QsciLexerD *C.QsciLexerD = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerD_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerD, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerD(C.QsciLexerD_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerD(outptr_QsciLexerD, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
@ -1057,7 +1047,7 @@ func miqt_exec_callback_QsciLexerD_SetEditor(self *C.QsciLexerD, cb C.intptr_t,
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := newQsciScintilla(editor, nil, nil, nil, nil, nil, nil) slotval1 := newQsciScintilla(editor)
gofunc((&QsciLexerD{h: self}).callVirtualBase_SetEditor, slotval1) gofunc((&QsciLexerD{h: self}).callVirtualBase_SetEditor, slotval1)
@ -1301,7 +1291,7 @@ func miqt_exec_callback_QsciLexerD_ReadProperties(self *C.QsciLexerD, cb C.intpt
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))
@ -1338,7 +1328,7 @@ func miqt_exec_callback_QsciLexerD_WriteProperties(self *C.QsciLexerD, cb C.intp
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))

View File

@ -34,8 +34,9 @@ typedef struct QsciLexerD QsciLexerD;
typedef struct QsciScintilla QsciScintilla; typedef struct QsciScintilla QsciScintilla;
#endif #endif
void QsciLexerD_new(QsciLexerD** outptr_QsciLexerD, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerD* QsciLexerD_new();
void QsciLexerD_new2(QObject* parent, QsciLexerD** outptr_QsciLexerD, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerD* QsciLexerD_new2(QObject* parent);
void QsciLexerD_virtbase(QsciLexerD* src, QsciLexer** outptr_QsciLexer);
QMetaObject* QsciLexerD_MetaObject(const QsciLexerD* self); QMetaObject* QsciLexerD_MetaObject(const QsciLexerD* self);
void* QsciLexerD_Metacast(QsciLexerD* self, const char* param1); void* QsciLexerD_Metacast(QsciLexerD* self, const char* param1);
struct miqt_string QsciLexerD_Tr(const char* s); struct miqt_string QsciLexerD_Tr(const char* s);

View File

@ -839,18 +839,16 @@ public:
}; };
void QsciLexerDiff_new(QsciLexerDiff** outptr_QsciLexerDiff, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerDiff* QsciLexerDiff_new() {
MiqtVirtualQsciLexerDiff* ret = new MiqtVirtualQsciLexerDiff(); return new MiqtVirtualQsciLexerDiff();
*outptr_QsciLexerDiff = ret;
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerDiff_new2(QObject* parent, QsciLexerDiff** outptr_QsciLexerDiff, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerDiff* QsciLexerDiff_new2(QObject* parent) {
MiqtVirtualQsciLexerDiff* ret = new MiqtVirtualQsciLexerDiff(parent); return new MiqtVirtualQsciLexerDiff(parent);
*outptr_QsciLexerDiff = ret; }
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret); void QsciLexerDiff_virtbase(QsciLexerDiff* src, QsciLexer** outptr_QsciLexer) {
*outptr_QsciLexer = static_cast<QsciLexer*>(src);
} }
QMetaObject* QsciLexerDiff_MetaObject(const QsciLexerDiff* self) { QMetaObject* QsciLexerDiff_MetaObject(const QsciLexerDiff* self) {

View File

@ -53,44 +53,34 @@ func (this *QsciLexerDiff) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerDiff constructs the type using only CGO pointers. // newQsciLexerDiff constructs the type using only CGO pointers.
func newQsciLexerDiff(h *C.QsciLexerDiff, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerDiff { func newQsciLexerDiff(h *C.QsciLexerDiff) *QsciLexerDiff {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexer *C.QsciLexer = nil
C.QsciLexerDiff_virtbase(h, &outptr_QsciLexer)
return &QsciLexerDiff{h: h, return &QsciLexerDiff{h: h,
QsciLexer: newQsciLexer(h_QsciLexer, h_QObject)} QsciLexer: newQsciLexer(outptr_QsciLexer)}
} }
// UnsafeNewQsciLexerDiff constructs the type using only unsafe pointers. // UnsafeNewQsciLexerDiff constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerDiff(h unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerDiff { func UnsafeNewQsciLexerDiff(h unsafe.Pointer) *QsciLexerDiff {
if h == nil { return newQsciLexerDiff((*C.QsciLexerDiff)(h))
return nil
}
return &QsciLexerDiff{h: (*C.QsciLexerDiff)(h),
QsciLexer: UnsafeNewQsciLexer(h_QsciLexer, h_QObject)}
} }
// NewQsciLexerDiff constructs a new QsciLexerDiff object. // NewQsciLexerDiff constructs a new QsciLexerDiff object.
func NewQsciLexerDiff() *QsciLexerDiff { func NewQsciLexerDiff() *QsciLexerDiff {
var outptr_QsciLexerDiff *C.QsciLexerDiff = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerDiff_new(&outptr_QsciLexerDiff, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerDiff(C.QsciLexerDiff_new())
ret := newQsciLexerDiff(outptr_QsciLexerDiff, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerDiff2 constructs a new QsciLexerDiff object. // NewQsciLexerDiff2 constructs a new QsciLexerDiff object.
func NewQsciLexerDiff2(parent *qt.QObject) *QsciLexerDiff { func NewQsciLexerDiff2(parent *qt.QObject) *QsciLexerDiff {
var outptr_QsciLexerDiff *C.QsciLexerDiff = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerDiff_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerDiff, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerDiff(C.QsciLexerDiff_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerDiff(outptr_QsciLexerDiff, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
@ -872,7 +862,7 @@ func miqt_exec_callback_QsciLexerDiff_SetEditor(self *C.QsciLexerDiff, cb C.intp
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := newQsciScintilla(editor, nil, nil, nil, nil, nil, nil) slotval1 := newQsciScintilla(editor)
gofunc((&QsciLexerDiff{h: self}).callVirtualBase_SetEditor, slotval1) gofunc((&QsciLexerDiff{h: self}).callVirtualBase_SetEditor, slotval1)
@ -1116,7 +1106,7 @@ func miqt_exec_callback_QsciLexerDiff_ReadProperties(self *C.QsciLexerDiff, cb C
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))
@ -1153,7 +1143,7 @@ func miqt_exec_callback_QsciLexerDiff_WriteProperties(self *C.QsciLexerDiff, cb
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))

View File

@ -34,8 +34,9 @@ typedef struct QsciLexerDiff QsciLexerDiff;
typedef struct QsciScintilla QsciScintilla; typedef struct QsciScintilla QsciScintilla;
#endif #endif
void QsciLexerDiff_new(QsciLexerDiff** outptr_QsciLexerDiff, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerDiff* QsciLexerDiff_new();
void QsciLexerDiff_new2(QObject* parent, QsciLexerDiff** outptr_QsciLexerDiff, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerDiff* QsciLexerDiff_new2(QObject* parent);
void QsciLexerDiff_virtbase(QsciLexerDiff* src, QsciLexer** outptr_QsciLexer);
QMetaObject* QsciLexerDiff_MetaObject(const QsciLexerDiff* self); QMetaObject* QsciLexerDiff_MetaObject(const QsciLexerDiff* self);
void* QsciLexerDiff_Metacast(QsciLexerDiff* self, const char* param1); void* QsciLexerDiff_Metacast(QsciLexerDiff* self, const char* param1);
struct miqt_string QsciLexerDiff_Tr(const char* s); struct miqt_string QsciLexerDiff_Tr(const char* s);

View File

@ -839,18 +839,16 @@ public:
}; };
void QsciLexerEDIFACT_new(QsciLexerEDIFACT** outptr_QsciLexerEDIFACT, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerEDIFACT* QsciLexerEDIFACT_new() {
MiqtVirtualQsciLexerEDIFACT* ret = new MiqtVirtualQsciLexerEDIFACT(); return new MiqtVirtualQsciLexerEDIFACT();
*outptr_QsciLexerEDIFACT = ret;
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerEDIFACT_new2(QObject* parent, QsciLexerEDIFACT** outptr_QsciLexerEDIFACT, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerEDIFACT* QsciLexerEDIFACT_new2(QObject* parent) {
MiqtVirtualQsciLexerEDIFACT* ret = new MiqtVirtualQsciLexerEDIFACT(parent); return new MiqtVirtualQsciLexerEDIFACT(parent);
*outptr_QsciLexerEDIFACT = ret; }
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret); void QsciLexerEDIFACT_virtbase(QsciLexerEDIFACT* src, QsciLexer** outptr_QsciLexer) {
*outptr_QsciLexer = static_cast<QsciLexer*>(src);
} }
QMetaObject* QsciLexerEDIFACT_MetaObject(const QsciLexerEDIFACT* self) { QMetaObject* QsciLexerEDIFACT_MetaObject(const QsciLexerEDIFACT* self) {

View File

@ -50,44 +50,34 @@ func (this *QsciLexerEDIFACT) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerEDIFACT constructs the type using only CGO pointers. // newQsciLexerEDIFACT constructs the type using only CGO pointers.
func newQsciLexerEDIFACT(h *C.QsciLexerEDIFACT, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerEDIFACT { func newQsciLexerEDIFACT(h *C.QsciLexerEDIFACT) *QsciLexerEDIFACT {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexer *C.QsciLexer = nil
C.QsciLexerEDIFACT_virtbase(h, &outptr_QsciLexer)
return &QsciLexerEDIFACT{h: h, return &QsciLexerEDIFACT{h: h,
QsciLexer: newQsciLexer(h_QsciLexer, h_QObject)} QsciLexer: newQsciLexer(outptr_QsciLexer)}
} }
// UnsafeNewQsciLexerEDIFACT constructs the type using only unsafe pointers. // UnsafeNewQsciLexerEDIFACT constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerEDIFACT(h unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerEDIFACT { func UnsafeNewQsciLexerEDIFACT(h unsafe.Pointer) *QsciLexerEDIFACT {
if h == nil { return newQsciLexerEDIFACT((*C.QsciLexerEDIFACT)(h))
return nil
}
return &QsciLexerEDIFACT{h: (*C.QsciLexerEDIFACT)(h),
QsciLexer: UnsafeNewQsciLexer(h_QsciLexer, h_QObject)}
} }
// NewQsciLexerEDIFACT constructs a new QsciLexerEDIFACT object. // NewQsciLexerEDIFACT constructs a new QsciLexerEDIFACT object.
func NewQsciLexerEDIFACT() *QsciLexerEDIFACT { func NewQsciLexerEDIFACT() *QsciLexerEDIFACT {
var outptr_QsciLexerEDIFACT *C.QsciLexerEDIFACT = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerEDIFACT_new(&outptr_QsciLexerEDIFACT, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerEDIFACT(C.QsciLexerEDIFACT_new())
ret := newQsciLexerEDIFACT(outptr_QsciLexerEDIFACT, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerEDIFACT2 constructs a new QsciLexerEDIFACT object. // NewQsciLexerEDIFACT2 constructs a new QsciLexerEDIFACT object.
func NewQsciLexerEDIFACT2(parent *qt.QObject) *QsciLexerEDIFACT { func NewQsciLexerEDIFACT2(parent *qt.QObject) *QsciLexerEDIFACT {
var outptr_QsciLexerEDIFACT *C.QsciLexerEDIFACT = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerEDIFACT_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerEDIFACT, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerEDIFACT(C.QsciLexerEDIFACT_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerEDIFACT(outptr_QsciLexerEDIFACT, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
@ -864,7 +854,7 @@ func miqt_exec_callback_QsciLexerEDIFACT_SetEditor(self *C.QsciLexerEDIFACT, cb
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := newQsciScintilla(editor, nil, nil, nil, nil, nil, nil) slotval1 := newQsciScintilla(editor)
gofunc((&QsciLexerEDIFACT{h: self}).callVirtualBase_SetEditor, slotval1) gofunc((&QsciLexerEDIFACT{h: self}).callVirtualBase_SetEditor, slotval1)
@ -1108,7 +1098,7 @@ func miqt_exec_callback_QsciLexerEDIFACT_ReadProperties(self *C.QsciLexerEDIFACT
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))
@ -1145,7 +1135,7 @@ func miqt_exec_callback_QsciLexerEDIFACT_WriteProperties(self *C.QsciLexerEDIFAC
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))

View File

@ -34,8 +34,9 @@ typedef struct QsciLexerEDIFACT QsciLexerEDIFACT;
typedef struct QsciScintilla QsciScintilla; typedef struct QsciScintilla QsciScintilla;
#endif #endif
void QsciLexerEDIFACT_new(QsciLexerEDIFACT** outptr_QsciLexerEDIFACT, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerEDIFACT* QsciLexerEDIFACT_new();
void QsciLexerEDIFACT_new2(QObject* parent, QsciLexerEDIFACT** outptr_QsciLexerEDIFACT, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerEDIFACT* QsciLexerEDIFACT_new2(QObject* parent);
void QsciLexerEDIFACT_virtbase(QsciLexerEDIFACT* src, QsciLexer** outptr_QsciLexer);
QMetaObject* QsciLexerEDIFACT_MetaObject(const QsciLexerEDIFACT* self); QMetaObject* QsciLexerEDIFACT_MetaObject(const QsciLexerEDIFACT* self);
void* QsciLexerEDIFACT_Metacast(QsciLexerEDIFACT* self, const char* param1); void* QsciLexerEDIFACT_Metacast(QsciLexerEDIFACT* self, const char* param1);
struct miqt_string QsciLexerEDIFACT_Tr(const char* s); struct miqt_string QsciLexerEDIFACT_Tr(const char* s);

View File

@ -41,20 +41,16 @@ public:
}; };
void QsciLexerFortran_new(QsciLexerFortran** outptr_QsciLexerFortran, QsciLexerFortran77** outptr_QsciLexerFortran77, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerFortran* QsciLexerFortran_new() {
MiqtVirtualQsciLexerFortran* ret = new MiqtVirtualQsciLexerFortran(); return new MiqtVirtualQsciLexerFortran();
*outptr_QsciLexerFortran = ret;
*outptr_QsciLexerFortran77 = static_cast<QsciLexerFortran77*>(ret);
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerFortran_new2(QObject* parent, QsciLexerFortran** outptr_QsciLexerFortran, QsciLexerFortran77** outptr_QsciLexerFortran77, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerFortran* QsciLexerFortran_new2(QObject* parent) {
MiqtVirtualQsciLexerFortran* ret = new MiqtVirtualQsciLexerFortran(parent); return new MiqtVirtualQsciLexerFortran(parent);
*outptr_QsciLexerFortran = ret; }
*outptr_QsciLexerFortran77 = static_cast<QsciLexerFortran77*>(ret);
*outptr_QsciLexer = static_cast<QsciLexer*>(ret); void QsciLexerFortran_virtbase(QsciLexerFortran* src, QsciLexerFortran77** outptr_QsciLexerFortran77) {
*outptr_QObject = static_cast<QObject*>(ret); *outptr_QsciLexerFortran77 = static_cast<QsciLexerFortran77*>(src);
} }
QMetaObject* QsciLexerFortran_MetaObject(const QsciLexerFortran* self) { QMetaObject* QsciLexerFortran_MetaObject(const QsciLexerFortran* self) {

View File

@ -36,46 +36,34 @@ func (this *QsciLexerFortran) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerFortran constructs the type using only CGO pointers. // newQsciLexerFortran constructs the type using only CGO pointers.
func newQsciLexerFortran(h *C.QsciLexerFortran, h_QsciLexerFortran77 *C.QsciLexerFortran77, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerFortran { func newQsciLexerFortran(h *C.QsciLexerFortran) *QsciLexerFortran {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexerFortran77 *C.QsciLexerFortran77 = nil
C.QsciLexerFortran_virtbase(h, &outptr_QsciLexerFortran77)
return &QsciLexerFortran{h: h, return &QsciLexerFortran{h: h,
QsciLexerFortran77: newQsciLexerFortran77(h_QsciLexerFortran77, h_QsciLexer, h_QObject)} QsciLexerFortran77: newQsciLexerFortran77(outptr_QsciLexerFortran77)}
} }
// UnsafeNewQsciLexerFortran constructs the type using only unsafe pointers. // UnsafeNewQsciLexerFortran constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerFortran(h unsafe.Pointer, h_QsciLexerFortran77 unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerFortran { func UnsafeNewQsciLexerFortran(h unsafe.Pointer) *QsciLexerFortran {
if h == nil { return newQsciLexerFortran((*C.QsciLexerFortran)(h))
return nil
}
return &QsciLexerFortran{h: (*C.QsciLexerFortran)(h),
QsciLexerFortran77: UnsafeNewQsciLexerFortran77(h_QsciLexerFortran77, h_QsciLexer, h_QObject)}
} }
// NewQsciLexerFortran constructs a new QsciLexerFortran object. // NewQsciLexerFortran constructs a new QsciLexerFortran object.
func NewQsciLexerFortran() *QsciLexerFortran { func NewQsciLexerFortran() *QsciLexerFortran {
var outptr_QsciLexerFortran *C.QsciLexerFortran = nil
var outptr_QsciLexerFortran77 *C.QsciLexerFortran77 = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerFortran_new(&outptr_QsciLexerFortran, &outptr_QsciLexerFortran77, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerFortran(C.QsciLexerFortran_new())
ret := newQsciLexerFortran(outptr_QsciLexerFortran, outptr_QsciLexerFortran77, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerFortran2 constructs a new QsciLexerFortran object. // NewQsciLexerFortran2 constructs a new QsciLexerFortran object.
func NewQsciLexerFortran2(parent *qt.QObject) *QsciLexerFortran { func NewQsciLexerFortran2(parent *qt.QObject) *QsciLexerFortran {
var outptr_QsciLexerFortran *C.QsciLexerFortran = nil
var outptr_QsciLexerFortran77 *C.QsciLexerFortran77 = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerFortran_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerFortran, &outptr_QsciLexerFortran77, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerFortran(C.QsciLexerFortran_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerFortran(outptr_QsciLexerFortran, outptr_QsciLexerFortran77, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }

View File

@ -28,8 +28,9 @@ typedef struct QsciLexerFortran QsciLexerFortran;
typedef struct QsciLexerFortran77 QsciLexerFortran77; typedef struct QsciLexerFortran77 QsciLexerFortran77;
#endif #endif
void QsciLexerFortran_new(QsciLexerFortran** outptr_QsciLexerFortran, QsciLexerFortran77** outptr_QsciLexerFortran77, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerFortran* QsciLexerFortran_new();
void QsciLexerFortran_new2(QObject* parent, QsciLexerFortran** outptr_QsciLexerFortran, QsciLexerFortran77** outptr_QsciLexerFortran77, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerFortran* QsciLexerFortran_new2(QObject* parent);
void QsciLexerFortran_virtbase(QsciLexerFortran* src, QsciLexerFortran77** outptr_QsciLexerFortran77);
QMetaObject* QsciLexerFortran_MetaObject(const QsciLexerFortran* self); QMetaObject* QsciLexerFortran_MetaObject(const QsciLexerFortran* self);
void* QsciLexerFortran_Metacast(QsciLexerFortran* self, const char* param1); void* QsciLexerFortran_Metacast(QsciLexerFortran* self, const char* param1);
struct miqt_string QsciLexerFortran_Tr(const char* s); struct miqt_string QsciLexerFortran_Tr(const char* s);

View File

@ -863,18 +863,16 @@ public:
}; };
void QsciLexerFortran77_new(QsciLexerFortran77** outptr_QsciLexerFortran77, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerFortran77* QsciLexerFortran77_new() {
MiqtVirtualQsciLexerFortran77* ret = new MiqtVirtualQsciLexerFortran77(); return new MiqtVirtualQsciLexerFortran77();
*outptr_QsciLexerFortran77 = ret;
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerFortran77_new2(QObject* parent, QsciLexerFortran77** outptr_QsciLexerFortran77, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerFortran77* QsciLexerFortran77_new2(QObject* parent) {
MiqtVirtualQsciLexerFortran77* ret = new MiqtVirtualQsciLexerFortran77(parent); return new MiqtVirtualQsciLexerFortran77(parent);
*outptr_QsciLexerFortran77 = ret; }
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret); void QsciLexerFortran77_virtbase(QsciLexerFortran77* src, QsciLexer** outptr_QsciLexer) {
*outptr_QsciLexer = static_cast<QsciLexer*>(src);
} }
QMetaObject* QsciLexerFortran77_MetaObject(const QsciLexerFortran77* self) { QMetaObject* QsciLexerFortran77_MetaObject(const QsciLexerFortran77* self) {

View File

@ -56,44 +56,34 @@ func (this *QsciLexerFortran77) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerFortran77 constructs the type using only CGO pointers. // newQsciLexerFortran77 constructs the type using only CGO pointers.
func newQsciLexerFortran77(h *C.QsciLexerFortran77, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerFortran77 { func newQsciLexerFortran77(h *C.QsciLexerFortran77) *QsciLexerFortran77 {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexer *C.QsciLexer = nil
C.QsciLexerFortran77_virtbase(h, &outptr_QsciLexer)
return &QsciLexerFortran77{h: h, return &QsciLexerFortran77{h: h,
QsciLexer: newQsciLexer(h_QsciLexer, h_QObject)} QsciLexer: newQsciLexer(outptr_QsciLexer)}
} }
// UnsafeNewQsciLexerFortran77 constructs the type using only unsafe pointers. // UnsafeNewQsciLexerFortran77 constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerFortran77(h unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerFortran77 { func UnsafeNewQsciLexerFortran77(h unsafe.Pointer) *QsciLexerFortran77 {
if h == nil { return newQsciLexerFortran77((*C.QsciLexerFortran77)(h))
return nil
}
return &QsciLexerFortran77{h: (*C.QsciLexerFortran77)(h),
QsciLexer: UnsafeNewQsciLexer(h_QsciLexer, h_QObject)}
} }
// NewQsciLexerFortran77 constructs a new QsciLexerFortran77 object. // NewQsciLexerFortran77 constructs a new QsciLexerFortran77 object.
func NewQsciLexerFortran77() *QsciLexerFortran77 { func NewQsciLexerFortran77() *QsciLexerFortran77 {
var outptr_QsciLexerFortran77 *C.QsciLexerFortran77 = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerFortran77_new(&outptr_QsciLexerFortran77, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerFortran77(C.QsciLexerFortran77_new())
ret := newQsciLexerFortran77(outptr_QsciLexerFortran77, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerFortran772 constructs a new QsciLexerFortran77 object. // NewQsciLexerFortran772 constructs a new QsciLexerFortran77 object.
func NewQsciLexerFortran772(parent *qt.QObject) *QsciLexerFortran77 { func NewQsciLexerFortran772(parent *qt.QObject) *QsciLexerFortran77 {
var outptr_QsciLexerFortran77 *C.QsciLexerFortran77 = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerFortran77_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerFortran77, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerFortran77(C.QsciLexerFortran77_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerFortran77(outptr_QsciLexerFortran77, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
@ -933,7 +923,7 @@ func miqt_exec_callback_QsciLexerFortran77_SetEditor(self *C.QsciLexerFortran77,
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := newQsciScintilla(editor, nil, nil, nil, nil, nil, nil) slotval1 := newQsciScintilla(editor)
gofunc((&QsciLexerFortran77{h: self}).callVirtualBase_SetEditor, slotval1) gofunc((&QsciLexerFortran77{h: self}).callVirtualBase_SetEditor, slotval1)
@ -1177,7 +1167,7 @@ func miqt_exec_callback_QsciLexerFortran77_ReadProperties(self *C.QsciLexerFortr
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))
@ -1214,7 +1204,7 @@ func miqt_exec_callback_QsciLexerFortran77_WriteProperties(self *C.QsciLexerFort
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))

View File

@ -34,8 +34,9 @@ typedef struct QsciLexerFortran77 QsciLexerFortran77;
typedef struct QsciScintilla QsciScintilla; typedef struct QsciScintilla QsciScintilla;
#endif #endif
void QsciLexerFortran77_new(QsciLexerFortran77** outptr_QsciLexerFortran77, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerFortran77* QsciLexerFortran77_new();
void QsciLexerFortran77_new2(QObject* parent, QsciLexerFortran77** outptr_QsciLexerFortran77, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerFortran77* QsciLexerFortran77_new2(QObject* parent);
void QsciLexerFortran77_virtbase(QsciLexerFortran77* src, QsciLexer** outptr_QsciLexer);
QMetaObject* QsciLexerFortran77_MetaObject(const QsciLexerFortran77* self); QMetaObject* QsciLexerFortran77_MetaObject(const QsciLexerFortran77* self);
void* QsciLexerFortran77_Metacast(QsciLexerFortran77* self, const char* param1); void* QsciLexerFortran77_Metacast(QsciLexerFortran77* self, const char* param1);
struct miqt_string QsciLexerFortran77_Tr(const char* s); struct miqt_string QsciLexerFortran77_Tr(const char* s);

View File

@ -911,18 +911,16 @@ public:
}; };
void QsciLexerHTML_new(QsciLexerHTML** outptr_QsciLexerHTML, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerHTML* QsciLexerHTML_new() {
MiqtVirtualQsciLexerHTML* ret = new MiqtVirtualQsciLexerHTML(); return new MiqtVirtualQsciLexerHTML();
*outptr_QsciLexerHTML = ret;
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerHTML_new2(QObject* parent, QsciLexerHTML** outptr_QsciLexerHTML, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerHTML* QsciLexerHTML_new2(QObject* parent) {
MiqtVirtualQsciLexerHTML* ret = new MiqtVirtualQsciLexerHTML(parent); return new MiqtVirtualQsciLexerHTML(parent);
*outptr_QsciLexerHTML = ret; }
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret); void QsciLexerHTML_virtbase(QsciLexerHTML* src, QsciLexer** outptr_QsciLexer) {
*outptr_QsciLexer = static_cast<QsciLexer*>(src);
} }
QMetaObject* QsciLexerHTML_MetaObject(const QsciLexerHTML* self) { QMetaObject* QsciLexerHTML_MetaObject(const QsciLexerHTML* self) {

View File

@ -151,44 +151,34 @@ func (this *QsciLexerHTML) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerHTML constructs the type using only CGO pointers. // newQsciLexerHTML constructs the type using only CGO pointers.
func newQsciLexerHTML(h *C.QsciLexerHTML, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerHTML { func newQsciLexerHTML(h *C.QsciLexerHTML) *QsciLexerHTML {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexer *C.QsciLexer = nil
C.QsciLexerHTML_virtbase(h, &outptr_QsciLexer)
return &QsciLexerHTML{h: h, return &QsciLexerHTML{h: h,
QsciLexer: newQsciLexer(h_QsciLexer, h_QObject)} QsciLexer: newQsciLexer(outptr_QsciLexer)}
} }
// UnsafeNewQsciLexerHTML constructs the type using only unsafe pointers. // UnsafeNewQsciLexerHTML constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerHTML(h unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerHTML { func UnsafeNewQsciLexerHTML(h unsafe.Pointer) *QsciLexerHTML {
if h == nil { return newQsciLexerHTML((*C.QsciLexerHTML)(h))
return nil
}
return &QsciLexerHTML{h: (*C.QsciLexerHTML)(h),
QsciLexer: UnsafeNewQsciLexer(h_QsciLexer, h_QObject)}
} }
// NewQsciLexerHTML constructs a new QsciLexerHTML object. // NewQsciLexerHTML constructs a new QsciLexerHTML object.
func NewQsciLexerHTML() *QsciLexerHTML { func NewQsciLexerHTML() *QsciLexerHTML {
var outptr_QsciLexerHTML *C.QsciLexerHTML = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerHTML_new(&outptr_QsciLexerHTML, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerHTML(C.QsciLexerHTML_new())
ret := newQsciLexerHTML(outptr_QsciLexerHTML, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerHTML2 constructs a new QsciLexerHTML object. // NewQsciLexerHTML2 constructs a new QsciLexerHTML object.
func NewQsciLexerHTML2(parent *qt.QObject) *QsciLexerHTML { func NewQsciLexerHTML2(parent *qt.QObject) *QsciLexerHTML {
var outptr_QsciLexerHTML *C.QsciLexerHTML = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerHTML_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerHTML, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerHTML(C.QsciLexerHTML_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerHTML(outptr_QsciLexerHTML, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
@ -1134,7 +1124,7 @@ func miqt_exec_callback_QsciLexerHTML_SetEditor(self *C.QsciLexerHTML, cb C.intp
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := newQsciScintilla(editor, nil, nil, nil, nil, nil, nil) slotval1 := newQsciScintilla(editor)
gofunc((&QsciLexerHTML{h: self}).callVirtualBase_SetEditor, slotval1) gofunc((&QsciLexerHTML{h: self}).callVirtualBase_SetEditor, slotval1)
@ -1378,7 +1368,7 @@ func miqt_exec_callback_QsciLexerHTML_ReadProperties(self *C.QsciLexerHTML, cb C
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))
@ -1415,7 +1405,7 @@ func miqt_exec_callback_QsciLexerHTML_WriteProperties(self *C.QsciLexerHTML, cb
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))

View File

@ -34,8 +34,9 @@ typedef struct QsciLexerHTML QsciLexerHTML;
typedef struct QsciScintilla QsciScintilla; typedef struct QsciScintilla QsciScintilla;
#endif #endif
void QsciLexerHTML_new(QsciLexerHTML** outptr_QsciLexerHTML, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerHTML* QsciLexerHTML_new();
void QsciLexerHTML_new2(QObject* parent, QsciLexerHTML** outptr_QsciLexerHTML, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerHTML* QsciLexerHTML_new2(QObject* parent);
void QsciLexerHTML_virtbase(QsciLexerHTML* src, QsciLexer** outptr_QsciLexer);
QMetaObject* QsciLexerHTML_MetaObject(const QsciLexerHTML* self); QMetaObject* QsciLexerHTML_MetaObject(const QsciLexerHTML* self);
void* QsciLexerHTML_Metacast(QsciLexerHTML* self, const char* param1); void* QsciLexerHTML_Metacast(QsciLexerHTML* self, const char* param1);
struct miqt_string QsciLexerHTML_Tr(const char* s); struct miqt_string QsciLexerHTML_Tr(const char* s);

View File

@ -138,20 +138,16 @@ public:
}; };
void QsciLexerIDL_new(QsciLexerIDL** outptr_QsciLexerIDL, QsciLexerCPP** outptr_QsciLexerCPP, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerIDL* QsciLexerIDL_new() {
MiqtVirtualQsciLexerIDL* ret = new MiqtVirtualQsciLexerIDL(); return new MiqtVirtualQsciLexerIDL();
*outptr_QsciLexerIDL = ret;
*outptr_QsciLexerCPP = static_cast<QsciLexerCPP*>(ret);
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerIDL_new2(QObject* parent, QsciLexerIDL** outptr_QsciLexerIDL, QsciLexerCPP** outptr_QsciLexerCPP, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerIDL* QsciLexerIDL_new2(QObject* parent) {
MiqtVirtualQsciLexerIDL* ret = new MiqtVirtualQsciLexerIDL(parent); return new MiqtVirtualQsciLexerIDL(parent);
*outptr_QsciLexerIDL = ret; }
*outptr_QsciLexerCPP = static_cast<QsciLexerCPP*>(ret);
*outptr_QsciLexer = static_cast<QsciLexer*>(ret); void QsciLexerIDL_virtbase(QsciLexerIDL* src, QsciLexerCPP** outptr_QsciLexerCPP) {
*outptr_QObject = static_cast<QObject*>(ret); *outptr_QsciLexerCPP = static_cast<QsciLexerCPP*>(src);
} }
QMetaObject* QsciLexerIDL_MetaObject(const QsciLexerIDL* self) { QMetaObject* QsciLexerIDL_MetaObject(const QsciLexerIDL* self) {

View File

@ -36,46 +36,34 @@ func (this *QsciLexerIDL) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerIDL constructs the type using only CGO pointers. // newQsciLexerIDL constructs the type using only CGO pointers.
func newQsciLexerIDL(h *C.QsciLexerIDL, h_QsciLexerCPP *C.QsciLexerCPP, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerIDL { func newQsciLexerIDL(h *C.QsciLexerIDL) *QsciLexerIDL {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexerCPP *C.QsciLexerCPP = nil
C.QsciLexerIDL_virtbase(h, &outptr_QsciLexerCPP)
return &QsciLexerIDL{h: h, return &QsciLexerIDL{h: h,
QsciLexerCPP: newQsciLexerCPP(h_QsciLexerCPP, h_QsciLexer, h_QObject)} QsciLexerCPP: newQsciLexerCPP(outptr_QsciLexerCPP)}
} }
// UnsafeNewQsciLexerIDL constructs the type using only unsafe pointers. // UnsafeNewQsciLexerIDL constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerIDL(h unsafe.Pointer, h_QsciLexerCPP unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerIDL { func UnsafeNewQsciLexerIDL(h unsafe.Pointer) *QsciLexerIDL {
if h == nil { return newQsciLexerIDL((*C.QsciLexerIDL)(h))
return nil
}
return &QsciLexerIDL{h: (*C.QsciLexerIDL)(h),
QsciLexerCPP: UnsafeNewQsciLexerCPP(h_QsciLexerCPP, h_QsciLexer, h_QObject)}
} }
// NewQsciLexerIDL constructs a new QsciLexerIDL object. // NewQsciLexerIDL constructs a new QsciLexerIDL object.
func NewQsciLexerIDL() *QsciLexerIDL { func NewQsciLexerIDL() *QsciLexerIDL {
var outptr_QsciLexerIDL *C.QsciLexerIDL = nil
var outptr_QsciLexerCPP *C.QsciLexerCPP = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerIDL_new(&outptr_QsciLexerIDL, &outptr_QsciLexerCPP, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerIDL(C.QsciLexerIDL_new())
ret := newQsciLexerIDL(outptr_QsciLexerIDL, outptr_QsciLexerCPP, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerIDL2 constructs a new QsciLexerIDL object. // NewQsciLexerIDL2 constructs a new QsciLexerIDL object.
func NewQsciLexerIDL2(parent *qt.QObject) *QsciLexerIDL { func NewQsciLexerIDL2(parent *qt.QObject) *QsciLexerIDL {
var outptr_QsciLexerIDL *C.QsciLexerIDL = nil
var outptr_QsciLexerCPP *C.QsciLexerCPP = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerIDL_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerIDL, &outptr_QsciLexerCPP, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerIDL(C.QsciLexerIDL_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerIDL(outptr_QsciLexerIDL, outptr_QsciLexerCPP, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }

View File

@ -30,8 +30,9 @@ typedef struct QsciLexerCPP QsciLexerCPP;
typedef struct QsciLexerIDL QsciLexerIDL; typedef struct QsciLexerIDL QsciLexerIDL;
#endif #endif
void QsciLexerIDL_new(QsciLexerIDL** outptr_QsciLexerIDL, QsciLexerCPP** outptr_QsciLexerCPP, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerIDL* QsciLexerIDL_new();
void QsciLexerIDL_new2(QObject* parent, QsciLexerIDL** outptr_QsciLexerIDL, QsciLexerCPP** outptr_QsciLexerCPP, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerIDL* QsciLexerIDL_new2(QObject* parent);
void QsciLexerIDL_virtbase(QsciLexerIDL* src, QsciLexerCPP** outptr_QsciLexerCPP);
QMetaObject* QsciLexerIDL_MetaObject(const QsciLexerIDL* self); QMetaObject* QsciLexerIDL_MetaObject(const QsciLexerIDL* self);
void* QsciLexerIDL_Metacast(QsciLexerIDL* self, const char* param1); void* QsciLexerIDL_Metacast(QsciLexerIDL* self, const char* param1);
struct miqt_string QsciLexerIDL_Tr(const char* s); struct miqt_string QsciLexerIDL_Tr(const char* s);

View File

@ -137,20 +137,16 @@ public:
}; };
void QsciLexerJava_new(QsciLexerJava** outptr_QsciLexerJava, QsciLexerCPP** outptr_QsciLexerCPP, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerJava* QsciLexerJava_new() {
MiqtVirtualQsciLexerJava* ret = new MiqtVirtualQsciLexerJava(); return new MiqtVirtualQsciLexerJava();
*outptr_QsciLexerJava = ret;
*outptr_QsciLexerCPP = static_cast<QsciLexerCPP*>(ret);
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerJava_new2(QObject* parent, QsciLexerJava** outptr_QsciLexerJava, QsciLexerCPP** outptr_QsciLexerCPP, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerJava* QsciLexerJava_new2(QObject* parent) {
MiqtVirtualQsciLexerJava* ret = new MiqtVirtualQsciLexerJava(parent); return new MiqtVirtualQsciLexerJava(parent);
*outptr_QsciLexerJava = ret; }
*outptr_QsciLexerCPP = static_cast<QsciLexerCPP*>(ret);
*outptr_QsciLexer = static_cast<QsciLexer*>(ret); void QsciLexerJava_virtbase(QsciLexerJava* src, QsciLexerCPP** outptr_QsciLexerCPP) {
*outptr_QObject = static_cast<QObject*>(ret); *outptr_QsciLexerCPP = static_cast<QsciLexerCPP*>(src);
} }
QMetaObject* QsciLexerJava_MetaObject(const QsciLexerJava* self) { QMetaObject* QsciLexerJava_MetaObject(const QsciLexerJava* self) {

View File

@ -36,46 +36,34 @@ func (this *QsciLexerJava) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerJava constructs the type using only CGO pointers. // newQsciLexerJava constructs the type using only CGO pointers.
func newQsciLexerJava(h *C.QsciLexerJava, h_QsciLexerCPP *C.QsciLexerCPP, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerJava { func newQsciLexerJava(h *C.QsciLexerJava) *QsciLexerJava {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexerCPP *C.QsciLexerCPP = nil
C.QsciLexerJava_virtbase(h, &outptr_QsciLexerCPP)
return &QsciLexerJava{h: h, return &QsciLexerJava{h: h,
QsciLexerCPP: newQsciLexerCPP(h_QsciLexerCPP, h_QsciLexer, h_QObject)} QsciLexerCPP: newQsciLexerCPP(outptr_QsciLexerCPP)}
} }
// UnsafeNewQsciLexerJava constructs the type using only unsafe pointers. // UnsafeNewQsciLexerJava constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerJava(h unsafe.Pointer, h_QsciLexerCPP unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerJava { func UnsafeNewQsciLexerJava(h unsafe.Pointer) *QsciLexerJava {
if h == nil { return newQsciLexerJava((*C.QsciLexerJava)(h))
return nil
}
return &QsciLexerJava{h: (*C.QsciLexerJava)(h),
QsciLexerCPP: UnsafeNewQsciLexerCPP(h_QsciLexerCPP, h_QsciLexer, h_QObject)}
} }
// NewQsciLexerJava constructs a new QsciLexerJava object. // NewQsciLexerJava constructs a new QsciLexerJava object.
func NewQsciLexerJava() *QsciLexerJava { func NewQsciLexerJava() *QsciLexerJava {
var outptr_QsciLexerJava *C.QsciLexerJava = nil
var outptr_QsciLexerCPP *C.QsciLexerCPP = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerJava_new(&outptr_QsciLexerJava, &outptr_QsciLexerCPP, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerJava(C.QsciLexerJava_new())
ret := newQsciLexerJava(outptr_QsciLexerJava, outptr_QsciLexerCPP, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerJava2 constructs a new QsciLexerJava object. // NewQsciLexerJava2 constructs a new QsciLexerJava object.
func NewQsciLexerJava2(parent *qt.QObject) *QsciLexerJava { func NewQsciLexerJava2(parent *qt.QObject) *QsciLexerJava {
var outptr_QsciLexerJava *C.QsciLexerJava = nil
var outptr_QsciLexerCPP *C.QsciLexerCPP = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerJava_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerJava, &outptr_QsciLexerCPP, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerJava(C.QsciLexerJava_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerJava(outptr_QsciLexerJava, outptr_QsciLexerCPP, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }

View File

@ -28,8 +28,9 @@ typedef struct QsciLexerCPP QsciLexerCPP;
typedef struct QsciLexerJava QsciLexerJava; typedef struct QsciLexerJava QsciLexerJava;
#endif #endif
void QsciLexerJava_new(QsciLexerJava** outptr_QsciLexerJava, QsciLexerCPP** outptr_QsciLexerCPP, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerJava* QsciLexerJava_new();
void QsciLexerJava_new2(QObject* parent, QsciLexerJava** outptr_QsciLexerJava, QsciLexerCPP** outptr_QsciLexerCPP, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerJava* QsciLexerJava_new2(QObject* parent);
void QsciLexerJava_virtbase(QsciLexerJava* src, QsciLexerCPP** outptr_QsciLexerCPP);
QMetaObject* QsciLexerJava_MetaObject(const QsciLexerJava* self); QMetaObject* QsciLexerJava_MetaObject(const QsciLexerJava* self);
void* QsciLexerJava_Metacast(QsciLexerJava* self, const char* param1); void* QsciLexerJava_Metacast(QsciLexerJava* self, const char* param1);
struct miqt_string QsciLexerJava_Tr(const char* s); struct miqt_string QsciLexerJava_Tr(const char* s);

View File

@ -139,20 +139,16 @@ public:
}; };
void QsciLexerJavaScript_new(QsciLexerJavaScript** outptr_QsciLexerJavaScript, QsciLexerCPP** outptr_QsciLexerCPP, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerJavaScript* QsciLexerJavaScript_new() {
MiqtVirtualQsciLexerJavaScript* ret = new MiqtVirtualQsciLexerJavaScript(); return new MiqtVirtualQsciLexerJavaScript();
*outptr_QsciLexerJavaScript = ret;
*outptr_QsciLexerCPP = static_cast<QsciLexerCPP*>(ret);
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerJavaScript_new2(QObject* parent, QsciLexerJavaScript** outptr_QsciLexerJavaScript, QsciLexerCPP** outptr_QsciLexerCPP, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerJavaScript* QsciLexerJavaScript_new2(QObject* parent) {
MiqtVirtualQsciLexerJavaScript* ret = new MiqtVirtualQsciLexerJavaScript(parent); return new MiqtVirtualQsciLexerJavaScript(parent);
*outptr_QsciLexerJavaScript = ret; }
*outptr_QsciLexerCPP = static_cast<QsciLexerCPP*>(ret);
*outptr_QsciLexer = static_cast<QsciLexer*>(ret); void QsciLexerJavaScript_virtbase(QsciLexerJavaScript* src, QsciLexerCPP** outptr_QsciLexerCPP) {
*outptr_QObject = static_cast<QObject*>(ret); *outptr_QsciLexerCPP = static_cast<QsciLexerCPP*>(src);
} }
QMetaObject* QsciLexerJavaScript_MetaObject(const QsciLexerJavaScript* self) { QMetaObject* QsciLexerJavaScript_MetaObject(const QsciLexerJavaScript* self) {

View File

@ -36,46 +36,34 @@ func (this *QsciLexerJavaScript) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerJavaScript constructs the type using only CGO pointers. // newQsciLexerJavaScript constructs the type using only CGO pointers.
func newQsciLexerJavaScript(h *C.QsciLexerJavaScript, h_QsciLexerCPP *C.QsciLexerCPP, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerJavaScript { func newQsciLexerJavaScript(h *C.QsciLexerJavaScript) *QsciLexerJavaScript {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexerCPP *C.QsciLexerCPP = nil
C.QsciLexerJavaScript_virtbase(h, &outptr_QsciLexerCPP)
return &QsciLexerJavaScript{h: h, return &QsciLexerJavaScript{h: h,
QsciLexerCPP: newQsciLexerCPP(h_QsciLexerCPP, h_QsciLexer, h_QObject)} QsciLexerCPP: newQsciLexerCPP(outptr_QsciLexerCPP)}
} }
// UnsafeNewQsciLexerJavaScript constructs the type using only unsafe pointers. // UnsafeNewQsciLexerJavaScript constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerJavaScript(h unsafe.Pointer, h_QsciLexerCPP unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerJavaScript { func UnsafeNewQsciLexerJavaScript(h unsafe.Pointer) *QsciLexerJavaScript {
if h == nil { return newQsciLexerJavaScript((*C.QsciLexerJavaScript)(h))
return nil
}
return &QsciLexerJavaScript{h: (*C.QsciLexerJavaScript)(h),
QsciLexerCPP: UnsafeNewQsciLexerCPP(h_QsciLexerCPP, h_QsciLexer, h_QObject)}
} }
// NewQsciLexerJavaScript constructs a new QsciLexerJavaScript object. // NewQsciLexerJavaScript constructs a new QsciLexerJavaScript object.
func NewQsciLexerJavaScript() *QsciLexerJavaScript { func NewQsciLexerJavaScript() *QsciLexerJavaScript {
var outptr_QsciLexerJavaScript *C.QsciLexerJavaScript = nil
var outptr_QsciLexerCPP *C.QsciLexerCPP = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerJavaScript_new(&outptr_QsciLexerJavaScript, &outptr_QsciLexerCPP, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerJavaScript(C.QsciLexerJavaScript_new())
ret := newQsciLexerJavaScript(outptr_QsciLexerJavaScript, outptr_QsciLexerCPP, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerJavaScript2 constructs a new QsciLexerJavaScript object. // NewQsciLexerJavaScript2 constructs a new QsciLexerJavaScript object.
func NewQsciLexerJavaScript2(parent *qt.QObject) *QsciLexerJavaScript { func NewQsciLexerJavaScript2(parent *qt.QObject) *QsciLexerJavaScript {
var outptr_QsciLexerJavaScript *C.QsciLexerJavaScript = nil
var outptr_QsciLexerCPP *C.QsciLexerCPP = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerJavaScript_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerJavaScript, &outptr_QsciLexerCPP, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerJavaScript(C.QsciLexerJavaScript_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerJavaScript(outptr_QsciLexerJavaScript, outptr_QsciLexerCPP, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }

View File

@ -32,8 +32,9 @@ typedef struct QsciLexerCPP QsciLexerCPP;
typedef struct QsciLexerJavaScript QsciLexerJavaScript; typedef struct QsciLexerJavaScript QsciLexerJavaScript;
#endif #endif
void QsciLexerJavaScript_new(QsciLexerJavaScript** outptr_QsciLexerJavaScript, QsciLexerCPP** outptr_QsciLexerCPP, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerJavaScript* QsciLexerJavaScript_new();
void QsciLexerJavaScript_new2(QObject* parent, QsciLexerJavaScript** outptr_QsciLexerJavaScript, QsciLexerCPP** outptr_QsciLexerCPP, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerJavaScript* QsciLexerJavaScript_new2(QObject* parent);
void QsciLexerJavaScript_virtbase(QsciLexerJavaScript* src, QsciLexerCPP** outptr_QsciLexerCPP);
QMetaObject* QsciLexerJavaScript_MetaObject(const QsciLexerJavaScript* self); QMetaObject* QsciLexerJavaScript_MetaObject(const QsciLexerJavaScript* self);
void* QsciLexerJavaScript_Metacast(QsciLexerJavaScript* self, const char* param1); void* QsciLexerJavaScript_Metacast(QsciLexerJavaScript* self, const char* param1);
struct miqt_string QsciLexerJavaScript_Tr(const char* s); struct miqt_string QsciLexerJavaScript_Tr(const char* s);

View File

@ -839,18 +839,16 @@ public:
}; };
void QsciLexerJSON_new(QsciLexerJSON** outptr_QsciLexerJSON, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerJSON* QsciLexerJSON_new() {
MiqtVirtualQsciLexerJSON* ret = new MiqtVirtualQsciLexerJSON(); return new MiqtVirtualQsciLexerJSON();
*outptr_QsciLexerJSON = ret;
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerJSON_new2(QObject* parent, QsciLexerJSON** outptr_QsciLexerJSON, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerJSON* QsciLexerJSON_new2(QObject* parent) {
MiqtVirtualQsciLexerJSON* ret = new MiqtVirtualQsciLexerJSON(parent); return new MiqtVirtualQsciLexerJSON(parent);
*outptr_QsciLexerJSON = ret; }
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret); void QsciLexerJSON_virtbase(QsciLexerJSON* src, QsciLexer** outptr_QsciLexer) {
*outptr_QsciLexer = static_cast<QsciLexer*>(src);
} }
QMetaObject* QsciLexerJSON_MetaObject(const QsciLexerJSON* self) { QMetaObject* QsciLexerJSON_MetaObject(const QsciLexerJSON* self) {

View File

@ -55,44 +55,34 @@ func (this *QsciLexerJSON) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerJSON constructs the type using only CGO pointers. // newQsciLexerJSON constructs the type using only CGO pointers.
func newQsciLexerJSON(h *C.QsciLexerJSON, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerJSON { func newQsciLexerJSON(h *C.QsciLexerJSON) *QsciLexerJSON {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexer *C.QsciLexer = nil
C.QsciLexerJSON_virtbase(h, &outptr_QsciLexer)
return &QsciLexerJSON{h: h, return &QsciLexerJSON{h: h,
QsciLexer: newQsciLexer(h_QsciLexer, h_QObject)} QsciLexer: newQsciLexer(outptr_QsciLexer)}
} }
// UnsafeNewQsciLexerJSON constructs the type using only unsafe pointers. // UnsafeNewQsciLexerJSON constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerJSON(h unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerJSON { func UnsafeNewQsciLexerJSON(h unsafe.Pointer) *QsciLexerJSON {
if h == nil { return newQsciLexerJSON((*C.QsciLexerJSON)(h))
return nil
}
return &QsciLexerJSON{h: (*C.QsciLexerJSON)(h),
QsciLexer: UnsafeNewQsciLexer(h_QsciLexer, h_QObject)}
} }
// NewQsciLexerJSON constructs a new QsciLexerJSON object. // NewQsciLexerJSON constructs a new QsciLexerJSON object.
func NewQsciLexerJSON() *QsciLexerJSON { func NewQsciLexerJSON() *QsciLexerJSON {
var outptr_QsciLexerJSON *C.QsciLexerJSON = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerJSON_new(&outptr_QsciLexerJSON, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerJSON(C.QsciLexerJSON_new())
ret := newQsciLexerJSON(outptr_QsciLexerJSON, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerJSON2 constructs a new QsciLexerJSON object. // NewQsciLexerJSON2 constructs a new QsciLexerJSON object.
func NewQsciLexerJSON2(parent *qt.QObject) *QsciLexerJSON { func NewQsciLexerJSON2(parent *qt.QObject) *QsciLexerJSON {
var outptr_QsciLexerJSON *C.QsciLexerJSON = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerJSON_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerJSON, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerJSON(C.QsciLexerJSON_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerJSON(outptr_QsciLexerJSON, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
@ -918,7 +908,7 @@ func miqt_exec_callback_QsciLexerJSON_SetEditor(self *C.QsciLexerJSON, cb C.intp
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := newQsciScintilla(editor, nil, nil, nil, nil, nil, nil) slotval1 := newQsciScintilla(editor)
gofunc((&QsciLexerJSON{h: self}).callVirtualBase_SetEditor, slotval1) gofunc((&QsciLexerJSON{h: self}).callVirtualBase_SetEditor, slotval1)
@ -1162,7 +1152,7 @@ func miqt_exec_callback_QsciLexerJSON_ReadProperties(self *C.QsciLexerJSON, cb C
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))
@ -1199,7 +1189,7 @@ func miqt_exec_callback_QsciLexerJSON_WriteProperties(self *C.QsciLexerJSON, cb
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))

View File

@ -34,8 +34,9 @@ typedef struct QsciLexerJSON QsciLexerJSON;
typedef struct QsciScintilla QsciScintilla; typedef struct QsciScintilla QsciScintilla;
#endif #endif
void QsciLexerJSON_new(QsciLexerJSON** outptr_QsciLexerJSON, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerJSON* QsciLexerJSON_new();
void QsciLexerJSON_new2(QObject* parent, QsciLexerJSON** outptr_QsciLexerJSON, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerJSON* QsciLexerJSON_new2(QObject* parent);
void QsciLexerJSON_virtbase(QsciLexerJSON* src, QsciLexer** outptr_QsciLexer);
QMetaObject* QsciLexerJSON_MetaObject(const QsciLexerJSON* self); QMetaObject* QsciLexerJSON_MetaObject(const QsciLexerJSON* self);
void* QsciLexerJSON_Metacast(QsciLexerJSON* self, const char* param1); void* QsciLexerJSON_Metacast(QsciLexerJSON* self, const char* param1);
struct miqt_string QsciLexerJSON_Tr(const char* s); struct miqt_string QsciLexerJSON_Tr(const char* s);

View File

@ -863,18 +863,16 @@ public:
}; };
void QsciLexerLua_new(QsciLexerLua** outptr_QsciLexerLua, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerLua* QsciLexerLua_new() {
MiqtVirtualQsciLexerLua* ret = new MiqtVirtualQsciLexerLua(); return new MiqtVirtualQsciLexerLua();
*outptr_QsciLexerLua = ret;
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerLua_new2(QObject* parent, QsciLexerLua** outptr_QsciLexerLua, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerLua* QsciLexerLua_new2(QObject* parent) {
MiqtVirtualQsciLexerLua* ret = new MiqtVirtualQsciLexerLua(parent); return new MiqtVirtualQsciLexerLua(parent);
*outptr_QsciLexerLua = ret; }
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret); void QsciLexerLua_virtbase(QsciLexerLua* src, QsciLexer** outptr_QsciLexer) {
*outptr_QsciLexer = static_cast<QsciLexer*>(src);
} }
QMetaObject* QsciLexerLua_MetaObject(const QsciLexerLua* self) { QMetaObject* QsciLexerLua_MetaObject(const QsciLexerLua* self) {

View File

@ -61,44 +61,34 @@ func (this *QsciLexerLua) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerLua constructs the type using only CGO pointers. // newQsciLexerLua constructs the type using only CGO pointers.
func newQsciLexerLua(h *C.QsciLexerLua, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerLua { func newQsciLexerLua(h *C.QsciLexerLua) *QsciLexerLua {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexer *C.QsciLexer = nil
C.QsciLexerLua_virtbase(h, &outptr_QsciLexer)
return &QsciLexerLua{h: h, return &QsciLexerLua{h: h,
QsciLexer: newQsciLexer(h_QsciLexer, h_QObject)} QsciLexer: newQsciLexer(outptr_QsciLexer)}
} }
// UnsafeNewQsciLexerLua constructs the type using only unsafe pointers. // UnsafeNewQsciLexerLua constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerLua(h unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerLua { func UnsafeNewQsciLexerLua(h unsafe.Pointer) *QsciLexerLua {
if h == nil { return newQsciLexerLua((*C.QsciLexerLua)(h))
return nil
}
return &QsciLexerLua{h: (*C.QsciLexerLua)(h),
QsciLexer: UnsafeNewQsciLexer(h_QsciLexer, h_QObject)}
} }
// NewQsciLexerLua constructs a new QsciLexerLua object. // NewQsciLexerLua constructs a new QsciLexerLua object.
func NewQsciLexerLua() *QsciLexerLua { func NewQsciLexerLua() *QsciLexerLua {
var outptr_QsciLexerLua *C.QsciLexerLua = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerLua_new(&outptr_QsciLexerLua, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerLua(C.QsciLexerLua_new())
ret := newQsciLexerLua(outptr_QsciLexerLua, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerLua2 constructs a new QsciLexerLua object. // NewQsciLexerLua2 constructs a new QsciLexerLua object.
func NewQsciLexerLua2(parent *qt.QObject) *QsciLexerLua { func NewQsciLexerLua2(parent *qt.QObject) *QsciLexerLua {
var outptr_QsciLexerLua *C.QsciLexerLua = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerLua_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerLua, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerLua(C.QsciLexerLua_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerLua(outptr_QsciLexerLua, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
@ -961,7 +951,7 @@ func miqt_exec_callback_QsciLexerLua_SetEditor(self *C.QsciLexerLua, cb C.intptr
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := newQsciScintilla(editor, nil, nil, nil, nil, nil, nil) slotval1 := newQsciScintilla(editor)
gofunc((&QsciLexerLua{h: self}).callVirtualBase_SetEditor, slotval1) gofunc((&QsciLexerLua{h: self}).callVirtualBase_SetEditor, slotval1)
@ -1205,7 +1195,7 @@ func miqt_exec_callback_QsciLexerLua_ReadProperties(self *C.QsciLexerLua, cb C.i
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))
@ -1242,7 +1232,7 @@ func miqt_exec_callback_QsciLexerLua_WriteProperties(self *C.QsciLexerLua, cb C.
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))

View File

@ -34,8 +34,9 @@ typedef struct QsciLexerLua QsciLexerLua;
typedef struct QsciScintilla QsciScintilla; typedef struct QsciScintilla QsciScintilla;
#endif #endif
void QsciLexerLua_new(QsciLexerLua** outptr_QsciLexerLua, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerLua* QsciLexerLua_new();
void QsciLexerLua_new2(QObject* parent, QsciLexerLua** outptr_QsciLexerLua, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerLua* QsciLexerLua_new2(QObject* parent);
void QsciLexerLua_virtbase(QsciLexerLua* src, QsciLexer** outptr_QsciLexer);
QMetaObject* QsciLexerLua_MetaObject(const QsciLexerLua* self); QMetaObject* QsciLexerLua_MetaObject(const QsciLexerLua* self);
void* QsciLexerLua_Metacast(QsciLexerLua* self, const char* param1); void* QsciLexerLua_Metacast(QsciLexerLua* self, const char* param1);
struct miqt_string QsciLexerLua_Tr(const char* s); struct miqt_string QsciLexerLua_Tr(const char* s);

View File

@ -839,18 +839,16 @@ public:
}; };
void QsciLexerMakefile_new(QsciLexerMakefile** outptr_QsciLexerMakefile, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerMakefile* QsciLexerMakefile_new() {
MiqtVirtualQsciLexerMakefile* ret = new MiqtVirtualQsciLexerMakefile(); return new MiqtVirtualQsciLexerMakefile();
*outptr_QsciLexerMakefile = ret;
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerMakefile_new2(QObject* parent, QsciLexerMakefile** outptr_QsciLexerMakefile, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerMakefile* QsciLexerMakefile_new2(QObject* parent) {
MiqtVirtualQsciLexerMakefile* ret = new MiqtVirtualQsciLexerMakefile(parent); return new MiqtVirtualQsciLexerMakefile(parent);
*outptr_QsciLexerMakefile = ret; }
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret); void QsciLexerMakefile_virtbase(QsciLexerMakefile* src, QsciLexer** outptr_QsciLexer) {
*outptr_QsciLexer = static_cast<QsciLexer*>(src);
} }
QMetaObject* QsciLexerMakefile_MetaObject(const QsciLexerMakefile* self) { QMetaObject* QsciLexerMakefile_MetaObject(const QsciLexerMakefile* self) {

View File

@ -48,44 +48,34 @@ func (this *QsciLexerMakefile) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerMakefile constructs the type using only CGO pointers. // newQsciLexerMakefile constructs the type using only CGO pointers.
func newQsciLexerMakefile(h *C.QsciLexerMakefile, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerMakefile { func newQsciLexerMakefile(h *C.QsciLexerMakefile) *QsciLexerMakefile {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexer *C.QsciLexer = nil
C.QsciLexerMakefile_virtbase(h, &outptr_QsciLexer)
return &QsciLexerMakefile{h: h, return &QsciLexerMakefile{h: h,
QsciLexer: newQsciLexer(h_QsciLexer, h_QObject)} QsciLexer: newQsciLexer(outptr_QsciLexer)}
} }
// UnsafeNewQsciLexerMakefile constructs the type using only unsafe pointers. // UnsafeNewQsciLexerMakefile constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerMakefile(h unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerMakefile { func UnsafeNewQsciLexerMakefile(h unsafe.Pointer) *QsciLexerMakefile {
if h == nil { return newQsciLexerMakefile((*C.QsciLexerMakefile)(h))
return nil
}
return &QsciLexerMakefile{h: (*C.QsciLexerMakefile)(h),
QsciLexer: UnsafeNewQsciLexer(h_QsciLexer, h_QObject)}
} }
// NewQsciLexerMakefile constructs a new QsciLexerMakefile object. // NewQsciLexerMakefile constructs a new QsciLexerMakefile object.
func NewQsciLexerMakefile() *QsciLexerMakefile { func NewQsciLexerMakefile() *QsciLexerMakefile {
var outptr_QsciLexerMakefile *C.QsciLexerMakefile = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerMakefile_new(&outptr_QsciLexerMakefile, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerMakefile(C.QsciLexerMakefile_new())
ret := newQsciLexerMakefile(outptr_QsciLexerMakefile, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerMakefile2 constructs a new QsciLexerMakefile object. // NewQsciLexerMakefile2 constructs a new QsciLexerMakefile object.
func NewQsciLexerMakefile2(parent *qt.QObject) *QsciLexerMakefile { func NewQsciLexerMakefile2(parent *qt.QObject) *QsciLexerMakefile {
var outptr_QsciLexerMakefile *C.QsciLexerMakefile = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerMakefile_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerMakefile, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerMakefile(C.QsciLexerMakefile_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerMakefile(outptr_QsciLexerMakefile, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
@ -883,7 +873,7 @@ func miqt_exec_callback_QsciLexerMakefile_SetEditor(self *C.QsciLexerMakefile, c
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := newQsciScintilla(editor, nil, nil, nil, nil, nil, nil) slotval1 := newQsciScintilla(editor)
gofunc((&QsciLexerMakefile{h: self}).callVirtualBase_SetEditor, slotval1) gofunc((&QsciLexerMakefile{h: self}).callVirtualBase_SetEditor, slotval1)
@ -1127,7 +1117,7 @@ func miqt_exec_callback_QsciLexerMakefile_ReadProperties(self *C.QsciLexerMakefi
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))
@ -1164,7 +1154,7 @@ func miqt_exec_callback_QsciLexerMakefile_WriteProperties(self *C.QsciLexerMakef
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))

View File

@ -34,8 +34,9 @@ typedef struct QsciLexerMakefile QsciLexerMakefile;
typedef struct QsciScintilla QsciScintilla; typedef struct QsciScintilla QsciScintilla;
#endif #endif
void QsciLexerMakefile_new(QsciLexerMakefile** outptr_QsciLexerMakefile, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerMakefile* QsciLexerMakefile_new();
void QsciLexerMakefile_new2(QObject* parent, QsciLexerMakefile** outptr_QsciLexerMakefile, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerMakefile* QsciLexerMakefile_new2(QObject* parent);
void QsciLexerMakefile_virtbase(QsciLexerMakefile* src, QsciLexer** outptr_QsciLexer);
QMetaObject* QsciLexerMakefile_MetaObject(const QsciLexerMakefile* self); QMetaObject* QsciLexerMakefile_MetaObject(const QsciLexerMakefile* self);
void* QsciLexerMakefile_Metacast(QsciLexerMakefile* self, const char* param1); void* QsciLexerMakefile_Metacast(QsciLexerMakefile* self, const char* param1);
struct miqt_string QsciLexerMakefile_Tr(const char* s); struct miqt_string QsciLexerMakefile_Tr(const char* s);

View File

@ -839,18 +839,16 @@ public:
}; };
void QsciLexerMarkdown_new(QsciLexerMarkdown** outptr_QsciLexerMarkdown, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerMarkdown* QsciLexerMarkdown_new() {
MiqtVirtualQsciLexerMarkdown* ret = new MiqtVirtualQsciLexerMarkdown(); return new MiqtVirtualQsciLexerMarkdown();
*outptr_QsciLexerMarkdown = ret;
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerMarkdown_new2(QObject* parent, QsciLexerMarkdown** outptr_QsciLexerMarkdown, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerMarkdown* QsciLexerMarkdown_new2(QObject* parent) {
MiqtVirtualQsciLexerMarkdown* ret = new MiqtVirtualQsciLexerMarkdown(parent); return new MiqtVirtualQsciLexerMarkdown(parent);
*outptr_QsciLexerMarkdown = ret; }
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret); void QsciLexerMarkdown_virtbase(QsciLexerMarkdown* src, QsciLexer** outptr_QsciLexer) {
*outptr_QsciLexer = static_cast<QsciLexer*>(src);
} }
QMetaObject* QsciLexerMarkdown_MetaObject(const QsciLexerMarkdown* self) { QMetaObject* QsciLexerMarkdown_MetaObject(const QsciLexerMarkdown* self) {

View File

@ -63,44 +63,34 @@ func (this *QsciLexerMarkdown) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerMarkdown constructs the type using only CGO pointers. // newQsciLexerMarkdown constructs the type using only CGO pointers.
func newQsciLexerMarkdown(h *C.QsciLexerMarkdown, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerMarkdown { func newQsciLexerMarkdown(h *C.QsciLexerMarkdown) *QsciLexerMarkdown {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexer *C.QsciLexer = nil
C.QsciLexerMarkdown_virtbase(h, &outptr_QsciLexer)
return &QsciLexerMarkdown{h: h, return &QsciLexerMarkdown{h: h,
QsciLexer: newQsciLexer(h_QsciLexer, h_QObject)} QsciLexer: newQsciLexer(outptr_QsciLexer)}
} }
// UnsafeNewQsciLexerMarkdown constructs the type using only unsafe pointers. // UnsafeNewQsciLexerMarkdown constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerMarkdown(h unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerMarkdown { func UnsafeNewQsciLexerMarkdown(h unsafe.Pointer) *QsciLexerMarkdown {
if h == nil { return newQsciLexerMarkdown((*C.QsciLexerMarkdown)(h))
return nil
}
return &QsciLexerMarkdown{h: (*C.QsciLexerMarkdown)(h),
QsciLexer: UnsafeNewQsciLexer(h_QsciLexer, h_QObject)}
} }
// NewQsciLexerMarkdown constructs a new QsciLexerMarkdown object. // NewQsciLexerMarkdown constructs a new QsciLexerMarkdown object.
func NewQsciLexerMarkdown() *QsciLexerMarkdown { func NewQsciLexerMarkdown() *QsciLexerMarkdown {
var outptr_QsciLexerMarkdown *C.QsciLexerMarkdown = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerMarkdown_new(&outptr_QsciLexerMarkdown, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerMarkdown(C.QsciLexerMarkdown_new())
ret := newQsciLexerMarkdown(outptr_QsciLexerMarkdown, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerMarkdown2 constructs a new QsciLexerMarkdown object. // NewQsciLexerMarkdown2 constructs a new QsciLexerMarkdown object.
func NewQsciLexerMarkdown2(parent *qt.QObject) *QsciLexerMarkdown { func NewQsciLexerMarkdown2(parent *qt.QObject) *QsciLexerMarkdown {
var outptr_QsciLexerMarkdown *C.QsciLexerMarkdown = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerMarkdown_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerMarkdown, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerMarkdown(C.QsciLexerMarkdown_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerMarkdown(outptr_QsciLexerMarkdown, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
@ -889,7 +879,7 @@ func miqt_exec_callback_QsciLexerMarkdown_SetEditor(self *C.QsciLexerMarkdown, c
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := newQsciScintilla(editor, nil, nil, nil, nil, nil, nil) slotval1 := newQsciScintilla(editor)
gofunc((&QsciLexerMarkdown{h: self}).callVirtualBase_SetEditor, slotval1) gofunc((&QsciLexerMarkdown{h: self}).callVirtualBase_SetEditor, slotval1)
@ -1133,7 +1123,7 @@ func miqt_exec_callback_QsciLexerMarkdown_ReadProperties(self *C.QsciLexerMarkdo
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))
@ -1170,7 +1160,7 @@ func miqt_exec_callback_QsciLexerMarkdown_WriteProperties(self *C.QsciLexerMarkd
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))

View File

@ -34,8 +34,9 @@ typedef struct QsciLexerMarkdown QsciLexerMarkdown;
typedef struct QsciScintilla QsciScintilla; typedef struct QsciScintilla QsciScintilla;
#endif #endif
void QsciLexerMarkdown_new(QsciLexerMarkdown** outptr_QsciLexerMarkdown, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerMarkdown* QsciLexerMarkdown_new();
void QsciLexerMarkdown_new2(QObject* parent, QsciLexerMarkdown** outptr_QsciLexerMarkdown, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerMarkdown* QsciLexerMarkdown_new2(QObject* parent);
void QsciLexerMarkdown_virtbase(QsciLexerMarkdown* src, QsciLexer** outptr_QsciLexer);
QMetaObject* QsciLexerMarkdown_MetaObject(const QsciLexerMarkdown* self); QMetaObject* QsciLexerMarkdown_MetaObject(const QsciLexerMarkdown* self);
void* QsciLexerMarkdown_Metacast(QsciLexerMarkdown* self, const char* param1); void* QsciLexerMarkdown_Metacast(QsciLexerMarkdown* self, const char* param1);
struct miqt_string QsciLexerMarkdown_Tr(const char* s); struct miqt_string QsciLexerMarkdown_Tr(const char* s);

View File

@ -839,18 +839,16 @@ public:
}; };
void QsciLexerMatlab_new(QsciLexerMatlab** outptr_QsciLexerMatlab, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerMatlab* QsciLexerMatlab_new() {
MiqtVirtualQsciLexerMatlab* ret = new MiqtVirtualQsciLexerMatlab(); return new MiqtVirtualQsciLexerMatlab();
*outptr_QsciLexerMatlab = ret;
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerMatlab_new2(QObject* parent, QsciLexerMatlab** outptr_QsciLexerMatlab, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerMatlab* QsciLexerMatlab_new2(QObject* parent) {
MiqtVirtualQsciLexerMatlab* ret = new MiqtVirtualQsciLexerMatlab(parent); return new MiqtVirtualQsciLexerMatlab(parent);
*outptr_QsciLexerMatlab = ret; }
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret); void QsciLexerMatlab_virtbase(QsciLexerMatlab* src, QsciLexer** outptr_QsciLexer) {
*outptr_QsciLexer = static_cast<QsciLexer*>(src);
} }
QMetaObject* QsciLexerMatlab_MetaObject(const QsciLexerMatlab* self) { QMetaObject* QsciLexerMatlab_MetaObject(const QsciLexerMatlab* self) {

View File

@ -50,44 +50,34 @@ func (this *QsciLexerMatlab) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerMatlab constructs the type using only CGO pointers. // newQsciLexerMatlab constructs the type using only CGO pointers.
func newQsciLexerMatlab(h *C.QsciLexerMatlab, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerMatlab { func newQsciLexerMatlab(h *C.QsciLexerMatlab) *QsciLexerMatlab {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexer *C.QsciLexer = nil
C.QsciLexerMatlab_virtbase(h, &outptr_QsciLexer)
return &QsciLexerMatlab{h: h, return &QsciLexerMatlab{h: h,
QsciLexer: newQsciLexer(h_QsciLexer, h_QObject)} QsciLexer: newQsciLexer(outptr_QsciLexer)}
} }
// UnsafeNewQsciLexerMatlab constructs the type using only unsafe pointers. // UnsafeNewQsciLexerMatlab constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerMatlab(h unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerMatlab { func UnsafeNewQsciLexerMatlab(h unsafe.Pointer) *QsciLexerMatlab {
if h == nil { return newQsciLexerMatlab((*C.QsciLexerMatlab)(h))
return nil
}
return &QsciLexerMatlab{h: (*C.QsciLexerMatlab)(h),
QsciLexer: UnsafeNewQsciLexer(h_QsciLexer, h_QObject)}
} }
// NewQsciLexerMatlab constructs a new QsciLexerMatlab object. // NewQsciLexerMatlab constructs a new QsciLexerMatlab object.
func NewQsciLexerMatlab() *QsciLexerMatlab { func NewQsciLexerMatlab() *QsciLexerMatlab {
var outptr_QsciLexerMatlab *C.QsciLexerMatlab = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerMatlab_new(&outptr_QsciLexerMatlab, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerMatlab(C.QsciLexerMatlab_new())
ret := newQsciLexerMatlab(outptr_QsciLexerMatlab, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerMatlab2 constructs a new QsciLexerMatlab object. // NewQsciLexerMatlab2 constructs a new QsciLexerMatlab object.
func NewQsciLexerMatlab2(parent *qt.QObject) *QsciLexerMatlab { func NewQsciLexerMatlab2(parent *qt.QObject) *QsciLexerMatlab {
var outptr_QsciLexerMatlab *C.QsciLexerMatlab = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerMatlab_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerMatlab, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerMatlab(C.QsciLexerMatlab_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerMatlab(outptr_QsciLexerMatlab, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
@ -875,7 +865,7 @@ func miqt_exec_callback_QsciLexerMatlab_SetEditor(self *C.QsciLexerMatlab, cb C.
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := newQsciScintilla(editor, nil, nil, nil, nil, nil, nil) slotval1 := newQsciScintilla(editor)
gofunc((&QsciLexerMatlab{h: self}).callVirtualBase_SetEditor, slotval1) gofunc((&QsciLexerMatlab{h: self}).callVirtualBase_SetEditor, slotval1)
@ -1119,7 +1109,7 @@ func miqt_exec_callback_QsciLexerMatlab_ReadProperties(self *C.QsciLexerMatlab,
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))
@ -1156,7 +1146,7 @@ func miqt_exec_callback_QsciLexerMatlab_WriteProperties(self *C.QsciLexerMatlab,
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))

View File

@ -34,8 +34,9 @@ typedef struct QsciLexerMatlab QsciLexerMatlab;
typedef struct QsciScintilla QsciScintilla; typedef struct QsciScintilla QsciScintilla;
#endif #endif
void QsciLexerMatlab_new(QsciLexerMatlab** outptr_QsciLexerMatlab, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerMatlab* QsciLexerMatlab_new();
void QsciLexerMatlab_new2(QObject* parent, QsciLexerMatlab** outptr_QsciLexerMatlab, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerMatlab* QsciLexerMatlab_new2(QObject* parent);
void QsciLexerMatlab_virtbase(QsciLexerMatlab* src, QsciLexer** outptr_QsciLexer);
QMetaObject* QsciLexerMatlab_MetaObject(const QsciLexerMatlab* self); QMetaObject* QsciLexerMatlab_MetaObject(const QsciLexerMatlab* self);
void* QsciLexerMatlab_Metacast(QsciLexerMatlab* self, const char* param1); void* QsciLexerMatlab_Metacast(QsciLexerMatlab* self, const char* param1);
struct miqt_string QsciLexerMatlab_Tr(const char* s); struct miqt_string QsciLexerMatlab_Tr(const char* s);

View File

@ -7,20 +7,16 @@
#include "gen_qscilexeroctave.h" #include "gen_qscilexeroctave.h"
#include "_cgo_export.h" #include "_cgo_export.h"
void QsciLexerOctave_new(QsciLexerOctave** outptr_QsciLexerOctave, QsciLexerMatlab** outptr_QsciLexerMatlab, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerOctave* QsciLexerOctave_new() {
QsciLexerOctave* ret = new QsciLexerOctave(); return new QsciLexerOctave();
*outptr_QsciLexerOctave = ret;
*outptr_QsciLexerMatlab = static_cast<QsciLexerMatlab*>(ret);
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerOctave_new2(QObject* parent, QsciLexerOctave** outptr_QsciLexerOctave, QsciLexerMatlab** outptr_QsciLexerMatlab, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerOctave* QsciLexerOctave_new2(QObject* parent) {
QsciLexerOctave* ret = new QsciLexerOctave(parent); return new QsciLexerOctave(parent);
*outptr_QsciLexerOctave = ret; }
*outptr_QsciLexerMatlab = static_cast<QsciLexerMatlab*>(ret);
*outptr_QsciLexer = static_cast<QsciLexer*>(ret); void QsciLexerOctave_virtbase(QsciLexerOctave* src, QsciLexerMatlab** outptr_QsciLexerMatlab) {
*outptr_QObject = static_cast<QObject*>(ret); *outptr_QsciLexerMatlab = static_cast<QsciLexerMatlab*>(src);
} }
QMetaObject* QsciLexerOctave_MetaObject(const QsciLexerOctave* self) { QMetaObject* QsciLexerOctave_MetaObject(const QsciLexerOctave* self) {

View File

@ -35,46 +35,34 @@ func (this *QsciLexerOctave) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerOctave constructs the type using only CGO pointers. // newQsciLexerOctave constructs the type using only CGO pointers.
func newQsciLexerOctave(h *C.QsciLexerOctave, h_QsciLexerMatlab *C.QsciLexerMatlab, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerOctave { func newQsciLexerOctave(h *C.QsciLexerOctave) *QsciLexerOctave {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexerMatlab *C.QsciLexerMatlab = nil
C.QsciLexerOctave_virtbase(h, &outptr_QsciLexerMatlab)
return &QsciLexerOctave{h: h, return &QsciLexerOctave{h: h,
QsciLexerMatlab: newQsciLexerMatlab(h_QsciLexerMatlab, h_QsciLexer, h_QObject)} QsciLexerMatlab: newQsciLexerMatlab(outptr_QsciLexerMatlab)}
} }
// UnsafeNewQsciLexerOctave constructs the type using only unsafe pointers. // UnsafeNewQsciLexerOctave constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerOctave(h unsafe.Pointer, h_QsciLexerMatlab unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerOctave { func UnsafeNewQsciLexerOctave(h unsafe.Pointer) *QsciLexerOctave {
if h == nil { return newQsciLexerOctave((*C.QsciLexerOctave)(h))
return nil
}
return &QsciLexerOctave{h: (*C.QsciLexerOctave)(h),
QsciLexerMatlab: UnsafeNewQsciLexerMatlab(h_QsciLexerMatlab, h_QsciLexer, h_QObject)}
} }
// NewQsciLexerOctave constructs a new QsciLexerOctave object. // NewQsciLexerOctave constructs a new QsciLexerOctave object.
func NewQsciLexerOctave() *QsciLexerOctave { func NewQsciLexerOctave() *QsciLexerOctave {
var outptr_QsciLexerOctave *C.QsciLexerOctave = nil
var outptr_QsciLexerMatlab *C.QsciLexerMatlab = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerOctave_new(&outptr_QsciLexerOctave, &outptr_QsciLexerMatlab, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerOctave(C.QsciLexerOctave_new())
ret := newQsciLexerOctave(outptr_QsciLexerOctave, outptr_QsciLexerMatlab, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerOctave2 constructs a new QsciLexerOctave object. // NewQsciLexerOctave2 constructs a new QsciLexerOctave object.
func NewQsciLexerOctave2(parent *qt.QObject) *QsciLexerOctave { func NewQsciLexerOctave2(parent *qt.QObject) *QsciLexerOctave {
var outptr_QsciLexerOctave *C.QsciLexerOctave = nil
var outptr_QsciLexerMatlab *C.QsciLexerMatlab = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerOctave_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerOctave, &outptr_QsciLexerMatlab, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerOctave(C.QsciLexerOctave_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerOctave(outptr_QsciLexerOctave, outptr_QsciLexerMatlab, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }

View File

@ -28,8 +28,9 @@ typedef struct QsciLexerMatlab QsciLexerMatlab;
typedef struct QsciLexerOctave QsciLexerOctave; typedef struct QsciLexerOctave QsciLexerOctave;
#endif #endif
void QsciLexerOctave_new(QsciLexerOctave** outptr_QsciLexerOctave, QsciLexerMatlab** outptr_QsciLexerMatlab, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerOctave* QsciLexerOctave_new();
void QsciLexerOctave_new2(QObject* parent, QsciLexerOctave** outptr_QsciLexerOctave, QsciLexerMatlab** outptr_QsciLexerMatlab, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerOctave* QsciLexerOctave_new2(QObject* parent);
void QsciLexerOctave_virtbase(QsciLexerOctave* src, QsciLexerMatlab** outptr_QsciLexerMatlab);
QMetaObject* QsciLexerOctave_MetaObject(const QsciLexerOctave* self); QMetaObject* QsciLexerOctave_MetaObject(const QsciLexerOctave* self);
void* QsciLexerOctave_Metacast(QsciLexerOctave* self, const char* param1); void* QsciLexerOctave_Metacast(QsciLexerOctave* self, const char* param1);
struct miqt_string QsciLexerOctave_Tr(const char* s); struct miqt_string QsciLexerOctave_Tr(const char* s);

View File

@ -911,18 +911,16 @@ public:
}; };
void QsciLexerPascal_new(QsciLexerPascal** outptr_QsciLexerPascal, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerPascal* QsciLexerPascal_new() {
MiqtVirtualQsciLexerPascal* ret = new MiqtVirtualQsciLexerPascal(); return new MiqtVirtualQsciLexerPascal();
*outptr_QsciLexerPascal = ret;
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerPascal_new2(QObject* parent, QsciLexerPascal** outptr_QsciLexerPascal, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerPascal* QsciLexerPascal_new2(QObject* parent) {
MiqtVirtualQsciLexerPascal* ret = new MiqtVirtualQsciLexerPascal(parent); return new MiqtVirtualQsciLexerPascal(parent);
*outptr_QsciLexerPascal = ret; }
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret); void QsciLexerPascal_virtbase(QsciLexerPascal* src, QsciLexer** outptr_QsciLexer) {
*outptr_QsciLexer = static_cast<QsciLexer*>(src);
} }
QMetaObject* QsciLexerPascal_MetaObject(const QsciLexerPascal* self) { QMetaObject* QsciLexerPascal_MetaObject(const QsciLexerPascal* self) {

View File

@ -56,44 +56,34 @@ func (this *QsciLexerPascal) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerPascal constructs the type using only CGO pointers. // newQsciLexerPascal constructs the type using only CGO pointers.
func newQsciLexerPascal(h *C.QsciLexerPascal, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerPascal { func newQsciLexerPascal(h *C.QsciLexerPascal) *QsciLexerPascal {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexer *C.QsciLexer = nil
C.QsciLexerPascal_virtbase(h, &outptr_QsciLexer)
return &QsciLexerPascal{h: h, return &QsciLexerPascal{h: h,
QsciLexer: newQsciLexer(h_QsciLexer, h_QObject)} QsciLexer: newQsciLexer(outptr_QsciLexer)}
} }
// UnsafeNewQsciLexerPascal constructs the type using only unsafe pointers. // UnsafeNewQsciLexerPascal constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerPascal(h unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerPascal { func UnsafeNewQsciLexerPascal(h unsafe.Pointer) *QsciLexerPascal {
if h == nil { return newQsciLexerPascal((*C.QsciLexerPascal)(h))
return nil
}
return &QsciLexerPascal{h: (*C.QsciLexerPascal)(h),
QsciLexer: UnsafeNewQsciLexer(h_QsciLexer, h_QObject)}
} }
// NewQsciLexerPascal constructs a new QsciLexerPascal object. // NewQsciLexerPascal constructs a new QsciLexerPascal object.
func NewQsciLexerPascal() *QsciLexerPascal { func NewQsciLexerPascal() *QsciLexerPascal {
var outptr_QsciLexerPascal *C.QsciLexerPascal = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerPascal_new(&outptr_QsciLexerPascal, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerPascal(C.QsciLexerPascal_new())
ret := newQsciLexerPascal(outptr_QsciLexerPascal, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerPascal2 constructs a new QsciLexerPascal object. // NewQsciLexerPascal2 constructs a new QsciLexerPascal object.
func NewQsciLexerPascal2(parent *qt.QObject) *QsciLexerPascal { func NewQsciLexerPascal2(parent *qt.QObject) *QsciLexerPascal {
var outptr_QsciLexerPascal *C.QsciLexerPascal = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerPascal_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerPascal, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerPascal(C.QsciLexerPascal_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerPascal(outptr_QsciLexerPascal, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
@ -1052,7 +1042,7 @@ func miqt_exec_callback_QsciLexerPascal_SetEditor(self *C.QsciLexerPascal, cb C.
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := newQsciScintilla(editor, nil, nil, nil, nil, nil, nil) slotval1 := newQsciScintilla(editor)
gofunc((&QsciLexerPascal{h: self}).callVirtualBase_SetEditor, slotval1) gofunc((&QsciLexerPascal{h: self}).callVirtualBase_SetEditor, slotval1)
@ -1296,7 +1286,7 @@ func miqt_exec_callback_QsciLexerPascal_ReadProperties(self *C.QsciLexerPascal,
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))
@ -1333,7 +1323,7 @@ func miqt_exec_callback_QsciLexerPascal_WriteProperties(self *C.QsciLexerPascal,
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))

View File

@ -34,8 +34,9 @@ typedef struct QsciLexerPascal QsciLexerPascal;
typedef struct QsciScintilla QsciScintilla; typedef struct QsciScintilla QsciScintilla;
#endif #endif
void QsciLexerPascal_new(QsciLexerPascal** outptr_QsciLexerPascal, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerPascal* QsciLexerPascal_new();
void QsciLexerPascal_new2(QObject* parent, QsciLexerPascal** outptr_QsciLexerPascal, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerPascal* QsciLexerPascal_new2(QObject* parent);
void QsciLexerPascal_virtbase(QsciLexerPascal* src, QsciLexer** outptr_QsciLexer);
QMetaObject* QsciLexerPascal_MetaObject(const QsciLexerPascal* self); QMetaObject* QsciLexerPascal_MetaObject(const QsciLexerPascal* self);
void* QsciLexerPascal_Metacast(QsciLexerPascal* self, const char* param1); void* QsciLexerPascal_Metacast(QsciLexerPascal* self, const char* param1);
struct miqt_string QsciLexerPascal_Tr(const char* s); struct miqt_string QsciLexerPascal_Tr(const char* s);

View File

@ -887,18 +887,16 @@ public:
}; };
void QsciLexerPerl_new(QsciLexerPerl** outptr_QsciLexerPerl, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerPerl* QsciLexerPerl_new() {
MiqtVirtualQsciLexerPerl* ret = new MiqtVirtualQsciLexerPerl(); return new MiqtVirtualQsciLexerPerl();
*outptr_QsciLexerPerl = ret;
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerPerl_new2(QObject* parent, QsciLexerPerl** outptr_QsciLexerPerl, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerPerl* QsciLexerPerl_new2(QObject* parent) {
MiqtVirtualQsciLexerPerl* ret = new MiqtVirtualQsciLexerPerl(parent); return new MiqtVirtualQsciLexerPerl(parent);
*outptr_QsciLexerPerl = ret; }
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret); void QsciLexerPerl_virtbase(QsciLexerPerl* src, QsciLexer** outptr_QsciLexer) {
*outptr_QsciLexer = static_cast<QsciLexer*>(src);
} }
QMetaObject* QsciLexerPerl_MetaObject(const QsciLexerPerl* self) { QMetaObject* QsciLexerPerl_MetaObject(const QsciLexerPerl* self) {

View File

@ -82,44 +82,34 @@ func (this *QsciLexerPerl) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerPerl constructs the type using only CGO pointers. // newQsciLexerPerl constructs the type using only CGO pointers.
func newQsciLexerPerl(h *C.QsciLexerPerl, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerPerl { func newQsciLexerPerl(h *C.QsciLexerPerl) *QsciLexerPerl {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexer *C.QsciLexer = nil
C.QsciLexerPerl_virtbase(h, &outptr_QsciLexer)
return &QsciLexerPerl{h: h, return &QsciLexerPerl{h: h,
QsciLexer: newQsciLexer(h_QsciLexer, h_QObject)} QsciLexer: newQsciLexer(outptr_QsciLexer)}
} }
// UnsafeNewQsciLexerPerl constructs the type using only unsafe pointers. // UnsafeNewQsciLexerPerl constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerPerl(h unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerPerl { func UnsafeNewQsciLexerPerl(h unsafe.Pointer) *QsciLexerPerl {
if h == nil { return newQsciLexerPerl((*C.QsciLexerPerl)(h))
return nil
}
return &QsciLexerPerl{h: (*C.QsciLexerPerl)(h),
QsciLexer: UnsafeNewQsciLexer(h_QsciLexer, h_QObject)}
} }
// NewQsciLexerPerl constructs a new QsciLexerPerl object. // NewQsciLexerPerl constructs a new QsciLexerPerl object.
func NewQsciLexerPerl() *QsciLexerPerl { func NewQsciLexerPerl() *QsciLexerPerl {
var outptr_QsciLexerPerl *C.QsciLexerPerl = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerPerl_new(&outptr_QsciLexerPerl, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerPerl(C.QsciLexerPerl_new())
ret := newQsciLexerPerl(outptr_QsciLexerPerl, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerPerl2 constructs a new QsciLexerPerl object. // NewQsciLexerPerl2 constructs a new QsciLexerPerl object.
func NewQsciLexerPerl2(parent *qt.QObject) *QsciLexerPerl { func NewQsciLexerPerl2(parent *qt.QObject) *QsciLexerPerl {
var outptr_QsciLexerPerl *C.QsciLexerPerl = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerPerl_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerPerl, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerPerl(C.QsciLexerPerl_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerPerl(outptr_QsciLexerPerl, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
@ -1055,7 +1045,7 @@ func miqt_exec_callback_QsciLexerPerl_SetEditor(self *C.QsciLexerPerl, cb C.intp
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := newQsciScintilla(editor, nil, nil, nil, nil, nil, nil) slotval1 := newQsciScintilla(editor)
gofunc((&QsciLexerPerl{h: self}).callVirtualBase_SetEditor, slotval1) gofunc((&QsciLexerPerl{h: self}).callVirtualBase_SetEditor, slotval1)
@ -1299,7 +1289,7 @@ func miqt_exec_callback_QsciLexerPerl_ReadProperties(self *C.QsciLexerPerl, cb C
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))
@ -1336,7 +1326,7 @@ func miqt_exec_callback_QsciLexerPerl_WriteProperties(self *C.QsciLexerPerl, cb
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))

View File

@ -34,8 +34,9 @@ typedef struct QsciLexerPerl QsciLexerPerl;
typedef struct QsciScintilla QsciScintilla; typedef struct QsciScintilla QsciScintilla;
#endif #endif
void QsciLexerPerl_new(QsciLexerPerl** outptr_QsciLexerPerl, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerPerl* QsciLexerPerl_new();
void QsciLexerPerl_new2(QObject* parent, QsciLexerPerl** outptr_QsciLexerPerl, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerPerl* QsciLexerPerl_new2(QObject* parent);
void QsciLexerPerl_virtbase(QsciLexerPerl* src, QsciLexer** outptr_QsciLexer);
QMetaObject* QsciLexerPerl_MetaObject(const QsciLexerPerl* self); QMetaObject* QsciLexerPerl_MetaObject(const QsciLexerPerl* self);
void* QsciLexerPerl_Metacast(QsciLexerPerl* self, const char* param1); void* QsciLexerPerl_Metacast(QsciLexerPerl* self, const char* param1);
struct miqt_string QsciLexerPerl_Tr(const char* s); struct miqt_string QsciLexerPerl_Tr(const char* s);

View File

@ -887,18 +887,16 @@ public:
}; };
void QsciLexerPO_new(QsciLexerPO** outptr_QsciLexerPO, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerPO* QsciLexerPO_new() {
MiqtVirtualQsciLexerPO* ret = new MiqtVirtualQsciLexerPO(); return new MiqtVirtualQsciLexerPO();
*outptr_QsciLexerPO = ret;
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerPO_new2(QObject* parent, QsciLexerPO** outptr_QsciLexerPO, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerPO* QsciLexerPO_new2(QObject* parent) {
MiqtVirtualQsciLexerPO* ret = new MiqtVirtualQsciLexerPO(parent); return new MiqtVirtualQsciLexerPO(parent);
*outptr_QsciLexerPO = ret; }
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret); void QsciLexerPO_virtbase(QsciLexerPO* src, QsciLexer** outptr_QsciLexer) {
*outptr_QsciLexer = static_cast<QsciLexer*>(src);
} }
QMetaObject* QsciLexerPO_MetaObject(const QsciLexerPO* self) { QMetaObject* QsciLexerPO_MetaObject(const QsciLexerPO* self) {

View File

@ -56,44 +56,34 @@ func (this *QsciLexerPO) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerPO constructs the type using only CGO pointers. // newQsciLexerPO constructs the type using only CGO pointers.
func newQsciLexerPO(h *C.QsciLexerPO, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerPO { func newQsciLexerPO(h *C.QsciLexerPO) *QsciLexerPO {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexer *C.QsciLexer = nil
C.QsciLexerPO_virtbase(h, &outptr_QsciLexer)
return &QsciLexerPO{h: h, return &QsciLexerPO{h: h,
QsciLexer: newQsciLexer(h_QsciLexer, h_QObject)} QsciLexer: newQsciLexer(outptr_QsciLexer)}
} }
// UnsafeNewQsciLexerPO constructs the type using only unsafe pointers. // UnsafeNewQsciLexerPO constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerPO(h unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerPO { func UnsafeNewQsciLexerPO(h unsafe.Pointer) *QsciLexerPO {
if h == nil { return newQsciLexerPO((*C.QsciLexerPO)(h))
return nil
}
return &QsciLexerPO{h: (*C.QsciLexerPO)(h),
QsciLexer: UnsafeNewQsciLexer(h_QsciLexer, h_QObject)}
} }
// NewQsciLexerPO constructs a new QsciLexerPO object. // NewQsciLexerPO constructs a new QsciLexerPO object.
func NewQsciLexerPO() *QsciLexerPO { func NewQsciLexerPO() *QsciLexerPO {
var outptr_QsciLexerPO *C.QsciLexerPO = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerPO_new(&outptr_QsciLexerPO, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerPO(C.QsciLexerPO_new())
ret := newQsciLexerPO(outptr_QsciLexerPO, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerPO2 constructs a new QsciLexerPO object. // NewQsciLexerPO2 constructs a new QsciLexerPO object.
func NewQsciLexerPO2(parent *qt.QObject) *QsciLexerPO { func NewQsciLexerPO2(parent *qt.QObject) *QsciLexerPO {
var outptr_QsciLexerPO *C.QsciLexerPO = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerPO_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerPO, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerPO(C.QsciLexerPO_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerPO(outptr_QsciLexerPO, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
@ -948,7 +938,7 @@ func miqt_exec_callback_QsciLexerPO_SetEditor(self *C.QsciLexerPO, cb C.intptr_t
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := newQsciScintilla(editor, nil, nil, nil, nil, nil, nil) slotval1 := newQsciScintilla(editor)
gofunc((&QsciLexerPO{h: self}).callVirtualBase_SetEditor, slotval1) gofunc((&QsciLexerPO{h: self}).callVirtualBase_SetEditor, slotval1)
@ -1192,7 +1182,7 @@ func miqt_exec_callback_QsciLexerPO_ReadProperties(self *C.QsciLexerPO, cb C.int
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))
@ -1229,7 +1219,7 @@ func miqt_exec_callback_QsciLexerPO_WriteProperties(self *C.QsciLexerPO, cb C.in
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))

View File

@ -34,8 +34,9 @@ typedef struct QsciLexerPO QsciLexerPO;
typedef struct QsciScintilla QsciScintilla; typedef struct QsciScintilla QsciScintilla;
#endif #endif
void QsciLexerPO_new(QsciLexerPO** outptr_QsciLexerPO, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerPO* QsciLexerPO_new();
void QsciLexerPO_new2(QObject* parent, QsciLexerPO** outptr_QsciLexerPO, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject); QsciLexerPO* QsciLexerPO_new2(QObject* parent);
void QsciLexerPO_virtbase(QsciLexerPO* src, QsciLexer** outptr_QsciLexer);
QMetaObject* QsciLexerPO_MetaObject(const QsciLexerPO* self); QMetaObject* QsciLexerPO_MetaObject(const QsciLexerPO* self);
void* QsciLexerPO_Metacast(QsciLexerPO* self, const char* param1); void* QsciLexerPO_Metacast(QsciLexerPO* self, const char* param1);
struct miqt_string QsciLexerPO_Tr(const char* s); struct miqt_string QsciLexerPO_Tr(const char* s);

View File

@ -935,18 +935,16 @@ public:
}; };
void QsciLexerPostScript_new(QsciLexerPostScript** outptr_QsciLexerPostScript, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerPostScript* QsciLexerPostScript_new() {
MiqtVirtualQsciLexerPostScript* ret = new MiqtVirtualQsciLexerPostScript(); return new MiqtVirtualQsciLexerPostScript();
*outptr_QsciLexerPostScript = ret;
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret);
} }
void QsciLexerPostScript_new2(QObject* parent, QsciLexerPostScript** outptr_QsciLexerPostScript, QsciLexer** outptr_QsciLexer, QObject** outptr_QObject) { QsciLexerPostScript* QsciLexerPostScript_new2(QObject* parent) {
MiqtVirtualQsciLexerPostScript* ret = new MiqtVirtualQsciLexerPostScript(parent); return new MiqtVirtualQsciLexerPostScript(parent);
*outptr_QsciLexerPostScript = ret; }
*outptr_QsciLexer = static_cast<QsciLexer*>(ret);
*outptr_QObject = static_cast<QObject*>(ret); void QsciLexerPostScript_virtbase(QsciLexerPostScript* src, QsciLexer** outptr_QsciLexer) {
*outptr_QsciLexer = static_cast<QsciLexer*>(src);
} }
QMetaObject* QsciLexerPostScript_MetaObject(const QsciLexerPostScript* self) { QMetaObject* QsciLexerPostScript_MetaObject(const QsciLexerPostScript* self) {

View File

@ -57,44 +57,34 @@ func (this *QsciLexerPostScript) UnsafePointer() unsafe.Pointer {
} }
// newQsciLexerPostScript constructs the type using only CGO pointers. // newQsciLexerPostScript constructs the type using only CGO pointers.
func newQsciLexerPostScript(h *C.QsciLexerPostScript, h_QsciLexer *C.QsciLexer, h_QObject *C.QObject) *QsciLexerPostScript { func newQsciLexerPostScript(h *C.QsciLexerPostScript) *QsciLexerPostScript {
if h == nil { if h == nil {
return nil return nil
} }
var outptr_QsciLexer *C.QsciLexer = nil
C.QsciLexerPostScript_virtbase(h, &outptr_QsciLexer)
return &QsciLexerPostScript{h: h, return &QsciLexerPostScript{h: h,
QsciLexer: newQsciLexer(h_QsciLexer, h_QObject)} QsciLexer: newQsciLexer(outptr_QsciLexer)}
} }
// UnsafeNewQsciLexerPostScript constructs the type using only unsafe pointers. // UnsafeNewQsciLexerPostScript constructs the type using only unsafe pointers.
func UnsafeNewQsciLexerPostScript(h unsafe.Pointer, h_QsciLexer unsafe.Pointer, h_QObject unsafe.Pointer) *QsciLexerPostScript { func UnsafeNewQsciLexerPostScript(h unsafe.Pointer) *QsciLexerPostScript {
if h == nil { return newQsciLexerPostScript((*C.QsciLexerPostScript)(h))
return nil
}
return &QsciLexerPostScript{h: (*C.QsciLexerPostScript)(h),
QsciLexer: UnsafeNewQsciLexer(h_QsciLexer, h_QObject)}
} }
// NewQsciLexerPostScript constructs a new QsciLexerPostScript object. // NewQsciLexerPostScript constructs a new QsciLexerPostScript object.
func NewQsciLexerPostScript() *QsciLexerPostScript { func NewQsciLexerPostScript() *QsciLexerPostScript {
var outptr_QsciLexerPostScript *C.QsciLexerPostScript = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerPostScript_new(&outptr_QsciLexerPostScript, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerPostScript(C.QsciLexerPostScript_new())
ret := newQsciLexerPostScript(outptr_QsciLexerPostScript, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
// NewQsciLexerPostScript2 constructs a new QsciLexerPostScript object. // NewQsciLexerPostScript2 constructs a new QsciLexerPostScript object.
func NewQsciLexerPostScript2(parent *qt.QObject) *QsciLexerPostScript { func NewQsciLexerPostScript2(parent *qt.QObject) *QsciLexerPostScript {
var outptr_QsciLexerPostScript *C.QsciLexerPostScript = nil
var outptr_QsciLexer *C.QsciLexer = nil
var outptr_QObject *C.QObject = nil
C.QsciLexerPostScript_new2((*C.QObject)(parent.UnsafePointer()), &outptr_QsciLexerPostScript, &outptr_QsciLexer, &outptr_QObject) ret := newQsciLexerPostScript(C.QsciLexerPostScript_new2((*C.QObject)(parent.UnsafePointer())))
ret := newQsciLexerPostScript(outptr_QsciLexerPostScript, outptr_QsciLexer, outptr_QObject)
ret.isSubclass = true ret.isSubclass = true
return ret return ret
} }
@ -1032,7 +1022,7 @@ func miqt_exec_callback_QsciLexerPostScript_SetEditor(self *C.QsciLexerPostScrip
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := newQsciScintilla(editor, nil, nil, nil, nil, nil, nil) slotval1 := newQsciScintilla(editor)
gofunc((&QsciLexerPostScript{h: self}).callVirtualBase_SetEditor, slotval1) gofunc((&QsciLexerPostScript{h: self}).callVirtualBase_SetEditor, slotval1)
@ -1276,7 +1266,7 @@ func miqt_exec_callback_QsciLexerPostScript_ReadProperties(self *C.QsciLexerPost
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))
@ -1313,7 +1303,7 @@ func miqt_exec_callback_QsciLexerPostScript_WriteProperties(self *C.QsciLexerPos
} }
// Convert all CABI parameters to Go parameters // Convert all CABI parameters to Go parameters
slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs), nil) slotval1 := qt.UnsafeNewQSettings(unsafe.Pointer(qs))
var prefix_ms C.struct_miqt_string = prefix var prefix_ms C.struct_miqt_string = prefix
prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len))) prefix_ret := C.GoStringN(prefix_ms.data, C.int(int64(prefix_ms.len)))

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