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

#include "../../../src/okteta-4.14.3/kasten/controllers/view/structures/structtool.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'structtool.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. 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
static const uint qt_meta_data_Kasten2__StructTool[] = {

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

 // signals: signature, parameters, type, tag, flags
      30,   21,   20,   20, 0x05,
      53,   20,   20,   20, 0x05,
      67,   20,   20,   20, 0x05,
      86,   20,   20,   20, 0x05,
     135,  122,   20,  107, 0x05,
     169,  163,   20,   20, 0x05,
     251,  224,   20,   20, 0x05,
     305,  224,   20,   20, 0x05,
     356,  224,   20,   20, 0x05,
     409,  224,   20,   20, 0x05,

 // slots: signature, parameters, type, tag, flags
     465,  459,   20,   20, 0x0a,
     487,  483,   20,   20, 0x0a,
     505,   20,   20,   20, 0x0a,
     519,  514,   20,   20, 0x0a,
     568,  562,   20,   20, 0x0a,
     607,   20,   20,   20, 0x0a,
     637,   20,   20,   20, 0x0a,
     661,   20,   20,   20, 0x09,
     686,  682,   20,   20, 0x09,
     726,   20,   20,   20, 0x09,
     775,   20,   20,   20, 0x09,

       0        // eod
};

static const char qt_meta_stringdata_Kasten2__StructTool[] = {
    "Kasten2::StructTool\0\0row,data\0"
    "dataChanged(int,void*)\0dataCleared()\0"
    "byteOrderChanged()\0cursorIndexChanged()\0"
    "KDE_DEPRECATED\0modelIsValid\0"
    "byteArrayModelChanged(bool)\0model\0"
    "byteArrayModelChanged(Okteta::AbstractByteArrayModel*)\0"
    "sender,startIndex,endIndex\0"
    "childrenAboutToBeInserted(DataInformation*,uint,uint)\0"
    "childrenInserted(const DataInformation*,uint,uint)\0"
    "childrenAboutToBeRemoved(DataInformation*,uint,uint)\0"
    "childrenRemoved(const DataInformation*,uint,uint)\0"
    "order\0setByteOrder(int)\0idx\0"
    "mark(QModelIndex)\0unmark()\0list\0"
    "updateData(Okteta::ArrayChangeMetricsList)\0"
    "child\0addChildItem(TopLevelDataInformation*)\0"
    "setSelectedStructuresInView()\0"
    "validateAllStructures()\0onByteOrderChanged()\0"
    "pos\0onCursorPositionChange(Okteta::Address)\0"
    "onContentsChange(Okteta::ArrayChangeMetricsList)\0"
    "onChildItemDataChanged()\0"
};

void Kasten2::StructTool::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        StructTool *_t = static_cast<StructTool *>(_o);
        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->cursorIndexChanged(); break;
        case 4: _t->byteArrayModelChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->byteArrayModelChanged((*reinterpret_cast< Okteta::AbstractByteArrayModel*(*)>(_a[1]))); break;
        case 6: _t->childrenAboutToBeInserted((*reinterpret_cast< DataInformation*(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
        case 7: _t->childrenInserted((*reinterpret_cast< const DataInformation*(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
        case 8: _t->childrenAboutToBeRemoved((*reinterpret_cast< DataInformation*(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
        case 9: _t->childrenRemoved((*reinterpret_cast< const DataInformation*(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
        case 10: _t->setByteOrder((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->mark((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 12: _t->unmark(); break;
        case 13: _t->updateData((*reinterpret_cast< const Okteta::ArrayChangeMetricsList(*)>(_a[1]))); break;
        case 14: _t->addChildItem((*reinterpret_cast< TopLevelDataInformation*(*)>(_a[1]))); break;
        case 15: _t->setSelectedStructuresInView(); break;
        case 16: _t->validateAllStructures(); break;
        case 17: _t->onByteOrderChanged(); break;
        case 18: _t->onCursorPositionChange((*reinterpret_cast< Okteta::Address(*)>(_a[1]))); break;
        case 19: _t->onContentsChange((*reinterpret_cast< const Okteta::ArrayChangeMetricsList(*)>(_a[1]))); break;
        case 20: _t->onChildItemDataChanged(); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData Kasten2::StructTool::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject Kasten2::StructTool::staticMetaObject = {
    { &AbstractTool::staticMetaObject, qt_meta_stringdata_Kasten2__StructTool,
      qt_meta_data_Kasten2__StructTool, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &Kasten2::StructTool::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *Kasten2::StructTool::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Kasten2__StructTool))
        return static_cast<void*>(const_cast< StructTool*>(this));
    return AbstractTool::qt_metacast(_clname);
}

int Kasten2::StructTool::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 < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    }
    return _id;
}

// SIGNAL 0
void Kasten2::StructTool::dataChanged(int _t1, void * _t2)
{
    void *_a[] = { 0, 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 Kasten2::StructTool::dataCleared()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}

// SIGNAL 2
void Kasten2::StructTool::byteOrderChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, 0);
}

// SIGNAL 3
void Kasten2::StructTool::cursorIndexChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, 0);
}

// SIGNAL 4
void Kasten2::StructTool::byteArrayModelChanged(bool _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Kasten2::StructTool::byteArrayModelChanged(Okteta::AbstractByteArrayModel * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void Kasten2::StructTool::childrenAboutToBeInserted(DataInformation * _t1, uint _t2, uint _t3)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void Kasten2::StructTool::childrenInserted(const DataInformation * _t1, uint _t2, uint _t3)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void Kasten2::StructTool::childrenAboutToBeRemoved(DataInformation * _t1, uint _t2, uint _t3)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void Kasten2::StructTool::childrenRemoved(const DataInformation * _t1, uint _t2, uint _t3)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}
QT_END_MOC_NAMESPACE
