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

template <> constexpr inline auto Dynamic::AbstractBias::qt_create_metaobjectdata<qt_meta_tag_ZN7Dynamic12AbstractBiasE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Dynamic::AbstractBias",
        "changed",
        "",
        "Dynamic::BiasPtr",
        "thisBias",
        "replaced",
        "oldBias",
        "newBias",
        "resultReady",
        "Dynamic::TrackSet",
        "set",
        "invalidate",
        "replace"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'changed'
        QtMocHelpers::SignalData<void(Dynamic::BiasPtr)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'replaced'
        QtMocHelpers::SignalData<void(Dynamic::BiasPtr, Dynamic::BiasPtr)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 6 }, { 0x80000000 | 3, 7 },
        }}),
        // Signal 'resultReady'
        QtMocHelpers::SignalData<void(const Dynamic::TrackSet &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 10 },
        }}),
        // Slot 'invalidate'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'replace'
        QtMocHelpers::SlotData<void(const Dynamic::BiasPtr &)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 7 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<AbstractBias, qt_meta_tag_ZN7Dynamic12AbstractBiasE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Dynamic::AbstractBias::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7Dynamic12AbstractBiasE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7Dynamic12AbstractBiasE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN7Dynamic12AbstractBiasE_t>.metaTypes,
    nullptr
} };

void Dynamic::AbstractBias::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<AbstractBias *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->changed((*reinterpret_cast<std::add_pointer_t<Dynamic::BiasPtr>>(_a[1]))); break;
        case 1: _t->replaced((*reinterpret_cast<std::add_pointer_t<Dynamic::BiasPtr>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Dynamic::BiasPtr>>(_a[2]))); break;
        case 2: _t->resultReady((*reinterpret_cast<std::add_pointer_t<Dynamic::TrackSet>>(_a[1]))); break;
        case 3: _t->invalidate(); break;
        case 4: _t->replace((*reinterpret_cast<std::add_pointer_t<Dynamic::BiasPtr>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Dynamic::BiasPtr >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Dynamic::BiasPtr >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Dynamic::TrackSet >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Dynamic::BiasPtr >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (AbstractBias::*)(Dynamic::BiasPtr )>(_a, &AbstractBias::changed, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractBias::*)(Dynamic::BiasPtr , Dynamic::BiasPtr )>(_a, &AbstractBias::replaced, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractBias::*)(const Dynamic::TrackSet & )>(_a, &AbstractBias::resultReady, 2))
            return;
    }
}

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

void *Dynamic::AbstractBias::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7Dynamic12AbstractBiasE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QSharedData"))
        return static_cast< QSharedData*>(this);
    return QObject::qt_metacast(_clname);
}

int Dynamic::AbstractBias::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 < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
    return _id;
}

// SIGNAL 0
void Dynamic::AbstractBias::changed(Dynamic::BiasPtr _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void Dynamic::AbstractBias::replaced(Dynamic::BiasPtr _t1, Dynamic::BiasPtr _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2);
}

// SIGNAL 2
void Dynamic::AbstractBias::resultReady(const Dynamic::TrackSet & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}
namespace {
struct qt_meta_tag_ZN7Dynamic10RandomBiasE_t {};
} // unnamed namespace

template <> constexpr inline auto Dynamic::RandomBias::qt_create_metaobjectdata<qt_meta_tag_ZN7Dynamic10RandomBiasE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Dynamic::RandomBias"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<RandomBias, qt_meta_tag_ZN7Dynamic10RandomBiasE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Dynamic::RandomBias::staticMetaObject = { {
    QMetaObject::SuperData::link<AbstractBias::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7Dynamic10RandomBiasE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7Dynamic10RandomBiasE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN7Dynamic10RandomBiasE_t>.metaTypes,
    nullptr
} };

void Dynamic::RandomBias::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<RandomBias *>(_o);
    (void)_t;
    (void)_c;
    (void)_id;
    (void)_a;
}

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

void *Dynamic::RandomBias::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7Dynamic10RandomBiasE_t>.strings))
        return static_cast<void*>(this);
    return AbstractBias::qt_metacast(_clname);
}

int Dynamic::RandomBias::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AbstractBias::qt_metacall(_c, _id, _a);
    return _id;
}
namespace {
struct qt_meta_tag_ZN7Dynamic7AndBiasE_t {};
} // unnamed namespace

template <> constexpr inline auto Dynamic::AndBias::qt_create_metaobjectdata<qt_meta_tag_ZN7Dynamic7AndBiasE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Dynamic::AndBias",
        "biasAppended",
        "",
        "Dynamic::BiasPtr",
        "bias",
        "biasRemoved",
        "pos",
        "biasMoved",
        "from",
        "to",
        "invalidate",
        "resultReceived",
        "Dynamic::TrackSet",
        "tracks",
        "biasReplaced",
        "oldBias",
        "newBias",
        "biasChanged"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'biasAppended'
        QtMocHelpers::SignalData<void(Dynamic::BiasPtr)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'biasRemoved'
        QtMocHelpers::SignalData<void(int)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 6 },
        }}),
        // Signal 'biasMoved'
        QtMocHelpers::SignalData<void(int, int)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 8 }, { QMetaType::Int, 9 },
        }}),
        // Slot 'invalidate'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'resultReceived'
        QtMocHelpers::SlotData<void(const Dynamic::TrackSet &)>(11, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 12, 13 },
        }}),
        // Slot 'biasReplaced'
        QtMocHelpers::SlotData<void(const Dynamic::BiasPtr &, const Dynamic::BiasPtr &)>(14, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 3, 15 }, { 0x80000000 | 3, 16 },
        }}),
        // Slot 'biasChanged'
        QtMocHelpers::SlotData<void(const Dynamic::BiasPtr &)>(17, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<AndBias, qt_meta_tag_ZN7Dynamic7AndBiasE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Dynamic::AndBias::staticMetaObject = { {
    QMetaObject::SuperData::link<AbstractBias::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7Dynamic7AndBiasE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7Dynamic7AndBiasE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN7Dynamic7AndBiasE_t>.metaTypes,
    nullptr
} };

void Dynamic::AndBias::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<AndBias *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->biasAppended((*reinterpret_cast<std::add_pointer_t<Dynamic::BiasPtr>>(_a[1]))); break;
        case 1: _t->biasRemoved((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 2: _t->biasMoved((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 3: _t->invalidate(); break;
        case 4: _t->resultReceived((*reinterpret_cast<std::add_pointer_t<Dynamic::TrackSet>>(_a[1]))); break;
        case 5: _t->biasReplaced((*reinterpret_cast<std::add_pointer_t<Dynamic::BiasPtr>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Dynamic::BiasPtr>>(_a[2]))); break;
        case 6: _t->biasChanged((*reinterpret_cast<std::add_pointer_t<Dynamic::BiasPtr>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Dynamic::BiasPtr >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Dynamic::TrackSet >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Dynamic::BiasPtr >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Dynamic::BiasPtr >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (AndBias::*)(Dynamic::BiasPtr )>(_a, &AndBias::biasAppended, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (AndBias::*)(int )>(_a, &AndBias::biasRemoved, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (AndBias::*)(int , int )>(_a, &AndBias::biasMoved, 2))
            return;
    }
}

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

void *Dynamic::AndBias::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7Dynamic7AndBiasE_t>.strings))
        return static_cast<void*>(this);
    return AbstractBias::qt_metacast(_clname);
}

int Dynamic::AndBias::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AbstractBias::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    return _id;
}

// SIGNAL 0
void Dynamic::AndBias::biasAppended(Dynamic::BiasPtr _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void Dynamic::AndBias::biasRemoved(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void Dynamic::AndBias::biasMoved(int _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
}
namespace {
struct qt_meta_tag_ZN7Dynamic6OrBiasE_t {};
} // unnamed namespace

template <> constexpr inline auto Dynamic::OrBias::qt_create_metaobjectdata<qt_meta_tag_ZN7Dynamic6OrBiasE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Dynamic::OrBias",
        "resultReceived",
        "",
        "Dynamic::TrackSet",
        "tracks"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'resultReceived'
        QtMocHelpers::SlotData<void(const Dynamic::TrackSet &)>(1, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<OrBias, qt_meta_tag_ZN7Dynamic6OrBiasE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Dynamic::OrBias::staticMetaObject = { {
    QMetaObject::SuperData::link<AndBias::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7Dynamic6OrBiasE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7Dynamic6OrBiasE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN7Dynamic6OrBiasE_t>.metaTypes,
    nullptr
} };

void Dynamic::OrBias::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<OrBias *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->resultReceived((*reinterpret_cast<std::add_pointer_t<Dynamic::TrackSet>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Dynamic::TrackSet >(); break;
            }
            break;
        }
    }
}

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

void *Dynamic::OrBias::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7Dynamic6OrBiasE_t>.strings))
        return static_cast<void*>(this);
    return AndBias::qt_metacast(_clname);
}

int Dynamic::OrBias::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AndBias::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}
QT_WARNING_POP
