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

template <> constexpr inline auto AnnotationDialog::Dialog::qt_create_metaobjectdata<qt_meta_tag_ZN16AnnotationDialog6DialogE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "AnnotationDialog::Dialog",
        "imageRotated",
        "",
        "DB::FileName",
        "id",
        "slotRevert",
        "slotIndexChanged",
        "index",
        "doneTagging",
        "continueLater",
        "slotClearSearchForm",
        "slotOptions",
        "slotSaveWindowSetup",
        "Settings::SettingsScope",
        "scope",
        "slotDeleteOption",
        "DB::Category*",
        "slotRenameOption",
        "reject",
        "rotate",
        "angle",
        "slotSetFuzzyDate",
        "checked",
        "slotResetLayout",
        "slotStartDateChanged",
        "DB::ImageDate",
        "slotCopyPrevious",
        "slotShowAreas",
        "showAreas",
        "slotRatingChanged",
        "togglePreview",
        "descriptionPageUpDownPressed",
        "QKeyEvent*",
        "event",
        "slotNewArea",
        "AnnotationDialog::ResizableFrame*",
        "area",
        "positionableTagSelected",
        "category",
        "tag",
        "positionableTagDeselected",
        "positionableTagRenamed",
        "oldTag",
        "newTag",
        "setCancelMapLoading",
        "annotationMapVisibilityChanged",
        "visible",
        "populateMap",
        "showEvent",
        "QShowEvent*",
        "hideEvent",
        "QHideEvent*",
        "slotDiscardFiles",
        "DB::FileNameList",
        "files",
        "closeDialog"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'imageRotated'
        QtMocHelpers::SignalData<void(const DB::FileName &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'slotRevert'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotIndexChanged'
        QtMocHelpers::SlotData<void(int)>(6, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Int, 7 },
        }}),
        // Slot 'doneTagging'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'continueLater'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotClearSearchForm'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotOptions'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotSaveWindowSetup'
        QtMocHelpers::SlotData<void(Settings::SettingsScope)>(12, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 13, 14 },
        }}),
        // Slot 'slotDeleteOption'
        QtMocHelpers::SlotData<void(DB::Category *, const QString &)>(15, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 16, 2 }, { QMetaType::QString, 2 },
        }}),
        // Slot 'slotRenameOption'
        QtMocHelpers::SlotData<void(DB::Category *, const QString &, const QString &)>(17, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 16, 2 }, { QMetaType::QString, 2 }, { QMetaType::QString, 2 },
        }}),
        // Slot 'reject'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'rotate'
        QtMocHelpers::SlotData<void(int)>(19, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Int, 20 },
        }}),
        // Slot 'slotSetFuzzyDate'
        QtMocHelpers::SlotData<void(bool)>(21, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Bool, 22 },
        }}),
        // Slot 'slotResetLayout'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotStartDateChanged'
        QtMocHelpers::SlotData<void(const DB::ImageDate &)>(24, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 25, 2 },
        }}),
        // Slot 'slotCopyPrevious'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotShowAreas'
        QtMocHelpers::SlotData<void(bool)>(27, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Bool, 28 },
        }}),
        // Slot 'slotRatingChanged'
        QtMocHelpers::SlotData<void(int)>(29, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'togglePreview'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'descriptionPageUpDownPressed'
        QtMocHelpers::SlotData<void(QKeyEvent *)>(31, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 32, 33 },
        }}),
        // Slot 'slotNewArea'
        QtMocHelpers::SlotData<void(AnnotationDialog::ResizableFrame *)>(34, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 35, 36 },
        }}),
        // Slot 'positionableTagSelected'
        QtMocHelpers::SlotData<void(QString, QString)>(37, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::QString, 38 }, { QMetaType::QString, 39 },
        }}),
        // Slot 'positionableTagDeselected'
        QtMocHelpers::SlotData<void(QString, QString)>(40, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::QString, 38 }, { QMetaType::QString, 39 },
        }}),
        // Slot 'positionableTagRenamed'
        QtMocHelpers::SlotData<void(QString, QString, QString)>(41, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::QString, 38 }, { QMetaType::QString, 42 }, { QMetaType::QString, 43 },
        }}),
        // Slot 'setCancelMapLoading'
        QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'annotationMapVisibilityChanged'
        QtMocHelpers::SlotData<void(bool)>(45, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Bool, 46 },
        }}),
        // Slot 'populateMap'
        QtMocHelpers::SlotData<void()>(47, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'showEvent'
        QtMocHelpers::SlotData<void(QShowEvent *)>(48, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 49, 33 },
        }}),
        // Slot 'hideEvent'
        QtMocHelpers::SlotData<void(QHideEvent *)>(50, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 51, 33 },
        }}),
        // Slot 'slotDiscardFiles'
        QtMocHelpers::SlotData<void(const DB::FileNameList &)>(52, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 53, 54 },
        }}),
        // Slot 'closeDialog'
        QtMocHelpers::SlotData<void()>(55, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Dialog, qt_meta_tag_ZN16AnnotationDialog6DialogE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject AnnotationDialog::Dialog::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16AnnotationDialog6DialogE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16AnnotationDialog6DialogE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN16AnnotationDialog6DialogE_t>.metaTypes,
    nullptr
} };

void AnnotationDialog::Dialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Dialog *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->imageRotated((*reinterpret_cast<std::add_pointer_t<DB::FileName>>(_a[1]))); break;
        case 1: _t->slotRevert(); break;
        case 2: _t->slotIndexChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 3: _t->doneTagging(); break;
        case 4: _t->continueLater(); break;
        case 5: _t->slotClearSearchForm(); break;
        case 6: _t->slotOptions(); break;
        case 7: _t->slotSaveWindowSetup((*reinterpret_cast<std::add_pointer_t<Settings::SettingsScope>>(_a[1]))); break;
        case 8: _t->slotDeleteOption((*reinterpret_cast<std::add_pointer_t<DB::Category*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 9: _t->slotRenameOption((*reinterpret_cast<std::add_pointer_t<DB::Category*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 10: _t->reject(); break;
        case 11: _t->rotate((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 12: _t->slotSetFuzzyDate((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 13: _t->slotResetLayout(); break;
        case 14: _t->slotStartDateChanged((*reinterpret_cast<std::add_pointer_t<DB::ImageDate>>(_a[1]))); break;
        case 15: _t->slotCopyPrevious(); break;
        case 16: _t->slotShowAreas((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 17: _t->slotRatingChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 18: _t->togglePreview(); break;
        case 19: _t->descriptionPageUpDownPressed((*reinterpret_cast<std::add_pointer_t<QKeyEvent*>>(_a[1]))); break;
        case 20: _t->slotNewArea((*reinterpret_cast<std::add_pointer_t<AnnotationDialog::ResizableFrame*>>(_a[1]))); break;
        case 21: _t->positionableTagSelected((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 22: _t->positionableTagDeselected((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 23: _t->positionableTagRenamed((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 24: _t->setCancelMapLoading(); break;
        case 25: _t->annotationMapVisibilityChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 26: _t->populateMap(); break;
        case 27: _t->showEvent((*reinterpret_cast<std::add_pointer_t<QShowEvent*>>(_a[1]))); break;
        case 28: _t->hideEvent((*reinterpret_cast<std::add_pointer_t<QHideEvent*>>(_a[1]))); break;
        case 29: _t->slotDiscardFiles((*reinterpret_cast<std::add_pointer_t<DB::FileNameList>>(_a[1]))); break;
        case 30: _t->closeDialog(); 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 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< DB::Category* >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< DB::Category* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Dialog::*)(const DB::FileName & )>(_a, &Dialog::imageRotated, 0))
            return;
    }
}

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

void *AnnotationDialog::Dialog::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16AnnotationDialog6DialogE_t>.strings))
        return static_cast<void*>(this);
    return QDialog::qt_metacast(_clname);
}

int AnnotationDialog::Dialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 31)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 31;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 31)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 31;
    }
    return _id;
}

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