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

#include <memory>
#include "../../../../git/src/quick/util/qquickshortcut_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquickshortcut_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.4. 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_QQuickShortcut_t {
    QByteArrayData data[21];
    char stringdata0[265];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuickShortcut_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuickShortcut_t qt_meta_stringdata_QQuickShortcut = {
    {
QT_MOC_LITERAL(0, 0, 14), // "QQuickShortcut"
QT_MOC_LITERAL(1, 15, 11), // "QML.Element"
QT_MOC_LITERAL(2, 27, 8), // "Shortcut"
QT_MOC_LITERAL(3, 36, 23), // "QML.AddedInMinorVersion"
QT_MOC_LITERAL(4, 60, 1), // "5"
QT_MOC_LITERAL(5, 62, 15), // "sequenceChanged"
QT_MOC_LITERAL(6, 78, 0), // ""
QT_MOC_LITERAL(7, 79, 16), // "sequencesChanged"
QT_MOC_LITERAL(8, 96, 14), // "enabledChanged"
QT_MOC_LITERAL(9, 111, 17), // "autoRepeatChanged"
QT_MOC_LITERAL(10, 129, 14), // "contextChanged"
QT_MOC_LITERAL(11, 144, 9), // "activated"
QT_MOC_LITERAL(12, 154, 20), // "activatedAmbiguously"
QT_MOC_LITERAL(13, 175, 8), // "sequence"
QT_MOC_LITERAL(14, 184, 9), // "sequences"
QT_MOC_LITERAL(15, 194, 10), // "nativeText"
QT_MOC_LITERAL(16, 205, 12), // "portableText"
QT_MOC_LITERAL(17, 218, 7), // "enabled"
QT_MOC_LITERAL(18, 226, 10), // "autoRepeat"
QT_MOC_LITERAL(19, 237, 7), // "context"
QT_MOC_LITERAL(20, 245, 19) // "Qt::ShortcutContext"

    },
    "QQuickShortcut\0QML.Element\0Shortcut\0"
    "QML.AddedInMinorVersion\0""5\0sequenceChanged\0"
    "\0sequencesChanged\0enabledChanged\0"
    "autoRepeatChanged\0contextChanged\0"
    "activated\0activatedAmbiguously\0sequence\0"
    "sequences\0nativeText\0portableText\0"
    "enabled\0autoRepeat\0context\0"
    "Qt::ShortcutContext"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuickShortcut[] = {

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

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

 // signals: name, argc, parameters, tag, flags
       5,    0,   60,    6, 0x06 /* Public */,
       7,    0,   61,    6, 0x86 /* Public | MethodRevisioned */,
       8,    0,   62,    6, 0x06 /* Public */,
       9,    0,   63,    6, 0x06 /* Public */,
      10,    0,   64,    6, 0x06 /* Public */,
      11,    0,   65,    6, 0x06 /* Public */,
      12,    0,   66,    6, 0x06 /* Public */,

 // signals: revision
       0,
       9,
       0,
       0,
       0,
       0,
       0,

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

 // properties: name, type, flags
      13, QMetaType::QVariant, 0x00495903,
      14, QMetaType::QVariantList, 0x00c95903,
      15, QMetaType::QString, 0x00c95801,
      16, QMetaType::QString, 0x00c95801,
      17, QMetaType::Bool, 0x00495903,
      18, QMetaType::Bool, 0x00495903,
      19, 0x80000000 | 20, 0x0049590b,

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

 // properties: revision
       0,
       9,
       6,
       6,
       0,
       0,
       0,

       0        // eod
};

void QQuickShortcut::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QQuickShortcut *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->sequenceChanged(); break;
        case 1: _t->sequencesChanged(); break;
        case 2: _t->enabledChanged(); break;
        case 3: _t->autoRepeatChanged(); break;
        case 4: _t->contextChanged(); break;
        case 5: _t->activated(); break;
        case 6: _t->activatedAmbiguously(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QQuickShortcut::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShortcut::sequenceChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QQuickShortcut::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShortcut::sequencesChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QQuickShortcut::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShortcut::enabledChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QQuickShortcut::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShortcut::autoRepeatChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QQuickShortcut::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShortcut::contextChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QQuickShortcut::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShortcut::activated)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QQuickShortcut::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShortcut::activatedAmbiguously)) {
                *result = 6;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QQuickShortcut *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QVariant*>(_v) = _t->sequence(); break;
        case 1: *reinterpret_cast< QVariantList*>(_v) = _t->sequences(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->nativeText(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->portableText(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->isEnabled(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->autoRepeat(); break;
        case 6: *reinterpret_cast< Qt::ShortcutContext*>(_v) = _t->context(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QQuickShortcut *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setSequence(*reinterpret_cast< QVariant*>(_v)); break;
        case 1: _t->setSequences(*reinterpret_cast< QVariantList*>(_v)); break;
        case 4: _t->setEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 5: _t->setAutoRepeat(*reinterpret_cast< bool*>(_v)); break;
        case 6: _t->setContext(*reinterpret_cast< Qt::ShortcutContext*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject QQuickShortcut::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QQuickShortcut.data,
    qt_meta_data_QQuickShortcut,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *QQuickShortcut::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QQuickShortcut.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QQmlParserStatus"))
        return static_cast< QQmlParserStatus*>(this);
    if (!strcmp(_clname, "org.qt-project.Qt.QQmlParserStatus"))
        return static_cast< QQmlParserStatus*>(this);
    return QObject::qt_metacast(_clname);
}

int QQuickShortcut::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 < 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 -= 7;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 7;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

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

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

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