/****************************************************************************
** Meta object code from reading C++ file 'mainwindowgui.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 "../../../stopmotion/src/presentation/frontends/qtfrontend/mainwindowgui.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 'mainwindowgui.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_ZN13MainWindowGUIE_t {};
} // unnamed namespace

template <> constexpr inline auto MainWindowGUI::qt_create_metaobjectdata<qt_meta_tag_ZN13MainWindowGUIE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "MainWindowGUI",
        "openProject",
        "",
        "const char*",
        "projectFile",
        "retranslateStrings",
        "newProject",
        "openMostRecent",
        "openSecondMostRecent",
        "openThirdMostRecent",
        "saveProject",
        "saveProjectAs",
        "showAboutDialog",
        "showHelpDialog",
        "showPreferencesMenu",
        "exportToVideo",
        "exportToCinerella",
        "whatsThis",
        "updateNewActiveFrame",
        "scene",
        "frame",
        "updatePasteEnabled",
        "createMostRecentMenu",
        "modelSizeChanged",
        "modelSize",
        "activateMenuOptions"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'openProject'
        QtMocHelpers::SlotData<void(const char *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'retranslateStrings'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'newProject'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'openProject'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'openMostRecent'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'openSecondMostRecent'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'openThirdMostRecent'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'saveProject'
        QtMocHelpers::SlotData<bool()>(10, 2, QMC::AccessPrivate, QMetaType::Bool),
        // Slot 'saveProjectAs'
        QtMocHelpers::SlotData<bool()>(11, 2, QMC::AccessPrivate, QMetaType::Bool),
        // Slot 'showAboutDialog'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'showHelpDialog'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'showPreferencesMenu'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'exportToVideo'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'exportToCinerella'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'whatsThis'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateNewActiveFrame'
        QtMocHelpers::SlotData<void(int, int)>(18, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 19 }, { QMetaType::Int, 20 },
        }}),
        // Slot 'updatePasteEnabled'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'createMostRecentMenu'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'modelSizeChanged'
        QtMocHelpers::SlotData<void(int)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 24 },
        }}),
        // Slot 'activateMenuOptions'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MainWindowGUI, qt_meta_tag_ZN13MainWindowGUIE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject MainWindowGUI::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13MainWindowGUIE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13MainWindowGUIE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13MainWindowGUIE_t>.metaTypes,
    nullptr
} };

void MainWindowGUI::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MainWindowGUI *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->openProject((*reinterpret_cast<std::add_pointer_t<const char*>>(_a[1]))); break;
        case 1: _t->retranslateStrings(); break;
        case 2: _t->newProject(); break;
        case 3: _t->openProject(); break;
        case 4: _t->openMostRecent(); break;
        case 5: _t->openSecondMostRecent(); break;
        case 6: _t->openThirdMostRecent(); break;
        case 7: { bool _r = _t->saveProject();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 8: { bool _r = _t->saveProjectAs();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 9: _t->showAboutDialog(); break;
        case 10: _t->showHelpDialog(); break;
        case 11: _t->showPreferencesMenu(); break;
        case 12: _t->exportToVideo(); break;
        case 13: _t->exportToCinerella(); break;
        case 14: _t->whatsThis(); break;
        case 15: _t->updateNewActiveFrame((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 16: _t->updatePasteEnabled(); break;
        case 17: _t->createMostRecentMenu(); break;
        case 18: _t->modelSizeChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 19: _t->activateMenuOptions(); break;
        default: ;
        }
    }
}

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

void *MainWindowGUI::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13MainWindowGUIE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "UndoRedoObserver"))
        return static_cast< UndoRedoObserver*>(this);
    return QMainWindow::qt_metacast(_clname);
}

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