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

#include "../../../../../mauiman-4.0.2/lib/src/modules/formfactormanager.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 'formfactormanager.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. 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_ZN7MauiMan14FormFactorInfoE_t {};
} // unnamed namespace

template <> constexpr inline auto MauiMan::FormFactorInfo::qt_create_metaobjectdata<qt_meta_tag_ZN7MauiMan14FormFactorInfoE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "MauiMan::FormFactorInfo",
        "bestModeChanged",
        "",
        "bestMode",
        "defaultModeChanged",
        "defaultMode",
        "hasKeyboardChanged",
        "hasKeyboard",
        "hasTouchscreenChanged",
        "hasTouchscreen",
        "hasMouseChanged",
        "hasMouse",
        "hasTouchpadChanged",
        "hasTouchpad",
        "screenSizeChanged",
        "QRect",
        "screenSize",
        "screenOrientationChanged",
        "Qt::ScreenOrientation",
        "screenOrientation"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'bestModeChanged'
        QtMocHelpers::SignalData<void(uint)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 3 },
        }}),
        // Signal 'defaultModeChanged'
        QtMocHelpers::SignalData<void(uint)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 5 },
        }}),
        // Signal 'hasKeyboardChanged'
        QtMocHelpers::SignalData<void(bool)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 7 },
        }}),
        // Signal 'hasTouchscreenChanged'
        QtMocHelpers::SignalData<void(bool)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 9 },
        }}),
        // Signal 'hasMouseChanged'
        QtMocHelpers::SignalData<void(bool)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 11 },
        }}),
        // Signal 'hasTouchpadChanged'
        QtMocHelpers::SignalData<void(bool)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 13 },
        }}),
        // Signal 'screenSizeChanged'
        QtMocHelpers::SignalData<void(QRect)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 16 },
        }}),
        // Signal 'screenOrientationChanged'
        QtMocHelpers::SignalData<void(Qt::ScreenOrientation)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 18, 19 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'bestMode'
        QtMocHelpers::PropertyData<uint>(3, QMetaType::UInt, QMC::DefaultPropertyFlags | QMC::Final, 0),
        // property 'defaultMode'
        QtMocHelpers::PropertyData<uint>(5, QMetaType::UInt, QMC::DefaultPropertyFlags | QMC::Constant | QMC::Final),
        // property 'hasKeyboard'
        QtMocHelpers::PropertyData<bool>(7, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Final, 2),
        // property 'hasTouchscreen'
        QtMocHelpers::PropertyData<bool>(9, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Final, 3),
        // property 'hasMouse'
        QtMocHelpers::PropertyData<bool>(11, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Final, 4),
        // property 'hasTouchpad'
        QtMocHelpers::PropertyData<bool>(13, QMetaType::Bool, QMC::DefaultPropertyFlags, 5),
        // property 'screenSize'
        QtMocHelpers::PropertyData<QRect>(16, 0x80000000 | 15, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 6),
        // property 'screenOrientation'
        QtMocHelpers::PropertyData<Qt::ScreenOrientation>(19, 0x80000000 | 18, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 7),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<FormFactorInfo, qt_meta_tag_ZN7MauiMan14FormFactorInfoE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject MauiMan::FormFactorInfo::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7MauiMan14FormFactorInfoE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7MauiMan14FormFactorInfoE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN7MauiMan14FormFactorInfoE_t>.metaTypes,
    nullptr
} };

void MauiMan::FormFactorInfo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<FormFactorInfo *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->bestModeChanged((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1]))); break;
        case 1: _t->defaultModeChanged((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1]))); break;
        case 2: _t->hasKeyboardChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->hasTouchscreenChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 4: _t->hasMouseChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 5: _t->hasTouchpadChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 6: _t->screenSizeChanged((*reinterpret_cast<std::add_pointer_t<QRect>>(_a[1]))); break;
        case 7: _t->screenOrientationChanged((*reinterpret_cast<std::add_pointer_t<Qt::ScreenOrientation>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (FormFactorInfo::*)(uint )>(_a, &FormFactorInfo::bestModeChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (FormFactorInfo::*)(uint )>(_a, &FormFactorInfo::defaultModeChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (FormFactorInfo::*)(bool )>(_a, &FormFactorInfo::hasKeyboardChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (FormFactorInfo::*)(bool )>(_a, &FormFactorInfo::hasTouchscreenChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (FormFactorInfo::*)(bool )>(_a, &FormFactorInfo::hasMouseChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (FormFactorInfo::*)(bool )>(_a, &FormFactorInfo::hasTouchpadChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (FormFactorInfo::*)(QRect )>(_a, &FormFactorInfo::screenSizeChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (FormFactorInfo::*)(Qt::ScreenOrientation )>(_a, &FormFactorInfo::screenOrientationChanged, 7))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<uint*>(_v) = _t->bestMode(); break;
        case 1: *reinterpret_cast<uint*>(_v) = _t->defaultMode(); break;
        case 2: *reinterpret_cast<bool*>(_v) = _t->hasKeyboard(); break;
        case 3: *reinterpret_cast<bool*>(_v) = _t->hasTouchscreen(); break;
        case 4: *reinterpret_cast<bool*>(_v) = _t->hasMouse(); break;
        case 5: *reinterpret_cast<bool*>(_v) = _t->hasTouchpad(); break;
        case 6: *reinterpret_cast<QRect*>(_v) = _t->screenSize(); break;
        case 7: *reinterpret_cast<Qt::ScreenOrientation*>(_v) = _t->screenOrientation(); break;
        default: break;
        }
    }
}

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

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

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

// SIGNAL 0
void MauiMan::FormFactorInfo::bestModeChanged(uint _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void MauiMan::FormFactorInfo::defaultModeChanged(uint _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void MauiMan::FormFactorInfo::hasKeyboardChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

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

// SIGNAL 4
void MauiMan::FormFactorInfo::hasMouseChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void MauiMan::FormFactorInfo::hasTouchpadChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void MauiMan::FormFactorInfo::screenSizeChanged(QRect _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void MauiMan::FormFactorInfo::screenOrientationChanged(Qt::ScreenOrientation _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}
namespace {
struct qt_meta_tag_ZN7MauiMan17FormFactorManagerE_t {};
} // unnamed namespace

template <> constexpr inline auto MauiMan::FormFactorManager::qt_create_metaobjectdata<qt_meta_tag_ZN7MauiMan17FormFactorManagerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "MauiMan::FormFactorManager",
        "preferredModeChanged",
        "",
        "preferredMode",
        "forceTouchScreenChanged",
        "forceTouchScreen",
        "onPreferredModeChanged",
        "onForceTouchScreenChanged",
        "value"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'preferredModeChanged'
        QtMocHelpers::SignalData<void(uint)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 3 },
        }}),
        // Signal 'forceTouchScreenChanged'
        QtMocHelpers::SignalData<void(bool)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'onPreferredModeChanged'
        QtMocHelpers::SlotData<void(uint)>(6, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::UInt, 3 },
        }}),
        // Slot 'onForceTouchScreenChanged'
        QtMocHelpers::SlotData<void(bool)>(7, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 8 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'preferredMode'
        QtMocHelpers::PropertyData<uint>(3, QMetaType::UInt, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 0),
        // property 'forceTouchScreen'
        QtMocHelpers::PropertyData<bool>(5, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 1),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<FormFactorManager, qt_meta_tag_ZN7MauiMan17FormFactorManagerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject MauiMan::FormFactorManager::staticMetaObject = { {
    QMetaObject::SuperData::link<FormFactorInfo::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7MauiMan17FormFactorManagerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7MauiMan17FormFactorManagerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN7MauiMan17FormFactorManagerE_t>.metaTypes,
    nullptr
} };

void MauiMan::FormFactorManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<FormFactorManager *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->preferredModeChanged((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1]))); break;
        case 1: _t->forceTouchScreenChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 2: _t->onPreferredModeChanged((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1]))); break;
        case 3: _t->onForceTouchScreenChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (FormFactorManager::*)(uint )>(_a, &FormFactorManager::preferredModeChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (FormFactorManager::*)(bool )>(_a, &FormFactorManager::forceTouchScreenChanged, 1))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<uint*>(_v) = _t->preferredMode(); break;
        case 1: *reinterpret_cast<bool*>(_v) = _t->forceTouchScreen(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setPreferredMode(*reinterpret_cast<uint*>(_v)); break;
        case 1: _t->setForceTouchScreen(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

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

void *MauiMan::FormFactorManager::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7MauiMan17FormFactorManagerE_t>.strings))
        return static_cast<void*>(this);
    return FormFactorInfo::qt_metacast(_clname);
}

int MauiMan::FormFactorManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = FormFactorInfo::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;
    }
    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 MauiMan::FormFactorManager::preferredModeChanged(uint _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void MauiMan::FormFactorManager::forceTouchScreenChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}
QT_WARNING_POP
