miqt/qt6/gen_qdrawutil.cpp

34 lines
718 B
C++
Raw Normal View History

2024-10-20 05:21:03 +00:00
#include <QTileRules>
#include <qdrawutil.h>
#include "gen_qdrawutil.h"
#ifndef _Bool
#define _Bool bool
#endif
2024-10-20 05:21:03 +00:00
#include "_cgo_export.h"
2024-12-07 04:15:57 +00:00
QTileRules* QTileRules_new(int horizontalRule, int verticalRule) {
return new QTileRules(static_cast<Qt::TileRule>(horizontalRule), static_cast<Qt::TileRule>(verticalRule));
2024-10-20 05:21:03 +00:00
}
2024-12-07 04:15:57 +00:00
QTileRules* QTileRules_new2() {
return new QTileRules();
2024-10-20 05:21:03 +00:00
}
2024-12-07 04:15:57 +00:00
QTileRules* QTileRules_new3(QTileRules* param1) {
return new QTileRules(*param1);
2024-10-20 05:21:03 +00:00
}
2024-12-07 04:15:57 +00:00
QTileRules* QTileRules_new4(int rule) {
return new QTileRules(static_cast<Qt::TileRule>(rule));
2024-10-20 05:21:03 +00:00
}
2024-11-19 06:29:06 +00:00
void QTileRules_Delete(QTileRules* self, bool isSubclass) {
if (isSubclass) {
delete dynamic_cast<QTileRules*>( self );
} else {
delete self;
}
2024-10-20 05:21:03 +00:00
}