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

#include "../../../../src/qtquickcontrols-opensource-src-5.4.2/src/controls/qquickmenu_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquickmenu_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.2. 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
struct qt_meta_stringdata_QQuickMenu_t {
    QByteArrayData data[52];
    char stringdata[718];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuickMenu_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuickMenu_t qt_meta_stringdata_QQuickMenu = {
    {
QT_MOC_LITERAL(0, 0, 10), // "QQuickMenu"
QT_MOC_LITERAL(1, 11, 15), // "DefaultProperty"
QT_MOC_LITERAL(2, 27, 5), // "items"
QT_MOC_LITERAL(3, 33, 12), // "itemsChanged"
QT_MOC_LITERAL(4, 46, 0), // ""
QT_MOC_LITERAL(5, 47, 12), // "titleChanged"
QT_MOC_LITERAL(6, 60, 22), // "__selectedIndexChanged"
QT_MOC_LITERAL(7, 83, 12), // "__menuClosed"
QT_MOC_LITERAL(8, 96, 20), // "__menuPopupDestroyed"
QT_MOC_LITERAL(9, 117, 19), // "popupVisibleChanged"
QT_MOC_LITERAL(10, 137, 22), // "__popupGeometryChanged"
QT_MOC_LITERAL(11, 160, 22), // "menuContentItemChanged"
QT_MOC_LITERAL(12, 183, 19), // "minimumWidthChanged"
QT_MOC_LITERAL(13, 203, 11), // "__closeMenu"
QT_MOC_LITERAL(14, 215, 13), // "__dismissMenu"
QT_MOC_LITERAL(15, 229, 18), // "__destroyMenuPopup"
QT_MOC_LITERAL(16, 248, 22), // "__destroyAllMenuPopups"
QT_MOC_LITERAL(17, 271, 19), // "updateSelectedIndex"
QT_MOC_LITERAL(18, 291, 18), // "setMenuContentItem"
QT_MOC_LITERAL(19, 310, 11), // "QQuickItem*"
QT_MOC_LITERAL(20, 322, 15), // "setPopupVisible"
QT_MOC_LITERAL(21, 338, 16), // "clearPopupWindow"
QT_MOC_LITERAL(22, 355, 10), // "updateText"
QT_MOC_LITERAL(23, 366, 20), // "windowVisibleChanged"
QT_MOC_LITERAL(24, 387, 5), // "popup"
QT_MOC_LITERAL(25, 393, 7), // "addItem"
QT_MOC_LITERAL(26, 401, 15), // "QQuickMenuItem*"
QT_MOC_LITERAL(27, 417, 10), // "insertItem"
QT_MOC_LITERAL(28, 428, 12), // "addSeparator"
QT_MOC_LITERAL(29, 441, 15), // "insertSeparator"
QT_MOC_LITERAL(30, 457, 15), // "QQuickMenuBase*"
QT_MOC_LITERAL(31, 473, 10), // "removeItem"
QT_MOC_LITERAL(32, 484, 5), // "clear"
QT_MOC_LITERAL(33, 490, 7), // "__popup"
QT_MOC_LITERAL(34, 498, 10), // "targetRect"
QT_MOC_LITERAL(35, 509, 11), // "atItemIndex"
QT_MOC_LITERAL(36, 521, 8), // "MenuType"
QT_MOC_LITERAL(37, 530, 8), // "menuType"
QT_MOC_LITERAL(38, 539, 5), // "title"
QT_MOC_LITERAL(39, 545, 25), // "QQmlListProperty<QObject>"
QT_MOC_LITERAL(40, 571, 15), // "__selectedIndex"
QT_MOC_LITERAL(41, 587, 14), // "__popupVisible"
QT_MOC_LITERAL(42, 602, 13), // "__contentItem"
QT_MOC_LITERAL(43, 616, 14), // "__minimumWidth"
QT_MOC_LITERAL(44, 631, 6), // "__font"
QT_MOC_LITERAL(45, 638, 9), // "__xOffset"
QT_MOC_LITERAL(46, 648, 9), // "__yOffset"
QT_MOC_LITERAL(47, 658, 8), // "__action"
QT_MOC_LITERAL(48, 667, 13), // "QQuickAction*"
QT_MOC_LITERAL(49, 681, 15), // "__popupGeometry"
QT_MOC_LITERAL(50, 697, 11), // "DefaultMenu"
QT_MOC_LITERAL(51, 709, 8) // "EditMenu"

    },
    "QQuickMenu\0DefaultProperty\0items\0"
    "itemsChanged\0\0titleChanged\0"
    "__selectedIndexChanged\0__menuClosed\0"
    "__menuPopupDestroyed\0popupVisibleChanged\0"
    "__popupGeometryChanged\0menuContentItemChanged\0"
    "minimumWidthChanged\0__closeMenu\0"
    "__dismissMenu\0__destroyMenuPopup\0"
    "__destroyAllMenuPopups\0updateSelectedIndex\0"
    "setMenuContentItem\0QQuickItem*\0"
    "setPopupVisible\0clearPopupWindow\0"
    "updateText\0windowVisibleChanged\0popup\0"
    "addItem\0QQuickMenuItem*\0insertItem\0"
    "addSeparator\0insertSeparator\0"
    "QQuickMenuBase*\0removeItem\0clear\0"
    "__popup\0targetRect\0atItemIndex\0MenuType\0"
    "menuType\0title\0QQmlListProperty<QObject>\0"
    "__selectedIndex\0__popupVisible\0"
    "__contentItem\0__minimumWidth\0__font\0"
    "__xOffset\0__yOffset\0__action\0QQuickAction*\0"
    "__popupGeometry\0DefaultMenu\0EditMenu"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuickMenu[] = {

 // content:
       7,       // revision
       0,       // classname
       1,   14, // classinfo
      30,   16, // methods
      11,  228, // properties
       1,  272, // enums/sets
       0,    0, // constructors
       0,       // flags
       9,       // signalCount

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    0,  166,    4, 0x06 /* Public */,
       5,    0,  167,    4, 0x06 /* Public */,
       6,    0,  168,    4, 0x06 /* Public */,
       7,    0,  169,    4, 0x06 /* Public */,
       8,    0,  170,    4, 0x06 /* Public */,
       9,    0,  171,    4, 0x06 /* Public */,
      10,    0,  172,    4, 0x06 /* Public */,
      11,    0,  173,    4, 0x06 /* Public */,
      12,    0,  174,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    0,  175,    4, 0x0a /* Public */,
      14,    0,  176,    4, 0x0a /* Public */,
      15,    0,  177,    4, 0x0a /* Public */,
      16,    0,  178,    4, 0x0a /* Public */,
      17,    0,  179,    4, 0x09 /* Protected */,
      18,    1,  180,    4, 0x09 /* Protected */,
      20,    1,  183,    4, 0x09 /* Protected */,
      21,    0,  186,    4, 0x09 /* Protected */,
      22,    0,  187,    4, 0x09 /* Protected */,
      23,    1,  188,    4, 0x09 /* Protected */,

 // methods: name, argc, parameters, tag, flags
      24,    0,  191,    4, 0x02 /* Public */,
      25,    1,  192,    4, 0x02 /* Public */,
      27,    2,  195,    4, 0x02 /* Public */,
      28,    0,  200,    4, 0x02 /* Public */,
      29,    1,  201,    4, 0x02 /* Public */,
      27,    2,  204,    4, 0x02 /* Public */,
      31,    1,  209,    4, 0x02 /* Public */,
      32,    0,  212,    4, 0x02 /* Public */,
      33,    3,  213,    4, 0x02 /* Public */,
      33,    2,  220,    4, 0x22 /* Public | MethodCloned */,
      33,    1,  225,    4, 0x22 /* Public | MethodCloned */,

 // signals: parameters
    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,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 19,    4,
    QMetaType::Void, QMetaType::Bool,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    4,

 // methods: parameters
    QMetaType::Void,
    0x80000000 | 26, QMetaType::QString,    4,
    0x80000000 | 26, QMetaType::Int, QMetaType::QString,    4,    4,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    4,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 30,    4,    4,
    QMetaType::Void, 0x80000000 | 30,    4,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QRectF, QMetaType::Int, 0x80000000 | 36,   34,   35,   37,
    QMetaType::Void, QMetaType::QRectF, QMetaType::Int,   34,   35,
    QMetaType::Void, QMetaType::QRectF,   34,

 // properties: name, type, flags
      38, QMetaType::QString, 0x00495003,
       2, 0x80000000 | 39, 0x00495009,
      40, QMetaType::Int, 0x00495003,
      41, QMetaType::Bool, 0x00495001,
      42, 0x80000000 | 19, 0x0049500b,
      43, QMetaType::Int, 0x00495003,
      44, QMetaType::QFont, 0x00095003,
      45, QMetaType::QReal, 0x00095003,
      46, QMetaType::QReal, 0x00095003,
      47, 0x80000000 | 48, 0x00095409,
      49, QMetaType::QRect, 0x00495001,

 // properties: notify_signal_id
       1,
       0,
       2,
       5,
       7,
       8,
       0,
       0,
       0,
       0,
       6,

 // enums: name, flags, count, data
      36, 0x0,    2,  276,

 // enum data: key, value
      50, uint(QQuickMenu::DefaultMenu),
      51, uint(QQuickMenu::EditMenu),

       0        // eod
};

void QQuickMenu::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QQuickMenu *_t = static_cast<QQuickMenu *>(_o);
        switch (_id) {
        case 0: _t->itemsChanged(); break;
        case 1: _t->titleChanged(); break;
        case 2: _t->__selectedIndexChanged(); break;
        case 3: _t->__menuClosed(); break;
        case 4: _t->__menuPopupDestroyed(); break;
        case 5: _t->popupVisibleChanged(); break;
        case 6: _t->__popupGeometryChanged(); break;
        case 7: _t->menuContentItemChanged(); break;
        case 8: _t->minimumWidthChanged(); break;
        case 9: _t->__closeMenu(); break;
        case 10: _t->__dismissMenu(); break;
        case 11: _t->__destroyMenuPopup(); break;
        case 12: _t->__destroyAllMenuPopups(); break;
        case 13: _t->updateSelectedIndex(); break;
        case 14: _t->setMenuContentItem((*reinterpret_cast< QQuickItem*(*)>(_a[1]))); break;
        case 15: _t->setPopupVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 16: _t->clearPopupWindow(); break;
        case 17: _t->updateText(); break;
        case 18: _t->windowVisibleChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 19: _t->popup(); break;
        case 20: { QQuickMenuItem* _r = _t->addItem((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QQuickMenuItem**>(_a[0]) = _r; }  break;
        case 21: { QQuickMenuItem* _r = _t->insertItem((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QQuickMenuItem**>(_a[0]) = _r; }  break;
        case 22: _t->addSeparator(); break;
        case 23: _t->insertSeparator((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 24: _t->insertItem((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QQuickMenuBase*(*)>(_a[2]))); break;
        case 25: _t->removeItem((*reinterpret_cast< QQuickMenuBase*(*)>(_a[1]))); break;
        case 26: _t->clear(); break;
        case 27: _t->__popup((*reinterpret_cast< const QRectF(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< MenuType(*)>(_a[3]))); break;
        case 28: _t->__popup((*reinterpret_cast< const QRectF(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 29: _t->__popup((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 24:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickMenuBase* >(); break;
            }
            break;
        case 25:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickMenuBase* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QQuickMenu::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickMenu::itemsChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (QQuickMenu::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickMenu::titleChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (QQuickMenu::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickMenu::__selectedIndexChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (QQuickMenu::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickMenu::__menuClosed)) {
                *result = 3;
            }
        }
        {
            typedef void (QQuickMenu::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickMenu::__menuPopupDestroyed)) {
                *result = 4;
            }
        }
        {
            typedef void (QQuickMenu::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickMenu::popupVisibleChanged)) {
                *result = 5;
            }
        }
        {
            typedef void (QQuickMenu::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickMenu::__popupGeometryChanged)) {
                *result = 6;
            }
        }
        {
            typedef void (QQuickMenu::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickMenu::menuContentItemChanged)) {
                *result = 7;
            }
        }
        {
            typedef void (QQuickMenu::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickMenu::minimumWidthChanged)) {
                *result = 8;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlListProperty<QObject> >(); break;
        }
    }

}

const QMetaObject QQuickMenu::staticMetaObject = {
    { &QQuickMenuText::staticMetaObject, qt_meta_stringdata_QQuickMenu.data,
      qt_meta_data_QQuickMenu,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *QQuickMenu::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_QQuickMenu.stringdata))
        return static_cast<void*>(const_cast< QQuickMenu*>(this));
    return QQuickMenuText::qt_metacast(_clname);
}

int QQuickMenu::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuickMenuText::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 30)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 30;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 30)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 30;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = text(); break;
        case 1: *reinterpret_cast< QQmlListProperty<QObject>*>(_v) = menuItems(); break;
        case 2: *reinterpret_cast< int*>(_v) = selectedIndex(); break;
        case 3: *reinterpret_cast< bool*>(_v) = popupVisible(); break;
        case 4: *reinterpret_cast< QQuickItem**>(_v) = menuContentItem(); break;
        case 5: *reinterpret_cast< int*>(_v) = minimumWidth(); break;
        case 6: *reinterpret_cast< QFont*>(_v) = font(); break;
        case 7: *reinterpret_cast< qreal*>(_v) = xOffset(); break;
        case 8: *reinterpret_cast< qreal*>(_v) = yOffset(); break;
        case 9: *reinterpret_cast< QQuickAction**>(_v) = action(); break;
        case 10: *reinterpret_cast< QRect*>(_v) = popupGeometry(); break;
        default: break;
        }
        _id -= 11;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setText(*reinterpret_cast< QString*>(_v)); break;
        case 2: setSelectedIndex(*reinterpret_cast< int*>(_v)); break;
        case 4: setMenuContentItem(*reinterpret_cast< QQuickItem**>(_v)); break;
        case 5: setMinimumWidth(*reinterpret_cast< int*>(_v)); break;
        case 6: setFont(*reinterpret_cast< QFont*>(_v)); break;
        case 7: setXOffset(*reinterpret_cast< qreal*>(_v)); break;
        case 8: setYOffset(*reinterpret_cast< qreal*>(_v)); break;
        default: break;
        }
        _id -= 11;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 11;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 11;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 11;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 11;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 11;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 11;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QQuickMenu::itemsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void QQuickMenu::titleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void QQuickMenu::__selectedIndexChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void QQuickMenu::__menuClosed()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

// SIGNAL 4
void QQuickMenu::__menuPopupDestroyed()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}

// SIGNAL 5
void QQuickMenu::popupVisibleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
}

// SIGNAL 6
void QQuickMenu::__popupGeometryChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, Q_NULLPTR);
}

// SIGNAL 7
void QQuickMenu::menuContentItemChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, Q_NULLPTR);
}

// SIGNAL 8
void QQuickMenu::minimumWidthChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
