/****************************************************************************
** Meta object code from reading C++ file 'BlockAnalyzer.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/BlockAnalyzer.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 'BlockAnalyzer.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_ZN13BlockAnalyzerE_t {};
} // unnamed namespace

template <> constexpr inline auto BlockAnalyzer::qt_create_metaobjectdata<qt_meta_tag_ZN13BlockAnalyzerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "BlockAnalyzer",
        "fallSpeedChanged",
        "",
        "columnWidthChanged",
        "showFadebarsChanged",
        "stepChanged",
        "rowsChanged",
        "columnsChanged",
        "refreshRateChanged",
        "fallSpeed",
        "FallSpeed",
        "columnWidth",
        "showFadebars",
        "VerySlow",
        "Slow",
        "Medium",
        "Fast",
        "VeryFast"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'fallSpeedChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'columnWidthChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'showFadebarsChanged'
        QtMocHelpers::SignalData<void(bool)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Signal 'stepChanged'
        QtMocHelpers::SignalData<void(qreal)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QReal, 2 },
        }}),
        // Signal 'rowsChanged'
        QtMocHelpers::SignalData<void(int)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Signal 'columnsChanged'
        QtMocHelpers::SignalData<void(int)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Signal 'refreshRateChanged'
        QtMocHelpers::SignalData<void(qreal)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QReal, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'fallSpeed'
        QtMocHelpers::PropertyData<enum FallSpeed>(9, 0x80000000 | 10, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 0),
        // property 'columnWidth'
        QtMocHelpers::PropertyData<int>(11, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 1),
        // property 'showFadebars'
        QtMocHelpers::PropertyData<bool>(12, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 2),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'FallSpeed'
        QtMocHelpers::EnumData<enum FallSpeed>(10, 10, QMC::EnumFlags{}).add({
            {   13, FallSpeed::VerySlow },
            {   14, FallSpeed::Slow },
            {   15, FallSpeed::Medium },
            {   16, FallSpeed::Fast },
            {   17, FallSpeed::VeryFast },
        }),
    };
    return QtMocHelpers::metaObjectData<BlockAnalyzer, qt_meta_tag_ZN13BlockAnalyzerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject BlockAnalyzer::staticMetaObject = { {
    QMetaObject::SuperData::link<Analyzer::Base::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13BlockAnalyzerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13BlockAnalyzerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13BlockAnalyzerE_t>.metaTypes,
    nullptr
} };

void BlockAnalyzer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<BlockAnalyzer *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->fallSpeedChanged(); break;
        case 1: _t->columnWidthChanged(); break;
        case 2: _t->showFadebarsChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->stepChanged((*reinterpret_cast<std::add_pointer_t<qreal>>(_a[1]))); break;
        case 4: _t->rowsChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 5: _t->columnsChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 6: _t->refreshRateChanged((*reinterpret_cast<std::add_pointer_t<qreal>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (BlockAnalyzer::*)()>(_a, &BlockAnalyzer::fallSpeedChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (BlockAnalyzer::*)()>(_a, &BlockAnalyzer::columnWidthChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (BlockAnalyzer::*)(bool )>(_a, &BlockAnalyzer::showFadebarsChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (BlockAnalyzer::*)(qreal )>(_a, &BlockAnalyzer::stepChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (BlockAnalyzer::*)(int )>(_a, &BlockAnalyzer::rowsChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (BlockAnalyzer::*)(int )>(_a, &BlockAnalyzer::columnsChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (BlockAnalyzer::*)(qreal )>(_a, &BlockAnalyzer::refreshRateChanged, 6))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<enum FallSpeed*>(_v) = _t->fallSpeed(); break;
        case 1: *reinterpret_cast<int*>(_v) = _t->columnWidth(); break;
        case 2: *reinterpret_cast<bool*>(_v) = _t->showFadebars(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setFallSpeed(*reinterpret_cast<enum FallSpeed*>(_v)); break;
        case 1: _t->setColumnWidth(*reinterpret_cast<int*>(_v)); break;
        case 2: _t->setShowFadebars(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

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

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

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

// SIGNAL 0
void BlockAnalyzer::fallSpeedChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void BlockAnalyzer::columnWidthChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void BlockAnalyzer::showFadebarsChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void BlockAnalyzer::stepChanged(qreal _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void BlockAnalyzer::rowsChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void BlockAnalyzer::columnsChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void BlockAnalyzer::refreshRateChanged(qreal _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}
QT_WARNING_POP
