/****************************************************************************
** Meta object code from reading C++ file 'qquickimage_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/qtdeclarative-opensource-src-5.4.2/src/quick/items/qquickimage_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquickimage_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_QQuickImage_t {
    QByteArrayData data[31];
    char stringdata[415];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuickImage_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuickImage_t qt_meta_stringdata_QQuickImage = {
    {
QT_MOC_LITERAL(0, 0, 11), // "QQuickImage"
QT_MOC_LITERAL(1, 12, 15), // "fillModeChanged"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 22), // "paintedGeometryChanged"
QT_MOC_LITERAL(4, 52, 26), // "horizontalAlignmentChanged"
QT_MOC_LITERAL(5, 79, 10), // "HAlignment"
QT_MOC_LITERAL(6, 90, 9), // "alignment"
QT_MOC_LITERAL(7, 100, 24), // "verticalAlignmentChanged"
QT_MOC_LITERAL(8, 125, 10), // "VAlignment"
QT_MOC_LITERAL(9, 136, 13), // "mipmapChanged"
QT_MOC_LITERAL(10, 150, 20), // "invalidateSceneGraph"
QT_MOC_LITERAL(11, 171, 8), // "fillMode"
QT_MOC_LITERAL(12, 180, 8), // "FillMode"
QT_MOC_LITERAL(13, 189, 12), // "paintedWidth"
QT_MOC_LITERAL(14, 202, 13), // "paintedHeight"
QT_MOC_LITERAL(15, 216, 19), // "horizontalAlignment"
QT_MOC_LITERAL(16, 236, 17), // "verticalAlignment"
QT_MOC_LITERAL(17, 254, 6), // "mipmap"
QT_MOC_LITERAL(18, 261, 9), // "AlignLeft"
QT_MOC_LITERAL(19, 271, 10), // "AlignRight"
QT_MOC_LITERAL(20, 282, 12), // "AlignHCenter"
QT_MOC_LITERAL(21, 295, 8), // "AlignTop"
QT_MOC_LITERAL(22, 304, 11), // "AlignBottom"
QT_MOC_LITERAL(23, 316, 12), // "AlignVCenter"
QT_MOC_LITERAL(24, 329, 7), // "Stretch"
QT_MOC_LITERAL(25, 337, 17), // "PreserveAspectFit"
QT_MOC_LITERAL(26, 355, 18), // "PreserveAspectCrop"
QT_MOC_LITERAL(27, 374, 4), // "Tile"
QT_MOC_LITERAL(28, 379, 14), // "TileVertically"
QT_MOC_LITERAL(29, 394, 16), // "TileHorizontally"
QT_MOC_LITERAL(30, 411, 3) // "Pad"

    },
    "QQuickImage\0fillModeChanged\0\0"
    "paintedGeometryChanged\0"
    "horizontalAlignmentChanged\0HAlignment\0"
    "alignment\0verticalAlignmentChanged\0"
    "VAlignment\0mipmapChanged\0invalidateSceneGraph\0"
    "fillMode\0FillMode\0paintedWidth\0"
    "paintedHeight\0horizontalAlignment\0"
    "verticalAlignment\0mipmap\0AlignLeft\0"
    "AlignRight\0AlignHCenter\0AlignTop\0"
    "AlignBottom\0AlignVCenter\0Stretch\0"
    "PreserveAspectFit\0PreserveAspectCrop\0"
    "Tile\0TileVertically\0TileHorizontally\0"
    "Pad"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuickImage[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       6,   14, // methods
       6,   62, // properties
       3,   92, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   50,    2, 0x06 /* Public */,
       3,    0,   51,    2, 0x06 /* Public */,
       4,    1,   52,    2, 0x06 /* Public */,
       7,    1,   55,    2, 0x06 /* Public */,
       9,    1,   58,    2, 0x86 /* Public | MethodRevisioned */,

 // slots: name, argc, parameters, tag, flags
      10,    0,   61,    2, 0x08 /* Private */,

 // signals: revision
       0,
       0,
       0,
       0,
       1,

 // slots: revision
       0,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 8,    6,
    QMetaType::Void, QMetaType::Bool,    2,

 // slots: parameters
    QMetaType::Void,

 // properties: name, type, flags
      11, 0x80000000 | 12, 0x0049510b,
      13, QMetaType::QReal, 0x00495001,
      14, QMetaType::QReal, 0x00495001,
      15, 0x80000000 | 5, 0x0049510b,
      16, 0x80000000 | 8, 0x0049510b,
      17, QMetaType::Bool, 0x00c95103,

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

 // properties: revision
       0,
       0,
       0,
       0,
       0,
       1,

 // enums: name, flags, count, data
       5, 0x0,    3,  104,
       8, 0x0,    3,  110,
      12, 0x0,    7,  116,

 // enum data: key, value
      18, uint(QQuickImage::AlignLeft),
      19, uint(QQuickImage::AlignRight),
      20, uint(QQuickImage::AlignHCenter),
      21, uint(QQuickImage::AlignTop),
      22, uint(QQuickImage::AlignBottom),
      23, uint(QQuickImage::AlignVCenter),
      24, uint(QQuickImage::Stretch),
      25, uint(QQuickImage::PreserveAspectFit),
      26, uint(QQuickImage::PreserveAspectCrop),
      27, uint(QQuickImage::Tile),
      28, uint(QQuickImage::TileVertically),
      29, uint(QQuickImage::TileHorizontally),
      30, uint(QQuickImage::Pad),

       0        // eod
};

void QQuickImage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QQuickImage *_t = static_cast<QQuickImage *>(_o);
        switch (_id) {
        case 0: _t->fillModeChanged(); break;
        case 1: _t->paintedGeometryChanged(); break;
        case 2: _t->horizontalAlignmentChanged((*reinterpret_cast< HAlignment(*)>(_a[1]))); break;
        case 3: _t->verticalAlignmentChanged((*reinterpret_cast< VAlignment(*)>(_a[1]))); break;
        case 4: _t->mipmapChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->invalidateSceneGraph(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QQuickImage::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickImage::fillModeChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (QQuickImage::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickImage::paintedGeometryChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (QQuickImage::*_t)(HAlignment );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickImage::horizontalAlignmentChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (QQuickImage::*_t)(VAlignment );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickImage::verticalAlignmentChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (QQuickImage::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickImage::mipmapChanged)) {
                *result = 4;
            }
        }
    }
}

const QMetaObject QQuickImage::staticMetaObject = {
    { &QQuickImageBase::staticMetaObject, qt_meta_stringdata_QQuickImage.data,
      qt_meta_data_QQuickImage,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int QQuickImage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuickImageBase::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 6)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 6;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< FillMode*>(_v) = fillMode(); break;
        case 1: *reinterpret_cast< qreal*>(_v) = paintedWidth(); break;
        case 2: *reinterpret_cast< qreal*>(_v) = paintedHeight(); break;
        case 3: *reinterpret_cast< HAlignment*>(_v) = horizontalAlignment(); break;
        case 4: *reinterpret_cast< VAlignment*>(_v) = verticalAlignment(); break;
        case 5: *reinterpret_cast< bool*>(_v) = mipmap(); break;
        default: break;
        }
        _id -= 6;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setFillMode(*reinterpret_cast< FillMode*>(_v)); break;
        case 3: setHorizontalAlignment(*reinterpret_cast< HAlignment*>(_v)); break;
        case 4: setVerticalAlignment(*reinterpret_cast< VAlignment*>(_v)); break;
        case 5: setMipmap(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
        _id -= 6;
    } else if (_c == QMetaObject::ResetProperty) {
        _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;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 6)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 6;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

// SIGNAL 2
void QQuickImage::horizontalAlignmentChanged(HAlignment _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void QQuickImage::verticalAlignmentChanged(VAlignment _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void QQuickImage::mipmapChanged(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
QT_END_MOC_NAMESPACE
