/****************************************************************************
** Meta object code from reading C++ file 'animatable_base.hpp'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.11.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../../../../../../mlt/src/modules/glaxnimate/glaxnimate/src/core/glaxnimate/model/animation/animatable_base.hpp"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'animatable_base.hpp' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN10glaxnimate5model14AnimatableBaseE_t {};
} // unnamed namespace

template <> constexpr inline auto glaxnimate::model::AnimatableBase::qt_create_metaobjectdata<qt_meta_tag_ZN10glaxnimate5model14AnimatableBaseE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "glaxnimate::model::AnimatableBase",
        "keyframe_added",
        "",
        "FrameTime",
        "time",
        "keyframe_removed",
        "keyframe_updated",
        "keyframe_moved",
        "from_time",
        "to_time",
        "transition_changed",
        "KeyframeTransition::Descriptive",
        "before",
        "after",
        "keyframe_containing",
        "const KeyframeBase*",
        "keyframe_before",
        "KeyframeBase*",
        "keyframe_after",
        "keyframe_at",
        "value_mismatch",
        "has_keyframe",
        "first_keyframe",
        "last_keyframe",
        "value_at_time",
        "QVariant",
        "static_value",
        "visual_name",
        "keyframe_count",
        "animated"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'keyframe_added'
        QtMocHelpers::SignalData<void(FrameTime)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'keyframe_removed'
        QtMocHelpers::SignalData<void(FrameTime)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'keyframe_updated'
        QtMocHelpers::SignalData<void(FrameTime)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'keyframe_moved'
        QtMocHelpers::SignalData<void(FrameTime, FrameTime)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 8 }, { 0x80000000 | 3, 9 },
        }}),
        // Signal 'transition_changed'
        QtMocHelpers::SignalData<void(FrameTime, KeyframeTransition::Descriptive, KeyframeTransition::Descriptive)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 11, 12 }, { 0x80000000 | 11, 13 },
        }}),
        // Method 'keyframe_containing'
        QtMocHelpers::MethodData<const KeyframeBase *(double) const>(14, 2, QMC::AccessPublic, 0x80000000 | 15, {{
            { QMetaType::Double, 4 },
        }}),
        // Method 'keyframe_before'
        QtMocHelpers::MethodData<KeyframeBase *(double)>(16, 2, QMC::AccessPublic, 0x80000000 | 17, {{
            { QMetaType::Double, 4 },
        }}),
        // Method 'keyframe_after'
        QtMocHelpers::MethodData<KeyframeBase *(double)>(18, 2, QMC::AccessPublic, 0x80000000 | 17, {{
            { QMetaType::Double, 4 },
        }}),
        // Method 'keyframe_at'
        QtMocHelpers::MethodData<const KeyframeBase *(double) const>(19, 2, QMC::AccessPublic, 0x80000000 | 15, {{
            { QMetaType::Double, 4 },
        }}),
        // Method 'value_mismatch'
        QtMocHelpers::MethodData<bool() const>(20, 2, QMC::AccessPublic, QMetaType::Bool),
        // Method 'has_keyframe'
        QtMocHelpers::MethodData<bool(double) const>(21, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::Double, 4 },
        }}),
        // Method 'first_keyframe'
        QtMocHelpers::MethodData<const KeyframeBase *() const>(22, 2, QMC::AccessPublic, 0x80000000 | 15),
        // Method 'last_keyframe'
        QtMocHelpers::MethodData<const KeyframeBase *() const>(23, 2, QMC::AccessPublic, 0x80000000 | 15),
        // Method 'value_at_time'
        QtMocHelpers::MethodData<QVariant(double) const>(24, 2, QMC::AccessPublic, 0x80000000 | 25, {{
            { QMetaType::Double, 4 },
        }}),
        // Method 'static_value'
        QtMocHelpers::MethodData<QVariant() const>(26, 2, QMC::AccessPublic, 0x80000000 | 25),
        // Method 'visual_name'
        QtMocHelpers::MethodData<QString() const>(27, 2, QMC::AccessPublic, QMetaType::QString),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'keyframe_count'
        QtMocHelpers::PropertyData<int>(28, QMetaType::Int, QMC::DefaultPropertyFlags),
        // property 'animated'
        QtMocHelpers::PropertyData<bool>(29, QMetaType::Bool, QMC::DefaultPropertyFlags),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<AnimatableBase, qt_meta_tag_ZN10glaxnimate5model14AnimatableBaseE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject glaxnimate::model::AnimatableBase::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10glaxnimate5model14AnimatableBaseE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10glaxnimate5model14AnimatableBaseE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10glaxnimate5model14AnimatableBaseE_t>.metaTypes,
    nullptr
} };

void glaxnimate::model::AnimatableBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<AnimatableBase *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->keyframe_added((*reinterpret_cast<std::add_pointer_t<FrameTime>>(_a[1]))); break;
        case 1: _t->keyframe_removed((*reinterpret_cast<std::add_pointer_t<FrameTime>>(_a[1]))); break;
        case 2: _t->keyframe_updated((*reinterpret_cast<std::add_pointer_t<FrameTime>>(_a[1]))); break;
        case 3: _t->keyframe_moved((*reinterpret_cast<std::add_pointer_t<FrameTime>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<FrameTime>>(_a[2]))); break;
        case 4: _t->transition_changed((*reinterpret_cast<std::add_pointer_t<FrameTime>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KeyframeTransition::Descriptive>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<KeyframeTransition::Descriptive>>(_a[3]))); break;
        case 5: { const KeyframeBase* _r = _t->keyframe_containing((*reinterpret_cast<std::add_pointer_t<double>>(_a[1])));
            if (_a[0]) *reinterpret_cast<const KeyframeBase**>(_a[0]) = std::move(_r); }  break;
        case 6: { KeyframeBase* _r = _t->keyframe_before((*reinterpret_cast<std::add_pointer_t<double>>(_a[1])));
            if (_a[0]) *reinterpret_cast<KeyframeBase**>(_a[0]) = std::move(_r); }  break;
        case 7: { KeyframeBase* _r = _t->keyframe_after((*reinterpret_cast<std::add_pointer_t<double>>(_a[1])));
            if (_a[0]) *reinterpret_cast<KeyframeBase**>(_a[0]) = std::move(_r); }  break;
        case 8: { const KeyframeBase* _r = _t->keyframe_at((*reinterpret_cast<std::add_pointer_t<double>>(_a[1])));
            if (_a[0]) *reinterpret_cast<const KeyframeBase**>(_a[0]) = std::move(_r); }  break;
        case 9: { bool _r = _t->value_mismatch();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 10: { bool _r = _t->has_keyframe((*reinterpret_cast<std::add_pointer_t<double>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 11: { const KeyframeBase* _r = _t->first_keyframe();
            if (_a[0]) *reinterpret_cast<const KeyframeBase**>(_a[0]) = std::move(_r); }  break;
        case 12: { const KeyframeBase* _r = _t->last_keyframe();
            if (_a[0]) *reinterpret_cast<const KeyframeBase**>(_a[0]) = std::move(_r); }  break;
        case 13: { QVariant _r = _t->value_at_time((*reinterpret_cast<std::add_pointer_t<double>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QVariant*>(_a[0]) = std::move(_r); }  break;
        case 14: { QVariant _r = _t->static_value();
            if (_a[0]) *reinterpret_cast<QVariant*>(_a[0]) = std::move(_r); }  break;
        case 15: { QString _r = _t->visual_name();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (AnimatableBase::*)(FrameTime )>(_a, &AnimatableBase::keyframe_added, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (AnimatableBase::*)(FrameTime )>(_a, &AnimatableBase::keyframe_removed, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (AnimatableBase::*)(FrameTime )>(_a, &AnimatableBase::keyframe_updated, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (AnimatableBase::*)(FrameTime , FrameTime )>(_a, &AnimatableBase::keyframe_moved, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (AnimatableBase::*)(FrameTime , KeyframeTransition::Descriptive , KeyframeTransition::Descriptive )>(_a, &AnimatableBase::transition_changed, 4))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<int*>(_v) = _t->keyframe_count(); break;
        case 1: *reinterpret_cast<bool*>(_v) = _t->animated(); break;
        default: break;
        }
    }
}

const QMetaObject *glaxnimate::model::AnimatableBase::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *glaxnimate::model::AnimatableBase::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10glaxnimate5model14AnimatableBaseE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int glaxnimate::model::AnimatableBase::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 16;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    return _id;
}

// SIGNAL 0
void glaxnimate::model::AnimatableBase::keyframe_added(FrameTime _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void glaxnimate::model::AnimatableBase::keyframe_removed(FrameTime _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void glaxnimate::model::AnimatableBase::keyframe_updated(FrameTime _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void glaxnimate::model::AnimatableBase::keyframe_moved(FrameTime _t1, FrameTime _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1, _t2);
}

// SIGNAL 4
void glaxnimate::model::AnimatableBase::transition_changed(FrameTime _t1, KeyframeTransition::Descriptive _t2, KeyframeTransition::Descriptive _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1, _t2, _t3);
}
QT_WARNING_POP
