/****************************************************************************
** Meta object code from reading C++ file 'ClipEditor.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 "../../../ClipEditor.h"
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ClipEditor.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_ZN10ClipEditorE_t {};
} // unnamed namespace

template <> constexpr inline auto ClipEditor::qt_create_metaobjectdata<qt_meta_tag_ZN10ClipEditorE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ClipEditor",
        "PasteSelectedClipRequest",
        "",
        "QList<ClipEditorModel::clipEntry*>",
        "clip_entries",
        "ShowStatusMessageRequest",
        "message",
        "ClipsUpdated",
        "AddEntry",
        "QStandardItem*",
        "is_group",
        "ClipEditorModel::clipEntry*",
        "clip_entry",
        "insert_after",
        "reject",
        "showEvent",
        "QShowEvent*",
        "event",
        "AddGroup",
        "Edit",
        "Cut",
        "Copy",
        "Paste",
        "Delete",
        "Import",
        "Reload",
        "Export",
        "ExportAll",
        "CollapseAll",
        "ExpandAll",
        "AutoFill",
        "Apply",
        "Save",
        "MoveUp",
        "MoveDown",
        "MoveLeft",
        "MoveRight",
        "PasteIntoDocument",
        "FilterEditTextChangedSlot",
        "text",
        "OpenContextMenu",
        "QPoint",
        "point",
        "SettingsFileModelUpdated",
        "ModelItemDropped",
        "QModelIndex",
        "index"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'PasteSelectedClipRequest'
        QtMocHelpers::SignalData<void(QList<ClipEditorModel::clipEntry*>)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'ShowStatusMessageRequest'
        QtMocHelpers::SignalData<void(const QString &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 6 },
        }}),
        // Signal 'ClipsUpdated'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'AddEntry'
        QtMocHelpers::SlotData<QStandardItem *(bool, ClipEditorModel::clipEntry *, bool)>(8, 2, QMC::AccessPublic, 0x80000000 | 9, {{
            { QMetaType::Bool, 10 }, { 0x80000000 | 11, 12 }, { QMetaType::Bool, 13 },
        }}),
        // Slot 'AddEntry'
        QtMocHelpers::SlotData<QStandardItem *(bool, ClipEditorModel::clipEntry *)>(8, 2, QMC::AccessPublic | QMC::MethodCloned, 0x80000000 | 9, {{
            { QMetaType::Bool, 10 }, { 0x80000000 | 11, 12 },
        }}),
        // Slot 'AddEntry'
        QtMocHelpers::SlotData<QStandardItem *(bool)>(8, 2, QMC::AccessPublic | QMC::MethodCloned, 0x80000000 | 9, {{
            { QMetaType::Bool, 10 },
        }}),
        // Slot 'AddEntry'
        QtMocHelpers::SlotData<QStandardItem *()>(8, 2, QMC::AccessPublic | QMC::MethodCloned, 0x80000000 | 9),
        // Slot 'reject'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'showEvent'
        QtMocHelpers::SlotData<void(QShowEvent *)>(15, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 16, 17 },
        }}),
        // Slot 'AddGroup'
        QtMocHelpers::SlotData<QStandardItem *()>(18, 2, QMC::AccessPrivate, 0x80000000 | 9),
        // Slot 'Edit'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Cut'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Copy'
        QtMocHelpers::SlotData<bool()>(21, 2, QMC::AccessPrivate, QMetaType::Bool),
        // Slot 'Paste'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Delete'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Import'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Reload'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Export'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'ExportAll'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'CollapseAll'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'ExpandAll'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'AutoFill'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Apply'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Save'
        QtMocHelpers::SlotData<bool()>(32, 2, QMC::AccessPrivate, QMetaType::Bool),
        // Slot 'MoveUp'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'MoveDown'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'MoveLeft'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'MoveRight'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'PasteIntoDocument'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'FilterEditTextChangedSlot'
        QtMocHelpers::SlotData<void(const QString &)>(38, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 39 },
        }}),
        // Slot 'OpenContextMenu'
        QtMocHelpers::SlotData<void(const QPoint &)>(40, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 41, 42 },
        }}),
        // Slot 'SettingsFileModelUpdated'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'ModelItemDropped'
        QtMocHelpers::SlotData<void(const QModelIndex &)>(44, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 45, 46 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ClipEditor, qt_meta_tag_ZN10ClipEditorE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ClipEditor::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10ClipEditorE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10ClipEditorE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10ClipEditorE_t>.metaTypes,
    nullptr
} };

void ClipEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ClipEditor *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->PasteSelectedClipRequest((*reinterpret_cast<std::add_pointer_t<QList<ClipEditorModel::clipEntry*>>>(_a[1]))); break;
        case 1: _t->ShowStatusMessageRequest((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->ClipsUpdated(); break;
        case 3: { QStandardItem* _r = _t->AddEntry((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<ClipEditorModel::clipEntry*>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3])));
            if (_a[0]) *reinterpret_cast<QStandardItem**>(_a[0]) = std::move(_r); }  break;
        case 4: { QStandardItem* _r = _t->AddEntry((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<ClipEditorModel::clipEntry*>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QStandardItem**>(_a[0]) = std::move(_r); }  break;
        case 5: { QStandardItem* _r = _t->AddEntry((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QStandardItem**>(_a[0]) = std::move(_r); }  break;
        case 6: { QStandardItem* _r = _t->AddEntry();
            if (_a[0]) *reinterpret_cast<QStandardItem**>(_a[0]) = std::move(_r); }  break;
        case 7: _t->reject(); break;
        case 8: _t->showEvent((*reinterpret_cast<std::add_pointer_t<QShowEvent*>>(_a[1]))); break;
        case 9: { QStandardItem* _r = _t->AddGroup();
            if (_a[0]) *reinterpret_cast<QStandardItem**>(_a[0]) = std::move(_r); }  break;
        case 10: _t->Edit(); break;
        case 11: _t->Cut(); break;
        case 12: { bool _r = _t->Copy();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 13: _t->Paste(); break;
        case 14: _t->Delete(); break;
        case 15: _t->Import(); break;
        case 16: _t->Reload(); break;
        case 17: _t->Export(); break;
        case 18: _t->ExportAll(); break;
        case 19: _t->CollapseAll(); break;
        case 20: _t->ExpandAll(); break;
        case 21: _t->AutoFill(); break;
        case 22: _t->Apply(); break;
        case 23: { bool _r = _t->Save();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 24: _t->MoveUp(); break;
        case 25: _t->MoveDown(); break;
        case 26: _t->MoveLeft(); break;
        case 27: _t->MoveRight(); break;
        case 28: _t->PasteIntoDocument(); break;
        case 29: _t->FilterEditTextChangedSlot((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 30: _t->OpenContextMenu((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 31: _t->SettingsFileModelUpdated(); break;
        case 32: _t->ModelItemDropped((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ClipEditor::*)(QList<ClipEditorModel::clipEntry*> )>(_a, &ClipEditor::PasteSelectedClipRequest, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ClipEditor::*)(const QString & )>(_a, &ClipEditor::ShowStatusMessageRequest, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ClipEditor::*)()>(_a, &ClipEditor::ClipsUpdated, 2))
            return;
    }
}

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

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

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

// SIGNAL 0
void ClipEditor::PasteSelectedClipRequest(QList<ClipEditorModel::clipEntry*> _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void ClipEditor::ShowStatusMessageRequest(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

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