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

#include <memory>
#include "../../../src/libtiled/tilelayer.h"
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'tilelayer.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 68
#error "This file was generated using the moc from 6.4.3. 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_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
namespace {
struct qt_meta_stringdata_Tiled__Cell_t {
    uint offsetsAndSizes[14];
    char stringdata0[12];
    char stringdata1[7];
    char stringdata2[6];
    char stringdata3[20];
    char stringdata4[18];
    char stringdata5[22];
    char stringdata6[20];
};
#define QT_MOC_LITERAL(ofs, len) \
    uint(sizeof(qt_meta_stringdata_Tiled__Cell_t::offsetsAndSizes) + ofs), len 
Q_CONSTINIT static const qt_meta_stringdata_Tiled__Cell_t qt_meta_stringdata_Tiled__Cell = {
    {
        QT_MOC_LITERAL(0, 11),  // "Tiled::Cell"
        QT_MOC_LITERAL(12, 6),  // "tileId"
        QT_MOC_LITERAL(19, 5),  // "empty"
        QT_MOC_LITERAL(25, 19),  // "flippedHorizontally"
        QT_MOC_LITERAL(45, 17),  // "flippedVertically"
        QT_MOC_LITERAL(63, 21),  // "flippedAntiDiagonally"
        QT_MOC_LITERAL(85, 19)   // "rotatedHexagonal120"
    },
    "Tiled::Cell",
    "tileId",
    "empty",
    "flippedHorizontally",
    "flippedVertically",
    "flippedAntiDiagonally",
    "rotatedHexagonal120"
};
#undef QT_MOC_LITERAL
} // unnamed namespace

Q_CONSTINIT static const uint qt_meta_data_Tiled__Cell[] = {

 // content:
      10,       // revision
       0,       // classname
       0,    0, // classinfo
       0,    0, // methods
       6,   14, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       4,       // flags
       0,       // signalCount

 // properties: name, type, flags
       1, QMetaType::Int, 0x00015001, uint(-1), 0,
       2, QMetaType::Bool, 0x00015001, uint(-1), 0,
       3, QMetaType::Bool, 0x00015103, uint(-1), 0,
       4, QMetaType::Bool, 0x00015103, uint(-1), 0,
       5, QMetaType::Bool, 0x00015103, uint(-1), 0,
       6, QMetaType::Bool, 0x00015103, uint(-1), 0,

       0        // eod
};

Q_CONSTINIT const QMetaObject Tiled::Cell::staticMetaObject = { {
    nullptr,
    qt_meta_stringdata_Tiled__Cell.offsetsAndSizes,
    qt_meta_data_Tiled__Cell,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_stringdata_Tiled__Cell_t,
        // property 'tileId'
        QtPrivate::TypeAndForceComplete<int, std::true_type>,
        // property 'empty'
        QtPrivate::TypeAndForceComplete<bool, std::true_type>,
        // property 'flippedHorizontally'
        QtPrivate::TypeAndForceComplete<bool, std::true_type>,
        // property 'flippedVertically'
        QtPrivate::TypeAndForceComplete<bool, std::true_type>,
        // property 'flippedAntiDiagonally'
        QtPrivate::TypeAndForceComplete<bool, std::true_type>,
        // property 'rotatedHexagonal120'
        QtPrivate::TypeAndForceComplete<bool, std::true_type>,
        // Q_OBJECT / Q_GADGET
        QtPrivate::TypeAndForceComplete<Cell, std::true_type>
    >,
    nullptr
} };

void Tiled::Cell::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::ReadProperty) {
        auto *_t = reinterpret_cast<Cell *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->tileId(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isEmpty(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->flippedHorizontally(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->flippedVertically(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->flippedAntiDiagonally(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->rotatedHexagonal120(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = reinterpret_cast<Cell *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 2: _t->setFlippedHorizontally(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->setFlippedVertically(*reinterpret_cast< bool*>(_v)); break;
        case 4: _t->setFlippedAntiDiagonally(*reinterpret_cast< bool*>(_v)); break;
        case 5: _t->setRotatedHexagonal120(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    } else if (_c == QMetaObject::BindableProperty) {
    }
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
