/****************************************************************************
** Meta object code from reading C++ file 'DeviceHeader.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/DeviceHeader.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 'DeviceHeader.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_ZN12DeviceHeaderE_t {};
} // unnamed namespace

template <> constexpr inline auto DeviceHeader::qt_create_metaobjectdata<qt_meta_tag_ZN12DeviceHeaderE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "DeviceHeader",
        "widthChanged",
        "",
        "colAddrChanged",
        "colNameChanged",
        "colManufChanged",
        "colRssiChanged",
        "colIntervalChanged",
        "colSeenChanged",
        "width",
        "margin",
        "spacing",
        "minSize",
        "maxSize",
        "colColor",
        "colAddress",
        "colName",
        "colManuf",
        "colRssi",
        "colInterval",
        "colFirstSeen",
        "colLastSeen"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'widthChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'colAddrChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'colNameChanged'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'colManufChanged'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'colRssiChanged'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'colIntervalChanged'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'colSeenChanged'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'width'
        QtMocHelpers::PropertyData<int>(9, QMetaType::Int, QMC::DefaultPropertyFlags, 0),
        // property 'margin'
        QtMocHelpers::PropertyData<int>(10, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'spacing'
        QtMocHelpers::PropertyData<int>(11, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'minSize'
        QtMocHelpers::PropertyData<int>(12, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'maxSize'
        QtMocHelpers::PropertyData<int>(13, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'colColor'
        QtMocHelpers::PropertyData<int>(14, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'colAddress'
        QtMocHelpers::PropertyData<int>(15, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable, 1),
        // property 'colName'
        QtMocHelpers::PropertyData<int>(16, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 2),
        // property 'colManuf'
        QtMocHelpers::PropertyData<int>(17, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 3),
        // property 'colRssi'
        QtMocHelpers::PropertyData<int>(18, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 4),
        // property 'colInterval'
        QtMocHelpers::PropertyData<int>(19, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 5),
        // property 'colFirstSeen'
        QtMocHelpers::PropertyData<int>(20, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable, 4),
        // property 'colLastSeen'
        QtMocHelpers::PropertyData<int>(21, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable, 6),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DeviceHeader, qt_meta_tag_ZN12DeviceHeaderE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject DeviceHeader::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12DeviceHeaderE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12DeviceHeaderE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12DeviceHeaderE_t>.metaTypes,
    nullptr
} };

void DeviceHeader::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DeviceHeader *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->widthChanged(); break;
        case 1: _t->colAddrChanged(); break;
        case 2: _t->colNameChanged(); break;
        case 3: _t->colManufChanged(); break;
        case 4: _t->colRssiChanged(); break;
        case 5: _t->colIntervalChanged(); break;
        case 6: _t->colSeenChanged(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DeviceHeader::*)()>(_a, &DeviceHeader::widthChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (DeviceHeader::*)()>(_a, &DeviceHeader::colAddrChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (DeviceHeader::*)()>(_a, &DeviceHeader::colNameChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (DeviceHeader::*)()>(_a, &DeviceHeader::colManufChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (DeviceHeader::*)()>(_a, &DeviceHeader::colRssiChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (DeviceHeader::*)()>(_a, &DeviceHeader::colIntervalChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (DeviceHeader::*)()>(_a, &DeviceHeader::colSeenChanged, 6))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<int*>(_v) = _t->getWidth(); break;
        case 1: *reinterpret_cast<int*>(_v) = _t->getMargin(); break;
        case 2: *reinterpret_cast<int*>(_v) = _t->getSpacing(); break;
        case 3: *reinterpret_cast<int*>(_v) = _t->getMinSize(); break;
        case 4: *reinterpret_cast<int*>(_v) = _t->getMaxSize(); break;
        case 5: *reinterpret_cast<int*>(_v) = _t->getColColor(); break;
        case 6: *reinterpret_cast<int*>(_v) = _t->getColAddr(); break;
        case 7: *reinterpret_cast<int*>(_v) = _t->getColName(); break;
        case 8: *reinterpret_cast<int*>(_v) = _t->getColManuf(); break;
        case 9: *reinterpret_cast<int*>(_v) = _t->getColRssi(); break;
        case 10: *reinterpret_cast<int*>(_v) = _t->getColInterval(); break;
        case 11: *reinterpret_cast<int*>(_v) = _t->getColFirstSeen(); break;
        case 12: *reinterpret_cast<int*>(_v) = _t->getColLastSeen(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 6: _t->setColAddr(*reinterpret_cast<int*>(_v)); break;
        case 7: _t->setColName(*reinterpret_cast<int*>(_v)); break;
        case 8: _t->setColManuf(*reinterpret_cast<int*>(_v)); break;
        case 9: _t->setColRssi(*reinterpret_cast<int*>(_v)); break;
        case 10: _t->setColInterval(*reinterpret_cast<int*>(_v)); break;
        case 11: _t->setColSeen(*reinterpret_cast<int*>(_v)); break;
        case 12: _t->setColSeen(*reinterpret_cast<int*>(_v)); break;
        default: break;
        }
    }
}

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

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

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

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

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

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

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

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

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

// SIGNAL 6
void DeviceHeader::colSeenChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
