/****************************************************************************
** Meta object code from reading C++ file 'downloadlinkinfo.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 "../../../../../knewstuff-6.27.0/src/qtquick/downloadlinkinfo.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 'downloadlinkinfo.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_ZN16DownloadLinkInfoE_t {};
} // unnamed namespace

template <> constexpr inline auto DownloadLinkInfo::qt_create_metaobjectdata<qt_meta_tag_ZN16DownloadLinkInfoE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "DownloadLinkInfo",
        "name",
        "priceAmount",
        "distributionType",
        "descriptionLink",
        "id",
        "isDownloadtypeLink",
        "size",
        "formattedSize",
        "icon"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
        // property 'name'
        QtMocHelpers::PropertyData<QString>(1, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'priceAmount'
        QtMocHelpers::PropertyData<QString>(2, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'distributionType'
        QtMocHelpers::PropertyData<QString>(3, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'descriptionLink'
        QtMocHelpers::PropertyData<QString>(4, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'id'
        QtMocHelpers::PropertyData<int>(5, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'isDownloadtypeLink'
        QtMocHelpers::PropertyData<bool>(6, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'size'
        QtMocHelpers::PropertyData<quint64>(7, QMetaType::ULongLong, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'formattedSize'
        QtMocHelpers::PropertyData<QString>(8, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'icon'
        QtMocHelpers::PropertyData<QString>(9, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DownloadLinkInfo, qt_meta_tag_ZN16DownloadLinkInfoE_t>(QMC::PropertyAccessInStaticMetaCall, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject DownloadLinkInfo::staticMetaObject = { {
    nullptr,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16DownloadLinkInfoE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16DownloadLinkInfoE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN16DownloadLinkInfoE_t>.metaTypes,
    nullptr
} };

void DownloadLinkInfo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = reinterpret_cast<DownloadLinkInfo *>(_o);
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QString*>(_v) = _t->name(); break;
        case 1: *reinterpret_cast<QString*>(_v) = _t->priceAmount(); break;
        case 2: *reinterpret_cast<QString*>(_v) = _t->distributionType(); break;
        case 3: *reinterpret_cast<QString*>(_v) = _t->descriptionLink(); break;
        case 4: *reinterpret_cast<int*>(_v) = _t->id(); break;
        case 5: *reinterpret_cast<bool*>(_v) = _t->isDownloadtypeLink(); break;
        case 6: *reinterpret_cast<quint64*>(_v) = _t->size(); break;
        case 7: *reinterpret_cast<QString*>(_v) = _t->formattedSize(); break;
        case 8: *reinterpret_cast<QString*>(_v) = _t->icon(); break;
        default: break;
        }
    }
}
QT_WARNING_POP
