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

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

template <> constexpr inline auto ClipEditorModel::qt_create_metaobjectdata<qt_meta_tag_ZN15ClipEditorModelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ClipEditorModel",
        "SettingsFileUpdated",
        "",
        "ItemDropped",
        "QModelIndex",
        "ClipsUpdated",
        "RowsRemovedHandler",
        "parent",
        "start",
        "end",
        "ItemChangedHandler",
        "QStandardItem*",
        "item",
        "SettingsFileChanged",
        "path"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'SettingsFileUpdated'
        QtMocHelpers::SignalData<void() const>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'ItemDropped'
        QtMocHelpers::SignalData<void(const QModelIndex &) const>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 2 },
        }}),
        // Signal 'ClipsUpdated'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'RowsRemovedHandler'
        QtMocHelpers::SlotData<void(const QModelIndex &, int, int)>(6, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 4, 7 }, { QMetaType::Int, 8 }, { QMetaType::Int, 9 },
        }}),
        // Slot 'ItemChangedHandler'
        QtMocHelpers::SlotData<void(QStandardItem *)>(10, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 11, 12 },
        }}),
        // Slot 'SettingsFileChanged'
        QtMocHelpers::SlotData<void(const QString &) const>(13, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 14 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ClipEditorModel, qt_meta_tag_ZN15ClipEditorModelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ClipEditorModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QStandardItemModel::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ClipEditorModelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ClipEditorModelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15ClipEditorModelE_t>.metaTypes,
    nullptr
} };

void ClipEditorModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ClipEditorModel *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->SettingsFileUpdated(); break;
        case 1: _t->ItemDropped((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
        case 2: _t->ClipsUpdated(); break;
        case 3: _t->RowsRemovedHandler((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 4: _t->ItemChangedHandler((*reinterpret_cast<std::add_pointer_t<QStandardItem*>>(_a[1]))); break;
        case 5: _t->SettingsFileChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ClipEditorModel::*)() const>(_a, &ClipEditorModel::SettingsFileUpdated, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ClipEditorModel::*)(const QModelIndex & ) const>(_a, &ClipEditorModel::ItemDropped, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ClipEditorModel::*)()>(_a, &ClipEditorModel::ClipsUpdated, 2))
            return;
    }
}

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

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

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

// SIGNAL 0
void ClipEditorModel::SettingsFileUpdated()const
{
    QMetaObject::activate(const_cast< ClipEditorModel *>(this), &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void ClipEditorModel::ItemDropped(const QModelIndex & _t1)const
{
    QMetaObject::activate<void>(const_cast< ClipEditorModel *>(this), &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void ClipEditorModel::ClipsUpdated()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
QT_WARNING_POP
