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

#include "../../../../lximage-qt-2.4.0/src/mainwindow.h"
#include <QtGui/qtextcursor.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.0. 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_ZN7LxImage10MainWindowE_t {};
} // unnamed namespace

template <> constexpr inline auto LxImage::MainWindow::qt_create_metaobjectdata<qt_meta_tag_ZN7LxImage10MainWindowE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "LxImage::MainWindow",
        "onImageLoaded",
        "",
        "onImageSaved",
        "on_actionMenubar_triggered",
        "checked",
        "on_actionAbout_triggered",
        "on_actionHiddenShortcuts_triggered",
        "on_actionOpenFile_triggered",
        "on_actionOpenDirectory_triggered",
        "on_actionReload_triggered",
        "on_actionNewWindow_triggered",
        "on_actionSave_triggered",
        "on_actionSaveAs_triggered",
        "on_actionPrint_triggered",
        "on_actionDelete_triggered",
        "on_actionFileProperties_triggered",
        "on_actionClose_triggered",
        "on_actionRotateClockwise_triggered",
        "on_actionRotateCounterclockwise_triggered",
        "on_actionFlipVertical_triggered",
        "on_actionFlipHorizontal_triggered",
        "on_actionResize_triggered",
        "on_actionCopy_triggered",
        "on_actionCopyPath_triggered",
        "on_actionRenameFile_triggered",
        "on_actionPaste_triggered",
        "on_actionUpload_triggered",
        "on_actionShowThumbnails_triggered",
        "on_actionSolidBg_triggered",
        "on_actionShowOutline_triggered",
        "on_actionShowExifData_triggered",
        "on_actionFullScreen_triggered",
        "on_actionSlideShow_triggered",
        "on_actionPrevious_triggered",
        "on_actionNext_triggered",
        "on_actionFirst_triggered",
        "on_actionLast_triggered",
        "on_actionNextFrame_triggered",
        "on_actionPreviousFrame_triggered",
        "on_actionFirstFrame_triggered",
        "on_actionLastFrame_triggered",
        "on_actionZoomIn_triggered",
        "on_actionZoomOut_triggered",
        "on_actionOriginalSize_triggered",
        "on_actionZoomFit_triggered",
        "onZooming",
        "on_actionDrawNone_triggered",
        "on_actionDrawArrow_triggered",
        "on_actionDrawRectangle_triggered",
        "on_actionDrawCircle_triggered",
        "on_actionDrawNumber_triggered",
        "on_actionByFileName_triggered",
        "on_actionByMTime_triggered",
        "on_actionByCrTime_triggered",
        "on_actionByFileSize_triggered",
        "on_actionByFileType_triggered",
        "onSortFilterChanged",
        "sortMenuAboutToShow",
        "onContextMenu",
        "QPoint",
        "pos",
        "onKeyboardEscape",
        "onThumbnailSelChanged",
        "QItemSelection",
        "selected",
        "deselected",
        "onFilesRemoved",
        "Fm::FileInfoList",
        "files",
        "onFileDropped",
        "path",
        "fileMenuAboutToShow",
        "createOpenWithMenu",
        "deleteOpenWithMenu"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'onImageLoaded'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onImageSaved'
        QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionMenubar_triggered'
        QtMocHelpers::SlotData<void(bool)>(4, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'on_actionAbout_triggered'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionHiddenShortcuts_triggered'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionOpenFile_triggered'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionOpenDirectory_triggered'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionReload_triggered'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionNewWindow_triggered'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionSave_triggered'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionSaveAs_triggered'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionPrint_triggered'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionDelete_triggered'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionFileProperties_triggered'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionClose_triggered'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionRotateClockwise_triggered'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionRotateCounterclockwise_triggered'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionFlipVertical_triggered'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionFlipHorizontal_triggered'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionResize_triggered'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionCopy_triggered'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionCopyPath_triggered'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionRenameFile_triggered'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionPaste_triggered'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionUpload_triggered'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionShowThumbnails_triggered'
        QtMocHelpers::SlotData<void(bool)>(28, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'on_actionSolidBg_triggered'
        QtMocHelpers::SlotData<void(bool)>(29, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'on_actionShowOutline_triggered'
        QtMocHelpers::SlotData<void(bool)>(30, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'on_actionShowExifData_triggered'
        QtMocHelpers::SlotData<void(bool)>(31, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'on_actionFullScreen_triggered'
        QtMocHelpers::SlotData<void(bool)>(32, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'on_actionSlideShow_triggered'
        QtMocHelpers::SlotData<void(bool)>(33, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'on_actionPrevious_triggered'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionNext_triggered'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionFirst_triggered'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionLast_triggered'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionNextFrame_triggered'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionPreviousFrame_triggered'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionFirstFrame_triggered'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionLastFrame_triggered'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionZoomIn_triggered'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionZoomOut_triggered'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionOriginalSize_triggered'
        QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionZoomFit_triggered'
        QtMocHelpers::SlotData<void()>(45, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onZooming'
        QtMocHelpers::SlotData<void()>(46, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionDrawNone_triggered'
        QtMocHelpers::SlotData<void()>(47, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionDrawArrow_triggered'
        QtMocHelpers::SlotData<void()>(48, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionDrawRectangle_triggered'
        QtMocHelpers::SlotData<void()>(49, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionDrawCircle_triggered'
        QtMocHelpers::SlotData<void()>(50, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionDrawNumber_triggered'
        QtMocHelpers::SlotData<void()>(51, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_actionByFileName_triggered'
        QtMocHelpers::SlotData<void(bool)>(52, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'on_actionByMTime_triggered'
        QtMocHelpers::SlotData<void(bool)>(53, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'on_actionByCrTime_triggered'
        QtMocHelpers::SlotData<void(bool)>(54, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'on_actionByFileSize_triggered'
        QtMocHelpers::SlotData<void(bool)>(55, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'on_actionByFileType_triggered'
        QtMocHelpers::SlotData<void(bool)>(56, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'onSortFilterChanged'
        QtMocHelpers::SlotData<void()>(57, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'sortMenuAboutToShow'
        QtMocHelpers::SlotData<void()>(58, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onContextMenu'
        QtMocHelpers::SlotData<void(QPoint)>(59, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 60, 61 },
        }}),
        // Slot 'onKeyboardEscape'
        QtMocHelpers::SlotData<void()>(62, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onThumbnailSelChanged'
        QtMocHelpers::SlotData<void(const QItemSelection &, const QItemSelection &)>(63, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 64, 65 }, { 0x80000000 | 64, 66 },
        }}),
        // Slot 'onFilesRemoved'
        QtMocHelpers::SlotData<void(const Fm::FileInfoList &)>(67, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 68, 69 },
        }}),
        // Slot 'onFileDropped'
        QtMocHelpers::SlotData<void(const QString)>(70, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 71 },
        }}),
        // Slot 'fileMenuAboutToShow'
        QtMocHelpers::SlotData<void()>(72, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'createOpenWithMenu'
        QtMocHelpers::SlotData<void()>(73, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'deleteOpenWithMenu'
        QtMocHelpers::SlotData<void()>(74, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MainWindow, qt_meta_tag_ZN7LxImage10MainWindowE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject LxImage::MainWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7LxImage10MainWindowE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7LxImage10MainWindowE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN7LxImage10MainWindowE_t>.metaTypes,
    nullptr
} };

void LxImage::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->onImageLoaded(); break;
        case 1: _t->onImageSaved(); break;
        case 2: _t->on_actionMenubar_triggered((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->on_actionAbout_triggered(); break;
        case 4: _t->on_actionHiddenShortcuts_triggered(); break;
        case 5: _t->on_actionOpenFile_triggered(); break;
        case 6: _t->on_actionOpenDirectory_triggered(); break;
        case 7: _t->on_actionReload_triggered(); break;
        case 8: _t->on_actionNewWindow_triggered(); break;
        case 9: _t->on_actionSave_triggered(); break;
        case 10: _t->on_actionSaveAs_triggered(); break;
        case 11: _t->on_actionPrint_triggered(); break;
        case 12: _t->on_actionDelete_triggered(); break;
        case 13: _t->on_actionFileProperties_triggered(); break;
        case 14: _t->on_actionClose_triggered(); break;
        case 15: _t->on_actionRotateClockwise_triggered(); break;
        case 16: _t->on_actionRotateCounterclockwise_triggered(); break;
        case 17: _t->on_actionFlipVertical_triggered(); break;
        case 18: _t->on_actionFlipHorizontal_triggered(); break;
        case 19: _t->on_actionResize_triggered(); break;
        case 20: _t->on_actionCopy_triggered(); break;
        case 21: _t->on_actionCopyPath_triggered(); break;
        case 22: _t->on_actionRenameFile_triggered(); break;
        case 23: _t->on_actionPaste_triggered(); break;
        case 24: _t->on_actionUpload_triggered(); break;
        case 25: _t->on_actionShowThumbnails_triggered((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 26: _t->on_actionSolidBg_triggered((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 27: _t->on_actionShowOutline_triggered((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 28: _t->on_actionShowExifData_triggered((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 29: _t->on_actionFullScreen_triggered((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 30: _t->on_actionSlideShow_triggered((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 31: _t->on_actionPrevious_triggered(); break;
        case 32: _t->on_actionNext_triggered(); break;
        case 33: _t->on_actionFirst_triggered(); break;
        case 34: _t->on_actionLast_triggered(); break;
        case 35: _t->on_actionNextFrame_triggered(); break;
        case 36: _t->on_actionPreviousFrame_triggered(); break;
        case 37: _t->on_actionFirstFrame_triggered(); break;
        case 38: _t->on_actionLastFrame_triggered(); break;
        case 39: _t->on_actionZoomIn_triggered(); break;
        case 40: _t->on_actionZoomOut_triggered(); break;
        case 41: _t->on_actionOriginalSize_triggered(); break;
        case 42: _t->on_actionZoomFit_triggered(); break;
        case 43: _t->onZooming(); break;
        case 44: _t->on_actionDrawNone_triggered(); break;
        case 45: _t->on_actionDrawArrow_triggered(); break;
        case 46: _t->on_actionDrawRectangle_triggered(); break;
        case 47: _t->on_actionDrawCircle_triggered(); break;
        case 48: _t->on_actionDrawNumber_triggered(); break;
        case 49: _t->on_actionByFileName_triggered((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 50: _t->on_actionByMTime_triggered((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 51: _t->on_actionByCrTime_triggered((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 52: _t->on_actionByFileSize_triggered((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 53: _t->on_actionByFileType_triggered((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 54: _t->onSortFilterChanged(); break;
        case 55: _t->sortMenuAboutToShow(); break;
        case 56: _t->onContextMenu((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 57: _t->onKeyboardEscape(); break;
        case 58: _t->onThumbnailSelChanged((*reinterpret_cast<std::add_pointer_t<QItemSelection>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QItemSelection>>(_a[2]))); break;
        case 59: _t->onFilesRemoved((*reinterpret_cast<std::add_pointer_t<Fm::FileInfoList>>(_a[1]))); break;
        case 60: _t->onFileDropped((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 61: _t->fileMenuAboutToShow(); break;
        case 62: _t->createOpenWithMenu(); break;
        case 63: _t->deleteOpenWithMenu(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 58:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QItemSelection >(); break;
            }
            break;
        }
    }
}

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

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

int LxImage::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 < 64)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 64;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 64)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 64;
    }
    return _id;
}
QT_WARNING_POP
