#include #include #include #include #include #include #include #include #include #include "gen_qsequentialanimationgroup.h" #include "_cgo_export.h" QSequentialAnimationGroup* QSequentialAnimationGroup_new() { return new QSequentialAnimationGroup(); } QSequentialAnimationGroup* QSequentialAnimationGroup_new2(QObject* parent) { return new QSequentialAnimationGroup(parent); } QMetaObject* QSequentialAnimationGroup_MetaObject(const QSequentialAnimationGroup* self) { return (QMetaObject*) self->metaObject(); } void* QSequentialAnimationGroup_Metacast(QSequentialAnimationGroup* self, const char* param1) { return self->qt_metacast(param1); } struct miqt_string QSequentialAnimationGroup_Tr(const char* s) { QString _ret = QSequentialAnimationGroup::tr(s); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); struct miqt_string _ms; _ms.len = _b.length(); _ms.data = static_cast(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } struct miqt_string QSequentialAnimationGroup_TrUtf8(const char* s) { QString _ret = QSequentialAnimationGroup::trUtf8(s); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); struct miqt_string _ms; _ms.len = _b.length(); _ms.data = static_cast(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } QPauseAnimation* QSequentialAnimationGroup_AddPause(QSequentialAnimationGroup* self, int msecs) { return self->addPause(static_cast(msecs)); } QPauseAnimation* QSequentialAnimationGroup_InsertPause(QSequentialAnimationGroup* self, int index, int msecs) { return self->insertPause(static_cast(index), static_cast(msecs)); } QAbstractAnimation* QSequentialAnimationGroup_CurrentAnimation(const QSequentialAnimationGroup* self) { return self->currentAnimation(); } int QSequentialAnimationGroup_Duration(const QSequentialAnimationGroup* self) { return self->duration(); } void QSequentialAnimationGroup_CurrentAnimationChanged(QSequentialAnimationGroup* self, QAbstractAnimation* current) { self->currentAnimationChanged(current); } void QSequentialAnimationGroup_connect_CurrentAnimationChanged(QSequentialAnimationGroup* self, intptr_t slot) { QSequentialAnimationGroup::connect(self, static_cast(&QSequentialAnimationGroup::currentAnimationChanged), self, [=](QAbstractAnimation* current) { QAbstractAnimation* sigval1 = current; miqt_exec_callback_QSequentialAnimationGroup_CurrentAnimationChanged(slot, sigval1); }); } struct miqt_string QSequentialAnimationGroup_Tr2(const char* s, const char* c) { QString _ret = QSequentialAnimationGroup::tr(s, c); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); struct miqt_string _ms; _ms.len = _b.length(); _ms.data = static_cast(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } struct miqt_string QSequentialAnimationGroup_Tr3(const char* s, const char* c, int n) { QString _ret = QSequentialAnimationGroup::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(); struct miqt_string _ms; _ms.len = _b.length(); _ms.data = static_cast(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } struct miqt_string QSequentialAnimationGroup_TrUtf82(const char* s, const char* c) { QString _ret = QSequentialAnimationGroup::trUtf8(s, c); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); struct miqt_string _ms; _ms.len = _b.length(); _ms.data = static_cast(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } struct miqt_string QSequentialAnimationGroup_TrUtf83(const char* s, const char* c, int n) { QString _ret = QSequentialAnimationGroup::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(); struct miqt_string _ms; _ms.len = _b.length(); _ms.data = static_cast(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } void QSequentialAnimationGroup_Delete(QSequentialAnimationGroup* self) { delete self; }