/****************************************************************************
** Meta object code from reading C++ file 'ScriptableBiasExporter.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/scripting/scriptengine/exporters/ScriptableBiasExporter.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 'ScriptableBiasExporter.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_ZN12AmarokScript28ScriptableBiasFactoryWrapperE_t {};
} // unnamed namespace

template <> constexpr inline auto AmarokScript::ScriptableBiasFactoryWrapper::qt_create_metaobjectdata<qt_meta_tag_ZN12AmarokScript28ScriptableBiasFactoryWrapperE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "AmarokScript::ScriptableBiasFactoryWrapper",
        "groupBiasCtor",
        "QJSValue",
        "",
        "biasCtor"
    };

    QtMocHelpers::UintData qt_methods {
        // Method 'groupBiasCtor'
        QtMocHelpers::MethodData<QJSValue()>(1, 3, QMC::AccessPublic, 0x80000000 | 2),
        // Method 'biasCtor'
        QtMocHelpers::MethodData<QJSValue()>(4, 3, QMC::AccessPublic, 0x80000000 | 2),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ScriptableBiasFactoryWrapper, qt_meta_tag_ZN12AmarokScript28ScriptableBiasFactoryWrapperE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject AmarokScript::ScriptableBiasFactoryWrapper::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12AmarokScript28ScriptableBiasFactoryWrapperE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12AmarokScript28ScriptableBiasFactoryWrapperE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12AmarokScript28ScriptableBiasFactoryWrapperE_t>.metaTypes,
    nullptr
} };

void AmarokScript::ScriptableBiasFactoryWrapper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ScriptableBiasFactoryWrapper *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { QJSValue _r = _t->groupBiasCtor();
            if (_a[0]) *reinterpret_cast<QJSValue*>(_a[0]) = std::move(_r); }  break;
        case 1: { QJSValue _r = _t->biasCtor();
            if (_a[0]) *reinterpret_cast<QJSValue*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
}

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

void *AmarokScript::ScriptableBiasFactoryWrapper::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12AmarokScript28ScriptableBiasFactoryWrapperE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int AmarokScript::ScriptableBiasFactoryWrapper::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 < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 2;
    }
    return _id;
}
namespace {
struct qt_meta_tag_ZN12AmarokScript21ScriptableBiasFactoryE_t {};
} // unnamed namespace

template <> constexpr inline auto AmarokScript::ScriptableBiasFactory::qt_create_metaobjectdata<qt_meta_tag_ZN12AmarokScript21ScriptableBiasFactoryE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "AmarokScript::ScriptableBiasFactory",
        "createBias",
        "Dynamic::BiasPtr",
        "",
        "enabled",
        "name",
        "identifier",
        "description",
        "widget",
        "QJSValue",
        "fromXml",
        "toXml",
        "matchingTracks",
        "trackMatches",
        "toStringFunction",
        "init"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'createBias'
        QtMocHelpers::SlotData<Dynamic::BiasPtr()>(1, 3, QMC::AccessPublic, 0x80000000 | 2),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'enabled'
        QtMocHelpers::PropertyData<bool>(4, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'name'
        QtMocHelpers::PropertyData<QString>(5, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable),
        // property 'identifier'
        QtMocHelpers::PropertyData<QString>(6, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable),
        // property 'description'
        QtMocHelpers::PropertyData<QString>(7, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable),
        // property 'widget'
        QtMocHelpers::PropertyData<QJSValue>(8, 0x80000000 | 9, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag),
        // property 'fromXml'
        QtMocHelpers::PropertyData<QJSValue>(10, 0x80000000 | 9, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag),
        // property 'toXml'
        QtMocHelpers::PropertyData<QJSValue>(11, 0x80000000 | 9, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag),
        // property 'matchingTracks'
        QtMocHelpers::PropertyData<QJSValue>(12, 0x80000000 | 9, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag),
        // property 'trackMatches'
        QtMocHelpers::PropertyData<QJSValue>(13, 0x80000000 | 9, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag),
        // property 'toStringFunction'
        QtMocHelpers::PropertyData<QJSValue>(14, 0x80000000 | 9, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'init'
        QtMocHelpers::PropertyData<QJSValue>(15, 0x80000000 | 9, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ScriptableBiasFactory, qt_meta_tag_ZN12AmarokScript21ScriptableBiasFactoryE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject AmarokScript::ScriptableBiasFactory::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12AmarokScript21ScriptableBiasFactoryE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12AmarokScript21ScriptableBiasFactoryE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12AmarokScript21ScriptableBiasFactoryE_t>.metaTypes,
    nullptr
} };

void AmarokScript::ScriptableBiasFactory::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ScriptableBiasFactory *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { Dynamic::BiasPtr _r = _t->createBias();
            if (_a[0]) *reinterpret_cast<Dynamic::BiasPtr*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 10:
        case 9:
        case 8:
        case 7:
        case 6:
        case 5:
        case 4:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QJSValue >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<bool*>(_v) = _t->enabled(); break;
        case 1: *reinterpret_cast<QString*>(_v) = _t->i18nName(); break;
        case 2: *reinterpret_cast<QString*>(_v) = _t->name(); break;
        case 3: *reinterpret_cast<QString*>(_v) = _t->i18nDescription(); break;
        case 4: *reinterpret_cast<QJSValue*>(_v) = _t->widgetFunction(); break;
        case 5: *reinterpret_cast<QJSValue*>(_v) = _t->fromXmlFunction(); break;
        case 6: *reinterpret_cast<QJSValue*>(_v) = _t->toXmlFunction(); break;
        case 7: *reinterpret_cast<QJSValue*>(_v) = _t->matchingTracksFunction(); break;
        case 8: *reinterpret_cast<QJSValue*>(_v) = _t->trackMatchesFunction(); break;
        case 9: *reinterpret_cast<QJSValue*>(_v) = _t->toStringFunction(); break;
        case 10: *reinterpret_cast<QJSValue*>(_v) = _t->initFunction(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setEnabled(*reinterpret_cast<bool*>(_v)); break;
        case 1: _t->setI18nName(*reinterpret_cast<QString*>(_v)); break;
        case 2: _t->setName(*reinterpret_cast<QString*>(_v)); break;
        case 3: _t->setI18nDescription(*reinterpret_cast<QString*>(_v)); break;
        case 4: _t->setWidgetFunction(*reinterpret_cast<QJSValue*>(_v)); break;
        case 5: _t->setFromXmlFunction(*reinterpret_cast<QJSValue*>(_v)); break;
        case 6: _t->setToXmlFunction(*reinterpret_cast<QJSValue*>(_v)); break;
        case 7: _t->setMatchingTracksFunction(*reinterpret_cast<QJSValue*>(_v)); break;
        case 8: _t->setTrackMatchesFunction(*reinterpret_cast<QJSValue*>(_v)); break;
        case 9: _t->setToStringFunction(*reinterpret_cast<QJSValue*>(_v)); break;
        case 10: _t->setInitFunction(*reinterpret_cast<QJSValue*>(_v)); break;
        default: break;
        }
    }
}

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

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

int AmarokScript::ScriptableBiasFactory::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 < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 1;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
    return _id;
}
namespace {
struct qt_meta_tag_ZN12AmarokScript14ScriptableBiasE_t {};
} // unnamed namespace

template <> constexpr inline auto AmarokScript::ScriptableBias::qt_create_metaobjectdata<qt_meta_tag_ZN12AmarokScript14ScriptableBiasE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "AmarokScript::ScriptableBias",
        "slotMatchingTracks",
        "Dynamic::TrackSet",
        "",
        "Meta::TrackList",
        "playlist",
        "contextCount",
        "finalCount",
        "Dynamic::TrackCollectionPtr",
        "universe",
        "removeBias",
        "invalidate",
        "replace",
        "Dynamic::BiasPtr",
        "newBias",
        "ready",
        "trackSet"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'slotMatchingTracks'
        QtMocHelpers::SlotData<Dynamic::TrackSet(const Meta::TrackList &, int, int, const Dynamic::TrackCollectionPtr &) const>(1, 3, QMC::AccessPrivate, 0x80000000 | 2, {{
            { 0x80000000 | 4, 5 }, { QMetaType::Int, 6 }, { QMetaType::Int, 7 }, { 0x80000000 | 8, 9 },
        }}),
        // Slot 'removeBias'
        QtMocHelpers::SlotData<void()>(10, 3, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'invalidate'
        QtMocHelpers::SlotData<void()>(11, 3, QMC::AccessPublic, QMetaType::Void),
        // Slot 'replace'
        QtMocHelpers::SlotData<void(const Dynamic::BiasPtr &)>(12, 3, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 14 },
        }}),
        // Slot 'ready'
        QtMocHelpers::SlotData<void(const Dynamic::TrackSet &)>(15, 3, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 2, 16 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ScriptableBias, qt_meta_tag_ZN12AmarokScript14ScriptableBiasE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject AmarokScript::ScriptableBias::staticMetaObject = { {
    QMetaObject::SuperData::link<Dynamic::AbstractBias::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12AmarokScript14ScriptableBiasE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12AmarokScript14ScriptableBiasE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12AmarokScript14ScriptableBiasE_t>.metaTypes,
    nullptr
} };

void AmarokScript::ScriptableBias::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ScriptableBias *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { Dynamic::TrackSet _r = _t->slotMatchingTracks((*reinterpret_cast<std::add_pointer_t<Meta::TrackList>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<Dynamic::TrackCollectionPtr>>(_a[4])));
            if (_a[0]) *reinterpret_cast<Dynamic::TrackSet*>(_a[0]) = std::move(_r); }  break;
        case 1: _t->removeBias(); break;
        case 2: _t->invalidate(); break;
        case 3: _t->replace((*reinterpret_cast<std::add_pointer_t<Dynamic::BiasPtr>>(_a[1]))); break;
        case 4: _t->ready((*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 3:
            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;
        }
    }
}

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

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

int AmarokScript::ScriptableBias::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Dynamic::AbstractBias::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;
}
namespace {
struct qt_meta_tag_ZN12AmarokScript23TrackSetExporterWrapperE_t {};
} // unnamed namespace

template <> constexpr inline auto AmarokScript::TrackSetExporterWrapper::qt_create_metaobjectdata<qt_meta_tag_ZN12AmarokScript23TrackSetExporterWrapperE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "AmarokScript::TrackSetExporterWrapper",
        "trackSetConstructor",
        "QJSValue",
        "",
        "arg0",
        "arg1"
    };

    QtMocHelpers::UintData qt_methods {
        // Method 'trackSetConstructor'
        QtMocHelpers::MethodData<QJSValue(QJSValue, QJSValue)>(1, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { 0x80000000 | 2, 4 }, { 0x80000000 | 2, 5 },
        }}),
        // Method 'trackSetConstructor'
        QtMocHelpers::MethodData<QJSValue(QJSValue)>(1, 3, QMC::AccessPublic | QMC::MethodCloned, 0x80000000 | 2, {{
            { 0x80000000 | 2, 4 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<TrackSetExporterWrapper, qt_meta_tag_ZN12AmarokScript23TrackSetExporterWrapperE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject AmarokScript::TrackSetExporterWrapper::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12AmarokScript23TrackSetExporterWrapperE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12AmarokScript23TrackSetExporterWrapperE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12AmarokScript23TrackSetExporterWrapperE_t>.metaTypes,
    nullptr
} };

void AmarokScript::TrackSetExporterWrapper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<TrackSetExporterWrapper *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { QJSValue _r = _t->trackSetConstructor((*reinterpret_cast<std::add_pointer_t<QJSValue>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QJSValue>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QJSValue*>(_a[0]) = std::move(_r); }  break;
        case 1: { QJSValue _r = _t->trackSetConstructor((*reinterpret_cast<std::add_pointer_t<QJSValue>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QJSValue*>(_a[0]) = std::move(_r); }  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 1:
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QJSValue >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QJSValue >(); break;
            }
            break;
        }
    }
}

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

void *AmarokScript::TrackSetExporterWrapper::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12AmarokScript23TrackSetExporterWrapperE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int AmarokScript::TrackSetExporterWrapper::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 < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    return _id;
}
namespace {
struct qt_meta_tag_ZN12AmarokScript16TrackSetExporterE_t {};
} // unnamed namespace

template <> constexpr inline auto AmarokScript::TrackSetExporter::qt_create_metaobjectdata<qt_meta_tag_ZN12AmarokScript16TrackSetExporterE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "AmarokScript::TrackSetExporter",
        "reset",
        "",
        "value",
        "containsUid",
        "uid",
        "containsTrack",
        "Meta::TrackPtr",
        "track",
        "getRandomTrack",
        "uniteTrack",
        "uniteTrackSet",
        "Dynamic::TrackSet",
        "trackSet",
        "uniteUids",
        "uids",
        "intersectTrackSet",
        "intersectUids",
        "subtractTrack",
        "subtractTrackSet",
        "subtractUids",
        "count",
        "isFull",
        "isOutstanding",
        "isEmpty"
    };

    QtMocHelpers::UintData qt_methods {
        // Method 'reset'
        QtMocHelpers::MethodData<void(bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Method 'containsUid'
        QtMocHelpers::MethodData<bool(const QString &) const>(4, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 5 },
        }}),
        // Method 'containsTrack'
        QtMocHelpers::MethodData<bool(const Meta::TrackPtr &) const>(6, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Method 'getRandomTrack'
        QtMocHelpers::MethodData<Meta::TrackPtr() const>(9, 2, QMC::AccessPublic, 0x80000000 | 7),
        // Method 'uniteTrack'
        QtMocHelpers::MethodData<void(const Meta::TrackPtr &)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Method 'uniteTrackSet'
        QtMocHelpers::MethodData<void(const Dynamic::TrackSet &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 12, 13 },
        }}),
        // Method 'uniteUids'
        QtMocHelpers::MethodData<void(const QStringList &)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 15 },
        }}),
        // Method 'intersectTrackSet'
        QtMocHelpers::MethodData<void(const Dynamic::TrackSet &)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 12, 13 },
        }}),
        // Method 'intersectUids'
        QtMocHelpers::MethodData<void(const QStringList &)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 15 },
        }}),
        // Method 'subtractTrack'
        QtMocHelpers::MethodData<void(const Meta::TrackPtr &)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Method 'subtractTrackSet'
        QtMocHelpers::MethodData<void(const Dynamic::TrackSet &)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 12, 13 },
        }}),
        // Method 'subtractUids'
        QtMocHelpers::MethodData<void(const QStringList &)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 15 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'count'
        QtMocHelpers::PropertyData<int>(21, QMetaType::Int, QMC::DefaultPropertyFlags),
        // property 'isFull'
        QtMocHelpers::PropertyData<bool>(22, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'isOutstanding'
        QtMocHelpers::PropertyData<bool>(23, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'isEmpty'
        QtMocHelpers::PropertyData<bool>(24, QMetaType::Bool, QMC::DefaultPropertyFlags),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<TrackSetExporter, qt_meta_tag_ZN12AmarokScript16TrackSetExporterE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject AmarokScript::TrackSetExporter::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12AmarokScript16TrackSetExporterE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12AmarokScript16TrackSetExporterE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12AmarokScript16TrackSetExporterE_t>.metaTypes,
    nullptr
} };

void AmarokScript::TrackSetExporter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<TrackSetExporter *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->reset((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 1: { bool _r = _t->containsUid((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 2: { bool _r = _t->containsTrack((*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 3: { Meta::TrackPtr _r = _t->getRandomTrack();
            if (_a[0]) *reinterpret_cast<Meta::TrackPtr*>(_a[0]) = std::move(_r); }  break;
        case 4: _t->uniteTrack((*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[1]))); break;
        case 5: _t->uniteTrackSet((*reinterpret_cast<std::add_pointer_t<Dynamic::TrackSet>>(_a[1]))); break;
        case 6: _t->uniteUids((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 7: _t->intersectTrackSet((*reinterpret_cast<std::add_pointer_t<Dynamic::TrackSet>>(_a[1]))); break;
        case 8: _t->intersectUids((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 9: _t->subtractTrack((*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[1]))); break;
        case 10: _t->subtractTrackSet((*reinterpret_cast<std::add_pointer_t<Dynamic::TrackSet>>(_a[1]))); break;
        case 11: _t->subtractUids((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); 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< Dynamic::TrackSet >(); break;
            }
            break;
        case 7:
            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 10:
            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;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<int*>(_v) = _t->trackCount(); break;
        case 1: *reinterpret_cast<bool*>(_v) = _t->isFull(); break;
        case 2: *reinterpret_cast<bool*>(_v) = _t->isOutstanding(); break;
        case 3: *reinterpret_cast<bool*>(_v) = _t->isEmpty(); break;
        default: break;
        }
    }
}

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

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

int AmarokScript::TrackSetExporter::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 < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    return _id;
}
QT_WARNING_POP
