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

#include "../../../../../neochat-26.07.80/src/libneochat/fileinfo.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 'fileinfo.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.12.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_ZN6Blocks8FileInfoE_t {};
} // unnamed namespace

template <> constexpr inline auto Blocks::FileInfo::qt_create_metaobjectdata<qt_meta_tag_ZN6Blocks8FileInfoE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Blocks::FileInfo",
        "QML.Element",
        "fileInfo",
        "size",
        "mimeType",
        "QMimeType"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
        // property 'size'
        QtMocHelpers::PropertyData<qint64>(3, QMetaType::LongLong, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'mimeType'
        QtMocHelpers::PropertyData<QMimeType>(4, 0x80000000 | 5, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
    });
    return QtMocHelpers::metaObjectData<FileInfo, void>(QMC::PropertyAccessInStaticMetaCall, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject Blocks::FileInfo::staticMetaObject = { {
    nullptr,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6Blocks8FileInfoE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6Blocks8FileInfoE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6Blocks8FileInfoE_t>.metaTypes,
    nullptr
} };

void Blocks::FileInfo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = reinterpret_cast<FileInfo *>(_o);
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<qint64*>(_v) = _t->size; break;
        case 1: *reinterpret_cast<QMimeType*>(_v) = _t->mimeType; break;
        default: break;
        }
    }
}
namespace {
struct qt_meta_tag_ZN6Blocks9ImageInfoE_t {};
} // unnamed namespace

template <> constexpr inline auto Blocks::ImageInfo::qt_create_metaobjectdata<qt_meta_tag_ZN6Blocks9ImageInfoE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Blocks::ImageInfo",
        "QML.Element",
        "imageInfo",
        "pixelSize",
        "QSize",
        "isAnimated",
        "isSticker"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
        // property 'pixelSize'
        QtMocHelpers::PropertyData<QSize>(3, 0x80000000 | 4, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'isAnimated'
        QtMocHelpers::PropertyData<bool>(5, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'isSticker'
        QtMocHelpers::PropertyData<bool>(6, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
    });
    return QtMocHelpers::metaObjectData<ImageInfo, void>(QMC::PropertyAccessInStaticMetaCall, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject Blocks::ImageInfo::staticMetaObject = { {
    QtPrivate::MetaObjectForType<FileInfo>::value,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6Blocks9ImageInfoE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6Blocks9ImageInfoE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6Blocks9ImageInfoE_t>.metaTypes,
    nullptr
} };

void Blocks::ImageInfo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = reinterpret_cast<ImageInfo *>(_o);
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QSize*>(_v) = _t->pixelSize; break;
        case 1: *reinterpret_cast<bool*>(_v) = _t->isAnimated; break;
        case 2: *reinterpret_cast<bool*>(_v) = _t->isSticker; break;
        default: break;
        }
    }
}
namespace {
struct qt_meta_tag_ZN6Blocks9VideoInfoE_t {};
} // unnamed namespace

template <> constexpr inline auto Blocks::VideoInfo::qt_create_metaobjectdata<qt_meta_tag_ZN6Blocks9VideoInfoE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Blocks::VideoInfo",
        "QML.Element",
        "videoInfo",
        "pixelSize",
        "QSize",
        "duration"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
        // property 'pixelSize'
        QtMocHelpers::PropertyData<QSize>(3, 0x80000000 | 4, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'duration'
        QtMocHelpers::PropertyData<qint64>(5, QMetaType::LongLong, QMC::DefaultPropertyFlags | QMC::Constant),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
    });
    return QtMocHelpers::metaObjectData<VideoInfo, void>(QMC::PropertyAccessInStaticMetaCall, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject Blocks::VideoInfo::staticMetaObject = { {
    QtPrivate::MetaObjectForType<FileInfo>::value,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6Blocks9VideoInfoE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6Blocks9VideoInfoE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6Blocks9VideoInfoE_t>.metaTypes,
    nullptr
} };

void Blocks::VideoInfo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = reinterpret_cast<VideoInfo *>(_o);
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QSize*>(_v) = _t->pixelSize; break;
        case 1: *reinterpret_cast<qint64*>(_v) = _t->duration; break;
        default: break;
        }
    }
}
namespace {
struct qt_meta_tag_ZN6Blocks9AudioInfoE_t {};
} // unnamed namespace

template <> constexpr inline auto Blocks::AudioInfo::qt_create_metaobjectdata<qt_meta_tag_ZN6Blocks9AudioInfoE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Blocks::AudioInfo",
        "QML.Element",
        "audioInfo",
        "duration"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
        // property 'duration'
        QtMocHelpers::PropertyData<qint64>(3, QMetaType::LongLong, QMC::DefaultPropertyFlags | QMC::Constant),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
    });
    return QtMocHelpers::metaObjectData<AudioInfo, void>(QMC::PropertyAccessInStaticMetaCall, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject Blocks::AudioInfo::staticMetaObject = { {
    QtPrivate::MetaObjectForType<FileInfo>::value,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6Blocks9AudioInfoE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6Blocks9AudioInfoE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6Blocks9AudioInfoE_t>.metaTypes,
    nullptr
} };

void Blocks::AudioInfo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = reinterpret_cast<AudioInfo *>(_o);
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<qint64*>(_v) = _t->duration; break;
        default: break;
        }
    }
}
QT_WARNING_POP
