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

#include <memory>
#include "../../src/imagedata/imageinfo.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'imageinfo.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_ImageInfo_t {
    QByteArrayData data[29];
    char stringdata0[297];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ImageInfo_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ImageInfo_t qt_meta_stringdata_ImageInfo = {
    {
QT_MOC_LITERAL(0, 0, 9), // "ImageInfo"
QT_MOC_LITERAL(1, 10, 13), // "statusChanged"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 13), // "sourceChanged"
QT_MOC_LITERAL(4, 39, 11), // "typeChanged"
QT_MOC_LITERAL(5, 51, 12), // "widthChanged"
QT_MOC_LITERAL(6, 64, 13), // "heightChanged"
QT_MOC_LITERAL(7, 78, 17), // "frameIndexChanged"
QT_MOC_LITERAL(8, 96, 17), // "frameCountChanged"
QT_MOC_LITERAL(9, 114, 13), // "existsChanged"
QT_MOC_LITERAL(10, 128, 11), // "infoChanged"
QT_MOC_LITERAL(11, 140, 14), // "onLoadFinished"
QT_MOC_LITERAL(12, 155, 4), // "path"
QT_MOC_LITERAL(13, 160, 10), // "frameIndex"
QT_MOC_LITERAL(14, 171, 13), // "onSizeChanged"
QT_MOC_LITERAL(15, 185, 10), // "reloadData"
QT_MOC_LITERAL(16, 196, 6), // "status"
QT_MOC_LITERAL(17, 203, 6), // "Status"
QT_MOC_LITERAL(18, 210, 6), // "source"
QT_MOC_LITERAL(19, 217, 4), // "type"
QT_MOC_LITERAL(20, 222, 5), // "width"
QT_MOC_LITERAL(21, 228, 6), // "height"
QT_MOC_LITERAL(22, 235, 10), // "frameCount"
QT_MOC_LITERAL(23, 246, 6), // "exists"
QT_MOC_LITERAL(24, 253, 18), // "hasCachedThumbnail"
QT_MOC_LITERAL(25, 272, 4), // "Null"
QT_MOC_LITERAL(26, 277, 5), // "Ready"
QT_MOC_LITERAL(27, 283, 7), // "Loading"
QT_MOC_LITERAL(28, 291, 5) // "Error"

    },
    "ImageInfo\0statusChanged\0\0sourceChanged\0"
    "typeChanged\0widthChanged\0heightChanged\0"
    "frameIndexChanged\0frameCountChanged\0"
    "existsChanged\0infoChanged\0onLoadFinished\0"
    "path\0frameIndex\0onSizeChanged\0reloadData\0"
    "status\0Status\0source\0type\0width\0height\0"
    "frameCount\0exists\0hasCachedThumbnail\0"
    "Null\0Ready\0Loading\0Error"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ImageInfo[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      14,   14, // methods
       9,  110, // properties
       1,  146, // enums/sets
       0,    0, // constructors
       0,       // flags
       9,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   84,    2, 0x06 /* Public */,
       3,    0,   85,    2, 0x06 /* Public */,
       4,    0,   86,    2, 0x06 /* Public */,
       5,    0,   87,    2, 0x06 /* Public */,
       6,    0,   88,    2, 0x06 /* Public */,
       7,    0,   89,    2, 0x06 /* Public */,
       8,    0,   90,    2, 0x06 /* Public */,
       9,    0,   91,    2, 0x06 /* Public */,
      10,    0,   92,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    2,   93,    2, 0x09 /* Protected */,
      11,    1,   98,    2, 0x29 /* Protected | MethodCloned */,
      14,    2,  101,    2, 0x09 /* Protected */,
      14,    1,  106,    2, 0x29 /* Protected | MethodCloned */,

 // methods: name, argc, parameters, tag, flags
      15,    0,  109,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::Int,   12,   13,
    QMetaType::Void, QMetaType::QString,   12,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,   12,   13,
    QMetaType::Void, QMetaType::QString,   12,

 // methods: parameters
    QMetaType::Void,

 // properties: name, type, flags
      16, 0x80000000 | 17, 0x00495009,
      18, QMetaType::QUrl, 0x00495103,
      19, QMetaType::Int, 0x00495001,
      20, QMetaType::Int, 0x00495001,
      21, QMetaType::Int, 0x00495001,
      13, QMetaType::Int, 0x00495103,
      22, QMetaType::Int, 0x00495001,
      23, QMetaType::Bool, 0x00495001,
      24, QMetaType::Bool, 0x00095001,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,
       5,
       6,
       7,
       0,

 // enums: name, alias, flags, count, data
      17,   17, 0x0,    4,  151,

 // enum data: key, value
      25, uint(ImageInfo::Null),
      26, uint(ImageInfo::Ready),
      27, uint(ImageInfo::Loading),
      28, uint(ImageInfo::Error),

       0        // eod
};

void ImageInfo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ImageInfo *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->statusChanged(); break;
        case 1: _t->sourceChanged(); break;
        case 2: _t->typeChanged(); break;
        case 3: _t->widthChanged(); break;
        case 4: _t->heightChanged(); break;
        case 5: _t->frameIndexChanged(); break;
        case 6: _t->frameCountChanged(); break;
        case 7: _t->existsChanged(); break;
        case 8: _t->infoChanged(); break;
        case 9: _t->onLoadFinished((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 10: _t->onLoadFinished((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 11: _t->onSizeChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 12: _t->onSizeChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 13: _t->reloadData(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (ImageInfo::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ImageInfo::statusChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (ImageInfo::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ImageInfo::sourceChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (ImageInfo::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ImageInfo::typeChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (ImageInfo::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ImageInfo::widthChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (ImageInfo::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ImageInfo::heightChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (ImageInfo::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ImageInfo::frameIndexChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (ImageInfo::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ImageInfo::frameCountChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (ImageInfo::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ImageInfo::existsChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (ImageInfo::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ImageInfo::infoChanged)) {
                *result = 8;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<ImageInfo *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< Status*>(_v) = _t->status(); break;
        case 1: *reinterpret_cast< QUrl*>(_v) = _t->source(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->type(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->width(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->height(); break;
        case 5: *reinterpret_cast< int*>(_v) = _t->frameIndex(); break;
        case 6: *reinterpret_cast< int*>(_v) = _t->frameCount(); break;
        case 7: *reinterpret_cast< bool*>(_v) = _t->exists(); break;
        case 8: *reinterpret_cast< bool*>(_v) = _t->hasCachedThumbnail(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<ImageInfo *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setSource(*reinterpret_cast< QUrl*>(_v)); break;
        case 5: _t->setFrameIndex(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject ImageInfo::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_ImageInfo.data,
    qt_meta_data_ImageInfo,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *ImageInfo::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_ImageInfo.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int ImageInfo::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 14;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 9;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void ImageInfo::statusChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void ImageInfo::sourceChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void ImageInfo::typeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void ImageInfo::widthChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void ImageInfo::heightChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void ImageInfo::frameIndexChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void ImageInfo::frameCountChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void ImageInfo::existsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void ImageInfo::infoChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
