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

#include "../../../../src/plasma-framework-5.43.0/src/declarativeimports/plasmacomponents/qmenuitem.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qmenuitem.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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_QMenuItem_t {
    QByteArrayData data[19];
    char stringdata0[183];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QMenuItem_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QMenuItem_t qt_meta_stringdata_QMenuItem = {
    {
QT_MOC_LITERAL(0, 0, 9), // "QMenuItem"
QT_MOC_LITERAL(1, 10, 7), // "clicked"
QT_MOC_LITERAL(2, 18, 0), // ""
QT_MOC_LITERAL(3, 19, 13), // "actionChanged"
QT_MOC_LITERAL(4, 33, 11), // "iconChanged"
QT_MOC_LITERAL(5, 45, 16), // "separatorChanged"
QT_MOC_LITERAL(6, 62, 14), // "sectionChanged"
QT_MOC_LITERAL(7, 77, 11), // "textChanged"
QT_MOC_LITERAL(8, 89, 7), // "toggled"
QT_MOC_LITERAL(9, 97, 7), // "checked"
QT_MOC_LITERAL(10, 105, 16), // "checkableChanged"
QT_MOC_LITERAL(11, 122, 6), // "parent"
QT_MOC_LITERAL(12, 129, 9), // "separator"
QT_MOC_LITERAL(13, 139, 7), // "section"
QT_MOC_LITERAL(14, 147, 4), // "text"
QT_MOC_LITERAL(15, 152, 4), // "icon"
QT_MOC_LITERAL(16, 157, 6), // "action"
QT_MOC_LITERAL(17, 164, 8), // "QAction*"
QT_MOC_LITERAL(18, 173, 9) // "checkable"

    },
    "QMenuItem\0clicked\0\0actionChanged\0"
    "iconChanged\0separatorChanged\0"
    "sectionChanged\0textChanged\0toggled\0"
    "checked\0checkableChanged\0parent\0"
    "separator\0section\0text\0icon\0action\0"
    "QAction*\0checkable"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QMenuItem[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   54,    2, 0x06 /* Public */,
       3,    0,   55,    2, 0x06 /* Public */,
       4,    0,   56,    2, 0x06 /* Public */,
       5,    0,   57,    2, 0x06 /* Public */,
       6,    0,   58,    2, 0x06 /* Public */,
       7,    0,   59,    2, 0x06 /* Public */,
       8,    1,   60,    2, 0x06 /* Public */,
      10,    0,   63,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    9,
    QMetaType::Void,

 // properties: name, type, flags
      11, QMetaType::QObjectStar, 0x00095103,
      12, QMetaType::Bool, 0x00495103,
      13, QMetaType::Bool, 0x00495103,
      14, QMetaType::QString, 0x00495103,
      15, QMetaType::QVariant, 0x00495103,
      16, 0x80000000 | 17, 0x0049510b,
      18, QMetaType::Bool, 0x00495103,
       9, QMetaType::Bool, 0x00495103,

 // properties: notify_signal_id
       0,
       3,
       4,
       5,
       2,
       1,
       7,
       6,

       0        // eod
};

void QMenuItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QMenuItem *_t = static_cast<QMenuItem *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->clicked(); break;
        case 1: _t->actionChanged(); break;
        case 2: _t->iconChanged(); break;
        case 3: _t->separatorChanged(); break;
        case 4: _t->sectionChanged(); break;
        case 5: _t->textChanged(); break;
        case 6: _t->toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->checkableChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (QMenuItem::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMenuItem::clicked)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (QMenuItem::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMenuItem::actionChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (QMenuItem::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMenuItem::iconChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (QMenuItem::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMenuItem::separatorChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (QMenuItem::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMenuItem::sectionChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (QMenuItem::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMenuItem::textChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (QMenuItem::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMenuItem::toggled)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (QMenuItem::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMenuItem::checkableChanged)) {
                *result = 7;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 5:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QMenuItem *_t = static_cast<QMenuItem *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QObject**>(_v) = _t->parent(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->separator(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->section(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->text(); break;
        case 4: *reinterpret_cast< QVariant*>(_v) = _t->icon(); break;
        case 5: *reinterpret_cast< QAction**>(_v) = _t->action(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->checkable(); break;
        case 7: *reinterpret_cast< bool*>(_v) = _t->checked(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QMenuItem *_t = static_cast<QMenuItem *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setParent(*reinterpret_cast< QObject**>(_v)); break;
        case 1: _t->setSeparator(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setSection(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->setText(*reinterpret_cast< QString*>(_v)); break;
        case 4: _t->setIcon(*reinterpret_cast< QVariant*>(_v)); break;
        case 5: _t->setAction(*reinterpret_cast< QAction**>(_v)); break;
        case 6: _t->setCheckable(*reinterpret_cast< bool*>(_v)); break;
        case 7: _t->setChecked(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject QMenuItem::staticMetaObject = {
    { &QQuickItem::staticMetaObject, qt_meta_stringdata_QMenuItem.data,
      qt_meta_data_QMenuItem,  qt_static_metacall, nullptr, nullptr}
};


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

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

int QMenuItem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuickItem::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 8;
    }
#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 -= 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;
}

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

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

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

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

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

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

// SIGNAL 6
void QMenuItem::toggled(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void QMenuItem::checkableChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
