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

#include "../../src/step-17.08.3/step/worldscene.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'worldscene.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_WorldScene_t {
    QByteArrayData data[36];
    char stringdata0[424];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_WorldScene_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_WorldScene_t qt_meta_stringdata_WorldScene = {
    {
QT_MOC_LITERAL(0, 0, 10), // "WorldScene"
QT_MOC_LITERAL(1, 11, 10), // "endAddItem"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 4), // "name"
QT_MOC_LITERAL(4, 28, 7), // "success"
QT_MOC_LITERAL(5, 36, 13), // "linkActivated"
QT_MOC_LITERAL(6, 50, 3), // "url"
QT_MOC_LITERAL(7, 54, 12), // "beginAddItem"
QT_MOC_LITERAL(8, 67, 11), // "showMessage"
QT_MOC_LITERAL(9, 79, 18), // "MessageFrame::Type"
QT_MOC_LITERAL(10, 98, 4), // "type"
QT_MOC_LITERAL(11, 103, 4), // "text"
QT_MOC_LITERAL(12, 108, 19), // "MessageFrame::Flags"
QT_MOC_LITERAL(13, 128, 5), // "flags"
QT_MOC_LITERAL(14, 134, 13), // "changeMessage"
QT_MOC_LITERAL(15, 148, 2), // "id"
QT_MOC_LITERAL(16, 151, 12), // "closeMessage"
QT_MOC_LITERAL(17, 164, 15), // "settingsChanged"
QT_MOC_LITERAL(18, 180, 15), // "worldModelReset"
QT_MOC_LITERAL(19, 196, 16), // "worldDataChanged"
QT_MOC_LITERAL(20, 213, 11), // "dynamicOnly"
QT_MOC_LITERAL(21, 225, 19), // "worldCurrentChanged"
QT_MOC_LITERAL(22, 245, 7), // "current"
QT_MOC_LITERAL(23, 253, 8), // "previous"
QT_MOC_LITERAL(24, 262, 21), // "worldSelectionChanged"
QT_MOC_LITERAL(25, 284, 14), // "QItemSelection"
QT_MOC_LITERAL(26, 299, 8), // "selected"
QT_MOC_LITERAL(27, 308, 10), // "deselected"
QT_MOC_LITERAL(28, 319, 17), // "worldRowsInserted"
QT_MOC_LITERAL(29, 337, 6), // "parent"
QT_MOC_LITERAL(30, 344, 5), // "start"
QT_MOC_LITERAL(31, 350, 3), // "end"
QT_MOC_LITERAL(32, 354, 25), // "worldRowsAboutToBeRemoved"
QT_MOC_LITERAL(33, 380, 20), // "messageLinkActivated"
QT_MOC_LITERAL(34, 401, 4), // "link"
QT_MOC_LITERAL(35, 406, 17) // "snapUpdateToolTip"

    },
    "WorldScene\0endAddItem\0\0name\0success\0"
    "linkActivated\0url\0beginAddItem\0"
    "showMessage\0MessageFrame::Type\0type\0"
    "text\0MessageFrame::Flags\0flags\0"
    "changeMessage\0id\0closeMessage\0"
    "settingsChanged\0worldModelReset\0"
    "worldDataChanged\0dynamicOnly\0"
    "worldCurrentChanged\0current\0previous\0"
    "worldSelectionChanged\0QItemSelection\0"
    "selected\0deselected\0worldRowsInserted\0"
    "parent\0start\0end\0worldRowsAboutToBeRemoved\0"
    "messageLinkActivated\0link\0snapUpdateToolTip"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_WorldScene[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   99,    2, 0x06 /* Public */,
       5,    1,  104,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    1,  107,    2, 0x0a /* Public */,
       8,    3,  110,    2, 0x0a /* Public */,
       8,    2,  117,    2, 0x2a /* Public | MethodCloned */,
      14,    4,  122,    2, 0x0a /* Public */,
      14,    3,  131,    2, 0x2a /* Public | MethodCloned */,
      16,    1,  138,    2, 0x0a /* Public */,
      17,    0,  141,    2, 0x0a /* Public */,
      18,    0,  142,    2, 0x09 /* Protected */,
      19,    1,  143,    2, 0x09 /* Protected */,
      21,    2,  146,    2, 0x09 /* Protected */,
      24,    2,  151,    2, 0x09 /* Protected */,
      28,    3,  156,    2, 0x09 /* Protected */,
      32,    3,  163,    2, 0x09 /* Protected */,
      33,    1,  170,    2, 0x09 /* Protected */,
      35,    0,  173,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,    3,    4,
    QMetaType::Void, QMetaType::QUrl,    6,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Int, 0x80000000 | 9, QMetaType::QString, 0x80000000 | 12,   10,   11,   13,
    QMetaType::Int, 0x80000000 | 9, QMetaType::QString,   10,   11,
    QMetaType::Int, QMetaType::Int, 0x80000000 | 9, QMetaType::QString, 0x80000000 | 12,   15,   10,   11,   13,
    QMetaType::Int, QMetaType::Int, 0x80000000 | 9, QMetaType::QString,   15,   10,   11,
    QMetaType::Void, QMetaType::Int,   15,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   20,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,   22,   23,
    QMetaType::Void, 0x80000000 | 25, 0x80000000 | 25,   26,   27,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   29,   30,   31,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   29,   30,   31,
    QMetaType::Void, QMetaType::QString,   34,
    QMetaType::Void,

       0        // eod
};

void WorldScene::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        WorldScene *_t = static_cast<WorldScene *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->endAddItem((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 1: _t->linkActivated((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 2: _t->beginAddItem((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: { int _r = _t->showMessage((*reinterpret_cast< MessageFrame::Type(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< MessageFrame::Flags(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 4: { int _r = _t->showMessage((*reinterpret_cast< MessageFrame::Type(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 5: { int _r = _t->changeMessage((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< MessageFrame::Type(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< MessageFrame::Flags(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 6: { int _r = _t->changeMessage((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< MessageFrame::Type(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 7: _t->closeMessage((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->settingsChanged(); break;
        case 9: _t->worldModelReset(); break;
        case 10: _t->worldDataChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->worldCurrentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 12: _t->worldSelectionChanged((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
        case 13: _t->worldRowsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 14: _t->worldRowsAboutToBeRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 15: _t->messageLinkActivated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 16: _t->snapUpdateToolTip(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (WorldScene::*_t)(const QString & , bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WorldScene::endAddItem)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (WorldScene::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WorldScene::linkActivated)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject WorldScene::staticMetaObject = {
    { &QGraphicsScene::staticMetaObject, qt_meta_stringdata_WorldScene.data,
      qt_meta_data_WorldScene,  qt_static_metacall, nullptr, nullptr}
};


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

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

int WorldScene::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QGraphicsScene::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 17;
    }
    return _id;
}

// SIGNAL 0
void WorldScene::endAddItem(const QString & _t1, bool _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void WorldScene::linkActivated(const QUrl & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
struct qt_meta_stringdata_WorldGraphicsView_t {
    QByteArrayData data[9];
    char stringdata0[93];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_WorldGraphicsView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_WorldGraphicsView_t qt_meta_stringdata_WorldGraphicsView = {
    {
QT_MOC_LITERAL(0, 0, 17), // "WorldGraphicsView"
QT_MOC_LITERAL(1, 18, 6), // "zoomIn"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 7), // "zoomOut"
QT_MOC_LITERAL(4, 34, 9), // "fitToPage"
QT_MOC_LITERAL(5, 44, 10), // "actualSize"
QT_MOC_LITERAL(6, 55, 15), // "settingsChanged"
QT_MOC_LITERAL(7, 71, 16), // "sceneRectChanged"
QT_MOC_LITERAL(8, 88, 4) // "rect"

    },
    "WorldGraphicsView\0zoomIn\0\0zoomOut\0"
    "fitToPage\0actualSize\0settingsChanged\0"
    "sceneRectChanged\0rect"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_WorldGraphicsView[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   44,    2, 0x0a /* Public */,
       3,    0,   45,    2, 0x0a /* Public */,
       4,    0,   46,    2, 0x0a /* Public */,
       5,    0,   47,    2, 0x0a /* Public */,
       6,    0,   48,    2, 0x0a /* Public */,
       7,    1,   49,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QRectF,    8,

       0        // eod
};

void WorldGraphicsView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        WorldGraphicsView *_t = static_cast<WorldGraphicsView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->zoomIn(); break;
        case 1: _t->zoomOut(); break;
        case 2: _t->fitToPage(); break;
        case 3: _t->actualSize(); break;
        case 4: _t->settingsChanged(); break;
        case 5: _t->sceneRectChanged((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject WorldGraphicsView::staticMetaObject = {
    { &QGraphicsView::staticMetaObject, qt_meta_stringdata_WorldGraphicsView.data,
      qt_meta_data_WorldGraphicsView,  qt_static_metacall, nullptr, nullptr}
};


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

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

int WorldGraphicsView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QGraphicsView::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;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
