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

#include <memory>
#include "../kernel/qformlayout.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qformlayout.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. 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_QFormLayout_t {
    QByteArrayData data[20];
    char stringdata0[296];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QFormLayout_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QFormLayout_t qt_meta_stringdata_QFormLayout = {
    {
QT_MOC_LITERAL(0, 0, 11), // "QFormLayout"
QT_MOC_LITERAL(1, 12, 17), // "fieldGrowthPolicy"
QT_MOC_LITERAL(2, 30, 17), // "FieldGrowthPolicy"
QT_MOC_LITERAL(3, 48, 13), // "rowWrapPolicy"
QT_MOC_LITERAL(4, 62, 13), // "RowWrapPolicy"
QT_MOC_LITERAL(5, 76, 14), // "labelAlignment"
QT_MOC_LITERAL(6, 91, 13), // "Qt::Alignment"
QT_MOC_LITERAL(7, 105, 13), // "formAlignment"
QT_MOC_LITERAL(8, 119, 17), // "horizontalSpacing"
QT_MOC_LITERAL(9, 137, 15), // "verticalSpacing"
QT_MOC_LITERAL(10, 153, 20), // "FieldsStayAtSizeHint"
QT_MOC_LITERAL(11, 174, 19), // "ExpandingFieldsGrow"
QT_MOC_LITERAL(12, 194, 21), // "AllNonFixedFieldsGrow"
QT_MOC_LITERAL(13, 216, 12), // "DontWrapRows"
QT_MOC_LITERAL(14, 229, 12), // "WrapLongRows"
QT_MOC_LITERAL(15, 242, 11), // "WrapAllRows"
QT_MOC_LITERAL(16, 254, 8), // "ItemRole"
QT_MOC_LITERAL(17, 263, 9), // "LabelRole"
QT_MOC_LITERAL(18, 273, 9), // "FieldRole"
QT_MOC_LITERAL(19, 283, 12) // "SpanningRole"

    },
    "QFormLayout\0fieldGrowthPolicy\0"
    "FieldGrowthPolicy\0rowWrapPolicy\0"
    "RowWrapPolicy\0labelAlignment\0Qt::Alignment\0"
    "formAlignment\0horizontalSpacing\0"
    "verticalSpacing\0FieldsStayAtSizeHint\0"
    "ExpandingFieldsGrow\0AllNonFixedFieldsGrow\0"
    "DontWrapRows\0WrapLongRows\0WrapAllRows\0"
    "ItemRole\0LabelRole\0FieldRole\0SpanningRole"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QFormLayout[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       0,    0, // methods
       6,   14, // properties
       3,   32, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // properties: name, type, flags
       1, 0x80000000 | 2, 0x0009510f,
       3, 0x80000000 | 4, 0x0009510f,
       5, 0x80000000 | 6, 0x0009510f,
       7, 0x80000000 | 6, 0x0009510f,
       8, QMetaType::Int, 0x00095103,
       9, QMetaType::Int, 0x00095103,

 // enums: name, alias, flags, count, data
       2,    2, 0x0,    3,   47,
       4,    4, 0x0,    3,   53,
      16,   16, 0x0,    3,   59,

 // enum data: key, value
      10, uint(QFormLayout::FieldsStayAtSizeHint),
      11, uint(QFormLayout::ExpandingFieldsGrow),
      12, uint(QFormLayout::AllNonFixedFieldsGrow),
      13, uint(QFormLayout::DontWrapRows),
      14, uint(QFormLayout::WrapLongRows),
      15, uint(QFormLayout::WrapAllRows),
      17, uint(QFormLayout::LabelRole),
      18, uint(QFormLayout::FieldRole),
      19, uint(QFormLayout::SpanningRole),

       0        // eod
};

void QFormLayout::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{

#ifndef QT_NO_PROPERTIES
    if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QFormLayout *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< FieldGrowthPolicy*>(_v) = _t->fieldGrowthPolicy(); break;
        case 1: *reinterpret_cast< RowWrapPolicy*>(_v) = _t->rowWrapPolicy(); break;
        case 2: *reinterpret_cast< Qt::Alignment*>(_v) = _t->labelAlignment(); break;
        case 3: *reinterpret_cast< Qt::Alignment*>(_v) = _t->formAlignment(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->horizontalSpacing(); break;
        case 5: *reinterpret_cast< int*>(_v) = _t->verticalSpacing(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QFormLayout *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setFieldGrowthPolicy(*reinterpret_cast< FieldGrowthPolicy*>(_v)); break;
        case 1: _t->setRowWrapPolicy(*reinterpret_cast< RowWrapPolicy*>(_v)); break;
        case 2: _t->setLabelAlignment(*reinterpret_cast< Qt::Alignment*>(_v)); break;
        case 3: _t->setFormAlignment(*reinterpret_cast< Qt::Alignment*>(_v)); break;
        case 4: _t->setHorizontalSpacing(*reinterpret_cast< int*>(_v)); break;
        case 5: _t->setVerticalSpacing(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
        QFormLayout *_t = static_cast<QFormLayout *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->resetFieldGrowthPolicy(); break;
        case 1: _t->resetRowWrapPolicy(); break;
        case 2: _t->resetLabelAlignment(); break;
        case 3: _t->resetFormAlignment(); break;
        default: break;
        }
    }
#endif // QT_NO_PROPERTIES
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject QFormLayout::staticMetaObject = { {
    QMetaObject::SuperData::link<QLayout::staticMetaObject>(),
    qt_meta_stringdata_QFormLayout.data,
    qt_meta_data_QFormLayout,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QFormLayout::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QLayout::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    
#ifndef QT_NO_PROPERTIES
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 6;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
