/****************************************************************************
** Meta object code from reading C++ file 'qdeclarativetester.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/tools/qml/qdeclarativetester.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qdeclarativetester.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_QDeclarativeVisualTest_t {
    QByteArrayData data[4];
    char stringdata0[80];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QDeclarativeVisualTest_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QDeclarativeVisualTest_t qt_meta_stringdata_QDeclarativeVisualTest = {
    {
QT_MOC_LITERAL(0, 0, 22), // "QDeclarativeVisualTest"
QT_MOC_LITERAL(1, 23, 15), // "DefaultProperty"
QT_MOC_LITERAL(2, 39, 6), // "events"
QT_MOC_LITERAL(3, 46, 33) // "QDeclarativeListProperty<QObj..."

    },
    "QDeclarativeVisualTest\0DefaultProperty\0"
    "events\0QDeclarativeListProperty<QObject>"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QDeclarativeVisualTest[] = {

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

 // classinfo: key, value
       1,    2,

 // properties: name, type, flags
       2, 0x80000000 | 3, 0x00095409,

       0        // eod
};

void QDeclarativeVisualTest::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDeclarativeListProperty<QObject> >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QDeclarativeVisualTest *_t = static_cast<QDeclarativeVisualTest *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QDeclarativeListProperty<QObject>*>(_v) = _t->events(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    Q_UNUSED(_o);
}

const QMetaObject QDeclarativeVisualTest::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_QDeclarativeVisualTest.data,
      qt_meta_data_QDeclarativeVisualTest,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int QDeclarativeVisualTest::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::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 -= 1;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
struct qt_meta_stringdata_QDeclarativeVisualTestFrame_t {
    QByteArrayData data[4];
    char stringdata0[44];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QDeclarativeVisualTestFrame_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QDeclarativeVisualTestFrame_t qt_meta_stringdata_QDeclarativeVisualTestFrame = {
    {
QT_MOC_LITERAL(0, 0, 27), // "QDeclarativeVisualTestFrame"
QT_MOC_LITERAL(1, 28, 4), // "msec"
QT_MOC_LITERAL(2, 33, 4), // "hash"
QT_MOC_LITERAL(3, 38, 5) // "image"

    },
    "QDeclarativeVisualTestFrame\0msec\0hash\0"
    "image"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QDeclarativeVisualTestFrame[] = {

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

 // properties: name, type, flags
       1, QMetaType::Int, 0x00095103,
       2, QMetaType::QString, 0x00095103,
       3, QMetaType::QUrl, 0x00095103,

       0        // eod
};

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

#ifndef QT_NO_PROPERTIES
    if (_c == QMetaObject::ReadProperty) {
        QDeclarativeVisualTestFrame *_t = static_cast<QDeclarativeVisualTestFrame *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->msec(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->hash(); break;
        case 2: *reinterpret_cast< QUrl*>(_v) = _t->image(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QDeclarativeVisualTestFrame *_t = static_cast<QDeclarativeVisualTestFrame *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setMsec(*reinterpret_cast< int*>(_v)); break;
        case 1: _t->setHash(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->setImage(*reinterpret_cast< QUrl*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject QDeclarativeVisualTestFrame::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_QDeclarativeVisualTestFrame.data,
      qt_meta_data_QDeclarativeVisualTestFrame,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int QDeclarativeVisualTestFrame::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::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 -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
struct qt_meta_stringdata_QDeclarativeVisualTestMouse_t {
    QByteArrayData data[8];
    char stringdata0[77];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QDeclarativeVisualTestMouse_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QDeclarativeVisualTestMouse_t qt_meta_stringdata_QDeclarativeVisualTestMouse = {
    {
QT_MOC_LITERAL(0, 0, 27), // "QDeclarativeVisualTestMouse"
QT_MOC_LITERAL(1, 28, 4), // "type"
QT_MOC_LITERAL(2, 33, 6), // "button"
QT_MOC_LITERAL(3, 40, 7), // "buttons"
QT_MOC_LITERAL(4, 48, 1), // "x"
QT_MOC_LITERAL(5, 50, 1), // "y"
QT_MOC_LITERAL(6, 52, 9), // "modifiers"
QT_MOC_LITERAL(7, 62, 14) // "sendToViewport"

    },
    "QDeclarativeVisualTestMouse\0type\0"
    "button\0buttons\0x\0y\0modifiers\0"
    "sendToViewport"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QDeclarativeVisualTestMouse[] = {

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

 // properties: name, type, flags
       1, QMetaType::Int, 0x00095103,
       2, QMetaType::Int, 0x00095103,
       3, QMetaType::Int, 0x00095103,
       4, QMetaType::Int, 0x00095103,
       5, QMetaType::Int, 0x00095103,
       6, QMetaType::Int, 0x00095103,
       7, QMetaType::Bool, 0x00095103,

       0        // eod
};

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

#ifndef QT_NO_PROPERTIES
    if (_c == QMetaObject::ReadProperty) {
        QDeclarativeVisualTestMouse *_t = static_cast<QDeclarativeVisualTestMouse *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->type(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->button(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->buttons(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->x(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->y(); break;
        case 5: *reinterpret_cast< int*>(_v) = _t->modifiers(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->sendToViewport(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QDeclarativeVisualTestMouse *_t = static_cast<QDeclarativeVisualTestMouse *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setType(*reinterpret_cast< int*>(_v)); break;
        case 1: _t->setButton(*reinterpret_cast< int*>(_v)); break;
        case 2: _t->setButtons(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setX(*reinterpret_cast< int*>(_v)); break;
        case 4: _t->setY(*reinterpret_cast< int*>(_v)); break;
        case 5: _t->setModifiers(*reinterpret_cast< int*>(_v)); break;
        case 6: _t->setSendToViewport(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject QDeclarativeVisualTestMouse::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_QDeclarativeVisualTestMouse.data,
      qt_meta_data_QDeclarativeVisualTestMouse,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int QDeclarativeVisualTestMouse::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::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 -= 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;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
struct qt_meta_stringdata_QDeclarativeVisualTestKey_t {
    QByteArrayData data[8];
    char stringdata0[79];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QDeclarativeVisualTestKey_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QDeclarativeVisualTestKey_t qt_meta_stringdata_QDeclarativeVisualTestKey = {
    {
QT_MOC_LITERAL(0, 0, 25), // "QDeclarativeVisualTestKey"
QT_MOC_LITERAL(1, 26, 4), // "type"
QT_MOC_LITERAL(2, 31, 3), // "key"
QT_MOC_LITERAL(3, 35, 9), // "modifiers"
QT_MOC_LITERAL(4, 45, 4), // "text"
QT_MOC_LITERAL(5, 50, 7), // "autorep"
QT_MOC_LITERAL(6, 58, 5), // "count"
QT_MOC_LITERAL(7, 64, 14) // "sendToViewport"

    },
    "QDeclarativeVisualTestKey\0type\0key\0"
    "modifiers\0text\0autorep\0count\0"
    "sendToViewport"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QDeclarativeVisualTestKey[] = {

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

 // properties: name, type, flags
       1, QMetaType::Int, 0x00095103,
       2, QMetaType::Int, 0x00095103,
       3, QMetaType::Int, 0x00095103,
       4, QMetaType::QString, 0x00095103,
       5, QMetaType::Bool, 0x00095103,
       6, QMetaType::Int, 0x00095103,
       7, QMetaType::Bool, 0x00095103,

       0        // eod
};

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

#ifndef QT_NO_PROPERTIES
    if (_c == QMetaObject::ReadProperty) {
        QDeclarativeVisualTestKey *_t = static_cast<QDeclarativeVisualTestKey *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->type(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->key(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->modifiers(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->text(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->autorep(); break;
        case 5: *reinterpret_cast< int*>(_v) = _t->count(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->sendToViewport(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QDeclarativeVisualTestKey *_t = static_cast<QDeclarativeVisualTestKey *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setType(*reinterpret_cast< int*>(_v)); break;
        case 1: _t->setKey(*reinterpret_cast< int*>(_v)); break;
        case 2: _t->setModifiers(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setText(*reinterpret_cast< QString*>(_v)); break;
        case 4: _t->setAutorep(*reinterpret_cast< bool*>(_v)); break;
        case 5: _t->setCount(*reinterpret_cast< int*>(_v)); break;
        case 6: _t->setSendToViewport(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject QDeclarativeVisualTestKey::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_QDeclarativeVisualTestKey.data,
      qt_meta_data_QDeclarativeVisualTestKey,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int QDeclarativeVisualTestKey::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::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 -= 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;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_END_MOC_NAMESPACE
