mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
34 lines
718 B
C++
34 lines
718 B
C++
#include <QTileRules>
|
|
#include <qdrawutil.h>
|
|
#include "gen_qdrawutil.h"
|
|
|
|
#ifndef _Bool
|
|
#define _Bool bool
|
|
#endif
|
|
#include "_cgo_export.h"
|
|
|
|
QTileRules* QTileRules_new(int horizontalRule, int verticalRule) {
|
|
return new QTileRules(static_cast<Qt::TileRule>(horizontalRule), static_cast<Qt::TileRule>(verticalRule));
|
|
}
|
|
|
|
QTileRules* QTileRules_new2() {
|
|
return new QTileRules();
|
|
}
|
|
|
|
QTileRules* QTileRules_new3(QTileRules* param1) {
|
|
return new QTileRules(*param1);
|
|
}
|
|
|
|
QTileRules* QTileRules_new4(int rule) {
|
|
return new QTileRules(static_cast<Qt::TileRule>(rule));
|
|
}
|
|
|
|
void QTileRules_Delete(QTileRules* self, bool isSubclass) {
|
|
if (isSubclass) {
|
|
delete dynamic_cast<QTileRules*>( self );
|
|
} else {
|
|
delete self;
|
|
}
|
|
}
|
|
|