/****************************************************************************
** Meta object code from reading C++ file 'MainWindow.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 "../../../gmic-krita/gmic-qt/src/MainWindow.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 'MainWindow.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_ZN6GmicQt10MainWindowE_t {};
} // unnamed namespace

template <> constexpr inline auto GmicQt::MainWindow::qt_create_metaobjectdata<qt_meta_tag_ZN6GmicQt10MainWindowE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "GmicQt::MainWindow",
        "onUpdateDownloadsFinished",
        "",
        "status",
        "onApplyClicked",
        "onProgressionWidgetCancelClicked",
        "onPreviewUpdateRequested",
        "synchronous",
        "randomized",
        "onPreviewKeypointsEvent",
        "flags",
        "time",
        "onFullImageProcessingDone",
        "expandOrCollapseFolders",
        "search",
        "onOkClicked",
        "onCancelClicked",
        "onReset",
        "onRandomizeParameters",
        "onCopyGMICCommand",
        "onPreviewZoomReset",
        "onUpdateFiltersClicked",
        "saveCurrentParameters",
        "onAddFave",
        "onRemoveFave",
        "onRenameFave",
        "onToggleFullScreen",
        "on",
        "onSettingsClicked",
        "onStartupFiltersUpdateFinished",
        "showZoomWarningIfNeeded",
        "updateZoomLabel",
        "onFiltersSelectionModeToggled",
        "onPreviewCheckBoxToggled",
        "onFilterSelectionChanged",
        "onEscapeKeyPressed",
        "onPreviewImageAvailable",
        "onGUIDynamismRunDone",
        "onPreviewError",
        "message",
        "onParametersChanged",
        "isAccepted",
        "setFilterName",
        "text",
        "onFullImageProcessingError",
        "onInputModeChanged",
        "InputMode"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'onUpdateDownloadsFinished'
        QtMocHelpers::SlotData<void(int)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Slot 'onApplyClicked'
        QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onProgressionWidgetCancelClicked'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onPreviewUpdateRequested'
        QtMocHelpers::SlotData<void(bool, bool)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 7 }, { QMetaType::Bool, 8 },
        }}),
        // Slot 'onPreviewUpdateRequested'
        QtMocHelpers::SlotData<void(bool)>(6, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::Bool, 7 },
        }}),
        // Slot 'onPreviewUpdateRequested'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onPreviewKeypointsEvent'
        QtMocHelpers::SlotData<void(unsigned int, unsigned long)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 10 }, { QMetaType::ULong, 11 },
        }}),
        // Slot 'onFullImageProcessingDone'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'expandOrCollapseFolders'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'search'
        QtMocHelpers::SlotData<void(const QString &)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Slot 'onOkClicked'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onCancelClicked'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onReset'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onRandomizeParameters'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onCopyGMICCommand'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onPreviewZoomReset'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onUpdateFiltersClicked'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'saveCurrentParameters'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onAddFave'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onRemoveFave'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onRenameFave'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onToggleFullScreen'
        QtMocHelpers::SlotData<void(bool)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 27 },
        }}),
        // Slot 'onSettingsClicked'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onStartupFiltersUpdateFinished'
        QtMocHelpers::SlotData<void(int)>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'showZoomWarningIfNeeded'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateZoomLabel'
        QtMocHelpers::SlotData<void(double)>(31, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 2 },
        }}),
        // Slot 'onFiltersSelectionModeToggled'
        QtMocHelpers::SlotData<void(bool)>(32, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'onPreviewCheckBoxToggled'
        QtMocHelpers::SlotData<void(bool)>(33, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'onFilterSelectionChanged'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onEscapeKeyPressed'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onPreviewImageAvailable'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onGUIDynamismRunDone'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onPreviewError'
        QtMocHelpers::SlotData<void(const QString &)>(38, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 39 },
        }}),
        // Slot 'onParametersChanged'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'isAccepted'
        QtMocHelpers::SlotData<bool()>(41, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'setFilterName'
        QtMocHelpers::SlotData<void(const QString &)>(42, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 43 },
        }}),
        // Slot 'onFullImageProcessingError'
        QtMocHelpers::SlotData<void(const QString &)>(44, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 39 },
        }}),
        // Slot 'onInputModeChanged'
        QtMocHelpers::SlotData<void(InputMode)>(45, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 46, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MainWindow, qt_meta_tag_ZN6GmicQt10MainWindowE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject GmicQt::MainWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6GmicQt10MainWindowE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6GmicQt10MainWindowE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6GmicQt10MainWindowE_t>.metaTypes,
    nullptr
} };

void GmicQt::MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MainWindow *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->onUpdateDownloadsFinished((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 1: _t->onApplyClicked(); break;
        case 2: _t->onProgressionWidgetCancelClicked(); break;
        case 3: _t->onPreviewUpdateRequested((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 4: _t->onPreviewUpdateRequested((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 5: _t->onPreviewUpdateRequested(); break;
        case 6: _t->onPreviewKeypointsEvent((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<ulong>>(_a[2]))); break;
        case 7: _t->onFullImageProcessingDone(); break;
        case 8: _t->expandOrCollapseFolders(); break;
        case 9: _t->search((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 10: _t->onOkClicked(); break;
        case 11: _t->onCancelClicked(); break;
        case 12: _t->onReset(); break;
        case 13: _t->onRandomizeParameters(); break;
        case 14: _t->onCopyGMICCommand(); break;
        case 15: _t->onPreviewZoomReset(); break;
        case 16: _t->onUpdateFiltersClicked(); break;
        case 17: _t->saveCurrentParameters(); break;
        case 18: _t->onAddFave(); break;
        case 19: _t->onRemoveFave(); break;
        case 20: _t->onRenameFave(); break;
        case 21: _t->onToggleFullScreen((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 22: _t->onSettingsClicked(); break;
        case 23: _t->onStartupFiltersUpdateFinished((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 24: _t->showZoomWarningIfNeeded(); break;
        case 25: _t->updateZoomLabel((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 26: _t->onFiltersSelectionModeToggled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 27: _t->onPreviewCheckBoxToggled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 28: _t->onFilterSelectionChanged(); break;
        case 29: _t->onEscapeKeyPressed(); break;
        case 30: _t->onPreviewImageAvailable(); break;
        case 31: _t->onGUIDynamismRunDone(); break;
        case 32: _t->onPreviewError((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 33: _t->onParametersChanged(); break;
        case 34: { bool _r = _t->isAccepted();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 35: _t->setFilterName((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 36: _t->onFullImageProcessingError((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 37: _t->onInputModeChanged((*reinterpret_cast<std::add_pointer_t<InputMode>>(_a[1]))); break;
        default: ;
        }
    }
}

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

void *GmicQt::MainWindow::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6GmicQt10MainWindowE_t>.strings))
        return static_cast<void*>(this);
    return QMainWindow::qt_metacast(_clname);
}

int GmicQt::MainWindow::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 < 38)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 38;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 38)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 38;
    }
    return _id;
}
QT_WARNING_POP
