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

#include "../../../../amarok-3.3.2/src/playlistgenerator/ConstraintSolver.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 'ConstraintSolver.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.0. 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_ZN3APG16ConstraintSolverE_t {};
} // unnamed namespace

template <> constexpr inline auto APG::ConstraintSolver::qt_create_metaobjectdata<qt_meta_tag_ZN3APG16ConstraintSolverE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "APG::ConstraintSolver",
        "readyToRun",
        "",
        "incrementProgress",
        "totalSteps",
        "endProgressOperation",
        "started",
        "ThreadWeaver::JobPointer",
        "done",
        "failed",
        "receiveQueryMakerData",
        "Meta::TrackList",
        "receiveQueryMakerDone"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'readyToRun'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'incrementProgress'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'totalSteps'
        QtMocHelpers::SignalData<void(int)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Signal 'endProgressOperation'
        QtMocHelpers::SignalData<void(QObject *)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QObjectStar, 2 },
        }}),
        // Signal 'started'
        QtMocHelpers::SignalData<void(ThreadWeaver::JobPointer)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 2 },
        }}),
        // Signal 'done'
        QtMocHelpers::SignalData<void(ThreadWeaver::JobPointer)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 2 },
        }}),
        // Signal 'failed'
        QtMocHelpers::SignalData<void(ThreadWeaver::JobPointer)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 2 },
        }}),
        // Slot 'receiveQueryMakerData'
        QtMocHelpers::SlotData<void(const Meta::TrackList &)>(10, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 11, 2 },
        }}),
        // Slot 'receiveQueryMakerDone'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ConstraintSolver, qt_meta_tag_ZN3APG16ConstraintSolverE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject APG::ConstraintSolver::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3APG16ConstraintSolverE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3APG16ConstraintSolverE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3APG16ConstraintSolverE_t>.metaTypes,
    nullptr
} };

void APG::ConstraintSolver::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ConstraintSolver *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->readyToRun(); break;
        case 1: _t->incrementProgress(); break;
        case 2: _t->totalSteps((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 3: _t->endProgressOperation((*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[1]))); break;
        case 4: _t->started((*reinterpret_cast<std::add_pointer_t<ThreadWeaver::JobPointer>>(_a[1]))); break;
        case 5: _t->done((*reinterpret_cast<std::add_pointer_t<ThreadWeaver::JobPointer>>(_a[1]))); break;
        case 6: _t->failed((*reinterpret_cast<std::add_pointer_t<ThreadWeaver::JobPointer>>(_a[1]))); break;
        case 7: _t->receiveQueryMakerData((*reinterpret_cast<std::add_pointer_t<Meta::TrackList>>(_a[1]))); break;
        case 8: _t->receiveQueryMakerDone(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); 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< ThreadWeaver::JobPointer >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ThreadWeaver::JobPointer >(); 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< ThreadWeaver::JobPointer >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ConstraintSolver::*)()>(_a, &ConstraintSolver::readyToRun, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ConstraintSolver::*)()>(_a, &ConstraintSolver::incrementProgress, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ConstraintSolver::*)(int )>(_a, &ConstraintSolver::totalSteps, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (ConstraintSolver::*)(QObject * )>(_a, &ConstraintSolver::endProgressOperation, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (ConstraintSolver::*)(ThreadWeaver::JobPointer )>(_a, &ConstraintSolver::started, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (ConstraintSolver::*)(ThreadWeaver::JobPointer )>(_a, &ConstraintSolver::done, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (ConstraintSolver::*)(ThreadWeaver::JobPointer )>(_a, &ConstraintSolver::failed, 6))
            return;
    }
}

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

void *APG::ConstraintSolver::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3APG16ConstraintSolverE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "ThreadWeaver::Job"))
        return static_cast< ThreadWeaver::Job*>(this);
    return QObject::qt_metacast(_clname);
}

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

// SIGNAL 0
void APG::ConstraintSolver::readyToRun()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void APG::ConstraintSolver::incrementProgress()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void APG::ConstraintSolver::totalSteps(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void APG::ConstraintSolver::endProgressOperation(QObject * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void APG::ConstraintSolver::started(ThreadWeaver::JobPointer _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void APG::ConstraintSolver::done(ThreadWeaver::JobPointer _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void APG::ConstraintSolver::failed(ThreadWeaver::JobPointer _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}
QT_WARNING_POP
