/****************************************************************************
** Meta object code from reading C++ file 'qmenu.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/qmenu.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qmenu.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_QMenuProxy_t {
    QByteArrayData data[38];
    char stringdata0[473];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QMenuProxy_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QMenuProxy_t qt_meta_stringdata_QMenuProxy = {
    {
QT_MOC_LITERAL(0, 0, 10), // "QMenuProxy"
QT_MOC_LITERAL(1, 11, 15), // "DefaultProperty"
QT_MOC_LITERAL(2, 27, 7), // "content"
QT_MOC_LITERAL(3, 35, 13), // "statusChanged"
QT_MOC_LITERAL(4, 49, 0), // ""
QT_MOC_LITERAL(5, 50, 19), // "visualParentChanged"
QT_MOC_LITERAL(6, 70, 22), // "transientParentChanged"
QT_MOC_LITERAL(7, 93, 16), // "placementChanged"
QT_MOC_LITERAL(8, 110, 19), // "minimumWidthChanged"
QT_MOC_LITERAL(9, 130, 19), // "maximumWidthChanged"
QT_MOC_LITERAL(10, 150, 9), // "triggered"
QT_MOC_LITERAL(11, 160, 10), // "QMenuItem*"
QT_MOC_LITERAL(12, 171, 4), // "item"
QT_MOC_LITERAL(13, 176, 14), // "triggeredIndex"
QT_MOC_LITERAL(14, 191, 5), // "index"
QT_MOC_LITERAL(15, 197, 13), // "itemTriggered"
QT_MOC_LITERAL(16, 211, 8), // "QAction*"
QT_MOC_LITERAL(17, 220, 4), // "open"
QT_MOC_LITERAL(18, 225, 1), // "x"
QT_MOC_LITERAL(19, 227, 1), // "y"
QT_MOC_LITERAL(20, 229, 12), // "openRelative"
QT_MOC_LITERAL(21, 242, 5), // "close"
QT_MOC_LITERAL(22, 248, 14), // "clearMenuItems"
QT_MOC_LITERAL(23, 263, 11), // "addMenuItem"
QT_MOC_LITERAL(24, 275, 4), // "text"
QT_MOC_LITERAL(25, 280, 6), // "before"
QT_MOC_LITERAL(26, 287, 10), // "addSection"
QT_MOC_LITERAL(27, 298, 14), // "removeMenuItem"
QT_MOC_LITERAL(28, 313, 27), // "QQmlListProperty<QMenuItem>"
QT_MOC_LITERAL(29, 341, 15), // "transientParent"
QT_MOC_LITERAL(30, 357, 8), // "QWindow*"
QT_MOC_LITERAL(31, 366, 12), // "visualParent"
QT_MOC_LITERAL(32, 379, 6), // "status"
QT_MOC_LITERAL(33, 386, 20), // "DialogStatus::Status"
QT_MOC_LITERAL(34, 407, 9), // "placement"
QT_MOC_LITERAL(35, 417, 29), // "Plasma::Types::PopupPlacement"
QT_MOC_LITERAL(36, 447, 12), // "minimumWidth"
QT_MOC_LITERAL(37, 460, 12) // "maximumWidth"

    },
    "QMenuProxy\0DefaultProperty\0content\0"
    "statusChanged\0\0visualParentChanged\0"
    "transientParentChanged\0placementChanged\0"
    "minimumWidthChanged\0maximumWidthChanged\0"
    "triggered\0QMenuItem*\0item\0triggeredIndex\0"
    "index\0itemTriggered\0QAction*\0open\0x\0"
    "y\0openRelative\0close\0clearMenuItems\0"
    "addMenuItem\0text\0before\0addSection\0"
    "removeMenuItem\0QQmlListProperty<QMenuItem>\0"
    "transientParent\0QWindow*\0visualParent\0"
    "status\0DialogStatus::Status\0placement\0"
    "Plasma::Types::PopupPlacement\0"
    "minimumWidth\0maximumWidth"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QMenuProxy[] = {

 // content:
       7,       // revision
       0,       // classname
       1,   14, // classinfo
      20,   16, // methods
       7,  160, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       8,       // signalCount

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    0,  116,    4, 0x06 /* Public */,
       5,    0,  117,    4, 0x06 /* Public */,
       6,    0,  118,    4, 0x06 /* Public */,
       7,    0,  119,    4, 0x06 /* Public */,
       8,    0,  120,    4, 0x06 /* Public */,
       9,    0,  121,    4, 0x06 /* Public */,
      10,    1,  122,    4, 0x06 /* Public */,
      13,    1,  125,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    1,  128,    4, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      17,    2,  131,    4, 0x02 /* Public */,
      17,    1,  136,    4, 0x22 /* Public | MethodCloned */,
      17,    0,  139,    4, 0x22 /* Public | MethodCloned */,
      20,    0,  140,    4, 0x02 /* Public */,
      21,    0,  141,    4, 0x02 /* Public */,
      22,    0,  142,    4, 0x02 /* Public */,
      23,    1,  143,    4, 0x02 /* Public */,
      23,    2,  146,    4, 0x02 /* Public */,
      23,    1,  151,    4, 0x22 /* Public | MethodCloned */,
      26,    1,  154,    4, 0x02 /* Public */,
      27,    1,  157,    4, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, QMetaType::Int,   14,

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

 // methods: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   18,   19,
    QMetaType::Void, QMetaType::Int,   18,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   24,
    QMetaType::Void, 0x80000000 | 11, 0x80000000 | 11,   12,   25,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, QMetaType::QString,   24,
    QMetaType::Void, 0x80000000 | 11,   12,

 // properties: name, type, flags
       2, 0x80000000 | 28, 0x00095409,
      29, 0x80000000 | 30, 0x0049510b,
      31, QMetaType::QObjectStar, 0x00495103,
      32, 0x80000000 | 33, 0x00495009,
      34, 0x80000000 | 35, 0x0049510b,
      36, QMetaType::Int, 0x00495103,
      37, QMetaType::Int, 0x00495107,

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

       0        // eod
};

void QMenuProxy::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QMenuProxy *_t = static_cast<QMenuProxy *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->statusChanged(); break;
        case 1: _t->visualParentChanged(); break;
        case 2: _t->transientParentChanged(); break;
        case 3: _t->placementChanged(); break;
        case 4: _t->minimumWidthChanged(); break;
        case 5: _t->maximumWidthChanged(); break;
        case 6: _t->triggered((*reinterpret_cast< QMenuItem*(*)>(_a[1]))); break;
        case 7: _t->triggeredIndex((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->itemTriggered((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 9: _t->open((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 10: _t->open((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->open(); break;
        case 12: _t->openRelative(); break;
        case 13: _t->close(); break;
        case 14: _t->clearMenuItems(); break;
        case 15: _t->addMenuItem((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 16: _t->addMenuItem((*reinterpret_cast< QMenuItem*(*)>(_a[1])),(*reinterpret_cast< QMenuItem*(*)>(_a[2]))); break;
        case 17: _t->addMenuItem((*reinterpret_cast< QMenuItem*(*)>(_a[1]))); break;
        case 18: _t->addSection((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 19: _t->removeMenuItem((*reinterpret_cast< QMenuItem*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QMenuItem* >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
            }
            break;
        case 16:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QMenuItem* >(); break;
            }
            break;
        case 17:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QMenuItem* >(); break;
            }
            break;
        case 19:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QMenuItem* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (QMenuProxy::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMenuProxy::statusChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (QMenuProxy::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMenuProxy::visualParentChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (QMenuProxy::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMenuProxy::transientParentChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (QMenuProxy::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMenuProxy::placementChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (QMenuProxy::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMenuProxy::minimumWidthChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (QMenuProxy::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMenuProxy::maximumWidthChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (QMenuProxy::*_t)(QMenuItem * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMenuProxy::triggered)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (QMenuProxy::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMenuProxy::triggeredIndex)) {
                *result = 7;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QMenuProxy *_t = static_cast<QMenuProxy *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QQmlListProperty<QMenuItem>*>(_v) = _t->content(); break;
        case 1: *reinterpret_cast< QWindow**>(_v) = _t->transientParent(); break;
        case 2: *reinterpret_cast< QObject**>(_v) = _t->visualParent(); break;
        case 3: *reinterpret_cast< DialogStatus::Status*>(_v) = _t->status(); break;
        case 4: *reinterpret_cast< Plasma::Types::PopupPlacement*>(_v) = _t->placement(); break;
        case 5: *reinterpret_cast< int*>(_v) = _t->minimumWidth(); break;
        case 6: *reinterpret_cast< int*>(_v) = _t->maximumWidth(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QMenuProxy *_t = static_cast<QMenuProxy *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setTransientParent(*reinterpret_cast< QWindow**>(_v)); break;
        case 2: _t->setVisualParent(*reinterpret_cast< QObject**>(_v)); break;
        case 4: _t->setPlacement(*reinterpret_cast< Plasma::Types::PopupPlacement*>(_v)); break;
        case 5: _t->setMinimumWidth(*reinterpret_cast< int*>(_v)); break;
        case 6: _t->setMaximumWidth(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
        QMenuProxy *_t = static_cast<QMenuProxy *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 6: _t->resetMaximumWidth(); break;
        default: break;
        }
    }
#endif // QT_NO_PROPERTIES
}

static const QMetaObject * const qt_meta_extradata_QMenuProxy[] = {
        &DialogStatus::staticMetaObject,
    &Plasma::Types::staticMetaObject,
    nullptr
};

const QMetaObject QMenuProxy::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_QMenuProxy.data,
      qt_meta_data_QMenuProxy,  qt_static_metacall, qt_meta_extradata_QMenuProxy, nullptr}
};


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

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

int QMenuProxy::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)
            qt_static_metacall(this, _c, _id, _a);
        _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 -= 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 QMenuProxy::statusChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

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

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

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

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

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

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

// SIGNAL 7
void QMenuProxy::triggeredIndex(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
