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

#include "../../../../mpvqt-1.2.0/src/mpvabstractitem.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 'mpvabstractitem.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. 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_ZN15MpvAbstractItemE_t {};
} // unnamed namespace

template <> constexpr inline auto MpvAbstractItem::qt_create_metaobjectdata<qt_meta_tag_ZN15MpvAbstractItemE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "MpvAbstractItem",
        "ready",
        "",
        "observeProperty",
        "property",
        "mpv_format",
        "format",
        "uint64_t",
        "id",
        "unobserveProperty",
        "setProperty",
        "QVariant",
        "value",
        "setPropertyAsync",
        "setPropertyBlocking",
        "getProperty",
        "getPropertyAsync",
        "command",
        "params",
        "commandBlocking",
        "commandAsync",
        "expandText",
        "text",
        "requestUpdateFromRenderer"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'ready'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'observeProperty'
        QtMocHelpers::MethodData<void(const QString &, mpv_format, uint64_t)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 4 }, { 0x80000000 | 5, 6 }, { 0x80000000 | 7, 8 },
        }}),
        // Method 'observeProperty'
        QtMocHelpers::MethodData<void(const QString &, mpv_format)>(3, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 4 }, { 0x80000000 | 5, 6 },
        }}),
        // Method 'unobserveProperty'
        QtMocHelpers::MethodData<int(uint64_t)>(9, 2, QMC::AccessPublic, QMetaType::Int, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Method 'setProperty'
        QtMocHelpers::MethodData<void(const QString &, const QVariant &)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 4 }, { 0x80000000 | 11, 12 },
        }}),
        // Method 'setPropertyAsync'
        QtMocHelpers::MethodData<void(const QString &, const QVariant &, int)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 4 }, { 0x80000000 | 11, 12 }, { QMetaType::Int, 8 },
        }}),
        // Method 'setPropertyAsync'
        QtMocHelpers::MethodData<void(const QString &, const QVariant &)>(13, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 4 }, { 0x80000000 | 11, 12 },
        }}),
        // Method 'setPropertyBlocking'
        QtMocHelpers::MethodData<int(const QString &, const QVariant &)>(14, 2, QMC::AccessPublic, QMetaType::Int, {{
            { QMetaType::QString, 4 }, { 0x80000000 | 11, 12 },
        }}),
        // Method 'getProperty'
        QtMocHelpers::MethodData<QVariant(const QString &)>(15, 2, QMC::AccessPublic, 0x80000000 | 11, {{
            { QMetaType::QString, 4 },
        }}),
        // Method 'getPropertyAsync'
        QtMocHelpers::MethodData<void(const QString &, int)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 4 }, { QMetaType::Int, 8 },
        }}),
        // Method 'getPropertyAsync'
        QtMocHelpers::MethodData<void(const QString &)>(16, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 4 },
        }}),
        // Method 'command'
        QtMocHelpers::MethodData<void(const QStringList &)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 18 },
        }}),
        // Method 'commandBlocking'
        QtMocHelpers::MethodData<QVariant(const QStringList &)>(19, 2, QMC::AccessPublic, 0x80000000 | 11, {{
            { QMetaType::QStringList, 18 },
        }}),
        // Method 'commandAsync'
        QtMocHelpers::MethodData<void(const QStringList &, int)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 18 }, { QMetaType::Int, 8 },
        }}),
        // Method 'commandAsync'
        QtMocHelpers::MethodData<void(const QStringList &)>(20, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QStringList, 18 },
        }}),
        // Method 'expandText'
        QtMocHelpers::MethodData<QVariant(const QString &)>(21, 2, QMC::AccessPublic, 0x80000000 | 11, {{
            { QMetaType::QString, 22 },
        }}),
        // Method 'requestUpdateFromRenderer'
        QtMocHelpers::MethodData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MpvAbstractItem, qt_meta_tag_ZN15MpvAbstractItemE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject MpvAbstractItem::staticMetaObject = { {
    QMetaObject::SuperData::link<QQuickFramebufferObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15MpvAbstractItemE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15MpvAbstractItemE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15MpvAbstractItemE_t>.metaTypes,
    nullptr
} };

void MpvAbstractItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MpvAbstractItem *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->ready(); break;
        case 1: _t->observeProperty((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<mpv_format>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<uint64_t>>(_a[3]))); break;
        case 2: _t->observeProperty((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<mpv_format>>(_a[2]))); break;
        case 3: { int _r = _t->unobserveProperty((*reinterpret_cast<std::add_pointer_t<uint64_t>>(_a[1])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 4: _t->setProperty((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QVariant>>(_a[2]))); break;
        case 5: _t->setPropertyAsync((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QVariant>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 6: _t->setPropertyAsync((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QVariant>>(_a[2]))); break;
        case 7: { int _r = _t->setPropertyBlocking((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QVariant>>(_a[2])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 8: { QVariant _r = _t->getProperty((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QVariant*>(_a[0]) = std::move(_r); }  break;
        case 9: _t->getPropertyAsync((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 10: _t->getPropertyAsync((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 11: _t->command((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 12: { QVariant _r = _t->commandBlocking((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QVariant*>(_a[0]) = std::move(_r); }  break;
        case 13: _t->commandAsync((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 14: _t->commandAsync((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 15: { QVariant _r = _t->expandText((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QVariant*>(_a[0]) = std::move(_r); }  break;
        case 16: _t->requestUpdateFromRenderer(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (MpvAbstractItem::*)()>(_a, &MpvAbstractItem::ready, 0))
            return;
    }
}

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

void *MpvAbstractItem::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15MpvAbstractItemE_t>.strings))
        return static_cast<void*>(this);
    return QQuickFramebufferObject::qt_metacast(_clname);
}

int MpvAbstractItem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuickFramebufferObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 17;
    }
    return _id;
}

// SIGNAL 0
void MpvAbstractItem::ready()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
