/****************************************************************************
** Meta object code from reading C++ file 'currentaccounttomigrate.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 "../../../jami-client-qt/src/app/currentaccounttomigrate.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 'currentaccounttomigrate.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_ZN23CurrentAccountToMigrateE_t {};
} // unnamed namespace

template <> constexpr inline auto CurrentAccountToMigrate::qt_create_metaobjectdata<qt_meta_tag_ZN23CurrentAccountToMigrateE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "CurrentAccountToMigrate",
        "QML.Singleton",
        "true",
        "accountToMigrateListSizeChanged",
        "",
        "accountIdChanged",
        "managerUsernameChanged",
        "managerUriChanged",
        "usernameChanged",
        "aliasChanged",
        "migrationEnded",
        "success",
        "allMigrationsFinished",
        "currentAccountToMigrateRemoved",
        "accountNeedsMigration",
        "accountId",
        "slotAccountStatusChanged",
        "slotAccountRemoved",
        "removeCurrentAccountToMigrate",
        "accountToMigrateListSize",
        "managerUsername",
        "managerUri",
        "username",
        "alias"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'accountToMigrateListSizeChanged'
        QtMocHelpers::SignalData<void()>(3, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'accountIdChanged'
        QtMocHelpers::SignalData<void()>(5, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'managerUsernameChanged'
        QtMocHelpers::SignalData<void()>(6, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'managerUriChanged'
        QtMocHelpers::SignalData<void()>(7, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'usernameChanged'
        QtMocHelpers::SignalData<void()>(8, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'aliasChanged'
        QtMocHelpers::SignalData<void()>(9, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'migrationEnded'
        QtMocHelpers::SignalData<void(bool)>(10, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 11 },
        }}),
        // Signal 'allMigrationsFinished'
        QtMocHelpers::SignalData<void()>(12, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'currentAccountToMigrateRemoved'
        QtMocHelpers::SignalData<void()>(13, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'accountNeedsMigration'
        QtMocHelpers::SignalData<void(const QString &)>(14, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 15 },
        }}),
        // Slot 'slotAccountStatusChanged'
        QtMocHelpers::SlotData<void(const QString &)>(16, 4, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 15 },
        }}),
        // Slot 'slotAccountRemoved'
        QtMocHelpers::SlotData<void(const QString &)>(17, 4, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 15 },
        }}),
        // Method 'removeCurrentAccountToMigrate'
        QtMocHelpers::MethodData<void()>(18, 4, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'accountToMigrateListSize'
        QtMocHelpers::PropertyData<int>(19, QMetaType::Int, QMC::DefaultPropertyFlags, 0),
        // property 'accountId'
        QtMocHelpers::PropertyData<QString>(15, QMetaType::QString, QMC::DefaultPropertyFlags, 1),
        // property 'managerUsername'
        QtMocHelpers::PropertyData<QString>(20, QMetaType::QString, QMC::DefaultPropertyFlags, 2),
        // property 'managerUri'
        QtMocHelpers::PropertyData<QString>(21, QMetaType::QString, QMC::DefaultPropertyFlags, 3),
        // property 'username'
        QtMocHelpers::PropertyData<QString>(22, QMetaType::QString, QMC::DefaultPropertyFlags, 4),
        // property 'alias'
        QtMocHelpers::PropertyData<QString>(23, QMetaType::QString, QMC::DefaultPropertyFlags, 5),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
    });
    return QtMocHelpers::metaObjectData<CurrentAccountToMigrate, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject CurrentAccountToMigrate::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN23CurrentAccountToMigrateE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN23CurrentAccountToMigrateE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN23CurrentAccountToMigrateE_t>.metaTypes,
    nullptr
} };

void CurrentAccountToMigrate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<CurrentAccountToMigrate *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->accountToMigrateListSizeChanged(); break;
        case 1: _t->accountIdChanged(); break;
        case 2: _t->managerUsernameChanged(); break;
        case 3: _t->managerUriChanged(); break;
        case 4: _t->usernameChanged(); break;
        case 5: _t->aliasChanged(); break;
        case 6: _t->migrationEnded((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 7: _t->allMigrationsFinished(); break;
        case 8: _t->currentAccountToMigrateRemoved(); break;
        case 9: _t->accountNeedsMigration((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 10: _t->slotAccountStatusChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 11: _t->slotAccountRemoved((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 12: _t->removeCurrentAccountToMigrate(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (CurrentAccountToMigrate::*)()>(_a, &CurrentAccountToMigrate::accountToMigrateListSizeChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (CurrentAccountToMigrate::*)()>(_a, &CurrentAccountToMigrate::accountIdChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (CurrentAccountToMigrate::*)()>(_a, &CurrentAccountToMigrate::managerUsernameChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (CurrentAccountToMigrate::*)()>(_a, &CurrentAccountToMigrate::managerUriChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (CurrentAccountToMigrate::*)()>(_a, &CurrentAccountToMigrate::usernameChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (CurrentAccountToMigrate::*)()>(_a, &CurrentAccountToMigrate::aliasChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (CurrentAccountToMigrate::*)(bool )>(_a, &CurrentAccountToMigrate::migrationEnded, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (CurrentAccountToMigrate::*)()>(_a, &CurrentAccountToMigrate::allMigrationsFinished, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (CurrentAccountToMigrate::*)()>(_a, &CurrentAccountToMigrate::currentAccountToMigrateRemoved, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (CurrentAccountToMigrate::*)(const QString & )>(_a, &CurrentAccountToMigrate::accountNeedsMigration, 9))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<int*>(_v) = _t->get_accountToMigrateListSize(); break;
        case 1: *reinterpret_cast<QString*>(_v) = _t->get_accountId(); break;
        case 2: *reinterpret_cast<QString*>(_v) = _t->get_managerUsername(); break;
        case 3: *reinterpret_cast<QString*>(_v) = _t->get_managerUri(); break;
        case 4: *reinterpret_cast<QString*>(_v) = _t->get_username(); break;
        case 5: *reinterpret_cast<QString*>(_v) = _t->get_alias(); break;
        default: break;
        }
    }
}

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

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

int CurrentAccountToMigrate::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 < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 13;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    }
    return _id;
}

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

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

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

// SIGNAL 3
void CurrentAccountToMigrate::managerUriChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void CurrentAccountToMigrate::usernameChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

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

// SIGNAL 6
void CurrentAccountToMigrate::migrationEnded(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

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

// SIGNAL 8
void CurrentAccountToMigrate::currentAccountToMigrateRemoved()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void CurrentAccountToMigrate::accountNeedsMigration(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}
QT_WARNING_POP
