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

#include "../../../../../../../src/qtquick1-opensource-src-5.5.1/examples/declarative/cppextensions/qgraphicslayouts/qgraphicsgridlayout/gridlayout.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'gridlayout.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.5.1. 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_GraphicsGridLayoutObject_t {
    QByteArrayData data[12];
    char stringdata0[205];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_GraphicsGridLayoutObject_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_GraphicsGridLayoutObject_t qt_meta_stringdata_GraphicsGridLayoutObject = {
    {
QT_MOC_LITERAL(0, 0, 24), // "GraphicsGridLayoutObject"
QT_MOC_LITERAL(1, 25, 15), // "DefaultProperty"
QT_MOC_LITERAL(2, 41, 8), // "children"
QT_MOC_LITERAL(3, 50, 15), // "updateAlignment"
QT_MOC_LITERAL(4, 66, 0), // ""
QT_MOC_LITERAL(5, 67, 20), // "QGraphicsLayoutItem*"
QT_MOC_LITERAL(6, 88, 13), // "Qt::Alignment"
QT_MOC_LITERAL(7, 102, 45), // "QDeclarativeListProperty<QGra..."
QT_MOC_LITERAL(8, 148, 7), // "spacing"
QT_MOC_LITERAL(9, 156, 14), // "contentsMargin"
QT_MOC_LITERAL(10, 171, 15), // "verticalSpacing"
QT_MOC_LITERAL(11, 187, 17) // "horizontalSpacing"

    },
    "GraphicsGridLayoutObject\0DefaultProperty\0"
    "children\0updateAlignment\0\0"
    "QGraphicsLayoutItem*\0Qt::Alignment\0"
    "QDeclarativeListProperty<QGraphicsLayoutItem>\0"
    "spacing\0contentsMargin\0verticalSpacing\0"
    "horizontalSpacing"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_GraphicsGridLayoutObject[] = {

 // content:
       7,       // revision
       0,       // classname
       1,   14, // classinfo
       1,   16, // methods
       5,   26, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // classinfo: key, value
       1,    2,

 // slots: name, argc, parameters, tag, flags
       3,    2,   21,    4, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 5, 0x80000000 | 6,    4,    4,

 // properties: name, type, flags
       2, 0x80000000 | 7, 0x00095009,
       8, QMetaType::QReal, 0x00095103,
       9, QMetaType::QReal, 0x00095103,
      10, QMetaType::QReal, 0x00095103,
      11, QMetaType::QReal, 0x00095103,

       0        // eod
};

void GraphicsGridLayoutObject::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        GraphicsGridLayoutObject *_t = static_cast<GraphicsGridLayoutObject *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->updateAlignment((*reinterpret_cast< QGraphicsLayoutItem*(*)>(_a[1])),(*reinterpret_cast< Qt::Alignment(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QGraphicsLayoutItem* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDeclarativeListProperty<QGraphicsLayoutItem> >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        GraphicsGridLayoutObject *_t = static_cast<GraphicsGridLayoutObject *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QDeclarativeListProperty<QGraphicsLayoutItem>*>(_v) = _t->children(); break;
        case 1: *reinterpret_cast< qreal*>(_v) = _t->spacing(); break;
        case 2: *reinterpret_cast< qreal*>(_v) = _t->contentsMargin(); break;
        case 3: *reinterpret_cast< qreal*>(_v) = _t->verticalSpacing(); break;
        case 4: *reinterpret_cast< qreal*>(_v) = _t->horizontalSpacing(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        GraphicsGridLayoutObject *_t = static_cast<GraphicsGridLayoutObject *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setSpacing(*reinterpret_cast< qreal*>(_v)); break;
        case 2: _t->setContentsMargin(*reinterpret_cast< qreal*>(_v)); break;
        case 3: _t->setVerticalSpacing(*reinterpret_cast< qreal*>(_v)); break;
        case 4: _t->setHorizontalSpacing(*reinterpret_cast< qreal*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject GraphicsGridLayoutObject::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_GraphicsGridLayoutObject.data,
      qt_meta_data_GraphicsGridLayoutObject,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *GraphicsGridLayoutObject::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_GraphicsGridLayoutObject.stringdata0))
        return static_cast<void*>(const_cast< GraphicsGridLayoutObject*>(this));
    if (!strcmp(_clname, "QGraphicsGridLayout"))
        return static_cast< QGraphicsGridLayout*>(const_cast< GraphicsGridLayoutObject*>(this));
    if (!strcmp(_clname, "org.qt-project.Qt.QGraphicsLayout"))
        return static_cast< QGraphicsLayout*>(const_cast< GraphicsGridLayoutObject*>(this));
    if (!strcmp(_clname, "org.qt-project.Qt.QGraphicsLayoutItem"))
        return static_cast< QGraphicsLayoutItem*>(const_cast< GraphicsGridLayoutObject*>(this));
    return QObject::qt_metacast(_clname);
}

int GraphicsGridLayoutObject::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 < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
#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 -= 5;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
struct qt_meta_stringdata_GridLayoutAttached_t {
    QByteArrayData data[22];
    char stringdata0[318];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_GridLayoutAttached_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_GridLayoutAttached_t qt_meta_stringdata_GridLayoutAttached = {
    {
QT_MOC_LITERAL(0, 0, 18), // "GridLayoutAttached"
QT_MOC_LITERAL(1, 19, 16), // "alignmentChanged"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 20), // "QGraphicsLayoutItem*"
QT_MOC_LITERAL(4, 58, 13), // "Qt::Alignment"
QT_MOC_LITERAL(5, 72, 3), // "row"
QT_MOC_LITERAL(6, 76, 6), // "column"
QT_MOC_LITERAL(7, 83, 7), // "rowSpan"
QT_MOC_LITERAL(8, 91, 10), // "columnSpan"
QT_MOC_LITERAL(9, 102, 9), // "alignment"
QT_MOC_LITERAL(10, 112, 16), // "rowStretchFactor"
QT_MOC_LITERAL(11, 129, 19), // "columnStretchFactor"
QT_MOC_LITERAL(12, 149, 10), // "rowSpacing"
QT_MOC_LITERAL(13, 160, 13), // "columnSpacing"
QT_MOC_LITERAL(14, 174, 18), // "rowPreferredHeight"
QT_MOC_LITERAL(15, 193, 16), // "rowMinimumHeight"
QT_MOC_LITERAL(16, 210, 16), // "rowMaximumHeight"
QT_MOC_LITERAL(17, 227, 14), // "rowFixedHeight"
QT_MOC_LITERAL(18, 242, 20), // "columnPreferredWidth"
QT_MOC_LITERAL(19, 263, 18), // "columnMaximumWidth"
QT_MOC_LITERAL(20, 282, 18), // "columnMinimumWidth"
QT_MOC_LITERAL(21, 301, 16) // "columnFixedWidth"

    },
    "GridLayoutAttached\0alignmentChanged\0"
    "\0QGraphicsLayoutItem*\0Qt::Alignment\0"
    "row\0column\0rowSpan\0columnSpan\0alignment\0"
    "rowStretchFactor\0columnStretchFactor\0"
    "rowSpacing\0columnSpacing\0rowPreferredHeight\0"
    "rowMinimumHeight\0rowMaximumHeight\0"
    "rowFixedHeight\0columnPreferredWidth\0"
    "columnMaximumWidth\0columnMinimumWidth\0"
    "columnFixedWidth"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_GridLayoutAttached[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       1,   14, // methods
      17,   24, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    2,   19,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 4,    2,    2,

 // properties: name, type, flags
       5, QMetaType::Int, 0x00095103,
       6, QMetaType::Int, 0x00095103,
       7, QMetaType::Int, 0x00095103,
       8, QMetaType::Int, 0x00095103,
       9, 0x80000000 | 4, 0x0009510b,
      10, QMetaType::Int, 0x00095103,
      11, QMetaType::Int, 0x00095103,
      12, QMetaType::Int, 0x00095103,
      13, QMetaType::Int, 0x00095103,
      14, QMetaType::Int, 0x00095103,
      15, QMetaType::Int, 0x00095103,
      16, QMetaType::Int, 0x00095103,
      17, QMetaType::Int, 0x00095103,
      18, QMetaType::Int, 0x00095103,
      19, QMetaType::Int, 0x00095103,
      20, QMetaType::Int, 0x00095103,
      21, QMetaType::Int, 0x00095103,

       0        // eod
};

void GridLayoutAttached::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        GridLayoutAttached *_t = static_cast<GridLayoutAttached *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->alignmentChanged((*reinterpret_cast< QGraphicsLayoutItem*(*)>(_a[1])),(*reinterpret_cast< Qt::Alignment(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QGraphicsLayoutItem* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (GridLayoutAttached::*_t)(QGraphicsLayoutItem * , Qt::Alignment );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GridLayoutAttached::alignmentChanged)) {
                *result = 0;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        GridLayoutAttached *_t = static_cast<GridLayoutAttached *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->row(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->column(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->rowSpan(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->columnSpan(); break;
        case 4: *reinterpret_cast< Qt::Alignment*>(_v) = _t->alignment(); break;
        case 5: *reinterpret_cast< int*>(_v) = _t->rowStretchFactor(); break;
        case 6: *reinterpret_cast< int*>(_v) = _t->columnStretchFactor(); break;
        case 7: *reinterpret_cast< int*>(_v) = _t->rowSpacing(); break;
        case 8: *reinterpret_cast< int*>(_v) = _t->columnSpacing(); break;
        case 9: *reinterpret_cast< int*>(_v) = _t->rowPreferredHeight(); break;
        case 10: *reinterpret_cast< int*>(_v) = _t->rowMinimumHeight(); break;
        case 11: *reinterpret_cast< int*>(_v) = _t->rowMaximumHeight(); break;
        case 12: *reinterpret_cast< int*>(_v) = _t->rowFixedHeight(); break;
        case 13: *reinterpret_cast< int*>(_v) = _t->columnPreferredWidth(); break;
        case 14: *reinterpret_cast< int*>(_v) = _t->columnMaximumWidth(); break;
        case 15: *reinterpret_cast< int*>(_v) = _t->columnMinimumWidth(); break;
        case 16: *reinterpret_cast< int*>(_v) = _t->columnFixedWidth(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        GridLayoutAttached *_t = static_cast<GridLayoutAttached *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setRow(*reinterpret_cast< int*>(_v)); break;
        case 1: _t->setColumn(*reinterpret_cast< int*>(_v)); break;
        case 2: _t->setRowSpan(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setColumnSpan(*reinterpret_cast< int*>(_v)); break;
        case 4: _t->setAlignment(*reinterpret_cast< Qt::Alignment*>(_v)); break;
        case 5: _t->setRowStretchFactor(*reinterpret_cast< int*>(_v)); break;
        case 6: _t->setColumnStretchFactor(*reinterpret_cast< int*>(_v)); break;
        case 7: _t->setRowSpacing(*reinterpret_cast< int*>(_v)); break;
        case 8: _t->setColumnSpacing(*reinterpret_cast< int*>(_v)); break;
        case 9: _t->setRowPreferredHeight(*reinterpret_cast< int*>(_v)); break;
        case 10: _t->setRowMinimumHeight(*reinterpret_cast< int*>(_v)); break;
        case 11: _t->setRowMaximumHeight(*reinterpret_cast< int*>(_v)); break;
        case 12: _t->setRowFixedHeight(*reinterpret_cast< int*>(_v)); break;
        case 13: _t->setColumnPreferredWidth(*reinterpret_cast< int*>(_v)); break;
        case 14: _t->setColumnMaximumWidth(*reinterpret_cast< int*>(_v)); break;
        case 15: _t->setColumnMinimumWidth(*reinterpret_cast< int*>(_v)); break;
        case 16: _t->setColumnFixedWidth(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject GridLayoutAttached::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_GridLayoutAttached.data,
      qt_meta_data_GridLayoutAttached,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *GridLayoutAttached::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_GridLayoutAttached.stringdata0))
        return static_cast<void*>(const_cast< GridLayoutAttached*>(this));
    return QObject::qt_metacast(_clname);
}

int GridLayoutAttached::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 < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
#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 -= 17;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 17;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 17;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 17;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 17;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 17;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void GridLayoutAttached::alignmentChanged(QGraphicsLayoutItem * _t1, Qt::Alignment _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
