/****************************************************************************
** Meta object code from reading C++ file 'qdeclarativefeedbackeffect_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 "../qdeclarativefeedbackeffect_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qdeclarativefeedbackeffect_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_QDeclarativeFeedbackEffect_t {
    QByteArrayData data[29];
    char stringdata0[291];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QDeclarativeFeedbackEffect_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QDeclarativeFeedbackEffect_t qt_meta_stringdata_QDeclarativeFeedbackEffect = {
    {
QT_MOC_LITERAL(0, 0, 26), // "QDeclarativeFeedbackEffect"
QT_MOC_LITERAL(1, 27, 14), // "runningChanged"
QT_MOC_LITERAL(2, 42, 0), // ""
QT_MOC_LITERAL(3, 43, 13), // "pausedChanged"
QT_MOC_LITERAL(4, 57, 15), // "durationChanged"
QT_MOC_LITERAL(5, 73, 12), // "stateChanged"
QT_MOC_LITERAL(6, 86, 12), // "errorChanged"
QT_MOC_LITERAL(7, 99, 11), // "updateState"
QT_MOC_LITERAL(8, 111, 5), // "start"
QT_MOC_LITERAL(9, 117, 4), // "stop"
QT_MOC_LITERAL(10, 122, 5), // "pause"
QT_MOC_LITERAL(11, 128, 6), // "_error"
QT_MOC_LITERAL(12, 135, 26), // "QFeedbackEffect::ErrorType"
QT_MOC_LITERAL(13, 162, 3), // "err"
QT_MOC_LITERAL(14, 166, 7), // "running"
QT_MOC_LITERAL(15, 174, 6), // "paused"
QT_MOC_LITERAL(16, 181, 8), // "duration"
QT_MOC_LITERAL(17, 190, 5), // "state"
QT_MOC_LITERAL(18, 196, 5), // "State"
QT_MOC_LITERAL(19, 202, 5), // "error"
QT_MOC_LITERAL(20, 208, 9), // "ErrorType"
QT_MOC_LITERAL(21, 218, 8), // "Duration"
QT_MOC_LITERAL(22, 227, 8), // "Infinite"
QT_MOC_LITERAL(23, 236, 7), // "Stopped"
QT_MOC_LITERAL(24, 244, 6), // "Paused"
QT_MOC_LITERAL(25, 251, 7), // "Running"
QT_MOC_LITERAL(26, 259, 7), // "Loading"
QT_MOC_LITERAL(27, 267, 12), // "UnknownError"
QT_MOC_LITERAL(28, 280, 10) // "DeviceBusy"

    },
    "QDeclarativeFeedbackEffect\0runningChanged\0"
    "\0pausedChanged\0durationChanged\0"
    "stateChanged\0errorChanged\0updateState\0"
    "start\0stop\0pause\0_error\0"
    "QFeedbackEffect::ErrorType\0err\0running\0"
    "paused\0duration\0state\0State\0error\0"
    "ErrorType\0Duration\0Infinite\0Stopped\0"
    "Paused\0Running\0Loading\0UnknownError\0"
    "DeviceBusy"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QDeclarativeFeedbackEffect[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      10,   14, // methods
       5,   76, // properties
       3,   96, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   64,    2, 0x06 /* Public */,
       3,    0,   65,    2, 0x06 /* Public */,
       4,    0,   66,    2, 0x06 /* Public */,
       5,    0,   67,    2, 0x06 /* Public */,
       6,    0,   68,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    0,   69,    2, 0x0a /* Public */,
       8,    0,   70,    2, 0x0a /* Public */,
       9,    0,   71,    2, 0x0a /* Public */,
      10,    0,   72,    2, 0x0a /* Public */,
      11,    1,   73,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 12,   13,

 // properties: name, type, flags
      14, QMetaType::Bool, 0x00495103,
      15, QMetaType::Bool, 0x00495103,
      16, QMetaType::Int, 0x00495103,
      17, 0x80000000 | 18, 0x0049510b,
      19, 0x80000000 | 20, 0x00495009,

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

 // enums: name, alias, flags, count, data
      21,   21, 0x0,    1,  111,
      18,   18, 0x0,    4,  113,
      20,   20, 0x0,    2,  121,

 // enum data: key, value
      22, uint(QDeclarativeFeedbackEffect::Infinite),
      23, uint(QDeclarativeFeedbackEffect::Stopped),
      24, uint(QDeclarativeFeedbackEffect::Paused),
      25, uint(QDeclarativeFeedbackEffect::Running),
      26, uint(QDeclarativeFeedbackEffect::Loading),
      27, uint(QDeclarativeFeedbackEffect::UnknownError),
      28, uint(QDeclarativeFeedbackEffect::DeviceBusy),

       0        // eod
};

void QDeclarativeFeedbackEffect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QDeclarativeFeedbackEffect *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->runningChanged(); break;
        case 1: _t->pausedChanged(); break;
        case 2: _t->durationChanged(); break;
        case 3: _t->stateChanged(); break;
        case 4: _t->errorChanged(); break;
        case 5: _t->updateState(); break;
        case 6: _t->start(); break;
        case 7: _t->stop(); break;
        case 8: _t->pause(); break;
        case 9: _t->_error((*reinterpret_cast< QFeedbackEffect::ErrorType(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QDeclarativeFeedbackEffect::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeFeedbackEffect::runningChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QDeclarativeFeedbackEffect::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeFeedbackEffect::pausedChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QDeclarativeFeedbackEffect::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeFeedbackEffect::durationChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QDeclarativeFeedbackEffect::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeFeedbackEffect::stateChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QDeclarativeFeedbackEffect::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeFeedbackEffect::errorChanged)) {
                *result = 4;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QDeclarativeFeedbackEffect *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->isRunning(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isPaused(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->duration(); break;
        case 3: *reinterpret_cast< State*>(_v) = _t->state(); break;
        case 4: *reinterpret_cast< ErrorType*>(_v) = _t->error(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QDeclarativeFeedbackEffect *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setRunning(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setPaused(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setDuration(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setState(*reinterpret_cast< State*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QDeclarativeFeedbackEffect::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QDeclarativeFeedbackEffect.data,
    qt_meta_data_QDeclarativeFeedbackEffect,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

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

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

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

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

// SIGNAL 4
void QDeclarativeFeedbackEffect::errorChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
