/****************************************************************************
** Meta object code from reading C++ file 'imagewindow.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 "../../../../kuickshow-0.11.0/src/imagewindow.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 'imagewindow.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_ZN11ImageWindowE_t {};
} // unnamed namespace

template <> constexpr inline auto ImageWindow::qt_create_metaobjectdata<qt_meta_tag_ZN11ImageWindowE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ImageWindow",
        "sigFocusWindow",
        "",
        "ImageWindow*",
        "requestImage",
        "advance",
        "deleteImage",
        "viewer",
        "trashImage",
        "duplicateWindow",
        "QUrl",
        "url",
        "nextSlideRequested",
        "prevSlideRequested",
        "showFileBrowser",
        "pauseSlideShowSignal",
        "zoomIn",
        "zoomOut",
        "moreBrightness",
        "lessBrightness",
        "moreContrast",
        "lessContrast",
        "moreGamma",
        "lessGamma",
        "scrollUp",
        "scrollDown",
        "scrollLeft",
        "scrollRight",
        "printImage",
        "toggleFullscreen",
        "maximize",
        "imageDelete",
        "imageTrash",
        "slotSaveImage",
        "reload",
        "slotProperties",
        "pauseSlideShow",
        "setBusyCursor",
        "restoreCursor"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'sigFocusWindow'
        QtMocHelpers::SignalData<void(ImageWindow *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'requestImage'
        QtMocHelpers::SignalData<void(ImageWindow *, int)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 }, { QMetaType::Int, 5 },
        }}),
        // Signal 'deleteImage'
        QtMocHelpers::SignalData<void(ImageWindow *)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 7 },
        }}),
        // Signal 'trashImage'
        QtMocHelpers::SignalData<void(ImageWindow *)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 7 },
        }}),
        // Signal 'duplicateWindow'
        QtMocHelpers::SignalData<void(const QUrl &)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Signal 'nextSlideRequested'
        QtMocHelpers::SignalData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'prevSlideRequested'
        QtMocHelpers::SignalData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'showFileBrowser'
        QtMocHelpers::SignalData<void(const QUrl &)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Signal 'pauseSlideShowSignal'
        QtMocHelpers::SignalData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'zoomIn'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'zoomOut'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'moreBrightness'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'lessBrightness'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'moreContrast'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'lessContrast'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'moreGamma'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'lessGamma'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'scrollUp'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'scrollDown'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'scrollLeft'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'scrollRight'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'printImage'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'toggleFullscreen'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'maximize'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'imageDelete'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'imageTrash'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotSaveImage'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'reload'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotProperties'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'pauseSlideShow'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'setBusyCursor'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'restoreCursor'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessProtected, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ImageWindow, qt_meta_tag_ZN11ImageWindowE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ImageWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<ImlibWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11ImageWindowE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11ImageWindowE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11ImageWindowE_t>.metaTypes,
    nullptr
} };

void ImageWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ImageWindow *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->sigFocusWindow((*reinterpret_cast<std::add_pointer_t<ImageWindow*>>(_a[1]))); break;
        case 1: _t->requestImage((*reinterpret_cast<std::add_pointer_t<ImageWindow*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 2: _t->deleteImage((*reinterpret_cast<std::add_pointer_t<ImageWindow*>>(_a[1]))); break;
        case 3: _t->trashImage((*reinterpret_cast<std::add_pointer_t<ImageWindow*>>(_a[1]))); break;
        case 4: _t->duplicateWindow((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 5: _t->nextSlideRequested(); break;
        case 6: _t->prevSlideRequested(); break;
        case 7: _t->showFileBrowser((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 8: _t->pauseSlideShowSignal(); break;
        case 9: _t->zoomIn(); break;
        case 10: _t->zoomOut(); break;
        case 11: _t->moreBrightness(); break;
        case 12: _t->lessBrightness(); break;
        case 13: _t->moreContrast(); break;
        case 14: _t->lessContrast(); break;
        case 15: _t->moreGamma(); break;
        case 16: _t->lessGamma(); break;
        case 17: _t->scrollUp(); break;
        case 18: _t->scrollDown(); break;
        case 19: _t->scrollLeft(); break;
        case 20: _t->scrollRight(); break;
        case 21: _t->printImage(); break;
        case 22: _t->toggleFullscreen(); break;
        case 23: _t->maximize(); break;
        case 24: _t->imageDelete(); break;
        case 25: _t->imageTrash(); break;
        case 26: _t->slotSaveImage(); break;
        case 27: _t->reload(); break;
        case 28: _t->slotProperties(); break;
        case 29: _t->pauseSlideShow(); break;
        case 30: _t->setBusyCursor(); break;
        case 31: _t->restoreCursor(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ImageWindow* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ImageWindow* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ImageWindow* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ImageWindow* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ImageWindow::*)(ImageWindow * )>(_a, &ImageWindow::sigFocusWindow, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ImageWindow::*)(ImageWindow * , int )>(_a, &ImageWindow::requestImage, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ImageWindow::*)(ImageWindow * )>(_a, &ImageWindow::deleteImage, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (ImageWindow::*)(ImageWindow * )>(_a, &ImageWindow::trashImage, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (ImageWindow::*)(const QUrl & )>(_a, &ImageWindow::duplicateWindow, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (ImageWindow::*)()>(_a, &ImageWindow::nextSlideRequested, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (ImageWindow::*)()>(_a, &ImageWindow::prevSlideRequested, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (ImageWindow::*)(const QUrl & )>(_a, &ImageWindow::showFileBrowser, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (ImageWindow::*)()>(_a, &ImageWindow::pauseSlideShowSignal, 8))
            return;
    }
}

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

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

int ImageWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ImlibWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 32)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 32;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 32)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 32;
    }
    return _id;
}

// SIGNAL 0
void ImageWindow::sigFocusWindow(ImageWindow * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void ImageWindow::requestImage(ImageWindow * _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2);
}

// SIGNAL 2
void ImageWindow::deleteImage(ImageWindow * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void ImageWindow::trashImage(ImageWindow * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void ImageWindow::duplicateWindow(const QUrl & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

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

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

// SIGNAL 7
void ImageWindow::showFileBrowser(const QUrl & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void ImageWindow::pauseSlideShowSignal()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}
QT_WARNING_POP
