/****************************************************************************
** Meta object code from reading C++ file 'gallery.h'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.9.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../maui-pix-4.0.2/src/models/gallery/gallery.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 'gallery.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.9.0. 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_ZN9GpsImagesE_t {};
} // unnamed namespace

template <> constexpr inline auto GpsImages::qt_create_metaobjectdata<qt_meta_tag_ZN9GpsImagesE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "GpsImages"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<GpsImages, qt_meta_tag_ZN9GpsImagesE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject GpsImages::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9GpsImagesE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9GpsImagesE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9GpsImagesE_t>.metaTypes,
    nullptr
} };

void GpsImages::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<GpsImages *>(_o);
    (void)_t;
    (void)_c;
    (void)_id;
    (void)_a;
}

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

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

int GpsImages::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    return _id;
}
namespace {
struct qt_meta_tag_ZN7GalleryE_t {};
} // unnamed namespace

template <> constexpr inline auto Gallery::qt_create_metaobjectdata<qt_meta_tag_ZN7GalleryE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Gallery",
        "urlsChanged",
        "",
        "foldersChanged",
        "autoReloadChanged",
        "recursiveChanged",
        "recursive",
        "limitChanged",
        "limit",
        "filesChanged",
        "citiesChanged",
        "statusChanged",
        "errorChanged",
        "error",
        "activeGeolocationTagsChanged",
        "activeGeolocationTags",
        "remove",
        "deleteAt",
        "append",
        "QVariantMap",
        "clear",
        "rescan",
        "load",
        "setRecursive",
        "setlimit",
        "indexOfName",
        "setActiveGeolocationTags",
        "reloadGpsTags",
        "updateGpsTag",
        "url",
        "scanImagesText",
        "getFolderInfo",
        "urls",
        "QList<QUrl>",
        "folders",
        "cities",
        "files",
        "autoReload",
        "status",
        "Status",
        "Ready",
        "Loading",
        "Error"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'urlsChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'foldersChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'autoReloadChanged'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'recursiveChanged'
        QtMocHelpers::SignalData<void(bool)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 6 },
        }}),
        // Signal 'limitChanged'
        QtMocHelpers::SignalData<void(int)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 8 },
        }}),
        // Signal 'filesChanged'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'citiesChanged'
        QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'statusChanged'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'errorChanged'
        QtMocHelpers::SignalData<void(QString)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 13 },
        }}),
        // Signal 'activeGeolocationTagsChanged'
        QtMocHelpers::SignalData<void(bool)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 15 },
        }}),
        // Slot 'remove'
        QtMocHelpers::SlotData<bool(const int &)>(16, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'deleteAt'
        QtMocHelpers::SlotData<bool(const int &)>(17, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'append'
        QtMocHelpers::SlotData<void(const QVariantMap &)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 19, 2 },
        }}),
        // Slot 'append'
        QtMocHelpers::SlotData<void(const QString &)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Slot 'clear'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'rescan'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'load'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setRecursive'
        QtMocHelpers::SlotData<void(bool)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'setlimit'
        QtMocHelpers::SlotData<void(int)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'indexOfName'
        QtMocHelpers::SlotData<int(const QString &)>(25, 2, QMC::AccessPublic, QMetaType::Int, {{
            { QMetaType::QString, 2 },
        }}),
        // Slot 'setActiveGeolocationTags'
        QtMocHelpers::SlotData<void(bool)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 15 },
        }}),
        // Slot 'reloadGpsTags'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateGpsTag'
        QtMocHelpers::SlotData<void(const QString &)>(28, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 29 },
        }}),
        // Slot 'scanImagesText'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'getFolderInfo'
        QtMocHelpers::SlotData<QVariantMap(const QUrl &)>(31, 2, QMC::AccessPublic, 0x80000000 | 19, {{
            { QMetaType::QUrl, 29 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'urls'
        QtMocHelpers::PropertyData<QList<QUrl>>(32, 0x80000000 | 33, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 0),
        // property 'folders'
        QtMocHelpers::PropertyData<QList<QUrl>>(34, 0x80000000 | 33, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Final, 1),
        // property 'cities'
        QtMocHelpers::PropertyData<QStringList>(35, QMetaType::QStringList, QMC::DefaultPropertyFlags | QMC::Final, 6),
        // property 'files'
        QtMocHelpers::PropertyData<QStringList>(36, QMetaType::QStringList, QMC::DefaultPropertyFlags | QMC::Final, 5),
        // property 'recursive'
        QtMocHelpers::PropertyData<bool>(6, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 3),
        // property 'autoReload'
        QtMocHelpers::PropertyData<bool>(37, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 2),
        // property 'limit'
        QtMocHelpers::PropertyData<int>(8, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable, 4),
        // property 'status'
        QtMocHelpers::PropertyData<Status>(38, 0x80000000 | 39, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Final, 7),
        // property 'error'
        QtMocHelpers::PropertyData<QString>(13, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Final, 8),
        // property 'activeGeolocationTags'
        QtMocHelpers::PropertyData<bool>(15, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 9),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'Status'
        QtMocHelpers::EnumData<Status>(39, 39, QMC::EnumFlags{}).add({
            {   40, Status::Ready },
            {   41, Status::Loading },
            {   42, Status::Error },
        }),
    };
    return QtMocHelpers::metaObjectData<Gallery, qt_meta_tag_ZN7GalleryE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Gallery::staticMetaObject = { {
    QMetaObject::SuperData::link<MauiList::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7GalleryE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7GalleryE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN7GalleryE_t>.metaTypes,
    nullptr
} };

void Gallery::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Gallery *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->urlsChanged(); break;
        case 1: _t->foldersChanged(); break;
        case 2: _t->autoReloadChanged(); break;
        case 3: _t->recursiveChanged((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
        case 4: _t->limitChanged((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
        case 5: _t->filesChanged(); break;
        case 6: _t->citiesChanged(); break;
        case 7: _t->statusChanged(); break;
        case 8: _t->errorChanged((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
        case 9: _t->activeGeolocationTagsChanged((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
        case 10: { bool _r = _t->remove((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 11: { bool _r = _t->deleteAt((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->append((*reinterpret_cast< std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 13: _t->append((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
        case 14: _t->clear(); break;
        case 15: _t->rescan(); break;
        case 16: _t->load(); break;
        case 17: _t->setRecursive((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
        case 18: _t->setlimit((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
        case 19: { int _r = _t->indexOfName((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 20: _t->setActiveGeolocationTags((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
        case 21: _t->reloadGpsTags(); break;
        case 22: _t->updateGpsTag((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
        case 23: _t->scanImagesText(); break;
        case 24: { QVariantMap _r = _t->getFolderInfo((*reinterpret_cast< std::add_pointer_t<QUrl>>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariantMap*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Gallery::*)()>(_a, &Gallery::urlsChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Gallery::*)()>(_a, &Gallery::foldersChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Gallery::*)()>(_a, &Gallery::autoReloadChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (Gallery::*)(bool )>(_a, &Gallery::recursiveChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (Gallery::*)(int )>(_a, &Gallery::limitChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (Gallery::*)()>(_a, &Gallery::filesChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (Gallery::*)()>(_a, &Gallery::citiesChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (Gallery::*)()>(_a, &Gallery::statusChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (Gallery::*)(QString )>(_a, &Gallery::errorChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (Gallery::*)(bool )>(_a, &Gallery::activeGeolocationTagsChanged, 9))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QUrl> >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QList<QUrl>*>(_v) = _t->urls(); break;
        case 1: *reinterpret_cast<QList<QUrl>*>(_v) = _t->folders(); break;
        case 2: *reinterpret_cast<QStringList*>(_v) = _t->cities(); break;
        case 3: *reinterpret_cast<QStringList*>(_v) = _t->files(); break;
        case 4: *reinterpret_cast<bool*>(_v) = _t->recursive(); break;
        case 5: *reinterpret_cast<bool*>(_v) = _t->autoReload(); break;
        case 6: *reinterpret_cast<int*>(_v) = _t->limit(); break;
        case 7: *reinterpret_cast<Status*>(_v) = _t->status(); break;
        case 8: *reinterpret_cast<QString*>(_v) = _t->error(); break;
        case 9: *reinterpret_cast<bool*>(_v) = _t->activeGeolocationTags(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setUrls(*reinterpret_cast<QList<QUrl>*>(_v)); break;
        case 4: _t->setRecursive(*reinterpret_cast<bool*>(_v)); break;
        case 5: _t->setAutoReload(*reinterpret_cast<bool*>(_v)); break;
        case 6: _t->setlimit(*reinterpret_cast<int*>(_v)); break;
        case 9: _t->setActiveGeolocationTags(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

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

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

int Gallery::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = MauiList::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 25)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 25;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 25)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 25;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    return _id;
}

// SIGNAL 0
void Gallery::urlsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void Gallery::foldersChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void Gallery::autoReloadChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void Gallery::recursiveChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void Gallery::limitChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

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

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

// SIGNAL 7
void Gallery::statusChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void Gallery::errorChanged(QString _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void Gallery::activeGeolocationTagsChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}
QT_WARNING_POP
