/****************************************************************************
** Meta object code from reading C++ file 'PowerlevelsEditModels.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 "../../../nheko/src/PowerlevelsEditModels.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 'PowerlevelsEditModels.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_ZN24PowerlevelsTypeListModelE_t {};
} // unnamed namespace

template <> constexpr inline auto PowerlevelsTypeListModel::qt_create_metaobjectdata<qt_meta_tag_ZN24PowerlevelsTypeListModelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "PowerlevelsTypeListModel",
        "adminLevelChanged",
        "",
        "moderatorLevelChanged",
        "remove",
        "row",
        "move",
        "from",
        "to",
        "add",
        "index",
        "type"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'adminLevelChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'moderatorLevelChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'remove'
        QtMocHelpers::MethodData<bool(int)>(4, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::Int, 5 },
        }}),
        // Method 'move'
        QtMocHelpers::MethodData<bool(int, int)>(6, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::Int, 7 }, { QMetaType::Int, 8 },
        }}),
        // Method 'add'
        QtMocHelpers::MethodData<void(int, QString)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 10 }, { QMetaType::QString, 11 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<PowerlevelsTypeListModel, qt_meta_tag_ZN24PowerlevelsTypeListModelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject PowerlevelsTypeListModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractListModel::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN24PowerlevelsTypeListModelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN24PowerlevelsTypeListModelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN24PowerlevelsTypeListModelE_t>.metaTypes,
    nullptr
} };

void PowerlevelsTypeListModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<PowerlevelsTypeListModel *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->adminLevelChanged(); break;
        case 1: _t->moderatorLevelChanged(); break;
        case 2: { 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 3: { bool _r = _t->move((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 4: _t->add((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (PowerlevelsTypeListModel::*)()>(_a, &PowerlevelsTypeListModel::adminLevelChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (PowerlevelsTypeListModel::*)()>(_a, &PowerlevelsTypeListModel::moderatorLevelChanged, 1))
            return;
    }
}

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

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

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

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

// SIGNAL 1
void PowerlevelsTypeListModel::moderatorLevelChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
namespace {
struct qt_meta_tag_ZN24PowerlevelsUserListModelE_t {};
} // unnamed namespace

template <> constexpr inline auto PowerlevelsUserListModel::qt_create_metaobjectdata<qt_meta_tag_ZN24PowerlevelsUserListModelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "PowerlevelsUserListModel",
        "defaultUserLevelChanged",
        "",
        "remove",
        "row",
        "move",
        "from",
        "to",
        "add",
        "index",
        "user"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'defaultUserLevelChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'remove'
        QtMocHelpers::MethodData<bool(int)>(3, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::Int, 4 },
        }}),
        // Method 'move'
        QtMocHelpers::MethodData<bool(int, int)>(5, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::Int, 6 }, { QMetaType::Int, 7 },
        }}),
        // Method 'add'
        QtMocHelpers::MethodData<void(int, QString)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 9 }, { QMetaType::QString, 10 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<PowerlevelsUserListModel, qt_meta_tag_ZN24PowerlevelsUserListModelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject PowerlevelsUserListModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractListModel::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN24PowerlevelsUserListModelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN24PowerlevelsUserListModelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN24PowerlevelsUserListModelE_t>.metaTypes,
    nullptr
} };

void PowerlevelsUserListModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<PowerlevelsUserListModel *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->defaultUserLevelChanged(); break;
        case 1: { 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 2: { bool _r = _t->move((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 3: _t->add((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (PowerlevelsUserListModel::*)()>(_a, &PowerlevelsUserListModel::defaultUserLevelChanged, 0))
            return;
    }
}

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

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

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

// SIGNAL 0
void PowerlevelsUserListModel::defaultUserLevelChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
namespace {
struct qt_meta_tag_ZN26PowerlevelsSpacesListModelE_t {};
} // unnamed namespace

template <> constexpr inline auto PowerlevelsSpacesListModel::qt_create_metaobjectdata<qt_meta_tag_ZN26PowerlevelsSpacesListModelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "PowerlevelsSpacesListModel",
        "applyToChildrenChanged",
        "",
        "overwriteDivergedChanged",
        "commit",
        "applyToChildren",
        "overwriteDiverged"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'applyToChildrenChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'overwriteDivergedChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'commit'
        QtMocHelpers::MethodData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'applyToChildren'
        QtMocHelpers::PropertyData<bool>(5, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 0),
        // property 'overwriteDiverged'
        QtMocHelpers::PropertyData<bool>(6, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 1),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<PowerlevelsSpacesListModel, qt_meta_tag_ZN26PowerlevelsSpacesListModelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject PowerlevelsSpacesListModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractListModel::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN26PowerlevelsSpacesListModelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN26PowerlevelsSpacesListModelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN26PowerlevelsSpacesListModelE_t>.metaTypes,
    nullptr
} };

void PowerlevelsSpacesListModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<PowerlevelsSpacesListModel *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->applyToChildrenChanged(); break;
        case 1: _t->overwriteDivergedChanged(); break;
        case 2: _t->commit(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (PowerlevelsSpacesListModel::*)()>(_a, &PowerlevelsSpacesListModel::applyToChildrenChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (PowerlevelsSpacesListModel::*)()>(_a, &PowerlevelsSpacesListModel::overwriteDivergedChanged, 1))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<bool*>(_v) = _t->applyToChildren(); break;
        case 1: *reinterpret_cast<bool*>(_v) = _t->overwriteDiverged(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setApplyToChildren(*reinterpret_cast<bool*>(_v)); break;
        case 1: _t->setOverwriteDiverged(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

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

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

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

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

// SIGNAL 1
void PowerlevelsSpacesListModel::overwriteDivergedChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
namespace {
struct qt_meta_tag_ZN23PowerlevelEditingModelsE_t {};
} // unnamed namespace

template <> constexpr inline auto PowerlevelEditingModels::qt_create_metaobjectdata<qt_meta_tag_ZN23PowerlevelEditingModelsE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "PowerlevelEditingModels",
        "QML.Element",
        "auto",
        "QML.Creatable",
        "false",
        "QML.UncreatableReason",
        "Please use editPowerlevels to create the models",
        "adminLevelChanged",
        "",
        "moderatorLevelChanged",
        "defaultUserLevelChanged",
        "commit",
        "updateSpacesModel",
        "addRole",
        "pl",
        "users",
        "PowerlevelsUserListModel*",
        "types",
        "PowerlevelsTypeListModel*",
        "spaces",
        "PowerlevelsSpacesListModel*",
        "adminLevel",
        "moderatorLevel",
        "defaultUserLevel",
        "isSpace"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'adminLevelChanged'
        QtMocHelpers::SignalData<void()>(7, 8, QMC::AccessPublic, QMetaType::Void),
        // Signal 'moderatorLevelChanged'
        QtMocHelpers::SignalData<void()>(9, 8, QMC::AccessPublic, QMetaType::Void),
        // Signal 'defaultUserLevelChanged'
        QtMocHelpers::SignalData<void()>(10, 8, QMC::AccessPublic, QMetaType::Void),
        // Method 'commit'
        QtMocHelpers::MethodData<void()>(11, 8, QMC::AccessPublic, QMetaType::Void),
        // Method 'updateSpacesModel'
        QtMocHelpers::MethodData<void()>(12, 8, QMC::AccessPublic, QMetaType::Void),
        // Method 'addRole'
        QtMocHelpers::MethodData<void(int)>(13, 8, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 14 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'users'
        QtMocHelpers::PropertyData<PowerlevelsUserListModel*>(15, 0x80000000 | 16, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'types'
        QtMocHelpers::PropertyData<PowerlevelsTypeListModel*>(17, 0x80000000 | 18, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'spaces'
        QtMocHelpers::PropertyData<PowerlevelsSpacesListModel*>(19, 0x80000000 | 20, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'adminLevel'
        QtMocHelpers::PropertyData<qlonglong>(21, QMetaType::LongLong, QMC::DefaultPropertyFlags, 0),
        // property 'moderatorLevel'
        QtMocHelpers::PropertyData<qlonglong>(22, QMetaType::LongLong, QMC::DefaultPropertyFlags, 1),
        // property 'defaultUserLevel'
        QtMocHelpers::PropertyData<qlonglong>(23, QMetaType::LongLong, QMC::DefaultPropertyFlags, 2),
        // property 'isSpace'
        QtMocHelpers::PropertyData<bool>(24, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
            {    3,    4 },
            {    5,    6 },
    });
    return QtMocHelpers::metaObjectData<PowerlevelEditingModels, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject PowerlevelEditingModels::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN23PowerlevelEditingModelsE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN23PowerlevelEditingModelsE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN23PowerlevelEditingModelsE_t>.metaTypes,
    nullptr
} };

void PowerlevelEditingModels::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<PowerlevelEditingModels *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->adminLevelChanged(); break;
        case 1: _t->moderatorLevelChanged(); break;
        case 2: _t->defaultUserLevelChanged(); break;
        case 3: _t->commit(); break;
        case 4: _t->updateSpacesModel(); break;
        case 5: _t->addRole((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (PowerlevelEditingModels::*)()>(_a, &PowerlevelEditingModels::adminLevelChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (PowerlevelEditingModels::*)()>(_a, &PowerlevelEditingModels::moderatorLevelChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (PowerlevelEditingModels::*)()>(_a, &PowerlevelEditingModels::defaultUserLevelChanged, 2))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< PowerlevelsSpacesListModel* >(); break;
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< PowerlevelsTypeListModel* >(); break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< PowerlevelsUserListModel* >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<PowerlevelsUserListModel**>(_v) = _t->users(); break;
        case 1: *reinterpret_cast<PowerlevelsTypeListModel**>(_v) = _t->types(); break;
        case 2: *reinterpret_cast<PowerlevelsSpacesListModel**>(_v) = _t->spaces(); break;
        case 3: *reinterpret_cast<qlonglong*>(_v) = _t->adminLevel(); break;
        case 4: *reinterpret_cast<qlonglong*>(_v) = _t->moderatorLevel(); break;
        case 5: *reinterpret_cast<qlonglong*>(_v) = _t->defaultUserLevel(); break;
        case 6: *reinterpret_cast<bool*>(_v) = _t->isSpace(); break;
        default: break;
        }
    }
}

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

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

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

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

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

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