/****************************************************************************
** Meta object code from reading C++ file 'instancepanel.h'
**
** 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 "../../instancepanel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'instancepanel.h' 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_dwf__InstancePanelCell_t {
    QByteArrayData data[1];
    char stringdata0[23];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_dwf__InstancePanelCell_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_dwf__InstancePanelCell_t qt_meta_stringdata_dwf__InstancePanelCell = {
    {
QT_MOC_LITERAL(0, 0, 22) // "dwf::InstancePanelCell"

    },
    "dwf::InstancePanelCell"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_dwf__InstancePanelCell[] = {

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

       0        // eod
};

void dwf::InstancePanelCell::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject dwf::InstancePanelCell::staticMetaObject = { {
    QMetaObject::SuperData::link<DragDropWidget::staticMetaObject>(),
    qt_meta_stringdata_dwf__InstancePanelCell.data,
    qt_meta_data_dwf__InstancePanelCell,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *dwf::InstancePanelCell::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_dwf__InstancePanelCell.stringdata0))
        return static_cast<void*>(this);
    return DragDropWidget::qt_metacast(_clname);
}

int dwf::InstancePanelCell::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = DragDropWidget::qt_metacall(_c, _id, _a);
    return _id;
}
struct qt_meta_stringdata_dwf__InstancePanel_t {
    QByteArrayData data[16];
    char stringdata0[163];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_dwf__InstancePanel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_dwf__InstancePanel_t qt_meta_stringdata_dwf__InstancePanel = {
    {
QT_MOC_LITERAL(0, 0, 18), // "dwf::InstancePanel"
QT_MOC_LITERAL(1, 19, 15), // "tabOrderChanged"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 9), // "addWidget"
QT_MOC_LITERAL(4, 46, 10), // "InstanceId"
QT_MOC_LITERAL(5, 57, 3), // "key"
QT_MOC_LITERAL(6, 61, 11), // "InstancePos"
QT_MOC_LITERAL(7, 73, 3), // "pos"
QT_MOC_LITERAL(8, 77, 10), // "moveWidget"
QT_MOC_LITERAL(9, 88, 6), // "source"
QT_MOC_LITERAL(10, 95, 6), // "target"
QT_MOC_LITERAL(11, 102, 12), // "removeWidget"
QT_MOC_LITERAL(12, 115, 2), // "id"
QT_MOC_LITERAL(13, 118, 13), // "replaceWidget"
QT_MOC_LITERAL(14, 132, 14), // "updateTabOrder"
QT_MOC_LITERAL(15, 147, 15) // "onMenuRequested"

    },
    "dwf::InstancePanel\0tabOrderChanged\0\0"
    "addWidget\0InstanceId\0key\0InstancePos\0"
    "pos\0moveWidget\0source\0target\0removeWidget\0"
    "id\0replaceWidget\0updateTabOrder\0"
    "onMenuRequested"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_dwf__InstancePanel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   49,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    2,   50,    2, 0x0a /* Public */,
       8,    2,   55,    2, 0x0a /* Public */,
      11,    1,   60,    2, 0x0a /* Public */,
      13,    2,   63,    2, 0x0a /* Public */,
      14,    0,   68,    2, 0x0a /* Public */,
      15,    1,   69,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 6,    5,    7,
    QMetaType::Void, 0x80000000 | 6, 0x80000000 | 6,    9,   10,
    QMetaType::Void, 0x80000000 | 4,   12,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 6,   12,    7,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,   12,

       0        // eod
};

void dwf::InstancePanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<InstancePanel *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->tabOrderChanged(); break;
        case 1: _t->addWidget((*reinterpret_cast< const InstanceId(*)>(_a[1])),(*reinterpret_cast< InstancePos(*)>(_a[2]))); break;
        case 2: _t->moveWidget((*reinterpret_cast< const InstancePos(*)>(_a[1])),(*reinterpret_cast< InstancePos(*)>(_a[2]))); break;
        case 3: _t->removeWidget((*reinterpret_cast< const InstanceId(*)>(_a[1]))); break;
        case 4: _t->replaceWidget((*reinterpret_cast< const InstanceId(*)>(_a[1])),(*reinterpret_cast< InstancePos(*)>(_a[2]))); break;
        case 5: _t->updateTabOrder(); break;
        case 6: _t->onMenuRequested((*reinterpret_cast< const InstanceId(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (InstancePanel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstancePanel::tabOrderChanged)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject dwf::InstancePanel::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_dwf__InstancePanel.data,
    qt_meta_data_dwf__InstancePanel,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *dwf::InstancePanel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_dwf__InstancePanel.stringdata0))
        return static_cast<void*>(this);
    return QWidget::qt_metacast(_clname);
}

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

// SIGNAL 0
void dwf::InstancePanel::tabOrderChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
