/****************************************************************************
** Meta object code from reading C++ file 'qquickcontainer_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/quicktemplates2/qquickcontainer_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquickcontainer_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_QQuickContainer_t {
    QByteArrayData data[34];
    char stringdata0[472];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuickContainer_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuickContainer_t qt_meta_stringdata_QQuickContainer = {
    {
QT_MOC_LITERAL(0, 0, 15), // "QQuickContainer"
QT_MOC_LITERAL(1, 16, 15), // "DefaultProperty"
QT_MOC_LITERAL(2, 32, 11), // "contentData"
QT_MOC_LITERAL(3, 44, 12), // "countChanged"
QT_MOC_LITERAL(4, 57, 0), // ""
QT_MOC_LITERAL(5, 58, 22), // "contentChildrenChanged"
QT_MOC_LITERAL(6, 81, 19), // "currentIndexChanged"
QT_MOC_LITERAL(7, 101, 18), // "currentItemChanged"
QT_MOC_LITERAL(8, 120, 19), // "contentWidthChanged"
QT_MOC_LITERAL(9, 140, 20), // "contentHeightChanged"
QT_MOC_LITERAL(10, 161, 15), // "setCurrentIndex"
QT_MOC_LITERAL(11, 177, 5), // "index"
QT_MOC_LITERAL(12, 183, 21), // "incrementCurrentIndex"
QT_MOC_LITERAL(13, 205, 21), // "decrementCurrentIndex"
QT_MOC_LITERAL(14, 227, 22), // "_q_currentIndexChanged"
QT_MOC_LITERAL(15, 250, 6), // "itemAt"
QT_MOC_LITERAL(16, 257, 11), // "QQuickItem*"
QT_MOC_LITERAL(17, 269, 7), // "addItem"
QT_MOC_LITERAL(18, 277, 4), // "item"
QT_MOC_LITERAL(19, 282, 10), // "insertItem"
QT_MOC_LITERAL(20, 293, 8), // "moveItem"
QT_MOC_LITERAL(21, 302, 4), // "from"
QT_MOC_LITERAL(22, 307, 2), // "to"
QT_MOC_LITERAL(23, 310, 10), // "removeItem"
QT_MOC_LITERAL(24, 321, 8), // "takeItem"
QT_MOC_LITERAL(25, 330, 5), // "count"
QT_MOC_LITERAL(26, 336, 12), // "contentModel"
QT_MOC_LITERAL(27, 349, 25), // "QQmlListProperty<QObject>"
QT_MOC_LITERAL(28, 375, 15), // "contentChildren"
QT_MOC_LITERAL(29, 391, 28), // "QQmlListProperty<QQuickItem>"
QT_MOC_LITERAL(30, 420, 12), // "currentIndex"
QT_MOC_LITERAL(31, 433, 11), // "currentItem"
QT_MOC_LITERAL(32, 445, 12), // "contentWidth"
QT_MOC_LITERAL(33, 458, 13) // "contentHeight"

    },
    "QQuickContainer\0DefaultProperty\0"
    "contentData\0countChanged\0\0"
    "contentChildrenChanged\0currentIndexChanged\0"
    "currentItemChanged\0contentWidthChanged\0"
    "contentHeightChanged\0setCurrentIndex\0"
    "index\0incrementCurrentIndex\0"
    "decrementCurrentIndex\0_q_currentIndexChanged\0"
    "itemAt\0QQuickItem*\0addItem\0item\0"
    "insertItem\0moveItem\0from\0to\0removeItem\0"
    "takeItem\0count\0contentModel\0"
    "QQmlListProperty<QObject>\0contentChildren\0"
    "QQmlListProperty<QQuickItem>\0currentIndex\0"
    "currentItem\0contentWidth\0contentHeight"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuickContainer[] = {

 // content:
       8,       // revision
       0,       // classname
       1,   14, // classinfo
      16,   16, // methods
       8,  146, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    0,  112,    4, 0x06 /* Public */,
       5,    0,  113,    4, 0x06 /* Public */,
       6,    0,  114,    4, 0x06 /* Public */,
       7,    0,  115,    4, 0x06 /* Public */,
       8,    0,  116,    4, 0x86 /* Public | MethodRevisioned */,
       9,    0,  117,    4, 0x86 /* Public | MethodRevisioned */,

 // slots: name, argc, parameters, tag, flags
      10,    1,  118,    4, 0x0a /* Public */,
      12,    0,  121,    4, 0x8a /* Public | MethodRevisioned */,
      13,    0,  122,    4, 0x8a /* Public | MethodRevisioned */,
      14,    0,  123,    4, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      15,    1,  124,    4, 0x02 /* Public */,
      17,    1,  127,    4, 0x02 /* Public */,
      19,    2,  130,    4, 0x02 /* Public */,
      20,    2,  135,    4, 0x02 /* Public */,
      23,    1,  140,    4, 0x02 /* Public */,
      24,    1,  143,    4, 0x82 /* Public | MethodRevisioned */,

 // signals: revision
       0,
       0,
       0,
       0,
       5,
       5,

 // slots: revision
       0,
       1,
       1,
       0,

 // methods: revision
       0,
       0,
       0,
       0,
       0,
       3,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    0x80000000 | 16, QMetaType::Int,   11,
    QMetaType::Void, 0x80000000 | 16,   18,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 16,   11,   18,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   21,   22,
    QMetaType::Void, QMetaType::QVariant,   18,
    0x80000000 | 16, QMetaType::Int,   11,

 // properties: name, type, flags
      25, QMetaType::Int, 0x00495801,
      26, QMetaType::QVariant, 0x00095c01,
       2, 0x80000000 | 27, 0x00095809,
      28, 0x80000000 | 29, 0x00495809,
      30, QMetaType::Int, 0x00495903,
      31, 0x80000000 | 16, 0x00495809,
      32, QMetaType::QReal, 0x00c95907,
      33, QMetaType::QReal, 0x00c95907,

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

 // properties: revision
       0,
       0,
       0,
       0,
       0,
       0,
       5,
       5,

       0        // eod
};

void QQuickContainer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QQuickContainer *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->countChanged(); break;
        case 1: _t->contentChildrenChanged(); break;
        case 2: _t->currentIndexChanged(); break;
        case 3: _t->currentItemChanged(); break;
        case 4: _t->contentWidthChanged(); break;
        case 5: _t->contentHeightChanged(); break;
        case 6: _t->setCurrentIndex((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->incrementCurrentIndex(); break;
        case 8: _t->decrementCurrentIndex(); break;
        case 9: _t->d_func()->_q_currentIndexChanged(); break;
        case 10: { QQuickItem* _r = _t->itemAt((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QQuickItem**>(_a[0]) = std::move(_r); }  break;
        case 11: _t->addItem((*reinterpret_cast< QQuickItem*(*)>(_a[1]))); break;
        case 12: _t->insertItem((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QQuickItem*(*)>(_a[2]))); break;
        case 13: _t->moveItem((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 14: _t->removeItem((*reinterpret_cast< const QVariant(*)>(_a[1]))); break;
        case 15: { QQuickItem* _r = _t->takeItem((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QQuickItem**>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break;
            }
            break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QQuickContainer::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickContainer::countChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QQuickContainer::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickContainer::contentChildrenChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QQuickContainer::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickContainer::currentIndexChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QQuickContainer::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickContainer::currentItemChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QQuickContainer::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickContainer::contentWidthChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QQuickContainer::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickContainer::contentHeightChanged)) {
                *result = 5;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlListProperty<QObject> >(); break;
        case 3:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlListProperty<QQuickItem> >(); break;
        case 5:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QQuickContainer *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->count(); break;
        case 1: *reinterpret_cast< QVariant*>(_v) = _t->contentModel(); break;
        case 2: *reinterpret_cast< QQmlListProperty<QObject>*>(_v) = _t->contentData(); break;
        case 3: *reinterpret_cast< QQmlListProperty<QQuickItem>*>(_v) = _t->contentChildren(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->currentIndex(); break;
        case 5: *reinterpret_cast< QQuickItem**>(_v) = _t->currentItem(); break;
        case 6: *reinterpret_cast< qreal*>(_v) = _t->contentWidth(); break;
        case 7: *reinterpret_cast< qreal*>(_v) = _t->contentHeight(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QQuickContainer *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 4: _t->setCurrentIndex(*reinterpret_cast< int*>(_v)); break;
        case 6: _t->setContentWidth(*reinterpret_cast< qreal*>(_v)); break;
        case 7: _t->setContentHeight(*reinterpret_cast< qreal*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
        QQuickContainer *_t = static_cast<QQuickContainer *>(_o);
        (void)_t;
        switch (_id) {
        case 6: _t->resetContentWidth(); break;
        case 7: _t->resetContentHeight(); break;
        default: break;
        }
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QQuickContainer::staticMetaObject = { {
    QMetaObject::SuperData::link<QQuickControl::staticMetaObject>(),
    qt_meta_stringdata_QQuickContainer.data,
    qt_meta_data_QQuickContainer,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QQuickContainer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuickControl::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
#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 QQuickContainer::countChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

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

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

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

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

// SIGNAL 5
void QQuickContainer::contentHeightChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
