/****************************************************************************
** Meta object code from reading C++ file 'qfeedbackeffect.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 "../qfeedbackeffect.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qfeedbackeffect.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_QFeedbackEffect_t {
    QByteArrayData data[37];
    char stringdata0[373];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QFeedbackEffect_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QFeedbackEffect_t qt_meta_stringdata_QFeedbackEffect = {
    {
QT_MOC_LITERAL(0, 0, 15), // "QFeedbackEffect"
QT_MOC_LITERAL(1, 16, 5), // "error"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 26), // "QFeedbackEffect::ErrorType"
QT_MOC_LITERAL(4, 50, 12), // "stateChanged"
QT_MOC_LITERAL(5, 63, 5), // "start"
QT_MOC_LITERAL(6, 69, 4), // "stop"
QT_MOC_LITERAL(7, 74, 5), // "pause"
QT_MOC_LITERAL(8, 80, 8), // "duration"
QT_MOC_LITERAL(9, 89, 5), // "state"
QT_MOC_LITERAL(10, 95, 5), // "State"
QT_MOC_LITERAL(11, 101, 6), // "Effect"
QT_MOC_LITERAL(12, 108, 9), // "Undefined"
QT_MOC_LITERAL(13, 118, 5), // "Press"
QT_MOC_LITERAL(14, 124, 7), // "Release"
QT_MOC_LITERAL(15, 132, 9), // "PressWeak"
QT_MOC_LITERAL(16, 142, 11), // "ReleaseWeak"
QT_MOC_LITERAL(17, 154, 11), // "PressStrong"
QT_MOC_LITERAL(18, 166, 13), // "ReleaseStrong"
QT_MOC_LITERAL(19, 180, 9), // "DragStart"
QT_MOC_LITERAL(20, 190, 14), // "DragDropInZone"
QT_MOC_LITERAL(21, 205, 17), // "DragDropOutOfZone"
QT_MOC_LITERAL(22, 223, 17), // "DragCrossBoundary"
QT_MOC_LITERAL(23, 241, 6), // "Appear"
QT_MOC_LITERAL(24, 248, 9), // "Disappear"
QT_MOC_LITERAL(25, 258, 4), // "Move"
QT_MOC_LITERAL(26, 263, 15), // "NumberOfEffects"
QT_MOC_LITERAL(27, 279, 10), // "UserEffect"
QT_MOC_LITERAL(28, 290, 8), // "Duration"
QT_MOC_LITERAL(29, 299, 8), // "Infinite"
QT_MOC_LITERAL(30, 308, 7), // "Stopped"
QT_MOC_LITERAL(31, 316, 6), // "Paused"
QT_MOC_LITERAL(32, 323, 7), // "Running"
QT_MOC_LITERAL(33, 331, 7), // "Loading"
QT_MOC_LITERAL(34, 339, 9), // "ErrorType"
QT_MOC_LITERAL(35, 349, 12), // "UnknownError"
QT_MOC_LITERAL(36, 362, 10) // "DeviceBusy"

    },
    "QFeedbackEffect\0error\0\0"
    "QFeedbackEffect::ErrorType\0stateChanged\0"
    "start\0stop\0pause\0duration\0state\0State\0"
    "Effect\0Undefined\0Press\0Release\0PressWeak\0"
    "ReleaseWeak\0PressStrong\0ReleaseStrong\0"
    "DragStart\0DragDropInZone\0DragDropOutOfZone\0"
    "DragCrossBoundary\0Appear\0Disappear\0"
    "Move\0NumberOfEffects\0UserEffect\0"
    "Duration\0Infinite\0Stopped\0Paused\0"
    "Running\0Loading\0ErrorType\0UnknownError\0"
    "DeviceBusy"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QFeedbackEffect[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       5,   14, // methods
       2,   46, // properties
       4,   54, // enums/sets
       0,    0, // constructors
       0,       // flags
       2,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   39,    2, 0x06 /* Public */,
       4,    0,   42,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    0,   43,    2, 0x0a /* Public */,
       6,    0,   44,    2, 0x0a /* Public */,
       7,    0,   45,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
       8, QMetaType::Int, 0x00095001,
       9, 0x80000000 | 10, 0x00495009,

 // properties: notify_signal_id
       0,
       1,

 // enums: name, alias, flags, count, data
      11,   11, 0x0,   16,   74,
      28,   28, 0x0,    1,  106,
      10,   10, 0x0,    4,  108,
      34,   34, 0x0,    2,  116,

 // enum data: key, value
      12, uint(QFeedbackEffect::Undefined),
      13, uint(QFeedbackEffect::Press),
      14, uint(QFeedbackEffect::Release),
      15, uint(QFeedbackEffect::PressWeak),
      16, uint(QFeedbackEffect::ReleaseWeak),
      17, uint(QFeedbackEffect::PressStrong),
      18, uint(QFeedbackEffect::ReleaseStrong),
      19, uint(QFeedbackEffect::DragStart),
      20, uint(QFeedbackEffect::DragDropInZone),
      21, uint(QFeedbackEffect::DragDropOutOfZone),
      22, uint(QFeedbackEffect::DragCrossBoundary),
      23, uint(QFeedbackEffect::Appear),
      24, uint(QFeedbackEffect::Disappear),
      25, uint(QFeedbackEffect::Move),
      26, uint(QFeedbackEffect::NumberOfEffects),
      27, uint(QFeedbackEffect::UserEffect),
      29, uint(QFeedbackEffect::Infinite),
      30, uint(QFeedbackEffect::Stopped),
      31, uint(QFeedbackEffect::Paused),
      32, uint(QFeedbackEffect::Running),
      33, uint(QFeedbackEffect::Loading),
      35, uint(QFeedbackEffect::UnknownError),
      36, uint(QFeedbackEffect::DeviceBusy),

       0        // eod
};

void QFeedbackEffect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QFeedbackEffect *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->error((*reinterpret_cast< QFeedbackEffect::ErrorType(*)>(_a[1]))); break;
        case 1: _t->stateChanged(); break;
        case 2: _t->start(); break;
        case 3: _t->stop(); break;
        case 4: _t->pause(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QFeedbackEffect::*)(QFeedbackEffect::ErrorType ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QFeedbackEffect::error)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QFeedbackEffect::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QFeedbackEffect::stateChanged)) {
                *result = 1;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QFeedbackEffect *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->duration(); break;
        case 1: *reinterpret_cast< State*>(_v) = _t->state(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QFeedbackEffect::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QFeedbackEffect.data,
    qt_meta_data_QFeedbackEffect,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QFeedbackEffect::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 < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 5;
    }
#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 -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QFeedbackEffect::error(QFeedbackEffect::ErrorType _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< QFeedbackEffect *>(this), &staticMetaObject, 0, _a);
}

// SIGNAL 1
void QFeedbackEffect::stateChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
struct qt_meta_stringdata_QFeedbackHapticsEffect_t {
    QByteArrayData data[10];
    char stringdata0[127];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QFeedbackHapticsEffect_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QFeedbackHapticsEffect_t qt_meta_stringdata_QFeedbackHapticsEffect = {
    {
QT_MOC_LITERAL(0, 0, 22), // "QFeedbackHapticsEffect"
QT_MOC_LITERAL(1, 23, 8), // "duration"
QT_MOC_LITERAL(2, 32, 9), // "intensity"
QT_MOC_LITERAL(3, 42, 10), // "attackTime"
QT_MOC_LITERAL(4, 53, 15), // "attackIntensity"
QT_MOC_LITERAL(5, 69, 8), // "fadeTime"
QT_MOC_LITERAL(6, 78, 13), // "fadeIntensity"
QT_MOC_LITERAL(7, 92, 6), // "period"
QT_MOC_LITERAL(8, 99, 8), // "actuator"
QT_MOC_LITERAL(9, 108, 18) // "QFeedbackActuator*"

    },
    "QFeedbackHapticsEffect\0duration\0"
    "intensity\0attackTime\0attackIntensity\0"
    "fadeTime\0fadeIntensity\0period\0actuator\0"
    "QFeedbackActuator*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QFeedbackHapticsEffect[] = {

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

 // properties: name, type, flags
       1, QMetaType::Int, 0x00095103,
       2, QMetaType::QReal, 0x00095103,
       3, QMetaType::Int, 0x00095103,
       4, QMetaType::QReal, 0x00095103,
       5, QMetaType::Int, 0x00095103,
       6, QMetaType::QReal, 0x00095103,
       7, QMetaType::Int, 0x00095103,
       8, 0x80000000 | 9, 0x0009510b,

       0        // eod
};

void QFeedbackHapticsEffect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{

#ifndef QT_NO_PROPERTIES
    if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QFeedbackHapticsEffect *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->duration(); 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< QFeedbackActuator**>(_v) = _t->actuator(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QFeedbackHapticsEffect *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setDuration(*reinterpret_cast< int*>(_v)); break;
        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< QFeedbackActuator**>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject QFeedbackHapticsEffect::staticMetaObject = { {
    QMetaObject::SuperData::link<QFeedbackEffect::staticMetaObject>(),
    qt_meta_stringdata_QFeedbackHapticsEffect.data,
    qt_meta_data_QFeedbackHapticsEffect,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QFeedbackHapticsEffect::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QFeedbackEffect::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    
#ifndef QT_NO_PROPERTIES
    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;
}
struct qt_meta_stringdata_QFeedbackFileEffect_t {
    QByteArrayData data[3];
    char stringdata0[34];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QFeedbackFileEffect_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QFeedbackFileEffect_t qt_meta_stringdata_QFeedbackFileEffect = {
    {
QT_MOC_LITERAL(0, 0, 19), // "QFeedbackFileEffect"
QT_MOC_LITERAL(1, 20, 6), // "loaded"
QT_MOC_LITERAL(2, 27, 6) // "source"

    },
    "QFeedbackFileEffect\0loaded\0source"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QFeedbackFileEffect[] = {

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

 // properties: name, type, flags
       1, QMetaType::Bool, 0x00095103,
       2, QMetaType::QUrl, 0x00095103,

       0        // eod
};

void QFeedbackFileEffect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{

#ifndef QT_NO_PROPERTIES
    if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QFeedbackFileEffect *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->isLoaded(); break;
        case 1: *reinterpret_cast< QUrl*>(_v) = _t->source(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QFeedbackFileEffect *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setLoaded(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setSource(*reinterpret_cast< QUrl*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject QFeedbackFileEffect::staticMetaObject = { {
    QMetaObject::SuperData::link<QFeedbackEffect::staticMetaObject>(),
    qt_meta_stringdata_QFeedbackFileEffect.data,
    qt_meta_data_QFeedbackFileEffect,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QFeedbackFileEffect::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QFeedbackEffect::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    
#ifndef QT_NO_PROPERTIES
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
