mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 00:48:38 +00:00
44 lines
929 B
C++
44 lines
929 B
C++
#include <QBindingStatus>
|
|
#include <QBindingStorage>
|
|
#include <QUntypedPropertyData>
|
|
#include <qbindingstorage.h>
|
|
#include "gen_qbindingstorage.h"
|
|
|
|
#ifndef _Bool
|
|
#define _Bool bool
|
|
#endif
|
|
#include "_cgo_export.h"
|
|
|
|
void QBindingStatus_Delete(QBindingStatus* self, bool isSubclass) {
|
|
if (isSubclass) {
|
|
delete dynamic_cast<QBindingStatus*>( self );
|
|
} else {
|
|
delete self;
|
|
}
|
|
}
|
|
|
|
QBindingStorage* QBindingStorage_new() {
|
|
return new QBindingStorage();
|
|
}
|
|
|
|
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);
|
|
}
|
|
|
|
void QBindingStorage_Delete(QBindingStorage* self, bool isSubclass) {
|
|
if (isSubclass) {
|
|
delete dynamic_cast<QBindingStorage*>( self );
|
|
} else {
|
|
delete self;
|
|
}
|
|
}
|
|
|