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

#include <memory>
#include "../../../../../okteta-0.26.27/kasten/controllers/view/structures/structurestool.hpp"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'structurestool.hpp' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_Kasten__StructuresTool_t {
    QByteArrayData data[28];
    char stringdata0[468];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kasten__StructuresTool_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kasten__StructuresTool_t qt_meta_stringdata_Kasten__StructuresTool = {
    {
QT_MOC_LITERAL(0, 0, 22), // "Kasten::StructuresTool"
QT_MOC_LITERAL(1, 23, 11), // "dataChanged"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 3), // "row"
QT_MOC_LITERAL(4, 40, 4), // "data"
QT_MOC_LITERAL(5, 45, 11), // "dataCleared"
QT_MOC_LITERAL(6, 57, 16), // "byteOrderChanged"
QT_MOC_LITERAL(7, 74, 21), // "byteArrayModelChanged"
QT_MOC_LITERAL(8, 96, 31), // "Okteta::AbstractByteArrayModel*"
QT_MOC_LITERAL(9, 128, 5), // "model"
QT_MOC_LITERAL(10, 134, 25), // "childrenAboutToBeInserted"
QT_MOC_LITERAL(11, 160, 16), // "DataInformation*"
QT_MOC_LITERAL(12, 177, 6), // "sender"
QT_MOC_LITERAL(13, 184, 10), // "startIndex"
QT_MOC_LITERAL(14, 195, 8), // "endIndex"
QT_MOC_LITERAL(15, 204, 16), // "childrenInserted"
QT_MOC_LITERAL(16, 221, 22), // "const DataInformation*"
QT_MOC_LITERAL(17, 244, 24), // "childrenAboutToBeRemoved"
QT_MOC_LITERAL(18, 269, 15), // "childrenRemoved"
QT_MOC_LITERAL(19, 285, 27), // "setSelectedStructuresInView"
QT_MOC_LITERAL(20, 313, 21), // "validateAllStructures"
QT_MOC_LITERAL(21, 335, 18), // "onByteOrderChanged"
QT_MOC_LITERAL(22, 354, 22), // "onCursorPositionChange"
QT_MOC_LITERAL(23, 377, 15), // "Okteta::Address"
QT_MOC_LITERAL(24, 393, 3), // "pos"
QT_MOC_LITERAL(25, 397, 16), // "onContentsChange"
QT_MOC_LITERAL(26, 414, 30), // "Okteta::ArrayChangeMetricsList"
QT_MOC_LITERAL(27, 445, 22) // "onChildItemDataChanged"

    },
    "Kasten::StructuresTool\0dataChanged\0\0"
    "row\0data\0dataCleared\0byteOrderChanged\0"
    "byteArrayModelChanged\0"
    "Okteta::AbstractByteArrayModel*\0model\0"
    "childrenAboutToBeInserted\0DataInformation*\0"
    "sender\0startIndex\0endIndex\0childrenInserted\0"
    "const DataInformation*\0childrenAboutToBeRemoved\0"
    "childrenRemoved\0setSelectedStructuresInView\0"
    "validateAllStructures\0onByteOrderChanged\0"
    "onCursorPositionChange\0Okteta::Address\0"
    "pos\0onContentsChange\0"
    "Okteta::ArrayChangeMetricsList\0"
    "onChildItemDataChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kasten__StructuresTool[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   84,    2, 0x06 /* Public */,
       5,    0,   89,    2, 0x06 /* Public */,
       6,    0,   90,    2, 0x06 /* Public */,
       7,    1,   91,    2, 0x06 /* Public */,
      10,    3,   94,    2, 0x06 /* Public */,
      15,    3,  101,    2, 0x06 /* Public */,
      17,    3,  108,    2, 0x06 /* Public */,
      18,    3,  115,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      19,    0,  122,    2, 0x0a /* Public */,
      20,    0,  123,    2, 0x0a /* Public */,
      21,    0,  124,    2, 0x08 /* Private */,
      22,    1,  125,    2, 0x08 /* Private */,
      25,    1,  128,    2, 0x08 /* Private */,
      27,    0,  131,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::VoidStar,    3,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, 0x80000000 | 11, QMetaType::UInt, QMetaType::UInt,   12,   13,   14,
    QMetaType::Void, 0x80000000 | 16, QMetaType::UInt, QMetaType::UInt,   12,   13,   14,
    QMetaType::Void, 0x80000000 | 11, QMetaType::UInt, QMetaType::UInt,   12,   13,   14,
    QMetaType::Void, 0x80000000 | 16, QMetaType::UInt, QMetaType::UInt,   12,   13,   14,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 23,   24,
    QMetaType::Void, 0x80000000 | 26,    2,
    QMetaType::Void,

       0        // eod
};

void Kasten::StructuresTool::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<StructuresTool *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->dataChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< void*(*)>(_a[2]))); break;
        case 1: _t->dataCleared(); break;
        case 2: _t->byteOrderChanged(); break;
        case 3: _t->byteArrayModelChanged((*reinterpret_cast< Okteta::AbstractByteArrayModel*(*)>(_a[1]))); break;
        case 4: _t->childrenAboutToBeInserted((*reinterpret_cast< DataInformation*(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
        case 5: _t->childrenInserted((*reinterpret_cast< const DataInformation*(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
        case 6: _t->childrenAboutToBeRemoved((*reinterpret_cast< DataInformation*(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
        case 7: _t->childrenRemoved((*reinterpret_cast< const DataInformation*(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
        case 8: _t->setSelectedStructuresInView(); break;
        case 9: _t->validateAllStructures(); break;
        case 10: _t->onByteOrderChanged(); break;
        case 11: _t->onCursorPositionChange((*reinterpret_cast< Okteta::Address(*)>(_a[1]))); break;
        case 12: _t->onContentsChange((*reinterpret_cast< const Okteta::ArrayChangeMetricsList(*)>(_a[1]))); break;
        case 13: _t->onChildItemDataChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (StructuresTool::*)(int , void * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StructuresTool::dataChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (StructuresTool::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StructuresTool::dataCleared)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (StructuresTool::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StructuresTool::byteOrderChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (StructuresTool::*)(Okteta::AbstractByteArrayModel * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StructuresTool::byteArrayModelChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (StructuresTool::*)(DataInformation * , uint , uint );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StructuresTool::childrenAboutToBeInserted)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (StructuresTool::*)(const DataInformation * , uint , uint );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StructuresTool::childrenInserted)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (StructuresTool::*)(DataInformation * , uint , uint );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StructuresTool::childrenAboutToBeRemoved)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (StructuresTool::*)(const DataInformation * , uint , uint );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StructuresTool::childrenRemoved)) {
                *result = 7;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject Kasten::StructuresTool::staticMetaObject = { {
    QMetaObject::SuperData::link<AbstractTool::staticMetaObject>(),
    qt_meta_stringdata_Kasten__StructuresTool.data,
    qt_meta_data_Kasten__StructuresTool,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *Kasten::StructuresTool::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Kasten__StructuresTool.stringdata0))
        return static_cast<void*>(this);
    return AbstractTool::qt_metacast(_clname);
}

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

// SIGNAL 0
void Kasten::StructuresTool::dataChanged(int _t1, void * _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Kasten::StructuresTool::dataCleared()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void Kasten::StructuresTool::byteOrderChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void Kasten::StructuresTool::byteArrayModelChanged(Okteta::AbstractByteArrayModel * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Kasten::StructuresTool::childrenAboutToBeInserted(DataInformation * _t1, uint _t2, uint _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Kasten::StructuresTool::childrenInserted(const DataInformation * _t1, uint _t2, uint _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void Kasten::StructuresTool::childrenAboutToBeRemoved(DataInformation * _t1, uint _t2, uint _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void Kasten::StructuresTool::childrenRemoved(const DataInformation * _t1, uint _t2, uint _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
