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

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

template <> constexpr inline auto CharacteristicInfo::qt_create_metaobjectdata<qt_meta_tag_ZN18CharacteristicInfoE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "CharacteristicInfo",
        "characteristicChanged",
        "",
        "statusChanged",
        "valueChanged",
        "name",
        "uuid",
        "uuid_full",
        "uuid_short",
        "propertiesList",
        "permissionsList",
        "readInProgress",
        "writeInProgress",
        "notifyInProgress",
        "readInError",
        "writeInError",
        "notifyInError",
        "dataSize",
        "data",
        "QVariant",
        "valueAscii",
        "valueHex",
        "valueHex_list",
        "valueAscii_list"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'characteristicChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'statusChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'valueChanged'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'name'
        QtMocHelpers::PropertyData<QString>(5, QMetaType::QString, QMC::DefaultPropertyFlags, 0),
        // property 'uuid'
        QtMocHelpers::PropertyData<QString>(6, QMetaType::QString, QMC::DefaultPropertyFlags, 0),
        // property 'uuid_full'
        QtMocHelpers::PropertyData<QString>(7, QMetaType::QString, QMC::DefaultPropertyFlags, 0),
        // property 'uuid_short'
        QtMocHelpers::PropertyData<QString>(8, QMetaType::QString, QMC::DefaultPropertyFlags, 0),
        // property 'propertiesList'
        QtMocHelpers::PropertyData<QStringList>(9, QMetaType::QStringList, QMC::DefaultPropertyFlags, 0),
        // property 'permissionsList'
        QtMocHelpers::PropertyData<QStringList>(10, QMetaType::QStringList, QMC::DefaultPropertyFlags, 0),
        // property 'readInProgress'
        QtMocHelpers::PropertyData<bool>(11, QMetaType::Bool, QMC::DefaultPropertyFlags, 1),
        // property 'writeInProgress'
        QtMocHelpers::PropertyData<bool>(12, QMetaType::Bool, QMC::DefaultPropertyFlags, 1),
        // property 'notifyInProgress'
        QtMocHelpers::PropertyData<bool>(13, QMetaType::Bool, QMC::DefaultPropertyFlags, 1),
        // property 'readInError'
        QtMocHelpers::PropertyData<bool>(14, QMetaType::Bool, QMC::DefaultPropertyFlags, 1),
        // property 'writeInError'
        QtMocHelpers::PropertyData<bool>(15, QMetaType::Bool, QMC::DefaultPropertyFlags, 1),
        // property 'notifyInError'
        QtMocHelpers::PropertyData<bool>(16, QMetaType::Bool, QMC::DefaultPropertyFlags, 1),
        // property 'dataSize'
        QtMocHelpers::PropertyData<int>(17, QMetaType::Int, QMC::DefaultPropertyFlags, 2),
        // property 'data'
        QtMocHelpers::PropertyData<QVariant>(18, 0x80000000 | 19, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 2),
        // property 'valueAscii'
        QtMocHelpers::PropertyData<QString>(20, QMetaType::QString, QMC::DefaultPropertyFlags, 2),
        // property 'valueHex'
        QtMocHelpers::PropertyData<QString>(21, QMetaType::QString, QMC::DefaultPropertyFlags, 2),
        // property 'valueHex_list'
        QtMocHelpers::PropertyData<QStringList>(22, QMetaType::QStringList, QMC::DefaultPropertyFlags, 2),
        // property 'valueAscii_list'
        QtMocHelpers::PropertyData<QStringList>(23, QMetaType::QStringList, QMC::DefaultPropertyFlags, 2),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<CharacteristicInfo, qt_meta_tag_ZN18CharacteristicInfoE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject CharacteristicInfo::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18CharacteristicInfoE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18CharacteristicInfoE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN18CharacteristicInfoE_t>.metaTypes,
    nullptr
} };

void CharacteristicInfo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<CharacteristicInfo *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->characteristicChanged(); break;
        case 1: _t->statusChanged(); break;
        case 2: _t->valueChanged(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (CharacteristicInfo::*)()>(_a, &CharacteristicInfo::characteristicChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (CharacteristicInfo::*)()>(_a, &CharacteristicInfo::statusChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (CharacteristicInfo::*)()>(_a, &CharacteristicInfo::valueChanged, 2))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QString*>(_v) = _t->getName(); break;
        case 1: *reinterpret_cast<QString*>(_v) = _t->getUuidFull(); break;
        case 2: *reinterpret_cast<QString*>(_v) = _t->getUuidFull(); break;
        case 3: *reinterpret_cast<QString*>(_v) = _t->getUuidShort(); break;
        case 4: *reinterpret_cast<QStringList*>(_v) = _t->getPropertyList(); break;
        case 5: *reinterpret_cast<QStringList*>(_v) = _t->getPermissionList(); break;
        case 6: *reinterpret_cast<bool*>(_v) = _t->getReadInProgress(); break;
        case 7: *reinterpret_cast<bool*>(_v) = _t->getWriteInProgress(); break;
        case 8: *reinterpret_cast<bool*>(_v) = _t->getNotifyInProgress(); break;
        case 9: *reinterpret_cast<bool*>(_v) = _t->getReadInError(); break;
        case 10: *reinterpret_cast<bool*>(_v) = _t->getWriteInError(); break;
        case 11: *reinterpret_cast<bool*>(_v) = _t->getNotifyInError(); break;
        case 12: *reinterpret_cast<int*>(_v) = _t->getDataSize(); break;
        case 13: *reinterpret_cast<QVariant*>(_v) = _t->getData(); break;
        case 14: *reinterpret_cast<QString*>(_v) = _t->getValueAscii(); break;
        case 15: *reinterpret_cast<QString*>(_v) = _t->getValueHex(); break;
        case 16: *reinterpret_cast<QStringList*>(_v) = _t->getValueHex_list(); break;
        case 17: *reinterpret_cast<QStringList*>(_v) = _t->getValueAscii_list(); break;
        default: break;
        }
    }
}

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

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

int CharacteristicInfo::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 < 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 -= 18;
    }
    return _id;
}

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

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

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