2024-10-20 05:21:03 +00:00
|
|
|
#include <QBindingStatus>
|
|
|
|
#include <QBindingStorage>
|
|
|
|
#include <QUntypedPropertyData>
|
|
|
|
#include <qbindingstorage.h>
|
|
|
|
#include "gen_qbindingstorage.h"
|
2024-12-11 06:55:47 +00:00
|
|
|
|
|
|
|
#ifndef _Bool
|
|
|
|
#define _Bool bool
|
|
|
|
#endif
|
2024-10-20 05:21:03 +00:00
|
|
|
#include "_cgo_export.h"
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QBindingStatus_Delete(QBindingStatus* self, bool isSubclass) {
|
|
|
|
if (isSubclass) {
|
|
|
|
delete dynamic_cast<QBindingStatus*>( self );
|
|
|
|
} else {
|
|
|
|
delete self;
|
|
|
|
}
|
2024-10-20 05:21:03 +00:00
|
|
|
}
|
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QBindingStorage* QBindingStorage_new() {
|
|
|
|
return new QBindingStorage();
|
2024-10-20 05:21:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool QBindingStorage_IsEmpty(QBindingStorage* self) {
|
|
|
|
return self->isEmpty();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QBindingStorage_IsValid(const QBindingStorage* self) {
|
|
|
|
return self->isValid();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QBindingStorage_RegisterDependency(const QBindingStorage* self, QUntypedPropertyData* data) {
|
|
|
|
self->registerDependency(data);
|
|
|
|
}
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QBindingStorage_Delete(QBindingStorage* self, bool isSubclass) {
|
|
|
|
if (isSubclass) {
|
|
|
|
delete dynamic_cast<QBindingStorage*>( self );
|
|
|
|
} else {
|
|
|
|
delete self;
|
|
|
|
}
|
2024-10-20 05:21:03 +00:00
|
|
|
}
|
|
|
|
|