/****************************************************************************
** Meta object code from reading C++ file 'editor.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 "src/interface/editor.h"
#include "colormanager.h"
#include "toolmanager.h"
#include "layermanager.h"
#include "playbackmanager.h"
#include "viewmanager.h"
#include "preferencemanager.h"
#include "selectionmanager.h"
#include "soundmanager.h"
#include "overlaymanager.h"
#include "clipboardmanager.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 'editor.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_ZN6EditorE_t {};
} // unnamed namespace

template <> constexpr inline auto Editor::qt_create_metaobjectdata<qt_meta_tag_ZN6EditorE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Editor",
        "scrubbed",
        "",
        "frameNumber",
        "frameModified",
        "framesModified",
        "selectedFramesChanged",
        "updateTimeLine",
        "updateTimeLineCached",
        "updateLayerCount",
        "updateBackup",
        "objectLoaded",
        "fpsChanged",
        "fps",
        "needSave",
        "needDisplayInfo",
        "title",
        "body",
        "needDisplayInfoNoTitle",
        "canCopyChanged",
        "enabled",
        "canPasteChanged",
        "color",
        "ColorManager*",
        "tools",
        "ToolManager*",
        "layers",
        "LayerManager*",
        "playback",
        "PlaybackManager*",
        "view",
        "ViewManager*",
        "preference",
        "PreferenceManager*",
        "sound",
        "SoundManager*",
        "select",
        "SelectionManager*",
        "overlays",
        "OverlayManager*",
        "clipboards",
        "ClipboardManager*"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'scrubbed'
        QtMocHelpers::SignalData<void(int)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Signal 'frameModified'
        QtMocHelpers::SignalData<void(int)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Signal 'framesModified'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'selectedFramesChanged'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'updateTimeLine'
        QtMocHelpers::SignalData<void() const>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'updateTimeLineCached'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'updateLayerCount'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'updateBackup'
        QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'objectLoaded'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'fpsChanged'
        QtMocHelpers::SignalData<void(int)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 13 },
        }}),
        // Signal 'needSave'
        QtMocHelpers::SignalData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'needDisplayInfo'
        QtMocHelpers::SignalData<void(const QString &, const QString &)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 16 }, { QMetaType::QString, 17 },
        }}),
        // Signal 'needDisplayInfoNoTitle'
        QtMocHelpers::SignalData<void(const QString &)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 17 },
        }}),
        // Signal 'canCopyChanged'
        QtMocHelpers::SignalData<void(bool)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 20 },
        }}),
        // Signal 'canPasteChanged'
        QtMocHelpers::SignalData<void(bool)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 20 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'color'
        QtMocHelpers::PropertyData<ColorManager*>(22, 0x80000000 | 23, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'tools'
        QtMocHelpers::PropertyData<ToolManager*>(24, 0x80000000 | 25, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'layers'
        QtMocHelpers::PropertyData<LayerManager*>(26, 0x80000000 | 27, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'playback'
        QtMocHelpers::PropertyData<PlaybackManager*>(28, 0x80000000 | 29, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'view'
        QtMocHelpers::PropertyData<ViewManager*>(30, 0x80000000 | 31, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'preference'
        QtMocHelpers::PropertyData<PreferenceManager*>(32, 0x80000000 | 33, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'sound'
        QtMocHelpers::PropertyData<SoundManager*>(34, 0x80000000 | 35, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'select'
        QtMocHelpers::PropertyData<SelectionManager*>(36, 0x80000000 | 37, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'overlays'
        QtMocHelpers::PropertyData<OverlayManager*>(38, 0x80000000 | 39, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'clipboards'
        QtMocHelpers::PropertyData<ClipboardManager*>(40, 0x80000000 | 41, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Editor, qt_meta_tag_ZN6EditorE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Editor::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6EditorE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6EditorE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6EditorE_t>.metaTypes,
    nullptr
} };

void Editor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Editor *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->scrubbed((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 1: _t->frameModified((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 2: _t->framesModified(); break;
        case 3: _t->selectedFramesChanged(); break;
        case 4: _t->updateTimeLine(); break;
        case 5: _t->updateTimeLineCached(); break;
        case 6: _t->updateLayerCount(); break;
        case 7: _t->updateBackup(); break;
        case 8: _t->objectLoaded(); break;
        case 9: _t->fpsChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 10: _t->needSave(); break;
        case 11: _t->needDisplayInfo((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 12: _t->needDisplayInfoNoTitle((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 13: _t->canCopyChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 14: _t->canPasteChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Editor::*)(int )>(_a, &Editor::scrubbed, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Editor::*)(int )>(_a, &Editor::frameModified, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Editor::*)()>(_a, &Editor::framesModified, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (Editor::*)()>(_a, &Editor::selectedFramesChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (Editor::*)() const>(_a, &Editor::updateTimeLine, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (Editor::*)()>(_a, &Editor::updateTimeLineCached, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (Editor::*)()>(_a, &Editor::updateLayerCount, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (Editor::*)()>(_a, &Editor::updateBackup, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (Editor::*)()>(_a, &Editor::objectLoaded, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (Editor::*)(int )>(_a, &Editor::fpsChanged, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (Editor::*)()>(_a, &Editor::needSave, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (Editor::*)(const QString & , const QString & )>(_a, &Editor::needDisplayInfo, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (Editor::*)(const QString & )>(_a, &Editor::needDisplayInfoNoTitle, 12))
            return;
        if (QtMocHelpers::indexOfMethod<void (Editor::*)(bool )>(_a, &Editor::canCopyChanged, 13))
            return;
        if (QtMocHelpers::indexOfMethod<void (Editor::*)(bool )>(_a, &Editor::canPasteChanged, 14))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<ColorManager**>(_v) = _t->color(); break;
        case 1: *reinterpret_cast<ToolManager**>(_v) = _t->tools(); break;
        case 2: *reinterpret_cast<LayerManager**>(_v) = _t->layers(); break;
        case 3: *reinterpret_cast<PlaybackManager**>(_v) = _t->playback(); break;
        case 4: *reinterpret_cast<ViewManager**>(_v) = _t->view(); break;
        case 5: *reinterpret_cast<PreferenceManager**>(_v) = _t->preference(); break;
        case 6: *reinterpret_cast<SoundManager**>(_v) = _t->sound(); break;
        case 7: *reinterpret_cast<SelectionManager**>(_v) = _t->select(); break;
        case 8: *reinterpret_cast<OverlayManager**>(_v) = _t->overlays(); break;
        case 9: *reinterpret_cast<ClipboardManager**>(_v) = _t->clipboards(); break;
        default: break;
        }
    }
}

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

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

int Editor::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 < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 15;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    return _id;
}

// SIGNAL 0
void Editor::scrubbed(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void Editor::frameModified(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

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

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

// SIGNAL 4
void Editor::updateTimeLine()const
{
    QMetaObject::activate(const_cast< Editor *>(this), &staticMetaObject, 4, nullptr);
}

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

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

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

// SIGNAL 8
void Editor::objectLoaded()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void Editor::fpsChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void Editor::needSave()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void Editor::needDisplayInfo(const QString & _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 11, nullptr, _t1, _t2);
}

// SIGNAL 12
void Editor::needDisplayInfoNoTitle(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 12, nullptr, _t1);
}

// SIGNAL 13
void Editor::canCopyChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 13, nullptr, _t1);
}

// SIGNAL 14
void Editor::canPasteChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 14, nullptr, _t1);
}
QT_WARNING_POP
