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

#include "../../../jami-client-qt/src/app/appsettingsmanager.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 'appsettingsmanager.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.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_ZN8SettingsE_t {};
} // unnamed namespace

template <> constexpr inline auto Settings::qt_create_metaobjectdata<qt_meta_tag_ZN8SettingsE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Settings",
        "Key",
        "MinimizeOnClose",
        "DownloadPath",
        "ScreenshotPath",
        "EnableNotifications",
        "EnableReadReceipt",
        "AcceptTransferBelow",
        "AutoAcceptFiles",
        "DisplayHyperlinkPreviews",
        "AppTheme",
        "BaseZoom",
        "ParticipantsSide",
        "HideSelf",
        "HideSpectators",
        "AutoUpdate",
        "PluginAutoUpdate",
        "ShowChatviewHorizontally",
        "NeverShowMeAgain",
        "WindowGeometry",
        "PipWindowGeometry",
        "AutoPipCallOnNavAway",
        "WindowState",
        "LANG",
        "SpellLang",
        "EnableSpellCheck",
        "PluginStoreEndpoint",
        "PositionShareDuration",
        "PositionShareLimit",
        "FlipSelf",
        "ShowMardownOption",
        "ChatViewEnterIsNewLine",
        "ShowSendOption",
        "EnablePtt",
        "PttKeys",
        "UseFramelessWindow",
        "EnableCrashReporting",
        "EnableAutomaticCrashReporting",
        "RaiseWhenCalled",
        "EnableApi",
        "ApiPort",
        "Donation2025StartDate",
        "IsDonationVisible",
        "Donation2025EndDate",
        "COUNT__"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'Key'
        QtMocHelpers::EnumData<enum Key>(1, 1, QMC::EnumIsScoped).add({
            {    2, Key::MinimizeOnClose },
            {    3, Key::DownloadPath },
            {    4, Key::ScreenshotPath },
            {    5, Key::EnableNotifications },
            {    6, Key::EnableReadReceipt },
            {    7, Key::AcceptTransferBelow },
            {    8, Key::AutoAcceptFiles },
            {    9, Key::DisplayHyperlinkPreviews },
            {   10, Key::AppTheme },
            {   11, Key::BaseZoom },
            {   12, Key::ParticipantsSide },
            {   13, Key::HideSelf },
            {   14, Key::HideSpectators },
            {   15, Key::AutoUpdate },
            {   16, Key::PluginAutoUpdate },
            {   17, Key::ShowChatviewHorizontally },
            {   18, Key::NeverShowMeAgain },
            {   19, Key::WindowGeometry },
            {   20, Key::PipWindowGeometry },
            {   21, Key::AutoPipCallOnNavAway },
            {   22, Key::WindowState },
            {   23, Key::LANG },
            {   24, Key::SpellLang },
            {   25, Key::EnableSpellCheck },
            {   26, Key::PluginStoreEndpoint },
            {   27, Key::PositionShareDuration },
            {   28, Key::PositionShareLimit },
            {   29, Key::FlipSelf },
            {   30, Key::ShowMardownOption },
            {   31, Key::ChatViewEnterIsNewLine },
            {   32, Key::ShowSendOption },
            {   33, Key::EnablePtt },
            {   34, Key::PttKeys },
            {   35, Key::UseFramelessWindow },
            {   36, Key::EnableCrashReporting },
            {   37, Key::EnableAutomaticCrashReporting },
            {   38, Key::RaiseWhenCalled },
            {   39, Key::EnableApi },
            {   40, Key::ApiPort },
            {   41, Key::Donation2025StartDate },
            {   42, Key::IsDonationVisible },
            {   43, Key::Donation2025EndDate },
            {   44, Key::COUNT__ },
        }),
    };
    return QtMocHelpers::metaObjectData<Settings, qt_meta_tag_ZN8SettingsE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Settings::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8SettingsE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8SettingsE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8SettingsE_t>.metaTypes,
    nullptr
} };

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

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

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

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

template <> constexpr inline auto AppSettingsManager::qt_create_metaobjectdata<qt_meta_tag_ZN18AppSettingsManagerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "AppSettingsManager",
        "retranslate",
        "",
        "reloadHistory",
        "localeChanged",
        "getValue",
        "QVariant",
        "key",
        "defaultValue",
        "setValue",
        "value",
        "Settings::Key",
        "getDefault"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'retranslate'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'reloadHistory'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'localeChanged'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'getValue'
        QtMocHelpers::MethodData<QVariant(const QString &, const QVariant &)>(5, 2, QMC::AccessPublic, 0x80000000 | 6, {{
            { QMetaType::QString, 7 }, { 0x80000000 | 6, 8 },
        }}),
        // Method 'getValue'
        QtMocHelpers::MethodData<QVariant(const QString &)>(5, 2, QMC::AccessPublic | QMC::MethodCloned, 0x80000000 | 6, {{
            { QMetaType::QString, 7 },
        }}),
        // Method 'setValue'
        QtMocHelpers::MethodData<void(const QString &, const QVariant &)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 7 }, { 0x80000000 | 6, 10 },
        }}),
        // Method 'setValue'
        QtMocHelpers::MethodData<void(const QString &)>(9, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 7 },
        }}),
        // Method 'getValue'
        QtMocHelpers::MethodData<QVariant(const Settings::Key)>(5, 2, QMC::AccessPublic, 0x80000000 | 6, {{
            { 0x80000000 | 11, 7 },
        }}),
        // Method 'setValue'
        QtMocHelpers::MethodData<void(const Settings::Key, const QVariant &)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 7 }, { 0x80000000 | 6, 10 },
        }}),
        // Method 'setValue'
        QtMocHelpers::MethodData<void(const Settings::Key)>(9, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 11, 7 },
        }}),
        // Method 'getDefault'
        QtMocHelpers::MethodData<QVariant(const Settings::Key) const>(12, 2, QMC::AccessPublic, 0x80000000 | 6, {{
            { 0x80000000 | 11, 7 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<AppSettingsManager, qt_meta_tag_ZN18AppSettingsManagerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject AppSettingsManager::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18AppSettingsManagerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18AppSettingsManagerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN18AppSettingsManagerE_t>.metaTypes,
    nullptr
} };

void AppSettingsManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<AppSettingsManager *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->retranslate(); break;
        case 1: _t->reloadHistory(); break;
        case 2: _t->localeChanged(); break;
        case 3: { QVariant _r = _t->getValue((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QVariant>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QVariant*>(_a[0]) = std::move(_r); }  break;
        case 4: { QVariant _r = _t->getValue((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QVariant*>(_a[0]) = std::move(_r); }  break;
        case 5: _t->setValue((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QVariant>>(_a[2]))); break;
        case 6: _t->setValue((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 7: { QVariant _r = _t->getValue((*reinterpret_cast<std::add_pointer_t<Settings::Key>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QVariant*>(_a[0]) = std::move(_r); }  break;
        case 8: _t->setValue((*reinterpret_cast<std::add_pointer_t<Settings::Key>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QVariant>>(_a[2]))); break;
        case 9: _t->setValue((*reinterpret_cast<std::add_pointer_t<Settings::Key>>(_a[1]))); break;
        case 10: { QVariant _r = _t->getDefault((*reinterpret_cast<std::add_pointer_t<Settings::Key>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QVariant*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Settings::Key >(); 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< Settings::Key >(); 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< Settings::Key >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Settings::Key >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (AppSettingsManager::*)()>(_a, &AppSettingsManager::retranslate, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (AppSettingsManager::*)()>(_a, &AppSettingsManager::reloadHistory, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (AppSettingsManager::*)()>(_a, &AppSettingsManager::localeChanged, 2))
            return;
    }
}

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

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

int AppSettingsManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
    return _id;
}

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

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

// SIGNAL 2
void AppSettingsManager::localeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
QT_WARNING_POP
