/****************************************************************************
** Meta object code from reading C++ file 'ViewerWidget.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 "../../../kphotoalbum-6.2.0/Viewer/ViewerWidget.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 'ViewerWidget.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_ZN6Viewer12ViewerWidgetE_t {};
} // unnamed namespace

template <> constexpr inline auto Viewer::ViewerWidget::qt_create_metaobjectdata<qt_meta_tag_ZN6Viewer12ViewerWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Viewer::ViewerWidget",
        "soughtTo",
        "",
        "DB::FileName",
        "id",
        "imageRotated",
        "updateInfoBox",
        "test",
        "moveInfoBox",
        "stopPlayback",
        "remapAreas",
        "QSize",
        "viewSize",
        "QRect",
        "zoomWindow",
        "sizeRatio",
        "showNext",
        "showNext10",
        "showNext100",
        "showNext1000",
        "showPrev",
        "showPrev10",
        "showPrev100",
        "showPrev1000",
        "showFirst",
        "showLast",
        "deleteCurrent",
        "removeCurrent",
        "rotate",
        "angle",
        "toggleFullScreen",
        "slotStartStopSlideShow",
        "slotSlideShowNext",
        "slotSlideShowNextFromTimer",
        "slotSlideShowFaster",
        "slotSlideShowSlower",
        "editImage",
        "filterNone",
        "filterSelected",
        "filterBW",
        "filterContrastStretch",
        "filterHistogramEqualization",
        "filterMono",
        "slotSetStackHead",
        "updateCategoryConfig",
        "populateExternalPopup",
        "populateCategoryImagePopup",
        "videoStopped",
        "showExifViewer",
        "zoomIn",
        "zoomOut",
        "zoomFull",
        "zoomPixelForPixel",
        "makeThumbnailImage",
        "addTag",
        "editDescription",
        "showAnnotationHelp",
        "setCaptionWithDetail",
        "detail",
        "slotRemoveDeletedImages",
        "DB::FileNameList",
        "imageList",
        "triggerCopyLinkAction",
        "MainWindow::CopyLinkEngine::Action",
        "action",
        "toggleTag",
        "category",
        "value",
        "copyTagsFromPreviousImage",
        "setTagMode",
        "Settings::ViewerTagMode",
        "tagMode"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'soughtTo'
        QtMocHelpers::SignalData<void(const DB::FileName &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'imageRotated'
        QtMocHelpers::SignalData<void(const DB::FileName &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'updateInfoBox'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'test'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'moveInfoBox'
        QtMocHelpers::SlotData<void(int)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'stopPlayback'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'remapAreas'
        QtMocHelpers::SlotData<void(QSize, QRect, double)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 12 }, { 0x80000000 | 13, 14 }, { QMetaType::Double, 15 },
        }}),
        // Slot 'showNext'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'showNext10'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'showNext100'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'showNext1000'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'showPrev'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'showPrev10'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'showPrev100'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'showPrev1000'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'showFirst'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'showLast'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'deleteCurrent'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'removeCurrent'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'rotate'
        QtMocHelpers::SlotData<void(int)>(28, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Int, 29 },
        }}),
        // Slot 'toggleFullScreen'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotStartStopSlideShow'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotSlideShowNext'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotSlideShowNextFromTimer'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotSlideShowFaster'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotSlideShowSlower'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'editImage'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'filterNone'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'filterSelected'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'filterBW'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'filterContrastStretch'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'filterHistogramEqualization'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'filterMono'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotSetStackHead'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'updateCategoryConfig'
        QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'populateExternalPopup'
        QtMocHelpers::SlotData<void()>(45, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'populateCategoryImagePopup'
        QtMocHelpers::SlotData<void()>(46, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'videoStopped'
        QtMocHelpers::SlotData<void()>(47, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'showExifViewer'
        QtMocHelpers::SlotData<void()>(48, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'zoomIn'
        QtMocHelpers::SlotData<void()>(49, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'zoomOut'
        QtMocHelpers::SlotData<void()>(50, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'zoomFull'
        QtMocHelpers::SlotData<void()>(51, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'zoomPixelForPixel'
        QtMocHelpers::SlotData<void()>(52, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'makeThumbnailImage'
        QtMocHelpers::SlotData<void()>(53, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'addTag'
        QtMocHelpers::SlotData<void()>(54, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'editDescription'
        QtMocHelpers::SlotData<void()>(55, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'showAnnotationHelp'
        QtMocHelpers::SlotData<void()>(56, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'setCaptionWithDetail'
        QtMocHelpers::SlotData<void(const QString &)>(57, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::QString, 58 },
        }}),
        // Slot 'slotRemoveDeletedImages'
        QtMocHelpers::SlotData<void(const DB::FileNameList &)>(59, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 60, 61 },
        }}),
        // Slot 'triggerCopyLinkAction'
        QtMocHelpers::SlotData<void(MainWindow::CopyLinkEngine::Action)>(62, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 63, 64 },
        }}),
        // Slot 'toggleTag'
        QtMocHelpers::SlotData<void(const QString &, const QString &)>(65, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::QString, 66 }, { QMetaType::QString, 67 },
        }}),
        // Slot 'copyTagsFromPreviousImage'
        QtMocHelpers::SlotData<void()>(68, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'setTagMode'
        QtMocHelpers::SlotData<void(Settings::ViewerTagMode)>(69, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 70, 71 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ViewerWidget, qt_meta_tag_ZN6Viewer12ViewerWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Viewer::ViewerWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QStackedWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6Viewer12ViewerWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6Viewer12ViewerWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6Viewer12ViewerWidgetE_t>.metaTypes,
    nullptr
} };

void Viewer::ViewerWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ViewerWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->soughtTo((*reinterpret_cast<std::add_pointer_t<DB::FileName>>(_a[1]))); break;
        case 1: _t->imageRotated((*reinterpret_cast<std::add_pointer_t<DB::FileName>>(_a[1]))); break;
        case 2: _t->updateInfoBox(); break;
        case 3: _t->test(); break;
        case 4: _t->moveInfoBox((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 5: _t->stopPlayback(); break;
        case 6: _t->remapAreas((*reinterpret_cast<std::add_pointer_t<QSize>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QRect>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<double>>(_a[3]))); break;
        case 7: _t->showNext(); break;
        case 8: _t->showNext10(); break;
        case 9: _t->showNext100(); break;
        case 10: _t->showNext1000(); break;
        case 11: _t->showPrev(); break;
        case 12: _t->showPrev10(); break;
        case 13: _t->showPrev100(); break;
        case 14: _t->showPrev1000(); break;
        case 15: _t->showFirst(); break;
        case 16: _t->showLast(); break;
        case 17: _t->deleteCurrent(); break;
        case 18: _t->removeCurrent(); break;
        case 19: _t->rotate((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 20: _t->toggleFullScreen(); break;
        case 21: _t->slotStartStopSlideShow(); break;
        case 22: _t->slotSlideShowNext(); break;
        case 23: _t->slotSlideShowNextFromTimer(); break;
        case 24: _t->slotSlideShowFaster(); break;
        case 25: _t->slotSlideShowSlower(); break;
        case 26: _t->editImage(); break;
        case 27: _t->filterNone(); break;
        case 28: _t->filterSelected(); break;
        case 29: _t->filterBW(); break;
        case 30: _t->filterContrastStretch(); break;
        case 31: _t->filterHistogramEqualization(); break;
        case 32: _t->filterMono(); break;
        case 33: _t->slotSetStackHead(); break;
        case 34: _t->updateCategoryConfig(); break;
        case 35: _t->populateExternalPopup(); break;
        case 36: _t->populateCategoryImagePopup(); break;
        case 37: _t->videoStopped(); break;
        case 38: _t->showExifViewer(); break;
        case 39: _t->zoomIn(); break;
        case 40: _t->zoomOut(); break;
        case 41: _t->zoomFull(); break;
        case 42: _t->zoomPixelForPixel(); break;
        case 43: _t->makeThumbnailImage(); break;
        case 44: _t->addTag(); break;
        case 45: _t->editDescription(); break;
        case 46: _t->showAnnotationHelp(); break;
        case 47: _t->setCaptionWithDetail((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 48: _t->slotRemoveDeletedImages((*reinterpret_cast<std::add_pointer_t<DB::FileNameList>>(_a[1]))); break;
        case 49: _t->triggerCopyLinkAction((*reinterpret_cast<std::add_pointer_t<MainWindow::CopyLinkEngine::Action>>(_a[1]))); break;
        case 50: _t->toggleTag((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 51: _t->copyTagsFromPreviousImage(); break;
        case 52: _t->setTagMode((*reinterpret_cast<std::add_pointer_t<Settings::ViewerTagMode>>(_a[1]))); 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< DB::FileName >(); 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< DB::FileName >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ViewerWidget::*)(const DB::FileName & )>(_a, &ViewerWidget::soughtTo, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ViewerWidget::*)(const DB::FileName & )>(_a, &ViewerWidget::imageRotated, 1))
            return;
    }
}

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

void *Viewer::ViewerWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6Viewer12ViewerWidgetE_t>.strings))
        return static_cast<void*>(this);
    return QStackedWidget::qt_metacast(_clname);
}

int Viewer::ViewerWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QStackedWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 53)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 53;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 53)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 53;
    }
    return _id;
}

// SIGNAL 0
void Viewer::ViewerWidget::soughtTo(const DB::FileName & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void Viewer::ViewerWidget::imageRotated(const DB::FileName & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}
QT_WARNING_POP
