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

#include "../../../../../../../amarok-3.3.3/src/context/applets/analyzer/plugin/AnalyzerBase.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 'AnalyzerBase.h' 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_ZN8Analyzer4BaseE_t {};
} // unnamed namespace

template <> constexpr inline auto Analyzer::Base::qt_create_metaobjectdata<qt_meta_tag_ZN8Analyzer4BaseE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Analyzer::Base",
        "minFreqChanged",
        "",
        "maxFreqChanged",
        "scopeSizeChanged",
        "windowFunctionChanged",
        "WindowFunction",
        "sampleSizeChanged",
        "calculateExpFactorNeeded",
        "minFrequency",
        "maxFrequency",
        "windowFunction",
        "minimumFrequency",
        "maximumFrequency",
        "sampleSize",
        "Rectangular",
        "Hann",
        "Nuttall",
        "Lanczos",
        "Sine"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'minFreqChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'maxFreqChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'scopeSizeChanged'
        QtMocHelpers::SignalData<void(int)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Signal 'windowFunctionChanged'
        QtMocHelpers::SignalData<void(enum WindowFunction)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 2 },
        }}),
        // Signal 'sampleSizeChanged'
        QtMocHelpers::SignalData<void(uint)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 2 },
        }}),
        // Signal 'calculateExpFactorNeeded'
        QtMocHelpers::SignalData<void(qreal, qreal, int)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QReal, 2 }, { QMetaType::QReal, 2 }, { QMetaType::Int, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'minFrequency'
        QtMocHelpers::PropertyData<qreal>(9, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Writable, 0),
        // property 'maxFrequency'
        QtMocHelpers::PropertyData<qreal>(10, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Writable, 1),
        // property 'windowFunction'
        QtMocHelpers::PropertyData<enum WindowFunction>(11, 0x80000000 | 6, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 3),
        // property 'minimumFrequency'
        QtMocHelpers::PropertyData<qreal>(12, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Writable, 0),
        // property 'maximumFrequency'
        QtMocHelpers::PropertyData<qreal>(13, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Writable, 1),
        // property 'sampleSize'
        QtMocHelpers::PropertyData<int>(14, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 4),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'WindowFunction'
        QtMocHelpers::EnumData<enum WindowFunction>(6, 6, QMC::EnumFlags{}).add({
            {   15, WindowFunction::Rectangular },
            {   16, WindowFunction::Hann },
            {   17, WindowFunction::Nuttall },
            {   18, WindowFunction::Lanczos },
            {   19, WindowFunction::Sine },
        }),
    };
    return QtMocHelpers::metaObjectData<Base, qt_meta_tag_ZN8Analyzer4BaseE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Analyzer::Base::staticMetaObject = { {
    QMetaObject::SuperData::link<QQuickFramebufferObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8Analyzer4BaseE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8Analyzer4BaseE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8Analyzer4BaseE_t>.metaTypes,
    nullptr
} };

void Analyzer::Base::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Base *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->minFreqChanged(); break;
        case 1: _t->maxFreqChanged(); break;
        case 2: _t->scopeSizeChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 3: _t->windowFunctionChanged((*reinterpret_cast<std::add_pointer_t<enum WindowFunction>>(_a[1]))); break;
        case 4: _t->sampleSizeChanged((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1]))); break;
        case 5: _t->calculateExpFactorNeeded((*reinterpret_cast<std::add_pointer_t<qreal>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<qreal>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Base::*)()>(_a, &Base::minFreqChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Base::*)()>(_a, &Base::maxFreqChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Base::*)(int )>(_a, &Base::scopeSizeChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (Base::*)(WindowFunction )>(_a, &Base::windowFunctionChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (Base::*)(uint )>(_a, &Base::sampleSizeChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (Base::*)(qreal , qreal , int )>(_a, &Base::calculateExpFactorNeeded, 5))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<qreal*>(_v) = _t->minFreq(); break;
        case 1: *reinterpret_cast<qreal*>(_v) = _t->maxFreq(); break;
        case 2: *reinterpret_cast<enum WindowFunction*>(_v) = _t->windowFunction(); break;
        case 3: *reinterpret_cast<qreal*>(_v) = _t->minFreq(); break;
        case 4: *reinterpret_cast<qreal*>(_v) = _t->maxFreq(); break;
        case 5: *reinterpret_cast<int*>(_v) = _t->sampleSize(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setMinFreq(*reinterpret_cast<qreal*>(_v)); break;
        case 1: _t->setMaxFreq(*reinterpret_cast<qreal*>(_v)); break;
        case 2: _t->setWindowFunction(*reinterpret_cast<enum WindowFunction*>(_v)); break;
        case 3: _t->setMinFreq(*reinterpret_cast<qreal*>(_v)); break;
        case 4: _t->setMaxFreq(*reinterpret_cast<qreal*>(_v)); break;
        case 5: _t->setSampleSize(*reinterpret_cast<int*>(_v)); break;
        default: break;
        }
    }
}

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

void *Analyzer::Base::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8Analyzer4BaseE_t>.strings))
        return static_cast<void*>(this);
    return QQuickFramebufferObject::qt_metacast(_clname);
}

int Analyzer::Base::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuickFramebufferObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 6)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 6;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    }
    return _id;
}

// SIGNAL 0
void Analyzer::Base::minFreqChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void Analyzer::Base::maxFreqChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void Analyzer::Base::scopeSizeChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void Analyzer::Base::windowFunctionChanged(WindowFunction _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void Analyzer::Base::sampleSizeChanged(uint _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void Analyzer::Base::calculateExpFactorNeeded(qreal _t1, qreal _t2, int _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2, _t3);
}
QT_WARNING_POP
