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

#include <memory>
#include "../../../../../git/src/imports/platform/qquickplatformmenuitem_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquickplatformmenuitem_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.13. 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_QQuickPlatformMenuItem_t {
    QByteArrayData data[41];
    char stringdata0[494];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuickPlatformMenuItem_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuickPlatformMenuItem_t qt_meta_stringdata_QQuickPlatformMenuItem = {
    {
QT_MOC_LITERAL(0, 0, 22), // "QQuickPlatformMenuItem"
QT_MOC_LITERAL(1, 23, 9), // "triggered"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 7), // "hovered"
QT_MOC_LITERAL(4, 42, 11), // "menuChanged"
QT_MOC_LITERAL(5, 54, 14), // "subMenuChanged"
QT_MOC_LITERAL(6, 69, 12), // "groupChanged"
QT_MOC_LITERAL(7, 82, 14), // "enabledChanged"
QT_MOC_LITERAL(8, 97, 14), // "visibleChanged"
QT_MOC_LITERAL(9, 112, 16), // "separatorChanged"
QT_MOC_LITERAL(10, 129, 16), // "checkableChanged"
QT_MOC_LITERAL(11, 146, 14), // "checkedChanged"
QT_MOC_LITERAL(12, 161, 11), // "roleChanged"
QT_MOC_LITERAL(13, 173, 11), // "textChanged"
QT_MOC_LITERAL(14, 185, 17), // "iconSourceChanged"
QT_MOC_LITERAL(15, 203, 15), // "iconNameChanged"
QT_MOC_LITERAL(16, 219, 15), // "shortcutChanged"
QT_MOC_LITERAL(17, 235, 11), // "fontChanged"
QT_MOC_LITERAL(18, 247, 11), // "iconChanged"
QT_MOC_LITERAL(19, 259, 6), // "toggle"
QT_MOC_LITERAL(20, 266, 8), // "activate"
QT_MOC_LITERAL(21, 275, 10), // "updateIcon"
QT_MOC_LITERAL(22, 286, 4), // "menu"
QT_MOC_LITERAL(23, 291, 19), // "QQuickPlatformMenu*"
QT_MOC_LITERAL(24, 311, 7), // "subMenu"
QT_MOC_LITERAL(25, 319, 5), // "group"
QT_MOC_LITERAL(26, 325, 28), // "QQuickPlatformMenuItemGroup*"
QT_MOC_LITERAL(27, 354, 7), // "enabled"
QT_MOC_LITERAL(28, 362, 7), // "visible"
QT_MOC_LITERAL(29, 370, 9), // "separator"
QT_MOC_LITERAL(30, 380, 9), // "checkable"
QT_MOC_LITERAL(31, 390, 7), // "checked"
QT_MOC_LITERAL(32, 398, 4), // "role"
QT_MOC_LITERAL(33, 403, 27), // "QPlatformMenuItem::MenuRole"
QT_MOC_LITERAL(34, 431, 4), // "text"
QT_MOC_LITERAL(35, 436, 10), // "iconSource"
QT_MOC_LITERAL(36, 447, 8), // "iconName"
QT_MOC_LITERAL(37, 456, 8), // "shortcut"
QT_MOC_LITERAL(38, 465, 4), // "font"
QT_MOC_LITERAL(39, 470, 4), // "icon"
QT_MOC_LITERAL(40, 475, 18) // "QQuickPlatformIcon"

    },
    "QQuickPlatformMenuItem\0triggered\0\0"
    "hovered\0menuChanged\0subMenuChanged\0"
    "groupChanged\0enabledChanged\0visibleChanged\0"
    "separatorChanged\0checkableChanged\0"
    "checkedChanged\0roleChanged\0textChanged\0"
    "iconSourceChanged\0iconNameChanged\0"
    "shortcutChanged\0fontChanged\0iconChanged\0"
    "toggle\0activate\0updateIcon\0menu\0"
    "QQuickPlatformMenu*\0subMenu\0group\0"
    "QQuickPlatformMenuItemGroup*\0enabled\0"
    "visible\0separator\0checkable\0checked\0"
    "role\0QPlatformMenuItem::MenuRole\0text\0"
    "iconSource\0iconName\0shortcut\0font\0"
    "icon\0QQuickPlatformIcon"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuickPlatformMenuItem[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  134,    2, 0x06 /* Public */,
       3,    0,  135,    2, 0x06 /* Public */,
       4,    0,  136,    2, 0x06 /* Public */,
       5,    0,  137,    2, 0x06 /* Public */,
       6,    0,  138,    2, 0x06 /* Public */,
       7,    0,  139,    2, 0x06 /* Public */,
       8,    0,  140,    2, 0x06 /* Public */,
       9,    0,  141,    2, 0x06 /* Public */,
      10,    0,  142,    2, 0x06 /* Public */,
      11,    0,  143,    2, 0x06 /* Public */,
      12,    0,  144,    2, 0x06 /* Public */,
      13,    0,  145,    2, 0x06 /* Public */,
      14,    0,  146,    2, 0x06 /* Public */,
      15,    0,  147,    2, 0x06 /* Public */,
      16,    0,  148,    2, 0x06 /* Public */,
      17,    0,  149,    2, 0x06 /* Public */,
      18,    0,  150,    2, 0x86 /* Public | MethodRevisioned */,

 // slots: name, argc, parameters, tag, flags
      19,    0,  151,    2, 0x0a /* Public */,
      20,    0,  152,    2, 0x08 /* Private */,
      21,    0,  153,    2, 0x08 /* Private */,

 // signals: revision
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       1,

 // slots: revision
       0,
       0,
       0,

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

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

 // properties: name, type, flags
      22, 0x80000000 | 23, 0x00495809,
      24, 0x80000000 | 23, 0x00495809,
      25, 0x80000000 | 26, 0x0049590b,
      27, QMetaType::Bool, 0x00495903,
      28, QMetaType::Bool, 0x00495903,
      29, QMetaType::Bool, 0x00495903,
      30, QMetaType::Bool, 0x00495903,
      31, QMetaType::Bool, 0x00495903,
      32, 0x80000000 | 33, 0x0049590b,
      34, QMetaType::QString, 0x00495903,
      35, QMetaType::QUrl, 0x00495903,
      36, QMetaType::QString, 0x00495903,
      37, QMetaType::QVariant, 0x00495903,
      38, QMetaType::QFont, 0x00495903,
      39, 0x80000000 | 40, 0x00c9590b,

 // properties: notify_signal_id
       2,
       3,
       4,
       5,
       6,
       7,
       8,
       9,
      10,
      11,
      12,
      13,
      14,
      15,
      16,

 // properties: revision
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       1,

 // enums: name, alias, flags, count, data

 // enum data: key, value

       0        // eod
};

void QQuickPlatformMenuItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QQuickPlatformMenuItem *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->triggered(); break;
        case 1: _t->hovered(); break;
        case 2: _t->menuChanged(); break;
        case 3: _t->subMenuChanged(); break;
        case 4: _t->groupChanged(); break;
        case 5: _t->enabledChanged(); break;
        case 6: _t->visibleChanged(); break;
        case 7: _t->separatorChanged(); break;
        case 8: _t->checkableChanged(); break;
        case 9: _t->checkedChanged(); break;
        case 10: _t->roleChanged(); break;
        case 11: _t->textChanged(); break;
        case 12: _t->iconSourceChanged(); break;
        case 13: _t->iconNameChanged(); break;
        case 14: _t->shortcutChanged(); break;
        case 15: _t->fontChanged(); break;
        case 16: _t->iconChanged(); break;
        case 17: _t->toggle(); break;
        case 18: _t->activate(); break;
        case 19: _t->updateIcon(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QQuickPlatformMenuItem::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformMenuItem::triggered)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QQuickPlatformMenuItem::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformMenuItem::hovered)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QQuickPlatformMenuItem::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformMenuItem::menuChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QQuickPlatformMenuItem::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformMenuItem::subMenuChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QQuickPlatformMenuItem::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformMenuItem::groupChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QQuickPlatformMenuItem::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformMenuItem::enabledChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QQuickPlatformMenuItem::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformMenuItem::visibleChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (QQuickPlatformMenuItem::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformMenuItem::separatorChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (QQuickPlatformMenuItem::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformMenuItem::checkableChanged)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (QQuickPlatformMenuItem::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformMenuItem::checkedChanged)) {
                *result = 9;
                return;
            }
        }
        {
            using _t = void (QQuickPlatformMenuItem::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformMenuItem::roleChanged)) {
                *result = 10;
                return;
            }
        }
        {
            using _t = void (QQuickPlatformMenuItem::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformMenuItem::textChanged)) {
                *result = 11;
                return;
            }
        }
        {
            using _t = void (QQuickPlatformMenuItem::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformMenuItem::iconSourceChanged)) {
                *result = 12;
                return;
            }
        }
        {
            using _t = void (QQuickPlatformMenuItem::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformMenuItem::iconNameChanged)) {
                *result = 13;
                return;
            }
        }
        {
            using _t = void (QQuickPlatformMenuItem::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformMenuItem::shortcutChanged)) {
                *result = 14;
                return;
            }
        }
        {
            using _t = void (QQuickPlatformMenuItem::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformMenuItem::fontChanged)) {
                *result = 15;
                return;
            }
        }
        {
            using _t = void (QQuickPlatformMenuItem::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformMenuItem::iconChanged)) {
                *result = 16;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QQuickPlatformMenuItem *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QQuickPlatformMenu**>(_v) = _t->menu(); break;
        case 1: *reinterpret_cast< QQuickPlatformMenu**>(_v) = _t->subMenu(); break;
        case 2: *reinterpret_cast< QQuickPlatformMenuItemGroup**>(_v) = _t->group(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->isEnabled(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->isVisible(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->isSeparator(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->isCheckable(); break;
        case 7: *reinterpret_cast< bool*>(_v) = _t->isChecked(); break;
        case 8: *reinterpret_cast< QPlatformMenuItem::MenuRole*>(_v) = _t->role(); break;
        case 9: *reinterpret_cast< QString*>(_v) = _t->text(); break;
        case 10: *reinterpret_cast< QUrl*>(_v) = _t->iconSource(); break;
        case 11: *reinterpret_cast< QString*>(_v) = _t->iconName(); break;
        case 12: *reinterpret_cast< QVariant*>(_v) = _t->shortcut(); break;
        case 13: *reinterpret_cast< QFont*>(_v) = _t->font(); break;
        case 14: *reinterpret_cast< QQuickPlatformIcon*>(_v) = _t->icon(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QQuickPlatformMenuItem *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 2: _t->setGroup(*reinterpret_cast< QQuickPlatformMenuItemGroup**>(_v)); break;
        case 3: _t->setEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 4: _t->setVisible(*reinterpret_cast< bool*>(_v)); break;
        case 5: _t->setSeparator(*reinterpret_cast< bool*>(_v)); break;
        case 6: _t->setCheckable(*reinterpret_cast< bool*>(_v)); break;
        case 7: _t->setChecked(*reinterpret_cast< bool*>(_v)); break;
        case 8: _t->setRole(*reinterpret_cast< QPlatformMenuItem::MenuRole*>(_v)); break;
        case 9: _t->setText(*reinterpret_cast< QString*>(_v)); break;
        case 10: _t->setIconSource(*reinterpret_cast< QUrl*>(_v)); break;
        case 11: _t->setIconName(*reinterpret_cast< QString*>(_v)); break;
        case 12: _t->setShortcut(*reinterpret_cast< QVariant*>(_v)); break;
        case 13: _t->setFont(*reinterpret_cast< QFont*>(_v)); break;
        case 14: _t->setIcon(*reinterpret_cast< QQuickPlatformIcon*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    (void)_a;
}

static const QMetaObject::SuperData qt_meta_extradata_QQuickPlatformMenuItem[] = {
    QMetaObject::SuperData::link<QPlatformMenuItem::staticMetaObject>(),
    nullptr
};

QT_INIT_METAOBJECT const QMetaObject QQuickPlatformMenuItem::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QQuickPlatformMenuItem.data,
    qt_meta_data_QQuickPlatformMenuItem,
    qt_static_metacall,
    qt_meta_extradata_QQuickPlatformMenuItem,
    nullptr
} };


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

void *QQuickPlatformMenuItem::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QQuickPlatformMenuItem.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 QQuickPlatformMenuItem::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 < 20)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 20;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 20)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 20;
    }
#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 -= 15;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 15;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

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

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

// SIGNAL 6
void QQuickPlatformMenuItem::visibleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void QQuickPlatformMenuItem::separatorChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void QQuickPlatformMenuItem::checkableChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void QQuickPlatformMenuItem::checkedChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void QQuickPlatformMenuItem::roleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void QQuickPlatformMenuItem::textChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}

// SIGNAL 12
void QQuickPlatformMenuItem::iconSourceChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 12, nullptr);
}

// SIGNAL 13
void QQuickPlatformMenuItem::iconNameChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 13, nullptr);
}

// SIGNAL 14
void QQuickPlatformMenuItem::shortcutChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 14, nullptr);
}

// SIGNAL 15
void QQuickPlatformMenuItem::fontChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 15, nullptr);
}

// SIGNAL 16
void QQuickPlatformMenuItem::iconChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 16, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
