/****************************************************************************
** Meta object code from reading C++ file 'scanresult.h'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.11.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../../prison-6.25.0/src/scanner/scanresult.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 'scanresult.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.0. 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_ZN6Prison10ScanResultE_t {};
} // unnamed namespace

template <> constexpr inline auto Prison::ScanResult::qt_create_metaobjectdata<qt_meta_tag_ZN6Prison10ScanResultE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Prison::ScanResult",
        "hasContent",
        "content",
        "QVariant",
        "hasText",
        "text",
        "hasBinaryData",
        "binaryData",
        "format",
        "Prison::Format::BarcodeFormat",
        "boundingRect",
        "QRect"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
        // property 'hasContent'
        QtMocHelpers::PropertyData<bool>(1, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'content'
        QtMocHelpers::PropertyData<QVariant>(2, 0x80000000 | 3, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'hasText'
        QtMocHelpers::PropertyData<bool>(4, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'text'
        QtMocHelpers::PropertyData<QString>(5, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'hasBinaryData'
        QtMocHelpers::PropertyData<bool>(6, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'binaryData'
        QtMocHelpers::PropertyData<QByteArray>(7, QMetaType::QByteArray, QMC::DefaultPropertyFlags),
        // property 'format'
        QtMocHelpers::PropertyData<Prison::Format::BarcodeFormat>(8, 0x80000000 | 9, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'boundingRect'
        QtMocHelpers::PropertyData<QRect>(10, 0x80000000 | 11, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ScanResult, qt_meta_tag_ZN6Prison10ScanResultE_t>(QMC::PropertyAccessInStaticMetaCall, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT static const QMetaObject::SuperData qt_meta_extradata_ZN6Prison10ScanResultE[] = {
    QMetaObject::SuperData::link<Prison::Format::staticMetaObject>(),
    nullptr
};

Q_CONSTINIT const QMetaObject Prison::ScanResult::staticMetaObject = { {
    nullptr,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6Prison10ScanResultE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6Prison10ScanResultE_t>.data,
    qt_static_metacall,
    qt_meta_extradata_ZN6Prison10ScanResultE,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6Prison10ScanResultE_t>.metaTypes,
    nullptr
} };

void Prison::ScanResult::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = reinterpret_cast<ScanResult *>(_o);
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<bool*>(_v) = _t->hasContent(); break;
        case 1: *reinterpret_cast<QVariant*>(_v) = _t->content(); break;
        case 2: *reinterpret_cast<bool*>(_v) = _t->hasText(); break;
        case 3: *reinterpret_cast<QString*>(_v) = _t->text(); break;
        case 4: *reinterpret_cast<bool*>(_v) = _t->hasBinaryData(); break;
        case 5: *reinterpret_cast<QByteArray*>(_v) = _t->binaryData(); break;
        case 6: *reinterpret_cast<Prison::Format::BarcodeFormat*>(_v) = _t->format(); break;
        case 7: *reinterpret_cast<QRect*>(_v) = _t->boundingRect(); break;
        default: break;
        }
    }
}
QT_WARNING_POP
