/****************************************************************************
** Meta object code from reading C++ file 'qquickimagebase_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/qquickimagebase_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquickimagebase_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_QQuickImageBase_t {
    QByteArrayData data[27];
    char stringdata[310];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuickImageBase_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuickImageBase_t qt_meta_stringdata_QQuickImageBase = {
    {
QT_MOC_LITERAL(0, 0, 15), // "QQuickImageBase"
QT_MOC_LITERAL(1, 16, 13), // "sourceChanged"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 17), // "sourceSizeChanged"
QT_MOC_LITERAL(4, 49, 13), // "statusChanged"
QT_MOC_LITERAL(5, 63, 23), // "QQuickImageBase::Status"
QT_MOC_LITERAL(6, 87, 15), // "progressChanged"
QT_MOC_LITERAL(7, 103, 8), // "progress"
QT_MOC_LITERAL(8, 112, 19), // "asynchronousChanged"
QT_MOC_LITERAL(9, 132, 12), // "cacheChanged"
QT_MOC_LITERAL(10, 145, 13), // "mirrorChanged"
QT_MOC_LITERAL(11, 159, 15), // "requestFinished"
QT_MOC_LITERAL(12, 175, 15), // "requestProgress"
QT_MOC_LITERAL(13, 191, 19), // "handleScreenChanged"
QT_MOC_LITERAL(14, 211, 8), // "QScreen*"
QT_MOC_LITERAL(15, 220, 6), // "screen"
QT_MOC_LITERAL(16, 227, 6), // "status"
QT_MOC_LITERAL(17, 234, 6), // "Status"
QT_MOC_LITERAL(18, 241, 6), // "source"
QT_MOC_LITERAL(19, 248, 12), // "asynchronous"
QT_MOC_LITERAL(20, 261, 5), // "cache"
QT_MOC_LITERAL(21, 267, 10), // "sourceSize"
QT_MOC_LITERAL(22, 278, 6), // "mirror"
QT_MOC_LITERAL(23, 285, 4), // "Null"
QT_MOC_LITERAL(24, 290, 5), // "Ready"
QT_MOC_LITERAL(25, 296, 7), // "Loading"
QT_MOC_LITERAL(26, 304, 5) // "Error"

    },
    "QQuickImageBase\0sourceChanged\0\0"
    "sourceSizeChanged\0statusChanged\0"
    "QQuickImageBase::Status\0progressChanged\0"
    "progress\0asynchronousChanged\0cacheChanged\0"
    "mirrorChanged\0requestFinished\0"
    "requestProgress\0handleScreenChanged\0"
    "QScreen*\0screen\0status\0Status\0source\0"
    "asynchronous\0cache\0sourceSize\0mirror\0"
    "Null\0Ready\0Loading\0Error"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuickImageBase[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      10,   14, // methods
       7,   86, // properties
       1,  114, // enums/sets
       0,    0, // constructors
       0,       // flags
       7,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   64,    2, 0x06 /* Public */,
       3,    0,   67,    2, 0x06 /* Public */,
       4,    1,   68,    2, 0x06 /* Public */,
       6,    1,   71,    2, 0x06 /* Public */,
       8,    0,   74,    2, 0x06 /* Public */,
       9,    0,   75,    2, 0x06 /* Public */,
      10,    0,   76,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    0,   77,    2, 0x08 /* Private */,
      12,    2,   78,    2, 0x08 /* Private */,
      13,    1,   83,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QUrl,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5,    2,
    QMetaType::Void, QMetaType::QReal,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong,    2,    2,
    QMetaType::Void, 0x80000000 | 14,   15,

 // properties: name, type, flags
      16, 0x80000000 | 17, 0x00495009,
      18, QMetaType::QUrl, 0x00495103,
       7, QMetaType::QReal, 0x00495001,
      19, QMetaType::Bool, 0x00495103,
      20, QMetaType::Bool, 0x00495103,
      21, QMetaType::QSize, 0x00495107,
      22, QMetaType::Bool, 0x00495103,

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

 // enums: name, flags, count, data
      17, 0x0,    4,  118,

 // enum data: key, value
      23, uint(QQuickImageBase::Null),
      24, uint(QQuickImageBase::Ready),
      25, uint(QQuickImageBase::Loading),
      26, uint(QQuickImageBase::Error),

       0        // eod
};

void QQuickImageBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QQuickImageBase *_t = static_cast<QQuickImageBase *>(_o);
        switch (_id) {
        case 0: _t->sourceChanged((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 1: _t->sourceSizeChanged(); break;
        case 2: _t->statusChanged((*reinterpret_cast< QQuickImageBase::Status(*)>(_a[1]))); break;
        case 3: _t->progressChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 4: _t->asynchronousChanged(); break;
        case 5: _t->cacheChanged(); break;
        case 6: _t->mirrorChanged(); break;
        case 7: _t->requestFinished(); break;
        case 8: _t->requestProgress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 9: _t->handleScreenChanged((*reinterpret_cast< QScreen*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QQuickImageBase::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickImageBase::sourceChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (QQuickImageBase::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickImageBase::sourceSizeChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (QQuickImageBase::*_t)(QQuickImageBase::Status );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickImageBase::statusChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (QQuickImageBase::*_t)(qreal );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickImageBase::progressChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (QQuickImageBase::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickImageBase::asynchronousChanged)) {
                *result = 4;
            }
        }
        {
            typedef void (QQuickImageBase::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickImageBase::cacheChanged)) {
                *result = 5;
            }
        }
        {
            typedef void (QQuickImageBase::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickImageBase::mirrorChanged)) {
                *result = 6;
            }
        }
    }
}

const QMetaObject QQuickImageBase::staticMetaObject = {
    { &QQuickImplicitSizeItem::staticMetaObject, qt_meta_stringdata_QQuickImageBase.data,
      qt_meta_data_QQuickImageBase,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int QQuickImageBase::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuickImplicitSizeItem::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 10;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< Status*>(_v) = status(); break;
        case 1: *reinterpret_cast< QUrl*>(_v) = source(); break;
        case 2: *reinterpret_cast< qreal*>(_v) = progress(); break;
        case 3: *reinterpret_cast< bool*>(_v) = asynchronous(); break;
        case 4: *reinterpret_cast< bool*>(_v) = cache(); break;
        case 5: *reinterpret_cast< QSize*>(_v) = sourceSize(); break;
        case 6: *reinterpret_cast< bool*>(_v) = mirror(); break;
        default: break;
        }
        _id -= 7;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 1: setSource(*reinterpret_cast< QUrl*>(_v)); break;
        case 3: setAsynchronous(*reinterpret_cast< bool*>(_v)); break;
        case 4: setCache(*reinterpret_cast< bool*>(_v)); break;
        case 5: setSourceSize(*reinterpret_cast< QSize*>(_v)); break;
        case 6: setMirror(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
        _id -= 7;
    } else if (_c == QMetaObject::ResetProperty) {
        switch (_id) {
        case 5: resetSourceSize(); break;
        default: break;
        }
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 7;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 7)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 7;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QQuickImageBase::sourceChanged(const QUrl & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

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

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

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

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

// SIGNAL 6
void QQuickImageBase::mirrorChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
