/****************************************************************************
** Meta object code from reading C++ file 'mapformat.h'
**
** Created by: The Qt Meta Object Compiler version 68 (Qt 6.7.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.7.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 {

#ifdef QT_MOC_HAS_STRINGDATA
struct qt_meta_stringdata_CLASSTiledSCOPEMapFormatENDCLASS_t {};
constexpr auto qt_meta_stringdata_CLASSTiledSCOPEMapFormatENDCLASS = QtMocHelpers::stringData(
    "Tiled::MapFormat"
);
#else  // !QT_MOC_HAS_STRINGDATA
#error "qtmochelpers.h not found or too old."
#endif // !QT_MOC_HAS_STRINGDATA
} // unnamed namespace

Q_CONSTINIT static const uint qt_meta_data_CLASSTiledSCOPEMapFormatENDCLASS[] = {

 // 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_CLASSTiledSCOPEMapFormatENDCLASS.offsetsAndSizes,
    qt_meta_data_CLASSTiledSCOPEMapFormatENDCLASS,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSTiledSCOPEMapFormatENDCLASS_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)
{
    (void)_o;
    (void)_id;
    (void)_c;
    (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_CLASSTiledSCOPEMapFormatENDCLASS.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 {

#ifdef QT_MOC_HAS_STRINGDATA
struct qt_meta_stringdata_CLASSTiledSCOPEReadableMapFormatENDCLASS_t {};
constexpr auto qt_meta_stringdata_CLASSTiledSCOPEReadableMapFormatENDCLASS = QtMocHelpers::stringData(
    "Tiled::ReadableMapFormat"
);
#else  // !QT_MOC_HAS_STRINGDATA
#error "qtmochelpers.h not found or too old."
#endif // !QT_MOC_HAS_STRINGDATA
} // unnamed namespace

Q_CONSTINIT static const uint qt_meta_data_CLASSTiledSCOPEReadableMapFormatENDCLASS[] = {

 // 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_CLASSTiledSCOPEReadableMapFormatENDCLASS.offsetsAndSizes,
    qt_meta_data_CLASSTiledSCOPEReadableMapFormatENDCLASS,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSTiledSCOPEReadableMapFormatENDCLASS_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)
{
    (void)_o;
    (void)_id;
    (void)_c;
    (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_CLASSTiledSCOPEReadableMapFormatENDCLASS.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 {

#ifdef QT_MOC_HAS_STRINGDATA
struct qt_meta_stringdata_CLASSTiledSCOPEWritableMapFormatENDCLASS_t {};
constexpr auto qt_meta_stringdata_CLASSTiledSCOPEWritableMapFormatENDCLASS = QtMocHelpers::stringData(
    "Tiled::WritableMapFormat"
);
#else  // !QT_MOC_HAS_STRINGDATA
#error "qtmochelpers.h not found or too old."
#endif // !QT_MOC_HAS_STRINGDATA
} // unnamed namespace

Q_CONSTINIT static const uint qt_meta_data_CLASSTiledSCOPEWritableMapFormatENDCLASS[] = {

 // 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_CLASSTiledSCOPEWritableMapFormatENDCLASS.offsetsAndSizes,
    qt_meta_data_CLASSTiledSCOPEWritableMapFormatENDCLASS,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSTiledSCOPEWritableMapFormatENDCLASS_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)
{
    (void)_o;
    (void)_id;
    (void)_c;
    (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_CLASSTiledSCOPEWritableMapFormatENDCLASS.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
