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

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

template <> constexpr inline auto SkanpageState::qt_create_metaobjectdata<qt_meta_tag_ZN13SkanpageStateE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "SkanpageState",
        "deviceNameChanged",
        "",
        "deviceModelChanged",
        "deviceVendorChanged",
        "showOptionsChanged",
        "showAllOptionsChanged",
        "splitViewItemWidthChanged",
        "deviceName",
        "isDeviceNameImmutable",
        "deviceModel",
        "isDeviceModelImmutable",
        "deviceVendor",
        "isDeviceVendorImmutable",
        "showOptions",
        "isShowOptionsImmutable",
        "showAllOptions",
        "isShowAllOptionsImmutable",
        "splitViewItemWidth",
        "isSplitViewItemWidthImmutable"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'deviceNameChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'deviceModelChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'deviceVendorChanged'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'showOptionsChanged'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'showAllOptionsChanged'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'splitViewItemWidthChanged'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'deviceName'
        QtMocHelpers::PropertyData<QString>(8, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 0),
        // property 'isDeviceNameImmutable'
        QtMocHelpers::PropertyData<bool>(9, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'deviceModel'
        QtMocHelpers::PropertyData<QString>(10, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 1),
        // property 'isDeviceModelImmutable'
        QtMocHelpers::PropertyData<bool>(11, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'deviceVendor'
        QtMocHelpers::PropertyData<QString>(12, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 2),
        // property 'isDeviceVendorImmutable'
        QtMocHelpers::PropertyData<bool>(13, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'showOptions'
        QtMocHelpers::PropertyData<bool>(14, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 3),
        // property 'isShowOptionsImmutable'
        QtMocHelpers::PropertyData<bool>(15, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'showAllOptions'
        QtMocHelpers::PropertyData<bool>(16, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 4),
        // property 'isShowAllOptionsImmutable'
        QtMocHelpers::PropertyData<bool>(17, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'splitViewItemWidth'
        QtMocHelpers::PropertyData<uint>(18, QMetaType::UInt, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 5),
        // property 'isSplitViewItemWidthImmutable'
        QtMocHelpers::PropertyData<bool>(19, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<SkanpageState, qt_meta_tag_ZN13SkanpageStateE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject SkanpageState::staticMetaObject = { {
    QMetaObject::SuperData::link<KConfigSkeleton::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13SkanpageStateE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13SkanpageStateE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13SkanpageStateE_t>.metaTypes,
    nullptr
} };

void SkanpageState::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<SkanpageState *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->deviceNameChanged(); break;
        case 1: _t->deviceModelChanged(); break;
        case 2: _t->deviceVendorChanged(); break;
        case 3: _t->showOptionsChanged(); break;
        case 4: _t->showAllOptionsChanged(); break;
        case 5: _t->splitViewItemWidthChanged(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (SkanpageState::*)()>(_a, &SkanpageState::deviceNameChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (SkanpageState::*)()>(_a, &SkanpageState::deviceModelChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (SkanpageState::*)()>(_a, &SkanpageState::deviceVendorChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (SkanpageState::*)()>(_a, &SkanpageState::showOptionsChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (SkanpageState::*)()>(_a, &SkanpageState::showAllOptionsChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (SkanpageState::*)()>(_a, &SkanpageState::splitViewItemWidthChanged, 5))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QString*>(_v) = _t->deviceName(); break;
        case 1: *reinterpret_cast<bool*>(_v) = _t->isDeviceNameImmutable(); break;
        case 2: *reinterpret_cast<QString*>(_v) = _t->deviceModel(); break;
        case 3: *reinterpret_cast<bool*>(_v) = _t->isDeviceModelImmutable(); break;
        case 4: *reinterpret_cast<QString*>(_v) = _t->deviceVendor(); break;
        case 5: *reinterpret_cast<bool*>(_v) = _t->isDeviceVendorImmutable(); break;
        case 6: *reinterpret_cast<bool*>(_v) = _t->showOptions(); break;
        case 7: *reinterpret_cast<bool*>(_v) = _t->isShowOptionsImmutable(); break;
        case 8: *reinterpret_cast<bool*>(_v) = _t->showAllOptions(); break;
        case 9: *reinterpret_cast<bool*>(_v) = _t->isShowAllOptionsImmutable(); break;
        case 10: *reinterpret_cast<uint*>(_v) = _t->splitViewItemWidth(); break;
        case 11: *reinterpret_cast<bool*>(_v) = _t->isSplitViewItemWidthImmutable(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setDeviceName(*reinterpret_cast<QString*>(_v)); break;
        case 2: _t->setDeviceModel(*reinterpret_cast<QString*>(_v)); break;
        case 4: _t->setDeviceVendor(*reinterpret_cast<QString*>(_v)); break;
        case 6: _t->setShowOptions(*reinterpret_cast<bool*>(_v)); break;
        case 8: _t->setShowAllOptions(*reinterpret_cast<bool*>(_v)); break;
        case 10: _t->setSplitViewItemWidth(*reinterpret_cast<uint*>(_v)); break;
        default: break;
        }
    }
}

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

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

int SkanpageState::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KConfigSkeleton::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 -= 12;
    }
    return _id;
}

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

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

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

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

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

// SIGNAL 5
void SkanpageState::splitViewItemWidthChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}
QT_WARNING_POP
