#include #include #include #include #include #include #include #include "gen_qanimationgroup.h" #include "_cgo_export.h" QMetaObject* QAnimationGroup_MetaObject(const QAnimationGroup* self) { return (QMetaObject*) self->metaObject(); } void* QAnimationGroup_Metacast(QAnimationGroup* self, const char* param1) { return self->qt_metacast(param1); } struct miqt_string* QAnimationGroup_Tr(const char* s) { QString _ret = QAnimationGroup::tr(s); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); return miqt_strdup(_b.data(), _b.length()); } struct miqt_string* QAnimationGroup_TrUtf8(const char* s) { QString _ret = QAnimationGroup::trUtf8(s); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); return miqt_strdup(_b.data(), _b.length()); } QAbstractAnimation* QAnimationGroup_AnimationAt(const QAnimationGroup* self, int index) { return self->animationAt(static_cast(index)); } int QAnimationGroup_AnimationCount(const QAnimationGroup* self) { return self->animationCount(); } int QAnimationGroup_IndexOfAnimation(const QAnimationGroup* self, QAbstractAnimation* animation) { return self->indexOfAnimation(animation); } void QAnimationGroup_AddAnimation(QAnimationGroup* self, QAbstractAnimation* animation) { self->addAnimation(animation); } void QAnimationGroup_InsertAnimation(QAnimationGroup* self, int index, QAbstractAnimation* animation) { self->insertAnimation(static_cast(index), animation); } void QAnimationGroup_RemoveAnimation(QAnimationGroup* self, QAbstractAnimation* animation) { self->removeAnimation(animation); } QAbstractAnimation* QAnimationGroup_TakeAnimation(QAnimationGroup* self, int index) { return self->takeAnimation(static_cast(index)); } void QAnimationGroup_Clear(QAnimationGroup* self) { self->clear(); } struct miqt_string* QAnimationGroup_Tr2(const char* s, const char* c) { QString _ret = QAnimationGroup::tr(s, c); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); return miqt_strdup(_b.data(), _b.length()); } struct miqt_string* QAnimationGroup_Tr3(const char* s, const char* c, int n) { QString _ret = QAnimationGroup::tr(s, c, static_cast(n)); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); return miqt_strdup(_b.data(), _b.length()); } struct miqt_string* QAnimationGroup_TrUtf82(const char* s, const char* c) { QString _ret = QAnimationGroup::trUtf8(s, c); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); return miqt_strdup(_b.data(), _b.length()); } struct miqt_string* QAnimationGroup_TrUtf83(const char* s, const char* c, int n) { QString _ret = QAnimationGroup::trUtf8(s, c, static_cast(n)); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); return miqt_strdup(_b.data(), _b.length()); } void QAnimationGroup_Delete(QAnimationGroup* self) { delete self; }