/****************************************************************************
** Meta object code from reading C++ file 'AmarokCollectionViewScript.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/AmarokCollectionViewScript.h"
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'AmarokCollectionViewScript.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_ZN12AmarokScript26AmarokCollectionViewScriptE_t {};
} // unnamed namespace

template <> constexpr inline auto AmarokScript::AmarokCollectionViewScript::qt_create_metaobjectdata<qt_meta_tag_ZN12AmarokScript26AmarokCollectionViewScriptE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "AmarokScript::AmarokCollectionViewScript",
        "filterChanged",
        "",
        "setLevel",
        "level",
        "type",
        "setAction",
        "QJSValue",
        "value",
        "filter",
        "selection",
        "showYears",
        "showTrackNumbers",
        "showCovers",
        "levels",
        "QList<int>",
        "mergedView",
        "Category",
        "None",
        "Album",
        "Artist",
        "AlbumArtist",
        "Composer",
        "Genre",
        "Year",
        "Label"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'filterChanged'
        QtMocHelpers::SignalData<void(QString)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Slot 'setLevel'
        QtMocHelpers::SlotData<void(int, int)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 4 }, { QMetaType::Int, 5 },
        }}),
        // Slot 'setAction'
        QtMocHelpers::SlotData<void(const QJSValue &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'filter'
        QtMocHelpers::PropertyData<QString>(9, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'selection'
        QtMocHelpers::PropertyData<QJSValue>(10, 0x80000000 | 7, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'showYears'
        QtMocHelpers::PropertyData<bool>(11, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'showTrackNumbers'
        QtMocHelpers::PropertyData<bool>(12, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'showCovers'
        QtMocHelpers::PropertyData<bool>(13, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'levels'
        QtMocHelpers::PropertyData<QList<int>>(14, 0x80000000 | 15, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'mergedView'
        QtMocHelpers::PropertyData<bool>(16, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'Category'
        QtMocHelpers::EnumData<enum Category>(17, 17, QMC::EnumFlags{}).add({
            {   18, Category::None },
            {   19, Category::Album },
            {   20, Category::Artist },
            {   21, Category::AlbumArtist },
            {   22, Category::Composer },
            {   23, Category::Genre },
            {   24, Category::Year },
            {   25, Category::Label },
        }),
    };
    return QtMocHelpers::metaObjectData<AmarokCollectionViewScript, qt_meta_tag_ZN12AmarokScript26AmarokCollectionViewScriptE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject AmarokScript::AmarokCollectionViewScript::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12AmarokScript26AmarokCollectionViewScriptE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12AmarokScript26AmarokCollectionViewScriptE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12AmarokScript26AmarokCollectionViewScriptE_t>.metaTypes,
    nullptr
} };

void AmarokScript::AmarokCollectionViewScript::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<AmarokCollectionViewScript *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->filterChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->setLevel((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 2: _t->setAction((*reinterpret_cast<std::add_pointer_t<QJSValue>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); 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< QJSValue >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (AmarokCollectionViewScript::*)(QString )>(_a, &AmarokCollectionViewScript::filterChanged, 0))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QJSValue >(); break;
        case 5:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<int> >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QString*>(_v) = _t->filter(); break;
        case 1: *reinterpret_cast<QJSValue*>(_v) = _t->selectionScriptValue(); break;
        case 2: *reinterpret_cast<bool*>(_v) = _t->showYears(); break;
        case 3: *reinterpret_cast<bool*>(_v) = _t->showTrackNumbers(); break;
        case 4: *reinterpret_cast<bool*>(_v) = _t->showCovers(); break;
        case 5: *reinterpret_cast<QList<int>*>(_v) = _t->levels(); break;
        case 6: *reinterpret_cast<bool*>(_v) = _t->mergedView(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setFilter(*reinterpret_cast<QString*>(_v)); break;
        case 2: _t->setShowYears(*reinterpret_cast<bool*>(_v)); break;
        case 3: _t->setShowTrackNumbers(*reinterpret_cast<bool*>(_v)); break;
        case 4: _t->setShowCovers(*reinterpret_cast<bool*>(_v)); break;
        case 5: _t->setLevels(*reinterpret_cast<QList<int>*>(_v)); break;
        case 6: _t->setMergedView(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

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

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

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

// SIGNAL 0
void AmarokScript::AmarokCollectionViewScript::filterChanged(QString _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}
namespace {
struct qt_meta_tag_ZN12AmarokScript18CollectionViewItemE_t {};
} // unnamed namespace

template <> constexpr inline auto AmarokScript::CollectionViewItem::qt_create_metaobjectdata<qt_meta_tag_ZN12AmarokScript18CollectionViewItemE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "AmarokScript::CollectionViewItem",
        "loaded",
        "",
        "CollectionTreeItem*",
        "slotDataChanged",
        "QModelIndex",
        "topLeft",
        "bottomRight",
        "queryMaker",
        "Collections::QueryMaker*",
        "addFilter",
        "child",
        "row",
        "loadChildren",
        "track",
        "Meta::TrackPtr",
        "parent",
        "childCount",
        "children",
        "QList<CollectionTreeItem*>",
        "level",
        "parentCollection",
        "Collections::Collection*",
        "isCollection",
        "isDataItem",
        "isAlbumItem",
        "isTrackItem",
        "isVariousArtistItem",
        "isNoLabelItem",
        "childrenLoaded"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'loaded'
        QtMocHelpers::SignalData<void(CollectionTreeItem *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Slot 'slotDataChanged'
        QtMocHelpers::SlotData<void(const QModelIndex &, const QModelIndex &)>(4, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 5, 6 }, { 0x80000000 | 5, 7 },
        }}),
        // Method 'queryMaker'
        QtMocHelpers::MethodData<Collections::QueryMaker *()>(8, 2, QMC::AccessPublic, 0x80000000 | 9),
        // Method 'addFilter'
        QtMocHelpers::MethodData<void(Collections::QueryMaker *)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 8 },
        }}),
        // Method 'child'
        QtMocHelpers::MethodData<CollectionTreeItem *(int)>(11, 2, QMC::AccessPublic, 0x80000000 | 3, {{
            { QMetaType::Int, 12 },
        }}),
        // Method 'loadChildren'
        QtMocHelpers::MethodData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'track'
        QtMocHelpers::MethodData<Meta::TrackPtr()>(14, 2, QMC::AccessPublic, 0x80000000 | 15),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'parent'
        QtMocHelpers::PropertyData<CollectionTreeItem*>(16, 0x80000000 | 3, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'childCount'
        QtMocHelpers::PropertyData<int>(17, QMetaType::Int, QMC::DefaultPropertyFlags),
        // property 'children'
        QtMocHelpers::PropertyData<QList<CollectionTreeItem*>>(18, 0x80000000 | 19, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'row'
        QtMocHelpers::PropertyData<int>(12, QMetaType::Int, QMC::DefaultPropertyFlags),
        // property 'level'
        QtMocHelpers::PropertyData<int>(20, QMetaType::Int, QMC::DefaultPropertyFlags),
        // property 'parentCollection'
        QtMocHelpers::PropertyData<Collections::Collection*>(21, 0x80000000 | 22, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'isCollection'
        QtMocHelpers::PropertyData<bool>(23, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'isDataItem'
        QtMocHelpers::PropertyData<bool>(24, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'isAlbumItem'
        QtMocHelpers::PropertyData<bool>(25, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'isTrackItem'
        QtMocHelpers::PropertyData<bool>(26, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'isVariousArtistItem'
        QtMocHelpers::PropertyData<bool>(27, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'isNoLabelItem'
        QtMocHelpers::PropertyData<bool>(28, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'childrenLoaded'
        QtMocHelpers::PropertyData<bool>(29, QMetaType::Bool, QMC::DefaultPropertyFlags),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<CollectionViewItem, qt_meta_tag_ZN12AmarokScript18CollectionViewItemE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject AmarokScript::CollectionViewItem::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12AmarokScript18CollectionViewItemE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12AmarokScript18CollectionViewItemE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12AmarokScript18CollectionViewItemE_t>.metaTypes,
    nullptr
} };

void AmarokScript::CollectionViewItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<CollectionViewItem *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->loaded((*reinterpret_cast<std::add_pointer_t<CollectionTreeItem*>>(_a[1]))); break;
        case 1: _t->slotDataChanged((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[2]))); break;
        case 2: { Collections::QueryMaker* _r = _t->queryMaker();
            if (_a[0]) *reinterpret_cast<Collections::QueryMaker**>(_a[0]) = std::move(_r); }  break;
        case 3: _t->addFilter((*reinterpret_cast<std::add_pointer_t<Collections::QueryMaker*>>(_a[1]))); break;
        case 4: { CollectionTreeItem* _r = _t->child((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast<CollectionTreeItem**>(_a[0]) = std::move(_r); }  break;
        case 5: _t->loadChildren(); break;
        case 6: { Meta::TrackPtr _r = _t->track();
            if (_a[0]) *reinterpret_cast<Meta::TrackPtr*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (CollectionViewItem::*)(CollectionTreeItem * )>(_a, &CollectionViewItem::loaded, 0))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<CollectionTreeItem**>(_v) = _t->parent(); break;
        case 1: *reinterpret_cast<int*>(_v) = _t->childCount(); break;
        case 2: *reinterpret_cast<QList<CollectionTreeItem*>*>(_v) = _t->children(); break;
        case 3: *reinterpret_cast<int*>(_v) = _t->row(); break;
        case 4: *reinterpret_cast<int*>(_v) = _t->level(); break;
        case 5: *reinterpret_cast<Collections::Collection**>(_v) = _t->parentCollection(); break;
        case 6: *reinterpret_cast<bool*>(_v) = _t->isCollection(); break;
        case 7: *reinterpret_cast<bool*>(_v) = _t->isDataItem(); break;
        case 8: *reinterpret_cast<bool*>(_v) = _t->isAlbumItem(); break;
        case 9: *reinterpret_cast<bool*>(_v) = _t->isTrackItem(); break;
        case 10: *reinterpret_cast<bool*>(_v) = _t->isVariousArtistItem(); break;
        case 11: *reinterpret_cast<bool*>(_v) = _t->isNoLabelItem(); break;
        case 12: *reinterpret_cast<bool*>(_v) = _t->childrenLoaded(); break;
        default: break;
        }
    }
}

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

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

int AmarokScript::CollectionViewItem::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 < 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 -= 13;
    }
    return _id;
}

// SIGNAL 0
void AmarokScript::CollectionViewItem::loaded(CollectionTreeItem * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}
namespace {
struct qt_meta_tag_ZN12AmarokScript9SelectionE_t {};
} // unnamed namespace

template <> constexpr inline auto AmarokScript::Selection::qt_create_metaobjectdata<qt_meta_tag_ZN12AmarokScript9SelectionE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "AmarokScript::Selection",
        "queryMaker",
        "Collections::QueryMaker*",
        "",
        "singleCollection",
        "selectedItems",
        "QList<CollectionTreeItem*>"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'queryMaker'
        QtMocHelpers::SlotData<Collections::QueryMaker *()>(1, 3, QMC::AccessPublic, 0x80000000 | 2),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'singleCollection'
        QtMocHelpers::PropertyData<bool>(4, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'selectedItems'
        QtMocHelpers::PropertyData<QList<CollectionTreeItem*>>(5, 0x80000000 | 6, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Selection, qt_meta_tag_ZN12AmarokScript9SelectionE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject AmarokScript::Selection::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12AmarokScript9SelectionE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12AmarokScript9SelectionE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12AmarokScript9SelectionE_t>.metaTypes,
    nullptr
} };

void AmarokScript::Selection::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Selection *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { Collections::QueryMaker* _r = _t->queryMaker();
            if (_a[0]) *reinterpret_cast<Collections::QueryMaker**>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<bool*>(_v) = _t->singleCollection(); break;
        case 1: *reinterpret_cast<QList<CollectionTreeItem*>*>(_v) = _t->selectedItems(); break;
        default: break;
        }
    }
}

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

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

int AmarokScript::Selection::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 -= 2;
    }
    return _id;
}
QT_WARNING_POP
