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

#include "../../../src/libtiled/mapformat.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 'mapformat.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 68
#error "This file was generated using the moc from 6.8.2. 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_ZN5Tiled9MapFormatE_t {};
} // unnamed namespace


#ifdef QT_MOC_HAS_STRINGDATA
static constexpr auto qt_meta_stringdata_ZN5Tiled9MapFormatE = QtMocHelpers::stringData(
    "Tiled::MapFormat"
);
#else  // !QT_MOC_HAS_STRINGDATA
#error "qtmochelpers.h not found or too old."
#endif // !QT_MOC_HAS_STRINGDATA

Q_CONSTINIT static const uint qt_meta_data_ZN5Tiled9MapFormatE[] = {

 // content:
      12,       // revision
       0,       // classname
       0,    0, // classinfo
       0,    0, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

       0        // eod
};

Q_CONSTINIT const QMetaObject Tiled::MapFormat::staticMetaObject = { {
    QMetaObject::SuperData::link<FileFormat::staticMetaObject>(),
    qt_meta_stringdata_ZN5Tiled9MapFormatE.offsetsAndSizes,
    qt_meta_data_ZN5Tiled9MapFormatE,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_tag_ZN5Tiled9MapFormatE_t,
        // Q_OBJECT / Q_GADGET
        QtPrivate::TypeAndForceComplete<MapFormat, std::true_type>
    >,
    nullptr
} };

void Tiled::MapFormat::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MapFormat *>(_o);
    (void)_t;
    (void)_c;
    (void)_id;
    (void)_a;
}

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

void *Tiled::MapFormat::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_ZN5Tiled9MapFormatE.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "org.mapeditor.FileFormat"))
        return static_cast< Tiled::FileFormat*>(this);
    return FileFormat::qt_metacast(_clname);
}

int Tiled::MapFormat::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = FileFormat::qt_metacall(_c, _id, _a);
    return _id;
}
namespace {
struct qt_meta_tag_ZN5Tiled17ReadableMapFormatE_t {};
} // unnamed namespace


#ifdef QT_MOC_HAS_STRINGDATA
static constexpr auto qt_meta_stringdata_ZN5Tiled17ReadableMapFormatE = QtMocHelpers::stringData(
    "Tiled::ReadableMapFormat"
);
#else  // !QT_MOC_HAS_STRINGDATA
#error "qtmochelpers.h not found or too old."
#endif // !QT_MOC_HAS_STRINGDATA

Q_CONSTINIT static const uint qt_meta_data_ZN5Tiled17ReadableMapFormatE[] = {

 // content:
      12,       // revision
       0,       // classname
       0,    0, // classinfo
       0,    0, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

       0        // eod
};

Q_CONSTINIT const QMetaObject Tiled::ReadableMapFormat::staticMetaObject = { {
    QMetaObject::SuperData::link<MapFormat::staticMetaObject>(),
    qt_meta_stringdata_ZN5Tiled17ReadableMapFormatE.offsetsAndSizes,
    qt_meta_data_ZN5Tiled17ReadableMapFormatE,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_tag_ZN5Tiled17ReadableMapFormatE_t,
        // Q_OBJECT / Q_GADGET
        QtPrivate::TypeAndForceComplete<ReadableMapFormat, std::true_type>
    >,
    nullptr
} };

void Tiled::ReadableMapFormat::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ReadableMapFormat *>(_o);
    (void)_t;
    (void)_c;
    (void)_id;
    (void)_a;
}

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

void *Tiled::ReadableMapFormat::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_ZN5Tiled17ReadableMapFormatE.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "org.mapeditor.MapFormat"))
        return static_cast< Tiled::MapFormat*>(this);
    return MapFormat::qt_metacast(_clname);
}

int Tiled::ReadableMapFormat::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = MapFormat::qt_metacall(_c, _id, _a);
    return _id;
}
namespace {
struct qt_meta_tag_ZN5Tiled17WritableMapFormatE_t {};
} // unnamed namespace


#ifdef QT_MOC_HAS_STRINGDATA
static constexpr auto qt_meta_stringdata_ZN5Tiled17WritableMapFormatE = QtMocHelpers::stringData(
    "Tiled::WritableMapFormat"
);
#else  // !QT_MOC_HAS_STRINGDATA
#error "qtmochelpers.h not found or too old."
#endif // !QT_MOC_HAS_STRINGDATA

Q_CONSTINIT static const uint qt_meta_data_ZN5Tiled17WritableMapFormatE[] = {

 // content:
      12,       // revision
       0,       // classname
       0,    0, // classinfo
       0,    0, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

       0        // eod
};

Q_CONSTINIT const QMetaObject Tiled::WritableMapFormat::staticMetaObject = { {
    QMetaObject::SuperData::link<MapFormat::staticMetaObject>(),
    qt_meta_stringdata_ZN5Tiled17WritableMapFormatE.offsetsAndSizes,
    qt_meta_data_ZN5Tiled17WritableMapFormatE,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_tag_ZN5Tiled17WritableMapFormatE_t,
        // Q_OBJECT / Q_GADGET
        QtPrivate::TypeAndForceComplete<WritableMapFormat, std::true_type>
    >,
    nullptr
} };

void Tiled::WritableMapFormat::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<WritableMapFormat *>(_o);
    (void)_t;
    (void)_c;
    (void)_id;
    (void)_a;
}

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

void *Tiled::WritableMapFormat::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_ZN5Tiled17WritableMapFormatE.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "org.mapeditor.MapFormat"))
        return static_cast< Tiled::MapFormat*>(this);
    return MapFormat::qt_metacast(_clname);
}

int Tiled::WritableMapFormat::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = MapFormat::qt_metacall(_c, _id, _a);
    return _id;
}
QT_WARNING_POP
