/****************************************************************************
** Meta object code from reading C++ file 'kuickshow.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/kuickshow.h"
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kuickshow.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_ZN9KuickShowE_t {};
} // unnamed namespace

template <> constexpr inline auto KuickShow::qt_create_metaobjectdata<qt_meta_tag_ZN9KuickShowE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KuickShow",
        "toggleBrowser",
        "",
        "slotToggleInlinePreview",
        "on",
        "slotPrint",
        "slotConfigApplied",
        "slotConfigClosed",
        "messageCantLoadImage",
        "const KuickFile*",
        "file",
        "message",
        "showImage",
        "KFileItem",
        "KuickShow::ShowFlags",
        "flags",
        "showFileItem",
        "ImageWindow*",
        "const KFileItem*",
        "slotHighlighted",
        "slotSelected",
        "dirSelected",
        "QUrl",
        "configuration",
        "about",
        "slotDuplicateWindow",
        "url",
        "startSlideShow",
        "pauseSlideShow",
        "nextSlide",
        "item",
        "viewerDeleted",
        "slotDropped",
        "QDropEvent*",
        "QList<QUrl>",
        "slotSetActiveViewer",
        "i",
        "slotAdvanceImage",
        "steps",
        "slotShowWithUrl",
        "slotShowInSameWindow",
        "slotShowInOtherWindow",
        "slotShowFullscreen",
        "slotReplayEvent",
        "slotOpenURL",
        "slotSetURL",
        "slotURLComboReturnPressed",
        "slotDeleteCurrentImage",
        "viewer",
        "slotTrashCurrentImage",
        "doReplay"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'toggleBrowser'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotToggleInlinePreview'
        QtMocHelpers::SlotData<void(bool)>(3, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 4 },
        }}),
        // Slot 'slotPrint'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotConfigApplied'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotConfigClosed'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'messageCantLoadImage'
        QtMocHelpers::SlotData<void(const KuickFile *, const QString &)>(8, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 9, 10 }, { QMetaType::QString, 11 },
        }}),
        // Slot 'showImage'
        QtMocHelpers::SlotData<bool(const KFileItem &, KuickShow::ShowFlags)>(12, 2, QMC::AccessPrivate, QMetaType::Bool, {{
            { 0x80000000 | 13, 2 }, { 0x80000000 | 14, 15 },
        }}),
        // Slot 'showFileItem'
        QtMocHelpers::SlotData<void(ImageWindow *, const KFileItem *)>(16, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 17, 2 }, { 0x80000000 | 18, 2 },
        }}),
        // Slot 'slotHighlighted'
        QtMocHelpers::SlotData<void(const KFileItem &)>(19, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 13, 2 },
        }}),
        // Slot 'slotSelected'
        QtMocHelpers::SlotData<void(const KFileItem &)>(20, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 13, 2 },
        }}),
        // Slot 'dirSelected'
        QtMocHelpers::SlotData<void(const QUrl &)>(21, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 22, 2 },
        }}),
        // Slot 'configuration'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'about'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotDuplicateWindow'
        QtMocHelpers::SlotData<void(const QUrl &)>(25, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 22, 26 },
        }}),
        // Slot 'startSlideShow'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'pauseSlideShow'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'nextSlide'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'nextSlide'
        QtMocHelpers::SlotData<void(const KFileItem &)>(29, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 13, 30 },
        }}),
        // Slot 'viewerDeleted'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotDropped'
        QtMocHelpers::SlotData<void(const KFileItem &, QDropEvent *, const QList<QUrl> &)>(32, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 13, 2 }, { 0x80000000 | 33, 2 }, { 0x80000000 | 34, 2 },
        }}),
        // Slot 'slotSetActiveViewer'
        QtMocHelpers::SlotData<void(ImageWindow *)>(35, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 17, 36 },
        }}),
        // Slot 'slotAdvanceImage'
        QtMocHelpers::SlotData<void(ImageWindow *, int)>(37, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 17, 2 }, { QMetaType::Int, 38 },
        }}),
        // Slot 'slotShowWithUrl'
        QtMocHelpers::SlotData<void(const QUrl &)>(39, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 22, 26 },
        }}),
        // Slot 'slotShowInSameWindow'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotShowInOtherWindow'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotShowFullscreen'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotReplayEvent'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotOpenURL'
        QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotSetURL'
        QtMocHelpers::SlotData<void(const QUrl &)>(45, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 22, 2 },
        }}),
        // Slot 'slotURLComboReturnPressed'
        QtMocHelpers::SlotData<void()>(46, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotDeleteCurrentImage'
        QtMocHelpers::SlotData<void(ImageWindow *)>(47, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 17, 48 },
        }}),
        // Slot 'slotTrashCurrentImage'
        QtMocHelpers::SlotData<void(ImageWindow *)>(49, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 17, 48 },
        }}),
        // Slot 'slotDeleteCurrentImage'
        QtMocHelpers::SlotData<void()>(47, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotTrashCurrentImage'
        QtMocHelpers::SlotData<void()>(49, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'doReplay'
        QtMocHelpers::SlotData<void()>(50, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<KuickShow, qt_meta_tag_ZN9KuickShowE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KuickShow::staticMetaObject = { {
    QMetaObject::SuperData::link<KXmlGuiWindow::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9KuickShowE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9KuickShowE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9KuickShowE_t>.metaTypes,
    nullptr
} };

void KuickShow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<KuickShow *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->toggleBrowser(); break;
        case 1: _t->slotToggleInlinePreview((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 2: _t->slotPrint(); break;
        case 3: _t->slotConfigApplied(); break;
        case 4: _t->slotConfigClosed(); break;
        case 5: _t->messageCantLoadImage((*reinterpret_cast<std::add_pointer_t<const KuickFile*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 6: { bool _r = _t->showImage((*reinterpret_cast<std::add_pointer_t<KFileItem>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KuickShow::ShowFlags>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 7: _t->showFileItem((*reinterpret_cast<std::add_pointer_t<ImageWindow*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<const KFileItem*>>(_a[2]))); break;
        case 8: _t->slotHighlighted((*reinterpret_cast<std::add_pointer_t<KFileItem>>(_a[1]))); break;
        case 9: _t->slotSelected((*reinterpret_cast<std::add_pointer_t<KFileItem>>(_a[1]))); break;
        case 10: _t->dirSelected((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 11: _t->configuration(); break;
        case 12: _t->about(); break;
        case 13: _t->slotDuplicateWindow((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 14: _t->startSlideShow(); break;
        case 15: _t->pauseSlideShow(); break;
        case 16: _t->nextSlide(); break;
        case 17: _t->nextSlide((*reinterpret_cast<std::add_pointer_t<KFileItem>>(_a[1]))); break;
        case 18: _t->viewerDeleted(); break;
        case 19: _t->slotDropped((*reinterpret_cast<std::add_pointer_t<KFileItem>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QDropEvent*>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QList<QUrl>>>(_a[3]))); break;
        case 20: _t->slotSetActiveViewer((*reinterpret_cast<std::add_pointer_t<ImageWindow*>>(_a[1]))); break;
        case 21: _t->slotAdvanceImage((*reinterpret_cast<std::add_pointer_t<ImageWindow*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 22: _t->slotShowWithUrl((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 23: _t->slotShowInSameWindow(); break;
        case 24: _t->slotShowInOtherWindow(); break;
        case 25: _t->slotShowFullscreen(); break;
        case 26: _t->slotReplayEvent(); break;
        case 27: _t->slotOpenURL(); break;
        case 28: _t->slotSetURL((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 29: _t->slotURLComboReturnPressed(); break;
        case 30: _t->slotDeleteCurrentImage((*reinterpret_cast<std::add_pointer_t<ImageWindow*>>(_a[1]))); break;
        case 31: _t->slotTrashCurrentImage((*reinterpret_cast<std::add_pointer_t<ImageWindow*>>(_a[1]))); break;
        case 32: _t->slotDeleteCurrentImage(); break;
        case 33: _t->slotTrashCurrentImage(); break;
        case 34: _t->doReplay(); break;
        default: ;
        }
    }
}

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

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

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