/****************************************************************************
** Meta object code from reading C++ file 'ImageDisplay.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/ImageDisplay.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 'ImageDisplay.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_ZN6Viewer12ImageDisplayE_t {};
} // unnamed namespace

template <> constexpr inline auto Viewer::ImageDisplay::qt_create_metaobjectdata<qt_meta_tag_ZN6Viewer12ImageDisplayE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Viewer::ImageDisplay",
        "possibleChange",
        "",
        "imageReady",
        "imageZoomCaptionChanged",
        "info",
        "viewGeometryChanged",
        "QSize",
        "viewSize",
        "QRect",
        "zoomWindow",
        "sizeRatio",
        "zoomIn",
        "zoomOut",
        "zoomFull",
        "zoomPixelForPixel",
        "stop",
        "rotate",
        "DB::ImageInfoPtr",
        "setImageImpl",
        "forward"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'possibleChange'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'imageReady'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'imageZoomCaptionChanged'
        QtMocHelpers::SignalData<void(const QString &)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 },
        }}),
        // Signal 'viewGeometryChanged'
        QtMocHelpers::SignalData<void(QSize, QRect, double)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 }, { 0x80000000 | 9, 10 }, { QMetaType::Double, 11 },
        }}),
        // Slot 'zoomIn'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'zoomOut'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'zoomFull'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'zoomPixelForPixel'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'stop'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'rotate'
        QtMocHelpers::SlotData<void(const DB::ImageInfoPtr &)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 18, 5 },
        }}),
        // Slot 'setImageImpl'
        QtMocHelpers::SlotData<bool(DB::ImageInfoPtr, bool)>(19, 2, QMC::AccessProtected, QMetaType::Bool, {{
            { 0x80000000 | 18, 5 }, { QMetaType::Bool, 20 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ImageDisplay, qt_meta_tag_ZN6Viewer12ImageDisplayE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Viewer::ImageDisplay::staticMetaObject = { {
    QMetaObject::SuperData::link<Viewer::AbstractDisplay::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6Viewer12ImageDisplayE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6Viewer12ImageDisplayE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6Viewer12ImageDisplayE_t>.metaTypes,
    nullptr
} };

void Viewer::ImageDisplay::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ImageDisplay *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->possibleChange(); break;
        case 1: _t->imageReady(); break;
        case 2: _t->imageZoomCaptionChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 3: _t->viewGeometryChanged((*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 4: _t->zoomIn(); break;
        case 5: _t->zoomOut(); break;
        case 6: _t->zoomFull(); break;
        case 7: _t->zoomPixelForPixel(); break;
        case 8: _t->stop(); break;
        case 9: _t->rotate((*reinterpret_cast<std::add_pointer_t<DB::ImageInfoPtr>>(_a[1]))); break;
        case 10: { bool _r = _t->setImageImpl((*reinterpret_cast<std::add_pointer_t<DB::ImageInfoPtr>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ImageDisplay::*)()>(_a, &ImageDisplay::possibleChange, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ImageDisplay::*)()>(_a, &ImageDisplay::imageReady, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ImageDisplay::*)(const QString & )>(_a, &ImageDisplay::imageZoomCaptionChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (ImageDisplay::*)(QSize , QRect , double )>(_a, &ImageDisplay::viewGeometryChanged, 3))
            return;
    }
}

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

void *Viewer::ImageDisplay::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6Viewer12ImageDisplayE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "ImageManager::ImageClientInterface"))
        return static_cast< ImageManager::ImageClientInterface*>(this);
    return Viewer::AbstractDisplay::qt_metacast(_clname);
}

int Viewer::ImageDisplay::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Viewer::AbstractDisplay::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 11;
    }
    return _id;
}

// SIGNAL 0
void Viewer::ImageDisplay::possibleChange()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void Viewer::ImageDisplay::imageReady()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void Viewer::ImageDisplay::imageZoomCaptionChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void Viewer::ImageDisplay::viewGeometryChanged(QSize _t1, QRect _t2, double _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1, _t2, _t3);
}
QT_WARNING_POP
