/****************************************************************************
** Meta object code from reading C++ file 'qdeclarativethemeeffect_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 "../qdeclarativethemeeffect_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qdeclarativethemeeffect_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_QDeclarativeThemeEffect_t {
    QByteArrayData data[27];
    char stringdata0[301];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QDeclarativeThemeEffect_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QDeclarativeThemeEffect_t qt_meta_stringdata_QDeclarativeThemeEffect = {
    {
QT_MOC_LITERAL(0, 0, 23), // "QDeclarativeThemeEffect"
QT_MOC_LITERAL(1, 24, 13), // "DefaultMethod"
QT_MOC_LITERAL(2, 38, 6), // "play()"
QT_MOC_LITERAL(3, 45, 16), // "OverloadedMethod"
QT_MOC_LITERAL(4, 62, 12), // "play(Effect)"
QT_MOC_LITERAL(5, 75, 13), // "effectChanged"
QT_MOC_LITERAL(6, 89, 0), // ""
QT_MOC_LITERAL(7, 90, 4), // "play"
QT_MOC_LITERAL(8, 95, 6), // "Effect"
QT_MOC_LITERAL(9, 102, 6), // "effect"
QT_MOC_LITERAL(10, 109, 9), // "supported"
QT_MOC_LITERAL(11, 119, 9), // "Undefined"
QT_MOC_LITERAL(12, 129, 5), // "Press"
QT_MOC_LITERAL(13, 135, 7), // "Release"
QT_MOC_LITERAL(14, 143, 9), // "PressWeak"
QT_MOC_LITERAL(15, 153, 11), // "ReleaseWeak"
QT_MOC_LITERAL(16, 165, 11), // "PressStrong"
QT_MOC_LITERAL(17, 177, 13), // "ReleaseStrong"
QT_MOC_LITERAL(18, 191, 9), // "DragStart"
QT_MOC_LITERAL(19, 201, 14), // "DragDropInZone"
QT_MOC_LITERAL(20, 216, 17), // "DragDropOutOfZone"
QT_MOC_LITERAL(21, 234, 17), // "DragCrossBoundary"
QT_MOC_LITERAL(22, 252, 6), // "Appear"
QT_MOC_LITERAL(23, 259, 9), // "Disappear"
QT_MOC_LITERAL(24, 269, 4), // "Move"
QT_MOC_LITERAL(25, 274, 15), // "NumberOfEffects"
QT_MOC_LITERAL(26, 290, 10) // "UserEffect"

    },
    "QDeclarativeThemeEffect\0DefaultMethod\0"
    "play()\0OverloadedMethod\0play(Effect)\0"
    "effectChanged\0\0play\0Effect\0effect\0"
    "supported\0Undefined\0Press\0Release\0"
    "PressWeak\0ReleaseWeak\0PressStrong\0"
    "ReleaseStrong\0DragStart\0DragDropInZone\0"
    "DragDropOutOfZone\0DragCrossBoundary\0"
    "Appear\0Disappear\0Move\0NumberOfEffects\0"
    "UserEffect"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QDeclarativeThemeEffect[] = {

 // content:
       8,       // revision
       0,       // classname
       2,   14, // classinfo
       3,   18, // methods
       2,   38, // properties
       1,   46, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // classinfo: key, value
       1,    2,
       3,    4,

 // signals: name, argc, parameters, tag, flags
       5,    0,   33,    6, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    0,   34,    6, 0x0a /* Public */,
       7,    1,   35,    6, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 8,    9,

 // properties: name, type, flags
      10, QMetaType::Bool, 0x00095001,
       9, 0x80000000 | 8, 0x0049510b,

 // properties: notify_signal_id
       0,
       0,

 // enums: name, alias, flags, count, data
       8,    8, 0x0,   16,   51,

 // enum data: key, value
      11, uint(QDeclarativeThemeEffect::Undefined),
      12, uint(QDeclarativeThemeEffect::Press),
      13, uint(QDeclarativeThemeEffect::Release),
      14, uint(QDeclarativeThemeEffect::PressWeak),
      15, uint(QDeclarativeThemeEffect::ReleaseWeak),
      16, uint(QDeclarativeThemeEffect::PressStrong),
      17, uint(QDeclarativeThemeEffect::ReleaseStrong),
      18, uint(QDeclarativeThemeEffect::DragStart),
      19, uint(QDeclarativeThemeEffect::DragDropInZone),
      20, uint(QDeclarativeThemeEffect::DragDropOutOfZone),
      21, uint(QDeclarativeThemeEffect::DragCrossBoundary),
      22, uint(QDeclarativeThemeEffect::Appear),
      23, uint(QDeclarativeThemeEffect::Disappear),
      24, uint(QDeclarativeThemeEffect::Move),
      25, uint(QDeclarativeThemeEffect::NumberOfEffects),
      26, uint(QDeclarativeThemeEffect::UserEffect),

       0        // eod
};

void QDeclarativeThemeEffect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QDeclarativeThemeEffect *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->effectChanged(); break;
        case 1: _t->play(); break;
        case 2: _t->play((*reinterpret_cast< Effect(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QDeclarativeThemeEffect::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeThemeEffect::effectChanged)) {
                *result = 0;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QDeclarativeThemeEffect *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->effectSupported(); break;
        case 1: *reinterpret_cast< Effect*>(_v) = _t->effect(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QDeclarativeThemeEffect *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setEffect(*reinterpret_cast< Effect*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QDeclarativeThemeEffect::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QDeclarativeThemeEffect.data,
    qt_meta_data_QDeclarativeThemeEffect,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QDeclarativeThemeEffect::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 < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 3;
    }
#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 QDeclarativeThemeEffect::effectChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
