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

#include "../../../mixxx-2.5.6/src/engine/controls/bpmcontrol.h"
#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 'bpmcontrol.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.2. 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_ZN10BpmControlE_t {};
} // unnamed namespace

template <> constexpr inline auto BpmControl::qt_create_metaobjectdata<qt_meta_tag_ZN10BpmControlE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "BpmControl",
        "slotAdjustBeatsFaster",
        "",
        "slotAdjustBeatsSlower",
        "slotTranslateBeatsEarlier",
        "slotTranslateBeatsLater",
        "slotTranslateBeatsMove",
        "slotBpmTap",
        "value",
        "slotBpmTapFilter",
        "averageLength",
        "numSamples",
        "slotTempoTap",
        "slotTempoTapFilter",
        "slotUpdateRateSlider",
        "v",
        "slotUpdateEngineBpm",
        "slotBeatsTranslate",
        "slotBeatsTranslateMatchAlignment",
        "slotToggleBpmLock",
        "slotBeatsUndoAdjustment"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'slotAdjustBeatsFaster'
        QtMocHelpers::SlotData<void(double)>(1, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Double, 2 },
        }}),
        // Slot 'slotAdjustBeatsSlower'
        QtMocHelpers::SlotData<void(double)>(3, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Double, 2 },
        }}),
        // Slot 'slotTranslateBeatsEarlier'
        QtMocHelpers::SlotData<void(double)>(4, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Double, 2 },
        }}),
        // Slot 'slotTranslateBeatsLater'
        QtMocHelpers::SlotData<void(double)>(5, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Double, 2 },
        }}),
        // Slot 'slotTranslateBeatsMove'
        QtMocHelpers::SlotData<void(double)>(6, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Double, 2 },
        }}),
        // Slot 'slotBpmTap'
        QtMocHelpers::SlotData<void(double)>(7, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Double, 8 },
        }}),
        // Slot 'slotBpmTapFilter'
        QtMocHelpers::SlotData<void(double, int)>(9, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Double, 10 }, { QMetaType::Int, 11 },
        }}),
        // Slot 'slotTempoTap'
        QtMocHelpers::SlotData<void(double)>(12, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Double, 8 },
        }}),
        // Slot 'slotTempoTapFilter'
        QtMocHelpers::SlotData<void(double, int)>(13, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Double, 10 }, { QMetaType::Int, 11 },
        }}),
        // Slot 'slotUpdateRateSlider'
        QtMocHelpers::SlotData<void(double)>(14, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Double, 15 },
        }}),
        // Slot 'slotUpdateRateSlider'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void),
        // Slot 'slotUpdateEngineBpm'
        QtMocHelpers::SlotData<void(double)>(16, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Double, 15 },
        }}),
        // Slot 'slotUpdateEngineBpm'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void),
        // Slot 'slotBeatsTranslate'
        QtMocHelpers::SlotData<void(double)>(17, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Double, 2 },
        }}),
        // Slot 'slotBeatsTranslateMatchAlignment'
        QtMocHelpers::SlotData<void(double)>(18, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Double, 2 },
        }}),
        // Slot 'slotToggleBpmLock'
        QtMocHelpers::SlotData<void(double)>(19, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Double, 2 },
        }}),
        // Slot 'slotBeatsUndoAdjustment'
        QtMocHelpers::SlotData<void(double)>(20, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Double, 8 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<BpmControl, qt_meta_tag_ZN10BpmControlE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject BpmControl::staticMetaObject = { {
    QMetaObject::SuperData::link<EngineControl::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10BpmControlE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10BpmControlE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10BpmControlE_t>.metaTypes,
    nullptr
} };

void BpmControl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<BpmControl *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->slotAdjustBeatsFaster((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 1: _t->slotAdjustBeatsSlower((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 2: _t->slotTranslateBeatsEarlier((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 3: _t->slotTranslateBeatsLater((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 4: _t->slotTranslateBeatsMove((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 5: _t->slotBpmTap((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 6: _t->slotBpmTapFilter((*reinterpret_cast<std::add_pointer_t<double>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 7: _t->slotTempoTap((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 8: _t->slotTempoTapFilter((*reinterpret_cast<std::add_pointer_t<double>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 9: _t->slotUpdateRateSlider((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 10: _t->slotUpdateRateSlider(); break;
        case 11: _t->slotUpdateEngineBpm((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 12: _t->slotUpdateEngineBpm(); break;
        case 13: _t->slotBeatsTranslate((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 14: _t->slotBeatsTranslateMatchAlignment((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 15: _t->slotToggleBpmLock((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 16: _t->slotBeatsUndoAdjustment((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        default: ;
        }
    }
}

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

void *BpmControl::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10BpmControlE_t>.strings))
        return static_cast<void*>(this);
    return EngineControl::qt_metacast(_clname);
}

int BpmControl::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = EngineControl::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 17;
    }
    return _id;
}
QT_WARNING_POP
