/****************************************************************************
** Meta object code from reading C++ file 'entry.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/core/entry.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 'entry.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_ZN7KNSCore5EntryE_t {};
} // unnamed namespace

template <> constexpr inline auto KNSCore::Entry::qt_create_metaobjectdata<qt_meta_tag_ZN7KNSCore5EntryE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KNSCore::Entry",
        "providerId",
        "uniqueId",
        "status",
        "KNSCore::Entry::Status",
        "entryType",
        "KNSCore::Entry::EntryType",
        "name",
        "author",
        "KNSCore::Author",
        "shortSummary",
        "summary",
        "homepage",
        "QUrl",
        "donationLink",
        "numberOfComments",
        "rating",
        "downloadCount",
        "downloadLinks",
        "QList<KNSCore::Entry::DownloadLinkInformation>",
        "Status",
        "Invalid",
        "Downloadable",
        "Installed",
        "Updateable",
        "Deleted",
        "Installing",
        "Updating",
        "EntryEvent",
        "UnknownEvent",
        "StatusChangedEvent",
        "AdoptedEvent",
        "DetailsLoadedEvent",
        "EntryType",
        "CatalogEntry",
        "GroupEntry"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
        // property 'providerId'
        QtMocHelpers::PropertyData<QString>(1, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'uniqueId'
        QtMocHelpers::PropertyData<QString>(2, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'status'
        QtMocHelpers::PropertyData<KNSCore::Entry::Status>(3, 0x80000000 | 4, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'entryType'
        QtMocHelpers::PropertyData<KNSCore::Entry::EntryType>(5, 0x80000000 | 6, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'name'
        QtMocHelpers::PropertyData<QString>(7, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'author'
        QtMocHelpers::PropertyData<KNSCore::Author>(8, 0x80000000 | 9, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'shortSummary'
        QtMocHelpers::PropertyData<QString>(10, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'summary'
        QtMocHelpers::PropertyData<QString>(11, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'homepage'
        QtMocHelpers::PropertyData<QUrl>(12, 0x80000000 | 13, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'donationLink'
        QtMocHelpers::PropertyData<QString>(14, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'numberOfComments'
        QtMocHelpers::PropertyData<int>(15, QMetaType::Int, QMC::DefaultPropertyFlags),
        // property 'rating'
        QtMocHelpers::PropertyData<int>(16, QMetaType::Int, QMC::DefaultPropertyFlags),
        // property 'downloadCount'
        QtMocHelpers::PropertyData<int>(17, QMetaType::Int, QMC::DefaultPropertyFlags),
        // property 'downloadLinks'
        QtMocHelpers::PropertyData<QList<KNSCore::Entry::DownloadLinkInformation>>(18, 0x80000000 | 19, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'Status'
        QtMocHelpers::EnumData<enum Status>(20, 20, QMC::EnumFlags{}).add({
            {   21, Status::Invalid },
            {   22, Status::Downloadable },
            {   23, Status::Installed },
            {   24, Status::Updateable },
            {   25, Status::Deleted },
            {   26, Status::Installing },
            {   27, Status::Updating },
        }),
        // enum 'EntryEvent'
        QtMocHelpers::EnumData<enum EntryEvent>(28, 28, QMC::EnumFlags{}).add({
            {   29, EntryEvent::UnknownEvent },
            {   30, EntryEvent::StatusChangedEvent },
            {   31, EntryEvent::AdoptedEvent },
            {   32, EntryEvent::DetailsLoadedEvent },
        }),
        // enum 'EntryType'
        QtMocHelpers::EnumData<enum EntryType>(33, 33, QMC::EnumFlags{}).add({
            {   34, EntryType::CatalogEntry },
            {   35, EntryType::GroupEntry },
        }),
    };
    return QtMocHelpers::metaObjectData<Entry, qt_meta_tag_ZN7KNSCore5EntryE_t>(QMC::PropertyAccessInStaticMetaCall, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KNSCore::Entry::staticMetaObject = { {
    nullptr,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7KNSCore5EntryE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7KNSCore5EntryE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN7KNSCore5EntryE_t>.metaTypes,
    nullptr
} };

void KNSCore::Entry::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = reinterpret_cast<Entry *>(_o);
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QString*>(_v) = _t->providerId(); break;
        case 1: *reinterpret_cast<QString*>(_v) = _t->uniqueId(); break;
        case 2: *reinterpret_cast<KNSCore::Entry::Status*>(_v) = _t->status(); break;
        case 3: *reinterpret_cast<KNSCore::Entry::EntryType*>(_v) = _t->entryType(); break;
        case 4: *reinterpret_cast<QString*>(_v) = _t->name(); break;
        case 5: *reinterpret_cast<KNSCore::Author*>(_v) = _t->author(); break;
        case 6: *reinterpret_cast<QString*>(_v) = _t->shortSummary(); break;
        case 7: *reinterpret_cast<QString*>(_v) = _t->summary(); break;
        case 8: *reinterpret_cast<QUrl*>(_v) = _t->homepage(); break;
        case 9: *reinterpret_cast<QString*>(_v) = _t->donationLink(); break;
        case 10: *reinterpret_cast<int*>(_v) = _t->numberOfComments(); break;
        case 11: *reinterpret_cast<int*>(_v) = _t->rating(); break;
        case 12: *reinterpret_cast<int*>(_v) = _t->downloadCount(); break;
        case 13: *reinterpret_cast<QList<KNSCore::Entry::DownloadLinkInformation>*>(_v) = _t->downloadLinkInformationList(); break;
        default: break;
        }
    }
}
QT_WARNING_POP
