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

#include <memory>
#include "../qdeclarativehapticseffect_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qdeclarativehapticseffect_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.14. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_QDeclarativeHapticsEffect_t {
    QByteArrayData data[19];
    char stringdata0[324];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QDeclarativeHapticsEffect_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QDeclarativeHapticsEffect_t qt_meta_stringdata_QDeclarativeHapticsEffect = {
    {
QT_MOC_LITERAL(0, 0, 25), // "QDeclarativeHapticsEffect"
QT_MOC_LITERAL(1, 26, 16), // "intensityChanged"
QT_MOC_LITERAL(2, 43, 0), // ""
QT_MOC_LITERAL(3, 44, 17), // "attackTimeChanged"
QT_MOC_LITERAL(4, 62, 22), // "attackIntensityChanged"
QT_MOC_LITERAL(5, 85, 15), // "fadeTimeChanged"
QT_MOC_LITERAL(6, 101, 20), // "fadeIntensityChanged"
QT_MOC_LITERAL(7, 122, 13), // "periodChanged"
QT_MOC_LITERAL(8, 136, 15), // "actuatorChanged"
QT_MOC_LITERAL(9, 152, 18), // "availableActuators"
QT_MOC_LITERAL(10, 171, 46), // "QQmlListProperty<QDeclarative..."
QT_MOC_LITERAL(11, 218, 9), // "intensity"
QT_MOC_LITERAL(12, 228, 10), // "attackTime"
QT_MOC_LITERAL(13, 239, 15), // "attackIntensity"
QT_MOC_LITERAL(14, 255, 8), // "fadeTime"
QT_MOC_LITERAL(15, 264, 13), // "fadeIntensity"
QT_MOC_LITERAL(16, 278, 6), // "period"
QT_MOC_LITERAL(17, 285, 8), // "actuator"
QT_MOC_LITERAL(18, 294, 29) // "QDeclarativeFeedbackActuator*"

    },
    "QDeclarativeHapticsEffect\0intensityChanged\0"
    "\0attackTimeChanged\0attackIntensityChanged\0"
    "fadeTimeChanged\0fadeIntensityChanged\0"
    "periodChanged\0actuatorChanged\0"
    "availableActuators\0"
    "QQmlListProperty<QDeclarativeFeedbackActuator>\0"
    "intensity\0attackTime\0attackIntensity\0"
    "fadeTime\0fadeIntensity\0period\0actuator\0"
    "QDeclarativeFeedbackActuator*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QDeclarativeHapticsEffect[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       7,   14, // methods
       8,   56, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       7,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   49,    2, 0x06 /* Public */,
       3,    0,   50,    2, 0x06 /* Public */,
       4,    0,   51,    2, 0x06 /* Public */,
       5,    0,   52,    2, 0x06 /* Public */,
       6,    0,   53,    2, 0x06 /* Public */,
       7,    0,   54,    2, 0x06 /* Public */,
       8,    0,   55,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
       9, 0x80000000 | 10, 0x00095009,
      11, QMetaType::QReal, 0x00495103,
      12, QMetaType::Int, 0x00495103,
      13, QMetaType::QReal, 0x00495103,
      14, QMetaType::Int, 0x00495103,
      15, QMetaType::QReal, 0x00495103,
      16, QMetaType::Int, 0x00495103,
      17, 0x80000000 | 18, 0x0049510b,

 // properties: notify_signal_id
       0,
       0,
       1,
       2,
       3,
       4,
       5,
       6,

       0        // eod
};

void QDeclarativeHapticsEffect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QDeclarativeHapticsEffect *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->intensityChanged(); break;
        case 1: _t->attackTimeChanged(); break;
        case 2: _t->attackIntensityChanged(); break;
        case 3: _t->fadeTimeChanged(); break;
        case 4: _t->fadeIntensityChanged(); break;
        case 5: _t->periodChanged(); break;
        case 6: _t->actuatorChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QDeclarativeHapticsEffect::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeHapticsEffect::intensityChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QDeclarativeHapticsEffect::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeHapticsEffect::attackTimeChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QDeclarativeHapticsEffect::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeHapticsEffect::attackIntensityChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QDeclarativeHapticsEffect::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeHapticsEffect::fadeTimeChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QDeclarativeHapticsEffect::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeHapticsEffect::fadeIntensityChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QDeclarativeHapticsEffect::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeHapticsEffect::periodChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QDeclarativeHapticsEffect::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeHapticsEffect::actuatorChanged)) {
                *result = 6;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 7:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDeclarativeFeedbackActuator* >(); break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlListProperty<QDeclarativeFeedbackActuator> >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QDeclarativeHapticsEffect *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QQmlListProperty<QDeclarativeFeedbackActuator>*>(_v) = _t->availableActuators(); break;
        case 1: *reinterpret_cast< qreal*>(_v) = _t->intensity(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->attackTime(); break;
        case 3: *reinterpret_cast< qreal*>(_v) = _t->attackIntensity(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->fadeTime(); break;
        case 5: *reinterpret_cast< qreal*>(_v) = _t->fadeIntensity(); break;
        case 6: *reinterpret_cast< int*>(_v) = _t->period(); break;
        case 7: *reinterpret_cast< QDeclarativeFeedbackActuator**>(_v) = _t->actuator(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QDeclarativeHapticsEffect *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setIntensity(*reinterpret_cast< qreal*>(_v)); break;
        case 2: _t->setAttackTime(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setAttackIntensity(*reinterpret_cast< qreal*>(_v)); break;
        case 4: _t->setFadeTime(*reinterpret_cast< int*>(_v)); break;
        case 5: _t->setFadeIntensity(*reinterpret_cast< qreal*>(_v)); break;
        case 6: _t->setPeriod(*reinterpret_cast< int*>(_v)); break;
        case 7: _t->setActuator(*reinterpret_cast< QDeclarativeFeedbackActuator**>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QDeclarativeHapticsEffect::staticMetaObject = { {
    QMetaObject::SuperData::link<QDeclarativeFeedbackEffect::staticMetaObject>(),
    qt_meta_stringdata_QDeclarativeHapticsEffect.data,
    qt_meta_data_QDeclarativeHapticsEffect,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *QDeclarativeHapticsEffect::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QDeclarativeHapticsEffect.stringdata0))
        return static_cast<void*>(this);
    return QDeclarativeFeedbackEffect::qt_metacast(_clname);
}

int QDeclarativeHapticsEffect::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDeclarativeFeedbackEffect::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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 7;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 8;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

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

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

// SIGNAL 6
void QDeclarativeHapticsEffect::actuatorChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
