/****************************************************************************
** Meta object code from reading C++ file 'snap.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 "../../../snapd-qt/Snapd/snap.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 'snap.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_ZN10QSnapdSnapE_t {};
} // unnamed namespace

template <> constexpr inline auto QSnapdSnap::qt_create_metaobjectdata<qt_meta_tag_ZN10QSnapdSnapE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "QSnapdSnap",
        "app",
        "QSnapdApp*",
        "",
        "category",
        "QSnapdCategory*",
        "channel",
        "QSnapdChannel*",
        "matchChannel",
        "links",
        "QList<QSnapdLink*>",
        "media",
        "QSnapdMedia*",
        "price",
        "QSnapdPrice*",
        "appCount",
        "base",
        "broken",
        "categoryCount",
        "channelCount",
        "commonIds",
        "confinement",
        "QSnapdEnums::SnapConfinement",
        "contact",
        "description",
        "developer",
        "devmode",
        "downloadSize",
        "hold",
        "proceedTime",
        "icon",
        "id",
        "installDate",
        "installedSize",
        "jailmode",
        "license",
        "mountedFrom",
        "name",
        "priceCount",
        "isPrivate",
        "publisherDisplayName",
        "publisherId",
        "publisherUsername",
        "publisherValidation",
        "QSnapdEnums::PublisherValidation",
        "revision",
        "snapType",
        "QSnapdEnums::SnapType",
        "status",
        "QSnapdEnums::SnapStatus",
        "storeUrl",
        "summary",
        "title",
        "trackingChannel",
        "tracks",
        "trymode",
        "version",
        "website"
    };

    QtMocHelpers::UintData qt_methods {
        // Method 'app'
        QtMocHelpers::MethodData<QSnapdApp *(int) const>(1, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::Int, 3 },
        }}),
        // Method 'category'
        QtMocHelpers::MethodData<QSnapdCategory *(int) const>(4, 3, QMC::AccessPublic, 0x80000000 | 5, {{
            { QMetaType::Int, 3 },
        }}),
        // Method 'channel'
        QtMocHelpers::MethodData<QSnapdChannel *(int) const>(6, 3, QMC::AccessPublic, 0x80000000 | 7, {{
            { QMetaType::Int, 3 },
        }}),
        // Method 'matchChannel'
        QtMocHelpers::MethodData<QSnapdChannel *(const QString &) const>(8, 3, QMC::AccessPublic, 0x80000000 | 7, {{
            { QMetaType::QString, 3 },
        }}),
        // Method 'links'
        QtMocHelpers::MethodData<QList<QSnapdLink*>() const>(9, 3, QMC::AccessPublic, 0x80000000 | 10),
        // Method 'media'
        QtMocHelpers::MethodData<QSnapdMedia *(int) const>(11, 3, QMC::AccessPublic, 0x80000000 | 12, {{
            { QMetaType::Int, 3 },
        }}),
        // Method 'price'
        QtMocHelpers::MethodData<QSnapdPrice *(int) const>(13, 3, QMC::AccessPublic, 0x80000000 | 14, {{
            { QMetaType::Int, 3 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'appCount'
        QtMocHelpers::PropertyData<int>(15, QMetaType::Int, QMC::DefaultPropertyFlags),
        // property 'base'
        QtMocHelpers::PropertyData<QString>(16, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'broken'
        QtMocHelpers::PropertyData<QString>(17, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'categoryCount'
        QtMocHelpers::PropertyData<int>(18, QMetaType::Int, QMC::DefaultPropertyFlags),
        // property 'channel'
        QtMocHelpers::PropertyData<QString>(6, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'channelCount'
        QtMocHelpers::PropertyData<int>(19, QMetaType::Int, QMC::DefaultPropertyFlags),
        // property 'commonIds'
        QtMocHelpers::PropertyData<QStringList>(20, QMetaType::QStringList, QMC::DefaultPropertyFlags),
        // property 'confinement'
        QtMocHelpers::PropertyData<QSnapdEnums::SnapConfinement>(21, 0x80000000 | 22, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'contact'
        QtMocHelpers::PropertyData<QString>(23, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'description'
        QtMocHelpers::PropertyData<QString>(24, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'developer'
        QtMocHelpers::PropertyData<QString>(25, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'devmode'
        QtMocHelpers::PropertyData<bool>(26, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'downloadSize'
        QtMocHelpers::PropertyData<qint64>(27, QMetaType::LongLong, QMC::DefaultPropertyFlags),
        // property 'hold'
        QtMocHelpers::PropertyData<QDateTime>(28, QMetaType::QDateTime, QMC::DefaultPropertyFlags),
        // property 'proceedTime'
        QtMocHelpers::PropertyData<QDateTime>(29, QMetaType::QDateTime, QMC::DefaultPropertyFlags),
        // property 'icon'
        QtMocHelpers::PropertyData<QString>(30, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'id'
        QtMocHelpers::PropertyData<QString>(31, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'installDate'
        QtMocHelpers::PropertyData<QDateTime>(32, QMetaType::QDateTime, QMC::DefaultPropertyFlags),
        // property 'installedSize'
        QtMocHelpers::PropertyData<qint64>(33, QMetaType::LongLong, QMC::DefaultPropertyFlags),
        // property 'jailmode'
        QtMocHelpers::PropertyData<bool>(34, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'license'
        QtMocHelpers::PropertyData<QString>(35, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'mountedFrom'
        QtMocHelpers::PropertyData<QString>(36, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'name'
        QtMocHelpers::PropertyData<QString>(37, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'priceCount'
        QtMocHelpers::PropertyData<int>(38, QMetaType::Int, QMC::DefaultPropertyFlags),
        // property 'isPrivate'
        QtMocHelpers::PropertyData<bool>(39, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'publisherDisplayName'
        QtMocHelpers::PropertyData<QString>(40, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'publisherId'
        QtMocHelpers::PropertyData<QString>(41, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'publisherUsername'
        QtMocHelpers::PropertyData<QString>(42, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'publisherValidation'
        QtMocHelpers::PropertyData<QSnapdEnums::PublisherValidation>(43, 0x80000000 | 44, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'revision'
        QtMocHelpers::PropertyData<QString>(45, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'snapType'
        QtMocHelpers::PropertyData<QSnapdEnums::SnapType>(46, 0x80000000 | 47, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'status'
        QtMocHelpers::PropertyData<QSnapdEnums::SnapStatus>(48, 0x80000000 | 49, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'storeUrl'
        QtMocHelpers::PropertyData<QString>(50, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'summary'
        QtMocHelpers::PropertyData<QString>(51, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'title'
        QtMocHelpers::PropertyData<QString>(52, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'trackingChannel'
        QtMocHelpers::PropertyData<QString>(53, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'tracks'
        QtMocHelpers::PropertyData<QStringList>(54, QMetaType::QStringList, QMC::DefaultPropertyFlags),
        // property 'trymode'
        QtMocHelpers::PropertyData<bool>(55, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'version'
        QtMocHelpers::PropertyData<QString>(56, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'website'
        QtMocHelpers::PropertyData<QString>(57, QMetaType::QString, QMC::DefaultPropertyFlags),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<QSnapdSnap, qt_meta_tag_ZN10QSnapdSnapE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject QSnapdSnap::staticMetaObject = { {
    QMetaObject::SuperData::link<QSnapdWrappedObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10QSnapdSnapE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10QSnapdSnapE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10QSnapdSnapE_t>.metaTypes,
    nullptr
} };

void QSnapdSnap::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<QSnapdSnap *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { QSnapdApp* _r = _t->app((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QSnapdApp**>(_a[0]) = std::move(_r); }  break;
        case 1: { QSnapdCategory* _r = _t->category((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QSnapdCategory**>(_a[0]) = std::move(_r); }  break;
        case 2: { QSnapdChannel* _r = _t->channel((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QSnapdChannel**>(_a[0]) = std::move(_r); }  break;
        case 3: { QSnapdChannel* _r = _t->matchChannel((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QSnapdChannel**>(_a[0]) = std::move(_r); }  break;
        case 4: { QList<QSnapdLink*> _r = _t->links();
            if (_a[0]) *reinterpret_cast<QList<QSnapdLink*>*>(_a[0]) = std::move(_r); }  break;
        case 5: { QSnapdMedia* _r = _t->media((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QSnapdMedia**>(_a[0]) = std::move(_r); }  break;
        case 6: { QSnapdPrice* _r = _t->price((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QSnapdPrice**>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<int*>(_v) = _t->appCount(); break;
        case 1: *reinterpret_cast<QString*>(_v) = _t->base(); break;
        case 2: *reinterpret_cast<QString*>(_v) = _t->broken(); break;
        case 3: *reinterpret_cast<int*>(_v) = _t->categoryCount(); break;
        case 4: *reinterpret_cast<QString*>(_v) = _t->channel(); break;
        case 5: *reinterpret_cast<int*>(_v) = _t->channelCount(); break;
        case 6: *reinterpret_cast<QStringList*>(_v) = _t->commonIds(); break;
        case 7: *reinterpret_cast<QSnapdEnums::SnapConfinement*>(_v) = _t->confinement(); break;
        case 8: *reinterpret_cast<QString*>(_v) = _t->contact(); break;
        case 9: *reinterpret_cast<QString*>(_v) = _t->description(); break;
        case 10: *reinterpret_cast<QString*>(_v) = _t->developer(); break;
        case 11: *reinterpret_cast<bool*>(_v) = _t->devmode(); break;
        case 12: *reinterpret_cast<qint64*>(_v) = _t->downloadSize(); break;
        case 13: *reinterpret_cast<QDateTime*>(_v) = _t->hold(); break;
        case 14: *reinterpret_cast<QDateTime*>(_v) = _t->proceedTime(); break;
        case 15: *reinterpret_cast<QString*>(_v) = _t->icon(); break;
        case 16: *reinterpret_cast<QString*>(_v) = _t->id(); break;
        case 17: *reinterpret_cast<QDateTime*>(_v) = _t->installDate(); break;
        case 18: *reinterpret_cast<qint64*>(_v) = _t->installedSize(); break;
        case 19: *reinterpret_cast<bool*>(_v) = _t->jailmode(); break;
        case 20: *reinterpret_cast<QString*>(_v) = _t->license(); break;
        case 21: *reinterpret_cast<QString*>(_v) = _t->mountedFrom(); break;
        case 22: *reinterpret_cast<QString*>(_v) = _t->name(); break;
        case 23: *reinterpret_cast<int*>(_v) = _t->priceCount(); break;
        case 24: *reinterpret_cast<bool*>(_v) = _t->isPrivate(); break;
        case 25: *reinterpret_cast<QString*>(_v) = _t->publisherDisplayName(); break;
        case 26: *reinterpret_cast<QString*>(_v) = _t->publisherId(); break;
        case 27: *reinterpret_cast<QString*>(_v) = _t->publisherUsername(); break;
        case 28: *reinterpret_cast<QSnapdEnums::PublisherValidation*>(_v) = _t->publisherValidation(); break;
        case 29: *reinterpret_cast<QString*>(_v) = _t->revision(); break;
        case 30: *reinterpret_cast<QSnapdEnums::SnapType*>(_v) = _t->snapType(); break;
        case 31: *reinterpret_cast<QSnapdEnums::SnapStatus*>(_v) = _t->status(); break;
        case 32: *reinterpret_cast<QString*>(_v) = _t->summary(); break;
        case 33: *reinterpret_cast<QString*>(_v) = _t->summary(); break;
        case 34: *reinterpret_cast<QString*>(_v) = _t->title(); break;
        case 35: *reinterpret_cast<QString*>(_v) = _t->trackingChannel(); break;
        case 36: *reinterpret_cast<QStringList*>(_v) = _t->tracks(); break;
        case 37: *reinterpret_cast<bool*>(_v) = _t->trymode(); break;
        case 38: *reinterpret_cast<QString*>(_v) = _t->version(); break;
        case 39: *reinterpret_cast<QString*>(_v) = _t->website(); break;
        default: break;
        }
    }
}

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

void *QSnapdSnap::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10QSnapdSnapE_t>.strings))
        return static_cast<void*>(this);
    return QSnapdWrappedObject::qt_metacast(_clname);
}

int QSnapdSnap::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QSnapdWrappedObject::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 -= 40;
    }
    return _id;
}
QT_WARNING_POP
